@charset "utf-8";

/* ============================================================ */
/* l-header */
/* ============================================================ */

.m-noscript {
	padding: 5px 15px;
	background: var(--black);
	color: var(--white);
	text-align: center;
	font-size: 1.4rem;
}

.l-header {
	position: fixed;
	z-index: 9000;
	top: 0;
	left: 0;
	width: 100%;
	background-color: var(--white);
	display: flex;
	align-items: center;
	padding: 20px 60px 20px 35px;
	padding: 10px 60px 10px 35px;
}
@media screen and (max-width: 1000px) {
	.l-header {
		padding-right: 30px;
	}
}

.l-header-logo {
	width: 235px;
	position: absolute;
	left: 0;
	top: 0;
	transition: width 0.3s ease;
}

.l-header-logo ._scroll_ {
	display: none;
}

.l-header.is-scroll .l-header-logo {
	width: 209px;
	height: 58px;
	position: static;
}
.l-header.is-scroll .l-header-logo ._top_ {
	display: none;
}
.l-header.is-scroll .l-header-logo ._scroll_ {
	display: block;
}

._gnav-show_ .l-header-logo {
	position: fixed;
}


/* .l-header-nav
------------------------------------------------------------ */
.l-header-nav {
	margin-left: auto;
	display: flex;
	align-items: center;
}

._gnav-show_ .l-header-nav {
	opacity: 0;
	height: 0;
	display: none;
}

.l-header-nav__list {
	display: flex;
	align-items: center;
	column-gap: 40px;
}
@media screen and (max-width: 1000px) {
	.l-header-nav__list {
		column-gap: 20px;
	}
}

.l-header-nav__link {
	font-size: 1.8rem;
	color: var(--black);
	transition: color 0.3s ease;
	font-weight: 600;
}
@media screen and (max-width: 1000px) {
	.l-header-nav__link {
		font-size: 1.6rem;
	}
}

.l-header-nav__link:hover {
	color: var(--orange);
}

.l-header-nav__link.active {
	color: var(--orange);
}

.l-header-contact {
	margin-left: 70px;
}
@media screen and (max-width: 1000px) {
	.l-header-contact {
		margin-left: 30px;
	}
}

.l-header-contact .__link {
	padding: 15px 36px 16px;
	padding: 10px 36px 11px;
	background-color: var(--orange);
	font-size: 1.8rem;
	border: solid 2px var(--orange);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	font-weight: 700;
	transition: background-color 0.3s ease, color 0.3s ease;
}
@media screen and (max-width: 1000px) {
	.l-header-contact .__link {
		font-size: 1.6rem;
		padding: 12px 30px 13px;
	}
}

.l-header-contact .__link:hover {
	color: var(--orange);
	background-color: var(--white);
}

.l-header-contact .__link.active {
	color: var(--orange);
	background-color: var(--white);
}

/* .l-header-menu
------------------------------------------------------------ */
.l-header-menu {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	width: 72px;
	height: 72px;
	background-color: var(--white);
	border-radius: 50%;
	margin-left: 20px;
	position: fixed;
	right: 60px;
	top: 60px;
	z-index: 10000;
	display: none;
}

.l-header-menu__inner {
	position: relative;
	width: 32px;
	height: 28px;
}

.l-header-menu._active_ .l-header-menu__inner {
	margin: 0;
}

.l-header-menu__item {
	display: inline-block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background: var(--blue);
	transition: all 0.5s ease;
}

.l-header-menu__item:nth-of-type(1) { top: 0; }
.l-header-menu__item:nth-of-type(2) { top: 12px; transform: scale(1, 1); }
.l-header-menu__item:nth-of-type(3) { bottom: 0; }

.l-header-menu._active_ .l-header-menu__item:nth-of-type(1) { transform: translateY(12px) rotate(-315deg); background: var(--blue); }
.l-header-menu._active_ .l-header-menu__item:nth-of-type(2) { opacity: 0; background: var(--blue); transform: scale(0, 1); transform-origin: center top; }
.l-header-menu._active_ .l-header-menu__item:nth-of-type(3) { transform: translateY(-12px) rotate(315deg); background: var(--blue); } 

/* .l-header-menu
------------------------------------------------------------ */
.l-gnav {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	height: 100dvh;
	background: var(--white);
	opacity: 0;
	transition: all 0.3s ease;
	color: var(--white);
	overflow-y: auto;
	overscroll-behavior-y: contain;
	pointer-events: none;
	padding-top: 120px;
}

._gnav-show_ .l-gnav {
	z-index: 10;
	opacity: 1;
	pointer-events: auto;
}

.l-gnav__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1160px;
	padding: 40px;
	margin: 0 auto;
	width: 100%;
}

.l-gnav__list {
	color: var(--black);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 0;
	width: 100%;
}

.l-gnav__item {
	width: 25%;
}

.l-gnav__link {
	font-size: 2.8rem;
	color: var(--blue);
	transition: color 0.3s ease;
	display: block;
	width: max-content;
	position: relative;
}

.l-gnav__link::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--blue);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.l-gnav__link:has( + .l-gnav__sublist) {
	margin-bottom: 10px;
}

.l-gnav__sublist-item:not(:last-of-type) {
	margin-bottom: 5px;
}

.l-gnav__sublist-link {
	font-size: 1.4rem;
	color: var(--blue);
	opacity: 0.75;
	position: relative;
	transition: border-bottom 0.3s ease;
}

.l-gnav__sublist-link::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background-color: var(--blue);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.l-gnav__link:hover::before,
.l-gnav__sublist-link:hover:before {
	opacity: 1;
}

.l-gnav__sublist-link:hover {
	/* border-bottom: solid 1px var(--gray2); */
}
