@charset "utf-8";
/* =====================================================================
   faq.css  ／  よくあるご質問（page-faq.php）

   ・間隔はすべて rem（1rem = 16px）。ボタン内側は em
   ・見出し・光のあしらい・Reservation は flow / contact / information と同じ作り
   ・アコーディオンはカンプ実測（PC 1440幅 / SP 393幅）
     リストは幅900px・中央（information の表と同じ位置）、罫線はネイビー1px
   ・ブレイクポイントは 768px（テーマ共通）／ SP は最小 375px まで対応
   ===================================================================== */

:root {
	--faq-line:     #112A45; /* 罫線（ネイビー） */
	--faq-text:     #1A1A1A; /* 質問・回答の文字 */
	--faq-gold:     #c9ad83; /* 開いているときの − の地色 */
	--faq-max:      80rem;     /* コンテンツ幅 1280px */
	--faq-list-max: 56.25rem;  /* アコーディオンの幅 900px */
	--faq-header-h: 5.1365rem; /* 固定ヘッダーぶんの高さ確保 */
}

.p-faq {
	position: relative;
	overflow: hidden;
	background-color: var(--back-color);
	color: var(--main-color);
	font-family: var(--font-jp);
	padding-top: var(--faq-header-h);
	padding-bottom: 10.5rem;
}

/* 右上の光のあしらい（contact / flow / information と同じ画像・同じ扱い） */
.p-faq__bg {
	position: absolute;
	top: var(--faq-header-h);
	right: 0;
	z-index: 0;
	width: 70%;
	aspect-ratio: 2357 / 2993;
	background-image: url("../img/common/bg-sunlight-kasou.webp");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: contain;
	pointer-events: none;
}

/* 画面幅 1440px でちょうど 1280px になる（1280 / 1440 = 88.9%） */
.p-faq__inner {
	position: relative;
	z-index: 1;
	width: 88.9%;
	max-width: var(--faq-max);
	margin: 0 auto;
}

/* =====================================================================
   ページ見出し（FAQ／よくあるご質問）
   ===================================================================== */
.p-faq__head {
	text-align: center;
	padding-top: 5.625rem;
}
.p-faq__title {
	font-family: var(--font-en);
	font-size: var(--fs50);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
	color: var(--main-color);
	margin: 0;
}
.p-faq__title-jp {
	font-size: var(--fs18);
	letter-spacing: 0.08em;
	color: var(--main-color);
	margin: 0.5rem 0 0;
}

/* =====================================================================
   アコーディオン
   カンプ実測：幅900px・中央、行の高さ73px、＋／−は28px角、
   内側の余白は上下22px・左31px・右29px、マークと文字の間 25px
   ===================================================================== */
.p-faq__list {
	list-style: none;
	width: 100%;
	max-width: var(--faq-list-max);
	margin: 3rem auto 0;
	padding: 0;
	border-top: 1px solid var(--faq-line);
}
.p-faq__item {
	border-bottom: 1px solid var(--faq-line);
}
.p-faq__q {
	display: flex;
	align-items: center;
	gap: 1.5625rem;
	width: 100%;
	padding: 1.375rem 1.8125rem 1.375rem 1.9375rem;
	border: none;
	background: none;
	text-align: left;
	cursor: pointer;
	font-family: var(--font-jp);
	font-size: var(--fs16);
	color: var(--faq-text);
	-webkit-tap-highlight-color: transparent;
}
/* Q. と A. のしるし。A. は総合TOPと同じベージュ */
.p-faq__mark {
	flex: 0 0 auto;
	font-family: var(--font-en);
	font-size: var(--fs20);
	/* 行の高さは＋／−のボタン（28px）が決める。マークの行送りで押し広げない */
	line-height: 1;
	color: var(--main-color);
}
.p-faq__mark--a {
	color: var(--faq-gold);
}
.p-faq__q-text {
	flex: 1 1 auto;
	line-height: 1.75;
}
/* ＋／− のしるし */
.p-faq__icon {
	position: relative;
	flex: 0 0 auto;
	width: 1.75rem;
	height: 1.75rem;
	background-color: var(--main-color);
	transition: background-color 0.3s;
}
.p-faq__icon::before,
.p-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #fff;
}
.p-faq__icon::before {
	width: 0.8125rem;
	height: 2px;
}
.p-faq__icon::after {
	width: 2px;
	height: 0.8125rem;
	transition: transform 0.3s, opacity 0.3s;
}
.p-faq__item.is-open .p-faq__icon {
	background-color: var(--faq-gold);
}
.p-faq__item.is-open .p-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
	opacity: 0;
}
/* 開閉アニメーション */
.p-faq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}
.p-faq__a-inner {
	display: flex;
	/* 「A.」と回答本文は文字サイズが違うので、箱の上端ではなく
	   文字のベースラインで揃える（カンプ準拠） */
	align-items: baseline;
	gap: 1.5625rem;
	overflow: hidden;
	padding: 0 1.8125rem 0 1.9375rem;
}
.p-faq__a-text {
	flex: 1 1 auto;
	min-width: 0;
	font-size: var(--fs16);
	line-height: 1.75;
	color: var(--faq-text);
}
/* 回答は投稿本文なので、段落の上下の余白をこちらで整える */
.p-faq__a-text > :first-child {
	margin-top: 0;
}
.p-faq__a-text > :last-child {
	margin-bottom: 0;
}
.p-faq__a-text a {
	color: var(--main-color2);
	text-decoration: underline;
	transition: opacity 0.3s;
	-webkit-tap-highlight-color: transparent;
}
.p-faq__a-text a:hover {
	opacity: 0.7;
}
.p-faq__item.is-open .p-faq__a {
	grid-template-rows: 1fr;
}
.p-faq__item.is-open .p-faq__a-inner {
	padding-bottom: 2.125rem;
}

