/* 新車試乗ナビのデザイン（本番 2026-11-26 版・A 案の配色）をそのまま写したもの。正本：~/work/mops/clients/weins/knowledge/design-master/design-master.md と ~/work/hln/weins/seo-llmo-1914/release/2026-11-26/site/src/styles/。直すときは向こうの決まりに合わせ、ここでは書き換えない（このサイトだけの足しは src/style.css） */
/* デザイントークン（正：~/work/mops/clients/weins/knowledge/design-master/design-master.md と tokens.json。2026-10-22 デザイン刷新） */
:root {
  /* 色の役割 */
  --red: #007A8F; /* 差し色：ウエインズの水色の濃い版（A 案・白い文字との差 5.02:1・薄い水色の地 4.68:1） MOPS #1940 */
  --red-d: #00677A; /* 差し色を押したとき MOPS #1940 */
  --red-soft: #EEF9FB; /* よくある質問の開いた見出し・選択中の地（水色のごく薄い地） MOPS #1940 */
  --cta: #E50322;      /* 公式サイトへ移る予約のボタンだけ：ウエインズの予約の赤（白い文字との差 4.81:1）MOPS #1940 */
  --cta-d: #C2021C;    /* 予約のボタンを押したとき MOPS #1940 */
  --ink: #24272A;      /* 文字・主なボタン（暗いボタン） */
  --ink-2: #4A4F55;    /* 補足の文字 */
  --g60: #666666;      /* 注記の文字（白地との差 5.7:1） */
  --line: #DDDDDD;     /* カード・表の線 */
  --line-2: #999999;   /* 枠のボタン・入力欄の線 */
  --gray: #F7F7F7;     /* 灰の帯・カードの中の箱 */
  --white: #FFFFFF;
  --yellow: #FFD700; /* 下線の強調・手順の札（ウエインズの LP の黄色。上の文字は --ink） MOPS #1940 */
  --pr-bg: #FFF8E1;    /* 広告の表示の帯だけに使う */
  --pr-tx: #6B5412;
  --pr-bd: #E8D48A;
  --focus: 0 0 0 3px rgba(24, 183, 205, .45); /* 選んだ部品の輪（ウエインズの水色 #18B7CD） MOPS #1940 */

  /* 文字（外の書体は読み込まない：外部送信を増やさないため） */
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;

  /* 角丸（部品ごとに決める） */
  --r-btn: 12px;
  --r-card: 12px;
  --r-box: 8px;
  --r-pill: 999px;

  /* 余白 */
  --side: 24px;
  --sec: 56px;
  --sec-s: 40px;
}
/* 全体のスタイル（2026-10-22 デザイン刷新。決まりは knowledge/design-master/design-master.md） */

* { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
/* 動きを減らす設定の端末では、滑らかなスクロールと出し入れの動きを止める */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important } }
/* 本文は語の途中で折れてよいが、行の頭に「ー」・小さい字・「々」を置かない（line-break: strict。「このポリシ／ー」「画像はイメ／ージ」があった。10/23） */
body { font-family: var(--font); color: var(--ink); background: var(--white); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; line-break: strict }
img { max-width: 100%; height: auto; display: block }
a { color: inherit }
ul, ol { list-style: none }
button, select, input { font-family: var(--font); font-size: 16px; color: var(--ink) }
button { cursor: pointer; border: none; background: none }
:focus-visible { outline: none; box-shadow: var(--focus) }
.kp { word-break: keep-all; overflow-wrap: anywhere }
/* 文の最後の行に 1〜2 字だけ残さない（text-wrap: pretty。対応していないブラウザは今までどおり） */
p, li, td, dd { text-wrap: pretty }
/* 見出し・ボタン・札・注記（.note・.dnote・画像の説明。長くても 141 字）は、語の途中で折り返さない。ビルドで文節の切れ目に <wbr> を入れてある（integrations/wbr-ja.mjs）。
   ボタン・ヘッダーとメニューの運営者の表示・フッターの見出しと著作権表示・予約のシートの選択肢・カードの札とリンク・目次・あわせて読むのリンク・検索の結果・コピーの知らせも同じ（10/23。
   JavaScript が組む文は、組むところで <wbr> を書き、かっこは lib/wbr.ts でまとめる）。
   keep-all のところは <wbr> と句読点・空白でだけ折り返し、行の長さをそろえる（balance） */
h1, h2, h3, h4, summary, th, table.ftable td, .btn-dark, .btn-line, .tlink, .gonote, .sec-sub, .upd, .note, .dnote, figcaption, .kv .h1, .kv .sub, .kv .kv-note, .flow .std, .flow .fnote, .ccard .nm, .stickycta .sb, .acard .t,
button, .gnav-op, .ftag, .fcols b, .fcopy, .lead, .opt b, .opt span, .tag-s, .ccard .go, .acard .k, .art .toc a, .list-ck a, .chip, .res-head, .res-empty, #toast { word-break: keep-all; overflow-wrap: anywhere }
h1, h2, h3, h4, summary, .btn-dark, .btn-line, .gonote, .sec-sub, .kv .kv-note, .flow .std, .flow .fnote { text-wrap: balance }
/* ビルドが入れる折らないまとまり（数字の範囲・かっこと隣の字。integrations/wbr-ja.mjs）。
   span にすると、部品の「.opt span」などの指定がかかって別の行になったため、専用の要素にしてある（10/23）。
   flex・grid の箱の中の文に入ると、まとまりが別の部品になり間が空くので、そうした箱の文は 1 つの要素で包む */
no-wrap { white-space: nowrap }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.red { color: var(--red) }
.mt8 { margin-top: 8px } .mt12 { margin-top: 12px } .mt16 { margin-top: 16px } .mt24 { margin-top: 24px } .mt32 { margin-top: 32px }

/* ============ 枠：広告の表示の帯・ヘッダー・メニュー・パンくず・フッター ============ */
.prbar { position: sticky; top: 0; z-index: 120; background: var(--pr-bg); color: var(--pr-tx); border-bottom: 1px solid var(--pr-bd); font-size: 12px; font-weight: 700; text-align: center; padding: 6px 8px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere }
/* 帯は 375 の幅から 1 行（360 は 12px を守って 2 行）。札の余白はそのために詰めてある */
.prbar b { display: inline-block; background: var(--pr-tx); color: #fff; border-radius: 3px; padding: 0 5px; margin-right: 4px; font-size: 12px; letter-spacing: .04em }
header.site { background: var(--white); border-bottom: 1px solid var(--line) }
.hd { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 8px 12px 8px var(--side); max-width: 1040px; margin: 0 auto; position: relative }
.logo a { text-decoration: none; display: flex; align-items: center; min-height: 44px }
.logo b { display: block; font-size: 21px; font-weight: 800; line-height: 1.25; letter-spacing: .02em }
.logo b i { font-style: normal; color: var(--red) }
details.menu > summary { list-style: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; width: 56px; height: 52px; cursor: pointer; border-radius: var(--r-box); font-size: 12px; font-weight: 700; color: var(--ink) }
details.menu > summary::-webkit-details-marker { display: none }
details.menu > summary svg { display: block; width: 24px; height: 24px }
details.menu > summary .x { display: none }
details.menu[open] > summary .x { display: block }
details.menu[open] > summary .b3 { display: none }
.gnav { position: absolute; left: 0; right: 0; top: 100%; z-index: 115; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 8px 16px rgba(36, 39, 42, .08); padding: 4px var(--side) 12px }
.gnav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 16px; font-weight: 700 }
.gnav a::after { content: ""; width: 8px; height: 8px; border-top: 2px solid var(--ink); border-right: 2px solid var(--ink); transform: rotate(45deg); margin-right: 6px }
.gnav a[aria-current="page"] { color: var(--red) }
.gnav .gnav-op { font-size: 12px; color: var(--g60); padding-top: 10px; line-height: 1.6 }
/* 閉じたメニューの中身は、ブラウザが描かなくても 56px 幅で組まれ、押せる物の点検で上のリンクと重なって数えられていた（2026-11-08）。閉じている間は組まない */
details.menu:not([open]) .gnav { display: none }
.pcnav { display: none }
.bc { font-size: 12px; color: var(--g60); padding: 10px var(--side) 0; display: flex; gap: 6px; flex-wrap: wrap; max-width: 1040px; margin: 0 auto }
.bc a { text-decoration: underline; text-underline-offset: 2px }
footer.site { background: var(--gray); color: var(--ink); padding: 40px 0 96px; border-top: 1px solid var(--line) }
footer.site .flogo { font-size: 20px; font-weight: 800 }
footer.site .flogo i { font-style: normal; color: var(--red) }
footer.site .ftag { font-size: 13px; color: var(--ink-2); margin-top: 2px }
.fcols { display: grid; gap: 24px; margin-top: 24px }
.fcols b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px }
/* フッターのリンクは押せる高さ 44px（8px では 38px で、ui_audit の T02 に当たった。11/07） */
.fcols a { display: block; font-size: 14px; padding: 11px 0; color: var(--ink-2); text-decoration: none }
/* 文字だけだとリンクに見えにくい（11/23 平野さん「リンクに見えない」と同じ種類）。一覧のタイルと同じ赤い矢印を文の後ろに付ける */
.fcols a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: translateY(-2px) rotate(45deg) }
.fcols a:hover { text-decoration: underline }
/* フッターの開示と正確性の文（法務の案）は、文節の切れ目（<wbr>）でだけ折る（360 の幅で「ウエインズトヨ／タ」「努め／ています」と折れた。11/07） */
.fdisc { font-size: 12px; color: var(--ink-2); border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; line-height: 1.8; text-wrap: pretty; word-break: keep-all; overflow-wrap: anywhere }
.fcopy { font-size: 12px; color: var(--g60); margin-top: 12px }

/* ============ 並べ方：幅・節・帯 ============ */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 var(--side) }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--side) }
.sec { padding: var(--sec) 0 }
.sec.s { padding: var(--sec-s) 0 }
.gray { background: var(--gray) }
.sec-h { font-size: 24px; font-weight: 800; line-height: 1.35; text-align: center; word-break: keep-all; overflow-wrap: anywhere }
.sec-h.l { text-align: left }
.sec-sub { font-size: 14px; font-weight: 700; text-align: center; color: var(--ink-2); margin-top: 10px; line-height: 1.7 }
.sec-sub.l { text-align: left }
.upd { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 6px }
.lead { font-size: 15px; line-height: 1.8; margin-top: 12px }
.note { font-size: 12px; color: var(--g60); line-height: 1.7 }
.dnote { border-radius: var(--r-box); padding: 10px 14px; font-size: 12px; color: var(--g60); line-height: 1.7; margin-top: 12px; background: var(--gray) }
.page-head { padding: 24px 0 8px }
.page-head h1 { font-size: 26px; font-weight: 800; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere }
.page-head .lead { color: var(--ink-2) }
.h3 { font-size: 20px; font-weight: 800; line-height: 1.45; margin: 28px 0 10px; word-break: keep-all; overflow-wrap: anywhere }
.h3.c { text-align: center }

/* ============ 最初の画面（赤い帯） ============ */
.kv { background: var(--red); color: var(--white); text-align: center; padding: 26px var(--side) 0; overflow: hidden }
/* 中身の幅は .wrap と同じ（1040px から左右の余白を引いた幅）。ヘッダーのロゴと左の端をそろえる */
.kv-in { max-width: calc(1040px - var(--side) * 2); margin: 0 auto }
.kv .h1 { font-size: 15px; font-weight: 700; line-height: 1.5 }
.kv .catch { font-size: 28px; font-weight: 800; line-height: 1.35; margin-top: 8px; word-break: keep-all; overflow-wrap: anywhere }
.kv .catch .em { font-size: 38px }
.kv .sub { font-size: 15px; font-weight: 700; margin-top: 14px }
.kv .big { font-size: 22px; font-weight: 800; line-height: 1.4; margin-top: 2px; word-break: keep-all }
/* 黄色の下線は 1 本の帯（文字の大きさが違う語をまたいでも切れ目が出ない） */
.kv .big .ul { display: inline-block; position: relative; padding-bottom: 5px; line-height: 1.2 }
.kv .big .ul::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--yellow) }
.kv .big .num { font-size: 32px }
.kv .kv-note { font-size: 12px; font-weight: 700; margin-top: 10px; line-height: 1.6 }
.kv .fig { background: var(--white); border-radius: var(--r-card) var(--r-card) 0 0; margin: 18px auto 0; padding: 12px 12px 0; max-width: 440px }
.kv .fig img { width: 100%; height: auto; border-radius: var(--r-box) var(--r-box) 0 0 }
.kv .fig figcaption { font-size: 12px; color: var(--g60); text-align: right; padding: 4px 0 6px }
.kv.lite { padding-bottom: 28px }
.kv.lite .catch { font-size: 26px }

