@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: 15px;
}

.l-header-logo {
	width: 100px;
	position: absolute;
	z-index: 9010;
	left: 0;
	top: 0;
	transition: all 0.3s ease;
}

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

.l-header.is-scroll .l-header-logo {
	width: 180px;
	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 {
	opacity: 0;
	pointer-events: none;
}


/* .l-header-nav
------------------------------------------------------------ */
.l-header-nav {
	display: flex;
	flex-direction: column;
	position: fixed;
	inset: 0;
	z-index: 9001;
	width: 100dvw;
	height: 100dvh;
	background-color: var(--orange);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	padding: 70px 15px 0;
}

._gnav-show_ .l-header-nav {
	opacity: 1;
	visibility: visible;
}

.l-header-nav__list {
	display: flex;
	flex-direction: column;
	border-top: solid 1px rgba(255, 255, 255, 0.3);
	width: 100%;
}
.l-header-nav__item {
	border-bottom: solid 1px rgba(255, 255, 255, 0.3);
}

.l-header-nav__link {
	font-size: 1.8rem;
	color: var(--white);
	transition: color 0.3s ease;
	font-weight: 600;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	padding: 18px 0;
	position: relative;
}
.l-header-nav__link::after {
	content: "";
	display: inline-block;
	mask: url(../../img/common/ico_arrow.svg) no-repeat center / contain;
	background-color: var(--white);
	width: 18px;
	height: 20px;
}

.l-header-nav__link:hover {
	opacity: 0.5;
}

.l-header-nav__link.active {
	opacity: 0.5;
}

.l-header-contact {
	margin-top: 35px;
}

.l-header-contact .__link {
	padding: 22px 25px 23px;
	font-size: 1.8rem;
	border: solid 2px var(--white);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	color: var(--white);
	font-weight: 700;
	transition: all 0.3s ease;
}
.l-header-contact .__link::after {
	display: none;
}


.l-header-contact .__link:hover {
	opacity: 0.5;
}

.l-header-contact .__link.active {
	opacity: 
	0.5;
}

/* .l-header-menu
------------------------------------------------------------ */
.l-header-menu {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	width: 32px;
	height: 32px;
	/* background-color: var(--white); */
	margin-left: auto;
	position: relative;
	z-index: 9002;
}

.l-header-menu__inner {
	position: relative;
	width: 100%;
	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(--orange);
	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(--white); }
.l-header-menu._active_ .l-header-menu__item:nth-of-type(2) { opacity: 0; background: var(--white); 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(--white); } 

/* .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); */
}
