
/* ============================================================
   ジョージアワイン 卸売・輸入業者一覧 — Design System
   価格.com 住宅ローンランキングの設計言語をベースにした
   情報密度の高い比較・ランキング型レイアウト。
   ============================================================ */

:root {
  /* 文字サイズのルール(スマホは @media (max-width: 600px) で上書き)
     h1  .hero__ttl ........................................ 44px / 28px
     h2  .sec-h2 .ttl-bar .prose h2 .line-cta__ttl ........... 22px / 20px
     h3  .card h3 .faq__item h3 .panel__head .steps b .rk-name 17px / 16px
     リード文 .lead ......................................... 16px / 15px
     本文 body, p, dl, .notice, .prose, .chg, .steps ......... 15px
     表   .tbl .............................................. 14px / 13px
     注釈・メタ .small .meta .crumb .site-footer .ttl-bar .sub 13px
     タグ・チップ .chip .kind .rk-tag(これより小さくしない) .... 12px */
  --fs-h1: 44px; --fs-h2: 22px; --fs-h3: 17px; --fs-lead: 16px; --fs-body: 15px; --fs-table: 14px; --fs-small: 13px; --fs-tag: 12px;
  /* 基本色 */
  --c-navy: #333367;        /* 見出し・パネルタイトル */
  --c-brand: #001789;       /* ブランド */
  --c-link: #0867bf;        /* リンク */
  --c-link-hover: #1e85e5;
  --c-link-deep: #165ea1;
  --c-arrow: #5793cb;       /* パンくず矢印 */
  --c-text: #333;
  --c-text-sub: #666;
  --c-text-muted: #888;
  --c-text-faint: #999;
  --c-bg: #fff;
  --c-panel: #edeff2;       /* パネル背景・見出しバー */
  --c-panel-soft: #f7f7f7;
  --c-line: #ddd;
  --c-line-soft: #eee;

  /* 強調 */
  --c-red: #db3e26;         /* 重要数値 */
  --c-orange: #ff8600;      /* CTA */
  --c-orange-light: #ff9a29;
  --c-orange-border: #f07700;
  --c-orange-shadow: #c96800;
  --c-orange-hover-a: #ffc92f;
  --c-orange-hover-b: #ff9125;
  --c-orange-hover-border: #ffa145;

  /* 順位 */
  --c-gold: #d3b134;
  --c-silver: #adb2b9;
  --c-bronze: #b78d7a;
  --c-rank: #f69d03;
  --c-rank-none: #c6c6c6;

  /* 種別アイコン */
  --c-type-pink: #d16f91;
  --c-type-violet: #888aba;
  --c-type-green: #83a65b;

  --font: "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Noto Sans JP", "Yu Gothic UI", arial, verdana, sans-serif;
  --font-num: Verdana, "Noto Sans JP", sans-serif;

  --page-w: 1000px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-cta: 10px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--c-link); text-decoration: none; }
a:hover { color: var(--c-link-hover); text-decoration: underline; }
table { border-collapse: collapse; width: 100%; }
code { font-family: Consolas, Menlo, monospace; font-size: .92em; background: var(--c-panel); padding: 1px 5px; border-radius: 3px; }

.wrap { max-width: var(--page-w); margin: 0 auto; padding: 0 12px; }
.numr { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.muted { color: var(--c-text-muted); }
.small { font-size: var(--fs-small); }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; }
.mb12 { margin-bottom: 12px; } .mb16 { margin-bottom: 16px; } .mb24 { margin-bottom: 24px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); }
.site-header__inner {
  max-width: var(--page-w); margin: 0 auto; padding: 0 12px;
  height: 52px; display: flex; align-items: center; gap: 24px;
}
.brand { font-size: 17px; font-weight: 700; color: var(--c-navy); white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--c-navy); }
.brand span { font-weight: 400; color: var(--c-text-muted); font-size: 13px; margin-left: 6px; }
.site-nav { display: flex; gap: 18px; margin-left: auto; }
.site-nav a { font-size: 14px; color: var(--c-text); white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--c-link); }
.site-nav a[aria-current="page"] { font-weight: 700; }

.ribbon {
  background: var(--c-panel); border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-small); color: var(--c-text-sub); text-align: center; padding: 6px 12px;
}

/* ---------- Breadcrumb (p-map_cat) ---------- */
.crumb { font-size: var(--fs-small); color: var(--c-text-muted); padding: 14px 0 10px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 0 4px; }
.crumb li { position: relative; }
.crumb li + li { padding-left: 12px; }
.crumb li + li::before {
  content: ""; position: absolute; left: 2px; top: .7em; margin-top: -.2em;
  border: solid transparent; border-width: 3px 5px; border-left-color: var(--c-arrow);
}
.crumb a { color: var(--c-text-muted); }
.crumb a:hover { color: var(--c-link-hover); }
.crumb li:first-child { font-weight: 700; }

/* ---------- Page title & lead ---------- */
.page-ttl { font-size: 28px; font-weight: 700; line-height: 1.35; color: var(--c-text); margin: 6px 0 10px; }
.page-ttl small { font-size: 16px; font-weight: 700; color: var(--c-navy); margin-left: 8px; }
.lead { font-size: var(--fs-lead); line-height: 1.8; color: var(--c-text); }
.lead .meta { font-size: var(--fs-small); color: var(--c-text-muted); }
.lead .meta + .meta::before { content: " "; }

/* ---------- Section title bar (in-def-ttl) ---------- */
.ttl-bar {
  background: var(--c-panel); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
  padding: 9px 12px 8px; margin: 44px 0 18px;
}
.ttl-bar__in { display: block; border-left: 4px solid var(--c-navy); padding-left: 8px; }
.ttl-bar__in h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.3; color: var(--c-text); margin: 0; }
.ttl-bar .sub { display: block; font-size: var(--fs-small); font-weight: 400; color: var(--c-text-muted); margin-top: 2px; }
.ttl-bar--first { margin-top: 16px; }

