/* =========================================================
   上尾市外壁塗装・屋根修理情報サイト — 共通スタイルシート
   役所資料・白書風 / ネイビー・グレー・白基調
   ========================================================= */

/* --- CSS Variables --- */
:root {
  /* ── フォント（スペック準拠） ── */
  --font-heading: "Plus Jakarta Sans", "Noto Sans JP", sans-serif;
  --font-body:    "Noto Sans JP", sans-serif;
  /* 後方互換エイリアス（既存コードが var(--font-serif) / var(--font-sans) / var(--font-mono) を参照している箇所を崩さない） */
  --font-serif:  var(--font-heading);
  --font-sans:   var(--font-body);
  --font-mono:   var(--font-heading); /* tabular-nums で代替 */

  /* ── カラー（スペック準拠 / genre-local） ── */
  --color-primary:      #1565c0;
  --color-primary-dark: #0d47a1;
  --color-cta:          #ff7a00;
  --color-cta-dark:     #e06900;
  --color-accent:       #d32f2f;
  --color-text:         #333333;
  --color-sub:          #666666;
  --color-muted:        #999999;
  --color-bg:           #ffffff;
  --color-bg-sub:       #f7f8fa;
  --color-bg-dark:      #1a2d4a;
  --color-border:       #e0e0e0;
  --color-success:      #2e7d32;
  /* 後方互換エイリアス */
  --navy:        #1a2d4a;
  --navy-dark:   #0f1e33;
  --navy-mid:    #243a5e;
  --blue-soft:   var(--color-primary);
  --slate-600:   #475569;
  --slate-400:   #94a3b8;
  --slate-200:   #e2e8f0;
  --slate-100:   #f1f5f9;
  --white:       #ffffff;
  --red-warn:    var(--color-accent);
  --red-bg:      #fef2f2;
  --red-border:  #ef4444;
  --green-ok:    var(--color-success);
  --amber-caution:#d97706;

  /* ── フォントサイズ ── */
  --fs-base: 18px;
  --fs-sm:   15px;
  --fs-lg:   20px;
  --lh-base:    1.85;
  --lh-heading: 1.3;

  /* ── その他 ── */
  --shadow-card: 0 2px 12px rgba(26,45,74,0.10);
  --shadow-lg:   0 8px 32px rgba(26,45,74,0.16);
  --radius:      6px;
  --radius-lg:   12px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--fs-base); }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: var(--lh-base);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-mid); text-decoration: underline; transition: color .2s; }
a:hover { color: var(--blue-soft); }
ul, ol { padding-left: 1.5em; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  max-width: 720px;   /* スペック準拠：可読性最優先 1カラム */
  margin: 0 auto;
  padding: 0 20px;
}
.container--wide {
  max-width: 1080px;  /* 比較表・カードグリッド用 */
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow {
  max-width: 720px;   /* スペック準拠（narrowも同値） */
  margin: 0 auto;
  padding: 0 20px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--navy-mid);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: .5rem;
}
.site-header__logo a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: clamp(.78rem, 3.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: .02em;
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}
.site-header__logo span.tag {
  font-family: var(--font-sans);
  font-size: .65rem;
  font-weight: 500;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #cbd5e1;
  padding: .15em .5em;
  border-radius: 3px;
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header__nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.site-header__nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: color .2s;
  white-space: nowrap;
}
.site-header__nav a:hover { color: var(--white); }
.header-cta {
  background: var(--color-cta);
  color: var(--white) !important;
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  font-size: .8rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .2s, transform .1s;
}
.header-cta:hover { background: var(--color-cta-dark) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .4rem;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    padding: 1rem 1.25rem;
    gap: .75rem;
    border-top: 2px solid var(--navy-mid);
  }
  .site-header__nav.open { display: flex; }
  .site-header__nav a { font-size: 1rem; padding: .4rem 0; border-bottom: 1px solid rgba(255,255,255,.1); width: 100%; }
}

