/* =============================================================
   BOARS（ボアーズ）｜鈴鹿市の中古車販売・買取
   サイト全体デザインシステム
   コンセプト: 「いい車を、正直な値段で。」
   明るいショールーム × 誠実なディープブルー × 効きのイエロー
   後続ページ（stock / kaitori / service / store / contact）は
   このCSSのコンポーネントだけで組めるよう設計してあります。
   ============================================================= */

/* ---------- フォント ---------- */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Archivo+Black&family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ---------- デザイントークン ---------- */
:root {
  /* 配色：明るいショールーム基調 */
  --bg:            #f4f6f9;   /* ページ背景：ごく薄いブルーグレー */
  --surface:       #ffffff;   /* カード・面 */
  --surface-2:     #eef1f6;   /* 薄い面・ストライプ */
  --ink:           #1a2230;   /* 本文チャコール */
  --ink-soft:      #54606f;   /* 副次テキスト */
  --line:          #dce1e9;   /* 罫線 */

  /* プライマリ：信頼・誠実のディープブルー */
  --primary:       #143a73;
  --primary-700:   #0f2c58;
  --primary-900:   #0a1f40;
  --primary-tint:  #e7eefb;

  /* アクセント：値札イエロー（1色だけ・効かせる） */
  --accent:        #ffc20e;
  --accent-700:    #e3a800;
  --accent-ink:    #2a2103;   /* イエロー上の文字 */

  /* 価格・強調の赤系（支払総額の差し色に控えめ使用） */
  --price:         #d8412f;

  /* レイアウト */
  --maxw:          1200px;
  --gut:           clamp(20px, 5vw, 56px);
  --radius:        14px;
  --radius-sm:     10px;
  --radius-lg:     22px;

  /* 影 */
  --shadow-sm:     0 2px 8px rgba(20,34,48,.06);
  --shadow:        0 14px 40px rgba(20,34,48,.10);
  --shadow-lg:     0 30px 70px rgba(10,31,64,.18);

  /* z-index */
  --z-header:      900;
  --z-nav:         1000;
  --z-modal:       1200;

  --ease:          cubic-bezier(.22,.61,.36,1);
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 900; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* 数字を美しく：価格・スペックで等幅数字に */
.tnum { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- 汎用レイアウト ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tint { background: var(--surface-2); }
.section--ink { background: var(--primary-900); color: #fff; }
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }

/* 英字ディスプレイ用 */
.display { font-family: 'Anton', 'Noto Sans JP', sans-serif; font-weight: 400; letter-spacing: .01em; line-height: .98; }
.display--blk { font-family: 'Archivo Black', 'Noto Sans JP', sans-serif; }

/* =============================================================
   ボタン
   ============================================================= */
.btn {
  --bp: 16px 30px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55em;
  padding: var(--bp);
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  font-size: .98rem;
  letter-spacing: .03em;
  line-height: 1;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 1.1em; height: 1.1em; display: inline-block; }

.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(20,58,115,.28); }
.btn--primary:hover { background: var(--primary-700); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(20,58,115,.34); }

.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px rgba(227,168,0,.34); }
.btn--accent:hover { background: var(--accent-700); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(227,168,0,.4); }

.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

/* 写真の上など明色背景用の白アウトライン（スクリム前提） */
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(2px); }
.btn--ghost:hover { background: #fff; color: var(--primary); border-color: #fff; transform: translateY(-2px); }

.btn--lg { --bp: 20px 40px; font-size: 1.06rem; }
.btn--sm { --bp: 11px 20px; font-size: .85rem; }
.btn--block { display: flex; width: 100%; }

/* =============================================================
   ヘッダー & インフォバー
   ============================================================= */
.infobar {
  background: var(--primary-900);
  color: #cfdcf2;
  font-size: .8rem;
  letter-spacing: .02em;
}
.infobar__in {
  display: flex; flex-wrap: wrap; gap: 8px 24px;
  align-items: center; justify-content: center;
  padding-block: 8px; text-align: center;
}
.infobar__item { display: inline-flex; align-items: center; gap: 7px; }
.infobar__item svg { width: 15px; height: 15px; color: var(--accent); flex: none; }
.infobar strong { color: #fff; font-weight: 700; }

.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s, padding .25s, background .25s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,.97); }
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding-block: 16px;
  transition: padding .25s var(--ease);
}
.header.is-scrolled .header__in { padding-block: 10px; }

/* ロゴ */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--primary); color: var(--accent);
  border-radius: 11px;
  font-family: 'Anton', sans-serif; font-size: 1.5rem; line-height: 1;
  transition: width .25s, height .25s;
}
.header.is-scrolled .logo__mark { width: 38px; height: 38px; font-size: 1.3rem; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: 'Anton', sans-serif; font-size: 1.6rem; letter-spacing: .06em; color: var(--primary); }
.logo__sub { font-size: .64rem; color: var(--ink-soft); letter-spacing: .14em; font-weight: 700; margin-top: 2px; }

