/* =========================================================
   不用品回収業者ランキング.com  共通スタイル
   2026-11-01 デザインのフルリニューアル（ユーザーの依頼。参考：sunbousai.jp のデザイン性・レイアウト・動き）
   - 白・生成り（ベージュ）・ミントの面に、黒い線と朱色のボタン。角の丸い部品、ずらした影、英字の大きな飾り文字
   - スマホファースト：基本はスマホ幅で設計し、768px / 1024px 以上で拡張
   - 判断に必要な情報（許可・料金・確認日）を先に見せる方針は変えない。WCAG 2.2 AA（文字のコントラスト 4.5:1 以上・押せる大きさ 44px 以上）
   - 動き（文字の出現・スクロールでの表示・ヘッダーの出し入れ）は「視差効果を減らす」設定のときは止める。JS が動かなくても内容はすべて読める
   ========================================================= */
:root {
  --c-text: #1a1a1a;
  --c-text-sub: #4f4f4f;
  --c-text-note: #5c5c5c;           /* 補足（出典・更新日など）。生成りの上で 6.4:1 */
  --c-bg: #ffffff;
  --c-bg-soft: #f6f3ec;
  --c-bg-note: #fff6e6;
  --c-line: #d9d3c7;
  --c-line-strong: #1a1a1a;
  --c-ink: #1a1a1a;                /* 部品の線（参考サイトの線画の黒） */
  --c-beige: #fffaf0;              /* 生成り：本文の面 */
  --c-beige-2: #f2ede2;            /* 表の見出し */
  --c-mint: #b4e5cc;               /* ずらした影・タグ */
  --c-mint-bg: #d8ead9;            /* 下地の緑 */
  --c-sky: #eefbff;                /* 空・フッター */
  --c-green: #87cc5a;
  --c-green-deep: #509536;
  --c-green-text: #3b7a25;         /* 白・生成りの上で 5:1 以上 */
  --c-orange: #ffa843;
  --c-teal: #5bafc1;
  --c-brand: #13518c;              /* リンク */
  --c-brand-dark: #0d3b66;
  --c-brand-soft: #eefbff;
  --c-cta: #d03000;                /* 朱色のボタン（白文字 5.1:1） */
  --c-cta-dark: #a82600;
  --c-ok: #166534;
  --c-ok-bg: #e8f5ec;
  --c-warn: #8a5300;
  --c-warn-bg: #fff4dc;
  --c-ng: #9f1239;
  --c-ng-bg: #fdecef;
  --c-ad: #3b4252;
  --c-ad-bg: #eef0f4;
  --radius: 10px;
  --radius-mid: 18px;
  --radius-lg: 28px;
  --shadow: 0 6px 0 var(--c-mint);
  --shadow-sm: 0 4px 0 var(--c-mint);
  --gutter: 16px;
  --maxw: 1200px;
  --header-h: 64px;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  --font-hd: "Zen Kaku Gothic New", var(--font);
  --font-en: "BBH Bartle", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-en-2: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- ベース（スマホ） ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; scroll-padding-bottom: 88px; }
