/* CSS Document */

main{
	margin-bottom: clamp(32px, calc(64 / 1200 * 100vw), 64px);
}

#detail{}

#detailHeader{
	display: grid;
	grid-template-columns: 1fr var(--wrap) 1fr;
	justify-content: center;
	background: #f5f3f0;
	padding-bottom: clamp(48px, calc(64 / 1200 * 100vw), 64px);
	&:not(:has(#detailPhoto)):before{
		content: "";
		grid-column: 1 / 4;
		grid-row: 1;
		aspect-ratio: 3 / 2;
		background: var(--dummy);
	}
	&>*{
		grid-column: 2;
	}
	& h2{
		margin-top: clamp(16px, calc(24 / 1200 * 100vw), 24px);
		color: var(--color-theme);
		font-weight: 700;
		font-size: clamp(24px, calc(32 / 768 * 100vw), 32px);
	}
	#detailBody{
		margin-top: clamp(8px, calc(16 / 1200 * 100vw), 16px);
	}
	#detailInfo{
		border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
	}
	#detailPhoto{
		grid-column: 1 / 4;
		grid-row: 1;
	}
	@media (max-width: 991.98px) {
		#detailInfo{
			margin-top: clamp(24px, calc(32 / 1200 * 100vw), 32px);;
		}
	}
	@media (min-width: 992px) {
		grid-template-columns: 400px calc(var(--wrap) - 400px);
		&:before{
			grid-column: 2;
			grid-row: 1;
			border-radius: 0 0 clamp(24px, calc(32 / 1200 * 100vw), 32px) 0;
		}
		& h2,
		#detailBody{
			grid-column: 2;
			margin-left: clamp(40px, calc(48 / 768 * 100vw), 48px);
		}
		#detailInfo{
			grid-column: 1;
			grid-row: 1 / 4;
			align-self: start;
			min-height: clamp(440px, calc(584 / 1200 * 100vw), 584px);
			border-radius: 0 0 clamp(24px, calc(32 / 1200 * 100vw), 32px) clamp(24px, calc(32 / 1200 * 100vw), 32px);
		}
		#detailPhoto{
			grid-column: 2;
			grid-row: 1;
			border-radius: 0 0 clamp(24px, calc(32 / 1200 * 100vw), 32px) 0;
			overflow: hidden;
		}
	}

}

#detailBody{
	font-weight: 700;
}

#detailInfo{
	display: grid;
	grid-template-rows: auto 1fr;
	padding: clamp(24px, calc(40 / 1200 * 100vw), 40px);
	background: #fff;
	&:not(:has(#detailCatch)),
	&:not(:has(#detailText)){
		grid-template-rows: 1fr;
	}
	#detailCatch{
		margin-bottom: 8px;
	}
	#detailPoint,
	#detailCategory{
		margin-top: clamp(16px, calc(24 / 1200 * 100vw), 24px);
	}
	#detailPoint:first-child{
		margin-top: auto;
	}
}

#detailCatch{
	font-weight: 700;
	font-size: clamp(18px, calc(24 / 1200 * 100vw), 24px);
}

#detailText{
	font-weight: 700;
}

#detailPoint{
	padding-top: clamp(16px, calc(24 / 1200 * 100vw), 24px);
	border-top: 1px solid currentColor;
	& ul{
		display: grid;
		grid-row-gap: 4px;
	}
	& li{
		display: grid;
		grid-template-columns: auto 1fr;
		font-weight: 700;
		&:before{
			content: "\30FB";
		}
	}
}

#detailCategory{
	& ul{
		display: flex;
		flex-wrap: wrap;
		grid-gap: 8px;
		& li{
		}
	}
	& li{
		display: grid;
		align-items: center;
		min-height: 24px;
		padding: 0 1em;
		background: #736357;
		border-radius: 12px;
		color: #fff;
		font-weight: 700;
		font-size: 14px;
		text-align: center;
	}
}

#detailPhoto{
	& img{
		aspect-ratio: 3 / 2;
		object-fit: cover;
	}
}

