@charset "UTF-8";

/* 上書き */
.l-container {
	padding-top: 50px;
	@media screen and (min-width: 768px) {
		padding-top: 100px;
	}
}
.l-header {
	&::before,
	&::after {
		display: none;
	}
}

:root {
	--scrollbar: 0;
}

/* header */
.l-header__fixed {
	z-index: 100;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	min-width: 100%;
	padding-right: var(--scrollbar);
	background: #fff;
}
.is-scrolled .l-header__fixed {
	/* background-color: rgba(255, 255, 255, 0.8);
	transition: background-color 0.5s; */
}

.p-header {
	display: flex;
	position: relative;
	flex-direction: column;
	width: 100vw;
	height: 50px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
	@media screen and (min-width: 768px) {
		display: grid;
		align-content: center;
		height: 100px;
		padding-right: var(--scrollbar);
	}
}
.p-header__inner {
	display: grid;
	grid-template-columns: 100px 1fr;
	grid-template-rows: 50px 0;
	align-items: center;
	position: relative;
	top: 0;
	left: 0;
	min-width: 0;
	padding-right: 0;
	padding-left: 8px;
	@media screen and (min-width: 768px) {
		grid-template-columns: clamp(7.5rem, 1.964rem + 11.547vw, 10.625rem) 1fr;
		grid-template-rows: auto;
		column-gap: 20px;
		justify-content: space-between;
		padding-right: clamp(1.25rem, -0.964rem + 4.619vw, 2.5rem);
		padding-left: clamp(1.25rem, -0.964rem + 4.619vw, 2.5rem);
	}
}
.p-header__logo {
	grid-row: 1/2;
	grid-column: 1/2;
	line-height: 1;
}
.p-header__nav-btn {
	display: block;
	grid-row: 1/2;
	grid-column: 2/3;
	@media screen and (min-width: 768px) {
		display: contents;
	}
}
.p-header__nav-target {
	position: absolute;
	top: 0;
	left: -8px;
	grid-row: 2/3;
	grid-column: 1/3;
	width: 100vw;
	padding-right: var(--scrollbar);
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
	background: #fff;
	@media screen and (min-width: 768px) {
		position: static;
		grid-row: unset;
		grid-column: unset;
		width: unset;
		height: unset;
		padding-right: unset;
		box-shadow: unset;
		background: unset;
	}
}
.p-header__nav {
	padding-bottom: 80px;
	overflow-y: auto;
	@media screen and (min-width: 768px) {
		padding-bottom: unset;
		overflow-y: unset;
	}
	&:has(.p-gnav-link__accordion.is-open) {
		height: calc(100vh - 50px);
		@media screen and (min-width: 768px) {
			height: unset;
		}
	}
}

/* drawer-nav */
.p-drawer-nav-btn {
	display: block;
	height: 50px;
	@media screen and (min-width: 768px) {
		display: none;
	}
}
.p-drawer-nav-btn__trigger {
	display: block;
	position: absolute;
	top: 50%;
	right: var(--scrollbar);
	width: 60px;
	height: 50px;
	border: none;
	background-repeat: no-repeat;
	background-position: center center;
	background-color: #43cc82;
	outline: none;
	cursor: pointer;
	transform: translateY(-50%);
	@media screen and (min-width: 768px) {
		display: none;
	}
}
.is-scrolled .p-drawer-nav-btn__trigger {
	@media screen and (min-width: 768px) {
		display: none;
	}
}
.p-drawer-nav-btn__trigger--open {
	background-image: url(/images/common/btn_header_gnav_open.svg);
	background-size: 25px auto;
	z-index: 100;
	opacity: 1;
	transition: all 0.8s;
	@media screen and (min-width: 768px) {
		display: none;
	}
}
.p-drawer-nav-btn__trigger--open.is-active {
	background-image: none;
	z-index: 0;
	opacity: 0;
	@media screen and (min-width: 768px) {
		display: none;
	}
}
.p-drawer-nav-btn__trigger--open.is-active + .p-drawer-nav-btn__trigger--close {
	background-image: url(/images/common/btn_header_gnav_close.svg);
	background-size: 25px auto;
	z-index: 1;
	opacity: 1;
	@media screen and (min-width: 768px) {
		display: none;
	}
}
.p-drawer-nav-btn__text {
	clip: rect(1px, 1px, 1px, 1px);
	display: inline;
	z-index: -9999;
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	font-size: 0;
	@media screen and (min-width: 768px) {
		display: none;
	}
}
.p-drawer-nav-target {
	display: none;
	@media screen and (min-width: 768px) {
		display: block;
	}
}

