@charset "utf-8";

:root {
	--header-height: 5.7rem;
	--header-bg: rgba(255, 255, 255, 0.6);
	--logo-white-opacity: 1;
	--logo-opacity: 0;
	--header-menu-color: var(--main-font-color);
	--header-btn-bg: transparent;
}

.js_header_move {
	--logo-opacity: 1;
	--logo-white-opacity: 0;
	--header-menu-color: var(--main-font-color);
	--header-btn-bg: transparent;
}

.header_on .l_header {
	--logo-white-opacity: 0 !important;
	--logo-opacity: 1 !important;
	--header-menu-color: var(--main-font-color);
	--header-btn-bg: transparent;
}

.l_header {
	position: fixed;
	top: 0;
	left: 0 !important;
	z-index: 101;
	transition: background 0.3s;
	width: 100%;
	display: flex;
}

.l_header_inner {
	width: 100%;
	position: relative;
	z-index: 101;
	display: flex;
	height: var(--header-height);
	background: var(--header-bg);
	transition: background 0.5s;
	padding: 0.7rem 0 0 1.4rem;
}

.l_header_logo {
	position: relative;
	z-index: 1000;
	width: 29.8rem;
}

.l_header_logo a {
	display: block;
}

.l_header_btn_wrap {
	position: fixed;
	z-index: 1000;
	width: 5.7rem;
	aspect-ratio: 1/1;
	cursor: pointer;
	right: 0;
	top: 0;
	gap: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding-bottom: 0;
	background: var(--header-btn-bg);
	transition: var(--default-transition);
}

.l_header_btn {
	display: flex;
	align-items: center;
	width: 3.4rem;
	aspect-ratio: 34/7;
	justify-content: center;
	position: relative;
	cursor: pointer;
}

.l_header_btn span {
	width: 100%;
	height: 100%;
	position: relative;
}

.l_header_btn span:before,
.l_header_btn span:after {
	transition: var(--default-transition);
	content: "";
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 1px;
	z-index: 1;
	background: var(--header-menu-color);
}

.l_header_btn span:before {
	top: 0;
}

.l_header_btn span:after {
	bottom: 0;
}

.l_header_btn_txt {
	position: relative;
	width: 100%;
	text-align: center;
	color: var(--main_txt);
	font-family: var(--font-en-mont);
	font-size: 1rem;
	left: 0.06em;
	line-height: 1;
	font-weight: 500;

	span {
		position: relative;
	}

	em {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		opacity: 0;
	}
}

.l_header_fixed {
	position: fixed;
	z-index: 100;
	padding-top: var(--header-height);
	right: 0;
	top: 0;
	width: 31rem;
	transition: transform 0.3s ease-in;
	transform: translateX(100%);
}

.l_header_fixed_inner {
	height: calc(100vh - var(--header-height));
	height: calc(100dvh - var(--header-height));
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
	transition: opacity 0.3s 0.3s linear;
	padding: 2rem 3rem 3rem;
	background: linear-gradient(218.36deg, rgba(24, 80, 163, 0.95) 8.3%, rgba(72, 108, 193, 0.95) 56.02%);
}

.l_header_list {
	display: grid;

	li a {
		display: flex;
		text-decoration: none;
		align-items: center;
		padding: 1.5rem 2.1rem 1.5rem 0.8rem;
		font-family: var(--font-min);
		color: var(--white);
		font-size: 1.5rem;
		letter-spacing: 0.04em;
		line-height: 1.5;
		font-weight: 600;
		background: url(../images/header_arrow01_sp.svg) right 0.4rem center / 1.6rem no-repeat;
		border-bottom: 1px solid #B0B6CA;
	}
}

.l_header_fixed_tel {
	background: #E8F3F8;
	box-shadow: 2.99px 2.99px 7.48px 0px #394B5B40;
	position: relative;
	height: 7rem;
	padding: 0 4.6rem 0 7rem;
	color: var(--blue);
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border-radius: 0.3rem;
	overflow: hidden;
	margin-top: 3rem;

	&:before {
		content: '';
		display: block;
		position: absolute;
		right: 0;
		bottom: 0;
		width: 1.5rem;
		aspect-ratio: 1/1;
		z-index: 1;
		border-radius: 0.7rem 0 0 0;
		background: var(--dark_blue);
	}

	&:after {
		content: '';
		display: block;
		position: absolute;
		right: 0.45rem;
		bottom: 0.45rem;
		width: 0.6rem;
		aspect-ratio: 1/1;
		z-index: 2;
		background: url(../images/header_arrow02_sp.svg) center / 100% no-repeat;
	}

	.txt01 {
		font-family: var(--font-min);
		font-size: 1.4rem;
		letter-spacing: 0.07em;
		line-height: 1;
		font-weight: 700;

		&:before {
			content: '';
			display: block;
			position: absolute;
			top: 50%;
			left: 2.9rem;
			width: 3.2rem;
			aspect-ratio: 1/1;
			transform: translateY(-50%);
			z-index: 1;
			-webkit-mask: url(../images/icon_tel.svg) center / 100% no-repeat;
			mask: url(../images/icon_tel.svg) center / 100% no-repeat;
			background: var(--dark_blue);
		}
	}

	.txt02 {
		position: relative;
		font-family: var(--font-en-crimson);
		font-size: 2.2rem;
		letter-spacing: 0.02em;
		line-height: 1;
		font-weight: 600;
		padding-top: 1rem;

		span {
			position: absolute;
			line-height: 1;
			top: 0;
			right: 0;
			font-family: var(--font-main);
			font-size: 1.1rem;
			letter-spacing: 0;
			line-height: 1;
			font-weight: 500;
		}
	}
}

.l_header_fixed_btns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 0.6rem;
	gap: 0.6rem;
}

