@charset "utf-8";

/* ****************************
		イントロ専用
***************************** */
body.page-slug-intro {
	margin: 0;
	overflow-x: hidden;
}

body.page-slug-intro .head {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

body.page-slug-intro #intro {
	margin: 0;
	padding: 0;
}

body.page-slug-intro #intro .section {
	min-height: 100svh;
	height: 100svh;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

body.page-slug-intro #intro .hero-svg {
	display: block;
	width: 100%;
	height: 100%;
}

section.section {
	position: relative;
	width: 100%;
	height: 100vh;
	background: #f8f2eb;
	display: flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
}

section.section::after {
	content: "";
	position: absolute;
	inset: 0;
	border-bottom: 1px solid #aaa;
	pointer-events: none;
}

.hero-svg {
	display: block;
	width: 100%;
	height: auto;
}

.hero-heading text {
	fill: #675c48;
	font-size: 45px;
	letter-spacing: 0.04em;
	font-family: "Ryumin Regular KL", serif;
	font-weight: 300;
}

.hero-note tspan {
	fill: #655c4a;
	font-size: 31px;
	letter-spacing: 0.05rem;
	font-family: "Ryumin Regular KL", serif;
	font-style: normal;
}

.hero-link,
.intro-pager a {
	cursor: pointer;
}

.hero-link text {
	font-family: "berthold-baskerville-pro", "Baskervville", "Libre Baskerville", serif;
	font-weight: 400;
	font-style: normal;
	fill: #675c48;
	font-size: 32px;
	letter-spacing: 0.2em;
}

.hero-link .arrow {
	fill: #675c48;
	font-family: "Ryumin Regular KL", serif;
	font-weight: 300;
	font-style: normal;
}

.hero-link-line {
	stroke: #CFA764;
	stroke-width: 2;
}

.hero-link rect {
	pointer-events: all;
}

.hero-image {
	overflow: visible;
}

/* 最初のみの配置 */
.begin-line,
.begin-slash {
	stroke: #675c48;
	stroke-width: 2;
	fill: none;
}

/* ラストのみの配置 */
.pageLast .hero-heading text {
	fill: #675c48;
	font-size: 50pt;
	letter-spacing: 0.04em;
	font-family: "Ryumin Regular KL", serif;
	font-weight: 300;
}

.pageLast .hero-note tspan {
	fill: #675c48;
	font-size: 30pt;
	letter-spacing: 0.05em;
	font-family: "berthold-baskerville-pro", "Baskervville", "Libre Baskerville", serif;
	font-weight: 300;
	font-style: italic;
}

.pageLast .hero-link text {
	font-size: 25px;
	letter-spacing: 0.12em;
}

.pageLast .readmore-line,
.pageLast .readmore-slash {
	stroke: #675c48;
	stroke-width: 2;
	fill: none;
}