/* =========================================================
   PR表記 + 透明性ステートメント
   ========================================================= */
.transparency-bar {
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  font-size: .75rem;
  color: var(--slate-600);
  padding: .6rem 1.25rem;
}
.transparency-bar__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.transparency-bar__pr-badge {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  font-weight: 700;
  font-size: .7rem;
  padding: .15em .55em;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: .05rem;
}
.transparency-bar p { line-height: 1.55; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding: 3rem 1.25rem 1.5rem;
  margin-top: 5rem;
}
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.site-footer__declaration {
  border-left: 3px solid var(--navy-mid);
  padding-left: 1rem;
  margin-bottom: 2rem;
  font-size: .8rem;
  color: #94a3b8;
}
.site-footer__declaration strong { color: #cbd5e1; font-size: .85rem; display: block; margin-bottom: .35rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: .75rem;
}
.site-footer__desc { font-size: .8rem; line-height: 1.65; color: #94a3b8; }
.site-footer__heading { font-size: .75rem; font-weight: 700; color: #94a3b8; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .75rem; }
.site-footer__links { list-style: none; padding: 0; }
.site-footer__links li { margin-bottom: .4rem; }
.site-footer__links a { color: #94a3b8; font-size: .8rem; text-decoration: none; }
.site-footer__links a:hover { color: #cbd5e1; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.25rem;
  font-size: .72rem;
  color: #94a3b8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.site-footer__consult-note {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  font-size: .75rem;
  margin-bottom: 1.5rem;
  color: #94a3b8;
}

/* =========================================================
   STICKY MOBILE CTA
   ========================================================= */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--navy-dark);
  border-top: 2px solid var(--red-warn);
  padding: .75rem 1.25rem;
  text-align: center;
}
.sticky-cta__btn {
  display: block;
  background: var(--red-warn);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: .75rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s;
}
.sticky-cta__btn:hover { background: #b91c1c; color: var(--white); }
.sticky-cta__sub {
  font-size: .7rem;
  color: #94a3b8;
  margin-top: .3rem;
}
@media (max-width: 768px) { .sticky-cta { display: block; } }
body { padding-bottom: 90px; }
@media (min-width: 769px) { body { padding-bottom: 0; } }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: .5rem;
}
.page-subtitle {
  font-size: 1.05rem;
  color: var(--slate-600);
  font-weight: 400;
}
h2.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--slate-200);
  margin: 2.5rem 0 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
h2.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--navy);
  border-radius: 2px;
  flex-shrink: 0;
}
h3.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 1.75rem 0 .75rem;
  padding-left: .85rem;
  border-left: 3px solid var(--blue-soft);
}
p { margin-bottom: 1em; }

/* =========================================================
   COMPONENTS
   ========================================================= */

/* --- Card --- */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card--flat { box-shadow: none; }
.card--flat:hover { box-shadow: var(--shadow-card); }

/* --- 災害影響アラートバー --- */
.alert-disaster {
  background: #fff7ed;
  border-top: 3px solid #f97316;
  border-bottom: 1px solid #fed7aa;
  padding: .75rem 1.25rem;
  font-size: .85rem;
  line-height: 1.65;
  color: #7c2d12;        /* #7c2d12 on #fff7ed → コントラスト比 8.9:1 ✅ */
}
.alert-disaster strong {
  font-weight: 700;
  color: #9a3412;
}
.alert-disaster__link {
  display: inline-block;
  margin-left: .5rem;
  font-weight: 700;
  color: #c2410c;        /* #c2410c on #fff7ed → コントラスト比 5.6:1 ✅ */
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.alert-disaster__link:hover {
  color: #9a3412;
}

/* --- Warning Box (Section 5) --- */
.warning-box {
  background: var(--red-bg);
  border-left: 4px solid var(--red-border);
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.warning-box__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red-warn);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.warning-box ul { color: #7f1d1d; font-size: .9rem; }
.warning-box__cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--color-cta);
  color: var(--white);
  padding: .55rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  font-size: .875rem;
  transition: background .2s;
}
.warning-box__cta:hover { background: var(--color-cta-dark); color: var(--white); }

