:root {
  /* Brand — frontend/public/landing_page/css/creator.css :root と同一（正本は LP 側。値を変える場合は LP を先に更新する） */
  --bg: #faf8f6;
  --surface: #ffffff;
  --surface-quiet: #f3f0ec;
  --border: #e6e1db;
  --text: #1c1917;
  --text-muted: #57534e;
  --text-quiet: #78706a;
  --text-quiet-rgb: 120, 112, 106;
  --accent: #ce1272;
  --accent-rgb: 206, 18, 114;
  --accent-quiet: #fdf0f6;
  --accent-text: #a80d58;
  --ok: #15803d;
  --ok-quiet: #eef5ef;
  --maxw: 1120px;
  --white: #fff;
  --white-rgb: 255, 255, 255;

  /* support_site 固有（LP トークンから導出） */
  --shadow-soft: 0 10px 28px rgba(var(--text-quiet-rgb), 0.08);

  /* レイアウト: 幅の概念は 2 つだけ。
     --page-pad  ページ左右の余白（全要素はこの位置で左揃え。640px 以下は 20px）
     --read-max  読み物（回答本文・検索欄）の最大幅。15px で 1 行 47〜48 字
     --maxw は LP と同一ブロックを保つために残しているが、FAQ では参照しない
     --page-max ページ全体（ヘッダ・本文・フッタ）の最大幅。超えた分は中央寄せ。
                入口カード・質問カード・カテゴリタイルが超ワイド画面で間延びしないための上限 */
  --page-pad: 40px;
  --read-max: 760px;
  --page-max: 1400px;

  /* フォント: Noto Sans JP (500/700/900) + Archivo (700/800)。LP と同一の読み込み */
  --font-display: 'Archivo', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ja: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  /* ページ余白つきで --page-max まで広がり、それ以上は中央寄せ（ヘッダ・フッタも同じ幅） */
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--page-pad);
  position: relative;
  z-index: 2;
}

/* ===== ブレークポイント =====
   768px 以下: タブレット縦。index のアコーディオン padding を詰める
              （同一詳細度の後勝ちを避けるため、そのルールは .cat-acc-body の直後に置いている）
   640px 以下: スマホ。ページ余白を 20px にし、ナビを 2 段に折り返す
              （601px ではロゴとリンクの間が 20px しか残らないため 640 で切る）
   LP の段（1100 / 980 / 860 / 700 / 595）は grid の列数切替が目的で FAQ には該当しないため揃えない。
   640px のルール本体はナビの直後（.nav-links a.active:hover の後）にまとめている。 */

/* ===== NAV (LP の .band + .slab を移植) =====
   地と帯の色差が小さいため、sticky で本文と混ざらないよう下辺の罫線は必須 */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--accent-quiet);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: 20px;
  /* 左右の余白は .container の --page-pad に任せる（ここで padding-inline を指定しない。
     旧 padding: 10px 0 が横を 0 にしてロゴ・ナビが端に張り付く原因になっていた） */
}
/* ロゴは帯の中に収める（浮き出る白カード・回転・影はやめる）。画像とテキストは縮小時も折り返さない */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  padding: 8px 0;
}
.logo-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.logo em { font-style: normal; color: var(--accent-text); }
.logo-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  background: var(--surface-quiet);
  padding: 2px 8px;
  border-radius: 999px;
}
.nav-links {
  display: flex;
  gap: 24px;
  min-width: 0; /* 狭幅で縮められるように */
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 700;
}
.nav-links a { white-space: nowrap; }
.nav-links a { transition: text-decoration-color 0.2s; }
/* hover は 1px 下線のみ（色は動かさない）。現在地は色＋2px 下線＋太字で、hover 中でも区別できるようにする */
.nav-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.nav-links a.active {
  color: var(--accent-text);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.nav-links a.active:hover { text-decoration-thickness: 2px; }
/* ナビが 6 項目になったため、900px 以下で 2 段（ロゴ行＋ナビ行）に折り返す。
   ナビ行は横スクロール可。左右の余白は .container の --page-pad のまま */
@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    padding-block: 6px 10px;
    row-gap: 4px;
  }
  .nav-links {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 18px;
    padding-bottom: 2px;
  }
  .nav-links a { flex: none; }
}
@media (max-width: 640px) {
  :root { --page-pad: 20px; }
}

