/* ============================================================
   common.css — 住宅ツール.com 共通スタイル
   デザイン: E+C ハイブリッド × Slate Blue
   フォント: Plus Jakarta Sans（見出し）/ Noto Sans JP（本文）/ DM Mono（数値）
   設計: モバイルファースト（min-width ブレークポイント）
   ============================================================ */

/* ── リセット & ベース ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* プライマリカラー系（Slate Blue） */
  --primary:     #1e3a5f;
  --primary2:    #2a4f7e;
  --primary3:    #3560a0;
  --primary-l:   #e8f0f9;
  --primary-ll:  #f4f8fd;
  --primary-mid: #6b9fd4;

  /* アクセントカラー（固定・変更禁止） */
  --accent:      #c8570a;
  --accent-l:    #fff0e6;
  --accent2:     #e07030;

  /* 背景・サーフェスカラー */
  --bg:          #f7f5f0;
  --bg2:         #edeae3;
  --bg3:         #e0ddd4;
  --surface:     #ffffff;

  /* テキストカラー */
  --ink:         #1a2030;
  --ink2:        #445060;
  --ink3:        #8090a8;

  /* ヘッダー専用 */
  --hdr-bg:      #1e3a5f;
  --hdr-txt:     rgba(255,255,255,0.85);
  --hdr-logo:    #ffffff;
  --hdr-border:  rgba(255,255,255,0.12);

  /* ヒーロー専用 */
  --hero-bg:     #1e3a5f;
  --hero-glow1:  rgba(53,96,160,0.45);
  --hero-glow2:  rgba(200,87,10,0.06);
  --hero-grid:   rgba(255,255,255,0.03);
  --eyebrow-bg:  rgba(107,159,212,0.15);
  --eyebrow-bd:  rgba(107,159,212,0.3);
  --eyebrow-c:   #7ab0e0;

  /* 固定トークン（変更禁止） */
  --white:       #ffffff;
  --r:           10px;
  --r-lg:        18px;
  --r-xl:        28px;
  --r-full:      100px;
  --shadow:      0 4px 24px rgba(0,0,0,0.09);
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.06);

  /* 後方互換エイリアス */
  --cream:        var(--bg);
  --border:       var(--bg3);
  --border2:      var(--bg3);
  --accent-light: var(--accent-l);
  --accent-hover: #a84308;
  --green:        #2a6b3c;
  --green-light:  #e8f5ec;
  --green-hover:  #1e5230;
  --shadow-md:    var(--shadow);

  /* フォント変数 */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-d:       'Plus Jakarta Sans', sans-serif;
  --font-body:    'Noto Sans JP', sans-serif;
  --font-b:       'Noto Sans JP', sans-serif;
  --font-mono:    'DM Mono', monospace;
  --font-m:       'DM Mono', monospace;
  --font-serif:   'Plus Jakarta Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }

/* ── サイトヘッダー (.hdr) ── */
.site-header,
.hdr {
  background: var(--hdr-bg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 60px;
  border-bottom: 1px solid var(--hdr-border);
}

.site-logo,
.logo,
.hdr-logo {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--hdr-logo);
  font-size: 16px;
  letter-spacing: .02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo .logo-dot,
.logo .logo-dot {
  color: var(--primary-mid);
}

.logo-sq {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 16px;
  line-height: 1;
}

.hdr-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-nav,
.hdr-nav { margin-left: auto; display: flex; gap: 24px; }

.site-nav a,
.hdr-nav a {
  color: var(--hdr-txt);
  text-decoration: none;
  font-size: 12px;
  transition: color .15s;
}

.site-nav a:hover,
.hdr-nav a:hover { color: var(--hdr-logo); }

.hdr-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--r-full);
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.hdr-cta::after {
  content: '→';
  margin-left: .35em;
  display: inline-block;
  transition: transform .15s;
}
.hdr-cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
}
.hdr-cta:hover::after {
  transform: translateX(2px);
}

@media (max-width: 599px) {
  .hdr-nav { display: none; }
}

/* ── ヒーローセクション ── */
.hero {
  background: var(--hero-bg);
  padding: 36px 24px 32px;
  border-bottom: 1px solid var(--hdr-border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, var(--hero-glow1), transparent 60%),
    radial-gradient(ellipse at 80% 70%, var(--hero-glow2), transparent 50%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--hero-glow1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--eyebrow-bg);
  border: 1px solid var(--eyebrow-bd);
  color: var(--eyebrow-c);
  font-size: 10px;
  font-weight: 700;
  
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 4px;
  letter-spacing: .14em;
  font-family: var(--font-mono);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1.12;
  margin-bottom: 12px;
  letter-spacing: -.045em;
}

.hero-title em,
.hero-title .acc { color: var(--primary-mid); font-style: normal; }
.hero-title .acc2 {
  color: var(--white);
  border-bottom: 3px solid var(--accent);
  font-style: normal;
}

.hero-sub,
.hero-desc { color: rgba(255,255,255,0.85); font-size: 14px; line-height: 1.75; margin-bottom: 18px;
  max-width: 560px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

.badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: var(--r-full);
}

/* ── ヒーローチェックリスト（案C由来） ── */
.hero-ck { list-style: none; padding: 0; margin-bottom: 24px; display: flex; flex-direction: column; gap: 7px; }
.hero-ck li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 0;
}
.ck-mark {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-mid);
  background: rgba(107,159,212,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--primary-mid);
  flex-shrink: 0;
}

/* ── ヒーローCTAボタン ── */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: var(--r);
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  font-family: var(--font-display);
  min-height: 52px;
  border: none; cursor: pointer;
  box-shadow: 0 4px 16px rgba(200,87,10,0.3);
}
.btn-p:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,87,10,.3);
  color: var(--white);
}
.btn-p::after {
  content: '→';
  display: inline-block;
  transition: transform .15s;
}
.btn-p:hover::after { transform: translateX(3px); }
.btn-p:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.bc {
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 24px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--ink3);
}
.bc a { color: var(--ink3); text-decoration: none; }
.bc a:hover { color: var(--primary3); }
.bc-sep { color: var(--bg3); }