/* ナビ */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-block; padding: 10px 15px;
  font-size: .92rem; font-weight: 700; color: var(--ink);
  border-radius: 9px; position: relative; transition: color .2s, background .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--primary); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--primary); }
.nav__cta { margin-left: 10px; }

/* ハンバーガー */
.burger {
  display: none; width: 48px; height: 48px; border: 0; background: transparent;
  position: relative; border-radius: 10px; z-index: calc(var(--z-nav) + 1);
}
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 11px; width: 26px; height: 2.5px; border-radius: 2px;
  background: var(--ink); transition: transform .3s var(--ease), top .3s, opacity .2s, background .2s;
}
.burger span { top: 23px; }
.burger span::before { top: -8px; } .burger span::after { top: 8px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { top: 0; transform: rotate(45deg); background: #fff; }
body.nav-open .burger span::after { top: 0; transform: rotate(-45deg); background: #fff; }

/* スマホメニュー（標準実装：fixed inset:0・不透明・最前面・スクロールロック） */
.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-nav);
  background: var(--primary-900);
  display: flex; flex-direction: column; justify-content: center;
  padding: 88px var(--gut) 48px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y: auto;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__list { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav__link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 16px 4px; color: #fff; font-size: 1.5rem; font-weight: 900;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-nav__link .en { font-family: 'Anton', sans-serif; font-size: .8rem; color: var(--accent); letter-spacing: .12em; min-width: 76px; }
.mobile-nav__foot { margin-top: 28px; color: #aebfdc; font-size: .82rem; line-height: 1.9; }
.mobile-nav__foot a { color: #fff; font-weight: 700; }

/* =============================================================
   ヒーロー（トップ）
   ============================================================= */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(10,31,64,.92) 0%, rgba(10,31,64,.7) 42%, rgba(10,31,64,.28) 75%, rgba(10,31,64,.12) 100%),
    linear-gradient(0deg, rgba(10,31,64,.55), rgba(10,31,64,0) 40%);
}
.hero__in { padding-block: clamp(72px, 13vw, 150px); max-width: 760px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Anton', sans-serif; letter-spacing: .18em; font-size: .82rem;
  color: var(--accent); margin-bottom: 22px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero__title {
  font-size: clamp(2.5rem, 7.2vw, 5rem);
  line-height: 1.06; font-weight: 900; letter-spacing: .005em;
  text-shadow: 0 2px 30px rgba(0,0,0,.3);
}
.hero__title .accent { color: var(--accent); }
.hero__lead { margin-top: 24px; font-size: clamp(1rem, 1.6vw, 1.18rem); max-width: 560px; color: #e6edf8; line-height: 1.95; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__strip {
  margin-top: 46px; display: flex; flex-wrap: wrap; gap: 10px 30px;
  font-size: .9rem; color: #d6e0f2; font-weight: 700;
}
.hero__strip span { display: inline-flex; align-items: center; gap: 8px; }
.hero__strip svg { width: 18px; height: 18px; color: var(--accent); }

/* =============================================================
   セクション見出し（英字eyebrow + 日本語見出し + リード）
   ============================================================= */
.head { max-width: 720px; }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Anton', sans-serif; letter-spacing: .2em; font-size: .82rem;
  color: var(--primary); text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--accent); }
.head--center .eyebrow::before { display: none; }
.head--center .eyebrow { color: var(--accent-700); }
.head__title {
  margin-top: 16px;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  line-height: 1.28; font-weight: 900; color: var(--ink);
}
.section--ink .head__title { color: #fff; }
.section--ink .eyebrow { color: var(--accent); }
.head__lead { margin-top: 18px; font-size: 1.02rem; color: var(--ink-soft); line-height: 1.95; }
.section--ink .head__lead { color: #c4d2ea; }

/* =============================================================
   USPバー / 特徴カード4つ
   ============================================================= */
.usp {
  position: relative; z-index: 2;
  margin-top: clamp(-60px, -5vw, -48px);
}
.usp__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.usp__cell {
  padding: 30px 26px; display: flex; flex-direction: column; gap: 12px;
  border-right: 1px solid var(--line);
}
.usp__cell:last-child { border-right: 0; }
.usp__icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--primary-tint); color: var(--primary);
  display: grid; place-items: center;
}
.usp__icon svg { width: 26px; height: 26px; }
.usp__t { font-size: 1.06rem; font-weight: 900; color: var(--ink); line-height: 1.4; }
.usp__d { font-size: .88rem; color: var(--ink-soft); line-height: 1.7; }

/* =============================================================
   split（写真 + テキスト）
   ============================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__badge {
  position: absolute; left: 22px; bottom: 22px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 900; font-size: .82rem; letter-spacing: .04em;
  padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.split__body p { color: var(--ink-soft); font-size: 1.02rem; }
.split__body .head__title { margin-top: 14px; }

/* =============================================================
   チェックリスト
   ============================================================= */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); }