/* ===== SEARCH ===== */
.search-wrap {
  max-width: var(--read-max);
  margin: 0;
  position: relative;
}
.search-input {
  width: 100%;
  padding: 14px 52px 14px 20px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 15px;
  font-family: var(--font-ja);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.search-input:focus {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.15);
}
.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-quiet);
  pointer-events: none;
}

/* ===== FAQ PAGE ===== */
.faq-page { padding: 36px 0 64px; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.page-title em {
  font-style: normal;
  color: var(--accent-text);
}
.page-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.faq-search-bar {
  margin-bottom: 32px;
}

.faq-category { margin-bottom: 32px; }
.faq-category-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent-text);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item:last-child { margin-bottom: 0; }
.faq-item.hidden { display: none; }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
  user-select: none;
}
.faq-question:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.faq-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--text-quiet);
  transition: transform 0.25s;
  margin-top: 2px;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none;
  max-width: var(--read-max); /* カードは全幅だが本文の行長だけ読み幅で止める */
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  white-space: pre-line;
}
.faq-item.open .faq-answer { display: block; }
/* 回答内の画像。読み幅（--read-max）の内側に収め、PC では 560px（縦長は 320px）で止める */
.faq-figure {
  margin: 14px 0 0;
  max-width: 560px;
}
.faq-figure.is-portrait { max-width: 320px; }
.faq-figure + .faq-figure { margin-top: 12px; }
.faq-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
}
.faq-figcaption {
  margin-top: 6px;
  font-size: 13px;
  color: var(--text-quiet);
  line-height: 1.6;
}
/* 日本語の折り返し（回答本文とキャプション）
   - line-break: strict     行頭禁則（小書き仮名・長音など）を厳格に
   - overflow-wrap: anywhere 長い URL などはどこでも折り返してはみ出させない
   - word-break: auto-phrase 文節単位で折り返す（Chrome 119+。html lang="ja" が必要。
                             未対応ブラウザでは宣言が無視され従来の折り返しになる）
   - text-wrap: pretty       行末に 1 文字だけ残る折り返しを減らす（未対応ブラウザでは無視） */
.faq-answer,
.faq-figcaption,
/* 一覧・入口ページのテキスト要素（質問文・抜粋・入口カード・カテゴリタイル・導入文・案内文） */
.qa-q,
.qa-excerpt,
.entry-title,
.cat-grid a,
.start-lead,
.start-link,
.list-more,
.page-desc,
.page-title,
.article-title,
.faq-top-desc,
.faq-top-note,
.qa-section-title,
.qa-group-title,
.search-results-head,
.no-results {
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  text-wrap: pretty;
}
.faq-minor {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-quiet);
  padding: 1px 7px;
  border-radius: 999px;
  margin-right: 4px;
  flex-shrink: 0;
}
.faq-category.hidden { display: none; }
.faq-ref {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-quiet);
}
.no-results {
  text-align: center;
  padding: 60px 0;
  color: var(--text-quiet);
  font-size: 14px;
  display: none;
}

/* ===== FAQ カテゴリフィルタ ===== */
.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 28px;
}
.faq-filter-chip {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  line-height: 1.4;
  text-align: left;
  max-width: 100%;
}
.faq-filter-chip:hover { text-decoration: underline; text-underline-offset: 3px; }
.faq-filter-chip.is-active {
  color: var(--accent-text);
  background: var(--accent-quiet);
  border-color: var(--accent-text);
}

/* ===== SUPPORT TOP (combined FAQ) ===== */
.faq-top { padding: 44px 0 64px; }
.faq-top-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.faq-top-title em {
  font-style: normal;
  color: var(--accent-text);
}
.faq-top-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0 0 24px;
}
.faq-top-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  background: var(--surface-quiet);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 0 0 28px;
}
.faq-filter-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-quiet);
  margin: 0 0 8px;
}