/* 選ばれる理由の型：数字の 3 つの箱（数字は出典と時点つき） */
.facts3 { padding: 20px var(--side) 22px }
.facts3 .t { font-size: 15px; font-weight: 800; text-align: center }
.facts3 ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; max-width: 760px; margin-left: auto; margin-right: auto }
.facts3 li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-box); padding: 10px 4px 9px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere }
.facts3 li b { display: block; color: var(--red); font-size: clamp(18px, 5.6vw, 24px); font-weight: 800; line-height: 1.25; white-space: nowrap }
.facts3 li b small { font-size: 13px; margin-left: 1px }
.facts3 .dnote { max-width: 760px; margin-left: auto; margin-right: auto }
.tri { width: 0; height: 0; margin: 0 auto; border-left: 44px solid transparent; border-right: 44px solid transparent; border-top: 22px solid var(--red) }

/* ============ 探す（車種と地域を選ぶ） ============ */
.search { padding: 28px 0 var(--sec-s) }
.search-h { font-size: 22px; font-weight: 800; text-align: center; line-height: 1.4; word-break: keep-all }
.search-h .n { color: var(--red); font-size: 40px; line-height: 1; margin-right: 2px }
.search .sec-sub { margin-top: 6px }
.field { margin-top: 18px }
.field > label { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin-bottom: 8px }
.field > label .tag { font-size: 12px; font-weight: 700; color: var(--red); border: 1px solid var(--red); border-radius: var(--r-pill); padding: 1px 8px; line-height: 1.5 }
/* 入力の箱（.sel だと予約のシートの選んだ項目 .opt.sel にも「＋」が出た） */
.selbox { position: relative }
.selbox select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 56px; border: 1px solid var(--line-2); border-radius: var(--r-box); background: var(--white); padding: 0 52px 0 16px; font-size: 16px; cursor: pointer }
.selbox select:focus { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), var(--focus); outline: none }
.selbox::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; font-size: 18px; font-weight: 700; line-height: 19px; text-align: center; pointer-events: none }
.btn-next { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 300px; min-height: 64px; margin: 22px auto 0; background: var(--ink); color: var(--white); border-radius: var(--r-pill); font-size: 18px; font-weight: 800; text-decoration: none }
.btn-next:hover { background: #000 }
.res { margin-top: 24px }
.res-head { font-size: 16px; font-weight: 800; line-height: 1.6; border-left: 5px solid var(--red); padding-left: 10px }
.res-head .n { color: var(--red); font-size: 22px }
.res-empty { background: var(--gray); border-radius: var(--r-box); padding: 14px 16px; font-size: 14px; margin-top: 12px }

/* ============ 予約の入口：吹き出し＋暗いボタン＋公式サイトへの案内 ============ */
.cta { text-align: center; padding: 8px 0 0 }
.cta + .cta { margin-top: 24px }
.bubble { display: inline-block; position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 40px; padding: 9px 26px 10px; font-size: 14px; font-weight: 700; line-height: 1.5; max-width: 100%; word-break: keep-all; overflow-wrap: anywhere }
.bubble b { display: block; font-size: 19px; font-weight: 800 }
.bubble b .red { font-size: 22px }
.bubble::before, .bubble::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); border-style: solid }
.bubble::before { bottom: -14px; border-width: 14px 9px 0 9px; border-color: var(--ink) transparent transparent transparent }
.bubble::after { bottom: -10px; border-width: 11px 7px 0 7px; border-color: var(--white) transparent transparent transparent }
.btn-dark { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; max-width: 320px; min-height: 76px; margin: 20px auto 0; background: var(--ink); color: var(--white); border-radius: var(--r-btn); font-size: 19px; font-weight: 800; line-height: 1.35; text-align: left; text-decoration: none; padding: 12px 18px }
.btn-dark:hover { background: #000 }
.btn-dark .pill { flex: 0 0 auto; background: var(--white); color: var(--ink); border-radius: var(--r-pill); font-size: 12px; font-weight: 800; padding: 4px 10px; line-height: 1.4 }
.btn-dark.sm { min-height: 56px; font-size: 16px; max-width: none; margin-top: 12px; border-radius: 10px; padding: 8px 14px; text-align: center }
.btn-dark.sm .pill { font-size: 12px; padding: 3px 8px }
.cta .micro, .micro { font-size: 12px; color: var(--g60); margin-top: 8px; line-height: 1.6 }
.micro.gonote, .gonote { color: var(--ink); font-weight: 700; font-size: 13px; word-break: keep-all; overflow-wrap: anywhere }
.btn-line { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 420px; min-height: 64px; margin: 0 auto; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-btn); font-size: 17px; font-weight: 800; text-decoration: none; text-align: center; padding: 10px 16px; line-height: 1.4 }
.btn-line:hover { border-color: var(--ink) }
.btn-line + .btn-line { margin-top: 12px }
/* 左寄せの見出しの下に並べるときは、ボタンも左にそろえる（404） */
.links-l .btn-line { margin-left: 0 }
.btn-pill { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 260px; min-height: 52px; margin: 20px auto 0; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-pill); font-size: 15px; font-weight: 800; cursor: pointer }
.tlinks { text-align: right; margin-top: 18px }
.tlink { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px }
.tlink::after { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M9 6.5l4.5 4.5L9 15.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat }

/* ============ カード ============ */
.cards { display: grid; gap: 12px; margin-top: 20px }
.ccard { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; text-decoration: none; color: inherit }
.ccard .img { border-radius: var(--r-box); overflow: hidden; background: var(--gray) }
.ccard .img img { width: 100%; height: auto }
.ccard .nm { font-size: 17px; font-weight: 800; line-height: 1.4 }
.ccard .meta { font-size: 13px; color: var(--ink-2); margin-top: 2px }
.ccard .go { font-size: 13px; font-weight: 700; color: var(--red); margin-top: 6px; text-decoration: underline; text-underline-offset: 3px }
/* ボディタイプの説明の箱：右の車種のカードの高さまで引き伸ばさない（PC で絵の上下に大きな空白が出た）。PC はスクロールしても見える位置に残す */
.ccard.bt-intro { align-self: start; align-content: start }
@media (min-width: 960px) { .ccard.bt-intro { position: sticky; top: 48px } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px }
.stat { background: var(--gray); border-radius: var(--r-box); padding: 8px 6px; text-align: center }
.stat span { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2) }
.stat b { display: block; font-size: 22px; font-weight: 800; line-height: 1.3 }
.stat b small { font-size: 12px; font-weight: 700; margin-left: 2px }
.scard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; margin-top: 12px }
.scard .nm { font-size: 17px; font-weight: 800; line-height: 1.45; display: flex; align-items: center; gap: 8px; flex-wrap: wrap }
.scard .ad { font-size: 13px; color: var(--ink-2); margin-top: 4px }
.scard .tagline { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px }
.tag-s { display: inline-block; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--gray); border-radius: 4px; padding: 2px 8px; line-height: 1.5 }
.tag-s.r { color: var(--red); background: var(--red-soft) }
.ward { margin-top: 28px; scroll-margin-top: 72px }
.ward-h { font-size: 18px; font-weight: 800; line-height: 1.5; border-left: 5px solid var(--red); padding: 2px 0 2px 10px; word-break: keep-all; overflow-wrap: anywhere }
.ward-h small { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-left: 8px }
.scard .models { font-size: 13px; background: var(--gray); border-radius: var(--r-box); padding: 8px 10px; margin-top: 10px; line-height: 1.7 }
/* 試乗車の明細（グレード・エンジンタイプと排気量・駆動方式・色。2026-11-22）。公式の掲載のまま、1 台 1 行 */
.scard .dcs { list-style: none; margin: 10px 0 0; padding: 0 10px; background: var(--gray); border-radius: var(--r-box) }
.scard .dcs li { padding: 8px 0; font-size: 12px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere }
.scard .dcs li + li { border-top: 1px solid var(--line) }
.scard .dcs li[hidden] { display: none }
.scard .dcs .g { display: block; font-size: 14px; font-weight: 800; color: var(--ink); line-height: 1.5 }
.scard .dcs .gn { margin-left: .5em }
.scard .dcs .sp, .scard .dcs .cl { display: block }
.scard details.dcd { margin-top: 10px; background: var(--gray); border-radius: var(--r-box) }
.scard details.dcd > summary { list-style: none; display: grid; grid-template-columns: 1fr 24px; gap: 8px; align-items: center; cursor: pointer; padding: 8px 10px; font-size: 13px; line-height: 1.7; min-height: 44px; word-break: keep-all; overflow-wrap: anywhere }
.scard details.dcd > summary::-webkit-details-marker { display: none }
.scard details.dcd > summary::after { content: "+"; font-size: 22px; font-weight: 700; line-height: 1; text-align: center }
.scard details.dcd[open] > summary::after { content: "−" }
.scard details.dcd > summary .t { display: block; grid-column: 1 }
.scard details.dcd > summary .o { display: block; grid-column: 1; margin-top: 2px; font-weight: 700; color: var(--ink) }
.scard details.dcd > summary::after { grid-column: 2; grid-row: 1 / span 2 }
.scard details.dcd .dcs { margin-top: 0; padding-top: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-box) var(--r-box) }
.dcsum { margin-top: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-box) }
.dcsum > summary { list-style: none; display: grid; grid-template-columns: 1fr 24px; gap: 8px; align-items: center; cursor: pointer; padding: 12px 14px; min-height: 48px; font-size: 14px; font-weight: 800 }
.dcsum > summary::-webkit-details-marker { display: none }
.dcsum > summary::after { content: "+"; font-size: 22px; font-weight: 700; line-height: 1; text-align: center }
.dcsum[open] > summary::after { content: "−" }
.dcsum ul { list-style: none; margin: 0; padding: 0 14px 4px }
.dcsum li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere }
.dcsum li b { flex-basis: 100%; font-size: 14px; color: var(--ink) }
.dcsum li .n { font-weight: 700; color: var(--ink) }
.dcsum .note { padding: 0 14px 12px }
.flt-h { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-top: 14px }
.flt-h + .chips { margin-top: 6px }
/* 取得から 14 日を超えたら、明細を隠す（ビルドの後に日がたったとき。BaseLayout の data-fetched） */
.dc-stale [data-dc] { display: none !important }
.store-hidden { display: none }
.acards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px }
/* 題は省略せずに全部出す（3 行で切ると、余白に 4 行目の上半分がのぞいた）。種類の札は下にそろえる */
.acard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; text-decoration: none; color: inherit }
.acard img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover }
.acard .t { font-size: 14px; font-weight: 700; line-height: 1.55; padding: 10px 12px 0 }
.acard .k { font-size: 12px; color: var(--g60); padding: 8px 12px 12px; margin-top: auto }

/* ボディタイプの箱（車名のリスト・順位は付けない） */
.btypes { display: grid; gap: 14px; margin-top: 20px }
.btype { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px 18px }
.btype .hd2 { display: flex; align-items: center; gap: 12px }
.btype .hd2 img { width: 64px; height: auto; border-radius: 6px; background: var(--gray) }
.btype .hd2 b { font-size: 18px; font-weight: 800 }
.btype ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; margin-top: 8px }
.btype li a, .btype li button { display: block; padding: 9px 0; min-height: 44px; font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; text-align: left; word-break: keep-all; overflow-wrap: anywhere }
.btype li small { display: inline-block; font-size: 12px; color: var(--g60); font-weight: 400; margin-left: 2px; white-space: nowrap; text-decoration: none }

/* 一覧の型（見出しの列＋区切り線の並び）：車名の読み・地域 */
.idx { margin-top: 18px }
.idx-row { display: grid; grid-template-columns: 84px 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line) }
.idx-row:last-child { border-bottom: none }
.idx-row > b { font-size: 14px; font-weight: 800; padding-top: 12px; line-height: 1.5 }
.idx-row ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px }
/* 一覧の項目は押せる形に見せる（枠と右の赤い「›」。2026-11-23 平野さん「リンクに見えない」。店舗の名前のボタンと同じ赤い印） */
/* 名前と台数を枠の上下の真ん中に置く（パソコンの幅で文字が枠の上に寄って見えた。11/23）。中身は 1 つの箱（.idx-t）に包む。
   包まずに flex にすると、折り返しの位置を決める <no-wrap> が別々の箱になり「クラウン（エ／ステート）」と語の途中で折れた */