#detailIndex{
	display: grid;
	grid-template-columns: min(var(--wrap-fit), 980px);
	justify-content: center;
	background: ;
	background: linear-gradient(#f5f3f0 64px, transparent clamp(64px, calc(80 / 1200 * 100vw), 80px));
	&:before{
		content: "";
		grid-column: 1;
		grid-row: 1 / 3;
		background: #fff;
		border: 1px solid currentColor;
		border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
	}
	& h3{
		grid-column: 1;
		grid-row: 1;
		margin-top: 16px;
		color: var(--color-theme);
		font-weight: 700;
		font-size: clamp(20px, calc(24 / 1200 * 100vw), 24px);
		letter-spacing: 0.1em;
		text-align: center;
	}
	& h3+div{
		grid-column: 1;
		grid-row: 2;
		margin-top: 16px;
	}
	& ul{
		padding: 0 clamp(24px, calc(40 / 1200 * 100vw), 40px);
		&:last-child{
			margin-bottom: clamp(24px, calc(40 / 1200 * 100vw), 40px);
		}
	}
	& ul,
	& span{
		display: grid;
		grid-row-gap: 4px;
	}
	& a{
		display: grid;
		grid-template-columns: auto 1fr;
		align-items: center;
		column-gap: 8px;
		color: inherit;
		font-weight: 700;
		text-decoration: none;
		&:before{
			content: "";
			aspect-ratio: 1;
			width: 14px;
			background: var(--color-theme);
			-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14"><polygon points="13 7 0 14 0 0 13 7"/></svg>') no-repeat center / contain;
		}
	}
	& menu{
		all: unset;
		display: grid;
		cursor: pointer;
		grid-template-columns: auto 10px;
		align-items: center;
		justify-content: center;
		column-gap: 8px;
		margin-top: 16px;
		min-height: 48px;
		border-top: 1px solid var(--color);
		color: var(--color-theme);
		font-weight: 700;
		font-size: 14px;
		&:after{
			content: "";
			aspect-ratio: 1;
			width: 14px;
			background: currentColor;
			-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" fill="white"><path d="M3.5,4.81h5s-2.5,4-2.5,4l-2.5-4Z"/></svg>') no-repeat center / contain;
		}
		&.open:after{
			transform: scale(1, -1);
		}
	}
}

#detailArticle{
	margin-top: clamp(48px, calc(64 / 1200 * 100vw), 64px);
	.basic,
	.postscript{
		margin-top: clamp(48px, calc(64 / 1200 * 100vw), 64px);
	}
	.schedule,
	.best,
	.message,
	.spot{
		padding-bottom: clamp(48px, calc(64 / 1200 * 100vw), 64px);
		&:first-child,
		.basic+&,
		.postscript+&{
			margin-top: clamp(48px, calc(64 / 1200 * 100vw), 64px);
			padding-top: clamp(48px, calc(64 / 1200 * 100vw), 64px);
		}
		&:last-child{
			margin-bottom: clamp(48px, calc(64 / 1200 * 100vw), 64px);
		}
	}
}

#recommend{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	margin-top: clamp(48px, calc(64 / 1200 * 100vw), 64px);
	overflow: hidden;
	& h2{
		display: grid;
		grid-gap: 0.25em 0.5em;
		font-weight: 700;
		font-size: clamp(24px, calc(28 / 768 * 100vw), 28px);
		&:after{
			content: "";
			height: clamp(2px, calc(3 / 768 * 100vw), 3px);
			background: linear-gradient(90deg, #ff7a5c, transparent);
		}
		@media (min-width: 576px) {
			justify-content: center;
		}
	}
	#recommendList{
		margin-top: clamp(24px, calc(32 / 1200 * 100vw), 32px);
	}
}

#recommendList{
	display: grid;
	grid-gap: clamp(24px, calc(32 / 1200 * 100vw), 32px);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	& section{
		grid-column: 1;
		grid-row: 1;
		position: relative;
		display: grid;
		align-content: start;
		grid-gap: 8px;
		&:not(:has(img)):before{
			content: "";
			grid-column: 1;
			grid-row: 1;
			aspect-ratio: 3 / 2;
			margin-bottom: 8px;
			background: var(--dummy);
			border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
		}
		& figure{
			grid-column: 1;
			grid-row: 1;
			margin-bottom: 8px;
			& img{
				aspect-ratio: 3 / 2;
				border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
			}
		}
	}
	& h3{
		font-weight: 700;
		font-size: clamp(18px, calc(20 / 768 * 100vw), 20px);
	}
	& h3+div{
		display: contents;
	}
	& p{
		font-weight: 700;
	}
	& a{
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		font-size: 0;
		z-index: 1;
	}
	& figure{
		& img{
			object-fit: cover;
		}
	}
	&.slick-slider{
		grid-template-columns: 0 1fr 0;
		grid-gap: unset;
		&:before{
			content: "";
			grid-column: 2;
			grid-row: 1;
			aspect-ratio: 3 / 2;
			background: red;
			opacity: 0.5;
			z-index: 1;
			visibility: hidden;
		}
		.slick-list{
			grid-column: 2;
			grid-row: 1 / 3;
			margin: 0 calc(0px - clamp(12px, calc(16 / 1200 * 100vw), 16px));
			overflow: visible;
		}
		.slick-slide{
			margin: 0 clamp(12px, calc(16 / 1200 * 100vw), 16px);
		}
		.slick-arrow{
			align-self: center;
			justify-self: center;
			z-index: 1;
		}
		.slick-disabled{
			visibility: hidden;
		}
		@media (min-width: 576px) {
			&:before{
				width: calc((100% - clamp(24px, calc(32 / 1200 * 100vw), 32px)) / 2);
			}
		}
		@media (min-width: 992px) {
			&:before{
				width: calc((100% - (clamp(24px, calc(32 / 1200 * 100vw), 32px) * 2)) / 3);
			}
		}
	}
}

