/* FAQページ */
.faq-search { max-width: 600px; margin: 32px auto 0; padding: 0 16px; }
.faq-search__box { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 20px; background: #fff; border-radius: 999px; box-shadow: 0 8px 28px rgba(57,72,104,.10); border: 1px solid var(--line); }
.faq-search__box svg { flex: none; width: 20px; height: 20px; color: var(--pink); }
.faq-search__field { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.faq-search__field label { font-size: 11px; line-height: 1.2; color: var(--ink-soft); }
.faq-search__field input { border: 0; outline: 0; padding: 2px 0; font: inherit; font-size: 16px; color: var(--ink); background: transparent; }
.faq-search__field input::placeholder { color: #a7adbf; }
.faq-search__clear { flex: none; height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.faq-search__clear:disabled { opacity: .35; cursor: default; }

.faq-tabs { position: sticky; top: var(--header-h); z-index: 20; margin-top: 32px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.faq-tabs__list { display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; margin: 0 auto; max-width: 1120px; list-style: none; scrollbar-width: none; }
.faq-tabs__list::-webkit-scrollbar { display: none; }
@media (min-width: 900px) { .faq-tabs__list { justify-content: center; } }
.faq-tabs a { display: block; white-space: nowrap; padding: 6px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-soft); transition: background .2s, color .2s; }
.faq-tabs a:hover { color: var(--ink); }
.faq-tabs a.is-active { background: var(--pink-tint); color: var(--ink); }

.faq-body { padding: 24px 0 64px; }
.faq-body .container { max-width: 880px; }
.faq-cat { padding-top: 48px; }
.faq-cat__title { margin: 0 0 16px; font-size: 26px; line-height: 1.4; }
@media (min-width: 768px) { .faq-cat__title { font-size: 34px; } }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: flex-start; gap: 14px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.7; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover .faq-item__q { color: var(--pink); }
.badge { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1; margin-top: 1px; }
.badge--q { background: var(--navy); color: #fff; }
.badge--a { background: var(--teal-tint); color: var(--ink); border: 1px solid var(--teal); }
.faq-item__q { flex: 1; transition: color .2s; }
.faq-item__icon { flex: none; position: relative; width: 14px; height: 14px; margin-top: 8px; }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s; }
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }
.faq-item__a { display: flex; gap: 14px; padding: 0 4px 24px; }
.faq-item__a-body { flex: 1; min-width: 0; font-weight: 400; color: var(--ink); }
.faq-item__a-body p { margin: 0 0 10px; }
.faq-item__a-body p:last-child { margin-bottom: 0; }
.faq-item__a-body ol, .faq-item__a-body ul { margin: 0 0 10px; padding-left: 1.4em; }
.faq-item__a-body li { margin-bottom: 4px; }
.faq-item__a-body .note { font-size: 14px; color: var(--ink-soft); }
.faq-item__a-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 3px; }
.faq-item[open] summary { padding-bottom: 12px; }

mark.hl { background: var(--pink-tint); color: inherit; padding: 0 2px; border-radius: 3px; }
.faq-empty { padding: 56px 0 24px; text-align: center; }
.faq-empty p { margin: 0 0 4px; }
.faq-empty p + p { color: var(--ink-soft); font-size: 14px; }
.faq-count { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--ink-soft); min-height: 1.5em; }
.faq-search__field input::-webkit-search-cancel-button, .faq-search__field input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