.idx-row li a, .idx-row li button { position: relative; display: flex; align-items: center; width: 100%; height: 100%; padding: 10px 22px 10px 10px; min-height: 48px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--white); font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--ink); text-decoration: none; text-align: left; word-break: keep-all; overflow-wrap: anywhere }
.idx-row li a::after, .idx-row li button::after { content: ''; position: absolute; right: 10px; top: 50%; width: 7px; height: 7px; margin-top: -4px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg) }
.idx-row li a:hover, .idx-row li button:hover { border-color: var(--ink) }
.idx-row li .idx-t { display: block; min-width: 0 }
.idx-row li small { display: inline-block; font-size: 12px; font-weight: 400; color: var(--g60); margin-left: 2px; white-space: nowrap }
.idx-row li [aria-current="page"] { display: flex; align-items: center; height: 100%; padding: 10px 22px 10px 10px; min-height: 48px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 14px; line-height: 1.5; font-weight: 800; color: var(--red); word-break: keep-all; overflow-wrap: anywhere }
/* 一覧の名前は長い（「クラウン（クロスオーバー）」「相模原市（11店舗）」）。スマホの幅では行の見出しを上に置いて、名前の幅を広げる */
@media (max-width: 479px) {
  .idx .idx-row { grid-template-columns: 1fr; gap: 0; padding: 12px 0 }
  .idx .idx-row > b { padding-top: 0; margin-bottom: 8px }
}
/* 車名のかっこの台数は、長い車名だけ次の行に落ちて項目ごとに形がばらつくので、車名の下に置く（10/23。360 の幅で 135 項目中 49 項目、480 の幅でも 19 項目が割れていた。
   いちばん長い「クラウン（クロスオーバー）（12台）」が 1 行に入るのは約 640px から。
   一覧はタイル（下線なし）にしたので block で次の行に置く（11/23）。ボディタイプのカードは下線が台数に引き継がれないよう、幅いっぱいの inline-block のまま） */
@media (max-width: 767px) {
  .idx.names .idx-row li small { display: block; margin-left: 0 }
  .btype li small { display: inline-block; width: 100%; margin-left: 0 }
}
/* 一覧のタイルは枠と矢印の分だけ文字の幅が狭い。360 の幅では、いちばん長い「（クロスオーバー）」「ランドクルーザー」と「相模原市（11店舗）」が
   1 行に入るように、名前を 13px・かっこの数を 11px にする（14px のままだと「ランドクルーザ／ー」「クロスオーバ／ー」と語の途中で折れ、
   「相模原市（11店舗）」は数だけ次の行に落ちた。11/23 count_list_wrap。市町村の名前は 4 字まで・数は 2 けたまでで 1 行に入る） */
@media (max-width: 374px) {
  .idx-row li a, .idx-row li button, .idx-row li [aria-current="page"] { font-size: 13px }
  .idx-row li small { font-size: 11px; margin-left: 1px }
}

/* ============ 流れ（赤い帯） ============ */
.flow { background: var(--red); color: var(--white); padding: var(--sec) var(--side) }
.flow .sec-h { color: var(--white) }
.flow .sec-sub { color: var(--white) }
.flow ol { display: grid; gap: 30px; margin: 28px auto 0; max-width: 1040px }
.flow li { text-align: center }
.flow .circ { width: 150px; height: 150px; border-radius: 50%; background: var(--white); overflow: hidden; margin: 0 auto; border: 4px solid var(--white) }
.flow .circ img { width: 100%; height: 100%; object-fit: cover }
.flow .stn { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 14px; font-weight: 800; border-radius: var(--r-pill); padding: 3px 16px; margin-top: -16px; position: relative }
.flow .stt { display: block; font-size: 19px; font-weight: 800; margin-top: 8px; line-height: 1.45; word-break: keep-all }
.flow .std { font-size: 14px; margin-top: 6px; line-height: 1.7; text-wrap: balance }
.flow .fnote { font-size: 12px; text-align: center; margin-top: 24px; line-height: 1.7 }

/* ============ 表（事実の表。比べる表には使わない） ============ */
.tbl { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; margin-top: 18px; background: var(--white) }
table.ftable { width: 100%; border-collapse: collapse; font-size: 15px }
table.ftable th, table.ftable td { padding: 14px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.6 }
table.ftable tr:last-child th, table.ftable tr:last-child td { border-bottom: none }
table.ftable th { background: var(--gray); width: 34%; font-size: 14px; font-weight: 800; word-break: keep-all; overflow-wrap: anywhere }
table.ftable td b { font-size: 17px }
table.ftable td .note { display: block; margin-top: 2px }
/* 試乗の時間は公式サイトの中で目安が 2 とおりあるので、2 つ目の目安を別の行に出す（2026-11-08） */
table.ftable td b.b2 { display: block; margin-top: 10px }
table.ftable td a { text-decoration: underline; text-underline-offset: 3px }
table.ftable td .chips { margin-top: 10px }
table.ftable th .note { display: block; font-weight: 400; margin-top: 2px }
table.ftable td b.sm { font-size: 13px; color: var(--ink-2) }
/* 見出しの列に長い語（Google アナリティクス 4・決まっていない）が入る表は、スマホの幅で見出しを上に置く（34% の列では語の途中で折れる） */
@media (max-width: 479px) {
  table.ftable.stack, table.ftable.stack tbody, table.ftable.stack tr, table.ftable.stack th, table.ftable.stack td { display: block; width: auto }
  table.ftable.stack th { border-bottom: none; padding-bottom: 8px }
}
.tscroll { overflow-x: auto; -webkit-overflow-scrolling: touch }

/* ============ 番号つきの開閉（確かめること・コツの型） ============ */
details.nacc { margin-top: 12px; border-radius: var(--r-card); background: var(--gray); overflow: hidden }
details.nacc > summary { list-style: none; display: grid; grid-template-columns: auto 1fr 24px; gap: 14px; align-items: center; padding: 16px 16px 16px 18px; cursor: pointer; min-height: 72px }
details.nacc > summary::-webkit-details-marker { display: none }
details.nacc > summary .no { font-size: 26px; font-weight: 800; line-height: 1 }
details.nacc > summary .tt { font-size: 16px; font-weight: 800; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere }
details.nacc > summary::after { content: "+"; font-size: 26px; font-weight: 700; line-height: 1; text-align: center }
details.nacc[open] > summary { background: var(--ink); color: var(--white) }
details.nacc[open] > summary::after { content: "−" }
details.nacc .bd { background: var(--white); border: 1px solid var(--line); border-top: none; border-radius: 0 0 var(--r-card) var(--r-card); padding: 18px }
details.nacc .bd p { font-size: 15px; line-height: 1.85 }
details.nacc .bd .genimg { margin-bottom: 12px }
details.nacc .bd .why { margin-top: 12px; background: var(--red-soft); border-radius: var(--r-box); padding: 10px 12px; font-size: 14px; line-height: 1.7 }
details.nacc .bd .why b { color: var(--red) }

/* ============ よくある質問 ============ */
details.faq { background: var(--white); border-radius: var(--r-box); margin-top: 10px; overflow: hidden }
details.faq > summary { list-style: none; display: grid; grid-template-columns: 34px 1fr 24px; gap: 10px; align-items: center; padding: 16px; cursor: pointer; min-height: 64px; font-size: 16px; font-weight: 800; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere; text-wrap: balance }
details.faq > summary::-webkit-details-marker { display: none }
details.faq > summary::before { content: "Q."; color: var(--red); font-size: 24px; font-weight: 800; line-height: 1 }
details.faq > summary::after { content: "+"; color: var(--red); font-size: 26px; font-weight: 700; line-height: 1; text-align: center }
details.faq[open] > summary { background: var(--red-soft); color: var(--red) }
details.faq[open] > summary::after { content: "−" }
details.faq .a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 16px; font-size: 15px; line-height: 1.8 }
details.faq .a::before { content: "A."; color: var(--red); font-size: 24px; font-weight: 800; line-height: 1.2 }
details.faq .a a { text-decoration: underline }
.sec:not(.gray) details.faq { border: 1px solid var(--line) }

/* ============ 生成画像（注記を自動で付ける） ============ */
.genimg { margin: 0 }
.genimg img { width: 100%; height: auto; border-radius: var(--r-box) }
.genimg figcaption { font-size: 12px; color: var(--g60); text-align: right; margin-top: 4px }

/* ============ 絞り込みの札 ============ */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px }
.chip { font-size: 14px; font-weight: 700; border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: 8px 14px; background: var(--white); cursor: pointer; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center }
.chip.on { background: var(--ink); color: var(--white); border-color: var(--ink) }
.chip small { font-size: 12px; margin-left: 4px; opacity: .8 }

/* ============ 見本の枠（中身が入るまで） ============ */
.sample { border: 2px solid var(--line-2); border-radius: var(--r-card); padding: 16px; background: var(--white); margin-top: 16px }
.sample .stag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--white); background: var(--ink-2); border-radius: 4px; padding: 1px 8px }
.sample p { font-size: 14px; margin-top: 8px; line-height: 1.8 }

/* ============ 画面下の固定の帯（MOPS #1911：スマホ幅とパソコン幅の両方で出す） ============ */
.stickycta { position: sticky; bottom: 0; z-index: 110; background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 12px rgba(36, 39, 42, .06); padding: 6px 12px 10px }
.stickycta .sc-in { display: flex; flex-wrap: wrap; gap: 4px 8px; max-width: 1080px; margin: 0 auto }
.stickycta .sc-lead { display: none }
.stickycta .sc-note { flex: 0 0 100%; margin: 0; font-size: 12px; color: var(--g60); line-height: 1.4; text-align: center }
.stickycta .sc-btns { flex: 0 0 100%; display: flex; gap: 8px }
.stickycta .sb { flex: 1; min-height: 56px; background: var(--ink); color: var(--white); border-radius: 10px; font-size: 15px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 10px; text-align: left; line-height: 1.3 }
.stickycta .sb .pill { flex: 0 0 auto; background: var(--white); color: var(--ink); border-radius: var(--r-pill); font-size: 12px; font-weight: 800; padding: 2px 8px }
.stickycta .sb.ln { flex: 0 0 96px; background: var(--white); color: var(--ink); border: 1px solid var(--line-2); font-size: 14px; text-align: center }
.stickycta .sb:not(.ln) { display: grid; grid-template-columns: auto auto; grid-template-areas: "pill lb" "sub sub"; justify-content: center; align-items: center; gap: 2px 8px }
.stickycta .sb:not(.ln) .pill { grid-area: pill }
.stickycta .sb .lt { display: contents }
.stickycta .sb .lb { grid-area: lb }
.stickycta .sb .sub { grid-area: sub; font-size: 12px; font-weight: 700; opacity: .86; text-align: center }
/* 新しい部品の短い文も、語の途中で折り返さない（<wbr> と句読点でだけ折る） */
.cta .micro, .sc-note, .sc-lead, .btn-go .sub, .btn-go .lb, .tag-t, .nm-go, .sh-link, .sctx, #go-status { word-break: keep-all; overflow-wrap: anywhere }

/* ============ 予約のシート ============ */
#ovl { position: fixed; inset: 0; background: rgba(20, 20, 20, .55); z-index: 1200; display: none; align-items: flex-end; justify-content: center }
#ovl.on { display: flex }
#sheet { background: var(--white); border-radius: 16px 16px 0 0; width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; padding: 22px 20px 24px }
#sheet h4 { font-size: 19px; font-weight: 800; line-height: 1.45 }
#sheet .ssub { font-size: 13px; color: var(--ink-2); margin: 4px 0 8px; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.6 }
.opt { display: block; border: 1px solid var(--line-2); border-radius: var(--r-box); padding: 12px 14px; margin-top: 10px; cursor: pointer }
.opt input { accent-color: var(--red); margin-right: 8px; width: 18px; height: 18px; vertical-align: -3px }
.opt b { font-size: 16px }
.opt span { display: block; font-size: 13px; color: var(--ink-2); margin-left: 26px; margin-top: 2px }
.opt.sel { border: 2px solid var(--red); background: var(--red-soft); padding: 11px 13px }
#sheet .pre { background: var(--gray); border-radius: var(--r-box); font-size: 13px; color: var(--ink-2); padding: 10px 12px; margin: 14px 0 0; line-height: 1.8 }
#sheet .pre li { padding-left: 1em; text-indent: -1em; word-break: keep-all; overflow-wrap: anywhere }
#sheet .pre li::before { content: "・" }
#sheet .btn-dark { max-width: none; min-height: 64px; font-size: 18px; margin-top: 16px; justify-content: center }
#sheet .cancel { display: block; width: 100%; text-align: center; font-size: 14px; color: var(--ink-2); padding: 14px 0 0; min-height: 44px; text-decoration: underline; text-underline-offset: 3px }
/* 知らせは文の幅まで広げる（left: 50% のままだと画面の半分の幅で折れ、「コピーできませんでし／た」となった）。
   スマホ・タブレットでは画面下の予約バーの上に出す（10/23） */
#toast { position: fixed; left: 50%; bottom: 116px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--white); font-size: 14px; padding: 10px 18px; border-radius: var(--r-pill); opacity: 0; transition: opacity .2s, transform .2s; z-index: 1400; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); text-align: center }
#toast.on { opacity: 1; transform: translateX(-50%) }