a[href^="tel:"] { white-space: nowrap; }   /* 電話番号を行の途中で分けない */
body {
  margin: 0;
  background: var(--c-mint-bg);
  color: var(--c-text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--c-brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--c-brand-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #b45309; outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.5; margin: 0 0 .6em; letter-spacing: .04em; font-synthesis: none; word-break: auto-phrase; text-wrap: balance; }
/* 見出し・ラベル・ボタンは文節で折り返し、行の長さをそろえる（1〜2文字だけ次の行に残る改行をなくす。2026-11-01 第2次改善） */
summary, .btn, th, dt, .facts b, .shortcuts b, .finder-title, .page-toc a, .toc a, .pref-links a, .footer-cols a, .footer-heading, .note-title, .logo-text { word-break: auto-phrase; text-wrap: balance; }
main p, main li, main dd, main td { text-wrap: pretty; }
.nb { white-space: nowrap; }
/* 文節の区切り（ビルドが見出し・ボタン・目次に付ける span.ph。2026-11-01 評価 D4）：文節での改行（auto-phrase）に対応していない Safari・Firefox だけ、文節を inline-block にして途中で改行しない。リンクの下線は文節ごとに引き直す */
.phw { display: inline; }
@supports not (word-break: auto-phrase) {
  .ph { display: inline-block; }
  a .phw, a .phw .ph { text-decoration: inherit; }   /* .ph の親は .phw（text-decoration は継承しないので phw にも付ける。2026-11-02 監査 A-02：Safari・Firefox で目次の下線が消えていた） */
}   /* 語の途中で改行させない語（ビルドが見出しの中の「方法」などに付ける） */
h1 { font-size: 1.5rem; line-height: 1.5; letter-spacing: .03em; }
h2 { font-size: 1.3rem; margin-top: 2.6em; margin-bottom: .75em; position: relative; padding-left: 1.05em; line-height: 1.55; }
h2::before { content: ""; position: absolute; left: 0; top: .66em; width: .5em; height: .5em; background: var(--c-green-deep); transform: rotate(45deg); border-radius: 2px; }   /* 朱色はボタン（行動）だけに使い、見出しの印は緑にする（第2次改善） */
h3 { font-size: 1.08rem; margin-top: 2em; margin-bottom: .5em; padding-bottom: .3em; border-bottom: 2px dotted var(--c-ink); width: fit-content; max-width: 100%; }
h4 { font-size: 1rem; margin-top: 1.4em; }
p, ul, ol, table, dl { margin: 0 0 1.1em; }
small, .small { font-size: .875rem; }
/* 「出典」などの控えめな h2：h3 より小さくならないよう 16px・灰色（2026-10-29 U13）。カードの先頭の h2（/guide/ のハブ）は飾りなし */
/* Webフォント（Zen Kaku Gothic New）は h1・h2・ロゴ・ナビ・ボタンなど目立つ所だけに使う（読み込む文字を減らすため。2026-11-01 実測：本文の見出しすべてに使うと1ページ約280KB） */
h1, h2 { font-family: var(--font-hd); }
h2.small { font-size: 1rem; color: var(--c-text-sub); padding-left: 0; }
h2.small::before { display: none; }
.card > h2:first-child { margin-top: 0; padding-left: 0; font-size: 1.05rem; }
.card > h2:first-child::before { display: none; }
/* ガイドの入口のカード（/guide/）：上に分類を小さく、次に記事名を大きく、下に説明。カード全体を押せる（第2次改善：分類が太字で記事名が細く、強弱が逆だった） */
.cols-2 > .card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s; }
.cols-2 > .card > h2:first-child { font-family: var(--font); font-size: .8125rem; color: var(--c-green-text); letter-spacing: .1em; margin: 0; }
.cols-2 > .card > p { margin: 0; }
.cols-2 > .card > p:first-of-type > a:only-child { font-family: var(--font-hd); font-weight: 700; font-size: 1.1rem; line-height: 1.55; color: var(--c-text); text-decoration: none; word-break: auto-phrase; text-wrap: balance; }
.cols-2 > .card > p:first-of-type > a:only-child::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
/* カードの説明文の中のリンク（/guide/ の「188」など）は、カード全体を押せる面より上に出す（2026-11-02 監査 X-2：188 を押すとカードの記事が開いていた） */
.cols-2 > .card > p:not(:first-of-type) a { position: relative; z-index: 1; }
.cols-2 > .card:has(> p:first-of-type > a:only-child):hover { background: var(--c-sky); transform: translateY(3px); box-shadow: 0 1px 0 var(--c-mint); }
.cols-2 > .card:has(> p:first-of-type > a:only-child) { padding-right: 46px; }
.cols-2 > .card:has(> p:first-of-type > a:only-child)::after { content: ""; position: absolute; right: 20px; top: 50%; margin-top: -5px; width: 9px; height: 9px; border-top: 2px solid var(--c-ink); border-right: 2px solid var(--c-ink); transform: rotate(45deg); }
.cols-2 > .card > p.small { line-height: 1.7; }
.muted { color: var(--c-text-sub); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; padding: 8px 12px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- 広告表記（FV・表・CTA直近に必ず表示） ---------- */
.pr-bar { background: var(--c-ad-bg); color: var(--c-ad); font-size: 1rem; line-height: 1.6; border-bottom: 1px solid var(--c-line); position: relative; z-index: 60; }
.pr-bar .container { padding-top: 6px; padding-bottom: 6px; }
.pr-label {
  display: inline-block; border: 1px solid var(--c-ad); color: var(--c-ad); background: #fff;
  font-size: 1rem; font-weight: 700; line-height: 1.4; padding: 0 6px; border-radius: 3px; margin-right: 6px; vertical-align: baseline; align-self: center;
}
.pr-inline { font-size: 1rem; color: var(--c-ad); margin: .3em 0 .8em; line-height: 1.6; }

/* ---------- プレビュー（架空データ）警告 ---------- */
.preview-banner { background: #7f1d1d; color: #fff; font-weight: 700; text-align: center; padding: 8px var(--gutter); font-size: .88rem; line-height: 1.5; position: relative; z-index: 60; }

/* ---------- ヘッダー（固定。下へスクロールすると隠れ、上へ戻ると出る） ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); transition: transform .45s var(--ease), background-color .3s; }
.site-header.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 rgba(26, 26, 26, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header.is-hidden { transform: translateY(-110%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 0 12px 0 14px; max-width: 1440px; margin: 0 auto; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-text); text-decoration: none; min-width: 0; }
.logo:hover { color: var(--c-text); }
.logo-mark { flex: 0 0 auto; display: block; width: 38px; height: 38px; transition: transform .5s var(--ease); }
.logo-mark svg { display: block; width: 100%; height: 100%; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-text { display: block; font-family: var(--font-hd); font-weight: 700; font-size: .95rem; line-height: 1.3; letter-spacing: .02em; min-width: 0; }
.logo-sub { display: block; font-family: var(--font); font-size: .75rem; font-weight: 500; color: var(--c-text-sub); letter-spacing: .02em; }
/* メニューボタン（スマホ・タブレット）：黒い角丸の四角に3本線 */
.menu-toggle { position: relative; z-index: 3; flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 12px; background: var(--c-ink); color: #fff; font: inherit; cursor: pointer; white-space: nowrap; transition: transform .3s var(--ease); }
.menu-toggle:hover { transform: scale(1.05); }
.menu-icon { display: grid; gap: 4px; width: 20px; }
.menu-icon i { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-label { font-size: .625rem; font-weight: 700; letter-spacing: .04em; line-height: 1; margin-top: 3px; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
/* スマホのメニュー：画面全体を覆う生成りの面 */
.gnav { display: none; position: fixed; inset: 0; z-index: 2; background: var(--c-beige); padding: calc(var(--header-h) + 16px) 20px 32px; overflow-y: auto; }
.gnav.is-open { display: block; animation: nav-in .4s var(--ease); }
@keyframes nav-in { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
.gnav ul { list-style: none; margin: 0 0 20px; padding: 0; }
.gnav li { border-bottom: 1.5px solid var(--c-ink); }
.gnav a { display: flex; align-items: center; justify-content: space-between; min-height: 60px; padding: 0 4px; text-decoration: none; color: var(--c-text); font-family: var(--font-hd); font-weight: 700; font-size: 1.1rem; }
.gnav a::after { content: ""; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); margin-right: 6px; }
.gnav a[aria-current="page"] { color: var(--c-cta); }
.gnav .gnav-cta { justify-content: center; gap: 10px; margin-top: 8px; min-height: 60px; background: var(--c-cta); color: #fff; border-radius: var(--radius); }
.gnav .gnav-cta::after { border-color: #fff; }
.gnav .gnav-cta[aria-current="page"] { color: #fff; }
/* 全画面のメニューは 1023px 以下だけ。メニューを開いたまま 1024px 以上へ広がったとき（タブレットの回転）にスクロールできなくなっていたので、幅で限る（2026-11-02 監査 X-1。site.js でも閉じる） */
@media (max-width: 1023px) { body.menu-open { overflow: hidden; } }
/* JS が動かないときは開かないボタンを出さない（2026-10-31 監査 N14）。メニューの内容はフッターにもある */
html:not(.js) .menu-toggle { display: none; }
/* site.js が読み込めなかったときも、押しても開かないボタンを見せない（site.js が html に menu-ready を付ける。場所は空けたままなので、読み込み後にずれない。評価 N2-2） */
html:not(.menu-ready) .menu-toggle { visibility: hidden; }
html:not(.js) .gnav { display: none; }

/* ---------- パンくず ---------- */
.breadcrumb { font-size: .8125rem; color: var(--c-text-sub); margin: 0 0 8px; letter-spacing: .04em; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; }
.breadcrumb li + li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-top: 1.5px solid var(--c-text-sub); border-right: 1.5px solid var(--c-text-sub); transform: rotate(45deg); margin: 0 10px 2px 4px; }
.breadcrumb a { color: var(--c-text); }

/* ---------- 下層ページの上部（空・雲・丘と、英字の大きな飾り文字） ---------- */
.page-hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 14px) 0 50px; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50'%3E%3Cpath d='M14 38a11 11 0 0 1 11-11a15 15 0 0 1 27-4a11 11 0 0 1 18 9a8 8 0 0 1 0 16H20a8 8 0 0 1-6-10z' fill='%23fff' stroke='%231a1a1a' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 8% top calc(var(--header-h) + 6px) / 120px auto,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50'%3E%3Cpath d='M14 38a11 11 0 0 1 11-11a15 15 0 0 1 27-4a11 11 0 0 1 18 9a8 8 0 0 1 0 16H20a8 8 0 0 1-6-10z' fill='%23fff' stroke='%231a1a1a' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 30% top calc(var(--header-h) + 44px) / 72px auto,
    linear-gradient(180deg, var(--c-sky) 0%, #ffffff 78%); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 56px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath d='M0 40C160 6 300 2 470 22S800 54 980 30S1300 0 1440 18V56H0z' fill='%23d8ead9'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
@media (max-width: 767px) {
  /* スマホではパンくずに雲が重ならないよう、雲を1つにして丘の近くへ */
  .page-hero { background-position: right 4% bottom 14px, -200px -200px, 0 0; background-size: 56px auto, 0 0, auto; }   /* 雲は丘の上に置き、英字の飾りに重ねない */
}
.page-en { margin: 6px 0 0; font-family: var(--font-en); font-weight: 400; line-height: .95; letter-spacing: .01em; color: var(--c-mint); -webkit-text-stroke: 0; white-space: nowrap;
  font-size: clamp(1.5rem, calc((100vw - 40px) / (var(--len, 6) * 1.34)), 3.1rem); }   /* スマホでは飾りを控えめにして本文を上へ（評価 N1-3）。768px 以上で大きくする */   /* BBH Bartle は1文字が約1.3文字分の幅（2026-11-01 実測）。長い語でも画面からはみ出さない */
.page-en span { display: inline-block; }
.page-en .sp { width: .35em; }

/* ---------- 本文の面（生成りの角丸パネル） ---------- */
.page-body { position: relative; padding: 0 0 56px; }
.panel { background: var(--c-beige); border-radius: var(--radius-mid); padding: 22px 16px 32px; margin: -28px -8px 0; position: relative; z-index: 1; }
.page-body .container { padding: 0 var(--gutter); }

/* ---------- ページ見出し・更新日 ---------- */
.page-head { padding: 4px 0 6px; margin-bottom: 1em; border-bottom: 1.5px solid var(--c-ink); }
.page-head h1 { margin-bottom: .4em; }
.page-meta { font-size: .8125rem; color: var(--c-text-note); display: flex; flex-wrap: wrap; gap: 2px 14px; margin-bottom: .6em; }
.lead { font-size: 1rem; }

/* ---------- トップページの上部（大きな英字・H1・オリジナルの線画） ---------- */
.is-top { display: block; }
.top-hero { position: relative; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 4px) 0 30px; background: linear-gradient(180deg, var(--c-sky) 0%, #ffffff 70%); overflow: hidden; }
.top-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 64px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 30C200 64 380 60 600 36S1000 2 1200 22S1380 50 1440 40V64H0z' fill='%23d8ead9'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%; pointer-events: none; }
.top-hero-inner { display: grid; gap: 4px; position: relative; z-index: 1; }
.top-hero-art { order: -1; margin: 0 -8px; }
.top-hero-art img { display: block; width: 100%; max-width: 560px; margin: 0 auto; }
.top-en { margin: 0 0 14px; font-family: var(--font-en); font-weight: 400; color: var(--c-ink); line-height: .92; font-size: clamp(2.4rem, calc((100vw - 40px) / 6.9), 6rem); letter-spacing: 0; white-space: nowrap; }
.top-en span { display: inline-block; }
/* スマホのトップ：線画と英字を小さくし、H1 を最初の画面に入れる（評価 N1-3：H1 が 451px の位置にあった） */
@media (max-width: 767px) {
  .top-hero-art img { max-width: 250px; }
  .top-en { font-size: clamp(2rem, calc((100vw - 40px) / 8.6), 3rem); margin-bottom: 10px; }
}
.top-hero .page-head { border-bottom: 0; padding: 0; margin: 0; }
.top-hero .page-head h1 { font-size: 1.32rem; line-height: 1.6; }
.top-hero .page-head h1::first-letter { color: inherit; }
.top-hero .page-meta { margin: 0; }
.is-top .page-body { padding-top: 0; }
.is-top .panel { margin-top: -8px; }

/* TOP の節の見出し：中央に大きく、下に英字の小見出し（data-en。CSS で表示するだけで HTML の本文には入らない。読み上げの名前からも外す：content の「/ ""」。2026-11-01 評価 N3-1） */
.is-top .panel > .section > h2, .is-top .panel > section > h2 { text-align: center; padding: 0; margin: 2.8em auto 1em; font-size: 1.4rem; max-width: 22em; }
.is-top .panel > .section > h2::before, .is-top .panel > section > h2::before { display: none; }
/* TOP の本文：中央の1本の段（最大 780px）にそろえ、見出しの中央寄せと本文の位置を合わせる。偶数番目の節は白い面にして、節の区切りとリズムを出す（第2次改善：中央の見出しの下で本文が左に寄り、右が空いていた・全節が同じ見た目で単調だった） */
.is-top .panel > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.is-top .panel p, .is-top .panel li { max-width: none; }
.is-top .panel > .section:nth-of-type(even) { background: #fff; border-radius: var(--radius-lg); padding: 4px 16px 20px; margin-left: -8px; margin-right: -8px; max-width: none; }
.is-top .panel > .section:nth-of-type(even) > h2 { margin-top: 1.4em; }
h2[data-en]::after { content: attr(data-en); content: attr(data-en) / ""; display: block; margin-top: .55em; font-family: var(--font-en-2); font-weight: 700; font-size: .72rem; letter-spacing: .18em; color: var(--c-green-text); line-height: 1.2; }
h2[data-en]:not(.is-top *)::after { margin-top: .35em; }

/* ---------- 結論ボックス・抜き出せる事実 ---------- */
.answer-box { position: relative; background: #fff; border: 2px solid var(--c-ink); border-radius: var(--radius-mid); padding: 26px 18px 16px; margin: 18px 0 1.8em; box-shadow: var(--shadow); font-size: 1.02rem; line-height: 1.95; }
.answer-box b, .answer-box strong { background: linear-gradient(transparent 62%, #fff1c9 62%); }   /* 結論の中の要点を蛍光ペンのように（色だけに頼らず太字のまま） */
/* 結論の枠・注意の枠は本文の段と同じ幅にそろえ、枠の中は行の長さの上限を外す（評価 N1-4：PC で枠の中の右側に 150〜310px の空きがあった） */
.answer-box, .note { max-width: 800px; }
.answer-box p, .answer-box li, .note p, .note li { max-width: none; }
.answer-box::before { content: "POINT"; content: "POINT" / ""; position: absolute; top: -14px; left: 16px; background: var(--c-green-text);   /* 白い文字との比 5.25:1（#509536 では 3.69:1。2026-11-02 監査 C-05、ユーザーの承認） */ color: #fff; font-family: var(--font-en-2); font-weight: 700; font-size: .75rem; letter-spacing: .14em; line-height: 1; padding: 7px 14px 6px; border-radius: 999px; border: 2px solid var(--c-ink); }
.answer-box p:last-child, .answer-box ul:last-child { margin-bottom: 0; }
.facts { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 1.6em; padding: 0; list-style: none; }
.facts li { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); padding: 16px 18px; font-size: .94rem; line-height: 1.75; box-shadow: var(--shadow-sm); }
.facts b { display: block; font-size: 1rem; color: var(--c-text); font-weight: 700; margin-bottom: 2px; padding-left: 12px; border-left: 4px solid var(--c-green); line-height: 1.5; }
.facts .src { display: block; margin-top: auto; padding-top: 10px; border-top: 1px dashed #d9d3c7; font-size: .8125rem; line-height: 1.6; color: var(--c-text-note); }

/* ---------- 業者を探す（ファインダー） ---------- */
.finder { position: relative; background: #fff; border: 2px solid var(--c-ink); border-radius: var(--radius-lg); padding: 22px 16px 18px; margin: 0 0 2em; box-shadow: 0 8px 0 var(--c-mint); }
.finder-title { font-family: var(--font-hd); font-size: 1.2rem; font-weight: 700; margin: 0 0 6px; line-height: 1.5; }
.finder-steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0; }
.finder fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.finder legend, .finder label.lbl, .filter-bar legend, .filter-bar label.lbl { font-weight: 700; font-size: .92rem; margin-bottom: 6px; display: block; padding: 0; }
.step-no { display: inline-flex; width: 1.7em; height: 1.7em; align-items: center; justify-content: center; border-radius: 50%; background: var(--c-orange); border: 1.5px solid var(--c-ink); color: var(--c-ink); font-family: var(--font-en-2); font-weight: 700; font-size: .8rem; margin-right: 6px; }
select { width: 100%; min-height: 52px; font: inherit; font-size: 16px; padding: 8px 40px 8px 14px; border: 1.5px solid var(--c-ink); border-radius: var(--radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 12px 8px; color: var(--c-text); -webkit-appearance: none; appearance: none; }
select:disabled { background-color: var(--c-bg-soft); color: var(--c-text-sub); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border: 1.5px solid var(--c-ink); border-radius: 999px; background: #fff; cursor: pointer; font-size: .9rem; line-height: 1.3; transition: background-color .2s, transform .2s var(--ease); }
.chip span:hover { background: var(--c-sky); }
.chip input:checked + span { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.chip input:checked + span::before { content: "✓"; margin-right: 4px; }
.chip input:focus-visible + span { outline: 3px solid #b45309; outline-offset: 2px; }
.finder-actions { display: grid; gap: 10px; }
.finder-note { font-size: .8125rem; color: var(--c-text-sub); margin: 8px 0 0; }
.finder-status:not(:empty) { display: block; margin-top: 10px; padding: 10px 12px; background: var(--c-warn-bg); border: 1.5px solid #e6c27a; border-radius: var(--radius); font-size: .9rem; }

/* ---------- ボタン（朱色の四角＋右下の矢印。押すと少し沈む） ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; padding: 12px 36px 12px 22px; border-radius: var(--radius); font: inherit; font-family: var(--font-hd); font-weight: 700; letter-spacing: .06em; text-decoration: none; cursor: pointer; border: 2px solid transparent; line-height: 1.35; text-align: center; transition: background-color .25s, color .25s, transform .3s var(--ease), box-shadow .3s var(--ease); }
.btn::after { content: ""; position: absolute; right: 9px; bottom: 9px; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; border-bottom-right-radius: 4px; opacity: .9; transition: transform .35s var(--ease); }
.btn:hover::after { transform: translate(2px, 2px); }
.btn:hover { text-decoration: none; }
.btn-primary, .btn-cta { background: var(--c-cta); color: #fff; border-color: var(--c-cta); }
.btn-primary:hover, .btn-cta:hover { background: var(--c-cta-dark); border-color: var(--c-cta-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--c-text); border: 1.5px solid var(--c-ink); box-shadow: var(--shadow-sm); }
.btn-outline:hover { background: var(--c-sky); color: var(--c-text); transform: translateY(2px); box-shadow: 0 2px 0 var(--c-mint); }
.btn-tel { background: #fff; color: var(--c-text); border: 1.5px solid var(--c-ink); }
.btn-tel:hover { background: var(--c-sky); color: var(--c-text); }
.btn-block { width: 100%; }
@media (max-width: 767px) {
  /* 文の長いボタン（公式サイトの申込案内など）は横幅いっぱい・左寄せにして、中央寄せの3行の折り返しをなくす（第2次改善） */
  main p > .btn:only-child, .next-action .btn, .jump-links .btn, .route-links .btn { display: flex; width: 100%; justify-content: flex-start; text-align: left; padding-left: 18px; letter-spacing: .02em; line-height: 1.5; }
}
.btn[aria-disabled="true"] { background: var(--c-bg-soft); color: var(--c-text-sub); border-color: var(--c-line); box-shadow: none; cursor: not-allowed; transform: none; }
.btn[aria-disabled="true"]::after { display: none; }

/* ---------- 確認状況バッジ（色＋記号で判別：色覚に依存しない） ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; font-size: .8125rem; font-weight: 700; line-height: 1.3; padding: 3px 10px; border-radius: 999px; border: 1.5px solid; vertical-align: 1px; }
.badge-ok { color: var(--c-ok); background: var(--c-ok-bg); border-color: #7cc095; }
.badge-ok::before { content: "✓"; }
.badge-stated { color: var(--c-warn); background: var(--c-warn-bg); border-color: #e0b55c; }
.badge-stated::before { content: "△"; }
.badge-unknown { color: var(--c-text-sub); background: var(--c-bg-soft); border-color: #bfb8aa; }
.badge-unknown::before { content: "?"; }
.badge-ng { color: var(--c-ng); background: var(--c-ng-bg); border-color: #e891a5; }
.badge-ng::before { content: "×"; }
.badge-operator { color: #fff; background: var(--c-ad); border-color: var(--c-ad); }

/* ---------- 比較表（スマホ：1列目固定＋横スクロール） ---------- */
.scroll-hint { font-size: .8125rem; color: var(--c-text-sub); margin: 0 0 6px; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); margin: 0 0 .8em; position: relative; background: #fff; }
.table-wrap:focus-visible { outline: 3px solid #b45309; }
table.compare { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 680px; font-size: .875rem; line-height: 1.65; }
table.compare th, table.compare td { border-bottom: 1px solid var(--c-line); border-right: 1px solid var(--c-line); padding: 10px; vertical-align: top; text-align: left; background: #fff; min-width: 104px; }
table.compare .col-price { min-width: 150px; }
/* 文章中心の表（2〜3列）：スマホでも横スクロールさせず折り返す */
table.compare.text-table { min-width: 0; }
table.compare.text-table th, table.compare.text-table td { min-width: 0; }
table.compare.text-table th[scope="row"] { position: static; min-width: 6.5em; max-width: none; box-shadow: none; }
table.compare .badge { white-space: nowrap; }
table.compare thead th { background: var(--c-beige-2); font-size: .875rem; border-bottom: 1.5px solid var(--c-ink); }
table.compare th[scope="row"], table.compare thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--c-beige); min-width: 112px; max-width: 132px; box-shadow: 2px 0 0 var(--c-line); }
table.compare thead th:first-child { z-index: 3; background: var(--c-beige-2); }
table.compare tr:last-child > * { border-bottom: 0; }
table.compare tr > *:last-child { border-right: 0; }
table.compare tr[hidden] { display: none; }
/* 4列以上の表（ビルドが見出しを data-label に写したもの）：スマホ幅では横スクロールさせず、行ごとのカードで見せる（2026-10-25 の2回目の監査） */
@media (max-width: 767px) {
  .table-wrap.stack:has(> table:not(.text-table)) { overflow: visible; border: 0; border-radius: 0; background: transparent; }
  .table-wrap.stack table.compare:not(.text-table) { min-width: 0 !important; display: block; }
  .table-wrap.stack table.compare:not(.text-table) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-wrap.stack table.compare:not(.text-table) tbody { display: block; }
  .table-wrap.stack table.compare:not(.text-table) tr { display: block; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); margin: 0 0 .8em; background: #fff; overflow: hidden; box-shadow: var(--shadow-sm); }
  /* 行を縦の flex にして、処分方法の比較表では「向いている場合」を方法のすぐ下に出す（2026-10-30 ユーザー承認、再監査 N3。PC の表の列の順は変えない）。区切り線は上側に付け、並べ替えても最後のセルに線が残らないようにする */
  .table-wrap.stack table.compare:not(.text-table) tr:not([hidden]) { display: flex; flex-direction: column; }
  .table-wrap.stack table.compare:not(.text-table) th, .table-wrap.stack table.compare:not(.text-table) td { display: block; position: static; min-width: 0; max-width: none; box-shadow: none; border-right: 0; border-bottom: 0; border-top: 1px solid var(--c-line); }
  .table-wrap.stack table.compare:not(.text-table) tr > *:first-child { border-top: 0; }
  .table-wrap.stack table.compare:not(.text-table) tbody th { background: var(--c-beige-2); font-weight: 700; order: -2; }
  .table-wrap.stack table.compare:not(.text-table) td[data-label="向いている場合"] { order: -1; }
  .table-wrap.stack table.compare:not(.text-table) .num { white-space: normal; }   /* カード表示では数字のセルも折り返す（375px で横にはみ出していた。2026-10-29 再監査 N4） */
  .table-wrap.stack table.compare:not(.text-table) td[data-label]::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 700; color: var(--c-green-text); margin-bottom: 2px; letter-spacing: .06em; }
  /* 文章中心の表（text-table）：600px 未満では行ごとのカードにする（3〜4列の表で列が1〜2文字幅になっていた。第2次改善）。列が2つだけの表は項目名の札を出さない */
  .table-wrap:has(> table.text-table td[data-label]) { border: 0; background: transparent; overflow: visible; border-radius: 0; }
  table.compare.text-table:has(td[data-label]) { display: block; min-width: 0 !important; }
  table.compare.text-table:has(td[data-label]) thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.compare.text-table:has(td[data-label]) tbody { display: block; }
  table.compare.text-table:has(td[data-label]) tr { display: block; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); margin: 0 0 .7em; background: #fff; overflow: hidden; }
  table.compare.text-table:has(td[data-label]) th, table.compare.text-table:has(td[data-label]) td { display: block; position: static; min-width: 0; max-width: none; box-shadow: none; border: 0; border-top: 1px solid var(--c-line); }
  table.compare.text-table:has(td[data-label]) tr > *:first-child { border-top: 0; }
  table.compare.text-table:has(td[data-label]) tbody th { background: var(--c-beige-2); }
  table.compare.text-table:has(td[data-label]) td[data-label]::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 700; color: var(--c-green-text); margin-bottom: 2px; letter-spacing: .06em; }
  table.compare.text-table:has(td[data-label]):not(:has(thead th:nth-child(3))) td[data-label]::before { content: none; }
  /* 更新履歴の表：日付と区分は短いので、カードの1行目に横並びにする（第2次改善：1項目ずつ1行を使い間延びしていた） */
  .table-wrap.stack table.compare tr:has(> td[data-label="日付"] + td[data-label="区分"]):not([hidden]) { flex-direction: row; flex-wrap: wrap; align-items: baseline; }
  .table-wrap.stack table.compare td[data-label="日付"], .table-wrap.stack table.compare td[data-label="区分"] { border-top: 0; padding-bottom: 0; }
  .table-wrap.stack table.compare td[data-label="日付"] { font-weight: 700; }
  .table-wrap.stack table.compare td[data-label="区分"] { padding-left: 0; font-size: .8125rem; font-weight: 700; color: var(--c-green-text); }
  .table-wrap.stack table.compare td[data-label="日付"]::before, .table-wrap.stack table.compare td[data-label="区分"]::before { content: none !important; }
  .table-wrap.stack table.compare td[data-label="日付"] ~ td[data-label="内容"] { flex-basis: 100%; border-top: 0; }
  .table-wrap.stack table.compare td[data-label="日付"] ~ td[data-label="内容"]::before { content: none !important; }
  /* セルの結合（colspan）があり項目名を写せない文章の表は、カードにせず、列が潰れない幅を保って横スクロールにする */
  table.compare.text-table:not(:has(td[data-label])):has(thead th:nth-child(3)) { min-width: 540px; }
  table.compare.text-table:not(:has(td[data-label])):has(thead th:nth-child(3)) td { min-width: 7.5em; }
  /* 金額は大きく（カード表示のときの数字の強調） */
  .table-wrap.stack table.compare td.num, table.compare.text-table:has(td[data-label]) td.num { font-size: 1.06rem; }
  /* 文章中心の表でも金額のセルを折り返す（nowrap のため 320〜375px で6〜9表が横にはみ出していた）。数字の途中では折らない（2026-10-31 監査 N3） */
  table.compare.text-table .num { white-space: normal; overflow-wrap: normal; }
}
.next-action { margin: 0 0 1em; }
/* 折りたたみ（試作・2026-10-25）：スマホ幅で JS が動くときだけ。PC 幅と JS なしでは全部見せ、ボタンは出さない */
.fold-toggle, td.row-more { display: none; }
@media (max-width: 767px) {
  html.js .fold-toggle { display: block; width: 100%; margin: -.6em 0 1.4em; }
  html.js ul.foldable:not(.is-open) > li.fold-item { display: none; }
  html.js .fold-rows tr:not(.is-open) > .fold-cell { display: none !important; }
  html.js .fold-rows td.row-more { display: block; border-bottom: 0; padding: 6px 8px 8px; }
  html.js .fold-rows td.row-more .fold-toggle { margin: 0; }
}
table.compare .rank { display: block; font-weight: 800; color: var(--c-cta); font-size: .875rem; }
table.compare .num { font-weight: 700; white-space: normal; }   /* 金額と単位は .nw でひとかたまり。セル全体を折り返さないと、注記の長いセルで表がはみ出していた（評価・ベッドの表） */
table.compare .num .nw { white-space: nowrap; }   /* 金額と単位をひとかたまりに（ビルドが付ける。2026-10-31 監査 N3） */
table.compare .cell-cta .btn { min-height: 44px; padding: 8px 22px 8px 10px; font-size: .82rem; width: 100%; }
/* 2列の情報の表（運営者情報など）：見出しは生成り、値は白。行の間を白い線で区切る */
table.data { border-collapse: separate; border-spacing: 0 4px; width: 100%; font-size: .9rem; line-height: 1.7; }
table.data th, table.data td { padding: 12px 14px; text-align: left; vertical-align: top; border: 0; }
table.data th { background: var(--c-beige-2); width: 38%; font-weight: 700; border-radius: var(--radius) 0 0 var(--radius); }
table.data td { background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
table.data caption { text-align: left; font-weight: 700; margin-bottom: 6px; }
@media (max-width: 599px) {
  /* 2列の情報の表：スマホは項目名を上、内容を下に（左の欄が狭く縦長になっていた。第2次改善） */
  table.data, table.data tbody, table.data tr, table.data th, table.data td { display: block; width: auto; }
  table.data tr { margin-bottom: 8px; }
  table.data th { border-radius: var(--radius) var(--radius) 0 0; padding: 8px 14px; font-size: .875rem; }
  table.data td { border-radius: 0 0 var(--radius) var(--radius); }
}

/* ---------- ランキングカード ---------- */
.vendor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.vendor-card { position: relative; border: 2px solid var(--c-ink); border-radius: var(--radius-lg); padding: 18px 14px; background: #fff; box-shadow: var(--shadow); }
.vendor-card[hidden] { display: none; }
.vc-head { display: grid; gap: 8px; }
.vc-rank { font-family: var(--font-en-2); font-size: .85rem; font-weight: 700; color: var(--c-ink); background: var(--c-green); border: 1.5px solid var(--c-ink); border-radius: 999px; padding: 3px 14px; display: inline-block; margin-bottom: 4px; letter-spacing: .06em; }
.vc-name { font-size: 1.2rem; margin: 0; }
.vc-name a { color: var(--c-text); }
.vc-score .total { font-family: var(--font-en-2); font-size: 1.7rem; font-weight: 700; color: var(--c-cta); line-height: 1.1; }
.vc-score .total small { font-size: .8rem; font-weight: 600; color: var(--c-text-sub); }
.vc-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.vc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.vc-grid h4 { font-size: .9rem; margin: 0 0 4px; color: var(--c-text-sub); }
.vc-grid ul { padding-left: 1.2em; margin: 0; font-size: .92rem; line-height: 1.7; }
.reason { background: var(--c-beige); border-radius: var(--radius); padding: 12px 14px; font-size: .92rem; margin: 8px 0; }
.score-bars { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.score-bars li { display: grid; grid-template-columns: 8em 1fr 3.4em; gap: 6px; align-items: center; margin-bottom: 4px; }
.score-bars .bar { height: 10px; background: var(--c-bg-soft); border-radius: 999px; overflow: hidden; border: 1.5px solid var(--c-ink); }
.score-bars .bar i { display: block; height: 100%; background: var(--c-green); }
.score-bars .pt { text-align: right; font-variant-numeric: tabular-nums; }
.vc-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-top: 12px; align-items: start; }
.vc-cta .pr-inline { margin: 0; grid-column: 1 / -1; }
.vc-cta.no-tel > .btn { grid-column: 1 / -1; }
.vc-foot { margin-top: 10px; font-size: .8125rem; color: var(--c-text-sub); }
details.more summary { cursor: pointer; font-weight: 700; color: var(--c-brand-dark); min-height: 44px; display: flex; align-items: center; gap: 10px; list-style: none; }
/* 開閉できることが分かるよう、目次と同じ下向きの矢印を付ける（flex で既定の▶が消えていた。2026-11-02 監査 C-02・N2、ユーザーの承認） */
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: ""; flex-shrink: 0; margin: 0 4px 4px 2px; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
details.more[open] > summary::after { transform: translateY(4px) rotate(-135deg); }

/* 絞り込みで条件に合わない業者（隠さず薄く表示） */
.vendor-card.is-dim { border-style: dashed; background: var(--c-bg-soft); box-shadow: none; }
table.compare tr.is-dim > td, tr.is-dim > * { background: var(--c-bg-soft); color: var(--c-text-sub); }
tr.is-dim > th[scope="row"] { background: #ece7dc; }
.nomatch-tag, .cond-tag { display: inline-block; font-size: .8125rem; font-weight: 700; color: var(--c-ng); background: var(--c-ng-bg); border: 1px solid #e891a5; border-radius: 999px; padding: 0 8px; margin-bottom: 2px; }
.mismatch { font-size: .85rem; color: var(--c-ng); background: var(--c-ng-bg); border-radius: var(--radius); padding: 6px 10px; margin: 6px 0; }
.mismatch[hidden] { display: none; }
.vc-facts { margin: 10px 0; }
.vc-facts dd { margin-bottom: 4px; }
.reason ul { margin: 4px 0 0; padding-left: 1.2em; }
.cta-tel { display: grid; gap: 2px; text-align: center; }
.cta-tel .btn { line-height: 1.35; font-size: .9rem; flex-direction: column; }
.operator-box { border: 2px dashed var(--c-ad); border-radius: var(--radius-mid); padding: 14px; margin: 16px 0; background: var(--c-ad-bg); }
.operator-box h3 { margin-top: 0; }
.vendor-card.is-operator { border-color: var(--c-ad); }
.col-cta { display: none; }
.filter-tools { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .9rem; }
.toggle input { width: 20px; height: 20px; accent-color: var(--c-ink); }
.filter-bar[hidden] { display: none; }

.cond-tag { color: var(--c-warn); background: var(--c-warn-bg); border: 1px solid #e0b55c; border-radius: 999px; padding: 0 8px; margin-bottom: 2px; }
.mismatch.is-cond { color: var(--c-warn); background: var(--c-warn-bg); }
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin: .8em 0 0; }
/* 目的から探す（TOP）：2列のタイル。各タイルは44px以上。白いカード＋ずらした影、押すと沈む */
.shortcuts { margin: 0 0 1.8em; }
.shortcuts-title { font-family: var(--font-hd); font-weight: 700; font-size: 1.1rem; margin: 0 0 .6em; }
.shortcuts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }   /* スマホは1列（2列では1行5〜7字で縦長になっていた。第2次改善） */
.shortcuts a { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 64px; height: 100%; padding: 12px 40px 12px 16px; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); background: #fff; text-decoration: none; color: var(--c-text); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s; }
.shortcuts a::after { content: ""; position: absolute; right: 18px; top: 50%; margin-top: -4px; width: 8px; height: 8px; border-top: 2px solid var(--c-ink); border-right: 2px solid var(--c-ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.shortcuts a:hover { background: var(--c-sky); transform: translateY(3px); box-shadow: 0 1px 0 var(--c-mint); }
.shortcuts a:hover::after { transform: translateX(3px) rotate(45deg); }
.shortcuts b { color: var(--c-text); font-size: 1rem; line-height: 1.45; }
.shortcuts span { font-size: .8125rem; color: var(--c-text-sub); line-height: 1.5; margin-top: 2px; }
/* 地域ページ：このページの内容 */
.page-toc { margin: 0 0 1.6em; }
.page-toc-title { font-weight: 700; font-size: .9rem; margin: 0 0 .5em; color: var(--c-text-sub); }
/* このページの目次（地域ページ）：長い項目が丸い枠の中で2〜3行に折り返していたので、行の一覧にする（スマホ1列・PC 2列。第2次改善） */
.page-toc ul { list-style: none; margin: 0; padding: 4px 16px; display: grid; grid-template-columns: 1fr; background: #fff; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); }
.page-toc li { border-top: 1px dashed #d9d3c7; }
.page-toc li:first-child { border-top: 0; }
.page-toc a { position: relative; display: block; padding: 12px 28px 12px 2px; font-size: .92rem; text-decoration: none; line-height: 1.5; color: var(--c-text); }
.page-toc a::after { content: ""; position: absolute; right: 6px; top: 50%; margin-top: -6px; width: 7px; height: 7px; border-right: 2px solid var(--c-green-deep); border-bottom: 2px solid var(--c-green-deep); transform: rotate(45deg); transition: transform .25s var(--ease); }
.page-toc a:hover { color: var(--c-green-text); text-decoration: underline; }
.page-toc a:hover::after { transform: translateY(3px) rotate(45deg); }
.area-status { margin-top: 0; }
/* 公開中の地域（都道府県ごと） */
/* 公開中の地域（地方ごと）：白い面の中に「都道府県名」と「市区町村のボタン」を1行ずつ。PC は左に都道府県名・右にボタン、スマホは上下（第2次改善：2列の格子で市区町村のない県が多く、空きが目立った） */
.region-list { list-style: none; margin: .4em 0 1.2em; padding: 2px 18px; background: #fff; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); }
.region-list > li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 12px 0; border-bottom: 1px dashed #d9d3c7; line-height: 1.6; }
.region-list > li:last-child { border-bottom: 0; }
main .region-list > li { max-width: none; }
.region-list > li > a { display: inline-flex; align-items: center; min-height: 32px; font-weight: 700; width: fit-content; }
.region-list > li > .pref-links { margin-top: 0; }
.region-more summary { font-weight: 700; }
.cta-note { margin: 6px 0 0; }
.vc-cta .cta-note { grid-column: 1 / -1; }
.jump-links .btn { min-height: 48px; padding: 8px 30px 8px 16px; font-size: .95rem; }
.area-route { border-top: 1.5px dashed var(--c-ink); margin-top: 14px; padding-top: 12px; }
.route-links { display: flex; flex-wrap: wrap; gap: 10px; }
.route-links .btn { min-height: 48px; font-size: .95rem; }
.cautions h5, .vendor-card h5 { font-size: .95rem; margin: 10px 0 4px; color: var(--c-text-sub); }
.cautions ul, .vendor-card details ul { padding-left: 1.2em; margin: 0 0 6px; font-size: .95rem; }
.pre-cta { margin: 12px 0 0; }
.permit-summary { background: var(--c-ok-bg); border: 1.5px solid #7cc095; border-radius: var(--radius); padding: 10px 12px; margin: 0 0 8px; }
.vendor-top { margin: 0 0 1.5em; }

/* ---------- 絞り込み（地域ページ内） ---------- */
.filter-bar { background: #fff; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); padding: 14px; margin: 0 0 14px; display: grid; gap: 12px; }
.filter-bar fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.result-count { font-weight: 700; margin: 8px 0; }
.empty-state { border: 2px dashed var(--c-ink); border-radius: var(--radius-mid); padding: 16px; background: #fff; }
.empty-state[hidden] { display: none; }
.btn-reset { background: none; border: 0; color: var(--c-brand-dark); text-decoration: underline; font: inherit; min-height: 44px; padding: 0 4px; cursor: pointer; justify-self: start; }

/* ---------- 注意・チェックリスト ---------- */
.note { position: relative; background: var(--c-bg-note); border: 1.5px solid var(--c-orange); border-radius: var(--radius-mid); padding: 14px 16px; font-size: .92rem; margin: 0 0 1.2em; }
.note-title { font-weight: 700; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.note-title::before { content: "!"; content: "!" / ""; flex: 0 0 auto; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--c-orange); border: 1.5px solid var(--c-ink); color: var(--c-ink); font-family: var(--font-en-2); font-size: .8rem; line-height: 1; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; background: #fff; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); overflow: hidden; }
.checklist li { position: relative; padding: 12px 14px 12px 46px; border-bottom: 1px dashed #bfb8aa; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: ""; position: absolute; left: 14px; top: 16px; width: 20px; height: 20px; border: 2px solid var(--c-ink); border-radius: 6px; background: var(--c-mint); }
.checklist li::after { content: ""; position: absolute; left: 21px; top: 19px; width: 6px; height: 11px; border-right: 2.5px solid var(--c-ink); border-bottom: 2.5px solid var(--c-ink); transform: rotate(45deg); }

/* ---------- 地域リンク ---------- */
.region { border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); padding: 14px; background: #fff; }
.region h3 { margin: 0 0 6px; font-size: 1rem; border: 0; padding: 0; }
.pref-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pref-links a, .pref-links > li > span { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 16px; border-radius: 22px; font-size: .92rem; line-height: 1.45; }
.pref-links a { border: 1.5px solid var(--c-ink); text-decoration: none; background: #fff; color: var(--c-text); transition: background-color .2s, transform .25s var(--ease); }
.pref-links a:hover { background: var(--c-mint); transform: translateY(-2px); }
/* 準備中の項目（リンクでない span）だけ点線の枠。リンクの中の補足（span.small）には枠を付けない（2026-10-29 U1） */
.pref-links > li > span { border: 1.5px dashed #9c9586; color: var(--c-text-sub); }
.pref-links a .small { margin-left: 4px; font-size: .78rem; color: var(--c-green-text); font-weight: 700; }
.region-head { margin: 1.6em 0 .5em; font-size: 1.05rem; border-bottom: 0; padding: 0 0 0 12px; border-left: 4px solid var(--c-green); }
.region-list .pref-links { margin-top: 6px; }

/* ---------- 目次 ---------- */
.toc { border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); padding: 4px 16px; margin: 0 0 1.6em; background: #fff; }
.toc summary { font-weight: 700; cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: 10px; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::before { content: "INDEX"; content: "INDEX" / ""; font-family: var(--font-en-2); font-size: .7rem; letter-spacing: .16em; color: #fff; background: var(--c-ink); border-radius: 999px; padding: 4px 10px 3px; line-height: 1; }
.toc summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--c-ink); border-bottom: 2px solid var(--c-ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.toc details[open] summary::after { transform: rotate(-135deg); }
.toc ol { margin: 4px 0 12px; padding-left: 1.5em; font-size: .92rem; }
.toc li { padding: 3px 0; }
.toc li::marker { color: var(--c-green-text); font-weight: 700; }

/* ---------- FAQ（FAQPage構造化データは付けない） ---------- */
.faq details { border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq summary { position: relative; font-weight: 700; padding: 14px 48px 14px 52px; cursor: pointer; min-height: 52px; list-style: none; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; content: "Q" / ""; position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-green); border: 1.5px solid var(--c-ink); font-family: var(--font-en-2); font-weight: 700; font-size: .85rem; line-height: 1; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 22px; width: 9px; height: 9px; border-right: 2px solid var(--c-ink); border-bottom: 2px solid var(--c-ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.faq details[open] summary { background: var(--c-sky); }
.faq details > div { padding: 12px 18px 16px 52px; }
main details > summary { min-height: 44px; }
@media (max-width: 599px) { .faq details > div { padding-left: 18px; } }

/* ---------- 出典 ---------- */
.sources { font-size: .8125rem; color: var(--c-text-sub); border-top: 1.5px dashed var(--c-ink); margin-top: 2.4em; padding-top: 1em; }
.sources ol { padding-left: 1.4em; }
.src-inline { font-size: .8125rem; color: var(--c-text-sub); }

/* ---------- スマホ固定アクション ---------- */
.sticky-actions { display: flex; position: fixed; left: 8px; right: 8px; bottom: 8px; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); box-shadow: var(--shadow-sm); z-index: 40; }
.sticky-actions .btn { flex: 1; min-height: 44px; font-size: .88rem; padding: 8px 22px 8px 10px; }
.sticky-actions .pr-label { align-self: center; font-size: 1rem; margin: 0; }
.sticky-actions[hidden], .vendor-card[hidden], tr[hidden] { display: none; }
body.has-sticky { padding-bottom: 84px; }

/* ---------- ページの先頭へ戻るボタン（緑の丸い顔。スクロールすると下から出てくる） ---------- */
/* 引っ込んでいる間は visibility: hidden にして、Tab で見えない所にフォーカスが移らないようにする（評価 N2-1）。スマホは 44px で右下の隅に寄せ、上へ戻るときだけ出す（本文に重ならないように。評価 N1-2。JS） */
.page-top { position: fixed; right: 6px; bottom: 6px; z-index: 45; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; transform: translateY(140%); visibility: hidden; transition: transform .5s cubic-bezier(.175, .885, .32, 1.2), visibility 0s .5s; }
.page-top.is-show { transform: translateY(0); visibility: visible; transition: transform .5s cubic-bezier(.175, .885, .32, 1.2), visibility 0s 0s; }
.page-top svg { display: block; width: 100%; height: 100%; overflow: visible; }
.page-top .face-mouth { transition: transform .35s var(--ease); transform-box: fill-box; transform-origin: 50% 50%; }
.page-top .face-arrow { transition: transform .35s var(--ease); }
.page-top:hover .face-arrow { transform: translateY(-4px); }
.page-top:hover .face-mouth { transform: scale(1.25, 1.4); }
body.has-sticky .page-top { bottom: 92px; }
html:not(.js) .page-top { display: none; }

/* ---------- フッター（空色の面・雲・大きな英字） ---------- */
.site-footer { position: relative; background: var(--c-sky); color: var(--c-text); margin-top: 0; padding: 72px 0 0; font-size: .875rem; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 64px; background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50'%3E%3Cpath d='M14 38a11 11 0 0 1 11-11a15 15 0 0 1 27-4a11 11 0 0 1 18 9a8 8 0 0 1 0 16H20a8 8 0 0 1-6-10z' fill='%23fff' stroke='%231a1a1a' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat left 14% top 18px / 110px auto,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50'%3E%3Cpath d='M14 38a11 11 0 0 1 11-11a15 15 0 0 1 27-4a11 11 0 0 1 18 9a8 8 0 0 1 0 16H20a8 8 0 0 1-6-10z' fill='%23fff' stroke='%231a1a1a' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 22% top 8px / 80px auto; pointer-events: none; }
.site-footer a { color: var(--c-text); display: inline-block; padding: 6px 0; text-decoration: none; }
.site-footer a:hover { color: var(--c-cta); text-decoration: underline; }
.footer-top { display: grid; gap: 22px; margin-bottom: 26px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--font-hd); font-weight: 700; font-size: 1.05rem; line-height: 1.35; }
.footer-brand .logo-mark { width: 52px; height: 52px; }
.footer-tagline { display: block; font-family: var(--font); font-weight: 500; font-size: .8rem; color: var(--c-text-sub); }
.footer-big { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-big a { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 52px 14px 18px; position: relative; background: #fff; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); box-shadow: var(--shadow-sm); font-family: var(--font-hd); font-weight: 700; font-size: .9rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.footer-big a::before { content: attr(data-en); content: attr(data-en) / ""; font-family: var(--font-en); font-weight: 400; font-size: 1.45rem; line-height: 1; color: var(--c-ink); letter-spacing: 0; }
.footer-big a::after { content: ""; position: absolute; right: 14px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 6px; background: var(--c-cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 3h6v6M9 3L3 9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 12px; transition: transform .35s var(--ease); }
.footer-big a:hover { text-decoration: none; color: var(--c-text); transform: translateY(3px); box-shadow: 0 1px 0 var(--c-mint); }
.footer-big a:hover::after { transform: rotate(45deg); }
.footer-cols { display: grid; grid-template-columns: 1fr; gap: 22px; }   /* スマホは1列（2列では1行6〜9字で折り返していた。第2次改善） */
.footer-cols a { padding: 10px 0; }
@media (min-width: 560px) and (max-width: 767px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 22px 24px; } }
.footer-cols h2 { font-size: .95rem; border: 0; margin: 0 0 4px; padding: 0; color: var(--c-text); }
.footer-heading { font-family: var(--font-hd); font-size: .95rem; font-weight: 700; margin: 0 0 6px; color: var(--c-text); padding-bottom: 6px; border-bottom: 1.5px solid var(--c-ink); }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { position: relative; padding-left: 14px; line-height: 1.6; }
.footer-cols li::before { content: ""; position: absolute; left: 0; top: 50%; margin-top: -3px; width: 6px; height: 6px; background: var(--c-green-deep); transform: rotate(45deg); }
.footer-legal { border-top: 1.5px solid var(--c-ink); margin: 24px 0 0; padding-top: 14px; color: var(--c-text-sub); font-size: .8125rem; line-height: 1.8; }
.site-footer .footer-legal a { display: inline; padding: 0; text-decoration: underline; color: var(--c-brand); }
.footer-word { margin: 18px 0 0; padding: 0 var(--gutter) 10px; font-family: var(--font-en); font-weight: 400; color: var(--c-ink); line-height: .86; letter-spacing: 0; font-size: clamp(2rem, calc((min(100vw, 1440px) - 40px) / 9.3), 11.5rem); white-space: nowrap; max-width: 1440px; margin-left: auto; margin-right: auto; }
.footer-word span { display: inline-block; }

/* ---------- 汎用 ---------- */
main p, main li { max-width: 44em; }
.section { margin-bottom: 2.4em; }
/* 下層ページの長い記事：節の境目に細い線を入れ、どこから次の話題かを分かりやすくする（TOP は除く。第2次改善） */
.panel:not(.is-top *) > .section + .section, .panel article > .section + .section { border-top: 1.5px dashed #cfc6b4; padding-top: .2em; }
.cols-2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.card { position: relative; border: 1.5px solid var(--c-ink); border-radius: var(--radius-mid); padding: 18px 18px 8px; background: #fff; box-shadow: var(--shadow-sm); }
.card > :last-child { margin-bottom: 10px; }
.card h3 { width: auto; }
.card h3 { margin-top: 0; }
.card + .card { margin-top: 16px; }
.card { margin-bottom: 16px; }
.cols-2 > .card { margin: 0; }
.link-list { padding-left: 0; list-style: none; }
.link-list li { position: relative; padding: 5px 0 5px 18px; }
.link-list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 7px; height: 7px; border-top: 2px solid var(--c-green-deep); border-right: 2px solid var(--c-green-deep); transform: rotate(45deg); }
/* サイトマップ：都道府県の下の市区町村など、1段下のページは字下げ（2026-11-01 評価 N1-5） */
.sitemap-list li.sub { margin-left: 1.3em; font-size: .94rem; }
.tag { display: inline-block; font-size: .78rem; padding: 2px 10px; border-radius: 999px; background: var(--c-mint); border: 0; margin: 0 4px 4px 0; font-weight: 700; }
/* 項目名と内容の組（地域ページのカードなど）：スマホは「上に項目名・下に内容」、広い画面だけ左右に並べる（第2次改善：左の欄が狭く内容が縦長になっていた） */
.kv { display: grid; grid-template-columns: 1fr; gap: 0; font-size: .94rem; margin: 0 0 1em; }
.kv dt { color: var(--c-green-text); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; padding-top: 10px; border-top: 1px dashed #d9d3c7; }
.kv dt:first-child { border-top: 0; padding-top: 0; }
.kv dd { margin: 2px 0 0; padding-bottom: 10px; line-height: 1.75; }
main ul:not([class]) li::marker, main ol:not([class]) li::marker { color: var(--c-green-text); }

/* ---------- 動き（JS が付ける。視差効果を減らす設定・JS なしでは何もしない） ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js-motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rv-d, 0s); }
  html.js-motion .rv.is-in { opacity: 1; transform: none; }
  /* まだ出ていない要素へページ内リンクで移ると、下へずらした分（26px）だけ上がヘッダーの下に隠れていたので、その分を足す（2026-11-02 監査 B-05。動きは変えない） */
  html.js-motion .rv:not(.is-in) { scroll-margin-top: 26px; }
  /* 見出しも透明度と位置だけで出す（字間や clip-path を動かすと行の折り返しが変わる・IntersectionObserver が反応しないため） */
  /* 英字の飾り文字：1文字ずつ下から */
  .page-en span, .top-en span, .footer-word span { animation: char-up .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 55ms + .1s); }
  .footer-word span { animation: none; }
  html.js-motion .footer-word.rv { opacity: 1; transform: none; }
  html.js-motion .footer-word.rv span { transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
  html.js-motion .footer-word.rv.is-in span { transform: none; }
  /* 登場の動きは短く・遅れなし（LCP の遅れを減らす。評価 N2-3） */
  .top-hero .page-head { animation: fade-up .7s .1s var(--ease) both; }
  .top-hero-art img { animation: pop-in .8s 0s var(--ease) both; }
  .footer-word { overflow: hidden; }
}
@keyframes char-up { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-up { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pop-in { from { transform: scale(.94) translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }

/* =========================================================
   タブレット以上（768px〜）
   ========================================================= */
@media (min-width: 768px) {
  :root { --header-h: 80px; --gutter: 24px; }
  html { scroll-padding-top: 96px; }
  h1 { font-size: 2.1rem; line-height: 1.45; }
  h2 { font-size: 1.6rem; margin-top: 2.6em; }
  h3 { font-size: 1.2rem; }
  .card { padding: 22px 24px 10px; }
  .header-inner { padding: 0 20px 0 24px; }
  .logo-mark { width: 44px; height: 44px; }
  .logo-text { font-size: 1.05rem; }
  .logo-sub { font-size: .8rem; }
  .page-hero { padding: calc(var(--header-h) + 22px) 0 88px; }
  /* 文字の大きさは本文の最大幅（--maxw）までで計算する（広い画面で右端が切れていた。フッターの英字も最大 1440px で計算。2026-11-02 監査 A-03・B-03、ユーザーの承認） */
  .page-en { font-size: clamp(2.6rem, calc((min(100vw, var(--maxw)) - 56px) / (var(--len, 6) * 1.34)), 8rem); }
  .panel { margin: -44px 0 0; padding: 40px 40px 48px; border-radius: var(--radius-lg); }
  .page-body { padding-bottom: 80px; }
  .top-hero { padding: calc(var(--header-h) + 10px) 0 72px; }
  .top-hero-inner { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
  .top-hero-art { order: 0; margin: 0; }
  .top-en { font-size: clamp(2.6rem, 6.2vw, 5.3rem); }
  .top-hero .page-head h1 { font-size: 1.5rem; }
  .is-top .panel { margin-top: -24px; }
  .is-top .panel > .section > h2, .is-top .panel > section > h2 { font-size: 2rem; }
  .answer-box { padding: 30px 26px 18px; }
  /* 事実のカードは2列（3列では1行が12字前後になり、カードが縦長になっていた。第2次改善） */
  .facts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .facts li:last-child:nth-child(2n+1) { grid-column: 1 / -1; max-width: none; }   /* 最後の1枚だけが行に残るときは横幅いっぱいに（2026-10-29 U7。本文の行の長さの上限 main li を外す） */
  .shortcuts ul { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .finder { padding: 30px 32px 24px; }
  .finder-steps { grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .finder-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .filter-bar { grid-template-columns: 1fr 2fr; align-items: start; }
  .filter-bar .full { grid-column: 1 / -1; }
  table.compare { font-size: .9rem; min-width: 760px; }
  table.compare th[scope="row"], table.compare thead th:first-child { min-width: 148px; max-width: 180px; }
  table.data th { width: 30%; }
  .vendor-card { padding: 24px; }
  .vc-head { grid-template-columns: 1fr auto; align-items: start; }
  .vc-score { text-align: right; min-width: 120px; }
  .vc-grid { grid-template-columns: 1.1fr 1fr; gap: 12px 20px; }
  .vc-cta { grid-template-columns: 1fr 1fr; gap: 10px 14px; }

  .region-list { padding: 2px 24px; }
  .region-list > li { grid-template-columns: 8em 1fr; gap: 12px; align-items: start; }
  .region-list > li > a { min-height: 44px; }
  .page-toc ul { grid-template-columns: 1fr 1fr; column-gap: 28px; padding: 6px 20px; }
  .page-toc li:nth-child(2) { border-top: 0; }
  .cols-2 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .footer-top { grid-template-columns: 1fr 1.3fr; align-items: center; }
  .footer-big { grid-template-columns: 1fr 1fr; }
  .footer-big a::before { font-size: 1.7rem; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 18px 32px; }
  .footer-cols a { padding: 9px 0; }
  .sticky-actions { display: none; }
  body.has-sticky { padding-bottom: 0; }
  body.has-sticky .page-top { bottom: 16px; }
  .page-top { right: 18px; bottom: 16px; width: 60px; height: 60px; }
  .kv { grid-template-columns: 9.5em 1fr; gap: 0 18px; }
  .kv dt, .kv dd { padding: 10px 0; border-top: 1px dashed #d9d3c7; margin: 0; }
  .kv dt:first-of-type, .kv dt:first-of-type + dd { border-top: 0; padding-top: 2px; }
  .kv dt { font-size: .875rem; color: var(--c-text-sub); }
}

/* =========================================================
   PC（1024px〜）：白い丸いナビを常に表示し、右端に朱色のボタン
   ========================================================= */
@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .site-header.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  /* スクロール後は本文の上に重なるので、ロゴも白い丸い面に載せる */
  .logo { padding: 6px 18px 6px 6px; border-radius: 999px; transition: background-color .3s, box-shadow .3s; }
  .site-header.is-scrolled .logo { background: #fff; box-shadow: 0 2px 14px rgba(26, 26, 26, .08); }
  .gnav, html:not(.js) .gnav { display: flex; align-items: center; gap: 12px; position: static; inset: auto; padding: 0; background: transparent; overflow: visible; animation: none; }
  .gnav ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 6px 10px; background: #fff; border-radius: 999px; box-shadow: 0 2px 14px rgba(26, 26, 26, .08); }
  .gnav li { border: 0; }
  .gnav a { position: relative; min-height: 44px; padding: 0 14px; font-size: .875rem; letter-spacing: .05em; justify-content: center; }
  .gnav a::after { content: none; }
  .gnav ul a::before { content: ""; position: absolute; left: 50%; bottom: 7px; width: 6px; height: 6px; margin-left: -3px; background: var(--c-cta); transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
  .gnav ul a:hover { color: var(--c-cta); }
  .gnav ul a:hover::before, .gnav ul a[aria-current="page"]::before { transform: rotate(45deg) scale(1); }
  .gnav .gnav-cta { margin: 0; min-height: 52px; padding: 0 34px 0 22px; font-size: .9rem; border-radius: var(--radius); transition: background-color .25s, transform .3s var(--ease); }
  .gnav .gnav-cta::after { content: ""; position: absolute; right: 9px; bottom: 9px; width: 9px; height: 9px; border-top: 0; border-left: 0; border-right: 2px solid #fff; border-bottom: 2px solid #fff; border-bottom-right-radius: 4px; transform: none; margin: 0; transition: transform .35s var(--ease); }
  .gnav .gnav-cta:hover { background: var(--c-cta-dark); color: #fff; transform: scale(1.04); }
  .gnav .gnav-cta:hover::after { transform: translate(2px, 2px); }
  table.compare th, table.compare td { min-width: 0; }
  /* 列が多い表で最後の列（出典など）が1〜2文字幅に潰れていた（第2次改善）。文章中心でない表の各列は最低 8.5em にし、入りきらなければ横スクロールにする */
  table.compare:not(.text-table) td { min-width: 8.5em; }
  table.compare td[data-label="出典"] { min-width: 10em; font-size: .8125rem; }
  /* 原稿の表に書かれた最低幅（style="min-width"）は、PC では列の最低幅で足りるので外す。8列以上の表は数字の列が多いので列の最低幅を小さく（評価：1280px で4つの表が 10〜39px だけはみ出していた） */
  table.compare[style*="min-width"] { min-width: 0 !important; }
  table.compare:has(thead th:nth-child(8)):not(.text-table) td { min-width: 6.5em; }
  table.compare .col-price { min-width: 9.5em; }
  table.compare th[scope="row"], table.compare thead th:first-child { min-width: 9em; }
  .col-cta { display: table-cell; }
  table.compare .cell-cta .btn, table.compare .col-cta .btn { white-space: nowrap; }
  .logo-text { font-size: 1.1rem; }
  .panel { padding: 48px 56px 64px; }
  /* 表は本文の左右の余白まで広げ、列の幅を確保する */
  .panel .table-wrap { margin-left: -24px; margin-right: -24px; }
  .panel .scroll-hint { margin-left: -24px; }
  .is-top .panel { padding-top: 48px; }
  .is-top .panel > .section:nth-of-type(even) { max-width: 860px; padding: 8px 40px 32px; margin-left: auto; margin-right: auto; }
  .is-top .panel .table-wrap { margin-left: -40px; margin-right: -40px; }
  .top-hero .page-head h1 { font-size: 1.7rem; }
  .footer-top { grid-template-columns: 1fr 1.6fr; }
}
@media (min-width: 1280px) {
  .panel { padding: 56px 80px 72px; }
  .panel .table-wrap { margin-left: -40px; margin-right: -40px; }
  .panel .scroll-hint { margin-left: -40px; }
}

@media (max-height: 500px) {
  .site-header, .sticky-actions { position: static; }
  body.has-sticky { padding-bottom: 0; }
  html { scroll-padding-top: 0; scroll-padding-bottom: 0; }
  .page-hero, .top-hero { margin-top: 0; padding-top: 18px; }
}
@media (max-width: 359px) {
  .logo-sub { display: none; }
  .logo-text { font-size: .85rem; }
}
/* 強制カラー（Windows のハイコントラストなど）：メニューボタンの枠と3本線が背景と同じ色になって消えていたので、システムの色で描く（2026-11-01 評価 M2-2） */
@media (forced-colors: active) {
  .menu-toggle { border: 2px solid ButtonText; }
  .menu-icon i { background: ButtonText; forced-color-adjust: none; }
  /* ヘッダーの「地域から探す」（朱色の面）は背景が消えて普通の文字に見えていたので、枠を描く（2026-11-02 監査 C-06。通常の表示は変わらない） */
  .gnav .gnav-cta { border: 2px solid LinkText; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header, .page-top, .btn, .shortcuts a, .footer-big a { transition: none; }
  .gnav.is-open { animation: none; }
}

@media print {
  .site-header, .sticky-actions { position: static; }
  .finder, .filter-bar, .sticky-actions, .menu-toggle, .page-top, .footer-word { display: none; }
  .page-hero, .top-hero { margin-top: 0; padding-top: 12px; }
  body { background: #fff; }
}
/* メニューを開いている間：ヘッダーの変形・ぼかしをやめる（固定配置のメニューがヘッダーの中に閉じ込められないように） */
body.menu-open .site-header { transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: transparent; box-shadow: none; }
.site-header .logo { position: relative; z-index: 3; }
@media print { .rv { opacity: 1 !important; transform: none !important; clip-path: none !important; } }