/* ---------- Panel (contents-blk) ---------- */
.panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.panel + .panel { margin-top: 16px; }
.panel__head {
  background: var(--c-panel); border-bottom: 1px solid var(--c-line);
  padding: 9px 14px 8px; font-size: var(--fs-h3); font-weight: 700; color: var(--c-navy); line-height: 1.3;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.panel__head .sub { font-size: var(--fs-small); font-weight: 400; color: var(--c-text-muted); }
.panel__body { padding: 12px 14px; }
.panel__body--flush { padding: 0; }
.panel__foot { border-top: 1px solid var(--c-line-soft); padding: 8px 14px; font-size: var(--fs-small); color: var(--c-text-muted); background: #fafafa; }

/* ---------- KPI row (rkHero_price) ---------- */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; }
.kpi { padding: 12px 14px; border-right: 1px solid var(--c-line-soft); }
.kpi:last-child { border-right: none; }
.kpi .lbl { font-size: 12px; color: var(--c-text-muted); line-height: 1.3; }
.kpi .val { font-family: var(--font-num); font-size: 22px; font-weight: 700; color: var(--c-red); line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .val small { font-size: 12px; font-weight: 700; margin-left: 2px; }
.kpi .val.val--navy { color: var(--c-navy); }
.kpi .val.val--date { font-size: 16px; }
.kpi .note { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }

/* ---------- Ranking item (p-planSearchList_item) ---------- */
.rk-list { display: flex; flex-direction: column; gap: 16px; }
.rk-item {
  position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 18px 18px 18px 20px;
  display: grid; grid-template-columns: 104px 1fr 236px; gap: 16px; align-items: start;
}
.rk-item--pr { border-color: var(--c-orange-border); }
.rk-item--compact { grid-template-columns: 78px 1fr auto; padding: 10px 14px 10px 16px; }
.rk-item:hover { border-color: #bbb; }

.rank-box { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 700; line-height: 1; padding-top: 2px; }
.rank-box svg { width: 18px; height: 16px; flex: none; align-self: center; margin-right: 3px; }
.rank-box .n { font-family: var(--font-num); font-size: 24px; }
.rank-box .u { font-size: 14px; }
.rank1 { color: var(--c-gold); }
.rank2 { color: var(--c-silver); }
.rank3 { color: var(--c-bronze); }
.rank4 { color: var(--c-rank); }
.rank0 { color: var(--c-rank-none); }

.rk-main { min-width: 0; }
.rk-name { font-size: 17px; font-weight: 700; line-height: 1.35; }
.rk-name a { color: var(--c-link); }
.rk-corp { font-size: var(--fs-small); color: var(--c-text-muted); margin-top: 2px; }
.operator-tag {
  display: inline-block; font-size: 11px; font-weight: 400; color: var(--c-orange-border);
  border: 1px solid currentColor; border-radius: 3px; padding: 0 6px; margin-left: 8px; vertical-align: middle; line-height: 1.6;
}

.rk-eva { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; margin-top: 10px; }
.type-icons { display: flex; gap: 4px; }
.type-icon {
  width: 84px; height: 33px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid var(--c-line); border-radius: 2px; background: rgba(255,255,255,.6); line-height: 1.15; text-align: center;
}
.type-icon b { font-size: 11px; font-weight: 700; }
.type-icon span { font-size: 10px; }
.type-icon--measured { color: var(--c-type-green); }
.type-icon--extracted { color: var(--c-type-violet); }
.type-icon--manual { color: var(--c-navy); }
.type-icon--unknown { color: var(--c-text-faint); }
.type-icon--wholesale { color: var(--c-type-pink); }

.rate-blk { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.rate-blk .lbl { font-size: 14px; color: var(--c-text-sub); }
.big-num { font-family: var(--font-num); font-size: 21px; font-weight: 700; color: var(--c-red); line-height: 1; font-variant-numeric: tabular-nums; }
.big-num small { font-size: 12px; font-weight: 700; margin-left: 1px; }
.big-num.big-num--muted { color: var(--c-text-faint); }
.rate-blk .date { font-size: var(--fs-tag); color: var(--c-text-muted); margin-left: 4px; }

.spec-list { margin-top: 8px; font-size: var(--fs-small); line-height: 1.5; color: var(--c-text); }
.spec-list span { display: inline-block; padding-right: 7px; margin-right: 6px; border-right: 1px solid var(--c-text-muted); }
.spec-list span:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.spec-list b { color: var(--c-text-sub); font-weight: 400; margin-right: 2px; }
.rk-desc { font-size: 14px; line-height: 1.6; color: var(--c-text); margin-top: 8px; }

.rk-side { display: flex; flex-direction: column; gap: 8px; }
.rk-side .health-line { font-size: var(--fs-small); color: var(--c-text-muted); display: flex; gap: 10px; align-items: center; justify-content: flex-end; }

/* ---------- Ranking card v2（mock/card-ideas.html 準拠） ---------- */
.rk-list .rk-item { padding: 14px; gap: 14px; grid-template-columns: 104px 1fr 236px; font-size: 14px; line-height: 1.55; transition: border-color .15s, box-shadow .15s; }
.rk-list .rk-item:hover { border-color: #bbb; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.rk-rank { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.rk-logo { width: 88px; height: 64px; border: 1px solid var(--c-line-soft); border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px; }
.rk-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.rk-logo--none { border-style: dashed; color: #bbb; font-size: 11px; text-align: center; line-height: 1.3; }
.rk-item .rk-name { font-size: 20px; font-weight: 700; line-height: 1.3; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rk-tag { font-size: var(--fs-tag); font-weight: 700; padding: 2px 8px; border-radius: 3px; border: 1px solid; line-height: 1.5; }
.rk-tag--ws { color: #fff; background: var(--c-red); border-color: var(--c-red); }
a.rk-tag--ws:hover { color: #fff; text-decoration: none; filter: brightness(1.08); }
.rk-tag--op { color: var(--c-orange-shadow); background: #fff3e0; border-color: #ffd8a0; font-weight: 400; }
.rk-nums { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--c-line-soft); border-radius: 4px; overflow: hidden; background: #fafafa; margin-top: 10px; }
.rk-num { padding: 8px 10px; border-right: 1px solid var(--c-line-soft); min-width: 0; }
.rk-num:last-child { border-right: none; }
.rk-num .l { font-size: var(--fs-tag); color: var(--c-text-muted); }
.rk-num .v { font-family: var(--font-num); font-weight: 700; font-size: 26px; color: var(--c-red); line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rk-num .v small { font-size: 12px; color: var(--c-text); margin-left: 2px; font-weight: 700; }
.rk-num .v--navy { color: var(--c-navy); font-size: 18px; padding-top: 4px; letter-spacing: -.01em; }
.rk-num .v--dash { color: #bbb; }
.rk-num .s { font-size: var(--fs-tag); color: var(--c-text-sub); }
.rk-num .s--warn { color: var(--c-red); }
.rk-spec { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 18px; margin-top: 10px; font-size: var(--fs-small); }
.rk-spec__row { display: flex; gap: 6px; align-items: baseline; min-width: 0; }
.rk-spec__row--wide { grid-column: 1 / -1; }
.rk-spec b { flex: none; color: var(--c-text-sub); font-weight: 700; width: 6.5em; }
.rk-spec__row > span { min-width: 0; }
.rk-dash, .rk-contact__off { color: #bbb; }
.rk-asts { display: flex; flex-wrap: wrap; gap: 4px; }
.rk-ast { font-size: var(--fs-tag); padding: 1px 8px; border-radius: 999px; background: var(--c-panel); color: var(--c-text-sub); white-space: nowrap; }
.rk-ast--amber { background: #fdefd6; color: #8a5a00; }
.rk-ast--qvevri { background: #e8eef8; color: #2f4a80; }
.rk-ast--sweet { background: #fbe3ec; color: #8a2a4a; }
.rk-ast--red { background: #f6e1e1; color: #8a2020; }
.rk-ast--white { background: #f4f1e4; color: #6b5d1a; }
.rk-ast--fizz { background: #e3f3f6; color: #1f6b7a; }
.rk-ast--price { background: #e9f5e6; color: #2f6b2a; }
.rk-ast--gift { background: #f0e8f8; color: #5a3b8a; }
.rk-ast--natural { background: #e6f4ea; color: #1f6b3a; }
.rk-ast--spirit { background: #efe9dc; color: #6b4a1a; }
.rk-contact { margin-top: 10px; padding-top: 9px; border-top: 1px dashed var(--c-line); display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: var(--fs-small); align-items: center; }
.rk-contact__ic { display: inline-flex; align-items: center; gap: 6px; }
.rk-contact__ic i, .rk-contact__chat i { display: inline-flex; width: 18px; height: 18px; border-radius: 4px; align-items: center; justify-content: center; color: #fff; font-size: 10px; font-weight: 700; font-style: normal; flex: none; }
.rk-contact__ic--chat i, .rk-contact__chat i { background: #06c755; }
.rk-contact__ic--mtg i { background: var(--c-navy); }
.rk-contact__ic--time i { background: #888; }
.rk-contact__chat { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #06c755; border: 1px solid #06c755; border-radius: 999px; padding: 3px 10px 3px 6px; background: #fff; }
.rk-contact__chat:hover { text-decoration: none; background: #f2fcf5; color: #06c755; }
.rk-contact__reg { color: var(--c-text-muted); font-size: var(--fs-tag); }
.rk-item .rk-side { gap: 8px; }
.rk-item .rk-side .btn-line { border-radius: 6px; padding: 8px 10px; font-size: 14px; }
.rk-side .health-line { justify-content: center; flex-wrap: wrap; gap: 8px; font-size: var(--fs-tag); }
.rk-side .warn-note { color: #b8860b; font-size: var(--fs-tag); }
.btn-ws { background: #fff !important; border-color: #1f8fff !important; color: #1f8fff !important; transition: background .15s, color .15s; }
.btn-ws:hover { background: #1f8fff !important; color: #fff !important; }
.btn-chat { background: #fff !important; border-color: #06c755 !important; color: #06c755 !important; transition: background .15s, color .15s; }
.btn-chat:hover { background: #06c755 !important; color: #fff !important; }
.rk-yes { color: var(--c-text); font-weight: 700; }
.rk-wslink { font-weight: 700; }
.rk-terms { display: block; margin-top: 2px; color: var(--c-text); }
.btn-ghost { border-color: var(--c-line) !important; color: var(--c-text-sub) !important; font-weight: 400; }
.btn-off { opacity: .4; pointer-events: none; }

/* ---------- CTA (conv2) ---------- */
.cta {
  display: block; width: 100%; border: 1px solid var(--c-orange-border); border-radius: var(--r-cta);
  box-shadow: 0 1px 0 var(--c-orange-shadow); background: #ffbf77; padding-bottom: 1px; line-height: 1; text-decoration: none;
}
.cta > span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(var(--c-orange-light) 0%, var(--c-orange) 100%); border-radius: var(--r-cta);
  padding: 12px 10px 11px; text-align: center;
}
.cta .ic {
  width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--c-orange); flex: none;
  display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1;
}
.cta .main { font-size: 16px; font-weight: 700; color: #fff; text-shadow: 0 -1px 1px #de7100; }
.cta .sub { font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 -1px 1px #de7100; margin-left: 2px; }
.cta:hover { border-color: var(--c-orange-hover-border); text-decoration: none; }
.cta:hover > span { background: linear-gradient(var(--c-orange-hover-a) 0%, var(--c-orange-hover-b) 100%); }
.cta--sm > span { padding: 8px 10px 7px; }
.cta--sm .main { font-size: 15px; }

.btn-line {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--c-link); color: var(--c-link); background: #fff; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 700; padding: 8px 14px; line-height: 1.2; text-decoration: none;
}
.btn-line:hover { background: #f2f7fc; text-decoration: none; }
.btn-line--block { display: flex; width: 100%; }
.btn-line--muted { border-color: var(--c-line); color: var(--c-text-sub); font-weight: 400; }

/* ---------- Table (p-item_tbl1) ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; }
.tbl { font-size: var(--fs-table); line-height: 1.5; min-width: 640px; }
.tbl th, .tbl td { border: 1px solid var(--c-line); padding: 8px 10px; vertical-align: middle; text-align: left; }
.tbl th { background: var(--c-panel); font-size: var(--fs-small); font-weight: 700; color: var(--c-text); white-space: nowrap; }
.tbl tr > :first-child { border-left: none; }
.tbl tr > :last-child { border-right: none; }
.tbl tr:first-child > * { border-top: none; }
.tbl tr:last-child > * { border-bottom: none; }
.tbl .n { text-align: right; font-family: var(--font-num); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl .n b { color: var(--c-red); font-size: 15px; }
.tbl .vname { font-weight: 700; }
.tbl .vsub { display: block; font-size: var(--fs-tag); color: var(--c-text-muted); font-weight: 400; }
.tbl tbody tr:hover td { background: #fafbfc; }
.tbl--wide { min-width: 860px; }
.tbl--tight { min-width: 0; }
.tbl--tight th { width: 180px; }
/* 業者一覧の比較表 */
.tbl--cmp { min-width: 880px; }
.tbl--cmp th, .tbl--cmp td { padding: 9px 10px; }
.tbl--cmp th.n, .tbl--cmp td.n { text-align: right; }
.tbl--cmp .n b { font-size: 18px; }
.tbl--cmp .n small { font-size: var(--fs-tag); color: var(--c-text); margin-left: 2px; }
.tbl--cmp .vsub--warn { color: var(--c-red); }
.cmp-who { width: 224px; min-width: 224px; white-space: normal; vertical-align: middle; }
.cmp-vbox { width: 200px; margin: 0 auto; text-align: center; }
.cmp-logo-lg { height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 6px; }
.cmp-logo-lg img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.cmp-logo-lg--ico img { width: 40px; height: 40px; }
.cmp-logo-lg--none { color: #bbb; font-size: var(--fs-tag); }
.cmp-vbox .vname { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--c-link); }
.cmp-vbox .vname:hover { color: var(--c-link-hover); }
.cmp-price { font-family: var(--font-num); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--c-navy); font-weight: 700; }
.cmp-ws { font-weight: 700; white-space: nowrap; }
.tbl--cmp td:nth-child(5), .tbl--cmp td:nth-child(6) { white-space: nowrap; }
.cmp-date { white-space: nowrap; font-family: var(--font-num); }
.cmp-cta { white-space: nowrap; }
.cmp-cta .btn-line { padding: 6px 10px; font-size: 13px; border-radius: 6px; }
/* 比較表ページの見出し・要約・定義・FAQ */
.sec-h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.3; color: var(--c-text); border-left: 4px solid var(--c-navy); padding-left: 10px; margin: 38px 0 14px; }
/* 比較のポイント（カード）と相談導線 */
.cmp-go__btns .btn-line { font-size: 13px; padding: 7px 12px; border-radius: 6px; }
.cmp-go { margin-top: 22px; background: #fbf9f3; border: 1px solid #e7e3d8; border-radius: 10px; padding: 20px 22px; }
.cmp-go h3 { font-size: 18px; font-weight: 700; color: var(--c-text); margin: 0 0 8px; line-height: 1.5; }
.cmp-go p { font-size: var(--fs-body); line-height: 1.85; margin: 0; }
.cmp-go__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cmp-go p.cmp-go__more { margin-top: 10px; font-size: var(--fs-small); color: var(--c-text-sub); }
.cmp-go p.cmp-go__apply { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e0dbcd; font-size: var(--fs-small); color: var(--c-text-sub); }
.cmp-go__apply strong { color: var(--c-text); }
.cmp-defs { display: grid; grid-template-columns: 11em 1fr; gap: 8px 16px; font-size: var(--fs-body); line-height: 1.7; }
.cmp-defs dt { font-weight: 700; color: var(--c-navy); }
.cmp-defs dd { margin: 0; }
.faq__item { border: 1px solid var(--c-line); border-radius: 8px; padding: 12px 16px; margin-bottom: 10px; background: #fff; }
.faq__item h3 { font-size: var(--fs-h3); font-weight: 700; color: var(--c-navy); margin: 0 0 6px; }
.faq__item h3::before { content: "Q"; display: inline-block; font-family: var(--font-num); color: var(--c-red); margin-right: 8px; }
.faq__item p { font-size: var(--fs-body); line-height: 1.8; margin: 0; }
/* 運営元の LINE 相談バナー（比較表の直後）と、スマホ用の追従ボタン */
.line-cta { margin: 22px 0 6px; border: 2px solid #06c755; border-radius: 12px; background: #f3fcf6; padding: 22px 24px; }
.line-cta__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.line-cta__badge { display: inline-flex; align-items: center; background: #06c755; color: #fff; font-weight: 700; font-size: var(--fs-small); border-radius: 999px; padding: 4px 12px; letter-spacing: .02em; }
.line-cta__pr { font-size: var(--fs-tag); color: var(--c-text-muted); border: 1px solid var(--c-line); border-radius: 4px; padding: 2px 6px; background: #fff; }
.line-cta__ttl { font-size: var(--fs-h2); font-weight: 700; line-height: 1.5; color: var(--c-text); margin: 12px 0 8px; border: 0; padding: 0; }
.line-cta__lead { font-size: var(--fs-body); line-height: 1.9; margin: 0; color: var(--c-text); }
.line-cta__pts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 20px; font-size: 14px; line-height: 1.6; }
.line-cta__pts li { padding-left: 1.4em; position: relative; }
.line-cta__pts li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #06c755; font-weight: 700; }
.line-cta__pts b { color: var(--c-navy); }
.line-cta__act { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin-top: 18px; }
.btn-lineapp { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: #06c755; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.2; border-radius: 8px; padding: 11px 24px; text-decoration: none; box-shadow: 0 2px 0 #05a648; transition: background .15s; }
.btn-lineapp small { font-size: var(--fs-tag); font-weight: 400; opacity: .95; }
.btn-lineapp:hover { background: #05b34c; color: #fff; text-decoration: none; }
.line-cta__act .btn-line { font-size: 14px; padding: 10px 16px; border-radius: 8px; }
.line-cta__note { font-size: var(--fs-small); color: var(--c-text-sub); margin: 12px 0 0; line-height: 1.7; }
.line-fab { display: none; }
@media (max-width: 900px) {
  .line-cta { padding: 16px; margin-top: 16px; }
  .line-cta__ttl { line-height: 1.45; }
  .line-cta__pts { grid-template-columns: 1fr; }
  .line-cta__act { flex-direction: column; }
  .line-fab { display: inline-flex; position: fixed; right: 14px; bottom: 14px; z-index: 50; align-items: center; gap: 6px; background: #06c755; color: #fff; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 11px 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, .22); text-decoration: none; transition: opacity .25s, transform .25s; }
  .line-fab::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
  .js .line-fab:not(.is-on) { opacity: 0; transform: translateY(12px); pointer-events: none; }
}
/* ワイナリー逆引き表: ワイナリー列を固定、公式リンクのアイコン、業者ごとの行 */
.tbl--wn { min-width: 760px; }
.tbl--wn th:first-child, .tbl--wn td.wn-name { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 2px 0 0 var(--c-line); }
.tbl--wn th:first-child { background: var(--c-panel); }
.tbl--wn td.wn-name { min-width: 200px; max-width: 280px; }
.tbl--wn td.wn-name .vname { font-size: 15px; line-height: 1.4; }
.tbl--wn .wn-links { white-space: nowrap; width: 1%; }
.tbl--wn .wn-region { color: var(--c-text-sub); font-size: var(--fs-small); }
.tbl--wn .wn-vendor { white-space: nowrap; }
.tbl--wn .wn-go { white-space: nowrap; width: 1%; }
.tbl--wn .wn-go .btn-line { padding: 6px 10px; font-size: 13px; border-radius: 6px; }
.tbl--wn tr.wn-cont > td { border-top-color: #eef0f3; }
.ofl-row { display: inline-flex; gap: 6px; }
.ofl { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1px solid var(--c-line); border-radius: 50%; background: #fff; text-decoration: none; transition: background .15s, color .15s; }
.ofl:hover { text-decoration: none; }
.ofl svg { width: 16px; height: 16px; display: block; }
.ofl--site { color: var(--c-navy); border-color: var(--c-navy); }
.ofl--site:hover { background: var(--c-navy); color: #fff; }
.ofl--ig { color: #d62976; border-color: #d62976; }
.ofl--ig:hover { background: #d62976; color: #fff; }
.ofl--fb { color: #1877f2; border-color: #1877f2; }
.ofl--fb:hover { background: #1877f2; color: #fff; }
@media (max-width: 900px) {
  .tbl--wn { font-size: var(--fs-table); }
  .tbl--wn th, .tbl--wn td { padding: 7px 8px; }
  .tbl--wn td.wn-name { min-width: 150px; max-width: 170px; }
  .tbl--wn td.wn-name .vname { font-size: 13px; }
  .ofl { width: 28px; height: 28px; }
  .ofl svg { width: 15px; height: 15px; }
}
/* 相談ページ: 流れのステップ、フォームの必須ラベル、ハニーポット、通知の色分け */
.mt24 { margin-top: 24px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { counter-increment: s; position: relative; border: 1px solid var(--c-line); border-radius: 10px; background: #fff; padding: 16px 16px 16px 60px; font-size: var(--fs-body); line-height: 1.7; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--c-navy); color: #fff; font-family: var(--font-num); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.steps li b { display: block; font-size: var(--fs-h3); color: var(--c-navy); margin-bottom: 4px; }
.form .lbl { display: inline-flex; align-items: center; gap: 6px; }
.form .req { font-size: 11px; font-weight: 700; color: #fff; background: var(--c-red); border-radius: 3px; padding: 1px 6px; line-height: 1.5; }
.form .hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.notice--ok { background: #f3fcf6; border-color: #bfe3c8; }
.notice--err { background: #fff5f3; border-color: #f0c9c2; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
}
/* フォームの送信ボタン(<button>専用。<a>用の .cta を流用しない) */
.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; appearance: none; -webkit-appearance: none;
  border: 1px solid var(--c-orange-border); border-radius: var(--r-cta); box-shadow: 0 1px 0 var(--c-orange-shadow);
  background: linear-gradient(var(--c-orange-light) 0%, var(--c-orange) 100%); color: #fff;
  font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1.2; text-shadow: 0 -1px 1px #de7100;
  padding: 13px 28px; min-width: 260px; cursor: pointer;
}
.btn-submit::before { content: "▶"; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--c-orange); font-size: 10px; text-shadow: none; }
.btn-submit:hover { background: linear-gradient(var(--c-orange-hover-a) 0%, var(--c-orange-hover-b) 100%); border-color: var(--c-orange-hover-border); }
.form input, .form textarea, .form select { width: 100%; max-width: 100%; box-sizing: border-box; }
/* 相談ページのカード(サブタイトル無し) */
.cards-3--plain .card { padding: 18px 20px; }
.cards-3--plain .card h3 { margin: 0 0 8px; font-size: var(--fs-h3); line-height: 1.5; color: var(--c-navy); }
.cards-3--plain .card p { margin: 0; font-size: var(--fs-body); line-height: 1.8; }
/* サイトマップ(HTML) */
.sm { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 32px; }
.sm__sec--wide { grid-column: 1 / -1; }
.sm__list { list-style: none; padding: 0; margin: 0; font-size: var(--fs-body); line-height: 1.6; }
.sm__list li { padding: 5px 0; border-bottom: 1px solid var(--c-line-soft); }
.sm__list--cols { columns: 3; column-gap: 32px; }
.sm__list--cols li { break-inside: avoid; }
@media (max-width: 860px) {
  .sm { grid-template-columns: 1fr; }
  .sm__list--cols { columns: 2; }
}
@media (max-width: 600px) {
  .sm__list--cols { columns: 1; }
}
/* 業者・ワイナリーページ冒頭の直接回答、ワイナリーの公式リンク行 */
.answer { font-size: var(--fs-lead); line-height: 1.8; margin: 4px 0 12px; padding: 12px 16px; background: #fbf9f3; border-left: 4px solid var(--c-orange-border); border-radius: 0 8px 8px 0; }
.wn-official { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: var(--fs-small); color: var(--c-text-sub); }
/* ヒーロー見出しの行(h1 とピルを別要素にしたまま横に並べる)、個別ページの見出し行(h1 と副題) */
.hero__ttl-row { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 0 12px; margin: 10px 0 24px; }
.hero__ttl-row .hero__ttl { margin: 0; }
.hero__ttl-row .hero__pill { margin: 0 0 10px; }
.page-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 6px 0 10px; }
.page-head .page-ttl { margin: 0; }
.page-sub { font-size: 16px; font-weight: 700; color: var(--c-navy); }
/* 案1: 業者列を固定して横スクロール */
.tbl--cmp th:first-child, .tbl--cmp td:first-child { position: sticky; left: 0; z-index: 2; background: #fff; box-shadow: 2px 0 0 var(--c-line); }
.tbl--cmp th:first-child { background: var(--c-panel); }
.tbl--cmp tbody tr:hover td:first-child { background: #fafbfc; }
.cmp-hint { display: none; font-size: var(--fs-tag); color: var(--c-text-muted); justify-content: space-between; align-items: center; padding: 0 2px 6px; }
.cmp-hint b { font-weight: 400; }
@media (max-width: 900px) {
  .cmp-hint { display: flex; }
  .cmp-defs { grid-template-columns: 1fr; gap: 2px 0; }
  .cmp-defs dd { margin-bottom: 8px; }
  .sec-h2 { margin: 30px 0 12px; }
  .cmp-go { padding: 16px; }
  .cmp-go__btns .btn-line { width: 100%; }
  .tbl--cmp { font-size: var(--fs-table); }
  .tbl--cmp th, .tbl--cmp td { padding: 7px 8px; white-space: nowrap; }
  .tbl--cmp td.cmp-who, .tbl--cmp th:first-child { width: 168px; min-width: 168px; max-width: 168px; white-space: normal; overflow: hidden; }
  .cmp-vbox { width: 150px; }
  .cmp-logo-lg { height: 72px; padding: 4px; }
  .cmp-vbox .vname { font-size: 13px; line-height: 1.2; white-space: normal; word-break: break-word; }
  .tbl--cmp .n b { font-size: 15px; }
  .tbl--cmp .vsub { font-size: 11px; }
  .cmp-cta .btn-line { padding: 5px 8px; font-size: 12px; }
}

/* ---------- Badges ---------- */
.health { display: inline-flex; align-items: center; gap: 5px; font-size: var(--fs-small); white-space: nowrap; }
.health::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.health--ok { color: var(--c-type-green); }
.health--warn { color: var(--c-rank); }
.health--down { color: var(--c-red); }
.health--unknown { color: var(--c-text-faint); }

.chip { display: inline-block; font-size: var(--fs-tag); line-height: 1.5; padding: 1px 7px; border: 1px solid var(--c-line); border-radius: 2px; background: #fff; white-space: nowrap; }
.chip--measured { color: var(--c-type-green); }
.chip--extracted { color: var(--c-type-violet); }
.chip--manual { color: var(--c-navy); }
.chip--unknown { color: var(--c-text-faint); }

/* ---------- Ranking (compact list) ---------- */
.rk-item--compact .rk-name { font-size: 15px; }
.rk-item--compact .clicks { font-family: var(--font-num); font-size: 18px; font-weight: 700; color: var(--c-red); white-space: nowrap; }
.rk-item--compact .clicks small { font-size: 11px; color: var(--c-text-muted); font-weight: 400; margin-left: 3px; }

/* ---------- Change log ---------- */
.chg-list { display: flex; flex-direction: column; }
.chg { display: grid; grid-template-columns: 96px 88px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--c-line-soft); font-size: var(--fs-body); align-items: baseline; }
.chg:last-child { border-bottom: none; }
.chg .d { font-size: var(--fs-small); color: var(--c-text-muted); font-family: var(--font-num); }
.kind { display: inline-block; font-size: var(--fs-tag); line-height: 1.5; padding: 1px 7px; border-radius: 2px; border: 1px solid var(--c-line); color: var(--c-text-sub); background: #fff; white-space: nowrap; }
.kind--sku, .kind--winery_added { color: var(--c-type-green); border-color: #cfe0c4; }
.kind--winery_removed, .kind--health { color: var(--c-red); border-color: #f0c9c2; }
.kind--price, .kind--wholesale { color: var(--c-orange-border); border-color: #f7d6b3; }
.kind--updated, .kind--winery { color: var(--c-type-violet); border-color: #d7d8e8; }
.kind--listed { color: var(--c-navy); border-color: #c9cadb; }

/* ---------- Spec table (vendor detail) ---------- */
.spec { border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.spec > div { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--c-line); }
.spec > div:last-child { border-bottom: none; }
.spec dt { background: var(--c-panel); padding: 9px 12px; font-size: 14px; font-weight: 700; border-right: 1px solid var(--c-line); }
.spec dd { padding: 9px 12px; font-size: var(--fs-body); }
.spec dd .yes { color: var(--c-type-green); font-weight: 700; }
.spec dd .no { color: var(--c-text-muted); }
.spec dd .na { color: var(--c-text-faint); }

/* ---------- Winery tags ---------- */
.winery-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.winery-tag {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: #fff; padding: 5px 10px; font-size: 14px; color: var(--c-link); line-height: 1.3;
}
.winery-tag:hover { background: var(--c-panel); text-decoration: none; border-color: #bbb; }
.winery-tag .c { font-size: var(--fs-tag); color: var(--c-text-muted); font-family: var(--font-num); }

/* ---------- Notice / note ---------- */
.notice { background: var(--c-panel-soft); border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; line-height: 1.75; color: var(--c-text-sub); }
.notice strong { color: var(--c-text); }
.notice + .notice { margin-top: 8px; }
.note-list { font-size: var(--fs-small); color: var(--c-text-sub); line-height: 1.7; padding-left: 1.2em; }
.note-list li { list-style: disc; }

/* ---------- Cards (3 up) ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card { border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 12px 14px; background: #fff; }
.card .eyebrow { font-size: var(--fs-tag); color: var(--c-orange-border); font-weight: 700; }
.card h3 { font-size: var(--fs-h3); font-weight: 700; color: var(--c-navy); margin: 4px 0 6px; }
.card p { font-size: var(--fs-body); color: var(--c-text-sub); line-height: 1.75; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }

/* ---------- Prose ---------- */
.prose { max-width: 820px; font-size: var(--fs-body); line-height: 1.85; }
.prose h2 { font-size: var(--fs-h2); font-weight: 700; color: var(--c-navy); border-left: 5px solid var(--c-navy); padding-left: 10px; margin: 30px 0 12px; line-height: 1.3; }
.prose h3 { font-size: var(--fs-h3); font-weight: 700; margin: 20px 0 8px; }
.prose p { margin: 0 0 12px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
.prose li { margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.form label { font-size: 14px; font-weight: 700; display: flex; flex-direction: column; gap: 5px; }
.form input, .form textarea, .form select {
  font-family: var(--font); font-size: 15px; padding: 9px 11px; border: 1px solid #bbb; border-radius: var(--r-sm); background: #fff; color: var(--c-text); font-weight: 400;
}
.form textarea { min-height: 140px; resize: vertical; }

/* ---------- Hero（トップ見出し＋統計カード） ---------- */
.hero { margin: 22px 0 44px; position: relative; }
.hero__eyebrow { font-size: var(--fs-tag); font-weight: 700; letter-spacing: .14em; color: var(--c-navy); text-transform: uppercase; margin-bottom: 10px; }
.hero__ttl { font-size: var(--fs-h1); line-height: 1.3; font-weight: 900; letter-spacing: -.01em; color: var(--c-text); margin: 10px 0 24px; }
.hero__on { position: relative; isolation: isolate; display: inline-block; color: #fff; padding: 2px 24px 2px 14px; margin-left: -2px; margin-bottom: 6px; }
.hero__on::before { content: ""; position: absolute; inset: 0; background: var(--c-navy); transform: skewX(-14deg); transform-origin: left bottom; z-index: -1; }
.hero__mk { background: linear-gradient(transparent 62%, #ffd28a 62%); background-repeat: no-repeat; background-size: 100% 100%; }
.hero__rk { color: var(--c-red); display: inline-block; }
.hero__pill { display: inline-block; font-size: 14px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--c-red); color: #fff; margin-left: 12px; vertical-align: middle; letter-spacing: 0; }
.hero .lead { max-width: 840px; line-height: 1.9; }
.hero .lead .meta { display: inline-block; margin-top: 12px; }
/* 見出しの動き（JS が有効なときだけ。無効なら最初から完成形） */
.js .hero__on { clip-path: inset(0 100% 0 0); }
.js .hero.is-in .hero__on { animation: heroWipe .7s .15s cubic-bezier(.2, .8, .2, 1) forwards; }
.js .hero__mk { background-size: 0% 100%; }
.js .hero.is-in .hero__mk { animation: heroMark .7s .95s ease forwards; }
.js .hero__rk { opacity: 0; transform: scale(1.3); }
.js .hero.is-in .hero__rk { animation: heroSlam .45s 1.2s cubic-bezier(.2, .9, .3, 1.2) forwards; }
.js .hero__pill { opacity: 0; transform: scale(.4); }
.js .hero.is-in .hero__pill { animation: heroPop .5s 1.5s cubic-bezier(.3, 1.6, .4, 1) forwards; }
@keyframes heroWipe { to { clip-path: inset(0 0 0 0); } }
@keyframes heroMark { to { background-size: 100% 100%; } }
@keyframes heroSlam { to { opacity: 1; transform: none; } }
@keyframes heroPop { to { opacity: 1; transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.stat-card { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 226px; padding: 14px 16px 36px; background: #fbf9f3; border: 1px solid #e7e3d8; border-radius: 10px; transition: transform .25s ease, box-shadow .25s ease; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(51, 51, 103, .14); }
.js .stat-card { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease, box-shadow .25s ease; }
.js .stat-card:nth-child(2) { transition-delay: .1s; }
.js .stat-card:nth-child(3) { transition-delay: .2s; }
.js .stat-card:nth-child(4) { transition-delay: .3s; }
.js .stat-card.is-in { opacity: 1; transform: none; }
.js .stat-card.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }
.stat-card__lbl { font-size: 15px; font-weight: 700; color: var(--c-text); padding-right: 48px; }
.stat-card__tab { position: absolute; top: 0; right: 0; width: 56px; height: 56px; background: linear-gradient(225deg, var(--c-navy) 50%, transparent 50%); color: #fff; text-decoration: none; transition: width .25s, height .25s; }
.stat-card:hover .stat-card__tab { width: 66px; height: 66px; }
.stat-card__tab:hover { background: linear-gradient(225deg, var(--c-link) 50%, transparent 50%); text-decoration: none; }
.stat-card__tab span { position: absolute; top: 5px; right: 9px; font-size: 20px; line-height: 1; font-weight: 400; }
.stat-card__ico { display: flex; align-items: center; justify-content: center; height: 66px; margin: 8px auto 0; color: var(--c-navy); }
.stat-card__ico svg { width: 76px; height: 66px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.js .stat-card__ico svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .stat-card.is-in .stat-card__ico svg * { animation: draw 1s .2s ease forwards; }
.js .stat-card.is-in:nth-child(2) .stat-card__ico svg * { animation-delay: .3s; }
.js .stat-card.is-in:nth-child(3) .stat-card__ico svg * { animation-delay: .4s; }
.js .stat-card.is-in:nth-child(4) .stat-card__ico svg * { animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
/* 数字ブロック: 全カードで同じ高さ・同じ下端に揃える（チップは絶対配置なので影響しない） */
.stat-card__val { margin-top: auto; height: 82px; display: flex; align-items: flex-end; justify-content: center; gap: 6px; white-space: nowrap; font-family: var(--font-num); font-weight: 900; color: var(--c-red); font-variant-numeric: tabular-nums; }
.stat-card__val .count { font-size: 76px; line-height: .92; letter-spacing: -.04em; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .stat-card__val .count { background: linear-gradient(180deg, #ff6a3d 0%, var(--c-red) 55%, #b8301c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
}
.stat-card__val small { font-size: 16px; font-weight: 700; color: var(--c-text); line-height: 1.2; padding-bottom: 8px; letter-spacing: 0; }
.stat-card__val.is-date { color: var(--c-navy); }
.stat-card__val.is-date .odo { font-size: 31px; line-height: 1; letter-spacing: -.03em; padding-bottom: 8px; }
/* 数字の登場: 小さく薄い状態から弾んで実寸に → カウント完了で一度だけ跳ねる */
.js .stat-card .count { display: inline-block; transform-origin: center bottom; transform: scale(.55); opacity: .35; transition: transform .7s cubic-bezier(.2, .9, .3, 1.3), opacity .45s ease; }
.js .stat-card.is-in .count { transform: none; opacity: 1; }
.js .stat-card .count.is-done { animation: numPunch .5s cubic-bezier(.2, .9, .3, 1) both; }
@keyframes numPunch { 0% { transform: scale(1); } 35% { transform: scale(1.1); } 100% { transform: scale(1); } }
.js .stat-card__val small { opacity: 0; transform: translateY(8px); transition: opacity .4s ease 1.1s, transform .4s ease 1.1s; }
.js .stat-card.is-in small { opacity: 1; transform: none; }
.stat-card__delta { position: absolute; right: 12px; bottom: 10px; margin: 0; font-size: var(--fs-tag); font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eee; color: #777; }
.stat-card__delta.is-up { background: #fdece8; color: var(--c-red); }
.stat-card__delta.is-down { background: #e8f0fb; color: var(--c-link-deep); }
.js .stat-card__delta { opacity: 0; transform: translateY(6px); }
.js .stat-card.is-in .stat-card__delta { animation: fadeUp .4s 1.5s ease forwards; }
/* 日付オドメーター（各桁が上に回って揃う） */
.od { display: inline-block; height: 1em; overflow: hidden; vertical-align: bottom; }
.od__col { display: block; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.od__col span { display: block; height: 1em; line-height: 1; }
.od--sep { overflow: visible; }
@media (prefers-reduced-motion: reduce) {
  .js .hero__on, .js .hero__mk, .js .hero__rk, .js .hero__pill, .js .stat-card, .js .stat-card__delta { opacity: 1; transform: none; animation: none; clip-path: none; background-size: 100% 100%; }
  .js .stat-card__ico svg * { stroke-dashoffset: 0; animation: none; }
  .js .stat-card .count, .js .stat-card__val small { transform: none; opacity: 1; transition: none; animation: none; }
  .od__col { transition: none; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--c-panel); border-top: 1px solid var(--c-line); margin-top: 40px; padding: 24px 0 28px; font-size: var(--fs-small); color: var(--c-text-sub); }
.site-footer .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--c-line); margin-bottom: 14px; }
.site-footer h4 { font-size: var(--fs-small); font-weight: 700; color: var(--c-text); margin-bottom: 6px; }
.site-footer li { margin-bottom: 4px; }
.site-footer .legal p + p { margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .rk-item { grid-template-columns: 96px 1fr; }
  .rk-spec { grid-template-columns: 1fr; }
  .rk-item .rk-side { grid-column: 1 / -1; }
  .rk-item--compact { grid-template-columns: 70px 1fr auto; }
  .rk-item--compact .rk-side { grid-column: auto; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2) { border-right: none; }
  .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--c-line-soft); }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-2 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: repeat(2, 1fr); }
  .brand span { display: none; }
  .site-nav { gap: 6px 14px; flex-wrap: wrap; justify-content: flex-end; }
  .spec > div { grid-template-columns: 1fr; }
  .spec dt { border-right: none; border-bottom: 1px solid var(--c-line-soft); }
}
@media (max-width: 600px) {
  :root { --fs-h1: 28px; --fs-h2: 20px; --fs-h3: 16px; --fs-lead: 15px; --fs-table: 13px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: .06em; }
  .rk-item, .rk-item--compact { grid-template-columns: 1fr; }
  .rk-rank { flex-direction: row; justify-content: flex-start; }
  .chg { grid-template-columns: 1fr; gap: 4px; }
  .site-header__inner { height: auto; flex-wrap: wrap; gap: 4px 12px; padding: 8px 12px 6px; }
  .brand { white-space: normal; font-size: 16px; line-height: 1.3; }
  .site-nav { margin-left: 0; width: 100%; justify-content: flex-start; gap: 2px 16px; }
  .site-nav a { padding: 3px 0; }
  .form input, .form textarea, .form select { font-size: 16px; }
  .btn-submit { width: 100%; }
  .page-ttl { font-size: 24px; }
  .hero { margin: 12px 0 30px; }
  .hero__ttl { line-height: 1.35; margin-bottom: 18px; }
  .stat-grid { margin-top: 22px; }
  .ttl-bar { margin: 30px 0 14px; }
  .hero__on { padding: 1px 14px 1px 8px; }
  .hero__pill { display: block; width: max-content; margin: 14px 0 0; font-size: 14px; padding: 5px 14px; line-height: 1.5; }
  .hero__ttl-row { flex-direction: column; align-items: flex-start; margin-bottom: 18px; }
  .hero__ttl-row .hero__pill { margin: 14px 0 0; }
  .stat-grid { gap: 10px; }
  .stat-card { min-height: 196px; padding: 12px 12px 32px; }
  .stat-card__ico svg { width: 60px; height: 54px; }
  .stat-card__val { height: 58px; }
  .stat-card__val .count { font-size: 52px; }
  .stat-card__val.is-date .odo { font-size: 22px; }
}