.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--r);
  text-decoration: none;
  transition: all .2s;
  font-family: var(--font-display);
  cursor: pointer;
}
.btn-s::after {
  content: '→';
  display: inline-block;
  transition: transform .15s;
}
.btn-s:hover::after { transform: translateX(3px); }
.btn-s:hover {
  background: rgba(255,255,255,0.18);
  color: var(--white);
}

/* ── ヒーロービジュアル（案Eのブラウザモック） ── */
.hero-vis {
  background: var(--bg);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
}
.vis-bar {
  background: var(--bg2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vis-dots { display: flex; gap: 5px; }
.vis-dot { width: 10px; height: 10px; border-radius: 50%; }
.vis-dot--r { background: #ff5f57; }
.vis-dot--y { background: #febc2e; }
.vis-dot--g { background: #28c840; }
.vis-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink3);
  background: var(--bg);
  border-radius: 6px;
  padding: 4px 10px;
  flex: 1;
}
.vis-body { padding: 16px; }
.vis-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary-ll);
  border: 1px solid var(--primary-l);
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
}
.vis-row-label { font-size: 12px; color: var(--ink3); }
.vis-row-val { font-family: var(--font-display); font-weight: 700; color: var(--primary); font-size: 14px; }
.vis-result {
  background: var(--primary);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  margin-top: 8px;
}
.vis-result-tag { font-family: var(--font-mono); font-size: 10px; color: var(--primary-mid); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.vis-result-val { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: var(--white); }
.vis-result-val em { color: var(--primary-mid); font-style: normal; }
.vis-judgment {
  background: var(--accent-l);
  border: 1px solid rgba(200,87,10,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink2);
}
.vis-judgment strong { color: var(--accent); }

/* ── ヒーロー2カラムレイアウト ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
@media (min-width: 660px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* ── 人気ツール ── */
.popular-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3050 100%);
  padding: 28px 16px;
}
.popular-inner {
  max-width: var(--mw);
  margin: 0 auto;
}
.popular-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.popular-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 520px) { .popular-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.popular-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  padding: 14px 6px 12px;
  text-decoration: none;
  transition: all .15s;
}
.popular-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.popular-icon { font-size: 26px; line-height: 1; }
.popular-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1.3;
}
@media (min-width: 520px) { .popular-name { font-size: 12px; } }
.popular-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(200,87,10,0.2);
  padding: 1px 6px;
  border-radius: var(--r-full);
  letter-spacing: .03em;
}

/* ── ツール検索 ── */
.tool-search-wrap {
  max-width: var(--mw);
  margin: 0 auto;
  padding: 16px 16px 0;
  position: relative;
}
.tool-search-inner {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--bg3);
  border-radius: var(--r-lg);
  padding: 0 14px;
  transition: border-color .2s;
}
.tool-search-inner:focus-within {
  border-color: var(--accent);
}
.tool-search-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-right: 8px;
}
.tool-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 0;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.tool-search-input::placeholder {
  color: var(--ink3);
  font-size: 13px;
}
.tool-search-clear {
  display: none;
  border: none;
  background: var(--bg3);
  color: var(--ink3);
  font-size: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}
.tool-search-clear.visible { display: flex; align-items: center; justify-content: center; }
.tool-search-results {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 100%;
  background: var(--surface);
  border: 2px solid var(--bg3);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}
.tool-search-results.open { display: block; }
.tool-search-results a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--bg3);
}
.tool-search-results a:last-child { border-bottom: none; }
.tool-search-results a:hover { background: var(--bg2); }
.tool-search-results .tsr-icon { font-size: 20px; flex-shrink: 0; }
.tool-search-results .tsr-name { font-weight: 700; }
.tool-search-results .tsr-desc { font-size: 12px; color: var(--ink3); }
.tool-search-results .tsr-empty {
  padding: 20px 16px;
  text-align: center;
  color: var(--ink3);
  font-size: 13px;
}

/* ── クイックナビ (.qnav) ── */
.qnav {
  background: var(--surface);
  border-bottom: 2px solid var(--bg3);
  position: sticky;
  top: 60px;
  z-index: 90;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.qnav-inner {
  display: flex;
  gap: 4px;
  padding: 8px 16px;
  max-width: 820px;
  margin: 0 auto;
}
.qn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all .15s;
  flex-shrink: 0;
  min-width: 56px;
}
.qn:hover { border-bottom-color: var(--bg3); }
.qn.on {
  border-bottom-color: var(--accent);
}
.qn.on .qn-icon { background: var(--accent-l); }
.qn.on .qn-label { color: var(--accent); }
.qn-icon {
  width: 36px; height: 36px;
  background: var(--bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: background .15s;
}
.qn-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  color: var(--ink2);
  text-align: center;
  white-space: nowrap;
}

/* ── メインコンテナ ── */
.container { max-width: 720px; margin: 0 auto; padding: 28px 14px 80px; }
.main { max-width: 820px; margin: 0 auto; padding: 24px 24px 80px; display: flex; flex-direction: column; gap: 14px; }

@media (min-width: 660px) {
  .container { padding: 36px 16px 100px; }
}

/* ── セクションヘッダー ── */
.sec-hd {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sec-bar {
  width: 4px; height: 22px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}
.sec-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.03em;
  color: var(--ink);
}
.sec-ct {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink3);
  background: var(--bg2);
  border: 1px solid var(--bg3);
  border-radius: var(--r-full);
  padding: 2px 10px;
}

/* ── セクションラベル（旧） ── */
.sec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sec-label::after { content: ''; flex: 1; height: 1px; background: var(--bg3); }

/* ── フィーチャーカード (.fc) ── */
.fc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
@media (min-width: 520px) { .fc-grid { gap: 14px; } }
@media (min-width: 768px) { .fc-grid { grid-template-columns: repeat(3, 1fr); } }