/* ============ 予約の入口のボタンの中の 2 行目と、押した後（MOPS #1911） ============ */
.btn-go .lt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0 }
.btn-go .sub { font-size: 12px; font-weight: 700; opacity: .86; line-height: 1.4 }
.cta .micro.gonote { color: var(--g60); font-weight: 500; font-size: 12px; line-height: 1.6 }
.going { position: relative; opacity: .78; cursor: progress }
.going::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ksl-spin .8s linear infinite }
@keyframes ksl-spin { to { transform: rotate(360deg) } }
#go-status { position: fixed; left: 50%; bottom: 132px; transform: translateX(-50%); background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: var(--r-pill); opacity: 0; pointer-events: none; z-index: 1400; transition: opacity .2s; width: max-content; max-width: calc(100vw - 32px); text-align: center }
#go-status.on { opacity: 1 }

/* 予約のシートの短い形（sheet=short） */
#sheet.is-full .sh-short, #sheet.is-short .sh-full { display: none }
#sheet .sctx { font-size: 13px; color: var(--ink-2); background: var(--gray); border-radius: var(--r-box); padding: 8px 12px; margin-top: 10px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere }
#sheet .btn-go { text-align: left }
.sh-links { display: flex; flex-direction: column; align-items: center; margin-top: 6px }
.sh-link { min-height: 44px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 0 8px }
.sh-link[hidden] { display: none }
.sh-pre { margin-top: 6px; border-top: 1px solid var(--line) }
.sh-pre > summary { min-height: 44px; display: flex; align-items: center; font-size: 14px; font-weight: 700; color: var(--ink-2); cursor: pointer }
.sh-pre .pre { margin-top: 0 }

/* 時間と読み進みで出す案内（nudge=banner／modal） */
.nudge { position: fixed; z-index: 1150; left: 12px; right: 12px; bottom: calc(var(--bar-h, 0px) + 10px); opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s }
.nudge[hidden] { display: none !important }
.nudge.on { opacity: 1; transform: none }
.nudge:not(.ready) button { pointer-events: none }
.nudge .ndg-card:focus { outline: none }
.nudge .ndg-card { position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: var(--r-card); box-shadow: 0 8px 24px rgba(20, 20, 20, .18); padding: 14px 16px 10px; max-width: 480px; margin: 0 auto }
.nudge .ndg-x { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; font-size: 26px; line-height: 1; color: var(--ink-2); display: flex; align-items: center; justify-content: center }
.nudge .ndg-t { font-size: 16px; font-weight: 800; line-height: 1.5; padding-right: 40px; word-break: keep-all; overflow-wrap: anywhere }
.nudge .ndg-l { font-size: 13px; color: var(--ink-2); margin-top: 4px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere }
.nudge .ndg-go { max-width: none; min-height: 58px; margin-top: 10px; font-size: 17px; justify-content: center }
.nudge .ndg-sub { display: block; width: 100%; min-height: 44px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px }
.nudge .ndg-note { font-size: 12px; color: var(--g60); margin-top: 6px; line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere }
.nudge .ndg-close { display: none; margin: 2px auto 0; min-height: 44px; padding: 0 16px; font-size: 14px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px }
.nudge.is-modal { left: 0; right: 0; top: 0; bottom: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 20, 20, .5); transform: none }
.nudge.is-modal .ndg-card { width: 100%; max-width: 400px; padding: 20px 18px 8px }
.nudge.is-modal .ndg-close { display: block }
/* 写真・掲載の数・吹き出しの文は、その出し方のときだけ出す */
.nudge .ndg-ph, .nudge .ndg-hero, .nudge .ndg-f, .nudge .ndg-b { display: none }
/* 下の帯（nudge=bar）：画面下の固定の帯のすぐ上に、幅いっぱいの帯で見出しと小さなボタンを 1 段で */
.nudge.is-bar { left: 0; right: 0; bottom: var(--bar-h, 0px) }
.nudge.is-bar .ndg-card { max-width: none; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px; border: none; border-top: 3px solid var(--red); border-radius: 0; box-shadow: 0 -6px 16px rgba(20, 20, 20, .12); padding: 8px 48px 6px 14px }
.nudge.is-bar .ndg-main { grid-column: 1; grid-row: 1 }
.nudge.is-bar .ndg-t { font-size: 14px; padding-right: 0 }
.nudge.is-bar .ndg-l, .nudge.is-bar .ndg-sub, .nudge.is-bar .ndg-go .pill { display: none }
.nudge.is-bar .ndg-go { grid-column: 2; grid-row: 1; width: auto; min-height: 44px; margin-top: 0; padding: 0 14px; font-size: 14px }
.nudge.is-bar .ndg-note { grid-column: 1 / -1; margin-top: 2px; font-size: 11px }
.nudge.is-bar .ndg-x { top: 50%; transform: translateY(-50%) }
/* 写真つきのカード（nudge=photo）：左に公式サイトの写真、右に見出しと試乗車の掲載の数 */
.nudge.is-photo .ndg-card { display: grid; grid-template-columns: 104px 1fr; column-gap: 12px; padding: 12px 12px 10px }
.nudge.is-photo .ndg-ph { display: block; grid-column: 1; grid-row: 1; align-self: start; border-radius: 10px; overflow: hidden; background: var(--gray) }
.nudge.is-photo .ndg-ph [data-photo$="-cut"] img { object-fit: contain }
.nudge.is-photo .ndg-main { grid-column: 2; grid-row: 1; padding-right: 30px }
.nudge.is-photo .ndg-t { font-size: 15px; padding-right: 0 }
.nudge.is-photo .ndg-f { display: block; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--red); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere }
.nudge.is-photo .ndg-l { margin-top: 2px; font-size: 12px }
.nudge.is-photo .ndg-l1 { display: none }
.nudge.is-photo .ndg-go, .nudge.is-photo .ndg-sub, .nudge.is-photo .ndg-note { grid-column: 1 / -1 }
/* 吹き出し（nudge=bubble）：画面下の固定の帯の［試乗車を探す］を指す。自分のボタンは出さない（位置と矢印は Nudge.astro が --bl・--bw・--ax で決める） */
.nudge.is-bubble { left: var(--bl, 12px); right: auto; width: var(--bw, calc(100% - 24px)); bottom: calc(var(--bar-h, 0px) + 14px) }
.nudge.is-bubble .ndg-card { max-width: none; background: var(--ink); border: none; border-radius: 14px; padding: 12px 46px 12px 14px; box-shadow: 0 8px 20px rgba(20, 20, 20, .25) }
.nudge.is-bubble .ndg-card::after { content: ''; position: absolute; bottom: -7px; left: var(--ax, 50%); width: 16px; height: 16px; background: var(--ink); border-radius: 2px; transform: translateX(-50%) rotate(45deg) }
.nudge.is-bubble .ndg-t { color: var(--white); font-size: 15px; padding-right: 0 }
.nudge.is-bubble .ndg-b { display: block; margin-top: 2px; font-size: 13px; color: rgba(255, 255, 255, .85); line-height: 1.5 }
.nudge.is-bubble .ndg-l, .nudge.is-bubble .ndg-go, .nudge.is-bubble .ndg-sub, .nudge.is-bubble .ndg-note { display: none }
.nudge.is-bubble .ndg-x { color: var(--white) }
/* 写真つきの真ん中（nudge=photomodal）：真ん中の案内（is-modal）のカードの上に、最初の画面と同じ写真を幅いっぱいに敷き、試乗車の掲載の数を添える。
   背の低い画面でもボタンと「閉じる」まで届くよう、カードは画面の高さに収め、はみ出す分はカードの中でスクロールする */
.nudge.is-pmodal .ndg-card { max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 8px }
.nudge.is-pmodal .ndg-hero { display: block; margin: 0 -18px 12px; background: var(--gray) }
.nudge.is-pmodal .ndg-hero .ph-box { border-radius: 0 }
.nudge.is-pmodal .ndg-hero [data-photo$="-cut"] img { object-fit: contain }
.nudge.is-pmodal .ndg-x { top: 8px; right: 8px; background: rgba(255, 255, 255, .94); border-radius: 50%; box-shadow: 0 2px 8px rgba(20, 20, 20, .22); z-index: 1 }
.nudge.is-pmodal .ndg-t { font-size: 17px; padding-right: 0 }
.nudge.is-pmodal .ndg-f { display: block; margin-top: 4px; font-size: 14px; font-weight: 800; color: var(--red); line-height: 1.5; word-break: keep-all; overflow-wrap: anywhere }
.nudge.is-pmodal .ndg-l2 { display: block; margin-top: 2px; font-weight: 700; color: var(--ink) }

/* 店舗の名前（押すと、予約の入口のボタンと同じ所へ移れる）と、押せないことが分かる札 */
.nm-go { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font: inherit; font-weight: 800; color: var(--ink); text-align: left }
.nm-go .nm-t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-2) }
/* 押せる印の「›」は線で描く（文字にすると店舗の名前に混ざり、名前とデータの照らし（grades_check）と読み上げで「›」まで名前に入る） */
.nm-go::after { content: ''; flex: none; width: 8px; height: 8px; margin: 0 3px 0 1px; border-top: 2.5px solid var(--red); border-right: 2.5px solid var(--red); transform: rotate(45deg) }
.nm-go:hover .nm-t { text-decoration-color: var(--ink) }
.tag-t { font-size: 12px; font-weight: 700; color: var(--red); line-height: 1.5; padding: 2px 0 }

/* ============ 記事 ============ */
.art h1 { font-size: 24px; line-height: 1.5; font-weight: 800; word-break: keep-all; overflow-wrap: anywhere }
.art .meta { display: flex; gap: 6px 14px; font-size: 13px; color: var(--ink-2); margin: 10px 0 14px; flex-wrap: wrap }
.art .toc { background: var(--gray); border-radius: var(--r-card); padding: 16px 18px; margin: 20px 0 }
.art .toc b { font-size: 15px; font-weight: 800 }
.art .toc a { display: block; padding: 10px 0; min-height: 44px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px }
.art .prose h2 { font-size: 20px; font-weight: 800; line-height: 1.5; border-left: 5px solid var(--red); padding: 2px 0 2px 12px; margin: 36px 0 12px; word-break: keep-all; overflow-wrap: anywhere }
.art .prose p { margin: 12px 0; font-size: 16px; line-height: 1.9 }
.art .prose strong { font-weight: 800; background: #FFF3C4; padding: 0 2px }
.art .prose a { text-decoration: underline; text-underline-offset: 3px }
.art .prose ul { margin: 12px 0 }
.art .prose ul li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.8; margin-top: 6px }
.art .prose ul li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--red) }
.art .prose .tbl { margin: 16px 0 }
.art .prose .note { margin-top: 8px }
.art .prose details.faq { border: 1px solid var(--line) }
.art .prose details.faq .a p { margin: 0; font-size: 15px }
.art .disc { background: var(--gray); border-radius: var(--r-box); font-size: 12px; color: var(--ink-2); padding: 12px 14px; margin-top: 28px; line-height: 1.8 }
.art .disc a { text-decoration: underline }
.cta-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 16px; margin: 24px 0; text-align: center }
/* 記事の本文の中の入口：本文の段落の大きさ（16px・行間 1.9）を、入口の注記には当てない（#1911） */
.art .prose .cta-card .micro { font-size: 12px; line-height: 1.6; margin: 8px 0 0 }

/* 本文の中の箇条（方針のページなど） */
.list-ck { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 6px 16px; margin-top: 12px }
.list-ck li { font-size: 15px; line-height: 1.7; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--line); position: relative }
.list-ck li:last-child { border-bottom: none }
.list-ck li a { text-decoration: underline; text-underline-offset: 3px }
.list-ck li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--red) }
.prose-p { font-size: 15px; line-height: 1.9; margin-top: 10px }
.prose-p a { text-decoration: underline }