.basic{
	display: grid;
	grid-template-columns: min(var(--wrap), 980px);
	justify-content: center;
	& h3{
		display: grid;
		grid-gap: 0.25em 0.5em;
		font-weight: 700;
		font-size: clamp(24px, calc(28 / 768 * 100vw), 28px);
		&:after{
			content: "";
			height: clamp(2px, calc(3 / 768 * 100vw), 3px);
			background: linear-gradient(90deg, #ff7a5c, transparent);
		}
		@media (min-width: 576px) {
			justify-content: center;
		}
	}
	.basicText{
		margin-top: clamp(16px, calc(24 / 1200 * 100vw), 24px);
	}
	.basicPhoto{
		display: grid;
		grid-row-gap: 8px;
		font-size: 14px;
		margin-top: clamp(24px, calc(32 / 1200 * 100vw), 32px);
		& img{
			aspect-ratio: 3 / 2;
			object-fit: cover;
			border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
		}
	}
}

.schedule{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	background: #f5f3f0;
	& h3{
		display: grid;
		grid-gap: 0.25em 0.5em;
		margin-bottom: clamp(16px, calc(32 / 1200 * 100vw), 32px);
		font-weight: 700;
		font-size: clamp(24px, calc(28 / 768 * 100vw), 28px);
		&:after{
			content: "";
			height: clamp(2px, calc(3 / 768 * 100vw), 3px);
			background: linear-gradient(90deg, #ff7a5c, transparent);
		}
		@media (min-width: 576px) {
			justify-content: center;
		}
	}
	& h3+div{
		display: grid;
		grid-gap: clamp(24px, calc(40 / 1200 * 100vw), 40px);
		padding: clamp(24px, calc(40 / 1200 * 100vw), 40px);
		& div{
			outline: clamp(24px, calc(40 / 1200 * 100vw), 40px) solid #fff;
			background: #fff;
			&:only-child{
				border-radius: 50%;
			}
		}
		@media (max-width: 575.98px) {
			&:has(div:nth-of-type(2)){
				& div:first-child{
					border-radius: 50% 50% 0 0;
				}
				& div:last-child{
					border-radius: 0 0 50% 50%;
				}
			}
		}
		@media (min-width: 576px) and (max-width: 767.98px) {
			&:has(div:nth-of-type(2)){
				grid-template-columns: repeat(2, 1fr);
				& div:first-child{
					border-radius: 50% 0 0 50%;
				}
				& div:last-child{
					border-radius: 0 50% 50% 0;
				}
			}
			&:has(div:nth-of-type(3)){
				& div:nth-of-type(1){
					border-radius: 0 0 0 50%;
				}
				& div:nth-of-type(2){
					border-radius: 0 0 50% 0;
				}
				& div:nth-of-type(3){
					grid-column: 1 / 3;
					grid-row: 1;
					border-radius: 32px 32px 0 0;
					& img{
						aspect-ratio: 3 / 2;
						border-radius: 32px;
					}
				}
			}
		}
		@media (min-width: 768px) {
			justify-self: center;
			width: 33.33%;
			&:has(div:nth-of-type(2):last-child){
				grid-template-columns: repeat(2, 1fr);
				width: 66.66%;
			}
			&:has(div:nth-of-type(3):last-child){
				grid-template-columns: repeat(3, 1fr);
				width: 100%;
			}
			& div:first-child{
				border-radius: 50% 0 0 50%;
			}
			& div:last-child{
				border-radius: 0 50% 50% 0;
			}
		}
	}
	& img{
		aspect-ratio: 1;
		object-fit: cover;
		border-radius: 100%;
	}
}

.best{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	background: #f5f3f0;
	& h3{
		display: grid;
		grid-gap: 0.25em 0.5em;
		margin-bottom: clamp(16px, calc(32 / 1200 * 100vw), 32px);
		font-weight: 700;
		font-size: clamp(24px, calc(28 / 768 * 100vw), 28px);
		&:after{
			content: "";
			height: clamp(2px, calc(3 / 768 * 100vw), 3px);
			background: linear-gradient(90deg, #ff7a5c, transparent);
		}
		@media (min-width: 576px) {
			justify-content: center;
		}
	}
	& h3+div{
		order: 1;
		display: grid;
		align-content: start;
		padding: clamp(24px, calc(40 / 1200 * 100vw), 40px);
		background: #fff;
		&:last-child{
			border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
		}
		&:not(:last-child){
			border-radius: 0 0 clamp(24px, calc(32 / 1200 * 100vw), 32px) clamp(24px, calc(32 / 1200 * 100vw), 32px);
		}
		&>div:nth-of-type(n+2){
			margin-top: 16px;
			padding-top: 16px;
			border-top: 1px solid currentColor;
		}
	}
	& h4{
		color: #736357;
		font-weight: 700;
		font-size: clamp(18px, calc(20 / 768 * 100vw), 20px);
	}
	& h4+div{
		margin-top: 8px;
	}
	.bestPhoto{
		position: relative;
		padding-top: 66.66%;
		border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px) clamp(24px, calc(32 / 1200 * 100vw), 32px) 0 0;
		overflow: hidden;
		& img{
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
	}
	@media (min-width: 768px) {
		&:has(.bestPhoto){
			grid-template-columns: clamp(320px, calc(480 / 1200 * 100vw), 480px) calc(var(--wrap) - clamp(320px, calc(480 / 1200 * 100vw), 480px));
			& h3{
				grid-column: 1 / 3;
			}
			& h3+div{
				border-radius: 0 clamp(24px, calc(32 / 1200 * 100vw), 32px) clamp(24px, calc(32 / 1200 * 100vw), 32px) 0;
			}
		}
		.bestPhoto{
			border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px) 0 0 clamp(24px, calc(32 / 1200 * 100vw), 32px);
		}
	}
}

.message{
	display: grid;
/*	grid-template-columns: clamp(96px, calc(192 / 1200 * 100vw), 192px) calc(var(--wrap) - clamp(96px, calc(192 / 1200 * 100vw), 192px));
	justify-content: center;*/
	grid-template-columns: 1fr var(--wrap) 1fr;
	background: #f5f3f0;
	&>* {
		grid-column: 2;
	}
	& h3{
		display: grid;
		grid-gap: 0.25em 0.5em;
		margin-bottom: clamp(16px, calc(32 / 1200 * 100vw), 32px);
		font-weight: 700;
		font-size: clamp(24px, calc(28 / 768 * 100vw), 28px);
		&:after{
			content: "";
			height: clamp(2px, calc(3 / 768 * 100vw), 3px);
			background: linear-gradient(90deg, #ff7a5c, transparent);
		}
		@media (min-width: 576px) {
			justify-content: center;
		}
	}
	& h3+div{
		display: grid;
		margin-top: 24px;
		background: #fff;
		border-radius: 16px;
		@media (min-width: 576px) {
			grid-template-columns: 180px 1fr;
			column-gap: 24px;
			padding: 24px;
			border-radius: 114px;
		}
		@media (min-width: 1200px) {
			column-gap: 40px;
			margin-top: 40px;
		}
	}
	 .fr-view {
		 margin: 24px;
		@media (min-width: 576px) {
			align-self: center;
			margin: 0 24px 0 0;
		}
	}
	.messagePhoto{
		order: -1;
		& img {
			aspect-ratio: 3 / 2;
			object-fit: cover;
			border-radius: 16px 16px 0 0;
			@media (min-width: 576px) {
				aspect-ratio: 1;
				border-radius: 100%;
			}
		}
	}
}

.spot{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	background: #f5f3f0;
	& h3{
		display: grid;
		grid-gap: 0.25em 0.5em;
		margin-bottom: clamp(16px, calc(32 / 1200 * 100vw), 32px);
		font-weight: 700;
		font-size: clamp(24px, calc(28 / 768 * 100vw), 28px);
		&:after{
			content: "";
			height: clamp(2px, calc(3 / 768 * 100vw), 3px);
			background: linear-gradient(90deg, #ff7a5c, transparent);
		}
		@media (min-width: 576px) {
			justify-content: center;
		}
	}
	& h3+div{
		order: 1;
	}
	.spotPhoto{
		& ul{
			display: grid;
		}
		& li{
			grid-column: 1;
			grid-row: 1;
			position: relative;
			border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
			overflow: hidden;
			&:not([data-caption=""]):before{
				content: attr(data-caption);
				position: absolute;
				left: 0;
				bottom: 0;
				display: grid;
				align-items: end;
				width: 100%;
				height: min(50%, 120px);
				padding: clamp(16px, calc(24 / 1200 * 100vw), 24px);
				background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), transparent);
				border-radius: 0 0 16px 16px;
				color: #fff;
			}
		}
		& img{
			aspect-ratio: 3 / 2;
			object-fit: cover;
		}
		.slick-slider{
			display: grid;
			grid-template-columns: 0 1fr 0;
		}
		.slick-list{
			grid-column: 2;
		}
		.slick-arrow{
			align-self: center;
			justify-self: center;
			z-index: 1;
		}
	}
	@media (max-width: 767.98px) {
		.spotPhoto{
			margin-bottom: 16px;
		}
	}
	@media (min-width: 768px) {
		&:has(.spotPhoto){
			grid-template-columns: clamp(320px, calc(480 / 1200 * 100vw), 480px) calc(var(--wrap) - clamp(320px, calc(480 / 1200 * 100vw), 480px));
			& h3{
				grid-column: 1 / 3;
			}
			& h3+div{
				margin-left: clamp(40px, calc(48 / 1200 * 100vw), 48px);
			}
		}
	}
}

.postscript{
	display: grid;
	grid-template-columns: var(--wrap);
	justify-content: center;
	&:before{
		content: "";
		grid-column: 1;
		grid-row: 1 / 3;
		background: #e8dbc7;
		border-radius: clamp(24px, calc(32 / 1200 * 100vw), 32px);
	}
	& h3{
		grid-column: 1;
		grid-row: 1;
		margin: 0 clamp(24px, calc(40 / 1200 * 100vw), 40px);
		color: #736357;
		font-weight: 700;
		font-size: clamp(20px, calc(24 / 768 * 100vw), 24px);
	}
	& h3+div{
		grid-column: 1;
		grid-row: 2;
		margin: 8px clamp(24px, calc(40 / 1200 * 100vw), 40px) clamp(24px, calc(40 / 1200 * 100vw), 40px) clamp(24px, calc(40 / 1200 * 100vw), 40px);
	}
	& h3+div+div{
		justify-self: end;
		margin-top: 16px;
		@media (min-width: 768px) {
			grid-column: 1 / 3;
		}
	}
	.postscriptPhoto{
		margin: clamp(24px, calc(40 / 1200 * 100vw), 40px);
		& img{
			aspect-ratio: 3 / 2;
			object-fit: cover;
			border-radius: 16px;
		}
	}
	@media (max-width: 767.98px) {
		&:has(.postscriptPhoto){
			&:before{
				grid-row: 1 / 4;
			}
			& h3{
				grid-row: 2;
			}
			& h3+div{
				grid-row: 3;
			}
		}
		.postscriptPhoto{
			grid-column: 1;
			grid-row: 1;
		}
	}
	@media (min-width: 768px) {
		&:has(.postscriptPhoto){
			grid-template-columns: calc(var(--wrap) - clamp(320px, calc(480 / 1200 * 100vw), 480px)) clamp(320px, calc(480 / 1200 * 100vw), 480px);
			grid-template-rows: auto 1fr;
			&:before{
				grid-column: 1 / 3;
				grid-row: 1 / 3;
			}
		}
		& h3{
			margin-top: clamp(24px, calc(40 / 1200 * 100vw), 40px);
		}
		.postscriptPhoto{
			grid-column: 2;
			grid-row: 1 / 3;
			margin: clamp(24px, calc(40 / 1200 * 100vw), 40px) clamp(24px, calc(40 / 1200 * 100vw), 40px) clamp(24px, calc(40 / 1200 * 100vw), 40px) 0;
		}
	}
}

.slick-arrow{
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	position: relative;
	aspect-ratio: 1;
	width: clamp(40px, calc(64 / 1200 * 100vw), 64px);
	background: #736357;
	border-radius: 100%;
	color: #fff;
	font-size: 0;
	&:before{
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: currentColor;
		-webkit-mask: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" fill="white"><polygon points="17 15 25 20 17 25 17 15"/></svg>') no-repeat center / contain;
	}
	&.slick-prev:before{
		transform: scale(-1, 1);
	}
}