/* 横線 */
.pageLast .readmore-line {
	transform-origin: left center;
	transform-box: fill-box;
	transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

/* 羽根 */
.pageLast .readmore-slash {
	transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}

/* hover */
.pageLast .hero-link:hover .readmore-line {
	transform: scaleX(1.25);
}

.pageLast .hero-link:hover .readmore-slash {
	transform: translateX(32px);
}

/* ===== 共通 ===== */
.section [class*="anim-"] {
	will-change: transform, opacity;
}

/* ===== 1. ふわっとフェードイン ===== */
.section .anim-fade {
	opacity: 0;
}

.section.is-active .anim-fade {
	animation: fadeUpLuxury 2.8s ease-out forwards;
	animation-delay: 0.45s;
}

/* ===== 2. 日の出のように現れる ===== */
.rise-line {
	transform: translate3d(0, 100px, 0);
	will-change: transform;
}

.section.is-active .rise-line {
	animation: riseReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes riseReveal {
	from {
		transform: translate3d(0, 70px, 0);
	}
	to {
		transform: translate3d(0, .1px, 0);
	}
}

/* ===== delay utility ===== */
.section.is-active .delay-1 { animation-delay: 0.28s; }
.section.is-active .delay-2 { animation-delay: 1.06s; }
.section.is-active .delay-3 { animation-delay: 1.94s; }
.section.is-active .delay-4 { animation-delay: 2.82s; }
.section.is-active .delay-5 { animation-delay: 3.66s; }

/* ===== lastだけ少しゆっくり ===== */
.pageLast.is-active .anim-fade {
	animation-duration: 1.6s;
}

/* ===== keyframes ===== */
@keyframes fadeUpLuxury {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* 左固定ドットナビ */
.intro-pager-wrap {
	position: fixed;
	left: 54px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 50;
}

.intro-pager {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.intro-pager a {
	display: block;
	width: 10px;
	height: 10px;
	border-radius: 999px;
	border: none;
	background: rgba(123, 123, 123, .35);
	opacity: 1;
	transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.intro-pager a.is-active {
	background: #CFA764;
	transform: scale(2.0);
}

.intro-pager a:hover {
	transform: scale(1.2);
}

.intro-pager a span {
	position: absolute;
	top: 50%;
	left: 14px;
	transform: translateY(-50%);
	font-size: .6rem;
	line-height: 1;
	color: #CEC5B9;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
	transition: opacity .2s ease;
}

.intro-pager a:hover span,
.intro-pager a.is-active span {
	opacity: 1;
}

@media (max-width: 767px) {
	.intro-pager a {
		width: 8px;
		height: 8px;
	}

	.intro-pager a span {
		display: none;
	}
}

body.intro-mode {
	overflow-y: auto;
}

/* ラストの挙動 */
#intro {
	position: relative;
}

#intro::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: #f8f2eb;
	transform: translateX(100%);
	transition: transform .42s cubic-bezier(.7, 0, .3, 1);
	pointer-events: none;
}

#intro.is-cover-in::after {
	transform: translateX(0);
}


/* *******************************
		カスタムオーディオプレイヤー
******************************** */

header.head .audioWrapper{
	align-items: center;
	gap: 24px;
}

header.head .audioWrapper .audioArea{
	display: flex;
	align-items: center;
	    margin-right: 40px;
}

.audioPlayer{
	display: grid;
	grid-template-columns: 24px auto 100px;
	/* align-items: center; */
	gap: 8px;
	min-width: 0;
	padding: 5px 10px;
	border-radius: 50px;
	background: rgba(255,255,255,.35);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 8px 22px rgba(103, 92, 72, .08);
}

.audioPlayer audio{
	display: none;
}

.audioPlay,
.audioMute{
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
}

.audioPlay{
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #675c48;
	display: grid;
	place-items: center;
	margin: auto;
	flex-shrink: 0;
	transition: transform .2s ease, opacity .2s ease;
}

.audioPlay:hover,
.audioMute:hover{
	opacity: .8;
}

.audioPlay:active,
.audioMute:active{
	transform: scale(.96);
}

.audioPlayIcon{
	display: block;
	position: relative;
	width: 16px;
	height: 16px;
}

.audioPlayIcon--play::before{
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-40%, -50%);
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 10px solid #fff;
}

.audioPlay.is-playing .audioPlayIcon::before,
.audioPlay.is-playing .audioPlayIcon::after{
	content: "";
	position: absolute;
	top: 50%;
	width: 3px;
	height: 12px;
	background: #fff;
	border-radius: 2px;
	transform: translateY(-50%);
}

.audioPlay.is-playing .audioPlayIcon::before{
	left: 3px;
	border: 0;
}

.audioPlay.is-playing .audioPlayIcon::after{
	right: 3px;
}

.audioMeta{
	min-width: 0;
}

.audioTime{
	font-family: "Montserrat", sans-serif;
	font-size: 12px;
	letter-spacing: .04em;
	color: #675c48;
	line-height: .42;
	margin-bottom: 8px;
	text-align: left;
}

.audioTimeSep{
	opacity: .55;
}

.audioProgressWrap{
	display: flex;
	align-items: center;
}

.audioProgress,
.audioVolume{
	appearance: none;
	-webkit-appearance: none;
	width: 100%;
	height: 3px;
	border-radius: 999px;
	outline: none;
	background:
		linear-gradient(#CFA764, #CFA764) 0 / var(--range-progress, 0%) 100% no-repeat,
		rgba(103, 92, 72, .16);
	cursor: pointer;
}

.audioProgress::-webkit-slider-thumb,
.audioVolume::-webkit-slider-thumb{
	-webkit-appearance: none;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: #675c48;
}

.audioProgress::-moz-range-thumb,
.audioVolume::-moz-range-thumb{
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 0;
	background: #675c48;
	box-shadow: 0 0 0 3px rgba(255,255,255,.85);
}

.audioProgress::-moz-range-track,
.audioVolume::-moz-range-track{
	height: 4px;
	border-radius: 999px;
	background: transparent;
}

.audioVolumeArea{
	display: grid;
	grid-template-columns: 28px 1fr;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.audioMute{
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}

.audioMuteIcon{
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
}

.audioMuteIcon::before{
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 8px;
	height: 8px;
	background: #675c48;
	clip-path: polygon(0 30%, 45% 30%, 78% 0, 78% 100%, 45% 70%, 0 70%);
}

.audioMuteIcon::after{
	content: "";
	position: absolute;
	left: 10px;
	top: 50%;
	transform: translateY(-50%);
	width: 7px;
	height: 14px;
	border-right: 2px solid #675c48;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
	border-radius: 50%;
	opacity: 1;
}

.audioMute.is-muted .audioMuteIcon::after{
	width: 14px;
	height: 14px;
	border: 0;
	opacity: 1;
	background:
		linear-gradient(45deg, transparent 43%, #675c48 43%, #675c48 57%, transparent 57%);
	left: 8px;
}

@media (max-width: 1100px){
	.audioPlayer{
		grid-template-columns: 42px minmax(150px, 220px) 112px;
		gap: 10px;
		padding: 8px 12px;
	}
}

@media (max-width: 767px){
	header.head .audioWrapper{
		gap: 12px;
	}
	header.head .audioWrapper .audioArea{
		display: flex;
		align-items: right;
		margin-right: 20px;
	}
	.audioPlayer{
		grid-template-columns: 38px minmax(120px, 1fr);
		grid-template-areas:
			"play meta"
			"play volume";
		gap: 8px 10px;
		padding: 10px 12px;
		border-radius: 20px;
	}

	/*
	.audioPlay{
		grid-area: play;
		width: 38px;
		height: 38px;
		align-self: center;
	} */
	.audioPlay{
		grid-area: play;
		width: 30px;
		height: 30px;
		align-self: center;
	}

	.audioMeta{
		grid-area: meta;
	}
	/*
	.audioVolumeArea{
		grid-area: volume;
		grid-template-columns: 24px 1fr;
	} */

	/*スマホ版ではボリュームを削除する方向で調整*/
	.audioVolumeArea{
		display: none;
	}
	.audioPlayer {
		grid-template-columns: 38px minmax(120px, 1fr);
		grid-template-areas: "play meta";
	}
}
.intro-sp-panel {
	display: none;
}

@media (max-width: 767px) {
	body.page-slug-intro #intro .hero-svg {
		display: none;
	}

	body.page-slug-intro #intro .section {
		min-height: 100svh;
		height: 100svh;
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		background: #f8f2eb;
	}

	.intro-sp-panel {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		width: 100%;
		min-height: 100svh;
		box-sizing: border-box;
		padding: 160px 20px 48px 48px;
	}

	.intro-sp-copy {
		order: 1;
	}

	.intro-sp-heading {
		margin: 0;
		color: #675c48;
		font-family: "Ryumin Regular KL", serif;
		font-weight: 300;
		font-size: clamp(18px, 6vw, 22px);
		line-height: 1.55;
		letter-spacing: 0.04em;
	}

	.intro-sp-heading span,
	.intro-sp-note span {
		display: block;
	}

	.intro-sp-note {
		margin: 28px 0 0;
		color: #655c4a;
		font-family: "Ryumin Regular KL", serif;
		font-size: clamp(15px, 4.2vw, 18px);
		line-height: 1.7;
		letter-spacing: 0.04em;
	}

	.intro-sp-image {
		order: 2;
		display: block;
		width: min(82vw, 380px);
		max-height: 38svh;
		margin: 0 auto;
		object-fit: contain;
	}
	#page1 .intro-sp-image,
	#page7 .intro-sp-image {
		width: min(68vw, 300px);
		max-height: 30svh;
	}
	.intro-sp-link {
		order: 3;
		display: inline-flex;
		align-items: center;
		width: fit-content;
		margin-top: 30px;
		color: #675c48;
		font-family: "berthold-baskerville-pro", "Baskervville", "Libre Baskerville", serif;
		font-size: 15px;
		letter-spacing: 0.18em;
		text-decoration: none;
		border-bottom: 1px solid #CFA764;
		padding-bottom: 8px;
	}

	#page8 .intro-sp-panel {
		text-align: center;
		align-items: center;
	}

	#page8 .intro-sp-image {
		order: 1;
		width: min(68vw, 300px);
		max-height: 22svh;
		margin: 0 auto 34px;
	}

	#page8 .intro-sp-copy {
		order: 2;
	}

	#page8 .intro-sp-link {
		order: 3;
		margin-left: auto;
		margin-right: auto;
	}
	.intro-pager-wrap {
   		 left: 10px;
	}
}