.l_header_fixed_item {
	background: linear-gradient(90deg, #62C0F0 0%, #2B98D4 48%, #0976B8 100%);
	box-shadow: 2.79px 2.79px 6.96px 0px #394B5B40;
	border-radius: 0.3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 7.8rem;
	position: relative;
	text-decoration: none;
	overflow: hidden;

	&:before {
		content: '';
		display: block;
		width: 2.6rem;
		aspect-ratio: 18/15;
		z-index: 1;
		background: url(../images/icon_web.svg) center / 100% no-repeat;
	}

	.txt01 {
		font-size: 1.5rem;
		color: #fff;
		line-height: 1;
		letter-spacing: 0.02em;
		margin-top: 0.3rem;

		span {
			font-family: var(--font-en-mont);
			font-weight: 500;
			vertical-align: baseline;
		}

		&:before {
			content: '';
			display: block;
			position: absolute;
			right: 0;
			bottom: 0;
			width: 1.5rem;
			aspect-ratio: 1/1;
			z-index: 1;
			border-radius: 0.7rem 0 0 0;
			background: var(--light_blue);
		}

		&:after {
			content: '';
			display: block;
			position: absolute;
			right: 0.45rem;
			bottom: 0.35rem;
			width: 0.5rem;
			aspect-ratio: 4/5;
			z-index: 2;
			-webkit-mask: url(../images/header_arrow02_sp.svg) center / 100% no-repeat;
			mask: url(../images/header_arrow02_sp.svg) center / 100% no-repeat;
			background: var(--dark_blue);
		}
	}

	.txt02 {
		font-weight: 500;
		font-size: 1.1rem;
		letter-spacing: 0.06em;
		line-height: 1;
		color: var(--dark_blue);
		padding: 0.3rem 0.6rem;
		border-radius: 3rem;
		margin-top: 0.5rem;
		background: var(--light_blue);
	}

	&.l_header_fixed_line {
		background: linear-gradient(297.58deg, #2F9A61 6.04%, #55B473 39.48%, #95E9B0 91.86%);

		&:before {
			width: 3rem;
			background: url(../images/icon_line.svg) center / 100% no-repeat;
		}

		.txt01 {
			&:before {
				background: var(--white);
			}

			&:after {
				background: var(--line_green);
			}
		}
	}
}

/*++++++++++++++++++++++++++++
	状態系
	++++++++++++++++++++++++++++*/
/* header_on */
.header_on {
	.l_header_btn span:before {
		top: 50%;
		transform: translateY(-50%) rotate(30deg);
	}

	.l_header_btn span:after {
		bottom: 50%;
		transform: translateY(50%) rotate(-30deg);
	}

	.l_header_btn em {
		opacity: 0;
	}

	.l_header_btn:before {
		opacity: 0;
	}

	.l_header_fixed_inner {
		opacity: 1;
		pointer-events: auto;
	}

	.l_header_fixed {
		transform: translateX(0);
	}

	.l_header_btn_txt span {
		opacity: 0;
	}

	.l_header_btn_txt em {
		opacity: 1;
	}
}

/*===cariier===cariier===cariier===
...................................

-------------------------- PC

...................................
===cariier===cariier===cariier===*/
@media screen and (min-width: 601px) {
	:root {
		--header-height: 9.6rem;
	}

	.l_header {
		min-width: var(--tb-breakpoint);
		pointer-events: none;
		z-index: 103;
	}

	.l_header_inner {
		background: transparent;
	}

	.l_header_inner {
		padding: 0px 3rem;
	}

	.l_header_logo {
		width: 55.2rem;
		pointer-events: auto;
		margin-top: 3rem;
		margin-left: 2.7rem;
		transition: var(--default-transition);

		.js_over_mv & {
			    width: 41rem;
				margin-top: 2rem;
		}
	}


	.l_header_btn_wrap {
		pointer-events: auto;
	}

	.l_header_fixed {
		pointer-events: auto;
		top: calc(var(--header-height) - 1px);
		padding-top: 0;
		width: 45.4rem;
	}

	.l_header_fixed_tel {
		display: none;
	}

	.l_header_fixed_btns {
		display: none;
	}

	.l_header_fixed_inner {
		height: calc(100dvh - var(--header-height) + 1px);
		padding: 4rem 5rem;
	}

	.l_header_list {
		li a {
			font-size: 1.8rem;
			letter-spacing: 0.08em;
			background: none;
			min-height: 7.4rem;
			position: relative;
			padding: 1rem 4rem 1rem 1.2rem;

			&:before {
				content: '';
				display: block;
				position: absolute;
				top: 50%;
				transform: translateY(-50%);
				right: 1.3rem;
				width: 1.6rem;
				aspect-ratio: 1/1;
				z-index: 1;
				transition: var(--default-transition);
				-webkit-mask: url(../images/header_arrow01.svg) center / 100% no-repeat;
				mask: url(../images/header_arrow01.svg) center / 100% no-repeat;
				background: #fff;
			}

			&:hover {
				background: rgba(255,255,255,0.7);
				opacity: 1;
				color: var(--blue_05);
				&:before {
					right: 0.4rem;
				background: var(--blue_05);

				}
			}
		}
	}

	.l_header_btn_wrap {
		aspect-ratio: 60/47;
		width: 6rem;
		top: 1.65rem;
		right: 1.5rem;
	}

	.l_header_btn_txt {
		font-size: 1.2rem;
	}

	.l_header_btn {
		width: 4rem;
		aspect-ratio: 40/9;
	}
}

/*===cariier===cariier===cariier===
...................................

-------------------------- SP

...................................
===cariier===cariier===cariier===*/
@media screen and (max-width: 600px) {}