.checks li svg { flex: none; width: 22px; height: 22px; color: var(--primary); margin-top: 4px; }
.checks--accent li svg { color: var(--accent-700); }

/* =============================================================
   汎用カード
   ============================================================= */
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  padding: 30px 26px; transition: transform .25s var(--ease), box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__t { font-size: 1.15rem; font-weight: 900; }
.card__d { margin-top: 10px; color: var(--ink-soft); font-size: .94rem; }

/* =============================================================
   在庫車両カード（.car-card）— 中古車情報サイト風
   ============================================================= */
.car-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.car-card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.car-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.car-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.car-card:hover .car-card__media img { transform: scale(1.05); }
.car-card__tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(10,31,64,.85); color: #fff; backdrop-filter: blur(3px);
  font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  padding: 6px 11px; border-radius: 7px;
}
.car-card__sample {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: var(--accent-ink);
  font-size: .68rem; font-weight: 900; letter-spacing: .04em;
  padding: 6px 10px; border-radius: 7px;
}
.car-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.car-card__maker { font-size: .78rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .04em; }
.car-card__name { font-size: 1.18rem; font-weight: 900; line-height: 1.3; margin-top: 2px; }

/* スペック行：ラベル+値が整然と並ぶ */
.car-spec {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-top: 16px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden;
}
.car-spec__item { background: var(--surface); padding: 9px 12px; }
.car-spec__label { font-size: .68rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .03em; }
.car-spec__val { font-size: .95rem; font-weight: 900; color: var(--ink); line-height: 1.3; }
.car-spec__val small { font-size: .72rem; font-weight: 700; color: var(--ink-soft); }

.car-card__price {
  margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
}
.car-card__price-label { font-size: .74rem; color: var(--ink-soft); font-weight: 700; }
.car-card__price-num { font-family: 'Anton', sans-serif; line-height: .9; color: var(--price); }
.car-card__price-num .yen { font-size: 1rem; font-family: 'Noto Sans JP'; font-weight: 900; }
.car-card__price-num .big { font-size: 2.2rem; letter-spacing: .01em; }
.car-card__price-num .unit { font-size: 1rem; font-family: 'Noto Sans JP'; font-weight: 900; }
.car-card__foot { margin-top: 16px; }

/* =============================================================
   steps（番号付き3ステップ）
   ============================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  position: relative; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 26px 30px; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -22px; left: 26px;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary); color: #fff;
  font-family: 'Anton', sans-serif; font-size: 1.5rem;
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(20,58,115,.3);
}
.step__t { margin-top: 14px; font-size: 1.18rem; font-weight: 900; }
.step__d { margin-top: 10px; color: var(--ink-soft); font-size: .94rem; }
.section--ink .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section--ink .step__t { color: #fff; }
.section--ink .step__d { color: #c4d2ea; }
.section--ink .step::before { background: var(--accent); color: var(--accent-ink); }

/* steps を結ぶ矢印（PCのみ） */
.steps { position: relative; }

/* =============================================================
   テーブル（料金・スペック）
   ============================================================= */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.tbl { width: 100%; border-collapse: collapse; background: var(--surface); min-width: 480px; }