.fc {
  background: var(--surface);
  border: 2px solid var(--bg3);
  border-radius: var(--r-lg);
  padding: 12px;
  transition: transform .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
}
@media (min-width: 520px) { .fc { padding: 20px; } }
.fc:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fc--main {
  background: linear-gradient(145deg, var(--primary), var(--primary2));
  border-color: transparent;
  color: var(--white);
}
.fc--main .fc-badge { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.fc--main .fc-name,
.fc--main .fc-tagline { color: var(--white); }
.fc--main .fc-desc { color: rgba(255,255,255,0.7); }
.fc-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-l);
  padding: 3px 10px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 700;
}
.fc-icon { font-size: 28px; margin-bottom: 6px; line-height: 1; }
@media (min-width: 520px) { .fc-icon { font-size: 32px; } }
.fc-name {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}
@media (min-width: 520px) { .fc-name { font-size: 15px; } }
.fc-tagline { font-size: 13px; color: var(--ink2); margin-bottom: 12px; }
.fc-desc { font-size: 11px; color: var(--ink3); line-height: 1.5; margin-bottom: 0; }
@media (min-width: 520px) { .fc-desc { font-size: 12px; margin-bottom: 14px; } }
.fc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--r);
  text-decoration: none;
  transition: background .15s;
}
.fc-cta:hover { background: var(--accent-hover); color: var(--white); }
.fc-cta::after {
  content: '';
  width: 6px; height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── ツールリスト (.tools / .ti) ── */
.tools {
  background: var(--surface);
  border: 1px solid var(--bg3);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 20px;
}
.ti {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--bg3);
  text-decoration: none;
  color: var(--ink);
  transition: background .15s;
}
.ti:last-child { border-bottom: none; }
.ti:hover { background: var(--primary-ll); }
.ti-icon {
  width: 40px; height: 40px;
  background: var(--bg2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background .15s;
}
.ti:hover .ti-icon { background: var(--primary-l); }
.ti-body { flex: 1; min-width: 0; }
.ti-name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.ti-desc { font-size: 12px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ti-badge-s {
  font-size: 10px; font-weight: 700;
  color: var(--accent);
  background: var(--accent-l);
  padding: 2px 8px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.ti-badge-g {
  font-size: 10px; font-weight: 700;
  color: var(--primary2);
  background: var(--primary-l);
  padding: 2px 8px;
  border-radius: var(--r-full);
  flex-shrink: 0;
}
.ti-arr {
  width: 28px; height: 28px;
  background: var(--bg2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
}
.ti:hover .ti-arr { background: var(--primary); color: var(--white); }
.ti-arr::after {
  content: '';
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--ink3);
  border-right: 1.5px solid var(--ink3);
  transform: rotate(45deg);
  transition: border-color .15s;
}
.ti:hover .ti-arr::after { border-color: var(--white); }

/* ── カード ── */
.card {
  background: var(--surface);
  border: 1.5px solid var(--bg3);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  margin-bottom: 0;
  transition: box-shadow .2s;
}

.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }

.card-icon {
  width: 38px; height: 38px;
  background: var(--accent-l);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.card-title { font-size: 15px; font-weight: 700; color: var(--ink); }
.card-desc  { font-size: 12px; color: var(--ink3); margin-top: 2px; }

/* ── フォーム要素 ── */
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }

.field-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink2);
  margin-bottom: 7px;
}

.req-badge {
  display: inline-block;
  background: var(--accent-l);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 5px;
  vertical-align: middle;
  letter-spacing: .04em;
}

.field-input,
.field-select {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--bg3);
  border-radius: var(--r);
  color: var(--ink);
  font-size: 16px;
  padding: 12px 16px;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

@media (min-width: 660px) {
  .field-input, .field-select { font-size: 15px; }
}

.field-input:focus,
.field-select:focus {
  border-color: var(--primary3);
  box-shadow: 0 0 0 3px var(--primary-l);
  background: var(--white);
}

.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238090a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

.field-input:disabled,
.field-select:disabled,
.form-input:disabled,
.form-select:disabled { opacity: .5; cursor: not-allowed; background: var(--bg2); }

.field-error { font-size: 12px; color: var(--accent); margin-top: 5px; display: none; }
.field-error.show { display: block; }

/* ── グリッド ── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 520px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ── 塗料選択 ── */
.paint-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 480px) { .paint-grid { grid-template-columns: 1fr 1fr; } }

.paint-card {
  border: 2px solid var(--bg3);
  border-radius: var(--r);
  padding: 15px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  position: relative;
  display: block;
}
.paint-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
@media (min-width: 520px) { .paint-cards { grid-template-columns: repeat(4, 1fr); } }

.paint-card:hover    { border-color: var(--primary-mid); background: var(--primary-ll); transform: translateY(-1px); }
.paint-card.selected { border-color: var(--accent); background: var(--accent-l); }

.paint-check {
  position: absolute;
  top: 11px; right: 13px;
  color: var(--accent);
  font-weight: 700; font-size: 14px;
  opacity: 0; transition: opacity .15s;
}
.paint-card.selected .paint-check { opacity: 1; }
.paint-card input[type="radio"] { display: none; }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink2);
  cursor: pointer;
  padding: 8px 10px;
  border: 1.5px solid var(--bg3);
  border-radius: var(--r);
  transition: border-color .15s, background .15s;
}
.check-label:hover { border-color: var(--primary-mid); background: var(--primary-ll); }
.check-label input { accent-color: var(--accent); }

.paint-name  { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.paint-range { font-family: var(--font-mono); font-size: 12px; color: var(--accent); font-weight: 500; }
.paint-life  { font-size: 12px; color: var(--ink3); margin-top: 3px; }

/* ── チェックボックスオプション ── */
.opt-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 480px) { .opt-grid { grid-template-columns: 1fr 1fr; } }

.opt-item {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--surface);
  border: 1.5px solid var(--bg3);
  border-radius: var(--r);
  padding: 11px 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  user-select: none;
  font-size: 13px;
  color: var(--ink2);
  min-height: 48px;
}
.opt-item:hover { border-color: var(--accent); }
.opt-item input[type="checkbox"] { display: none; }

.opt-box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--bg3);
  border-radius: 5px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
  font-size: 12px; color: transparent; font-weight: 700;
}

