/* ================================================================
 * SOA FAQ — v1.9.280
 * フッター上部のよくある質問セクション
 * 雲の上の上品なアコーディオン + 金色装飾
 * ================================================================ */

.soa-faq {
	position: relative;
	padding: 160px 0 180px;
	background:
		radial-gradient(ellipse 80% 50% at 50% 30%, rgba(184, 153, 104, 0.08) 0%, transparent 70%),
		linear-gradient(180deg, #050a16 0%, #0a1628 50%, #050a16 100%),
		#0a1628; /* v1.9.324: フォールバック不透明色。透過しても下のcanvasが見えないように */
	overflow: hidden;
	isolation: isolate;
	color: #ffffff;
	z-index: 1; /* v1.9.324: グローバル .soa-bg-particles (position:fixed; z-index:0) より上 */
}

/* v1.9.324: フッター共通 FAQ セクションを、背景パーティクル（位置:fixed）から
   完全に遮蔽するための不透明オーバーレイ。パーティクルは画面全体に常時 fixed で
   表示されるため、isolation: isolate だけでは対応できない。
   背景の上に不透明な紺レイヤーを敷くことで、テキストの可読性を完全保証する。 */
.soa-faq::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, #050a16 0%, #0a1628 50%, #050a16 100%);
	z-index: 0;
	pointer-events: none;
}

.soa-faq__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}
.soa-faq__glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1000px;
	height: 600px;
	background: radial-gradient(ellipse at center, rgba(184, 153, 104, 0.10) 0%, transparent 70%);
	filter: blur(80px);
	animation: soa-faq-glow 12s ease-in-out infinite;
}
@keyframes soa-faq-glow {
	0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
	50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.05); }
}

.soa-faq__inner {
	position: relative;
	z-index: 2;
	max-width: 920px;
	margin: 0 auto;
	padding: 0 24px;
}

/* === ヘッダー === */
.soa-faq__head {
	text-align: center;
	margin-bottom: 90px;
}
.soa-faq__eyebrow {
	display: inline-block;
	font-family: 'JetBrains Mono', monospace;
	font-size: 12px;
	color: #d4c4a0;
	letter-spacing: 0.45em;
	font-weight: 500;
	padding: 10px 28px;
	border: 1px solid rgba(184, 153, 104, 0.35);
	border-radius: 2px;
	margin-bottom: 32px;
	text-shadow: 0 0 14px rgba(184, 153, 104, 0.4);
}
.soa-faq__title {
	font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
	font-size: clamp(28px, 4.5vw, 48px);
	color: #ffffff;
	letter-spacing: 0.1em;
	font-weight: 400;
	line-height: 1.55;
	margin: 0 0 24px;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}
.soa-faq__lead {
	font-family: 'Hiragino Mincho ProN', serif;
	font-size: clamp(14px, 1.5vw, 16px);
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.08em;
	line-height: 2;
	margin: 0;
	font-style: italic;
}

/* === カテゴリリスト === */
.soa-faq__categories {
	display: flex;
	flex-direction: column;
	gap: 80px;
}

/* === カテゴリヘッダー === */
.soa-faq__category {
	position: relative;
}
.soa-faq__cat-head {
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 32px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(184, 153, 104, 0.25);
	position: relative;
}
.soa-faq__cat-head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 80px;
	height: 1px;
	background: linear-gradient(90deg, var(--cp-gold-bright, #d4c4a0) 0%, transparent 100%);
}
.soa-faq__cat-num {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: #d4c4a0;
	letter-spacing: 0.3em;
	font-weight: 500;
	opacity: 0.85;
	flex-shrink: 0;
}
.soa-faq__cat-label {
	font-family: 'Shippori Mincho', serif;
	font-size: clamp(18px, 2.4vw, 22px);
	color: #ffffff;
	letter-spacing: 0.1em;
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* === FAQ アイテム === */
.soa-faq__items {
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: rgba(184, 153, 104, 0.12);
}
.soa-faq__item {
	background: rgba(8, 18, 35, 0.6);
	transition: background 0.5s ease;
}
.soa-faq__item[open] {
	background: rgba(184, 153, 104, 0.05);
}

/* === Q (summary) === */
.soa-faq__q {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 26px 28px;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: all 0.4s ease;
	position: relative;
}
.soa-faq__q::-webkit-details-marker { display: none; }
.soa-faq__q:hover {
	background: rgba(184, 153, 104, 0.06);
}
.soa-faq__q:hover .soa-faq__q-text {
	color: #ffffff;
}

.soa-faq__q-mark {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: #d4c4a0;
	letter-spacing: 0.1em;
	font-weight: 600;
	flex-shrink: 0;
	padding-top: 2px;
	min-width: 24px;
}
.soa-faq__q-text {
	flex: 1;
	font-family: 'Shippori Mincho', serif;
	font-size: clamp(15px, 1.7vw, 17px);
	color: rgba(255, 255, 255, 0.92);
	letter-spacing: 0.05em;
	line-height: 1.7;
	font-weight: 500;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.soa-faq__q-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: #d4c4a0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	padding-top: 2px;
}
.soa-faq__q-icon svg {
	width: 100%;
	height: 100%;
}
.soa-faq__item[open] .soa-faq__q-icon {
	transform: rotate(135deg);
	color: #b89968;
}

/* === A (展開部分、grid アコーディオン技) === */
.soa-faq__a-wrap {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
}
.soa-faq__item:not([open]) .soa-faq__a-wrap {
	grid-template-rows: 0fr;
}
/* details の open/close で grid-template-rows を切り替える */
.soa-faq__item .soa-faq__a-wrap {
	display: block;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.soa-faq__item[open] .soa-faq__a-wrap {
	max-height: 1200px; /* 充分大きな値 */
}

.soa-faq__a {
	display: flex;
	gap: 20px;
	padding: 8px 28px 32px;
	border-top: 1px solid rgba(184, 153, 104, 0.12);
}
.soa-faq__a-mark {
	font-family: 'JetBrains Mono', monospace;
	font-size: 13px;
	color: #b89968;
	letter-spacing: 0.1em;
	font-weight: 600;
	flex-shrink: 0;
	padding-top: 16px;
	min-width: 24px;
}
.soa-faq__a-text {
	flex: 1;
	padding-top: 14px;
	font-family: 'Hiragino Mincho ProN', serif;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.88);
	letter-spacing: 0.04em;
	line-height: 2.1;
	font-weight: 400;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* === レスポンシブ === */
@media (max-width: 768px) {
	.soa-faq { padding: 100px 0 120px; }
	.soa-faq__head { margin-bottom: 60px; }
	.soa-faq__categories { gap: 60px; }
	.soa-faq__cat-head { gap: 16px; }
	.soa-faq__q { padding: 22px 20px; gap: 14px; }
	.soa-faq__q-text { font-size: 14px; }
	.soa-faq__a { padding: 8px 20px 26px; gap: 14px; }
	.soa-faq__a-text { font-size: 13px; line-height: 1.95; }
}

@media (max-width: 480px) {
	.soa-faq__cat-head {
		flex-direction: column;
		gap: 8px;
	}
}
