@charset "UTF-8";

/* ===========================================
 * よくある質問（faq.html）
 * ページ固有クラスは .faq-○○ に統一。共通部品は l-* / c-* を再利用
 * ======================================== */

/* ===========================================
 * hero
 * ======================================== */
.faq-hero {
	position: relative;
	overflow: hidden;
	background: #e4f2f4;
}

/* 右側のドット柄のアーチ装飾 */
.faq-hero::before,
.faq-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	border-radius: 999px 999px 0 0;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 2.2px, transparent 2.8px) 0 0 /
		9px 9px;
	-webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
	mask-image: linear-gradient(to top, #000 30%, transparent);
	pointer-events: none;
}

.faq-hero::before {
	right: calc(6vw + 150px);
	width: 150px;
	height: 216px;

	@media (max-width: 768px) {
		display: none;
	}
}

.faq-hero::after {
	right: 6vw;
	width: 132px;
	height: 180px;

	@media (max-width: 768px) {
		top: 60px;
		right: 20px;
		bottom: auto;
		width: 92px;
		height: 150px;
		-webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
		mask-image: linear-gradient(to bottom, #000 30%, transparent);
	}
}

.faq-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 247px 1fr;
	-moz-column-gap: clamp(32px, 14.2vw, 204px);
	column-gap: clamp(32px, 14.2vw, 204px);
	min-height: 318px;

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		min-height: 0;
	}
}

/* 白いアーチ（Q&A / よくある質問）。ヘッダー直下から立ち上げる */
.faq-hero__title {
	display: flex;
	flex-direction: column;
	width: 247px;
	min-height: 318px;
	padding: 96px 0 0 29px;
	border-radius: 124px 124px 0 0;
	background: #fff;

	@media (max-width: 768px) {
		width: min(62%, 240px);
		min-height: 210px;
		padding: 64px 0 0 20px;
		border-radius: 120px 120px 0 0;
	}
}

.faq-hero__en {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(40px, 4.4vw, 64px);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
	white-space: nowrap;
	color: #94cbd2;

	@media (max-width: 768px) {
		font-size: 44px;
	}
}