.opt-item.checked { border-color: var(--green); background: var(--green-light); color: var(--ink); }
.opt-item.checked .opt-box { background: var(--green); border-color: var(--green); color: var(--white); }

/* ── 計算ボタン ── */
.calc-btn {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  padding: 15px;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  font-family: var(--font-display);
  letter-spacing: -.02em;
  transition: background .2s, transform .2s, box-shadow .2s;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.calc-btn:hover {
  background: var(--primary2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,87,10,.3);
}
.calc-btn:active { transform: translateY(0); }
.calc-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.calc-btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* ── セクションタイトル ── */
.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── フォームグループ ── */
.form-group { margin-bottom: 16px; }
.form-group:last-child { margin-bottom: 0; }

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-input,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--bg3);
  border-radius: var(--r);
  font-size: 15px;
  font-family: inherit;
  background: var(--surface);
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary3);
  box-shadow: 0 0 0 3px var(--primary-l);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238090a8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ── 入力ラッパー（単位付き） ── */
.input-wrap { display: flex; align-items: center; gap: 8px; }
.input-wrap .form-input { flex: 1; }
.input-unit { font-size: 13px; color: var(--ink3); white-space: nowrap; flex-shrink: 0; min-width: 28px; }

/* ── エラーメッセージ ── */
.err-msg { font-size: 12px; color: var(--accent); margin-top: 5px; display: none; }
.err-msg.show { display: block; }

/* ── 結果エリア ── */
.result-area { display: none; margin-top: 0; }
.result-area.show {
  display: block;
  animation: fadeUp .45s cubic-bezier(.16,1,.3,1);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── cost-hero ── */
.cost-hero,
.result-hero,
.result-main {
  background: var(--primary);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.cost-hero::before,
.result-hero::before,
.result-main::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(107,159,212,.25), transparent 70%);
  pointer-events: none;
}

.ch-tag,
.rh-l, .rh-label, .rb-label, .result-tag, .result-hero-label, .th-tag, .tb-label, .rm-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-mid);
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ch-range,
.rh-v, .result-hero-val, .result-hero-val2, .result-range, .rm-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 7vw, 48px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}

.ch-range em,
.rh-v em, .result-range em, .result-unit, .rm-val em {
  color: var(--primary-mid);
  font-style: normal;
  font-size: .55em;
}

.ch-note,
.rh-s, .rh-sub, .rb-sub, .result-note, .tb-sub, .rm-sub {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

/* result-glow: 旧デザインの装飾 → 新デザインでは ::before に統一 */
.result-glow { display: none; }

/* result-wrap → result-area エイリアス */
.result-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* result-green: 補助金系ツール用ヒーロー */
.result-green {
  background: var(--primary);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.result-green::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  background: radial-gradient(circle, rgba(107,159,212,.25), transparent 70%);
  pointer-events: none;
}
.rg-label, .rg-l {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-mid);
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.rg-val, .rg-v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 7vw, 48px);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -.02em;
}
.rg-val em, .rg-v em {
  color: var(--primary-mid);
  font-style: normal;
  font-size: .55em;
}
.rg-sub, .rg-s {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
}

.result-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }

.result-meta-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r);
  padding: 10px 12px;
}

.result-meta-label { font-family: var(--font-mono); font-size: 9px; color: rgba(255,255,255,0.35); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.result-meta-value { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: white; }

/* ── 内訳 ── */
.breakdown {
  background: var(--surface);
  border: 1px solid var(--bg3);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 14px;
}
.breakdown-head {
  background: var(--primary-ll);
  border-bottom: 1px solid var(--bg3);
  padding: 11px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
@media (min-width: 660px) { .breakdown-head { padding: 14px 20px; } }
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bg3);
  transition: background .15s;
  gap: 8px;
}
@media (min-width: 660px) { .breakdown-row { padding: 13px 20px; } }

.breakdown-row:last-child { border-bottom: none; }
.breakdown-row:hover { background: var(--bg); }

.breakdown-name { font-size: 13px; color: var(--ink); }
.breakdown-val  { font-family: var(--font-mono); font-size: 13px; color: var(--primary3); font-weight: 500; white-space: nowrap; }
.breakdown-label { color: var(--ink2); font-size: 13px; }
.breakdown-row .breakdown-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.breakdown-row.total { background: var(--primary-ll); }
.breakdown-row.total .breakdown-label { color: var(--primary); font-weight: 700; font-family: var(--font-display); }
.breakdown-row.total .breakdown-val { color: var(--accent); font-size: 16px; }

.breakdown-total { background: var(--bg); border-top: 2px solid var(--bg3); }
.breakdown-total .breakdown-name { font-weight: 700; }
.breakdown-total .breakdown-val  { color: var(--accent); font-size: 15px; }

/* ── 解説記事 ── */
.article,
.article-section {
  background: var(--surface);
  border: 1px solid var(--bg3);
  border-radius: var(--r-lg);
  padding: 20px 14px;
  margin-bottom: 14px;
}
@media (min-width: 660px) { .article, .article-section { padding: 28px; } }

.article-title,
.article-h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--bg3);
  border-left: none;
  background: transparent;
  border-radius: 0;
  padding: 0 0 10px 0;
  margin: 0 0 16px;
}

.article-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--primary2);
  margin: 18px 0 8px;
  border-bottom: none;
  padding-bottom: 0;
}

.article-p {
  font-size: 13px;
  color: var(--ink2);
  line-height: 1.85;
  margin-bottom: 12px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 20px;
  font-size: 12px;
}
.article-table th {
  background: var(--primary);
  color: white;
  padding: 8px 12px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
  border: none;
}
.article-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--bg3);
  color: var(--ink2);
  vertical-align: middle;
  border-left: none;
  border-right: none;
}
.article-table tr:nth-child(even) td { background: var(--primary-ll); }
.article-table tr:last-child td { border-bottom: none; }

@media (max-width: 480px) {
  .article-table { font-size: 0.75rem; }
  .article-table th, .article-table td { padding: 5px 6px; }
}

.price-em { font-family: var(--font-mono); color: var(--accent); font-weight: 500; }