/* 公開中の FAQ が1件も無いとき */
.p-faq__empty {
	max-width: var(--faq-list-max);
	margin: 3rem auto 0;
	text-align: center;
	font-size: var(--fs16);
	color: var(--faq-text);
}

/* =====================================================================
   Reservation（ご予約はこちら）
   ===================================================================== */
.p-reservation {
	width: 100%;
	font-family: var(--font-jp);
}
.p-reservation__link {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1440 / 365;
	background-image: url("../img/common/bg-reservation.webp");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	color: #fff;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
}
.p-reservation__link::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(17, 42, 69, 0);
	transition: background-color 0.3s;
}
.p-reservation__link:hover::before {
	background-color: rgba(17, 42, 69, 0.2);
}
.p-reservation__text {
	position: relative;
	z-index: 1;
	text-align: center;
}
.p-reservation__title {
	display: block;
	font-family: var(--font-en);
	font-size: var(--fs40);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.04em;
}
.p-reservation__sub {
	display: block;
	margin-top: 0.375rem;
	font-size: var(--fs18);
	letter-spacing: 0.08em;
}

/* =====================================================================
   SP（〜768px ／ 最小 375px）
   カンプ実測：左右20px、行の高さ49px、＋／−は25px角。
   ＋／− はリストの右端に、Q. はリストの左端に揃える
   ===================================================================== */
@media (max-width: 768px) {
	:root {
		--faq-header-h: 4.042rem;
	}

	.p-faq {
		padding-bottom: 6rem;
	}
	.p-faq__bg {
		width: 100%;
		aspect-ratio: 787 / 796;
		background-image: url("../img/common/bg-sunlight-sp.webp");
		background-size: 100% auto;
	}
	.p-faq__inner {
		width: 100%;
		padding: 0 1.25rem;
	}

	/* --- 見出し --- */
	.p-faq__head {
		padding-top: 2.8125rem;
	}
	.p-faq__title-jp {
		font-size: var(--fs20);
		margin-top: 0.375rem;
	}

	/* --- アコーディオン --- */
	.p-faq__list,
	.p-faq__empty {
		max-width: none;
		margin-top: 2.75rem;
	}
	.p-faq__q {
		gap: 0.8125rem;
		padding: 0.75rem 0;
		font-size: var(--fs20);
	}
	.p-faq__icon {
		width: 1.5625rem;
		height: 1.5625rem;
	}
	.p-faq__icon::before {
		width: 0.75rem;
	}
	.p-faq__icon::after {
		height: 0.75rem;
	}
	.p-faq__a-inner {
		gap: 0.8125rem;
		padding: 0;
	}
	.p-faq__q-text {
		/* 行の高さは＋／−のボタン（25px）が決めるよう、行送りを抑える */
		line-height: 1.5;
	}
	.p-faq__a-text,
	.p-faq__empty {
		font-size: var(--fs20);
	}
	.p-faq__a-text {
		line-height: 1.65;
	}
	.p-faq__item.is-open .p-faq__a-inner {
		padding-bottom: 1.3125rem;
	}

	/* --- Reservation --- */
	.p-reservation__link {
		aspect-ratio: 786 / 600;
		background-image: url("../img/common/bg-reservation-sp.webp");
	}
	.p-reservation__sub {
		margin-top: 0.25rem;
		font-size: var(--fs20);
	}
}