/* ============ パソコン幅（960px から） ============ */
@media (min-width: 960px) {
  :root { --side: 32px; --sec: 80px; --sec-s: 56px }
  details.menu { display: none }
  .pcnav { display: flex; gap: 4px }
  .pcnav a { display: flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; padding: 0 12px; border-radius: var(--r-box); text-decoration: none }
  .pcnav a:hover { background: var(--gray) }
  .pcnav a[aria-current="page"] { color: var(--red) }
  .hd { min-height: 72px; padding-right: var(--side) }
  .logo b { font-size: 24px }
  .kv { text-align: left; padding: 40px var(--side) 0 }
  .kv-in { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: end }
  .kv .catch { font-size: 40px }
  .kv .catch .em { font-size: 52px }
  .kv .big { font-size: 28px }
  .kv .big .num { font-size: 40px }
  .kv .fig { margin: 0; max-width: none }
  .kv .txt { padding-bottom: 40px }
  .kv.lite .kv-in { display: block }
  .kv.lite .catch { font-size: 36px }
  .facts3 li { font-size: 14px; padding: 14px 6px }
  .facts3 li b { font-size: 32px }
  .search-in { max-width: 760px; margin: 0 auto }
  .btn-dark { max-width: 400px }
  .sec-h { font-size: 30px }
  .page-head h1 { font-size: 34px }
  .cards { grid-template-columns: repeat(2, 1fr); gap: 16px }
  .btypes { grid-template-columns: repeat(2, 1fr); gap: 16px }
  .acards { grid-template-columns: repeat(4, 1fr); gap: 18px }
  .flow ol { grid-template-columns: repeat(4, 1fr); gap: 24px }
  .scards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px }
  .idx-row { grid-template-columns: 120px 1fr; padding: 8px 0 }
  .idx-row ul { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) }
  .faqs { max-width: 860px; margin: 0 auto }
  .nacc-list { max-width: 860px; margin: 0 auto }
  .stickycta { padding: 10px var(--side) 12px }
  .stickycta .sc-in { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "lead btns" "note btns"; align-items: center; gap: 2px 24px }
  .stickycta .sc-lead { display: block; grid-area: lead; font-size: 15px; font-weight: 800; line-height: 1.5 }
  .stickycta .sc-note { grid-area: note; text-align: left }
  .stickycta .sc-btns { grid-area: btns; flex: none }
  .stickycta .sb { flex: none; min-width: 300px; min-height: 56px }
  .stickycta .sb.ln { min-width: 140px }
  .nudge.is-banner, .nudge.is-photo { left: auto; right: 24px; width: 420px }
  #go-status { bottom: 110px }
  #toast { bottom: 28px }
  footer.site { padding-bottom: 48px }
  .fcols { grid-template-columns: repeat(3, 1fr) }
  .art h1 { font-size: 30px }
}

/* ============ 店舗のカードの住所と車種の小さい画像（MOPS #1913・2026-11-23） ============ */
/* 住所は公式サイトの店舗のページ（地図・行き方・営業時間）へ移るボタン。店舗の名前と同じリンクの見た目（細い下線・赤い矢印）に地図のピンを足す。
   押せる高さは 44px。スマホでは「公式サイトで地図を見る」をいつも住所の次の行に置く（住所の長さで同じ行と次の行が混ざると、カードごとに位置が揺れた）。
   パソコンの 2 列のカードでは住所の後ろに続ける */
.scard .ad-go { position: relative; display: block; width: 100%; min-height: 44px; margin: -4px 0; padding: 10px 0 10px 19px; font: inherit; font-size: 13px; line-height: 1.6; color: var(--ink-2); text-align: left; cursor: pointer }
.scard .ad-go::before { content: ""; position: absolute; left: 0; top: 13px; width: 15px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2z' fill='%23D70A1C'/%3E%3C/svg%3E") center / 15px no-repeat }
.scard .ad-t { margin-right: 8px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-2) }
.scard .ad-m { display: flex; width: max-content; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--red); white-space: nowrap }
@media (min-width: 960px) { .scard .ad-m { display: inline-flex; width: auto } }
.scard .ad-m::after { content: ""; flex: none; width: 6px; height: 6px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg) }
.scard .ad-go:hover .ad-t { text-decoration-color: var(--ink) }
.scard .ad-go.going::after { right: 0 }
/* 車種の小さい画像（写真は車種のイメージ。色・グレードは試乗車と違うことがある） */
.cthumb { display: block; background: var(--white); object-fit: contain; border-radius: 6px }
.carhead { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 8px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-box) }
.carhead .cthumb { flex: none; width: 132px; height: 88px }
.carhead .note { margin: 0 }
/* パソコン幅の 2 列（grid）で、車種の画像の列の幅にカードが引っ張られて横にはみ出さないように、カードは列の幅より広がらない（列は 1fr のまま） */
.scards > .scard { min-width: 0 }
/* 車名の枠は 80〜132px で車名に合わせて伸ばす（80px 固定だと「ヴェルファイ／ア」と語の途中で折れた）。折れるのはかっこ・空白の前だけ。
   列は横にだけ送る（overflow-x: auto だけだと縦にも動く枠になり、縦に払ったときに左右に揺れることがある。web-uiux の ui_audit の L05） */
.scard .mthumbs { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; margin: 10px 0 0; padding: 2px 0 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch }
.scard .mthumbs li { flex: 0 0 auto; min-width: 80px; max-width: 132px; text-align: center; scroll-snap-align: start }
.scard .mthumbs .cthumb { width: 72px; height: 48px; margin: 0 auto }
.scard .mthumbs span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.4; color: var(--ink-2); word-break: keep-all; overflow-wrap: normal }

/* ===== MOPS #1940 A 案：色だけウエインズにする ここから =====
   赤は公式サイトへ移る予約のボタンだけに使う。サイトの中で進むボタン（探す・次へ）と文字は暗い色のまま */
.btn-dark, .stickycta .sb:not(.ln), .btn-go { background: var(--cta) }
.btn-dark:hover, .stickycta .sb:not(.ln):hover, .btn-go:hover { background: var(--cta-d) }
.btn-dark .pill, .stickycta .sb:not(.ln) .pill { color: var(--cta) }
/* 予約のボタンと下の帯の小さい文（白の 86%）は、赤の地では 3.75:1 になるので薄くしない */
.btn-go .sub, .btn-go .lb, .stickycta .sb:not(.ln) .sub { opacity: 1 }
/* ロゴの差し色は明るい水色に近づける（21px の太字。大きい文字の基準 3:1 を守る濃さ） */
.logo b i, footer.site .flogo i { color: #0A93A9 }
/* #1913 の住所のボタンの地図のピンは、CSS の画像の中に赤（fill='%23D70A1C'）を書いているので、同じ形を型抜きにして差し色で塗る */
.scard .ad-go::before { background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E") center / 15px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.6A2.6 2.6 0 1 1 12 6.4a2.6 2.6 0 0 1 0 5.2z'/%3E%3C/svg%3E") center / 15px no-repeat }
/* 色を属性で直に書いたアイコン（stroke="#D70A1C"・fill="#D70A1C"）も差し色にする。今の本番の /weins/ の入口のアイコン（#1908 の BrandEntry の 11/24 の currentColor の直しの前の版）が当たる
   CSS の色は属性より強いので、属性を持つ要素と、その中で色を受け継ぐ線にも効く */
svg[stroke="#D70A1C" i], svg [stroke="#D70A1C" i] { stroke: var(--red) }
svg[fill="#D70A1C" i], svg [fill="#D70A1C" i] { fill: var(--red) }
/* 赤い帯の上で白を重ねて明るくした箱は、水色の地では 12〜13px の白い文字が 4.5:1 を割るので、黒を重ねて暗くする（部品ごとの CSS より強くするため body から書く。部品が無い版では何もしない）
   - #1910 の診断型 LP の最初の画面の札（白の 14%。3.92:1 → 5.9:1）
   - #1908 の /weins/hours/ の頭の数字の箱（白の 12%。4.06:1 → 5.9:1） */
body .sd-kv-pts.sd-kv-pts.sd-kv-pts li { background: rgba(0, 0, 0, .12) }
body .hsum.hsum.hsum > div { background: rgba(0, 0, 0, .12) }
/* ===== MOPS #1940 ここまで ===== */

/* 相続税理士紹介ナビだけの部品。色・角丸・余白は新車試乗ナビの変数（src/shinsha_design.css）だけで書く。色を直に書かない */
.logo b small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; margin-top: 2px }
.kv .ai3 { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 1.6 }
.kv.lite .kv-in { display: block }
/* 最初の画面の右（スマホは下）の白い箱：新車試乗ナビの車の写真の枠（.kv .fig）の位置に、2 つの方法の上位 3 を置く */
.kv .kvrank { color: var(--ink); text-align: left; padding: 14px 16px 6px; display: grid; gap: 12px }
.kvrank .kr-h { font-size: 13px; font-weight: 800; color: var(--red) }
.kvrank ol { margin-top: 4px }
.kvrank li { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px; align-items: baseline; font-size: 14px; font-weight: 700; padding: 5px 0; border-top: 1px solid var(--line); line-height: 1.5 }
.kvrank li span { color: var(--red); font-weight: 800 }
.kvrank li b { color: var(--red); font-size: 15px; white-space: nowrap }
.kvrank .kr-note { font-size: 12px; color: var(--g60); padding-bottom: 8px }
.kvrank .kr-note a { text-decoration: underline }
.facts3 li b small { font-size: 13px }

/* 2 通りの順位の切り替え：絞り込みの札（.chip）と同じ見た目 */
.rtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 560px; margin: 20px auto 0 }
.rtabs .chip { justify-content: center; text-align: center; font-size: 14px; padding: 8px 10px; line-height: 1.4 }
.rpanel[hidden] { display: none }
.rpanel .sec-sub { margin-top: 14px }

/* 順位のカード：店舗のカード（.scard）の型に、左の順位の札を足す */
.rcard { display: grid; grid-template-columns: 56px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; margin-top: 12px }
.rcard .rno { text-align: center; color: var(--red); font-weight: 800; line-height: 1 }
.rcard .rno b { display: block; font-size: 40px }
.rcard .rno span { font-size: 13px }
.rcard .nm { font-size: 18px; font-weight: 800; line-height: 1.45 }
.rcard .nm a { text-decoration: none }
.rcard .nm a::after, .scard .nm a::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: translateY(-2px) rotate(45deg) }
.rcard .ad { font-size: 13px; color: var(--ink-2); margin-top: 4px }
.rcard .tagline { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px }
.rcard .rsc { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--ink-2) }
.rcard .rsc b { font-size: 28px; font-weight: 800; color: var(--red); line-height: 1 }
.rcard .rsc small { font-size: 12px }
.rcard .rmeta { font-size: 13px; color: var(--ink-2); margin-top: 6px; line-height: 1.7 }
.rcard details.dcd { margin-top: 10px; background: var(--gray); border-radius: var(--r-box) }
.rcard details.dcd > summary { list-style: none; display: grid; grid-template-columns: 1fr 24px; gap: 8px; align-items: center; cursor: pointer; padding: 8px 12px; font-size: 13px; font-weight: 700; min-height: 44px }
.rcard details.dcd > summary::-webkit-details-marker { display: none }
.rcard details.dcd > summary::after { content: "+"; font-size: 22px; font-weight: 700; line-height: 1; text-align: center }
.rcard details.dcd[open] > summary::after { content: "−" }
.crits { padding: 0 12px 8px }
.crit { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; padding: 6px 0; border-top: 1px solid var(--line) }
.crit .dots { color: var(--red); letter-spacing: 2px; white-space: nowrap; font-weight: 800 }

/* AI の答えの注記（新車試乗ナビの AI 判定室の決まり：判定の近くに置き、検証済みの事実と枠を分ける） */
.ainote { background: var(--red-soft); border-radius: var(--r-box); padding: 10px 14px; font-size: 13px; line-height: 1.7; margin-top: 12px }

/* 答えの箱（問いと答えの型） */
.ansbox { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--red); border-radius: var(--r-box); padding: 16px 18px; margin-top: 18px }
.ansbox .ah { font-size: 14px; font-weight: 800; color: var(--red) }
.ansbox p { font-size: 15px; line-height: 1.85; margin-top: 6px }
.top3 { display: grid; gap: 12px; margin-top: 18px }
.top3 .box { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px }
.top3 .box b { display: block; font-size: 15px; font-weight: 800 }
.top3 .box ol { list-style: decimal; padding-left: 1.4em; margin-top: 6px; font-size: 15px; line-height: 1.8 }

/* サイトの 3 つの型 */
.tcards { display: grid; gap: 12px; margin-top: 20px }
.tcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px }
.tcard .nm { font-size: 18px; font-weight: 800; color: var(--red) }
.tcard p { font-size: 15px; line-height: 1.8; margin-top: 6px }
.tcard .note { margin-top: 8px }

/* 流れの帯：写真の代わりに、丸の中に線の絵（差し色） */
.flow .circ.ico { display: flex; align-items: center; justify-content: center; width: 120px; height: 120px }
.flow .circ.ico svg { width: 56px; height: 56px; color: var(--red) }

/* 事務所のカード（店舗のカードと同じ型） */
.scard .facts-s { list-style: disc; padding-left: 1.2em; margin-top: 8px; font-size: 14px; line-height: 1.7 }
.scard .listed { font-size: 13px; margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center }
.scard .nm a { text-decoration: none }
.ward[hidden], .scard[hidden] { display: none }
.fcount { font-size: 16px; font-weight: 800; margin-top: 18px; border-left: 5px solid var(--red); padding-left: 10px }
.fcount b { color: var(--red); font-size: 22px }

/* 比べる表（事実の表 .ftable の見た目で、横に流す） */
table.ftable.cmp { min-width: 760px; font-size: 13px }
table.ftable.cmp th { width: auto }
table.ftable.cmp td.n { text-align: right; font-weight: 800; color: var(--red); white-space: nowrap }
.src { list-style: disc; padding-left: 1.2em; font-size: 13px; line-height: 1.8; margin-top: 10px }
.src a { text-decoration: underline; word-break: break-all }
.prose p { font-size: 15px; line-height: 1.9; margin-top: 12px }
.prose ul.dot { list-style: disc; padding-left: 1.2em; font-size: 15px; line-height: 1.9; margin-top: 8px }
.rawlist details.faq .a { display: block }
.rawlist details.faq .a::before { content: none }
.rawlist ol { list-style: decimal; padding-left: 1.4em; font-size: 14px; line-height: 1.8 }
.soon { text-align: center }