.faq-hero__ja {
	margin-top: 18px;
	font-size: clamp(14px, 1.25vw, 18px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;

	@media (max-width: 768px) {
		margin-top: 12px;
		font-size: 15px;
	}
}

.faq-hero__catch {
	padding-top: 108px;

	@media (max-width: 768px) {
		padding: 32px 0 56px;
	}
}

.faq-hero__catch-line {
	display: block;
	width: -moz-fit-content;
	width: -webkit-fit-content;
	width: fit-content;
	padding-bottom: 8px;
	border-bottom: 1px solid #94cbd2;
	font-size: clamp(15px, 1.4vw, 20px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;

	@media (max-width: 768px) {
		padding-bottom: 2px;
		border-bottom: 0;
		background: linear-gradient(transparent 82%, #fff 82%);
	}
}

.faq-hero__catch-line + .faq-hero__catch-line {
	margin-top: 14px;
}

/* ===========================================
 * category（カテゴリごとのパネル）
 * ======================================== */
.faq-cat {
	position: relative;
	overflow: hidden;
	padding: 80px 0 88px;
	background: #fff;

	@media (min-width: 769px) and (max-width: 1024px) {
		padding: 64px 0 72px;
	}

	@media (max-width: 768px) {
		padding: 40px 0 48px;
	}
}

/* 左右の端のドット柄（カテゴリごとに色を変える） */
.faq-cat::before,
.faq-cat::after {
	content: '';
	position: absolute;
	top: 6%;
	width: min(9vw, 150px);
	height: 170px;
	background: radial-gradient(circle, #f9f0a0 2.4px, transparent 3px) 0 0 / 10px 10px;
	pointer-events: none;

	@media (max-width: 768px) {
		width: 52px;
		height: 110px;
	}
}

.faq-cat::before {
	left: 0;
	-webkit-mask-image: linear-gradient(to right, #000 25%, transparent);
	mask-image: linear-gradient(to right, #000 25%, transparent);
}

.faq-cat::after {
	right: 0;
	top: 14%;
	-webkit-mask-image: linear-gradient(to left, #000 25%, transparent);
	mask-image: linear-gradient(to left, #000 25%, transparent);
}

.faq-cat--price {
	background: #e4f2f4;
}

.faq-cat--price::before,
.faq-cat--price::after {
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 2.4px, transparent 3px);
}

.faq-cat__panel {
	position: relative;
	z-index: 1;
	width: min(100% - 40px, 1200px);
	margin-inline: auto;
	padding: 44px 56px 52px;
	border-radius: 30px;
	background: #faf8f0;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);

	@media (min-width: 769px) and (max-width: 1024px) {
		padding: 36px 32px 40px;
	}

	@media (max-width: 768px) {
		padding: 28px 14px 32px;
		border-radius: 20px;
	}
}

.faq-cat__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
	font-size: clamp(18px, 1.53vw, 22px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;

	@media (max-width: 768px) {
		gap: 12px;
		margin-bottom: 20px;
		padding-left: 6px;
		font-size: 18px;
	}
}

/* アイコンの枠（素材の受領後に <img> を配置） */
.faq-cat__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: #f3c5d8;

	@media (max-width: 768px) {
		width: 44px;
	}
}

.faq-cat__icon img {
	width: 56%;
}

.faq-cat--price .faq-cat__icon {
	background: #f8cf8f;
}

.faq-cat--other .faq-cat__icon {
	background: #e3e78e;
}

.faq-cat__list {
	display: grid;
	row-gap: 24px;

	@media (max-width: 768px) {
		row-gap: 28px;
	}
}

/* ===========================================
 * item（質問と回答。details/summary、JS不要）
 * ======================================== */
.faq-item {
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.faq-item__q {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-inline: 28px;
	padding: 20px 0 14px;
	border-bottom: 1px solid #f2c3d6;
	list-style: none;
	cursor: pointer;

	@media (max-width: 768px) {
		gap: 8px;
		margin-inline: 14px;
		padding: 24px 0 18px;
	}
}

.faq-item__q::-webkit-details-marker {
	display: none;
}

/* 閉じている間は区切り線を消し、余白を整える */
.faq-item:not([open]) > .faq-item__q {
	padding-bottom: 20px;
	border-bottom-color: transparent;

	@media (max-width: 768px) {
		padding-bottom: 24px;
	}
}

/* 開閉マーク（開いている間は「−」、閉じると「＋」） */
.faq-item__q::after {
	content: '';
	flex: none;
	width: 24px;
	height: 24px;
	margin-left: auto;
	border-radius: 50%;
	background:
		linear-gradient(#fff, #fff) center / 10px 2px no-repeat,
		linear-gradient(#fff, #fff) center / 2px 10px no-repeat,
		#d98bb0;

	@media (max-width: 768px) {
		width: 20px;
		height: 20px;
	}
}

.faq-item[open] > .faq-item__q::after {
	background-size:
		10px 2px,
		0 0,
		auto;
}

.faq-item__mark {
	flex: none;
	font-family: 'Outfit', sans-serif;
	font-size: 22px;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0;
	color: #d98bb0;

	@media (max-width: 768px) {
		font-size: 18px;
	}
}

.faq-item__text {
	font-size: clamp(18px, 1.11vw, 18px);
	font-weight: 700;
	line-height: 1.7;
	letter-spacing: 0.04em;

	@media (max-width: 768px) {
		font-size: 15px;
	}
}

.faq-item__a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 28px 24px;

	@media (max-width: 768px) {
		gap: 8px;
		padding: 12px 14px 18px;
	}
}

.faq-item__body {
	min-width: 0;
	font-size: 16px;
	line-height: 1.95;
	font-weight: 400;
	color: #5d5d5d;

	@media (max-width: 768px) {
		font-size: 14px;
		line-height: 1.85;
	}
}

.faq-em {
	font-weight: 700;
	color: #e9983e;
}

/* 太字＋基本文字色 */
.faq-strong {
	font-weight: 700;
	color: #4a3b31;
}

/* 回答の中のボタン（共通の .c-btn--teal をオレンジ系に上書き） */
.faq-item__btn {
	position: relative;
	justify-content: flex-start;
	width: min(260px, 100%);
	min-height: 46px;
	margin: 14px 0 0;
	padding: 0 52px 0 24px;
	background: #f7b04d;
	font-size: 15px;

	@media (max-width: 768px) {
		width: 100%;
		padding: 0 48px 0 16px;
		font-size: 14px;
	}
}

.faq-item__btn::after {
	right: 12px;
	width: 26px;
	height: 26px;
	background-size: 14px;
}

/* カテゴリ別の色（質問マーク・区切り線・開閉マーク） */
.faq-cat--price .faq-item__q {
	border-bottom-color: #f7d09a;
}

.faq-cat--price .faq-item__mark {
	color: #e9983e;
}

.faq-cat--price .faq-item__q::after {
	background-color: #e9983e;
}

.faq-cat--other .faq-item__q {
	border-bottom-color: #e8ee9a;
}

.faq-cat--other .faq-item__mark {
	color: #b5c42d;
}

.faq-cat--other .faq-item__q::after {
	background-color: #cfda2b;
}