/* 対象者タブ */
.aud-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}
.aud-tab {
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
}
.aud-tab:hover { text-decoration: underline; text-underline-offset: 3px; }
.aud-tab.is-active {
  color: var(--white);
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
}

/* カテゴリアコーディオン */
.cat-acc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-acc {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.2s;
}
.cat-acc.hidden { display: none; }
.cat-acc.open { border-color: var(--accent-text); }
.cat-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: color 0.2s;
}
.cat-acc-head:hover .cat-acc-name { text-decoration: underline; text-underline-offset: 3px; }
.cat-acc-name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--accent-text);
}
.cat-acc-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-quiet);
  white-space: nowrap;
}
.cat-acc-icon {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent-text);
  transition: transform 0.25s;
}
.cat-acc.open .cat-acc-icon { transform: rotate(45deg); }
.cat-acc-body {
  display: none;
  padding: 0 20px 8px;
  border-top: 1px solid var(--border);
}
.cat-acc.open .cat-acc-body { display: block; }

/* 768px 以下の padding 調整（冒頭「ブレークポイント」参照） */
@media (max-width: 768px) {
  .cat-acc-head { padding: 16px 18px; }
  .cat-acc-body { padding: 0 18px 6px; }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-quiet);
  margin-bottom: 28px;
}
.breadcrumb a { color: var(--text-quiet); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 2px; }
.breadcrumb-sep { opacity: 0.5; }

