body { font-family: Inter, "Zen Kaku Gothic New", sans-serif; }
.faq-page { padding: var(--header-height) 0 64px; }
.faq-heading-band { padding: 32px 20px 28px; background: #E7ECEC; }
.faq-heading-inner { width: min(100%, 760px); margin: 0 auto; }
.faq-page > section { width: min(calc(100% - 40px), 760px); margin-left: auto; margin-right: auto; }
.faq-page button, .faq-page input, .faq-page select { letter-spacing: 0; }
.faq-intro h1 { font-size: 32px; line-height: 44px; font-weight: 700; }
.faq-controls-slot { margin-top: 24px; min-height: 104px; }
.faq-controls { display: flex; flex-direction: column; }
.faq-controls-row { display: flex; align-items: stretch; margin-top: 8px; }
.faq-facility-select { position: relative; display: flex; align-items: center; gap: 4px; min-width: 0; min-height: 44px; padding: 8px 0; cursor: pointer; }
.faq-facility-caption { flex-shrink: 0; color: var(--muted); font-size: 13px; }
.faq-facility-value { min-width: 0; font-size: 14px; line-height: 24px; font-weight: 500; overflow-wrap: anywhere; }
.faq-facility-select > .ic { width: 16px; height: 16px; flex-shrink: 0; margin-left: 4px; }
.faq-facility-select select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.faq-facility-select:has(select:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.faq-answer-facilities button, .faq-categories button > span { min-width: 0; white-space: normal; overflow-wrap: anywhere; overflow: visible; text-overflow: clip; }
.faq-search { position: relative; }
.faq-search-field { display: flex; height: 52px; border: 0; border-radius: 8px; background: var(--paper); }
.faq-search-field:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.faq-search-field input { min-width: 0; flex: 1; padding: 0 0 0 16px; background: none; outline: none; font-size: 16px; }
.faq-search-field input::placeholder { color: var(--muted); }
.faq-search-field button { width: 48px; flex-shrink: 0; display: grid; place-items: center; background: none; border-radius: 8px; }
.faq-search-toggle { flex: 0 0 44px; display: grid; place-items: center; padding: 0; background: none; }
.faq-search-toggle span { display: grid; place-items: center; }
.faq-search-toggle .faq-toggle-close, .faq-search-toggle[aria-expanded="true"] .faq-toggle-search { display: none; }
.faq-search-toggle[aria-expanded="true"] .faq-toggle-close { display: grid; }
.faq-search-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.faq-suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 10; padding: 4px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); box-shadow: 0 8px 20px rgb(47 47 47 / 8%); max-height: 330px; overflow-y: auto; }
.faq-suggestions[data-placement="above"] { top: auto; bottom: calc(100% + 8px); }
.faq-suggestions li { padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; line-height: 24px; }
.faq-suggestions li:last-child { border: 0; }
.faq-suggestions small { display: block; font-size: 12px; color: var(--muted); }
.faq-suggestions [aria-selected="true"] { background: var(--surface); }
.faq-browse { margin-top: 24px; }
.faq-categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.faq-categories button { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); background: none; font-size: 14px; line-height: 22px; }
.faq-categories .ic { width: 18px; height: 18px; flex-shrink: 0; }
.faq-categories button[aria-pressed="true"] { font-weight: 700; border-bottom-color: var(--ink); box-shadow: inset 0 -1px var(--ink); }
.faq-compact-category { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.faq-compact-category select { min-width: 0; min-height: 44px; flex: 1; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.faq-directory { margin-top: 32px; scroll-margin-top: calc(var(--header-height) + 24px); }
.faq-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.faq-results-head h2, .faq-support h2 { font-size: 20px; line-height: 30px; font-weight: 700; }
.faq-results-head h2 { scroll-margin-top: calc(var(--header-height) + 24px); }
.faq-results-head h2:focus { outline: none; }
.faq-query-context { margin-bottom: 12px; font-size: 14px; line-height: 22px; color: var(--muted); overflow-wrap: anywhere; }
.faq-results-head p { white-space: nowrap; font-size: 13px; color: var(--muted); }
.faq-reset { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 0; margin-bottom: 8px; background: none; text-decoration: underline; text-underline-offset: 4px; font-size: 13px; }
.faq-reset .ic { width: 16px; height: 16px; }
.faq-question { border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-height) + 20px); }
.faq-question summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq-question summary::-webkit-details-marker { display: none; }
.faq-question-copy { display: grid; gap: 6px; min-width: 0; font-size: 16px; line-height: 24px; font-weight: 700; overflow-wrap: anywhere; word-break: auto-phrase; text-wrap: pretty; }
.faq-question-copy small { font-size: 12px; line-height: 18px; font-weight: 500; color: var(--muted); }
.faq-question summary > .ic { width: 20px; height: 20px; flex-shrink: 0; }
.faq-question[open] summary > .ic { transform: rotate(180deg); }
.faq-answer-facilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.faq-answer-facilities > p { grid-column: 1 / -1; margin-bottom: 8px; font-size: 14px; color: var(--muted); }
.faq-answer-facilities button { min-height: 44px; padding: 8px 4px; background: none; border-bottom: 2px solid transparent; font-size: 14px; }
.faq-answer-facilities button[aria-pressed="true"] { border-bottom-color: var(--ink); font-weight: 700; }
.faq-answer-close { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 8px 0; margin-bottom: 16px; background: none; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.faq-answer-close .ic { width: 18px; height: 18px; transform: rotate(180deg); }
.faq-answer { padding: 0 0 24px; font-size: 16px; line-height: 28px; overflow-wrap: anywhere; }
.faq-answer p + p { margin-top: 12px; }
.faq-answer h3 { margin: 24px 0 12px; font-size: 16px; line-height: 24px; }
.faq-answer h3[id] { scroll-margin-top: calc(var(--header-height) + 20px); }
.faq-answer-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-bottom: 24px; }
.faq-answer-sections a { display: flex; align-items: center; min-height: 44px; padding: 8px 0; font-size: 14px; line-height: 22px; }
.faq-answer h3:first-child { margin-top: 0; }
.faq-answer a { text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.faq-answer .faq-answer-contact { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.faq-answer-contact .ic { width: 20px; height: 20px; flex-shrink: 0; }
.faq-answer ol, .faq-answer ul { padding-left: 24px; margin: 12px 0 16px; }
.faq-answer ol { list-style: decimal; }
.faq-answer ul { list-style: disc; }
.faq-answer li + li { margin-top: 8px; }
.faq-answer li::marker { font-family: Inter, sans-serif; }
.faq-answer .faq-steps > li + li { margin-top: 24px; }
.faq-answer .faq-inventory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.faq-answer .faq-inventory li { margin: 0; font-size: 14px; line-height: 24px; }
.faq-answer .faq-note { font-size: 14px; line-height: 24px; color: var(--muted); }
.faq-answer .faq-time { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; }
.faq-time time { font-weight: 600; }
.faq-more { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; margin-top: 24px; padding: 12px 16px; background: none; border: 1px solid var(--line); border-radius: 8px; font-size: 15px; font-weight: 700; }
.faq-empty { padding: 20px 0; }
.faq-empty h3 { font-size: 16px; margin-bottom: 12px; }
.faq-empty p { color: var(--muted); font-size: 15px; }
.faq-empty a { display: inline-flex; gap: 12px; align-items: center; min-height: 48px; margin-top: 16px; text-decoration: underline; text-underline-offset: 4px; }
.faq-support { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.faq-support h2 { margin-bottom: 16px; }
.faq-support > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; min-height: 56px; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.faq-support > .faq-support-primary { padding: 16px 20px; margin-bottom: 12px; border: 0; border-radius: 8px; background: var(--ink); color: var(--paper); font-weight: 700; }
.faq-support > a:not(.faq-support-primary) { justify-content: center; border: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
@media (hover: hover) { .faq-question summary:hover, .faq-categories button:hover, .faq-suggestions li:hover { background: var(--interaction-hover); } }
@media (max-width: 767px) {
  .faq-controls.is-pinned { position: fixed; z-index: 36; inset: var(--header-height) 0 auto; padding: 0 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .faq-controls.is-pinned .faq-controls-row { order: -1; min-height: 51px; gap: 16px; margin-top: 0; }
  .faq-controls.is-pinned .faq-facility-select { flex: 1; }
  .faq-controls.is-pinned .faq-facility-select > .ic { margin-left: auto; }
  .faq-controls.is-pinned .faq-facility-select:has(select:focus-visible) { outline-offset: -2px; }
  .faq-controls.is-pinned:not(.is-search-open) .faq-search { display: none; }
  .faq-controls.is-pinned .faq-search { margin: 12px 0 16px; }
  .faq-controls.is-pinned .faq-suggestions[data-placement="above"] { top: calc(100% + 8px); bottom: auto; }
  .faq-directory, .faq-results-head h2, .faq-question, .faq-answer h3[id] { scroll-margin-top: calc(var(--faq-sticky-height, 52px) + 12px); }
  .faq-page :is(button, select, summary, a):focus { scroll-margin-top: calc(var(--faq-sticky-height, 52px) + 12px); scroll-margin-bottom: 80px; }
}
@media (min-width: 768px) {
  .faq-page { padding-bottom: 88px; }
  .faq-heading-band { padding-top: 56px; padding-bottom: 40px; }
  .faq-intro h1 { font-size: 36px; line-height: 48px; }
  .faq-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .faq-directory { margin-top: 48px; }
}

/* TOP's tone (owner, 2026-10-07): the heading on white (no grey band), category buttons as light chips of
 * the same size without boxes, and 解決しないときは as two link rows — bold title and 「>」 — instead of a
 * dark filled button and an underlined link. */
.faq-help-main .faq-heading-band { background: none; }
.faq-help-main .faq-categories button { border: 0; border-radius: 12px; background: var(--surface-subtle, #f4f6f6); }
.faq-help-main .faq-categories button[aria-pressed="true"] { background: var(--ink, #2f2f2f); color: var(--paper, #fcfcfc); }
.faq-help-main .faq-support { display: grid; gap: 0; }
.faq-help-main .faq-support > a,
.faq-help-main .faq-support > a.faq-support-primary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid rgb(47 47 47 / 10%); border-radius: 0; background: none; color: var(--ink, #2f2f2f); font-size: 15px; line-height: 22px; font-weight: 700; text-decoration: none; }
.faq-help-main .faq-support > a:first-of-type { border-top: 1px solid rgb(47 47 47 / 10%); }
.faq-help-main .faq-support > a svg { width: 18px; height: 18px; color: rgb(47 47 47 / 60%); }

/* ===== App layout (owner 2026-10-07 「완전 개밤티」) =====
 * Search as one filled field, categories as app shortcuts (icon tile + label, 4 across), the questions as one
 * grouped card with inset dividers, a filled 「すべての質問を見る」, and the help links as a grouped card.
 * Web: the 1200 grid — search, facility and categories in a sticky left column, the questions on the right. */
.faq-help-main .faq-heading-band { padding: 24px 20px 0; }
.faq-help-main .faq-heading-inner { width: 100%; }
.faq-help-main .faq-controls-slot { min-height: 0; margin-top: 16px; }
.faq-help-main .faq-search-field { border-radius: 12px; background: var(--surface-subtle, #f3f4f4); }
.faq-help-main .faq-search-field button { order: -1; width: 44px; padding-left: 8px; }
.faq-help-main .faq-search-field input { padding-left: 4px; }
.faq-help-main .faq-controls-row { margin-top: 4px; }
.faq-help-main .faq-browse { margin-top: 12px; }
.faq-help-main .faq-categories { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; }
.faq-help-main .faq-categories button { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 0; padding: 0; border: 0 !important; box-shadow: none !important; border-radius: 0; background: none !important; color: var(--ink) !important; font-size: 12px; line-height: 16px; font-weight: 500; text-align: center; }
.faq-help-main .faq-categories button .ic { display: grid; width: 52px; height: 52px; padding: 15px; border-radius: 16px; background: var(--surface-subtle, #f3f4f4); color: var(--ink); box-sizing: border-box; }
.faq-help-main .faq-categories button[aria-pressed="true"] { font-weight: 700; }
.faq-help-main .faq-categories button[aria-pressed="true"] .ic { background: var(--ink); color: var(--paper); }
.faq-help-main .faq-directory { margin-top: 36px; }
.faq-help-main .faq-results-head { margin-bottom: 12px; }
.faq-help-main .faq-questions { overflow: hidden; border-radius: 12px; background: var(--surface-subtle, #f3f4f4); }
.faq-help-main .faq-question { position: relative; border: 0; }
.faq-help-main .faq-question + .faq-question::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid rgb(47 47 47 / 8%); }
.faq-help-main .faq-question[hidden] + .faq-question::before { display: block; }
.faq-help-main .faq-question summary { gap: 12px; padding: 16px; }
.faq-help-main .faq-question-copy { gap: 4px; font-size: 15px; line-height: 23px; }
.faq-help-main .faq-question-copy small { font-size: 12px; line-height: 18px; color: rgb(47 47 47 / 55%); }
.faq-help-main .faq-question summary > .ic { width: 18px; height: 18px; color: rgb(47 47 47 / 55%); }
.faq-help-main .faq-question[open] { background: var(--paper); box-shadow: inset 0 0 0 1px rgb(47 47 47 / 6%); }
.faq-help-main .faq-question[open] > :not(summary) { margin-inline: 16px; }
.faq-help-main .faq-answer-facilities { gap: 6px; margin-bottom: 16px; border: 0; }
.faq-help-main .faq-answer-facilities button { min-height: 40px; border: 0; border-radius: 999px; background: var(--surface-subtle, #f3f4f4); font-weight: 500; }
.faq-help-main .faq-answer-facilities button[aria-pressed="true"] { background: var(--ink); color: var(--paper); font-weight: 700; }
.faq-help-main .faq-answer { font-size: 15px; line-height: 27px; }
.faq-help-main .faq-answer a { color: var(--ink); font-weight: 700; text-decoration: none; }
.faq-help-main .faq-answer-close { text-decoration: none; font-weight: 700; color: rgb(47 47 47 / 70%); }
.faq-help-main .faq-more { margin-top: 16px; border: 0; border-radius: 12px; background: var(--surface-subtle, #f3f4f4); font-weight: 700; }
.faq-help-main .faq-reset { text-decoration: none; font-weight: 700; }
.faq-help-main .faq-support { margin-top: 48px; padding-top: 0; border-top: 0; }
.faq-help-main .faq-support > a,
.faq-help-main .faq-support > a.faq-support-primary { position: relative; min-height: 56px; padding: 0 16px !important; border: 0 !important; background: var(--surface-subtle, #f3f4f4) !important; color: var(--ink) !important; font-size: 15px; font-weight: 700; text-decoration: none !important; }
.faq-help-main .faq-support > a:first-of-type { border-radius: 12px 12px 0 0; }
.faq-help-main .faq-support > a:last-of-type { border-radius: 0 0 12px 12px; }
.faq-help-main .faq-support > a + a::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid rgb(47 47 47 / 8%); }
@media (max-width: 767px) {
  .faq-help-main .faq-intro h1 { font-size: 28px; line-height: 38px; }
}
@media (min-width: 1024px) {
  .faq-help-main .faq-page { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto auto 1fr; column-gap: 56px; width: min(calc(100% - 64px), 1200px); margin: 0 auto; }
  .faq-help-main .faq-page > * { min-width: 0; }
  .faq-help-main .faq-page > section { width: auto; margin-left: 0; margin-right: 0; }
  .faq-help-main .faq-heading-band { grid-column: 1; grid-row: 1; padding: 48px 0 0; }
  .faq-help-main .faq-browse { grid-column: 1; grid-row: 2; align-self: start; position: sticky; top: calc(var(--header-height) + 24px); margin-top: 20px; }
  .faq-help-main .faq-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .faq-help-main .faq-categories button { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 52px; padding: 0 12px 0 6px; border-radius: 12px; background: var(--surface-subtle, #f3f4f4) !important; font-size: 14px; text-align: left; }
  .faq-help-main .faq-categories button .ic { width: 40px; height: 40px; padding: 11px; border-radius: 10px; background: var(--paper); }
  .faq-help-main .faq-categories button[aria-pressed="true"] { background: var(--ink) !important; color: var(--paper) !important; }
  .faq-help-main .faq-categories button[aria-pressed="true"] .ic { background: rgb(252 252 252 / 14%); }
  .faq-help-main .faq-directory { grid-column: 2; grid-row: 1 / 3; margin-top: 56px; }
  .faq-help-main .faq-support { grid-column: 2; grid-row: 3; align-self: start; }
  .faq-help-main .faq-question summary { padding: 18px 20px; }
  .faq-help-main .faq-question-copy { font-size: 16px; line-height: 25px; }
  .faq-help-main .faq-more { width: min(100%, 360px); margin-inline: auto; }
}
.faq-help-main .faq-categories button > span { white-space: nowrap; }
.faq-help-main .faq-question summary { background: none !important; }
@media (max-width: 767px) { .faq-help-main .faq-categories button { font-size: 11px; letter-spacing: -.02em; } }
@media (min-width: 1024px) {
  .faq-help-main .faq-page { grid-template-rows: auto 1fr auto; }
  .faq-help-main .faq-question[open] > :not(summary) { margin-inline: 20px; }
}

/* A special opening (owner 10/7): the heading on an ASAMOYA band with the brush edge, a one-line lead,
 * an elevated white search field, and popular words as chips. */
.faq-help-main .faq-heading-band { position: relative; padding: 28px 20px 36px; background: #e7ecec; }
.faq-help-main .faq-heading-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 18px; background: var(--paper); pointer-events: none; -webkit-mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; mask: url('/assets/images/top-handdrawn-edge.png') center -72px / 140% 198px no-repeat; }
.faq-help-main .faq-intro-lead { margin: 6px 0 0; color: rgb(47 47 47 / 75%); font-size: 14px; line-height: 22px; }
.faq-help-main .faq-search-field { height: 56px; background: var(--paper); box-shadow: 0 6px 20px rgb(47 47 47 / 8%); }
.faq-help-main .faq-keywords { display: flex; gap: 8px; margin: 12px -20px 0; padding: 0 20px 2px; overflow-x: auto; scrollbar-width: none; }
.faq-help-main .faq-keywords::-webkit-scrollbar { display: none; }
.faq-help-main .faq-keywords button { flex: none; min-height: 34px; padding: 0 14px; border: 0; border-radius: 999px; background: rgb(252 252 252 / 85%); color: var(--ink); font-size: 13px; line-height: 20px; font-weight: 500; cursor: pointer; }
.faq-help-main .faq-keywords button::before { content: "#"; margin-right: 2px; color: rgb(47 47 47 / 45%); }
.faq-help-main .faq-controls-row { margin-top: 8px; }
.faq-help-main .faq-browse { margin-top: 20px; }
@media (min-width: 1024px) {
  .faq-help-main .faq-heading-band { padding: 40px 28px 44px; margin-top: 32px; border-radius: 16px; }
  .faq-help-main .faq-heading-band::after { display: none; }
  .faq-help-main .faq-keywords { flex-wrap: wrap; margin-inline: 0; padding: 0; overflow: visible; }
  .faq-help-main .faq-directory { margin-top: 32px; }
}
@media (min-width: 1024px) {
  /* Help links follow the questions, not the taller left column. */
  .faq-help-main .faq-page { grid-template-rows: auto auto auto 1fr; }
  .faq-help-main .faq-heading-band { grid-row: 1; }
  .faq-help-main .faq-browse { grid-row: 2 / 5; }
  .faq-help-main .faq-directory { grid-row: 1 / 3; }
  .faq-help-main .faq-support { grid-row: 3; }
}

/* Categories like TOP's season banner (owner 10/7): one pale card, the name top-left and the category's own
 * still-life cut-out bottom-right — a rail on phones, two across in the left column on the web. */
.faq-help-main .faq-categories { display: grid; grid-auto-flow: column; grid-auto-columns: 40%; grid-template-columns: none; gap: 10px; margin: 0 -20px; padding: 0 20px 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
.faq-help-main .faq-categories::-webkit-scrollbar { display: none; }
.faq-help-main .faq-categories button { position: relative; display: block !important; aspect-ratio: 1 / 1; min-height: 0 !important; padding: 0 !important; overflow: hidden; border-radius: 12px !important; background: #ece1d6 !important; box-shadow: none !important; scroll-snap-align: start; text-align: left !important; }
.faq-help-main .faq-categories button .ic { display: none !important; }
.faq-help-main .faq-category-art { position: absolute; right: -6%; bottom: -4%; width: 82%; height: 66%; object-fit: contain; object-position: right bottom; transition: transform .3s ease; }
.faq-help-main .faq-categories button > span { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 1; color: var(--ink) !important; font-size: 14px !important; line-height: 20px; font-weight: 700; letter-spacing: 0 !important; white-space: normal !important; }
.faq-help-main .faq-categories button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ink) !important; }
.faq-help-main .faq-categories button[aria-pressed="true"]::before { content: "✓"; position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; }
@media (hover: hover) { .faq-help-main .faq-categories button:hover .faq-category-art { transform: scale(1.05) rotate(-2deg); } }
@media (min-width: 1024px) {
  .faq-help-main .faq-categories { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; overflow: visible; }
  .faq-help-main .faq-categories button { aspect-ratio: 16 / 11; }
  .faq-help-main .faq-categories button > span { top: 14px; left: 14px; font-size: 15px !important; }
  .faq-help-main .faq-category-art { width: 62%; height: 70%; }
  .faq-help-main .faq-categories button:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 32 / 11; }
  .faq-help-main .faq-categories button:last-child:nth-child(odd) .faq-category-art { width: 34%; height: 82%; right: 4%; }
}
@media (min-width: 1024px) { .faq-help-main .faq-categories button[aria-pressed="true"] { background: #ece1d6 !important; color: var(--ink) !important; box-shadow: inset 0 0 0 2px var(--ink) !important; } }
/* Phones show all seven at once (owner 10/7): four across, the cut-out in a square SAON tile, the name under it. */
@media (max-width: 1023px) {
  .faq-help-main .faq-categories { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; margin: 0; padding: 0; overflow: visible; scroll-snap-type: none; }
  .faq-help-main .faq-categories button { display: flex !important; flex-direction: column; align-items: stretch; gap: 6px; aspect-ratio: auto; overflow: visible; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
  .faq-help-main .faq-categories button::after { content: ""; order: 0; display: block; aspect-ratio: 1 / 1; border-radius: 14px; background: #ece1d6; }
  .faq-help-main .faq-category-art { position: absolute; top: 10%; left: 10%; right: auto; bottom: auto; width: 80%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; object-position: center; z-index: 1; }
  .faq-help-main .faq-categories button > span { position: static; order: 1; color: var(--ink) !important; font-size: 11px !important; line-height: 15px; font-weight: 700; text-align: center; white-space: nowrap !important; letter-spacing: -.02em !important; }
  .faq-help-main .faq-categories button[aria-pressed="true"] { box-shadow: none !important; }
  .faq-help-main .faq-categories button[aria-pressed="true"]::after { box-shadow: inset 0 0 0 2px var(--ink); }
  .faq-help-main .faq-categories button[aria-pressed="true"]::before { top: 4px; right: 4px; width: 18px; height: 18px; font-size: 10px; z-index: 2; }
}
@media (min-width: 600px) and (max-width: 1023px) { .faq-help-main .faq-categories { grid-template-columns: repeat(7, minmax(0, 1fr)); } }

/* Balance (owner 10/7): a lighter band (no keyword chips), eight tiles in two even rows, and the results head
 * without a repeated category line — 「絞り込みを解除」 sits small beside the count. */
.faq-help-main .faq-heading-band { padding-bottom: 32px; }
.faq-help-main .faq-controls-row { margin-top: 6px; }
.faq-help-main .faq-browse { margin-top: 16px; }
@media (max-width: 1023px) {
  .faq-help-main .faq-categories { gap: 12px 10px; }
  .faq-help-main .faq-categories button::after { border-radius: 12px; }
  .faq-help-main .faq-category-art { top: 12%; left: 12%; width: 76%; }
  .faq-help-main .faq-categories button[aria-pressed="true"]::before { display: none; }
  .faq-help-main .faq-directory { margin-top: 28px; }
}
@media (min-width: 600px) and (max-width: 1023px) { .faq-help-main .faq-categories { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.faq-help-main .faq-directory { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; column-gap: 12px; }
.faq-help-main .faq-directory > * { grid-column: 1 / -1; }
.faq-help-main .faq-results-head { display: contents; }
.faq-help-main .faq-results-head h2 { grid-column: 1; grid-row: 1; }
.faq-help-main .faq-results-head p[data-count] { grid-column: 2; grid-row: 1; }
.faq-help-main .faq-directory > .faq-reset[data-reset] { grid-column: 3; grid-row: 1; min-height: 32px; margin: 0; padding: 0 10px; border-radius: 999px; background: var(--surface-subtle, #f3f4f4); font-size: 12px; line-height: 20px; }
.faq-help-main .faq-directory > .faq-reset[data-reset] .ic { width: 14px; height: 14px; }
.faq-help-main .faq-directory > .faq-query-context { margin: -4px 0 12px; }
.faq-help-main .faq-directory > .faq-questions { margin-top: 12px; }
@media (min-width: 1024px) {
  .faq-help-main .faq-categories button:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: 16 / 11; }
  .faq-help-main .faq-categories button { aspect-ratio: 16 / 10; }
}

/* Finishing (owner 10/7): phones open with four picks, the web with eight; cut-outs stay inside the web tiles;
 * a tighter band and tiles so the first question shows on a phone's first screen. */
@media (max-width: 1023px) {
  .faq-help-main .faq-questions[data-view="featured"] > .faq-question:nth-child(n+5) { display: none; }
  .faq-help-main .faq-questions[data-view="featured"] > .faq-question:nth-child(5)::before { display: none; }
  .faq-help-main .faq-heading-band { padding-top: 20px; padding-bottom: 28px; }
  .faq-help-main .faq-intro h1 { font-size: 26px; line-height: 36px; }
  .faq-help-main .faq-intro-lead { margin-top: 2px; }
  .faq-help-main .faq-controls-slot { margin-top: 12px; }
  .faq-help-main .faq-browse { margin-top: 12px; }
  .faq-help-main .faq-categories { gap: 10px 10px; padding-inline: 6px; }
  .faq-help-main .faq-directory { margin-top: 22px; }
}
@media (min-width: 1024px) {
  .faq-help-main .faq-category-art { right: 10px; bottom: 8px; width: 54%; height: 60%; object-position: right bottom; }
  .faq-help-main .faq-categories button:hover .faq-category-art { transform: scale(1.04); }
}

/* An open question keeps the space under its facility buttons: their margin collapsed through the
 * card, so the buttons touched its lower edge (owner iPhone check, 2026-10-08). */
.faq-help-main .faq-question[open] { display: flow-root; }

/* FAQ chatbot: a floating button bottom-right that opens a chat panel (full screen on phones). */
.faq-chat[hidden], .faq-chat-panel[hidden] { display: none; }
.faq-chat-launcher { position: fixed; z-index: 34; right: 16px; bottom: calc(64px + env(safe-area-inset-bottom) + 12px); display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 15px; font-weight: 700; box-shadow: 0 8px 24px rgb(47 47 47 / 22%); cursor: pointer; }
.faq-chat-launcher .ic { width: 22px; height: 22px; }
.faq-chat.is-open .faq-chat-launcher { display: none; }
.faq-chat-panel { position: fixed; z-index: 60; inset: 0; display: flex; flex-direction: column; background: var(--paper); }
/* Phones: the page behind the open chat does not scroll (faq-bot.js). */
html.is-faq-chat-open, html.is-faq-chat-open body { overflow: hidden; overscroll-behavior: none; }
.faq-chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 8px 0 20px; border-bottom: 1px solid var(--line); }
.faq-chat-head h2 { font-size: 16px; line-height: 24px; font-weight: 700; }
.faq-chat-head button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: none; cursor: pointer; }
.faq-chat-head .ic { width: 20px; height: 20px; }
.faq-chat-log { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; overflow-y: auto; overscroll-behavior: contain; }
.faq-chat-msg { max-width: 86%; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 24px; overflow-wrap: anywhere; }
.faq-chat-msg > * + * { margin-top: 6px; }
.faq-chat-msg.is-bot { align-self: flex-start; border: 1px solid var(--line); border-top-left-radius: 4px; background: var(--paper); }
.faq-chat-msg.is-user { align-self: flex-end; border-top-right-radius: 4px; background: #e7ecec; }
.faq-chat-msg.is-waiting { display: flex; gap: 5px; padding: 16px; }
.faq-chat-msg.is-waiting span { width: 6px; height: 6px; border-radius: 50%; background: rgb(47 47 47 / 40%); animation: faq-chat-dot 1s infinite ease-in-out; }
.faq-chat-msg.is-waiting span:nth-child(2) { animation-delay: .15s; }
.faq-chat-msg.is-waiting span:nth-child(3) { animation-delay: .3s; }
@keyframes faq-chat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .faq-chat-msg.is-waiting span { animation: none; } }
.faq-chat-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.faq-chat-choices button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-subtle, #f3f4f4); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; }
.faq-chat-choices button:disabled { cursor: default; opacity: .45; }
.faq-chat-choices button[aria-pressed="true"] { opacity: 1; border-color: var(--ink); }
.faq-chat-label { margin-top: 10px !important; color: rgb(47 47 47 / 65%); font-size: 12px; line-height: 18px; font-weight: 700; }
.faq-chat-suggest { display: grid; justify-items: start; gap: 6px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--line); }
.faq-chat-suggest .faq-chat-label { margin: 0 0 2px !important; }
.faq-chat-suggest.is-plain { padding-top: 0; border-top: 0; margin-top: 10px !important; }
.faq-chat-suggest button { max-width: 100%; padding: 8px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-subtle, #f3f4f4); color: var(--ink); font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; }
@media (hover: hover) { .faq-chat-suggest button:hover, .faq-chat-choices button:not(:disabled):hover { border-color: rgb(47 47 47 / 40%); } }
.faq-chat-related a, .faq-chat-contact, .faq-chat-more { display: inline-flex; align-items: center; min-height: 36px; font-size: 14px; line-height: 20px; text-decoration: underline; text-underline-offset: 3px; }
/* A link inside an answer (「予約内容の確認・変更」 in a procedure): bold, underlined, with the external arrow. */
.faq-chat-msg .faq-chat-link { display: inline-flex; align-items: center; gap: 2px; min-height: 32px; color: var(--ink, #2f2f2f); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.faq-chat-msg .faq-chat-link[target]::after { content: "↗"; display: inline-block; margin-left: 2px; font-weight: 400; }
.faq-chat-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 8px 8px 8px 16px; border-radius: 24px; background: var(--surface-subtle, #f3f4f4); }
.faq-chat-form:focus-within { outline: 1px solid rgb(47 47 47 / 35%); outline-offset: 0; }
.faq-chat-form textarea { flex: 1; min-width: 0; max-height: 120px; padding: 8px 0; border: 0; background: none; outline: none; color: var(--ink); font: inherit; font-size: 16px; line-height: 24px; resize: none; }
.faq-chat-form textarea::placeholder { color: rgb(47 47 47 / 45%); }
.faq-chat-form button { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; }
.faq-chat-form button:disabled { opacity: .4; cursor: progress; }
.faq-chat-form .ic { width: 20px; height: 20px; }
.faq-chat-note { padding: 8px 20px calc(12px + env(safe-area-inset-bottom)); color: rgb(47 47 47 / 60%); font-size: 11px; line-height: 16px; text-align: center; }
@media (min-width: 1024px) {
  .faq-chat-launcher { right: 32px; bottom: 32px; }
  .faq-chat-panel { inset: auto 32px 32px auto; width: 400px; height: min(640px, calc(100vh - var(--header-height, 72px) - 64px)); border-radius: 20px; box-shadow: 0 16px 48px rgb(47 47 47 / 22%); overflow: hidden; }
}

/* Chat in the site's own parts (owner 2026-10-19: "지금 톤매너로"): the bot speaks from the grey panel the 目安 and
 * FAQ lists use, the visitor in ink like the reservation button, and suggested questions are the page's link rows —
 * bold question, thin rule, arrow — on paper inside the panel. */
.faq-chat-log { gap: 16px; }
.faq-chat-msg.is-bot { border: 0; border-radius: 4px 16px 16px; background: var(--surface-subtle, #f3f4f4); }
.faq-chat-msg.is-user { border-radius: 16px 4px 16px 16px; background: var(--ink, #2f2f2f); color: var(--paper, #fcfcfc); }
.faq-chat-msg.is-bot:has(.faq-chat-suggest, .faq-chat-choices) { width: 100%; max-width: 100%; }
.faq-chat-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.faq-chat-choices button { min-height: 44px; padding: 0 8px; border: 0; border-radius: 8px; background: var(--paper, #fcfcfc); font-size: 15px; font-weight: 700; }
.faq-chat-choices button:disabled { opacity: .4; }
.faq-chat-choices button[aria-pressed="true"], .faq-chat-choices button[aria-pressed="true"]:disabled { opacity: 1; background: var(--ink, #2f2f2f); color: var(--paper, #fcfcfc); }
.faq-chat-suggest, .faq-chat-suggest.is-plain { display: block; margin-top: 12px !important; padding: 0; border: 0; border-radius: 12px; background: var(--paper, #fcfcfc); overflow: hidden; }
.faq-chat-suggest .faq-chat-label { margin: 0 !important; padding: 12px 16px 4px; color: rgb(47 47 47 / 60%); font-size: 12px; line-height: 18px; }
.faq-chat-suggest button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: none; min-height: 56px; padding: 12px 16px; border: 0; border-top: 1px solid rgb(47 47 47 / 10%); border-radius: 0; background: none; font-size: 15px; line-height: 22px; font-weight: 700; }
.faq-chat-suggest .faq-chat-label + button, .faq-chat-suggest.is-plain button:first-child { border-top: 0; }
.faq-chat-suggest button::after, .faq-chat-msg .faq-chat-contact::after, .faq-chat-msg .faq-chat-more::after { content: ""; flex: none; width: 18px; height: 18px; background: rgb(47 47 47 / 60%); -webkit-mask: url('/assets/icons/lucide/source/arrow-right.svg') center / contain no-repeat; mask: url('/assets/icons/lucide/source/arrow-right.svg') center / contain no-repeat; }
@media (hover: hover) { .faq-chat-suggest button:hover { border-color: rgb(47 47 47 / 10%); background: rgb(47 47 47 / 4%); } }
/* お問い合わせ・続きを見る・空室検索: one link row on paper, like 「解決しないときは」. */
.faq-chat-msg .faq-chat-contact, .faq-chat-msg .faq-chat-more { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; margin-top: 10px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--paper, #fcfcfc); color: var(--ink, #2f2f2f); font-size: 15px; line-height: 22px; font-weight: 700; text-decoration: none; text-align: left; cursor: pointer; }
.faq-chat-msg:has(.faq-chat-contact, .faq-chat-more) { width: 100%; max-width: 100%; }
.faq-chat-note { font-size: 12px; line-height: 18px; }
/* The ink button is lost on the dark footer; a faint paper ring keeps its edge. */
.faq-chat-launcher { box-shadow: 0 0 0 1px rgb(252 252 252 / 28%), 0 8px 24px rgb(47 47 47 / 22%); }
/* 空室検索・予約 is the site's reservation button, so it keeps its ink. */
.faq-chat-msg button.faq-chat-contact { background: var(--ink, #2f2f2f); color: var(--paper, #fcfcfc); }
.faq-chat-msg button.faq-chat-contact::after { background: var(--paper, #fcfcfc); }

/* The crew greets from a SAON card at the top of the chat (owner 2026-10-19: "사람이 있는 연출"); the crew
 * character pictures were taken out again the same day, the card and the button keep their shape. */
.faq-chat-launcher { gap: 0; min-height: 60px; padding: 0 28px; }
.faq-chat-intro { display: grid; align-items: center; min-height: 84px; padding: 16px 20px; overflow: hidden; border-radius: 12px; background: var(--color-saon, #ece1d6); }
.faq-chat-intro p { display: grid; gap: 2px; }
.faq-chat-intro strong { font-size: 16px; line-height: 24px; font-weight: 700; }
.faq-chat-intro small { color: rgb(47 47 47 / 64%); font-size: 13px; line-height: 20px; }
/* 「ページで見る」: pages that answer a search (faq-page-links.js), quiet outlined links above the questions. */
.faq-page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.faq-page-links[hidden] { display: none; }
.faq-page-links span { color: var(--muted); font-size: 13px; line-height: 20px; }
.faq-page-links a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid rgb(47 47 47 / 18%); border-radius: 999px; color: inherit; font-size: 14px; font-weight: 600; text-decoration: none; }
@media (hover: hover) { .faq-page-links a:hover { border-color: currentColor; } }
/* The clear (×) of the search field: the site's grey round button (as on /activity/), off the field's edge,
   instead of the browser's blue cross pressed to the border. */
.faq-search-field input { padding-right: 16px; }
.faq-search-field input::-webkit-search-cancel-button { -webkit-appearance: none; width: 22px; height: 22px; margin-left: 12px; border-radius: 50%; background: rgb(47 47 47 / 32%) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fcfcfc' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E") center / 12px no-repeat; cursor: pointer; }