@media (min-width: 960px) {
  .top3 { grid-template-columns: 1fr 1fr }
  .tcards { grid-template-columns: repeat(3, 1fr) }
  .rlist, #result .res-head, #result .dg-kc, #result [data-dg-how], #result .dnote { max-width: 860px; margin-left: auto; margin-right: auto }
}
.center { text-align: center }
.kvrank .kr-note a { white-space: nowrap }

/* 全国版（2026-11-28）：地方ごとの都道府県の札・都道府県の掲載件数のカード・都道府県ごとに畳んだ事務所の一覧 */
.rgns { display: grid; gap: 14px; margin-top: 18px }
.rgn { display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: start }
.rgn-h { font-size: 13px; font-weight: 800; color: var(--red); padding-top: 12px; line-height: 1.4 }
.rgn .chips { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px }
.rgn .chip { justify-content: center; padding: 8px 2px; min-height: 44px; font-size: 14px; margin: 0 }
.acard { display: grid; grid-template-columns: 56px 1fr; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 16px; margin-top: 12px }
.acard .rno { text-align: center; color: var(--red); font-weight: 800; line-height: 1 }
.acard .rno b { display: block; font-size: 36px }
.acard .rno span { font-size: 13px }
.acard .nm { font-size: 18px; font-weight: 800; line-height: 1.45 }
.acard .nm a { text-decoration: none }
.acard .nm a::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: translateY(-2px) rotate(45deg) }
.acard .ad { font-size: 13px; color: var(--ink-2); margin-top: 2px }
.acard .acnt { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--ink-2) }
.acard .acnt b { font-size: 28px; font-weight: 800; color: var(--red); line-height: 1 }
.acard .acnt small { font-size: 13px }
.acard .note { margin-top: 4px }
.acard .ago { margin-top: 8px }
details.pgrp { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); margin-top: 10px }
details.pgrp > summary { list-style: none; display: grid; grid-template-columns: 1fr auto 24px; gap: 8px; align-items: center; cursor: pointer; padding: 12px 16px; min-height: 52px; font-size: 16px; font-weight: 800 }
details.pgrp > summary::-webkit-details-marker { display: none }
details.pgrp > summary small { font-size: 13px; color: var(--ink-2); font-weight: 700 }
details.pgrp > summary::after { content: "+"; font-size: 22px; line-height: 1; text-align: center; color: var(--red) }
details.pgrp[open] > summary::after { content: "−" }
details.pgrp[hidden] { display: none }
.pgrp-in { padding: 0 12px 14px }
.pgrp-in .ward-h { margin-top: 8px }
details.faq.pt .tbl, details.faq.pt .scards { padding: 0 4px 12px }
table.ftable.cmp3 { font-size: 14px }
table.ftable.cmp3 th { width: auto }
table.ftable.cmp3 td.n, table.ftable.cnt td.n { text-align: right; white-space: nowrap }
table.ftable.cnt td.n b { color: var(--red); font-weight: 800 }
table.ftable.cnt td.n small { font-size: 12px; margin-left: 2px }
@media (min-width: 960px) {
  .rgns { grid-template-columns: 1fr 1fr; column-gap: 32px }
}
.acard.norank { grid-template-columns: 1fr }
details.pgrp .pg-h { font-size: 16px; font-weight: 800; margin: 0; line-height: 1.5 }
/* 事務所のカードは、カード全体を押すと事務所のページへ（名前のリンクを広げる） */
.scard { position: relative }
.scard h3.nm a::before { content: ''; position: absolute; inset: 0; border-radius: inherit }
@media (min-width: 960px) {
  .rlist:has(> .acard) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; max-width: 960px }
}
/* 広告の着地のページ（lp/a・lp/b） */
.search .kc .sec-sub, .search .dg .sec-sub { text-align: left; margin-top: 4px }
.kc-out { margin-top: 12px; font-size: 15px; font-weight: 700; line-height: 1.6 }
.kc-out b { font-size: 24px; color: var(--red) }
.kc-out small { display: block; font-size: 12px; color: var(--g60); font-weight: 500 }
.kc-q { border: 0; margin: 12px 0 0; padding: 0; min-width: 0 }
.kc-q legend { font-size: 14px; font-weight: 700; line-height: 1.6 }
.kc-q .opt { margin-top: 8px }
.kc-res { margin-top: 12px; background: var(--white); border-left: 4px solid var(--red); padding: 10px 12px; font-size: 14px; line-height: 1.7 }
.kc-res .cta { margin-top: 8px }
.lpk .cta { padding-top: 0 }
.rcard.lpc { display: block }
.lpc .lph { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: start }
.lpc .lph .rno b { font-size: 34px }
.lpc > .note { margin-top: 8px }
.lpc .lpsc { display: flex; gap: 0 14px; flex-wrap: wrap; margin-top: 6px }
.lpc .lpsc .rsc { margin-top: 4px }
.lpc .lpsc .rsc b { font-size: 24px }
.lpc .lpf { margin-top: 10px; border-top: 1px solid var(--line) }
.lpc .lpf li { display: grid; grid-template-columns: 96px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6 }
.lpc .lpf .k { color: var(--g60); font-size: 13px }
.lpbar .sb, .lpbar .sb .lb { text-decoration: none }
[data-dg-list] .note, [data-dg-list] .ad, [data-dg-list] .gonote, [data-dg-how], [data-dg-kc], [data-dg-head] { word-break: normal; overflow-wrap: normal }
@media (min-width: 768px) { .lpc .lpf li { grid-template-columns: 120px 1fr } }
.lpc .lpfh { margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--ink-2) }
.lpc .facts-s { list-style: disc; padding-left: 1.2em; margin-top: 4px; font-size: 14px; line-height: 1.7 }
.lpc .ago { margin-top: 10px }
.lpt th, .lpt td { font-size: 13px; vertical-align: top }
.lpck li { font-size: 15px }
.dg .dq { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line) }
.dg .dq:first-of-type { border-top: 0; padding-top: 0 }
.dg .dq-h { font-size: 15px; font-weight: 800; line-height: 1.5; margin-bottom: 8px }
.dg .dq-h span { display: inline-block; background: var(--red); color: var(--white); font-size: 12px; border-radius: var(--r-pill); padding: 1px 8px; margin-right: 8px; vertical-align: 1px }
.dg .btn-next { margin-top: 18px }
.dg-kc { margin: 0 0 12px }
.dg-err { margin-top: 8px; color: var(--cta); font-size: 14px; font-weight: 700 }
#result [data-dg-how] .tlink { display: table; margin-top: 8px }
/* 案内役・1 位の段・事務所の段・最後の申し込み（広告の着地のページ・11/28 直し） */
.guide { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; text-align: left }
.guide .gface, .kv .fig .guide .gface { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line) }
.guide .gbub { position: relative; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-box); padding: 8px 12px; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--ink) }
.guide .gbub::before { content: ""; position: absolute; left: -7px; top: 50%; width: 12px; height: 12px; background: var(--white); border-left: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transform: translateY(-50%) rotate(45deg) }
.kv .guide.kvg2 { margin: 16px auto 0; max-width: 440px }
.kvrank .guide.kvg { margin: 2px 0 0 }
.kvrank .kr1 { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; background: var(--red-soft); border-radius: var(--r-box); padding: 10px 12px }
.kvrank .kr1-r { color: var(--red); font-weight: 800; font-size: 13px; text-align: center; line-height: 1 }
.kvrank .kr1-r b { display: block; font-size: 38px }
.kvrank .kr1-n { font-size: 20px; font-weight: 800; line-height: 1.4 }
.kvrank .kr1-s { font-size: 13px; font-weight: 700; color: var(--ink-2) }
.kvrank .kr1-s b { font-size: 22px; color: var(--red) }
.kvrank .kr1-c { display: flex; flex-wrap: wrap; gap: 6px }
.kvrank .kr1-c li { font-size: 13px; font-weight: 700; border: 1px solid var(--red); color: var(--red); border-radius: var(--r-pill); padding: 2px 10px; background: var(--white) }
.kvrank .kr23 { border-top: 1px solid var(--line); padding-bottom: 8px }
.kvrank .kr23 li { display: grid; grid-template-columns: 40px 1fr auto; gap: 6px; font-size: 13px; font-weight: 700; padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink-2) }
.kvrank .kr23 li span, .kvrank .kr23 li b { color: var(--ink-2) }
.rcard.lpc.hl { border: 2px solid var(--red); padding: 15px; position: relative }
.lpc .rib { display: inline-block; background: var(--red); color: var(--white); font-size: 12px; font-weight: 800; border-radius: var(--r-pill); padding: 2px 10px; margin-bottom: 8px }
.lpc.vsg { border: 2px solid var(--ink) }
.lpc.vsg .rib { background: var(--ink) }
.lpc.vsg .nm { font-size: 20px; font-weight: 800 }
.lpc.vsg .ad { font-size: 13px; color: var(--g60) }
.zf { background: var(--red-soft) }
.zf-k { text-align: center; font-size: 13px; font-weight: 800; color: var(--red) }
.zf-k span { display: inline-block; background: var(--red); color: var(--white); border-radius: var(--r-pill); padding: 1px 10px; margin-right: 6px }
.zf .sec-h { margin-top: 6px }
.zf-grid { display: grid; gap: 16px; margin-top: 20px }
.zf-ph, .mt-ph, .fin-ph { margin: 0 }
.zf-ph img, .mt-ph img, .fin-ph img { width: 100%; height: auto; border-radius: var(--r-card); display: block }
.zf-ph figcaption, .mt-ph figcaption, .fin-ph figcaption { font-size: 12px; color: var(--g60); text-align: right; margin-top: 4px }
.zf-b { background: var(--white); border-radius: var(--r-card); padding: 16px }
.zf-t { display: grid; grid-template-columns: 1fr 1fr; gap: 8px }
.zf-t li { border: 1px solid var(--line); border-radius: var(--r-box); padding: 8px 10px; text-align: center; line-height: 1.4 }
.zf-t .zk { display: block; font-size: 12px; color: var(--g60); font-weight: 700 }
.zf-t b { display: block; white-space: nowrap; font-size: 20px; font-weight: 800; color: var(--red) }
.zf-t small { display: block; font-size: 12px; color: var(--ink-2) }
.zf-f { margin-top: 6px; display: grid; gap: 8px }
.zf-f li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; font-size: 14px; line-height: 1.6 }
.zf-f li b { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: var(--white); font-size: 14px; display: grid; place-items: center }
.zf-b .cta { margin-top: 14px }
.mt-grid { display: grid; gap: 14px; margin-top: 14px }
.lpfin { background: var(--red-soft) }
.fin { display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: end }
.fin-b .cta { text-align: left }
.zbox { margin-top: 16px; background: var(--white); border: 2px solid var(--red); border-radius: var(--r-card); padding: 14px }
.tbtn { display: inline-block; background: var(--cta); color: var(--white); font-weight: 800; font-size: 13px; border-radius: 8px; padding: 8px 10px; text-decoration: none; line-height: 1.4 }
.lpt th.hl, .lpt td.hl { background: var(--red-soft) }
.lpt thead th.hl { color: var(--red) }
@media (min-width: 768px) {
  .zf-grid { grid-template-columns: 1fr 1fr; align-items: start }
  .mt-grid { grid-template-columns: 300px 1fr; align-items: start }
  .fin { grid-template-columns: 220px 1fr; max-width: 860px; margin: 0 auto }
  .zf-t { grid-template-columns: repeat(4, 1fr) }
  .zf-grid .zf-t { grid-template-columns: 1fr 1fr }
}
.kv .fig .guide .gface { border-radius: 50% }
.kvrank .kr1-c li { display: inline-block; grid-template-columns: none; border-top: 1px solid var(--red); padding: 2px 10px; line-height: 1.5; white-space: nowrap }
.kvrank .kr1-c li:first-child { border-top: 1px solid var(--red) }
.tbtn, .tbtn:hover { text-decoration: none; white-space: nowrap }
.zf-b .lpfh { margin-top: 16px }
.lpc.vsg .lpf li { grid-template-columns: 76px 1fr }
.sec-h + .guide { margin-top: 12px }
.zbox { margin: 0 0 16px }
.zbox .guide { margin-bottom: 4px }
@media (max-width: 767px) {
  .fin { grid-template-columns: 1fr; gap: 10px }
  .fin-ph { order: 2 }
  .fin-ph img { height: 220px; object-fit: cover; object-position: 50% 18% }
  .fin-b .cta { text-align: center }
}
/* LP の幅をそろえる（パソコン幅で段ごとに幅がばらばらだった・11/28 ループ） */
@media (min-width: 768px) {
  .lpm .sec .wrap, .lpm .search .wrap { max-width: calc(860px + var(--side) * 2) }
  .lpm .rlist, .lpm #result .res-head, .lpm #result .dg-kc, .lpm #result [data-dg-how], .lpm #result .dnote { max-width: none }
}
.kv .guide.kvg2 { margin-bottom: 24px }
.flp { margin: 12px 0 4px; font-size: 13px }
.flp a { color: inherit; text-decoration: underline }
.tcard .nm .nw { display: block; font-size: .86em }