/* gnav */
.p-gnav-list {
	display: grid;
	grid-template-columns: 1fr;
	justify-content: flex-end;
	@media screen and (min-width: 768px) {
		grid-template-columns: repeat(6, auto);
		width: auto;
		margin-inline: 0;
	}
}
.p-gnav-list__item {
	display: grid;
	@media screen and (min-width: 768px) {
		display: unset;
	}
	@media (any-hover: hover) {
		&:hover {
			.p-gnav-link {
				background-color: #43cc82;
				color: #fff;
			}
			.p-gnav-link__accordion {
				background-image: url(/images/common/arrow_accordion_link_wh.svg);
				@media screen and (min-width: 768px) {
					transform: translateY(-50%) rotate(180deg);
				}
			}
		}
	}
	&:has(.p-gnav-submenu) {
		@media screen and (min-width: 768px) {
			position: relative;
		}
		.p-gnav-link {
			position: relative;
			padding-right: 40px;
			padding-left: 40px;
			@media screen and (min-width: 768px) {
				padding-right: 25px;
				padding-left: 10px;
			}
		}
	}
}

.p-gnav-link {
	display: grid;
	width: 100%;
	height: 100%;
	place-content: center;
	padding: 10px 20px;
	color: #000;
	font-weight: bold;
	font-size: 0.875rem;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	&:link,
	&:visited {
		color: inherit;
	}
	@media screen and (min-width: 768px) {
		padding: 25px 10px;
	}
	&:has(.p-gnav-link__accordion.is-open) {
		background-color: #43cc82;
		color: #fff;
	}
	> br {
		@media screen and (min-width: 880px) {
			display: none;
		}
		@media screen and (max-width: 767px) {
			display: none;
		}
	}
}
.p-gnav-link__accordion {
	display: block;
	position: absolute;
	right: 4px;
	top: 50%;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	background: url(/images/common/arrow_accordion_link.svg) no-repeat center center;
	background-size: 13px auto;
	outline: none;
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform 0.3s ease;
	content: "";
	@media screen and (min-width: 768px) {
		right: 3px;
		width: 20px;
		height: 20px;
	}
	&.is-open {
		transform: translateY(-50%) rotate(180deg);
		background-image: url(/images/common/arrow_accordion_link_wh.svg);
	}
}
.p-gnav-submenu {
	display: none;
	@media screen and (min-width: 768px) {
		position: absolute;
		left: 0px;
		top: 92px;
		width: 240px;
		background: #fff;
	}
	@media screen and (min-width: 881px) {
		top: 71px;
	}
}
.p-gnav-submenu-link {
	display: grid;
	width: 100%;
	height: 100%;
	place-content: center;
	padding: 10px 20px;
	color: #000;
	font-weight: bold;
	font-size: 0.875rem;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	&:link,
	&:visited {
		color: inherit;
	}
	@media screen and (min-width: 768px) {
		padding: 20px;
	}
	@media (any-hover: hover) {
		&:hover {
			background-color: #43cc82;
			color: #fff;
		}
	}
}

.footer-notes {
	padding-top: 50px;
	font-size: 0.875rem;
}
.c-list-note__item {
	position: relative;
	padding-left: 1em;
	&::before {
		position: absolute;
		top: 0;
		left: 0;
		content: "※";
	}
}
