section.panel {
	display: grid;
	/*
	> figure {
		grid-area: 1/1/2/2;
		> img {
			max-width: 100%;
		}
	}
	*/
	> video {
		grid-area: 1/1/2/2;
		z-index: 1;
		width: 100%;
		@media (width >= 700px) {
			&:nth-of-type(1) {
				display: block;
			}
			&:nth-of-type(2) {
				display: none;
			}
		}
		@media (width < 700px) {
			&:nth-of-type(1) {
				display: none;
			}
			&:nth-of-type(2) {
				display: block;
			}
		}
	}
	> div {
		grid-area: 1/1/2/2;
		z-index: 2;
		max-height: 95vh;
		background-image: url(./common/image/scroll.svg);
		background-repeat: no-repeat;
		background-position: 95% 100%;
		margin-bottom: 30px;
		animation-name: panelarrow;
		animation-duration: 4s;
		pointer-events: none;
		@media (width < 700px) {
			display: none;
		}
	}
	> a {
		grid-area: 1/1/2/2;
		z-index: 2;
		text-decoration: none;
		justify-self: end;
		align-self: end;
		max-height: 90vh;
		margin-right: min(150px,10vw);
		margin-bottom: 50px;
		@media (width < 1370px) {
			margin-bottom: 20px;
			margin-right: 7vw;
		}
		@media (width < 1100px) {
			margin-right: 8vw;
			> img {
				width: 120px;
			}
		}
		@media (width < 550px) {
			margin-right: 2vw;
			margin-bottom: 2vw;
			> img {
				width: 120px;
			}
		}
		&:hover {
			opacity: 0.7;
		}
	}
}
@keyframes panelarrow {
	0% {
		transform: translateY(0);
	}
	16.6% {
		transform: translateY(-20px);
	}
	33.3% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-20px);
	}
	66.6% {
		transform: translateY(0);
	}
	83.3% {
		transform: translateY(-20px);
	}
	100% {
		transform: translateY(0);
	}
}
section.origin {
	padding: 60px 5% 0px 5%;
	> div {
		max-width: 1100px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: 1.3fr 1fr;
		column-gap: 40px;
		@media (width < 1230px) {
			grid-template-columns: 1fr;
			row-gap: 40px;
		}
		> div {
			padding: 0 30px;
			@media (width < 1120px) {
				padding: 0 10px;
			}
			@media (width < 600px) {
				padding: 0px;
			}
			> h2 {
				font-size: min(3rem, 11vw);
				line-height: 1.3;
				color: #333;
				font-weight: 400;
			}
			> h3 {
				font-size: 1.2rem;
				line-height: 2.0;
				color: #333;
				font-weight: 400;
				letter-spacing: 1px;
				text-align: justify;
			}
			> p {
				padding-top: 30px;
				font-size: 1.0rem;
				line-height: 1.6;
				color: #333;
				letter-spacing: 1px;
				text-align: justify;
			}
		}
	}
}
section.rank2024 {
	padding: 20px 5% 60px 5%;
	border-bottom: 4px solid #000;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		display: flex;
		justify-content: end;
		column-gap: 20px;
		@media (width < 530px) {
			display: block;
		}
		> figure {
			text-align: right;
			@media (width < 530px) {
				text-align: center;
			}
			> img {
				max-width: 100%;
			}
		}
	}
}
section.topics {
	padding: 80px 5% 60px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> div {
				font-size: 3rem;
				line-height: 1.3;
				color: #000;
				font-weight: 600;
			}
			> p {
				margin-top: 2px;
				font-size: 1.1rem;
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 500;
			}
		}
		> div.topics {
			margin-top: 40px;
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
			column-gap: 10px;
			row-gap: 10px;
			> a {
				text-decoration: none;
				overflow: hidden;
				&:hover {
					> img {
						transform: scale(1.05);
					}
				}
				> img {
					transition: transform 0.4s;
					width: 242px;
				}
			}
		}
		> div.reservation {
			margin-top: 20px;
			display: flex;
			justify-content: center;
			column-gap: 10px;
			@media (width < 550px) {
				display: grid;
				grid-template-columns: auto 1fr;
			}
			> figure {
				> img {
					max-width: 100%;
				}
			}
			> p {
				align-self: end;
				font-size: 1.0rem;
				line-height: 1.2;
				color: #333;
				letter-spacing: 1px;
				text-align: justify;
			}
		}
	}
}
section.concerns {
	padding: 40px 5% 60px 5%;
	background-image: url(./image/question_bg.svg);
	background-position: 100% 100%;
	background-repeat: no-repeat;
	background-size: auto 100%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> div {
				font-size: min(2.5rem, 7.5vw);
				line-height: 1.3;
				color: #333;
				font-weight: 400;
			}
			> p {
				margin-top: 2px;
				font-size: 1.1rem;
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 500;
			}
		}
		> div.item {
			padding-top: 60px;
			padding-inline: 5%;
			@media (width < 1010px) {
				padding-inline: 0%;
			}
			> article {
				padding-bottom: 60px;
				display: grid;
				grid-template-columns: auto 1fr;
				align-items: end;
				column-gap: 20px;
				@media (width < 690px) {
					align-items: center;
					column-gap: 10px;
				}
				> figure {
					> img {
						max-width: 100%;
						@media (width < 690px) {
							height: 50px;
						}
					}
				}
				> p {
					font-size: min(1.8rem, 5.0vw);
					line-height: 1.3;
					color: #333;
					font-weight: 600;
					@media (width < 650px) {
						> br {
							display: none;
						}
					}
				}
			}
		}
		> div.link {
			display: flex;
			justify-content: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.7;
				}
				> p {
					padding: 10px 60px;
					text-align: center;
					display: inline-block;
					background-color: var(--color-accent);
					border-radius: 30px;
					background-image: url(./image/arrow_right_fff.svg);
					background-position: right 15px top 50%;
					background-repeat: no-repeat;
					background-size: 10px 20px;
					
					font-size: 1.1rem;
					line-height: 1.3;
					color: #fff;
					font-weight: 500;
					letter-spacing: 1px;
				}
			}
		}
	}
}
section.case {
	padding: 50px 5% 70px 5%;
	background-color: #e2ece6;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> div {
				font-size: 3rem;
				line-height: 1.3;
				color: #000;
				font-weight: 600;
			}
			> p {
				margin-top: 2px;
				font-size: 1.1rem;
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 500;
			}
		}
		> div.item {
			padding-top: 40px;
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			@media (width < 700px) {
				grid-template-columns: repeat(1, 1fr);
				row-gap: 40px;
			}
			> a {
				text-decoration: none;
				padding-inline: 30px;
				border-right: 1px solid #000;
				&:nth-of-type(3) {
					border-right: none;
				}
				&[href]:hover {
					> figure > img {
						transform: scale(1.1);
					}
				}
				@media (width < 850px) {
					padding-inline: 20px;
				}
				@media (width < 700px) {
					border-right: none;
				}
				@media (width < 540px) {
					padding-inline: 0px;
				}
				> figure {
					overflow: hidden;
					> img {
						width: 100%;
						aspect-ratio: 1/1;
						object-fit: cover;
						transition: transform 0.4s;
					}
				}
				> p {
					margin-top: 10px;
					font-size: min(1rem, 5vw);
					line-height: 1.5;
					color: #333;
				}
			}
		}
		> div.link {
			margin-top: 40px;
			display: flex;
			justify-content: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.7;
				}
				> p {
					padding: 10px 60px;
					text-align: center;
					display: inline-block;
					background-color: var(--color-accent);
					border-radius: 30px;
					background-image: url(./common/image/mark_external_fff.svg);
					background-position: right 15px top 50%;
					background-repeat: no-repeat;
					background-size: 10px 20px;
					font-size: 1.1rem;
					line-height: 1.3;
					color: #fff;
					font-weight: 500;
					letter-spacing: 1px;
				}
			}
		}
	}
}
section.blog {
	padding: 50px 5% 70px 5%;
	background-color: #f4f0e8;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> div {
				font-size: 3rem;
				line-height: 1.3;
				color: #000;
				font-weight: 600;
			}
			> p {
				margin-top: 2px;
				font-size: 1.1rem;
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 500;
			}
		}
		> div.item {
			padding-top: 40px;
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			@media (width < 700px) {
				grid-template-columns: repeat(1, 1fr);
				row-gap: 40px;
			}
			> a {
				text-decoration: none;
				padding-inline: 30px;
				border-right: 1px solid #000;
				&:nth-of-type(3) {
					border-right: none;
				}
				&:hover {
					> figure > img {
						transform: scale(1.1);
					}
				}
				@media (width < 850px) {
					padding-inline: 20px;
				}
				@media (width < 700px) {
					border-right: none;
				}
				@media (width < 540px) {
					padding-inline: 0px;
				}
				> figure {
					overflow: hidden;
					> img {
						width: 100%;
						aspect-ratio: 1/1;
						object-fit: cover;
						transition: transform 0.4s;
					}
				}
				> h3 {
					margin-top: 10px;
					font-size: min(1rem, 5vw);
					line-height: 1.5;
					color: #333;
				}
				> p {
					margin-top: 5px;
					font-size: min(0.9rem, 5.0vw);
					line-height: 1.6;
					color: #333;
					text-align: justify;
					&:nth-of-type(2) {
						text-align: right;
						margin-top: 5px;
					}
					> small {
						font-size: min(0.8rem, 4.5vw);
					}
				}
			}
		}
		> div.link {
			margin-top: 40px;
			display: flex;
			justify-content: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.7;
				}
				> p {
					padding: 10px 60px;
					text-align: center;
					display: inline-block;
					background-color: var(--color-accent);
					border-radius: 30px;
					background-image: url(./common/image/mark_external_fff.svg);
					background-position: right 15px top 50%;
					background-repeat: no-repeat;
					background-size: 10px 20px;
					font-size: 1.1rem;
					line-height: 1.3;
					color: #fff;
					font-weight: 500;
					letter-spacing: 1px;
				}
			}
		}
	}
}
section.modelhouse {
	padding: 50px 5% 70px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> div {
				font-size: 3rem;
				line-height: 1.3;
				color: #000;
				font-weight: 600;
			}
			> p {
				margin-top: 2px;
				font-size: 1.1rem;
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 500;
			}
		}
		> p {
			margin-top: 30px;
			font-size: 1.2rem;
			line-height: 1.3;
			color: #333;
			font-weight: 400;
			text-align: center;
			letter-spacing: 2px;
		}
		> div.item {
			padding-top: 40px;
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			column-gap: min(60px,3vw);
			row-gap: 40px;
			@media (width < 700px) {
				grid-template-columns: repeat(1, 1fr);
			}
			> article {
				> a {
					text-decoration: none;
					&:hover {
						> figure > img {
							transform: scale(1.05);
						}
					}
					> figure {
						overflow: hidden;
						> img {
							width: 100%;
							aspect-ratio: 1/1;
							object-fit: cover;
							transition: transform 0.4s;
						}
					}
				}
				> p {
					margin-top: 10px;
					font-size: min(1.1rem, 5.0vw);
					line-height: 1.6;
					color: #333;
				}
			}
		}
	}
}
section.movie {
	padding: 50px 5% 0px 5%;
	> div {
		max-width: 960px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> div {
				font-size: 3rem;
				line-height: 1.3;
				color: #000;
				font-weight: 600;
			}
			> p {
				margin-top: 2px;
				font-size: 1.1rem;
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 500;
			}
		}
		> video {
			margin-top: min(60px,10vw);
			max-width: 100%;
		}
	}
}
section.topicslink {
	padding: 50px 5% 60px 5%;
	> div {
		max-width: 900px;
		margin-inline: auto;
		> div.link {
			display: flex;
			justify-content: center;
			> a {
				text-decoration: none;
				&:hover {
					opacity: 0.7;
				}
				> p {
					padding: 20px 70px;
					text-align: center;
					display: inline-block;
					border: 1px solid #23b6bc;
					background-image: url(./image/double_arrow_right.svg);
					background-position: calc(100% - 35px) 50%;
					background-repeat: no-repeat;
					background-size: 15px 20px;
					font-size: 1.1rem;
					line-height: 1.3;
					color: #23b6bc;
					font-weight: 500;
					letter-spacing: 1px;
					@media (width < 700px) {
						padding: 20px 60px;
						background-position: calc(100% - 30px) 50%;
					}
				}
			}
		}
	}
}
section.sns {
	padding: 40px 5% 0px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		column-gap: 20px;
		@media (width < 1370px) {
			grid-template-columns: repeat(1, 1fr);
			max-width: 500px;
		}
		> div {
			> p {
				font-size: 1.0rem;
				line-height: 1.4;
				color: #333;
				font-weight: 500;
			}
			> iframe {
				margin-top: 5px;
				width: 100%;
			}
			> div.instagram {
				margin-top: 5px;
				max-width: 500px;
				display: grid;
				grid-template-columns: repeat(3,1fr);
				gap: 5px;
				> a {
					display: block;
					overflow: hidden;
					width: 100%;
					height: 100%;
					&:hover {
						> img {
							transform: scale(1.1);
						}
					}
					> img {
						transition: transform 0.3s;
						width: 100%;
						height: 100%;
						aspect-ratio: 1/1;
						object-fit: cover;
					}
				}
			}
		}
	}
}
section.link02 {
	padding: 40px 5% 80px 5%;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		column-gap: 10px;
		row-gap: 10px;
		@media (width < 1140px) {
			grid-template-columns: repeat(1, 1fr);
			max-width: 520px;
		}
		> a {
			text-decoration: none;
			&:hover {
				opacity: 0.7;
			}
			> figure {
				> img {
					max-width: 100%;
				}
			}
		}
	}
}
section.contact {
	padding: 60px 5% 0px 5%;
	background-color: #f4f0e8;
	> div {
		max-width: 1000px;
		margin-inline: auto;
		> h2 {
			text-align: center;
			> div {
				font-size: 3rem;
				line-height: 1.3;
				color: #000;
				font-weight: 600;
			}
			> p {
				margin-top: 2px;
				font-size: 1.1rem;
				line-height: 1.3;
				color: var(--color-accent);
				font-weight: 500;
			}
		}
		> p {
			margin-top: 30px;
			font-size: 1.1rem;
			line-height: 1.5;
			color: #333;
			font-weight: 400;
			text-align: center;
			&:nth-of-type(2) {
				margin-top: 15px;
			}
		}
	}
}
section.mailform {
	padding: 50px 2% 100px 2%;
	background-color: #f4f0e8;
	> div {
		max-width: 900px;
		margin-inline: auto;
		> form {}
		> #submitResult {
			background-color: var(--color-accent);
			font-size: 1rem;
			line-height: 1.6;
			color: #fff;
			padding: 10px 20px;
			border-radius: 3px;
			&:empty {
				display: none;
			}
		}
	}
}
