@charset "UTF-8";
/* CSS Document */

/* =========================================
   カテゴリボタン一覧（上部の3・3・3・1カラム）
========================================= */
.faq-list {
	padding: 60px 20px;
}

/* PCレイアウト：3カラム構成 */
.faq-list ul {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}

.faq-list ul li {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background-color: #918165;
	color: #ffffff;
	font-size: 15px;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.faq-list ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 64px;
	padding: 5px 40px;
	color: #ffffff;
	text-decoration: none;
}

.faq-list ul li:hover {
	background-color: #7a6b52;
}

.faq-list ul li:last-child {
	grid-column: 1 / -1;
}

/* 右側の下向き矢印 */
.faq-list ul li::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.3s ease, border-color 0.3s ease;
	pointer-events: none;
}

.faq-list ul li:hover::after {
	border-color: #ffffff;
}


/* =========================================
   FAQ アコーディオンエリア
========================================= */
.faq-contents {
	padding: 20px 20px;
}

.faq-contents .faq-category {
	margin-bottom: 64px;
	scroll-margin-top: 120px; /* ヘッダー固定時に見出しが隠れないための余白 */
}

.faq-contents .faq-category h4 {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: #222222;
	padding-bottom: 14px;
	margin-bottom: 24px;
	border-bottom: 1px solid #918165;
}

.faq-contents .faq-item {
	border-bottom: 1px solid #e0dcd5;
}

/* 質問（Q）の行 */
.faq-contents .faq-item .faq-q {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 48px 22px 12px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.6;
	color: #222222;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.faq-contents .faq-item .faq-q:hover {
	background-color: #faf9f6;
}

/* 「Q」のバッジ */
.faq-contents .faq-item .q-mark {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background-color: #918165;
	color: #ffffff;
	font-family: "EB Garamond", serif;
	font-size: 17px;
}

/* 右側の＋（プラス）アイコン */
.faq-contents .faq-item .faq-q::before,
.faq-contents .faq-item .faq-q::after {
	content: "";
	position: absolute;
	right: 20px;
	top: 50%;
	width: 14px;
	height: 1px;
	background-color: #918165;
	transition: transform 0.3s ease;
}

.faq-contents .faq-item .faq-q::after {
	transform: rotate(90deg);
}

/* 開いた状態（is-openクラスが付いた時）は「－」になる */
.faq-contents .faq-item .faq-q.is-open::after {
	transform: rotate(0deg);
}

/* 回答（A）の行（初期状態は非表示） */
.faq-contents .faq-item .faq-a {
	position: relative;
	display: none;
	margin: 0;
	padding: 4px 24px 26px 58px;
	font-size: 15px;
	line-height: 1.8;
	color: #444444;
}

/* 「A」の文字（上の「Q」バッジと縦のラインを揃えて固定） */
.faq-contents .faq-item .faq-a .a-mark {
	position: absolute;
	left: 12px;
	top: 2px;
	width: 30px;
	text-align: center;
	font-family: "EB Garamond", serif;
	font-size: 18px;
	font-weight: 600;
	color: #918165;
}


/* =========================================
   ipad / タブレット・スマホ（768px以下）
========================================= */
@media all and (max-width: 768px) {
	.faq-list {
		padding: 40px 16px;
	}

	.faq-list ul {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	/* PCで指定した「1カラム化」を解除して2列に揃える */
	.faq-list ul li:last-child {
		grid-column: auto;
	}

	.faq-list ul li {
		font-size: 13px;
	}

	.faq-list ul li a {
		min-height: 54px;
		padding: 12px 28px 12px 12px;
	}

	.faq-list ul li::after {
		right: 12px;
		width: 7px;
		height: 7px;
	}

	/* FAQ アコーディオンエリア（スマホ調整） */
	.faq-contents {
		padding: 10px 16px 60px;
	}

	.faq-contents .faq-category {
		margin-bottom: 44px;
		scroll-margin-top: 80px;
	}

	.faq-contents .faq-category h4 {
		font-size: 18px;
		margin-bottom: 16px;
	}

	.faq-contents .faq-item .faq-q {
		gap: 12px;
		padding: 18px 40px 18px 4px;
		font-size: 14px;
	}

	.faq-contents .faq-item .q-mark {
		width: 26px;
		height: 26px;
		font-size: 15px;
	}

	.faq-contents .faq-item .faq-q::before,
	.faq-contents .faq-item .faq-q::after {
		right: 12px;
		width: 12px;
	}

	.faq-contents .faq-item .faq-a {
		padding: 2px 12px 20px 42px;
		font-size: 14px;
	}

	.faq-contents .faq-item .faq-a .a-mark {
		left: 4px;
		top: 0;
		width: 26px;
		font-size: 16px;
	}
}


/* =========================================
   sp（430px以下：微調整が必要な場合に使用）
========================================= */
@media all and (max-width: 430px) {
	.faq-list {
		padding: 24px 16px;
	}

	.faq-list ul {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.faq-list ul li {
		font-size: 13px;
	}

	.faq-list ul li a {
		min-height: 40px;
		padding: 8px 36px 8px 16px;
	}

	.faq-list ul li::after {
		right: 16px;
		width: 7px;
		height: 7px;
	}
}