@import url("reset.css");

/* 共通定義
=========================================================================*/
* {
	margin: 0;
	padding: 0;
}

html {
	overflow-x: hidden;
	scroll-behavior: auto;
}

body {
	overflow-x: hidden;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	font-family: avenir-lt-pro, biz-udgothic, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 2em;
	color: #00205b;
	text-align: left;
	background-color: #FFF;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
}

strong {
	font-weight: 600;
}

main {
	overflow: hidden;
	position: relative;
}

picture,
img {
	display: block;
	width: 100%;
	height: auto;
}

/* ヘッダ
=========================================================================*/
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background-color: #00205b;
	z-index: 10;
}

header nav {
	display: flex;
	align-items: center;
	gap: 0 100px;
	position: relative;
	margin: 0 auto;
	padding: 0 35px;
	width: 100%;
	height: 100%;
}

header nav .logo img {
	width: 42px;
}

header nav .logo svg {
	width: 100%;
	height: auto;
	display: block;
}

header nav .global_menu ul {
	display: flex;
	align-items: center;
	gap: 0 50px;
	width: fit-content;
	height: 100%;
}

header nav .global_menu ul li a {
	display: flex;
	align-items: center;
	height: 100%;
}

header nav .global_menu ul li.is-active a {
	pointer-events: none;
}

header nav .global_menu ul li a span {
	position: relative;
	font-weight: 600;
	font-size: 16px;
	line-height: 1em;
	color: #FFF;
}

header nav .global_menu ul li a span::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -3px;
	width: 100%;
	height: 1px;
	background-color: #FFF;
	transform: scale(0, 1);
	transform-origin: center;
	z-index: -1;
	transition: 0.6s;
}

@media(hover: hover) {
	header nav .global_menu ul li a:hover span::after {
		transform: scale(1, 1);
	}
}

header nav .global_menu ul li.is-active a span::after {
	transform: scale(1, 1);
}


/* ハンバーガーボタン部分
------------------------------------------------------- */
.icon_animation {
	display: none;
}

.icon_close {
	display: none;
}

@media screen and (max-width:860px) {
	header {
		height: 70px;
	}

	header nav {
		flex-wrap: wrap;
		padding: 0;
	}

	header nav .logo img {
		margin-left: 20px;
		width: 60px;
	}

	header nav .global_menu {
		display: none;
	}

	header nav .global_menu ul {
		display: block;
		position: absolute;
		top: 70px;
		left: 0;
		padding: 50px 30px;
		width: 100vw;
		height: 100vh;
		background-color: #00205b;
		z-index: 10;
	}

	header nav .global_menu ul li {
		width: 100%;
		text-align: center;
	}

	header nav .global_menu ul li a {
		display: block;
		margin: 0 auto;
		padding: 1em;
		width: fit-content;
	}

	header nav .global_menu ul li a span {
		font-size: 16px;
	}

	/* ハンバーガーボタン部分
	------------------------------------------------------- */
	.icon_animation {
		display: block;
		position: absolute;
		top: 20px;
		right: 20px;
		width: 40px;
		height: 40px;
		cursor: pointer;
		z-index: 11;
	}

	/* ----- line ----- */
	.icon_animation .bar {
		position: absolute;
		top: 0;
		left: 0;
		display: block;
		width: 40px;
		height: 1px;
		background: #FFF;
		transition: all .3s;
		transform-origin: left top;
	}

	.icon_animation .bar.bottom {
		top: 10px;
	}

	/* ----- Menu ----- */
	.icon_animation .menu {
		position: absolute;
		left: 0;
		bottom: 5px;
		width: 100%;
		font-weight: 600;
		font-size: 12px;
		line-height: 1em;
		text-align: center;
		color: #FFF;
	}

	/* ----- line animation ----- */
	.icon_animation.is_open .bar.top {
		transform: rotate(20deg);
	}

	.icon_animation.is_open .bar.bottom {
		top: 14px;
		transform: rotate(-20deg);
	}

	/* メニュー閉じるボタン */
	.icon_close {
		display: block;
		position: absolute;
		top: 20px;
		right: 20px;
		width: 40px;
		height: 40px;
		cursor: pointer;
		z-index: 12;
	}
}

/* コンテンツ
=========================================================================*/
main {
	/*min-height: calc(var(--vh, 100vh) - var(--headerH, 0px) - 60px);
	min-height: 100vh;*/
	padding-top: var(--headerH, 60px);
}

main article {
	min-height: 100%;
	position: relative;
}

/* ----- 見出し ----- */
main article .inner h1 {
	overflow: hidden;
	margin-bottom: 2.5em;
	font-size: 30px;
	letter-spacing: 0.05em;
	text-align: center;
}

main article .inner h1 span {
	display: inline-block;
}

main article .inner h2 {
	overflow: hidden;
	margin-bottom: 1em;
	font-size: 20px;
}

main article .inner h2 span {
	display: inline-block;
}

/* ----- クリップパスアニメーション ----- */
.clip {
	overflow: hidden;
	clip-path: inset(0 100% -20% 0);
	transition: clip-path 2s cubic-bezier(0.19, 1, 0.22, 1);
	transition-delay: 0s;
}

.clip.active {
	overflow: visible !important;
	clip-path: inset(0 0 -20% 0);
}

/* フッタ
=========================================================================*/
footer {
	padding: 0 20px;
	height: 60px;
	width: 100%;
}

footer.fix {
	position: fixed;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 10;
}

footer p {
	font-family: "helvetica-lt-pro", sans-serif;
	font-size: 12px;
	line-height: 60px;
	text-align: right;
}


/*  767px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:767px) {

	/* デスクトップ・スマホ分岐
	-----------------------------------------------------------*/
	.pc {
		display: none;
	}

	.sp {
		display: block;
	}

	/* コンテンツ
	=========================================================================*/
	main article .inner h1 {
		margin-bottom: 1.5em;
		font-size: 26px;
	}

	main article .inner h2 {
		font-size: 18px;
	}
}

/*  420px以下
=========================================================================
=========================================================================*/
@media screen and (max-width:420px) {}