table.tbl th, table.tbl td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
table.tbl thead th { background: var(--primary); color: #fff; font-weight: 700; letter-spacing: .03em; }
table.tbl tbody th { background: var(--surface-2); font-weight: 700; width: 36%; color: var(--ink); }
table.tbl tbody tr:last-child td, table.tbl tbody tr:last-child th { border-bottom: 0; }
table.tbl .price { font-family: 'Anton', sans-serif; color: var(--price); font-size: 1.2rem; }

/* =============================================================
   CTA帯（電話プレースホルダ + お問い合わせ）
   ============================================================= */
.cta-band { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,194,14,.22), transparent 65%); pointer-events: none;
}
.cta-band__in {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 30px; padding-block: clamp(44px, 6vw, 72px); position: relative; z-index: 1;
}
.cta-band__title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; line-height: 1.3; }
.cta-band__title .accent { color: var(--accent); }
.cta-band__lead { margin-top: 10px; color: #c8d6ef; font-size: 1rem; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-tel { display: flex; flex-direction: column; gap: 2px; }
.cta-tel__num {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Anton', sans-serif; font-size: clamp(2rem, 5vw, 2.8rem); color: #fff; line-height: 1;
}
.cta-tel__num svg { width: .8em; height: .8em; color: var(--accent); }
.cta-tel__note { font-size: .74rem; color: #9fb4d8; letter-spacing: .02em; }

/* =============================================================
   ページヒーロー（サブページ用 .page-hero）
   ============================================================= */
.page-hero { position: relative; color: #fff; isolation: isolate; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(10,31,64,.9) 0%, rgba(10,31,64,.66) 55%, rgba(10,31,64,.42) 100%);
}
.page-hero__in { padding-block: clamp(60px, 10vw, 120px); }
.page-hero__en { font-family: 'Anton', sans-serif; font-size: clamp(2.6rem, 7vw, 4.6rem); letter-spacing: .04em; line-height: 1; color: rgba(255,255,255,.96); }
.page-hero__jp { margin-top: 10px; font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 900; color: var(--accent); }
.page-hero__lead { margin-top: 16px; max-width: 600px; color: #e2eaf7; font-size: 1rem; line-height: 1.9; }

/* パンくず */
.crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .8rem; color: #bccbe6; margin-bottom: 22px; }
.crumb a:hover { color: #fff; }
.crumb svg { width: 13px; height: 13px; opacity: .7; }
.crumb [aria-current] { color: #fff; font-weight: 700; }

/* =============================================================
   フッター
   ============================================================= */
.footer { background: var(--primary-900); color: #c4d2ea; padding-top: clamp(56px, 8vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__mark { background: var(--accent); color: var(--primary-900); }
.footer__brand .logo__sub { color: #9fb4d8; }
.footer__desc { margin-top: 18px; font-size: .9rem; line-height: 1.9; color: #aebfdc; max-width: 360px; }
.footer__h { color: #fff; font-size: .82rem; font-weight: 900; letter-spacing: .12em; margin-bottom: 16px; }
.footer__list { display: grid; gap: 11px; font-size: .92rem; }
.footer__list a:hover { color: var(--accent); }
.footer__info { display: grid; gap: 10px; font-size: .9rem; line-height: 1.7; }
.footer__info dt { color: #8ea4c9; font-size: .74rem; font-weight: 700; letter-spacing: .05em; }
.footer__info dd { margin: 0 0 4px; color: #e3eaf6; }
.footer__tel { font-family: 'Anton', sans-serif; font-size: 1.5rem; color: #fff; letter-spacing: .02em; }
.footer__telnote { font-size: .72rem; color: #8ea4c9; }
.footer__bottom {
  margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 22px; display: flex; flex-wrap: wrap; gap: 8px 20px;
  align-items: center; justify-content: space-between; font-size: .78rem; color: #8ea4c9;
}
.footer__demo {
  display: inline-block; background: rgba(255,194,14,.14); color: #ffe08a;
  border: 1px solid rgba(255,194,14,.3); border-radius: 7px;
  padding: 5px 12px; font-size: .74rem; font-weight: 700;
}

/* =============================================================
   デモモーダル（送信不可・詳細なし）
   ============================================================= */
.modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  display: grid; place-items: center; padding: 24px;
  background: rgba(10,31,64,.6); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__card {
  background: var(--surface); border-radius: var(--radius-lg);
  max-width: 440px; width: 100%; padding: 38px 34px; text-align: center;
  box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.97);
  transition: transform .3s var(--ease);
}
.modal.is-open .modal__card { transform: none; }
.modal__icon {
  width: 64px; height: 64px; border-radius: 18px; margin: 0 auto 18px;
  background: var(--primary-tint); color: var(--primary);
  display: grid; place-items: center;
}
.modal__icon svg { width: 32px; height: 32px; }
.modal__title { font-size: 1.3rem; font-weight: 900; }
.modal__text { margin-top: 12px; color: var(--ink-soft); font-size: .95rem; line-height: 1.8; }
.modal__close { margin-top: 26px; }

/* =============================================================
   フォーム
   ============================================================= */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field__label .req { color: var(--price); font-size: .78rem; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint);
}
.field textarea { min-height: 130px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* =============================================================
   スクロールリビール
   ============================================================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* =============================================================
   レスポンシブ
   ============================================================= */
@media (max-width: 1024px) {
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__cell:nth-child(2) { border-right: 0; }
  .usp__cell:nth-child(1), .usp__cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 880px) {
  .nav__list, .nav__cta { display: none; }
  .burger { display: block; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--rev .split__media { order: 0; }
  .split__media img { max-height: 360px; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .cta-band__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .usp { margin-top: -36px; }
  .usp__grid { grid-template-columns: 1fr; }
  .usp__cell { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .usp__cell:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn, .hero__cta { width: 100%; }
  .hero__cta .btn { width: 100%; }
  .car-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