/* ── CTAブロック ── */
.cta-block,
.cta-block, .cta {
  padding: 32px 24px;
}

.cta {
  background: linear-gradient(135deg, var(--primary-ll) 0%, var(--accent-l) 100%);
  border: 2px solid rgba(200,87,10,0.12);
  border-radius: var(--r-xl);
  text-align: center;
  margin-bottom: 14px;
}

/* ─── ステマ規制対応：広告表示 ─── */
.cta-pr,
.cta-block::before,
.cta::before {
  content: 'PR・広告';
  display: inline-block;
  background: var(--accent-l);
  border: 1px solid rgba(200,87,10,0.2);
  color: var(--accent);
  border-radius: 3px;
  font-size: 9px;
  letter-spacing: .12em;
  padding: 2px 10px;
  font-family: var(--font-mono);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cta-title,
.cta-h {
  font-family: var(--font-display);
  font-size: clamp(16px, 3.5vw, 20px);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.cta-title em, .cta-h em { color: var(--accent); font-style: normal; }

.cta-sub { color: var(--ink2); font-size: 13px; margin-bottom: 16px; }

.cta-points,
.cta-pts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.cta-point,
.cpp {
  background: var(--surface);
  border: 1.5px solid var(--bg3);
  color: var(--ink2);
  border-radius: var(--r);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 5px 14px;
}
.cpp::before { content: '✓'; color: var(--primary2); font-weight: 800; }

.cta-btn {
  background: var(--accent);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--r);
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
  font-family: var(--font-body);
  display: block;
  box-shadow: 0 6px 20px rgba(200,87,10,0.28);
  letter-spacing: -.01em;
  max-width: 380px;
  margin: 0 auto 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  min-height: auto;
}

.cta-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(200,87,10,.3);
  color: var(--white);
}
.cta-btn::after {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
  transition: transform .2s;
}
.cta-btn:hover::after {
  transform: rotate(45deg) translateX(3px) translateY(-1px);
}
.cta-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

.cta-note { font-size: 12px; color: var(--ink3); margin-top: 12px; }

/* ── ステマ規制対応：アフィリエイト広告開示テキスト ── */
.cta-disclosure,
.cta-dc {
  font-size: 10px;
  color: var(--ink3);
  margin-top: 8px;
  line-height: 1.6;
  text-align: center;
}

/* ── 関連ツール ── */
.related {
  background: var(--surface);
  border: 1px solid var(--bg3);
  border-radius: var(--r-lg);
  padding: 18px 14px;
}
@media (min-width: 660px) { .related { padding: 24px; } }

.related-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--ink); }

.related-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 480px) { .related-grid { grid-template-columns: 1fr 1fr; } }

.related-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--bg3);
  border-radius: var(--r);
  padding: 12px 14px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  transition: border-color .15s, background .15s, color .15s;
  min-height: 48px;
  justify-content: space-between;
}
.related-link:hover { border-color: var(--primary3); background: var(--primary-ll); color: var(--ink); }
.related-link-arr {
  color: var(--ink3);
  font-size: 14px;
  transition: color .15s, transform .15s;
  flex-shrink: 0;
}
.related-link-arr::after {
  content: '→';
}
.related-link:hover .related-link-arr { color: var(--primary3); transform: translateX(2px); }

/* ── フッター (.ftr) ── */
.site-footer,
.ftr {
  background: var(--ink);
  padding: 36px 24px 28px;
  text-align: left;
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}
.site-footer a,
.ftr a { color: rgba(255,255,255,0.55); text-decoration: none; }
.site-footer a:hover,
.ftr a:hover { color: rgba(255,255,255,0.8); }

.ftr-in { max-width: 820px; margin: 0 auto; }
.ftr-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: white;
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 8px;
}
.ftr-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 400px;
}
.ftr-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 16px;
  margin-top: 16px;
}
.ftr-disclosure {
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  margin-top: 6px;
  line-height: 1.6;
}

.footer-inner { max-width: 820px; margin: 0 auto; }
.footer-logo  { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.footer-desc  { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 6px; }
.footer-links { font-size: 11px; color: rgba(255,255,255,0.35); margin-top: 6px; }
.footer-copy  { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 8px; }
.footer-affiliate-disclosure { font-size: 10px; color: rgba(255,255,255,0.3); margin-top: 8px; line-height: 1.6; }

/* ===== 判断ブロック（judgment-block） ===== */
.judgment-block {
  background: var(--accent-l);
  border: 1.5px solid rgba(200,87,10,0.15);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 0;
  display: none;
}
.judgment-block.show { display: block; }
.judgment-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.judgment-icon {
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.judgment-title-wrap { flex: 1; }
.judgment-title-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  display: block;
  margin-bottom: 3px;
}
.judgment-title .judgment-verdict {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--accent);
  display: block;
}
.judgment-body {
  font-size: 13.5px;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 14px;
}
.judgment-checklist {
  border-top: 1px solid rgba(200,87,10,0.1);
  padding-top: 14px;
  background: transparent;
  border-radius: 0;
}
.judgment-checklist-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink3);
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 8px;
}
.judgment-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink2);
  border-bottom: 1px solid rgba(200,87,10,0.07);
}
.judgment-check-item:last-child { border-bottom: none; }
.judgment-check-item:last-child { margin-bottom: 0; }
.judgment-check-item .check-icon {
  width: 20px; height: 20px;
  border: 1.5px solid var(--bg3);
  border-radius: 4px;
  background: white;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: var(--accent);
  font-weight: 800;
}
.judgment-check-item.checked .check-icon {
  background: var(--accent);
  border-color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 12px;
}
.judgment-cta-hint {
  font-size: 13px;
  color: var(--ink3);
  margin-bottom: 10px;
  line-height: 1.6;
  margin-top: 12px;
  line-height: 1.7;
}
.judgment-cta-hint strong { color: var(--accent); }