/* --- Info Box --- */
.info-box {
  background: #eff6ff;
  border-left: 4px solid #3b82f6;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
}

/* --- CTA Box --- */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-lg);
}
.cta-box h3 { font-family: var(--font-serif); font-size: 1.15rem; margin-bottom: .4rem; }
.cta-box p { font-size: .85rem; color: #e2e8f0; margin-bottom: 1.1rem; }
.cta-box__btn {
  display: block;
  text-align: center;
  background: var(--color-cta);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 48px 16px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 12px rgba(255,122,0,.3);
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}
.cta-box__btn::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  rotate: 45deg;
  transition: right .2s;
}
.cta-box__btn:hover { background: var(--color-cta-dark); color: var(--white); transform: translateY(-2px); }
.cta-box__btn:hover::after { right: 16px; }
.cta-box__notes {
  font-size: .75rem;
  color: #e2e8f0;
  margin-top: .85rem;
  display: flex;
  justify-content: center;
  gap: .5rem 1rem;
  flex-wrap: wrap;
}
.cta-box__notes span {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: .2em .75em;
  white-space: nowrap;
}

/* --- Badge --- */
.badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: .2em .6em;
  border-radius: 3px;
  letter-spacing: .04em;
}
.badge--navy { background: var(--navy); color: var(--white); }
.badge--red  { background: var(--red-warn); color: var(--white); }
.badge--green{ background: var(--green-ok); color: var(--white); }
.badge--amber{ background: var(--amber-caution); color: var(--white); }
.badge--gray { background: var(--slate-200); color: var(--slate-600); }

/* --- Table --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .875rem;
  margin: 1.25rem 0;
  min-width: 480px;
}
.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: .65rem .75rem;
  text-align: left;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.data-table td {
  padding: .6rem .75rem;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: middle;
  font-size: .82rem;
  line-height: 1.5;
}
.data-table tr:nth-child(even) td { background: var(--slate-100); }
.data-table tr:hover td { background: #e0eaff; }
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
/* スクロールヒント */
.table-wrap::before {
  content: '← 横にスクロールできます →';
  display: none;
  font-size: .68rem;
  color: var(--slate-400);
  text-align: center;
  padding: .3rem;
  background: var(--slate-100);
  border-radius: var(--radius) var(--radius) 0 0;
}
@media (max-width: 640px) {
  .table-wrap::before { display: block; }
  .data-table { font-size: .78rem; min-width: 520px; }
  .data-table th { font-size: .72rem; padding: .55rem .6rem; }
  .data-table td { font-size: .75rem; padding: .55rem .6rem; }
}

/* 縦型定義テーブル（subsidy等のth:left td:rightスタイル）はmin-width不要 */
.table-wrap--def .data-table { min-width: unset; }
.table-wrap--def .data-table th {
  width: 7em;
  white-space: nowrap;
  background: var(--slate-100);
  color: var(--navy);
  border-right: 2px solid var(--navy);
  font-size: .78rem;
}
.table-wrap--def .data-table td { font-size: .82rem; }

/* --- Step List --- */
.step-list { list-style: none; padding: 0; counter-reset: step; }
.step-list li {
  counter-increment: step;
  padding: 1rem 1rem 1rem 3.5rem;
  margin-bottom: .75rem;
  background: var(--slate-100);
  border-radius: var(--radius);
  position: relative;
  font-size: .9rem;
}
.step-list li::before {
  content: counter(step);
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--white);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  font-family: var(--font-mono);
}

/* --- Internal Link Box (article footer) --- */
.related-links {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 3rem;
}
.related-links__title { font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: .75rem; letter-spacing: .04em; }
.related-links__list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.related-links__list a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: var(--white);
  border: 1px solid var(--slate-200);
  color: var(--navy-mid);
  padding: .4rem .85rem;
  border-radius: 20px;
  font-size: .8rem;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.related-links__list a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* --- Hero Banner --- */
.hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, #243a6e 100%);
  color: var(--white);
  padding: 3.5rem 1.25rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  top: -20%;
  width: 60%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(59,89,152,.25) 0%, transparent 65%);
  pointer-events: none;
}
.hero__eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: .75rem;
}
.hero__desc { font-size: .95rem; color: #cbd5e1; max-width: 600px; margin-bottom: 1.5rem; line-height: 1.7; }
.hero__inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero__cta-group { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.hero__cta-primary {
  background: var(--color-cta);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: .85rem 2.5rem .85rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .95rem;
  box-shadow: 0 4px 16px rgba(255,122,0,.4);
  transition: background .2s, transform .15s;
  position: relative;
}
.hero__cta-primary::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  rotate: 45deg;
  transition: right .2s;
}
.hero__cta-primary:hover { background: var(--color-cta-dark); color: var(--white); transform: translateY(-2px); }
.hero__cta-primary:hover::after { right: 10px; }
.hero__cta-secondary {
  color: #93c5fd;
  font-size: .875rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .3rem;
}
.hero__meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero__meta-item {
  font-size: .78rem;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: .3em .85em;
}
.hero__meta-item span { color: #cbd5e1; }

/* --- Breadcrumb --- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  color: var(--slate-400);
  padding: .75rem 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--slate-400); text-decoration: none; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb__sep { color: var(--slate-400); }

/* =========================================================
   INFOGRAPHICS (Section 6)
   ========================================================= */

/* --- Price Dashboard --- */
.price-dashboard {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  margin: 2rem 0;
}
.price-dashboard__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: .75rem;
}
.price-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 600px) { .price-dashboard__grid { grid-template-columns: 1fr; } }
.price-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
}
.price-card__label { font-size: .75rem; color: #bfdbfe; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; font-weight: 700; }
.price-card__range { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 600; line-height: 1.2; }
.price-card__unit { font-size: .72rem; color: #cbd5e1; margin-top: .25rem; }
.price-card--highlight { background: rgba(239,68,68,.15); border-color: rgba(239,68,68,.3); }

/* --- Signal Panel --- */
.signal-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 600px) { .signal-panel { grid-template-columns: 1fr; } }
.signal-item {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.signal-item--red    { background: #fef2f2; border: 2px solid #fca5a5; }
.signal-item--amber  { background: #fffbeb; border: 2px solid #fcd34d; }
.signal-item--green  { background: #f0fdf4; border: 2px solid #86efac; }
.signal-item__icon  { font-size: 2rem; margin-bottom: .5rem; }
.signal-item__title { font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.signal-item--red   .signal-item__title { color: #991b1b; }
.signal-item--amber .signal-item__title { color: #92400e; }
.signal-item--green .signal-item__title { color: #14532d; }
.signal-item__desc  { font-size: .78rem; line-height: 1.5; color: #475569; }
.signal-item__desc .list-clean { margin-top: .25rem; }

/* --- リストリセット --- */
.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-clean li {
  padding: .15rem 0;
}

/* --- Redpen Estimate --- */
.redpen-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 2rem 0;
}
.redpen-header {
  background: var(--navy);
  color: var(--white);
  padding: .75rem 1.25rem;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.redpen-row {
  display: grid;
  grid-template-columns: 1fr auto auto 2fr;
  align-items: center;
  padding: .7rem 1.25rem;
  border-bottom: 1px solid var(--slate-200);
  font-size: .85rem;
  gap: .75rem;
}
.redpen-row:last-child { border-bottom: none; }
.redpen-row__label { flex: 1; min-width: 0; }
.redpen-row__amount { font-family: var(--font-mono); font-weight: 600; white-space: nowrap; }
.redpen-row__flag {
  font-size: .72rem;
  font-weight: 700;
  padding: .15em .55em;
  border-radius: 3px;
  white-space: nowrap;
  text-align: center;
}
.flag--ok   { background: #dcfce7; color: #166534; }
.flag--warn { background: #fef9c3; color: #854d0e; }
.flag--ng   { background: #fee2e2; color: #991b1b; }

@media (max-width: 600px) {
  .redpen-row {
    grid-template-columns: 1fr;
    gap: .35rem;
    padding: .85rem 1rem;
  }
  .redpen-row__amount {
    font-size: .95rem;
    font-weight: 700;
  }
  .redpen-row > div:last-child {
    font-size: .72rem;
    padding-top: .2rem;
    border-top: 1px dashed var(--slate-200);
    margin-top: .1rem;
  }
}

/* --- 3Step Diagram --- */
.step-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: .5rem;
  margin: 2rem 0;
}
@media (max-width: 600px) {
  .step-diagram { grid-template-columns: 1fr; }
  .step-diagram__arrow { transform: rotate(90deg); }
}
.step-diagram__box {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.step-diagram__box.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.step-diagram__num { font-family: var(--font-mono); font-size: .7rem; color: var(--slate-400); margin-bottom: .3rem; }
.step-diagram__box.active .step-diagram__num { color: #93c5fd; }
.step-diagram__icon { font-size: 1.75rem; margin-bottom: .4rem; }
.step-diagram__label { font-weight: 700; font-size: .875rem; }
.step-diagram__sub { font-size: .72rem; color: var(--slate-600); margin-top: .25rem; }
.step-diagram__box.active .step-diagram__sub { color: #93c5fd; }
.step-diagram__arrow { font-size: 1.25rem; color: var(--slate-400); text-align: center; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { margin: 1.5rem 0; }
.faq-item { border-bottom: 1px solid var(--slate-200); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1rem 0;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  line-height: 1.4;
}
.faq-question__icon { font-size: 1.1rem; flex-shrink: 0; transition: transform .2s; }
.faq-item.open .faq-question__icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 1rem;
  font-size: .875rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* =========================================================
   CONSULT / FORM
   ========================================================= */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .65rem .85rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
  transition: border-color .2s;
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--navy-mid); box-shadow: 0 0 0 3px rgba(59,89,152,.15); }
.btn-primary {
  display: block;
  width: 100%;
  background: var(--red-warn);
  color: var(--white);
  border: none;
  padding: .95rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-sans);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 12px rgba(220,38,38,.35);
}
.btn-primary:hover { background: #b91c1c; transform: translateY(-1px); }
.trust-notes {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: .75rem;
  font-size: .75rem;
  color: var(--slate-600);
}
.trust-notes span::before { content: '✅ '; }
.diagnosis-result {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: none;
}
.diagnosis-result.show { display: block; }
.diagnosis-result__label { font-size: .8rem; letter-spacing: .08em; color: #93c5fd; margin-bottom: .5rem; }
.diagnosis-result__title { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.result-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--red-warn);
  color: var(--white);
  font-weight: 700;
  padding: .5rem 1.25rem;
  border-radius: 20px;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(220,38,38,.5);
}
.checklist { list-style: none; padding: 0; text-align: left; }
.checklist li { padding: .4rem 0; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.checklist li::before { content: '✓ '; color: #86efac; font-weight: 700; }

/* =========================================================
   AREA PAGE SPECIFIC
   ========================================================= */
.area-hero {
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 60%, #1e3a5f 100%);
  padding: 2.5rem 1.25rem 2rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.area-risk-meter {
  display: flex;
  gap: .5rem;
  align-items: center;
  margin: 1.25rem 0;
}
.area-risk-meter__label { font-size: .75rem; color: #94a3b8; min-width: 4rem; }
.risk-bar {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,.12);
  border-radius: 4px;
  overflow: hidden;
}
.risk-bar__fill { height: 100%; border-radius: 4px; transition: width 1s ease; }
.risk-bar--high   .risk-bar__fill { background: linear-gradient(90deg, #f87171, #dc2626); }
.risk-bar--medium .risk-bar__fill { background: linear-gradient(90deg, #fbbf24, #d97706); }
.risk-bar--low    .risk-bar__fill { background: linear-gradient(90deg, #4ade80, #16a34a); }
.risk-level { font-family: var(--font-mono); font-size: .75rem; min-width: 2.5rem; text-align: right; }

/* =========================================================
   UTILITY
   ========================================================= */
.text-center { text-align: center; }
.text-small  { font-size: .8rem; }
.text-muted  { color: var(--slate-600); }
.mt-1  { margin-top: .5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }
.mt-5  { margin-top: 3rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }
.section { padding: 3rem 0; }
.section--light { background: var(--slate-100); }
.section--navy  { background: var(--navy); color: var(--white); }
.divider { border: none; border-top: 1px solid var(--slate-200); margin: 2.5rem 0; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.highlight-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.highlight-num--large { font-size: 2rem; }

: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, .footer a, .footer-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer a {
  padding: 12px 8px;
}



/* ==========================================================
   UTILITY CLASSES — インラインスタイルをクラスに置き換えた分
   ========================================================== */

/* テキスト */
.ui-text-xs-sub    { font-size: .8rem; margin: .4rem 0 0; color: var(--slate-600); }
.ui-text-sm-navy   { font-size: .875rem; color: var(--navy); }
.ui-text-sm-slate  { font-size: .875rem; color: var(--slate-600); }
.ui-text-sm-slate-lh { font-size: .875rem; color: var(--slate-600); line-height: 1.8; }
.ui-text-sm-red    { color: #7f1d1d; font-size: .88rem; line-height: 1.8; }
.ui-text-xs-label  { font-size: .72rem; color: #94a3b8; margin-bottom: .15rem; }
.ui-text-xs-mono   { font-family: var(--font-mono); font-size: .72rem; color: #94a3b8; min-width: 2.5rem; }
.ui-text-xs-slug   { font-size: .72rem; font-weight: 700; color: var(--slate-600); letter-spacing: .06em; margin-bottom: .4rem; }
.ui-text-xs-slate  { font-size: .78rem; color: var(--slate-600); }
.ui-text-sm-navy-b { font-size: .95rem; color: var(--navy); }
.ui-text-navy      { color: var(--navy); }
.ui-text-navy-mid  { color: var(--navy-mid); }
.ui-text-slate-64  { color: #64748b; }
.ui-text-slate-94  { color: #94a3b8; }
.ui-text-cbd       { color: #cbd5e1; }
.ui-text-white-bold { color: #fff; font-weight: 700; }
.ui-fw-bold-sm     { font-weight: 700; font-size: .9rem; color: var(--navy); }
.ui-link-plain     { text-decoration: none; }

/* 間隔 */
.ui-mt-0   { margin-top: 0; }
.ui-mt-sm  { margin-top: .75rem; }
.ui-mt-md  { margin-top: 1.5rem; }
.ui-mt-lg  { margin-top: 2rem; }
.ui-mb-md  { margin-bottom: 1rem; }
.ui-pt-xl  { padding-top: 2.5rem; }
.ui-p-md   { padding: 1rem; }

/* カード・背景 */
.ui-card-shaded  { padding: .85rem; background: var(--slate-100); border-radius: var(--radius); }
.ui-card-base    { background: var(--slate-100); border-radius: var(--radius); padding: 1rem; }

/* フレックス */
.ui-stat-row  { display: flex; align-items: center; gap: .75rem; margin: .3rem 0; }
.ui-progress-track { height: 8px; flex: 1; background: #e2e8f0; border-radius: 4px; overflow: hidden; }

/* ==========================================================
   ARTICLE LAYOUT追加スタイル
   ========================================================== */
.article-header {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0 2rem;
}
.article-header h1 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: .5rem 0 .75rem;
}
.article-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: #e2e8f0;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 3px;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.article-meta {
  font-size: .78rem;
  color: #94a3b8;
  margin: 0;
}
.article-body {
  padding: 2rem 1.25rem 3rem;
}
.breadcrumb {
  font-size: .78rem;
  color: var(--slate-600);
  margin-bottom: 1.5rem;
}
.breadcrumb a {
  color: var(--slate-600);
}
.back-link {
  display: inline-block;
  margin-top: 2.5rem;
  color: var(--navy-mid);
  font-size: .88rem;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* ==========================================================
   FOOTER追加クラス（インラインスタイル撤廃分）
   ========================================================== */
.site-footer__desc--sm {
  margin-top: .75rem;
  font-size: .75rem;
}
.site-footer__heading--spaced {
  margin-top: 1.25rem;
}
.site-footer__declaration--bottom {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.text-slate-400 { color: #94a3b8; }

/* ── FAQ内テキストリンク ── */
.link-sm { font-size: .82rem; font-weight: 700; }
.link-sm-block { display: block; margin-top: .5rem; font-size: .82rem; font-weight: 700; }

/* =========================================================
   助成金ページ (subsidy.astro) 専用スタイル
   ========================================================= */
.subsidy-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.subsidy-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.25rem;
  gap: .75rem;
  flex-wrap: wrap;
}
.subsidy-card__header--navy { background: var(--navy); color: #fff; }
.subsidy-card__header--amber { background: #b45309; color: #fff; }
.subsidy-card__name { font-weight: 700; font-size: .95rem; }
.subsidy-card__amount { font-size: 1.2rem; font-weight: 800; white-space: nowrap; }
.subsidy-card__body { padding: 1rem 1.25rem; }

.subsidy-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.subsidy-table th {
  width: 8em;
  white-space: nowrap;
  text-align: left;
  padding: .6rem .75rem;
  background: var(--slate-100);
  color: var(--navy);
  border-right: 2px solid var(--navy);
  vertical-align: top;
  font-weight: 700;
}
.subsidy-table td { padding: .6rem .75rem; vertical-align: top; line-height: 1.7; }
.subsidy-table tr + tr th,
.subsidy-table tr + tr td { border-top: 1px solid var(--color-border); }

/* 必要書類チェックボックス */
.required-box {
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.required-box__title {
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
  display: flex;
  gap: .5rem;
  align-items: center;
  font-size: .95rem;
}
.required-list { list-style: none; padding: 0; margin: 0; }
.required-list li {
  padding: .75rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: .9rem;
  line-height: 1.7;
}
.required-list li:last-child { border-bottom: none; }
.required-cta-note {
  background: #fff7ed;
  color: #7c2d12; /* #7c2d12 on #fff7ed → 8.9:1 ✅ */
  font-size: .875rem;
}

/* 助成金CTA */
.subsidy-cta-block {
  background: linear-gradient(160deg, #0f2847 0%, #1a3a6b 100%);
  color: #f1f5f9;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}
.subsidy-cta-block h3 { color: #fff; font-size: 1.1rem; margin: 0 0 .6rem; line-height: 1.45; }
.subsidy-cta-block p { color: #cbd5e1; font-size: .9rem; margin: 0 0 1.25rem; }
.subsidy-cta-block__btn {
  display: block;
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  margin-bottom: .75rem;
}
.subsidy-cta-block__btn::after { content: ''; display: inline-block; width: .6em; height: .6em; border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg) translateY(-2px); margin-left: .5em; }

/* 申請フロー */
.apply-flow {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.apply-step {
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
.apply-step:last-child { border-bottom: none; }
.apply-step--cta { background: #fff7ed; border-left: 4px solid var(--color-cta); }
.apply-step--highlight { background: #eff6ff; border-left: 4px solid var(--navy); }
.apply-step__title { font-weight: 700; color: var(--navy); font-size: .9rem; margin-bottom: .3rem; }
.apply-step__desc { font-size: .875rem; color: var(--color-sub); line-height: 1.7; }

/* =========================================================
   劣化チェックリストページ (checklist.astro) 専用スタイル
   ========================================================= */
/* リスクマップ */
.risk-map {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.risk-map__header {
  background: var(--navy);
  color: #fff;
  padding: .75rem 1.25rem;
  font-weight: 700;
  font-size: .95rem;
}
.risk-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 0;
  align-items: start;
  border-bottom: 1px solid var(--color-border);
  padding: .75rem 1.25rem;
  gap: .75rem;
}
.risk-row:last-child { border-bottom: none; }
.risk-row__factor { font-weight: 700; font-size: .875rem; color: var(--navy); line-height: 1.5; }
.risk-row__desc { font-size: .8rem; color: var(--color-sub); line-height: 1.65; }
.risk-level-badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 4px;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  align-self: start;
}
.risk-high { background: #fee2e2; color: #991b1b; } /* 6.2:1 ✅ */
.risk-medium { background: #fef3c7; color: #78350f; } /* 7.2:1 ✅ */
@media (max-width: 560px) {
  .risk-row { grid-template-columns: 1fr auto; }
  .risk-row__desc { grid-column: 1 / -1; }
}

/* チェックセクション */
.check-section {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.check-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1.25rem;
  font-weight: 700;
  flex-wrap: wrap;
  gap: .5rem;
}
.check-section__header--red { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; } /* 6.2:1 ✅ */
.check-section__header--amber { background: #fef3c7; color: #78350f; border-left: 4px solid #f59e0b; } /* 7.2:1 ✅ */
.check-section__header--green { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; } /* 6.7:1 ✅ */
.check-section__title { font-size: .9rem; }
.check-section__action { font-size: .75rem; font-weight: 400; opacity: .85; white-space: nowrap; }
.check-section__body { background: #fff; }

/* チェック項目 */
.check-item {
  display: flex;
  gap: .9rem;
  padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--slate-100);
  cursor: pointer;
  align-items: flex-start;
  transition: background .15s;
}
.check-item:last-child { border-bottom: none; }
.check-item:hover { background: #f8fafc; }
.score-check {
  margin-top: .2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.check-item__text { flex: 1; }
.check-item__title { font-size: .9rem; font-weight: 700; color: var(--color-text); margin-bottom: .2rem; }
.check-item__desc { font-size: .78rem; color: var(--color-sub); line-height: 1.65; }

/* 結果パネル */
.result-panel {
  display: none;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  background: #eff6ff;
}
.result-panel.is-visible { display: block; }
.result-panel__label { font-size: .78rem; color: var(--color-sub); margin-bottom: .4rem; }
.result-panel__meter { display: flex; gap: 1.25rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.result-panel__score { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; font-family: var(--font-heading); }
.result-panel__judge { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.result-cta-btn {
  display: block;
  background: var(--color-cta);
  color: #fff;
  font-weight: 700;
  padding: .9rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
  margin-bottom: .75rem;
}

/* =========================================================
   guide記事ページ共通ユーティリティ（insurance/paint-guide等）
   ========================================================= */

/* 赤CTAボタン */
.btn-red {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s, transform .1s;
}
.btn-red:hover {
  background: #b71c1c;
  transform: translateY(-1px);
  color: #fff;
}

/* テーブル横スクロールラッパー（card内） */
.card-overflow {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: .5rem;
}

/* FAQ トグルボタン（Tailwind版ガイドページ） */
.faq-toggle {
  background: none;
  border: none;
  padding: .75rem 0;
  font-family: var(--font-body);
  cursor: pointer;
  color: var(--color-text);
  width: 100%;
  text-align: left;
}
.faq-toggle:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

/* 警告ボックス */
.warn-box {
  background: #fff5f5;
  border: 1.5px solid #feb2b2;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