/* ランキングと表の 3 案（lp/a1・a2・a3。人材紹介・出張買取の比較サイトの型。2026-11-28） */
:root {
  --medal-1: #E9C46A; /* 1 位の札（金に近い色。上の文字は --ink） */
  --medal-2: #CFD4DA; /* 2 位の札（銀） */
  --medal-3: #DDB08A; /* 3 位の札（銅） */
}
.medal { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-weight: 800; font-size: 16px; color: var(--ink); background: var(--gray); border: 1px solid var(--line) }
.medal.md1 { background: var(--medal-1); border-color: var(--medal-1) }
.medal.md2 { background: var(--medal-2); border-color: var(--medal-2) }
.medal.md3 { background: var(--medal-3); border-color: var(--medal-3) }

/* 案 1：結論の囲み・早見表・先頭の列の固定 */
.kv .fig.ketsu { color: var(--ink); text-align: left; padding: 0 16px 14px; border: 3px solid var(--yellow); overflow: hidden }
.ketsu .ketsu-h { margin: 0 -16px 12px; background: var(--yellow); font-weight: 800; font-size: 15px; padding: 6px 16px; letter-spacing: .1em }
.ketsu .ketsu-1 { font-size: 15px; font-weight: 700; line-height: 1.4 }
.ketsu .ketsu-1 b { font-size: 28px; color: var(--red) }
.ketsu .ketsu-r { font-size: 14px; line-height: 1.7; margin-top: 8px }
.ketsu .cta { padding-top: 10px }
.ketsu .ketsu-2 { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: center }
.mini1 { padding-top: 32px }
table.ftable.mini { width: 100%; font-size: 14px }
table.ftable.mini th { width: auto; font-size: 12px; white-space: nowrap }
table.ftable.mini td { vertical-align: middle }
table.ftable.mini td:first-child { width: 44px; text-align: center }
table.ftable.mini td.n { text-align: right; font-weight: 800; color: var(--red); white-space: nowrap }
table.ftable.mini .mn { display: block; font-weight: 800; text-decoration: underline; text-underline-offset: 3px }
table.ftable.mini small { display: block; font-size: 12px; color: var(--g60) }
table.ftable.mini tr.hl td { background: var(--red-soft) }
table.ftable.mini .tbtn { white-space: normal; text-align: center; line-height: 1.4; display: inline-block; max-width: 8.5em }
@media (max-width: 767px) { table.ftable.mini th:nth-child(3), table.ftable.mini td:nth-child(3) { display: none } }
.lpt.stk th:first-child, .lpt.stk td:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); box-shadow: 1px 0 0 var(--line) }
.lpt.stk thead th:first-child { background: var(--gray) }
.rcard .rno.md1 b, .rcard .rno.md2 b, .rcard .rno.md3 b { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 2px; border-radius: 50%; font-size: 22px; color: var(--ink) }
.rcard .rno.md1 b { background: var(--medal-1) }
.rcard .rno.md2 b { background: var(--medal-2) }
.rcard .rno.md3 b { background: var(--medal-3) }
.rcard .rno.md1 span, .rcard .rno.md2 span, .rcard .rno.md3 span { color: var(--ink-2) }

/* 案 2：探し方の比較・向いている人 */
.kv.kv2 { background: var(--red-soft); color: var(--ink) }
.kv.kv2 .catch, .kv.kv2 .h1, .kv.kv2 .sub { color: var(--ink) }
.kv.kv2 .catch .em { color: var(--red) }
.kv.kv2 .fig { background: transparent; box-shadow: none; padding: 0 }
.kv.kv2 .guide .gbub { background: var(--white) }
.means { padding-top: 32px }
.mgrid { display: grid; gap: 12px; margin-top: 12px }
@media (min-width: 768px) { .mgrid { grid-template-columns: repeat(3, 1fr) } }
.mcard { border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px; display: flex; flex-direction: column; background: var(--white) }
.mcard.go { border: 2px solid var(--red); padding: 13px }
.mcard .mh { font-size: 18px; font-weight: 800; line-height: 1.4; color: var(--red) }
.mcard .mh small { display: block; font-size: 12px; color: var(--g60); font-weight: 700 }
.mcard dl { margin-top: 8px; border-top: 1px solid var(--line); flex: 1 }
.mcard dl > div { display: grid; grid-template-columns: 88px 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6 }
.mcard dt { color: var(--g60); font-size: 12px }
.mcard .cta { padding-top: 12px }
.mcard .tlink { margin-top: 4px }
.fit { margin-top: 10px; display: grid; gap: 6px }
.fit > div { border-radius: var(--r-box); padding: 8px 10px; font-size: 14px; line-height: 1.6 }
.fit .ok { background: var(--red-soft) }
.fit .ng { background: var(--gray) }
.fit dt { font-size: 12px; font-weight: 800; color: var(--ink-2) }
.fit dd .tlink { display: inline-flex; margin-left: 6px }

/* 案 3：写真の最初の画面・順位の付け方の表・切り替え */
.kv .fig.kvph { padding: 0; overflow: hidden; display: grid; grid-template-columns: 40% 1fr; align-items: stretch; text-align: left; color: var(--ink) }
.kv .fig.kvph figure { position: relative; margin: 0 }
.kv .fig.kvph figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15% }
.kv .fig.kvph figcaption { position: absolute; left: 6px; bottom: 4px; font-size: 11px; color: var(--white); text-shadow: 0 0 3px rgba(0, 0, 0, .6) }
.kvph .kvph-b { padding: 14px 14px 10px }
.kvph .kr1-n { font-size: 18px; font-weight: 800; line-height: 1.4 }
.kvph .kr1-s { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 4px }
.kvph .kr1-s b { font-size: 20px; color: var(--red) }
.kvph .cta { padding-top: 10px }
.gaiyo { padding-top: 32px }
table.ftable.gtab { width: 100%; font-size: 14px }
table.ftable.gtab th { width: 9em; white-space: nowrap; font-size: 13px }
.sw-b { display: flex; gap: 0; border: 1px solid var(--red); border-radius: var(--r-pill); overflow: hidden; max-width: 420px; margin: 12px auto 16px }
.sw-b button { flex: 1; min-height: 44px; border: 0; background: var(--white); color: var(--red); font: inherit; font-weight: 800; font-size: 14px; cursor: pointer }
.sw-b button[aria-selected="true"] { background: var(--red); color: var(--white) }
.irank { display: grid; gap: 8px }
.irank .ir { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 10px 12px }
.irank .ir.hl { border: 2px solid var(--red); padding: 9px 11px }
.irank .nm { font-weight: 800; line-height: 1.4 }
.irank .nm small { font-size: 12px; color: var(--g60); margin-left: 4px }
.irank .ad { font-size: 13px; color: var(--ink-2) }
.irank .ad b { color: var(--red) }
.irank .tbtn { white-space: normal; text-align: center; line-height: 1.4; display: inline-block; max-width: 8.5em }
.kvph .kvph-c { grid-column: 1 / -1; padding: 0 14px 12px }
.kvph .kvph-c .cta { padding-top: 0 }
.kv .fig.kvph figure { min-height: 170px }
table.ftable.mini .tlink { white-space: nowrap }
@media (max-width: 767px) { table.ftable.gtab th { width: 6.5em; white-space: normal } }
.kv.kv1 { background: var(--gray); color: var(--ink) }
.kv.kv1 .catch, .kv.kv1 .h1 { color: var(--ink) }
.kv.kv1 .catch .em { color: var(--red) }
.kv.kv1 .kv-note { color: var(--g60) }
.kv.kv1 .fig.ketsu { box-shadow: none }
.fit dd .tlink { display: flex; width: fit-content; margin: 4px 0 0 }
.kvph .kr1-s + .kr1-s { margin-top: 0 }
@media (max-width: 767px) {
  .irank .ir { grid-template-columns: 36px 1fr }
  .irank .ir-go { grid-column: 2 }
  .irank .tbtn { max-width: none }
}
.kvph .kr1-s small { display: block; font-size: 12px; color: var(--g60) }
.kv .fig.kvph figcaption { left: 0; bottom: 0; font-size: 12px; text-shadow: none; background: var(--ink); color: var(--white); padding: 1px 6px }

/* 税理士ドットコムの運営会社の安心材料（2026-11-28 平野「プライム上場企業の弁護士ドットコムグループが運営、の安心材料をしっかり見せる」） */
.trust1 { margin-top: 8px; color: var(--ink) }
.trust1 img.tl-z4 { display: block; width: 120px; height: auto; border-radius: 0 }
.trust1 .tl-j { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; font-weight: 800; line-height: 1.5 }
.trust1 img.tl-jpx { flex: none; width: 36px; height: auto; border-radius: 0 }
.trust1 .tl-t { display: flex; flex-wrap: wrap }
.trust1 .t { display: inline-block; white-space: nowrap }
.kvrank .trust1 { margin-top: 0 }
.lpc .trust1 { margin-top: 10px }
.ketsu .trust1 { margin-top: 6px }
.zf-b .trust1 { margin: 0 0 10px }
.zf-b .trust1 .tl-j { font-size: 14px }
.mcard .trust1 { margin-top: 4px }
.mcard .trust1 img.tl-z4 { width: 106px }
.mcard .trust1 .tl-j { font-size: 12px }
.zbox .trust1 { margin: 8px 0 0 }
.kvph .kvph-c .trust1 { margin: 6px 0 10px }
.trust { margin-top: 12px; border: 1px solid var(--red); border-radius: var(--r-box); background: var(--red-soft); padding: 10px 12px }
.trust .trust-top { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line) }
.trust img.tl-jpx-l { flex: none; width: 56px; height: auto; border-radius: 0 }
.trust img.tl-z4 { display: block; width: 133px; height: auto; margin-top: 6px; border-radius: 0 }
.trust .trust-h { font-size: 13px; font-weight: 800; color: var(--red) }
.trust ul { margin-top: 4px }
.trust li { display: grid; grid-template-columns: 40px 1fr; gap: 8px; padding: 4px 0; font-size: 14px; line-height: 1.6; border-top: 1px solid var(--line) }
.trust li:first-child { border-top: 0 }
.trust li .k { font-size: 12px; color: var(--g60) }
.trust li:first-child .v { font-weight: 800 }
.trust .trust-s { margin-top: 4px; font-size: 12px; color: var(--g60); line-height: 1.6 }