/* ── judgment-block 内 CTAボタン ── */
.judgment-cta-action { display: none; margin-top: 14px; }
.judgment-cta-action.show { display: block; }
.judgment-cta-btn {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: var(--r);
  padding: 13px 20px;
  text-decoration: none;
  transition: background .15s, transform .15s;
  box-shadow: 0 4px 14px rgba(200,87,10,0.25);
  min-height: auto;
  width: 100%;
  margin-top: 12px;
}
.judgment-cta-btn:hover { background: var(--accent-hover); transform: translateY(-1px); color: var(--white); }
.judgment-cta-btn::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-top: 2px solid var(--white); border-right: 2px solid var(--white);
  transform: rotate(45deg);
  margin-left: 4px; flex-shrink: 0;
}

/* ===== ミニ比較カード（judgment直後・v3新設）===== */
.mini-compare,
.mini-compare-cards {
  background: var(--surface);
  border: 1.5px solid var(--bg3);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-top: 16px;
  display: none;
}
.mini-compare.show,
.mini-compare-cards.show { display: block; }
.mini-compare-eyebrow {
  background: var(--primary);
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(255,255,255,0.6);
}
.mini-compare-eyebrow strong { color: white; }
.mini-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bg3);
}
.mini-card {
  background: var(--surface);
  padding: 14px;
  text-decoration: none;
  transition: background .15s;
  display: block;
  color: var(--ink);
}
.mini-card:hover { background: var(--primary-ll); }
.mini-card--primary { background: var(--primary-ll); }
.mini-card-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .1em;
  color: var(--ink3);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.mini-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 6px;
}
.mini-card-points { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.mini-card-points span {
  font-size: 11px;
  color: var(--ink2);
}
.mini-card-points span::before { content: '✓ '; color: var(--primary2); font-weight: 700; }
.mini-card-btn {
  background: var(--accent);
  color: white;
  padding: 8px 14px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
}
.mini-compare-detail,
.mini-compare-detail-link {
  display: block;
  padding: 11px 16px;
  font-size: 12px;
  color: var(--primary3);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--bg3);
  transition: background .15s;
}
.mini-compare-detail::before,
.mini-compare-detail-link::before {
  content: '→';
  margin-right: .35em;
  display: inline-block;
  transition: transform .15s;
}
.mini-compare-detail:hover,
.mini-compare-detail-link:hover { background: var(--primary-ll); }
.mini-compare-detail:hover::before,
.mini-compare-detail-link:hover::before {
  transform: translateX(2px);
}

/* CVページ用コンポーネントは cv-common.css に移動済み */

/* ===== ヒーロー直下のアンカーCTA ===== */
.hero-anchor-cta { text-align: center; margin: -4px 0 18px; }
.hero-anchor-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-l);
  border: 1.5px solid var(--accent);
  border-radius: var(--r-full);
  padding: 8px 18px;
  text-decoration: none;
  transition: all .15s;
}
.hero-anchor-cta a:hover { background: var(--accent); color: var(--white); }
.hero-anchor-cta a::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(135deg);
  margin-left: 2px;
}
.hero-anchor-cta::after { content: "広告"; display: block; font-size: 10px; color: var(--ink3); margin-top: 5px; letter-spacing: .05em; }

/* ===== result内ミニCTAバナー ===== */
.result-mini-cta { display: none; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: var(--r-lg); padding: 16px; margin-top: 16px; text-align: center; }
.result-mini-cta.show { display: block; }
.result-mini-cta-title { font-size: 13px; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.4; }
.result-mini-cta .cta-btn { background: var(--white); color: var(--accent); font-size: 13px; padding: 12px 20px; display: inline-block; border-radius: var(--r-full); font-weight: 700; text-decoration: none; transition: all .15s; }
.result-mini-cta .cta-btn:hover { background: #fff3ed; transform: translateY(-1px); }
.result-mini-cta .cta-btn::after { border-top-color: var(--accent); border-right-color: var(--accent); }

/* ===== CTA pulse アニメーション ===== */
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(200,87,10,.55); }
  60%  { box-shadow: 0 0 0 12px rgba(200,87,10,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,87,10,0); }
}
.cta-btn.cta-pulse { animation: ctaPulse .8s ease-out 2; }

