/*
config
*/
:root {
	--font-sans: "Noto Sans JP",sans-serif;
	--font-serif: "Noto Serif JP",serif;
	--font-en: "Prompt",sans-serif;

	--color-accent: #5a4600;	/*brown*/
	--color-accent2: #009a8e;	/*green*/
	--color-back: #faf0ca;		/*beige*/
}
/*
html
*/
html {
	overflow-y: scroll;
	overflow-x: hidden;
	background-color: #fff;
	> body {
		margin: 0;
		font-family: var(--font-sans);
		font-feature-settings: "palt" 1;
		line-break: strict;
		overflow-x: hidden;
		background-color: #fff;
		min-height: 100vh;
		scroll-behavior: smooth;
		text-rendering: optimizeSpeed;
	}
}
/*
header
*/
header {
	> div.pc {
		user-select: none;
		position: fixed;
		width: 100%;
		z-index: 5;
		background-color: var(--color-back);
		padding-bottom: 60px;
		transition: padding 0.3s;
		@media (width < 550px) {
			display: none;
		}
		> div.logo {
			padding-inline: 2vw;
			align-self: center;
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 100px;
			transition: height 0.3s;
			> a {
				text-decoration: none;
				display: block;
				&:hover {
					opacity: 0.8;
				}
				&:nth-of-type(1) {
					> img {
						width: 184px;
						transition: width 0.3s;
					}
				}
				&:nth-of-type(2) {
					> img {
						width: 270px;
						transition: width 0.3s;
					}
				}
			}
		}
		> div.nav {
			margin-inline: 2vw;
			> nav {
				max-width: 800px;
				margin-inline: auto;
				background-color: #fff;
				border-radius: 100px;
				> ul {
					padding-block: 9px;
					padding-inline: 10px;
					display: grid;
					grid-template-columns: repeat(5,1fr);
					@media (width < 850px) {
						grid-template-columns: repeat(5,auto);
					}
					> li {
						> a {
							width: 100%;
							text-decoration: none;
							display: flex;
							flex-direction: column;
							align-items: center;
							justify-content: center;
							&:hover {
								opacity: 0.7;
							}
							> div {
								width: 100%;
								text-align: center;
								font-size: 1.1rem;
								padding-block: 5px;
								border-radius: 100px;
								transition: padding 0.3s;
								color: #000;
								font-weight: 600;
								&.on {
									background-color: var(--color-accent);
									color: #fff;
								}
								@media (width < 1200px) {
									font-size: 0.9rem;
								}
							}
						}
					}
				}
			}
		}
		&.close {
			padding-bottom: 10px;
			> div.logo {
				height: 50px;
				> a {
					&:nth-of-type(1) {
						> img {
							width: 92px;
						}
					}
					&:nth-of-type(2) {
						> img {
							width: 135px;
						}
					}
				}
			}
			> div.nav {
				> nav {
					> ul {
						> li {
							> a {
								> div {
									padding-block: 3px;
								}
							}
						}
					}
				}
			}
		}
	}
	> div.sp {
		display: none;
		user-select: none;
		position: fixed;
		width: 100%;
		background-color: #fff;
		z-index: 6;
		transition: opacity 0.3s;
		opacity: 1;
		@media (width < 550px) {
			display: block;
		}
		@media print {
			display: none;
		}
		> input[type="checkbox"] {
			display: none;
			&:checked {
				& + div > label {
					> div {
						&:nth-of-type(1) {
							animation-name: toggleHamburgerMenuClose1;
						}
						&:nth-of-type(2) {
							animation-name: toggleHamburgerMenuClose2;
						}
						&:nth-of-type(3) {
							animation-name: toggleHamburgerMenuClose3;
						}
					}
				}
				& + div + nav {
					max-height: 100vh;
				}
			}
		}
		> div {
			padding-left: 5%;
			display: flex;
			justify-content: space-between;
			align-items: center;
			height: 60px;
			> div {
				display: flex;
				align-items: center;
				column-gap: 15px;
				> a {
					text-decoration: none;
					&:hover {
						opacity: 0.7;
					}
					> img {
						display: block;
						width: 140px;
					}
				}
				> p {
					font-size: 0.8rem;
					line-height: 1;
					color: #fff;
					@media (width < 350px) {
						display: none;
					}
				}
			}
			> label {
				box-sizing: border-box;
				width: 60px;
				height: 60px;
				background-color: var(--color-accent);
				cursor: pointer;
				padding: 15px;
				display: grid;
				grid-template-rows: 30px;
				grid-template-columns: 30px;
				> div {
					grid-column: 1/2;
					grid-row: 1/2;
					width: 100%;
					border-top: solid 4px #fff;
					align-self: center;
					animation-duration: 0.2s;
					animation-fill-mode: forwards;
					&:nth-of-type(1) {
						animation-name: toggleHamburgerMenuOpen1;
					}
					&:nth-of-type(2) {
						animation-name: toggleHamburgerMenuOpen2;
					}
					&:nth-of-type(3) {
						animation-name: toggleHamburgerMenuOpen3;
					}
				}
			}
		}
		> nav {
			text-align: center;
			overflow: hidden;
			transition: 0.3s;
			max-height: 0;
			> ul {
				margin: 0;
				list-style: none;
				background-color: var(--color-accent);
				> li {
					display: flex;
					width: 100%;
					> a {
						text-decoration: none;
						border-bottom: solid 1px rgba(255,255,255,0.2);
						white-space: nowrap;
						display: flex;
						flex-grow: 1;
						flex-direction: column;
						align-items: center;
						justify-content: center;
						padding-block: 15px;
						&:nth-of-type(2),&:nth-of-type(3) {
							border-left: solid 1px rgba(255,255,255,0.3);
						}
						&[target="_blank"] {
							background-image: url(../image/mark_external_fff.svg);
							background-repeat: no-repeat;
							background-position: right 20px top 50%;
						}
						> div {
							font-size: min(1rem,4.5vw);
							line-height: 1.2;
							color: #fff;
							&.on {
								color: #ff6;
							}
						}
					}
				}
			}
			> input[type="radio"] {
				display: none;
				& + ul {
					overflow: hidden;
					transition: 0.5s;
					max-height: 0;
				}
				&:checked + ul {
					max-height: 300px;
				}
			}
			> label {
				display: block;
				font-size: 1.6rem;
				line-height: 200%;
				color: #000;
				border-bottom: solid 1px #777;
				white-space: nowrap;
				background-color: #444;
				padding: 5px 0;
			}
		}
	}
	> div.spacer {
		background-color: var(--color-back);
		padding-top: 200px;
		@media (width < 550px) {
			padding-top: 60px;
		}
	}
}
@keyframes toggleHamburgerMenuClose1 {
	0% {	transform: translateY(-13px) rotate(0deg);	}
	50% {	transform: translateY(0px) rotate(0deg);	}
	100% {	transform: translateY(0px) rotate(45deg);	}
}
@keyframes toggleHamburgerMenuClose2 {
	0% {	opacity: 1;	}
	50% {	opacity: 1;	}
	50.1% {	opacity: 0;	}
	100% {	opacity: 0;	}
}
@keyframes toggleHamburgerMenuClose3 {
	0% {	transform: translateY(13px) rotate(0deg);	}
	50% {	transform: translateY(0px) rotate(0deg);	}
	100% {	transform: translateY(0px) rotate(-45deg);	}
}
@keyframes toggleHamburgerMenuOpen1 {
	0% {	transform: translateY(0px) rotate(45deg);	}
	50% {	transform: translateY(0px) rotate(0deg);	}
	100% {	transform: translateY(-13px) rotate(0deg);	}
}
@keyframes toggleHamburgerMenuOpen2 {
	0% {	opacity: 0;	}
	50% {	opacity: 0;	}
	50.1% {	opacity: 1;	}
	100% {	opacity: 1;	}
}
@keyframes toggleHamburgerMenuOpen3 {
	0% {	transform: translateY(0px) rotate(-45deg);	}
	50% {	transform: translateY(0px) rotate(0deg);	}
	100% {	transform: translateY(13px) rotate(0deg);	}
}
/*
footer
*/
footer.nav {
	padding: 60px 5% 60px 5%;
	background-color: var(--color-accent);
	> div {
		max-width: 1200px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: 270px 1fr;
		column-gap: 180px;
		row-gap: 60px;
		@media (width < 1250px) {
			grid-template-columns: 1fr;
		}
		> div.address {
			text-align: center;
			> figure {
				> img {
					max-width: 100%;
				}
			}
			> p.text1 {
				margin-top: 20px;
				font-size: 1rem;
				line-height: 1.5;
				color: #fff;
				font-weight: 600;
			}
			> p.text2 {
				margin-top: 5px;
				font-size: 1rem;
				line-height: 1.5;
				color: #fff;
			}
			> div {
				margin-top: 20px;
				display: flex;
				align-items: center;
				justify-content: center;
				column-gap: 20px;
				> p {
					font-size: 0.9rem;
					line-height: 1.5;
					color: #fff;
				}
				> div {
					border-left: solid 2px #fff;
					height: 30px;
					width: 1px;
				}
				> a {
					text-decoration: none;
					&:hover {
						opacity: 0.7;
					}
					> img {
					}
				}
			}
		}
		> div.nav {
			> div {
				> ul {
					width: 100%;
					display: grid;
					grid-template-columns: repeat(3,1fr);
					background-color: #725f3d;
					border-radius: 10px 0 0 10px;
					@media (width < 900px) {
						grid-template-columns: 1fr;
						border-radius: 10px 10px 0 0;
					}
					> li {
						padding-inline: 10px;
						background-color: #725f3d;
						text-align: center;
						padding-block: 10px;
						&:nth-of-type(1) {
							border-radius: 10px 0 0 10px;
							@media (width < 900px) {
								border-radius: 10px 10px 0 0;
							}
						}
						&:nth-of-type(2) {
							> a {
								border-left: solid 2px #fff;
								@media (width < 900px) {
									border-left: none;
								}
							}
						}
						&:nth-of-type(3) {
							background-color: var(--color-back);
							border-radius: 10px;
							> a {
								color: var(--color-accent);
								padding-left: 50px;
								background-image: url(../image/footer_mail.svg);
								background-repeat: no-repeat;
								background-position: 0 50%;
								@media (width < 900px) {
									padding-left: 0px;
								}
							}
						}
						> a {
							text-align: center;
							text-decoration: none;
							display: block;
							font-size: 1.2rem;
							line-height: 1.3;
							color: #fff;
							font-eright: 500;
							&:hover {
								opacity: 0.7;
							}
						}
					}
				}
			}
			> dl {
				margin-top: 20px;
				display: flex;
				justify-content: space-between;
				column-gap: 60px;
				@media (width < 650px) {
					flex-direction: column;
					align-items: center;
					text-align: center;
				}
				> div {
					> dt {
						&:nth-of-type(1) {
							margin-top: 20px;
						}
						> a {
							display: inline-block;
							text-decoration: none;
							font-size: 1rem;
							color: #fff;
							font-weight: 500;
							padding-block: 6px;
							white-space: nowrap;
							&:hover {
								text-decoration: underline;
							}
						}
					}
					> dd {
						margin-top: 5px;
						> a {
							display: block;
							text-decoration: none;
							font-size: 0.9rem;
							line-height: 1.3;
							color: #fff;
							padding-block: 3px;
							padding-left: 1.3em;
							text-indent: -1.3em;
							&::before {
								content: "-";
								padding-right: 5px;
							}
							&:hover {
								text-decoration: underline;
							}
						}
					}
				}
			}
		}
	}
}
footer.copyright {
	border-top: solid 1px rgba(255,255,255,0.5);
	padding: 20px 5% 20px 5%;
	background-color: var(--color-accent);
	> div {
		text-align: center;
		> small {
			display: inline-block;
			font-size: 0.9em;
			line-height: 1.3;
			color: rgba(255,255,255,0.5);
		}
	}
}
