section.switchpanel {
	background-color: #abc900;
	overflow: hidden;
	&.off {
		max-height: 0;
	}
	> div {
		max-width: 1920px;
		margin-inline: auto;
		overflow: hidden;
		display: grid;
		> figure {
			grid-area: 1/1/2/2;
			z-index: 0;
			@media (width < 1500px) {
				min-height: 800px;
			}
			> div {
				display: none;
				width: 100%;
				height: 100%;
				background: url(./image/panel01.svg) 50% / cover;
				@media (width < 1500px) {
					display: block;
				}
			}
			> img {
				max-width: 100%;
				width: 100%;
				@media (width < 1500px) {
					display: none;
				}
			}
		}
		> div.content {
			grid-area: 1/1/2/2;
			z-index: 1;
			display: flex;
			justify-self: center;
			align-self: start;
			margin-top: 16vh;
			pointer-events: none;
			@media (width < 1500px) {
				margin-top: 10vh;
			}
			> h1 {
				writing-mode: vertical-rl;
				font-size: min(2.8rem, 12vw);
				line-height: 2.2;
				color: #fff;
				letter-spacing: 8px;
			}
		}
	}
}
section.about {
	margin-top: 40px;
	padding: 120px 5% 80px 5%;
	position: relative;
	width: 100%;
	height: 100%;
	> div.bg-rectangle {
		z-index: 2;
		background: #faf5f2;
		background-size: 100% ;
		background-position: 100% 100%;
		background-repeat: no-repeat;
		position: absolute;
		top: 110px;
		left: 0;
		width: 100%;
		height: calc(100% - 110px);
		@media (width < 1720px) {
			background: url(./image/bg01_1.svg) #faf5f2;
			background-size: 100% ;
			background-position: 100% 100%;
			background-repeat: no-repeat;
		}
	}  
	> div.bg-ellipse {
		background-color: #faf5f2;
		z-index: 1;
		position: absolute;
		top: 0;
		left: 50%;
		width: 110%;
		height: 350px;
		transform: translateX(-50%);
		border-top-left-radius: 50% 50%;
		border-top-right-radius: 50% 50%;
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
	> div.main {
		position: relative;
		z-index: 3;
		max-width: 1000px;
		margin-inline: auto;
		> div.top {
			text-align: center;
			> h2 {
				display: inline-block;
				padding: 5px 40px;
				background-color: #fff;
				font-size: min(1.8rem, 5vw);
				line-height: 1.8;
				color: #464646;
				letter-spacing: 5px;
				font-weight: 600;
				> b {
					color: #ed8099;
				}
				&:nth-of-type(2) {
					margin-top: 20px;
				}
				@media (width < 800px) {
					padding: 5px 20px;
					margin-inline: 20px;
					letter-spacing: 4px;
				}
			}
		}
		> div.station {
			display: grid;
			grid-template-columns: auto 1fr auto;
			column-gap: 20px;
			@media (width < 1050px) {
				grid-template-columns: repeat(2, 1fr);
				grid-template-rows: repeat(2, 1fr);
				row-gap: 30px;
			}
			@media (width < 540px) {
				grid-template-columns: repeat(1, 1fr);
				grid-template-rows: repeat(1, 1fr);
				row-gap: 30px;
			}
			> figure {
				text-align: center;
				> img {
					max-width: 100%;
				}
				&:nth-of-type(1) {
					@media (width < 1050px) {
						grid-area: 2/1/3/2;
					}
					@media (width < 540px) {
						grid-area: unset;
						order: 2;
					}
				}
				&:nth-of-type(2) {
					@media (width < 1050px) {
						grid-area: 2/2/3/3;
					}
					@media (width < 540px) {
						grid-area: unset;
						order: 3;
					}
				}
			}
			> div {
				margin-top: 40px;
				text-align: center;
				@media (width < 1050px) {
					grid-area: 1/1/2/3;
				}
				@media (width < 540px) {
					grid-area: unset;
					order: 1;
				}
				> h3 {
					font-size: min(1.4rem, 5vw);
					line-height: 1.8;
					color: #6e3812;
					letter-spacing: 3px;
					font-weight: 600;
				}
				> p {
					margin-top: 20px;
					font-size: min(1.1rem, 5vw);
					line-height: 2.0;
					font-weight: 500;
					@media (width < 580px) {
						text-align: justify;
						> br {
							display: none;
							&:last-of-type {
								display: block;
							}
						}
					}
				}
			}
		}
		> div.policy {
			margin-top: 80px;
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			column-gap: 50px;
			@media (width < 800px) {
				grid-template-columns: repeat(1, 1fr);
				row-gap: 50px;
			}
			> article {
				&:nth-of-type(2) {
					@media (width < 900px) {
						align-self: center;
					}
				}
				> div.circle {
					margin-top: 20px;
					width: 150px;
					height: 150px;
					border-radius: 50%;
					background-color: #fff;
					display: flex;
					align-items: center;
					justify-content: center;
					@media (width < 800px) {
						justify-self: center;
					}
					> div {
						text-align: center;
						> h4 {
							font-size: min(1.4rem, 5.5vw);
							line-height: 1.0;
							color: #464646;
							font-weight: 600;
							letter-spacing: 1px;
						}
						> p {
							font-size: min(1.0rem, 5vw);
							line-height: 1.8;
							color: #ed8099;
							font-weight: 600;
							letter-spacing: 3px;
						}
					}
				}
				> p {
					padding-block: 10px;
					border-bottom: 2px dotted #6e3812;
					font-size: min(1.0rem, 5vw);
					line-height: 1.8;
					color: #333333;
					font-weight: 500;
					letter-spacing: 1px;
					text-align: justify;
					&:nth-of-type(1) {
						margin-top: 10px;
					}
					&:last-of-type {
						border-bottom: none;
					}
				}
				> figure {
					text-align: center;
					> img {
						max-width: 100%;
					}
				}
			}
		}
	}
}
section.house {
	padding: 80px 5% 80px 5%;
	background: url(./image/bg02.svg);
	background-size: 100% ;
	background-position: 100% 90%;
	background-repeat: no-repeat;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> div.cross {
			display: grid;
			grid-template-columns: 1fr 60px 1fr;
			align-items: center;
			@media (width < 720px) {
				grid-template-columns: 1fr;
				grid-template-rows: auto 1fr auto;
				row-gap: 30px;
			}
			> article {
				position: relative;
				z-index: 2;
				> figure {
					text-align: center;
					> img {
						max-width: 100%;
					}
				}
				> h2 {
					font-size: 3.8rem;
					line-height: 1.4;
					color: #6e3812;
					font-weight: 600;
					letter-spacing: 5px;
					text-align: center;
				}
				> div {
					display: flex;
					align-items: end;
					justify-content: center;
					column-gap: 5px;
					> figure {
						> img {
							max-width: 100%;
						}
					}
					> p {
						font-size: min(1.3rem, 6vw);
						line-height: 1.0;
						color: #231815;
						font-weight: 600;
						letter-spacing: 1px;
					}
				}
				&:nth-of-type(1) {
					> h2 {
						margin-top: 10px;
					}
					display: grid;
					@media (width < 720px) {
						> figure {
							order: 3;
						}
						> h2 {
							margin-top: 0px;
							order: 1;
						}
						> div {
							order: 2;
							margin-bottom: 20px;
						}
					}
				}
				&:nth-of-type(2) {
					> div {
						margin-bottom: 20px;
						> p {
							margin-bottom: 10px;
						}
					}
				}
			}
			> picture {
				position: relative;
				z-index: 1;
				text-align: center;
				> img {
					max-width: 100%;
					scale: 2.5;
					@media (width < 720px) {
						scale: 1;
						width: 80px;
					}
				}
			}
		}
		> div.house {
			> figure {
				margin-top: 30px;
				text-align: center;
				> img {
					max-width: 150px;
				}
			}
			> h4 {
				margin-top: 5px;
				font-size: min(1.2rem, 6vw);
				line-height: 1.5;
				color: #231815;
				font-weight: 600;
				letter-spacing: 1px;
				text-align: center;
			}
			> h3 {
				margin-block: 30px;
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 2.2rem;
				line-height: 1.4;
				color: #464646;
				font-weight: 600;
				letter-spacing: 5px;
				text-align: center;
				> b {
					color: #ed8099;
				}
				> span {
					> small {
						margin-left: -10px;
						font-size: 1.6rem;
					}	
				}
				@media (width < 480px) {
					display: block;
				}
			}
			> p {
				font-size: min(1.0rem, 5vw);
				line-height: 1.0;
				color: #464646;
				font-weight: 600;
				letter-spacing: 3px;
				text-align: center;
			}
		}
		> div.link {
			margin-top: 30px;
			display: flex;
            justify-content: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.8;
				}
				> p {
					padding: 20px 80px;
					border-radius: 40px;
					background-image: url(./common/image/link_external_fff.svg), linear-gradient(to right, #efc200, #ed8099);
					background-position: right 20px top 50%, 100% 100%;
					background-repeat: no-repeat;
					background-size: 15px 15px, cover;
					display: inline-block;
					text-align: center;
					font-size: min(1.0rem, 5.0vw);
					line-height: 1.0;
					letter-spacing: 1px;
					color: #fff;
					font-weight: 500;
				}
			}
		}
	}
}