/* ===== シェアバー ===== */
.share-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--bg3); border-radius: var(--r-lg); margin-bottom: 14px; flex-wrap: wrap; }
.share-bar-label { font-size: 12px; color: var(--ink3); font-weight: 700; margin-right: 4px; }
.share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 8px 14px; border: 1.5px solid var(--bg3); border-radius: var(--r-full); font-size: 12px; font-weight: 700; cursor: pointer; background: var(--surface); color: var(--ink); transition: all .15s; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn-icon { font-size: 14px; }
.share-btn-line { border-color: #06c755; color: #06c755; }
.share-btn-line:hover { background: #06c755; color: var(--white); }
.share-btn-print { border-color: #888; color: #555; }
.share-btn-x { border-color: #000; color: #000; font-weight: 800; }
.share-btn-x:hover { background: #000; color: var(--white); }

/* ===== 第2CTA ===== */
.cta-block2 { background: var(--bg); border: 1.5px solid var(--bg3); border-radius: var(--r-lg); padding: 20px 16px; margin-bottom: 14px; text-align: center; }
.cta-block2 .cta-title { font-family: var(--font-display); font-size: clamp(14px,3.5vw,18px); font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 8px; }
.cta-block2 .cta-sub { font-size: 12px; color: var(--ink3); margin-bottom: 14px; line-height: 1.6; }
.cta-block2 .cta-btn2 { display: inline-block; background: transparent; color: var(--accent); border: 2px solid var(--accent); font-weight: 700; font-size: 13px; padding: 12px 24px; border-radius: var(--r-full); text-decoration: none; transition: all .15s; }
.cta-block2 .cta-btn2::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  transition: transform .15s;
}
.cta-block2 .cta-btn2:hover::after { transform: rotate(45deg) translateX(2px); }
.cta-block2 .cta-btn2:hover { background: var(--accent); color: var(--white); }

/* ===== テーブル横スクロール ===== */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.table-scroll table { min-width: 460px; }

/* ===== Utility classes ===== */
.txt-xs-muted { font-size: 12px; color: var(--ink3); }
.txt-sm-muted { font-size: 12px; color: var(--ink3); }
.txt-sm-body  { font-size: 13px; color: var(--ink2); line-height: 1.7; }
.txt-sm-bold-pointer { font-size: 13px; font-weight: 700; cursor: pointer; }
.txt-sm-subtle { font-size: 12px; color: rgba(255,255,255,0.55); }
.txt-xs   { font-size: 12px; }
.txt-green { color: var(--green); }
.txt-error { color: #c00; font-weight: 700; }
.txt-danger { color: #c00; }
.txt-xs-muted.mt-3 { margin-top: 3px; }
.txt-xs-muted.mt-4 { margin-top: 4px; }
.txt-xs-muted.mt-8 { margin-top: 8px; }
.txt-accent-bold { color: var(--accent); font-weight: 700; }
.txt-accent { color: var(--accent); }
.txt-warn { color: #d4900a; }
.txt-caution { color: #c07000; font-weight: 700; }
.txt-ink2 { color: var(--ink2); }
.txt-em { font-size: .5em; }
.txt-fs28 { font-size: 28px; }
.mono-val { font-family: var(--font-mono); font-size: 14px; font-weight: 700; }
.mono-green { font-family: var(--font-mono); color: var(--green); }
.mono-accent { font-family: var(--font-mono); color: var(--accent); }
.mono-val-lg { font-family: var(--font-mono); font-size: 20px; font-weight: 700; color: var(--green); }
.mono-val-green { font-family: var(--font-mono); font-size: 14px; font-weight: 700; color: var(--green); }
.result-hero-label { font-size: 11px; color: var(--primary-mid); font-family: var(--font-mono); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.result-hero-bg { background: linear-gradient(135deg, var(--primary), var(--primary2)); border-radius: var(--r-lg); padding: 22px 16px; margin-bottom: 14px; position: relative; overflow: hidden; }
.section-label { font-size: 13px; font-weight: 700; color: var(--ink2); padding: 10px 0 6px; border-bottom: 1px solid var(--bg3); }
.section-label2 { font-size: 12px; font-weight: 700; color: var(--ink2); margin-bottom: 8px; }
.txt-sm-muted.mb-3  { margin-bottom: 3px; }
.txt-sm-muted.mb-12 { margin-bottom: 12px; }
.txt-sm-muted.mb-16 { margin-bottom: 16px; }
.txt-sm-note { font-size: 13px; color: var(--ink2); line-height: 1.8; }
.txt-sm-note2 { font-size: 13px; color: var(--ink2); margin-top: 12px; line-height: 1.7; }
.txt-sm-gray { font-size: 12px; color: #666; margin-top: 4px; }
.txt-xs-muted-lh { font-size: 12px; color: var(--ink3); margin-top: 8px; line-height: 1.6; }
.txt-green-bold { color: var(--green); font-weight: 700; }
.fw-bold { font-weight: 700; }
.mt-0  { margin-top: 0; }
.mt-3  { margin-top: 3px; }
.mt-4  { margin-top: 4px; }
.mt-6  { margin-top: 6px; }
.mt-8  { margin-top: 8px; }
.mt-10 { margin-top: 10px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-14 { margin-bottom: 14px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin: 0 0 24px; }
.my-12 { margin: 12px 0; }
.h-full { height: 100%; }
.flex-center-8 { display: flex; align-items: center; gap: 8px; }
.flex-center-8-mb8 { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; margin-bottom: 8px; }
.flex-between  { display: flex; align-items: center; justify-content: space-between; }
.flex-between-mb16 { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.flex-row-sm { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink3); margin-bottom: 4px; }
.grid-2col    { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-2col-8  { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grid-3col { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 14px; }
.grid-cost-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid var(--bg3); }
.text-right   { text-align: right; }
.w-28 { width: 28px; }
.w-120 { width: 120px; }
.borderless { border: none; padding: 0; }
.overflow-x { overflow-x: auto; }
.overflow-touch { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kpi-box { background: var(--surface); border: 1px solid var(--bg3); border-radius: var(--r); padding: 12px; text-align: center; }
.kpi-l, .kpi-label { font-size: 12px; color: var(--ink3); margin-bottom: 3px; }
.kpi-v, .kpi-val { font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--ink); }
.kpi3 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.kpi4, .kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
@media (min-width: 480px) { .kpi3 { grid-template-columns: repeat(3,1fr); } .kpi4, .kpi-grid { grid-template-columns: repeat(4,1fr); } }
.btn-success { background: var(--green) !important; border-color: var(--green) !important; color: var(--white) !important; }
.progress-bar-wrap { height: 16px; background: var(--bg3); border-radius: 8px; overflow: hidden; margin-bottom: 4px; }
.payback-bar-wrap2 { background: var(--bg3); border-radius: 99px; height: 12px; overflow: hidden; }
.js-hidden { display: none; }
.hidden-mt16 { display: none; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--bg3); }
.hidden-mt12 { display: none; margin-top: 12px; }
.mt-12-hidden { display: none; margin-top: 12px; }
.bg-border2 { background: var(--bg3); }
.bg-accent  { background: var(--accent); }
.bg-green-60 { background: var(--green); opacity: .6; }
.bg-green { background: var(--green); }
.bg-light { background: var(--bg); }
.selected { background: var(--accent-l); border-color: var(--accent); }
.active { background: var(--accent-l); border-color: var(--accent); color: var(--accent); }
.grade-name { color: var(--ink); font-size: 12px; font-weight: 700; }
.del-btn:hover { background: #fff0f0; border-color: #c00; color: #c00; }
.green { color: var(--green); font-weight: 700; }
.pc-icon { font-size: 22px; margin-bottom: 4px; }
.mc-icon { font-size: 24px; margin-bottom: 6px; }

/* ===== 矢印 CSS描画 ===== */
.tool-card-arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  flex-shrink: 0;
  font-size: 0;
}
.tool-card-arr::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-top: 1.5px solid var(--ink3);
  border-right: 1.5px solid var(--ink3);
  transform: rotate(45deg);
}

.map-link { display: inline-flex; align-items: center; gap: 8px; }
.map-link::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
  transition: transform .15s;
}
.map-link:hover::after { transform: rotate(45deg) translateX(3px) translateY(-1px); }

.bottom-banner-btn { display: inline-flex; align-items: center; gap: 8px; }
.bottom-banner-btn::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  flex-shrink: 0;
  transition: transform .15s;
}
.bottom-banner-btn:hover::after { transform: rotate(45deg) translateX(3px) translateY(-1px); }

/* ===== 緊急性バッジ ===== */
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--accent-l);
  border: 1px solid var(--accent);
  border-radius: var(--r-full);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.urgency-badge::before { content: '⚡'; }
.trust-bar { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px; }
.trust-bar-item { font-size: 11px; color: var(--ink3); display: flex; align-items: center; gap: 3px; }
.trust-bar-item::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ===== localStorage 復元通知バナー ===== */
.restore-notice { display: flex; align-items: center; gap: 10px; background: var(--primary-l); border: 1.5px solid var(--primary-mid); border-radius: var(--r); padding: 10px 14px; margin-bottom: 12px; font-size: 12px; flex-wrap: wrap; }
.restore-notice-text { flex: 1; color: var(--primary); font-weight: 600; min-width: 160px; }
.restore-notice-calc { background: var(--primary); color: var(--white); border: none; border-radius: var(--r-full); padding: 7px 16px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.restore-notice-calc:hover { background: var(--primary2); }
.restore-notice-close { background: none; border: none; color: #888; cursor: pointer; font-size: 14px; padding: 4px; line-height: 1; }
.restore-notice-close:hover { color: #333; }

/* ===== 人気ツールセクション（トップ） ===== */
.popular-section { background: linear-gradient(135deg, var(--primary), var(--primary2)); padding: 32px 16px; }
.popular-inner { max-width: 960px; margin: 0 auto; }
.popular-label { font-size: 11px; font-family: var(--font-mono); color: var(--primary-mid); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.popular-title { font-family: var(--font-display); font-size: clamp(18px,4vw,26px); font-weight: 800; color: var(--white); margin-bottom: 20px; }
.popular-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 480px) { .popular-grid { grid-template-columns: repeat(4,1fr); } }
.popular-card { display: flex; flex-direction: column; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg); padding: 16px 8px; text-decoration: none; transition: all .15s; }
.popular-card:hover { background: rgba(200,87,10,.2); border-color: rgba(200,87,10,.5); transform: translateY(-2px); }
.popular-icon { font-size: 24px; }
.popular-name { font-size: 11px; font-weight: 700; color: var(--white); text-align: center; line-height: 1.4; }

/* ===== コスパ比較バー ===== */
.pc-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pc-row-name { font-size: 12px; font-weight: 700; color: var(--ink); min-width: 70px; flex-shrink: 0; }
.pc-bar-wrap { flex: 1; height: 20px; background: var(--bg3); border-radius: 4px; overflow: hidden; }
.pc-bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary3)); border-radius: 4px; transition: width .4s ease; }
.pc-val { font-family: var(--font-mono); font-size: 12px; color: var(--ink); min-width: 100px; text-align: right; flex-shrink: 0; }
.pc-life-badge { font-size: 10px; color: var(--ink3); background: var(--bg2); padding: 2px 8px; border-radius: var(--r-full); flex-shrink: 0; }

/* ===== 印刷スタイル ===== */
@media print {
  .site-header, .hdr, .site-footer, .ftr, .cta-block, .cta-block2,
  .related-links-block, .hero-anchor-cta, .share-bar,
  .result-mini-cta, .calc-btn, .judgment-block, .mini-compare-cards,
  nav, .hero-glow, .hero-badges, .qnav { display: none !important; }

  body { font-size: 11pt; color: #000; background: #fff; }
  .main-wrap, .container, .main { max-width: 100%; padding: 0; margin: 0; }
  .result-wrap, .result-area { display: block !important; }
  .card { border: 1px solid #ccc; box-shadow: none; break-inside: avoid; }
  .breakdown { break-inside: avoid; }
  .article-block { display: none; }

  body::before {
    content: "住宅ツール.com — " attr(data-tool-title);
    display: block;
    font-size: 10pt;
    color: #666;
    margin-bottom: 8pt;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4pt;
  }
  body::after {
    content: "※この計算結果は概算です。実際の費用は契約内容や地域によって異なります。 jutaku-tool.com";
    display: block;
    font-size: 8pt;
    color: #999;
    margin-top: 12pt;
    border-top: 1px solid #eee;
    padding-top: 4pt;
  }
}

/* ── 結果シェアバー（コピー＋Xシェア） ── */
.result-share-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 16px 0 12px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink2);
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  text-decoration: none;
  line-height: 1;
}
.share-btn:hover {
  background: var(--primary-l);
  border-color: var(--primary);
  color: var(--primary);
}
.share-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.share-btn--copied {
  background: var(--primary-l);
  border-color: var(--primary);
  color: var(--primary);
}
@media print {
  .result-share-bar { display: none; }
}

:focus-visible {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

nav a, .hdr a, .footer a, .footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer a {
  padding: 12px 8px;
}

/* Mobile Sticky CTA */
.tool-sticky-cta{position:fixed;bottom:0;left:0;right:0;z-index:9999;transform:translateY(100%);transition:transform .35s cubic-bezier(.4,0,.2,1);display:none}
.tool-sticky-cta.is-visible{transform:translateY(0)}
.tool-sticky-inner{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--navy,#1a2a40);padding:12px 16px;border-top:2px solid var(--accent,#c8570a)}
.tool-sticky-text{font-size:.78rem;color:rgba(255,255,255,.8)}
.tool-sticky-btn{background:var(--accent,#c8570a);color:#fff;padding:8px 18px;border-radius:6px;font-size:.78rem;font-weight:700;text-decoration:none;white-space:nowrap}
.tool-sticky-close{background:none;border:none;color:rgba(255,255,255,.5);font-size:1.2rem;cursor:pointer}
@media(min-width:769px){.tool-sticky-cta{display:none!important}}
@media(max-width:768px){.tool-sticky-cta{display:block}}