/* 2026-11-28 平野の直し（案A で進める・iPhone）：最初の画面の上下・見出し・チャット・1 位の見せ方・比較表・固定の帯 */
.gray .dnote { background: var(--white) }
.lpm .search-h .n { font-size: inherit; line-height: inherit; margin-right: 0; color: inherit }
@media (min-width: 960px) {
  .lpm .kv { padding-bottom: 40px }
  .lpm .kv-in { align-items: center }
  .lpm .kv .txt { padding-bottom: 0 }
  .lpm .kv .fig.kvrank { border-radius: var(--r-card); padding-bottom: 14px }
}
.crown { display: block; width: 24px; height: 16px }
.rcard .rno.r1 .crown, .kvrank .kr1-r .crown { margin: 0 auto 2px }
.rcard .rno.r1 b { color: var(--red) }
.lpc .lpf .v b, .lpc .facts-s b, .kvrank .kr1-c b { font-weight: 800; color: var(--ink) }
.kvrank .kr1-c li b { color: var(--red) }
.lpc .facts-s { list-style: none; padding-left: 0 }
.lpc .facts-s li { padding: 2px 0 }
.chat .chat-win { margin-top: 14px; background: var(--red-soft); border-radius: var(--r-card); padding: 14px 12px }
.chat .chat-log { display: grid; gap: 10px }
.cb { display: flex; gap: 8px; align-items: flex-start }
.cb .cb-face { flex: none; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line) }
.cb .cb-t { background: var(--white); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; padding: 10px 12px; font-size: 15px; line-height: 1.7; max-width: 88% }
.cb .cb-t b { color: var(--red); font-weight: 800 }
.cb .cb-t small { display: block; font-size: 12px; color: var(--g60) }
.cb.me { justify-content: flex-end }
.cb.me .cb-t { background: var(--red); color: var(--white); border-color: var(--red); border-radius: 14px 4px 14px 14px; font-weight: 700 }
.cb .cb-cta { margin-top: 10px }
.cb .cb-cta .cta { margin-top: 0 }
.chat .chat-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px }
.chat .chat-opts:empty { display: none }
.cq { min-height: 48px; border: 2px solid var(--red); background: var(--white); color: var(--red); border-radius: var(--r-pill); font-size: 15px; font-weight: 800; padding: 6px 10px; cursor: pointer; line-height: 1.3 }
.cq:hover { background: var(--red-soft) }
.cq.cq-re { grid-column: 1 / -1; border-color: var(--line-2); color: var(--ink-2); font-weight: 700 }
@media (min-width: 768px) { .chat .chat-opts { grid-template-columns: repeat(3, 1fr) } .cb .cb-t { max-width: 72% } }
.cx-key { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--g60); margin: 12px 0 8px }
.cx-key span { display: inline-flex; align-items: center; gap: 4px }
.cx-key .sy { font-size: 14px }
table.cmpx { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: var(--white) }
table.cmpx thead th { background: var(--white); padding: 12px 4px 10px; text-align: center; vertical-align: top; font-size: 13px; font-weight: 800; line-height: 1.4; border-bottom: 2px solid var(--line) }
table.cmpx thead th.hl { background: var(--red-soft); border-bottom-color: var(--red) }
table.cmpx thead .medal { width: 28px; height: 28px; font-size: 14px }
table.cmpx thead .crown { margin: 2px auto 0 }
table.cmpx .cx-n { display: block; margin-top: 4px; word-break: keep-all; overflow-wrap: anywhere }
table.cmpx tr.cx-l th { background: var(--gray); font-size: 12px; font-weight: 800; color: var(--ink-2); text-align: left; padding: 6px 10px; border-top: 1px solid var(--line) }
table.cmpx td { text-align: center; vertical-align: middle; padding: 8px 4px 10px; font-size: 13px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere }
table.cmpx td.hl { background: var(--red-soft) }
table.cmpx td small { display: block; font-size: 11px; color: var(--g60); margin-top: 2px }
table.cmpx td b { font-weight: 800 }
.sy { display: block; font-size: 24px; font-weight: 800; line-height: 1.1; font-family: "Hiragino Sans", sans-serif }
.cx-key .sy { display: inline }
.sy-o { color: var(--red) }
.sy-t { color: #B7791F }
.sy-x { color: var(--g60) }
.sy-n { color: var(--line-2) }
table.cmpx .cx-sc { font-size: 22px; color: var(--red); line-height: 1.1 }
table.cmpx td.hl .cx-sc { color: var(--red) }
table.cmpx tr.cx-go td { padding: 12px 4px; border-top: 1px solid var(--line) }
table.cmpx .tbtn { white-space: normal; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 9em; text-align: center }
table.cmpx .tlink { font-size: 13px }
@media (min-width: 768px) {
  table.cmpx thead th { font-size: 15px; padding: 16px 8px 12px }
  table.cmpx td { font-size: 14px; padding: 10px 8px 12px }
  table.cmpx tr.cx-l th { font-size: 13px; padding: 7px 16px }
  table.cmpx .tbtn { max-width: none; padding: 10px 16px }
}
.lpbar .sb:not(.ln) { grid-template-areas: "pill lb"; grid-template-rows: auto; align-content: center; padding-top: 8px; padding-bottom: 8px }
.lpbar .sb .lb { line-height: 1.35 }
table.cmpx .cx-op { display: block; font-size: 12px; word-break: keep-all; overflow-wrap: normal }
.cb .cb-t small + br { display: none }
.kvrank .kr1-s b { margin: 0 4px }
table.cmpx thead th { padding-left: 2px; padding-right: 2px }
table.cmpx .cx-n { font-size: clamp(11px, 3.05vw, 15px); letter-spacing: -.01em }
table.cmpx td small { font-size: 12px; color: var(--ink-2) }
table.cmpx .cx-n { font-size: clamp(12px, 3.4vw, 15px); letter-spacing: 0 }
table.cmpx .cx-op { font-size: 12px }
.cx-key { font-size: 13px; color: var(--ink-2) }
.sy-t { color: #8A5A00 }
.sy-x { color: var(--ink-2) }
.sy-n { color: var(--g60) }

/* 都道府県・市区のページの事務所の表（全件を 1 ページに。スマホでは 1 件ずつの箱に組み替える） */
.otbl { margin-top: 12px; overflow-x: auto }
table.otable { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14px; line-height: 1.6 }
table.otable caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
table.otable th { background: var(--gray); font-size: 12px; font-weight: 700; text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap }
table.otable td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top }
table.otable td small { display: block; font-size: 12px; color: var(--g60); margin-top: 2px }
table.otable .on { font-weight: 800; text-underline-offset: 3px }
table.otable ul { list-style: disc; padding-left: 1.1em; margin: 0 }
table.otable td:nth-child(3) { min-width: 15em }
table.otable td:nth-child(6) { white-space: nowrap; font-size: 12px; color: var(--g60) }
table.otable tr[hidden] { display: none }
.mk { display: inline-block; font-size: 12px; font-weight: 700; color: var(--red); border: 1px solid currentColor; border-radius: 4px; padding: 0 6px; margin: 0 4px 4px 0; white-space: nowrap }
.cond { margin-top: 16px }
.cond p { font-size: 14px; line-height: 1.9; margin-top: 4px }
.cond p a { margin-right: 2px }
.chip small { font-size: 12px; color: var(--ink-2); font-weight: 700; margin-left: 4px }
@media (max-width: 767px) {
  table.otable, table.otable tbody, table.otable tr { display: block; width: 100% }
  table.otable thead { display: none }
  table.otable tr { border: 1px solid var(--line); border-radius: var(--r-box); margin-bottom: 8px; padding: 10px 12px 8px }
  table.otable td { display: grid; grid-template-columns: 5.4em 1fr; gap: 0 8px; border: 0; padding: 3px 0; min-width: 0; font-size: 13px; line-height: 1.6 }
  table.otable td:nth-child(3) { min-width: 0 }
  table.otable td:not(:first-child)::before { content: attr(data-l); font-size: 12px; font-weight: 700; color: var(--g60); line-height: 1.8 }
  table.otable td:first-child { display: block; font-size: 16px; padding: 0 0 4px }
  table.otable td:first-child small { display: block; margin-top: 2px }
  table.otable td small { display: block; margin-top: 0 }
  table.otable td:nth-child(6) { font-size: 12px }
  table.otable td .mk { margin: 2px 4px 2px 0 }
  table.otable td.nil { display: none }
  table.otable tr { padding: 8px 12px 6px }
  .ward .otbl { margin-top: 6px }
}
details.pgrp.ward { margin-top: 8px }
details.pgrp.ward .pg-h { font-size: 16px; font-weight: 800 }
details.pgrp.ward .pgrp-in { padding: 0 12px 12px }
details.pgrp.ward .pgrp-in .tlink { margin-top: 4px }
ul.tally { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 10px 0 4px; padding: 0; list-style: none }
ul.tally li { background: var(--gray); border-radius: var(--r-box); padding: 6px 10px; font-size: 13px; line-height: 1.5 }
ul.tally li b { display: block; font-size: 18px; font-weight: 800; color: var(--red); line-height: 1.3 }
ul.tally li b small { font-size: 12px; margin-left: 2px; color: var(--ink) }
.ansbox .note { font-size: 12px; margin-top: 4px }
@media (min-width: 768px) { ul.tally { grid-template-columns: repeat(5, 1fr) } }
@media (min-width: 768px) {
  table.otable td:first-child { min-width: 13em }
  table.otable td:nth-child(2) { min-width: 12em }
  table.otable td:nth-child(4) { min-width: 6.5em }
  table.otable td:nth-child(5) { min-width: 8em }
}
.nolink { font-size: 13px; color: var(--ink-2); word-break: break-all }

/* 載せ替え（2026-11-29・#2181）で足した部品：都道府県・市区・記事の申し込みの枠、記事、規約など */
.flp a + a { margin-left: 16px }
.z4area { margin-top: 18px; background: var(--white); border: 2px solid var(--red); border-radius: var(--r-card); padding: 14px 16px }
.z4area .z4a-h { font-size: 16px; font-weight: 800; line-height: 1.6; color: var(--ink) }
.z4area .z4a-h .tag-s { margin-left: 6px; vertical-align: 2px }
.z4area .z4a-p { margin-top: 6px; font-size: 14px; line-height: 1.8; color: var(--ink-2) }
.z4area .trust1 { margin: 10px 0 0 }
.z4area .cta { margin-top: 10px }
.z4area .tlinks { margin-top: 8px }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--red) }
.acards { display: grid; gap: 12px }
@media (min-width: 768px) { .acards { grid-template-columns: 1fr 1fr } }
.acard { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-card); padding: 14px 16px; color: inherit; text-decoration: none }
.acard:hover { border-color: var(--red) }
.acard .cat { font-size: 12px; font-weight: 700; color: var(--red) }
.acard .nm { margin-top: 4px; font-size: 16px; font-weight: 800; line-height: 1.6 }
.acard .ad { margin-top: 6px; font-size: 13px; line-height: 1.7; color: var(--ink-2) }
.acard .dt { margin-top: 6px; font-size: 12px; color: var(--g60) }
.article h2 { margin-top: 36px; font-size: 20px; line-height: 1.5; font-weight: 800; padding-left: 10px; border-left: 5px solid var(--red) }
.article h3 { margin-top: 24px; font-size: 17px; line-height: 1.6; font-weight: 800 }
.article p, .article li { font-size: 16px; line-height: 1.9 }
.article p { margin-top: 14px }
.article ul, .article ol { margin-top: 12px; padding-left: 1.4em }
.article ul { list-style: disc }
.article ol { list-style: decimal }
.article li + li { margin-top: 4px }
.article table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; line-height: 1.7 }
.article th, .article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top }
.article th { background: var(--gray); font-weight: 700 }
.article .toc { margin-top: 18px; background: var(--gray); border-radius: var(--r-box); padding: 12px 16px }
.article .toc .toctitle { font-size: 14px; font-weight: 800 }
.article .toc ul { margin-top: 6px; list-style: none; padding-left: 0 }
.article .toc li { font-size: 14px; line-height: 1.7 }
.article a, .legal a { color: var(--red); text-decoration: underline }
.article strong { font-weight: 800; background: linear-gradient(transparent 62%, var(--yellow) 62%) }
.legal h2 { margin-top: 28px; font-size: 17px; font-weight: 800 }
.legal p, .legal li { margin-top: 8px; font-size: 15px; line-height: 1.9 }
.legal ul { padding-left: 1.4em; list-style: disc }
.ansbox ul.dots { margin-top: 6px; padding-left: 1.3em; list-style: disc }
.ansbox ul.dots li { font-size: 15px; line-height: 1.8 }
.tlinks.col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-align: left }
/* 1 位の強調と冠（2026-11-29 平野「1位をより目立たせる。冠マーク付ける」） */
.rcard.top1 { border: 2px solid var(--red); background: var(--red-soft); padding: 15px }
.rcard .rib1 { display: inline-block; background: var(--red); color: var(--white); font-size: 12px; font-weight: 800; border-radius: var(--r-pill); padding: 2px 10px; margin-bottom: 6px }
.rcard .rno .crown { margin: 0 auto 2px }
.crown-s { display: inline-block; vertical-align: -1px; margin-right: 3px }
.kvrank .kr li.k1 { font-weight: 800 }
/* 調べ方のページ：項目の表・点の内訳の表・答えの記録（2026-11-29 平野「採点方法など具体的なところまで開示したい」） */
.crit-t th small, .mtx th small { display: block; font-size: 12px; font-weight: 500; color: var(--g60) }
.crit-t td p { margin-top: 4px; font-size: 14px; line-height: 1.75 }
.crit-t td p:first-child { margin-top: 0 }
.mtx { font-size: 13px }
.mtx th, .mtx td { white-space: nowrap }
.mtx tbody th { text-align: left; font-weight: 700 }
.mtx tr.hl td, .mtx tr.hl th { background: var(--red-soft) }
pre.rawtxt { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font); font-size: 13px; line-height: 1.75; background: var(--gray); border-radius: var(--r-box); padding: 10px 12px; margin-top: 6px; max-height: 420px; overflow-y: auto }
.artop { margin-top: 16px; font-size: 14px; line-height: 1.8; background: var(--red-soft); border-radius: var(--r-box); padding: 10px 14px }
.artop a { color: var(--red); font-weight: 700; text-decoration: underline }
.z4mid { margin: 28px 0 }
.crit-t th { width: 8.5em }
.crit-t td p b { font-size: 13px; color: var(--red); margin-right: 6px }
.sec.s.mtx-sec { padding-top: 0; padding-bottom: 0 }
.mtx th, .mtx td { padding: 6px 8px }
.mtx thead th { font-size: 12px; text-align: center }
.mtx tbody th { max-width: 15em; white-space: normal }
.kvrank .kr li em.kn { font-style: normal }
@media (max-width: 600px) { .crit-t th { width: 6.5em } }