/* ===== CONTACT ===== */
.contact-page { padding: 36px 0 64px; }
.contact-card {
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 36px 40px;
  background: var(--bg);
  margin-bottom: 20px;
}
.contact-card-title {
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
.contact-notice {
  background: var(--surface-quiet);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.8;
}
.contact-notice strong { color: var(--text); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  font-size: 12px;
  color: var(--text-quiet);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-links a { color: var(--text-quiet); white-space: nowrap; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ===== 本文中のインラインリンク =====
   ナビ/ボタン/カード全体リンクは対象外。地の文に埋め込まれたリンクは
   色だけで区別されないよう下線を常時表示する（色覚特性への配慮）。 */
.page-desc a,
.no-results a,
.faq-top-note a,
.contact-card-desc a,
.faq-answer a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

/* ===== FOCUS VISIBLE ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
}
.nav a:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faq-chevron,
  .cat-acc-icon,
  .cat-acc,
  .aud-tab,
  .nav-links a {
    transition: none;
  }
}

/* ===== ARTICLE PAGE (/a/<id>.html、support_site/tools/build.mjs が生成) ===== */
.article {
  max-width: var(--read-max);
}
/* 記事ページのパンくずは段数が多いので折り返す（既存ページの .breadcrumb には影響しない） */
.article-page .breadcrumb {
  flex-wrap: wrap;
  row-gap: 4px;
}
.article-page .breadcrumb a,
.article-page .breadcrumb span {
  white-space: nowrap;
}
.article-header { margin-bottom: 20px; }
.article-header .faq-minor {
  display: inline-block;
  margin: 0 0 10px;
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin: 0;
}
.article-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  line-break: strict;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
  text-wrap: pretty;
}
.article-body p { margin: 0 0 12px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body .faq-figure { margin-top: 16px; }
.article .faq-ref { margin-top: 20px; }
.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.article-nav a { color: var(--accent-text); }
.article-nav a:hover { text-decoration: underline; text-underline-offset: 2px; }
/* 記事ページ末尾の「関連する読み物」（記事サイト /articles/ へのリンク） */
.related-articles {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.related-articles + .article-nav { margin-top: 24px; }
.related-articles-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
}
.related-articles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.related-articles-list a {
  display: block;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.related-articles-list a:hover { border-color: var(--accent-text); color: var(--accent-text); }
/* 一覧のアコーディオン内に出す「この記事のURL」リンク */
.faq-permalink {
  margin: 10px 0 0;
  font-size: 12px;
}
.faq-permalink a { color: var(--text-quiet); }
.faq-permalink a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }

/* ===== LIST / ENTRANCE PAGES (build.mjs が生成: index / start / faq / fans / creators / billing) ===== */
/* 入口カード（トップ） */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin: 28px 0 44px;
}
/* アイコン＋カード名だけのカード。アイコンとカード名を横に並べ、上下中央に置く */
.entry-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.entry-card:hover {
  border-color: var(--accent-text);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}
.entry-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  border-radius: 10px;
  background: var(--accent-quiet);
}
.entry-title { font-weight: 900; font-size: 15px; line-height: 1.4; }
/* 5 入口が 1 行に収まる幅では 5 列固定（4+1 の孤立を避ける）。
   1280〜1399px はカードが狭い（約 228px）ので、カード名が折れないよう余白と文字を少し詰める */
@media (min-width: 1280px) {
  .entry-grid { grid-template-columns: repeat(5, 1fr); }
  .entry-card { padding: 12px 14px; gap: 8px; }
  .entry-icon { width: 28px; height: 28px; font-size: 16px; border-radius: 8px; }
  .entry-title { font-size: 14px; }
}
@media (min-width: 1400px) {
  .entry-card { padding: 14px 18px; gap: 12px; }
  .entry-icon { width: 36px; height: 36px; font-size: 20px; border-radius: 10px; }
  .entry-title { font-size: 15px; }
}

/* 質問一覧（質問文 + 抜粋 + 記事ページへのリンク。カテゴリ別一覧は抜粋なし） */
.qa-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.qa-item + .qa-item { margin-top: 10px; }
.qa-link {
  display: block;
  padding: 16px 20px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.qa-link:hover { border-color: var(--accent-text); box-shadow: var(--shadow-soft); }
.qa-link:hover .qa-q { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.qa-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.qa-meta:empty { display: none; }
.qa-aud {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-text);
  background: var(--accent-quiet);
  padding: 1px 7px;
  border-radius: 999px;
}
.qa-q {
  display: block;
  max-width: var(--read-max); /* カードは全幅だが 1 行の長さは読み幅で止める */
  font-weight: 700;
  font-size: 15px;
  line-height: 1.55;
}
.qa-excerpt {
  display: block;
  max-width: var(--read-max);
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-quiet);
  line-height: 1.6;
}
/* カテゴリ別一覧（fans / creators / billing）は抜粋なし（質問文だけ）なので、余白を少し詰めて高さのバランスを取る */
.qa-section .qa-link { padding: 14px 20px; }
.qa-section .qa-item + .qa-item { margin-top: 8px; }
.qa-section { margin: 0 0 36px; scroll-margin-top: 16px; }
.qa-section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-text);
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.qa-section-count { font-size: 12px; font-weight: 700; color: var(--text-quiet); }
.qa-group { margin: 0 0 44px; scroll-margin-top: 16px; }
.qa-group-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 900;
  margin: 0 0 18px;
}
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 32px;
}
.cat-nav .faq-filter-chip { text-decoration: none; }
.list-more { font-size: 14px; margin: 16px 0 0; }
.list-more a { color: var(--accent-text); font-weight: 700; }

/* 初めての方へ */
.start-section { margin: 0 0 40px; scroll-margin-top: 16px; }
.start-lead { font-size: 14px; color: var(--text-muted); line-height: 1.75; margin: 0 0 12px; }
.start-link { font-size: 14px; margin: 0 0 14px; }
.start-link a { color: var(--accent-text); font-weight: 700; }

/* トップ：対象別カテゴリ */
.top-faq { margin: 0 0 44px; }
.top-aud { margin: 0 0 40px; }
.cat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.cat-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.cat-grid a:hover { border-color: var(--accent-text); }
.cat-grid .qa-section-count { flex-shrink: 0; }

/* 検索結果 */
.search-results { margin: 0 0 32px; }
.search-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.search-clear {
  font: inherit;
  font-size: 13px;
  color: var(--accent-text);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
}
.search-clear:hover { border-color: var(--accent-text); }
.faq-top .faq-search-bar { margin: 0 0 8px; }
.faq-top .faq-filter-label { margin-top: 0; }
