/* ============================================================
   CROSS CRAFT GARAGE — style
   ============================================================ */

/* ---------- デザイントークン ---------- */
:root {
  --bg:      #0b0c0f;   /* アスファルト・ブラック */
  --bg-2:    #121419;   /* サーフェス */
  --bg-3:    #191c23;   /* 一段上げた面 */
  --line:    rgba(255,255,255,.09);
  --line-2:  rgba(255,255,255,.16);
  --ink:     #f3f1ec;   /* オフホワイト */
  --muted:   #9aa1ad;   /* 補助テキスト */
  --brand:   #ff5a1e;   /* モルテンオレンジ（アクセント/CTA） */
  --brand-d: #e8480f;
  --steel:   #c4ccd6;   /* メタリック */
  --mil:     #8a9b5f;   /* ミリタリーグリーン（オフロード） */
  --radius:  14px;
  --maxw:    1180px;
  --ease:    cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-lock { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 700; }

.en {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ---------- レイアウト ---------- */
.wrap { width: min(92%, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(66px, 10vw, 130px) 0; border-top: 1px solid var(--line); }
.section--tint { background: var(--bg-2); }
.hero + .section { border-top: none; }

/* SP/PC 表示ユーティリティ */
.sp-only { display: none !important; }
@media (max-width: 720px) {
  .sp-only { display: inline !important; }
  .sp-hide { display: none !important; }
  .sp-left { text-align: left !important; }
}

/* ---------- セクション見出し（英字ディスプレイを主役に） ---------- */
.head { margin-bottom: clamp(36px, 5vw, 60px); }
.head--center { text-align: center; }
.title { margin: 0; }
.title .en-big {
  display: block;
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(2.7rem, 6.2vw, 4.6rem);
  line-height: .92; letter-spacing: .01em; text-transform: uppercase;
  color: var(--ink);
}
.title .en-big::before {
  content: ""; display: block; width: 48px; height: 4px;
  background: var(--brand); border-radius: 2px; margin-bottom: 22px;
}
.head--center .title .en-big::before { margin-inline: auto; }
.jp-sub {
  font-size: clamp(1.15rem, 2.6vw, 1.5rem); font-weight: 700;
  color: var(--ink); margin: .6em 0 0; letter-spacing: .05em;
}
.jp-sub .accent, .title .accent { color: var(--brand); }
.lead { color: var(--muted); margin-top: 1.1em; max-width: 62ch; }
.head--center .lead { margin-inline: auto; }

/* ---------- ボタン ---------- */
.btn {
  --pad: 15px 30px;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6em; padding: var(--pad);
  font-family: "Oswald", sans-serif; font-weight: 600;
  letter-spacing: .06em; font-size: .98rem;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .25s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 10px 30px -10px var(--brand);
}
.btn--primary:hover { background: var(--brand-d); transform: translateY(-2px); }
.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--lg { --pad: 18px 40px; font-size: 1.06rem; }

/* ============================================================
   ヘッダー
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 68px; display: flex; align-items: center;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(11,12,15,.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-inner {
  width: min(94%, 1280px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border: 2px solid var(--brand); border-radius: 8px;
  font-family: "Oswald", sans-serif; font-weight: 700;
  color: var(--brand); font-size: 1.15rem;
  transform: skewX(-6deg);
}
.brand-mark span { transform: skewX(6deg); }
.brand-name { font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: .12em; font-size: 1.02rem; }
.brand-name small { display: block; font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 400; font-size: .58rem; letter-spacing: .32em; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-size: .9rem; padding: 8px 13px; color: var(--ink);
  position: relative; transition: color .2s;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 1.5px; background: var(--brand); transform: scaleX(0);
  transform-origin: left; transition: transform .25s var(--ease);
}
.site-nav a:not(.nav-cta):hover { color: var(--brand); }
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  margin-left: 8px; background: var(--brand); color: #fff !important;
  border-radius: 999px; padding: 9px 20px !important;
  font-family: "Oswald", sans-serif; letter-spacing: .05em;
  transition: background .2s;
}
.nav-cta:hover { background: var(--brand-d); }

.nav-toggle {
  display: none; width: 44px; height: 44px; position: relative;
  background: transparent; border: 1px solid var(--line-2); border-radius: 10px;
  cursor: pointer; z-index: 110;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   ヒーロー
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: 68px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11,12,15,.55) 0%, rgba(11,12,15,.35) 42%, rgba(11,12,15,.92) 100%),
    linear-gradient(90deg, rgba(11,12,15,.85) 0%, rgba(11,12,15,0) 55%),
    url("../assets/img/hero-offroad.jpg") center 35% / cover no-repeat,
    #0b0c0f;
}
.hero-bg::after { /* うっすらグリッドのメカニカルな質感 */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}
/* 背景の英字ウォーターマーク（おしゃれ演出） */
.hero-watermark {
  position: absolute; right: -1.5%; top: 20%; z-index: 0;
  font-family: "Oswald", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(4rem, 15vw, 15rem); line-height: .82; text-align: right;
  letter-spacing: .01em; white-space: nowrap; pointer-events: none;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.10);
}
.hero-inner {
  position: relative; z-index: 1;
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 52px 0;
}
.hero-tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 10px;
  font-family: "Oswald", sans-serif; letter-spacing: .1em; font-size: .8rem;
  color: var(--steel);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 18px;
  background: rgba(0,0,0,.32); backdrop-filter: blur(4px);
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); }
.hero h1 {
  font-size: clamp(2.6rem, 8vw, 5.7rem);
  line-height: 1.04; letter-spacing: .005em; margin: 24px 0 0;
  text-shadow: 0 6px 40px rgba(0,0,0,.5);
}
.hero h1 .out {
  -webkit-text-stroke: 1.6px var(--brand); color: transparent;
  font-family: inherit;
}
.hero h1 .em { color: var(--brand); }
.hero-sub {
  margin: 26px 0 0; font-size: clamp(1rem, 2.3vw, 1.24rem);
  color: #e7e4dd; max-width: 40em; line-height: 1.95;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* ヒーロー下部：サービスキーワードが流れる帯（数値バーの代わり） */
.hero-marquee {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11,12,15,0), rgba(11,12,15,.55));
  overflow: hidden; padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: inline-flex; align-items: center;
  white-space: nowrap; animation: marquee 30s linear infinite; will-change: transform;
}
.marquee-track span {
  font-family: "Oswald", sans-serif; font-weight: 500; text-transform: uppercase;
  letter-spacing: .14em; font-size: clamp(.92rem, 1.6vw, 1.12rem); color: var(--steel);
  padding: 0 30px; position: relative;
}
.marquee-track span::after {
  content: ""; position: absolute; right: -5px; top: 50%; transform: translateY(-50%);
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   強み / 選ばれる理由
   ============================================================ */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reason {
  position: relative; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 34px 34px;
}
.reason-no {
  display: block; font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: 3.7rem; line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--brand);
  margin-bottom: 22px;
}
.reason h3 { display: flex; align-items: center; gap: 12px; font-size: 1.34rem; margin-bottom: 12px; letter-spacing: .02em; }
.reason h3::before { content: ""; flex: none; width: 22px; height: 2px; background: var(--brand); }
.reason p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ============================================================
   サービス
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 300px; display: flex; align-items: flex-end;
  border: 1px solid var(--line);
  isolation: isolate;
}
.service--wide { grid-column: span 2; min-height: 260px; }
.service img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.service::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(11,12,15,.15) 0%, rgba(11,12,15,.55) 45%, rgba(11,12,15,.94) 100%);
}
.service:hover img { transform: scale(1.06); }
.service-body { padding: 28px; width: 100%; }
.service-no { font-family: "Oswald", sans-serif; color: var(--brand); letter-spacing: .2em; font-size: .8rem; }
.service h3 { font-size: 1.42rem; margin: 8px 0 8px; }
.service p { color: #d7d4cd; font-size: .93rem; margin: 0 0 4px; max-width: 46ch; }
.service .more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
  font-family: "Oswald", sans-serif; font-size: .82rem; letter-spacing: .1em; color: var(--brand);
}
.service .more svg { width: 15px; height: 15px; transition: transform .2s; }
.service:hover .more svg { transform: translateX(4px); }

/* ============================================================
   作業事例ギャラリー
   ============================================================ */
.works-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.filter {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 34px;
}
.filter-tab {
  font-family: "Oswald", sans-serif; letter-spacing: .06em; font-size: .86rem;
  color: var(--muted); background: transparent;
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 18px; cursor: pointer; transition: all .2s;
}
.filter-tab:hover { color: var(--ink); border-color: var(--ink); }
.filter-tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.works-count { color: var(--muted); font-size: .88rem; }
.works-count b { color: var(--brand); font-family: "Oswald", sans-serif; font-size: 1.1rem; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card {
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.work-card:hover {
  transform: translateY(-6px); border-color: var(--line-2);
  box-shadow: 0 24px 50px -30px #000;
}
.work-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.07); }
.work-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: "Oswald", sans-serif; font-size: .68rem; letter-spacing: .1em;
  background: rgba(11,12,15,.72); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px;
  backdrop-filter: blur(4px);
}
.work-body { padding: 20px 20px 22px; }
.work-car { color: var(--brand); font-size: .78rem; letter-spacing: .08em; margin: 0 0 6px; font-family: "Oswald", sans-serif; }
.work-title { font-size: 1.06rem; line-height: 1.5; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px; }
.work-tags li { font-size: .76rem; color: var(--muted); }

/* ============================================================
   料金表
   ============================================================ */
.price-table {
  width: 100%; border-collapse: collapse;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.price-table th, .price-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th {
  background: var(--bg-3); font-family: "Oswald", sans-serif; letter-spacing: .08em;
  font-weight: 600; font-size: .88rem; color: var(--steel);
}
.price-table tbody tr { background: var(--bg-2); transition: background .2s; }
.price-table tbody tr:hover { background: var(--bg-3); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table .menu { font-weight: 700; }
.price-table .desc { color: var(--muted); font-size: .86rem; }
.price-table .yen { font-family: "Oswald", sans-serif; font-size: 1.15rem; white-space: nowrap; }
.price-table .yen small { color: var(--muted); font-size: .7rem; }
.price-note { color: var(--muted); font-size: .82rem; margin-top: 16px; }

/* ============================================================
   ご依頼の流れ
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow::before {
  content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--brand), rgba(255,90,30,.2)); z-index: 0;
}
.flow-step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.flow-num {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--bg-3); border: 2px solid var(--brand);
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: 1.5rem; color: var(--brand);
  box-shadow: 0 0 0 7px var(--bg);
  transition: background .3s, color .3s;
}
.flow-step:hover .flow-num { background: var(--brand); color: #fff; }
.flow-step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.flow-step p { color: var(--muted); font-size: .92rem; margin: 0 auto; max-width: 24ch; }

/* ============================================================
   デモカー / フィーチャービルド
   ============================================================ */
.build { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.build-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.build-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.build-media .plate {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(11,12,15,.78); backdrop-filter: blur(6px);
  border: 1px solid var(--line-2); border-radius: 8px;
  padding: 8px 14px; font-family: "Oswald", sans-serif; letter-spacing: .12em; font-size: .78rem;
}
.build-media .plate b { color: var(--brand); }
.spec-list { margin-top: 24px; border-top: 1px solid var(--line); }
.spec-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.spec-list .k { color: var(--muted); font-family: "Oswald", sans-serif; letter-spacing: .06em; font-size: .84rem; }
.spec-list .v { text-align: right; }

/* ============================================================
   会社案内
   ============================================================ */
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 15px 4px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
.info-table th { width: 34%; color: var(--muted); font-weight: 600; font-family: "Oswald", sans-serif; letter-spacing: .05em; font-size: .82rem; white-space: nowrap; }
.map-card {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-3); min-height: 100%;
}
.map-frame { position: relative; aspect-ratio: 16/11; }
.map-embed {
  position: absolute; inset: 0; z-index: 1;
  display: block; width: 100%; height: 100%; border: 0;
  filter: grayscale(.25) contrast(1.05);
}
/* 埋め込みが読めない環境向けのフォールバック表示 */
.map-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center; gap: 10px;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,90,30,.12), transparent 40%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 46px),
    var(--bg-2);
  font-family: "Oswald", sans-serif; letter-spacing: .1em; color: var(--muted); font-size: .8rem;
}
.map-fallback svg { width: 34px; height: 34px; color: var(--brand); filter: drop-shadow(0 6px 14px rgba(255,90,30,.5)); }
.map-cap { padding: 16px 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }

/* ============================================================
   お問い合わせ / CTA
   ============================================================ */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,12,15,.86), rgba(11,12,15,.96)),
    url("../assets/img/jimny-angle.jpg") center / cover fixed no-repeat;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.contact-lead .title { margin-bottom: 20px; }
.contact-lines { margin-top: 30px; display: grid; gap: 14px; }
.contact-line {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 20px;
}
.contact-line .ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 10px; background: rgba(255,90,30,.12); color: var(--brand); }
.contact-line .ic svg { width: 20px; height: 20px; }
.contact-line .k { font-size: .74rem; color: var(--muted); letter-spacing: .1em; font-family: "Oswald", sans-serif; }
.contact-line .v { font-family: "Oswald", sans-serif; font-size: 1.24rem; letter-spacing: .04em; }
.contact-line .v small { font-family: "Zen Kaku Gothic New", sans-serif; font-size: .74rem; color: var(--muted); display: block; letter-spacing: normal; }

.form {
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 38px);
}
.form h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form .form-hint { color: var(--muted); font-size: .86rem; margin: 0 0 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .82rem; color: var(--steel); margin-bottom: 7px; letter-spacing: .04em; }
.field label .req { color: var(--brand); margin-left: 4px; font-size: .74rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 10px;
  padding: 13px 15px; font-family: inherit; font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,90,30,.15);
}
.field select { appearance: none; 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 d='M1 1l5 5 5-5' stroke='%239aa1ad' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.form-done {
  margin-top: 14px; padding: 13px 16px; border-radius: 10px;
  background: rgba(138,155,95,.15); border: 1px solid var(--mil); color: #dfe7c9; font-size: .9rem;
}
.form-legal { color: var(--muted); font-size: .74rem; margin-top: 14px; }

/* ============================================================
   フッター
   ============================================================ */
.site-footer { background: #08090b; border-top: 1px solid var(--line); padding: 64px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 40ch; }
.footer-col h4 { font-family: "Oswald", sans-serif; letter-spacing: .1em; font-size: .82rem; color: var(--steel); margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--muted); font-size: .78rem;
}
.footer-bottom .en { color: var(--muted); }
.disclaimer { color: #6b7079; font-size: .74rem; margin-top: 10px; line-height: 1.7; }

/* ============================================================
   追従CTA（モバイル）
   ============================================================ */
.cta-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1fr;
  transform: translateY(110%); transition: transform .35s var(--ease);
  border-top: 1px solid var(--line);
}
.cta-dock.show { transform: translateY(0); }
.cta-dock a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 8px; font-family: "Oswald", sans-serif; letter-spacing: .05em; font-size: .96rem;
}
.cta-dock svg { width: 18px; height: 18px; }
.cta-dock .call { background: var(--bg-3); color: var(--ink); }
.cta-dock .quote { background: var(--brand); color: #fff; }

/* ============================================================
   スクロール出現アニメ
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 980px) {
  .reasons { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .build, .company, .contact-grid { grid-template-columns: 1fr; gap: 30px; }

  /* ご依頼の流れ：横タイムライン → 縦タイムライン */
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 620px; }
  .flow::before { display: none; }
  .flow-step {
    display: grid; grid-template-columns: 68px 1fr; gap: 22px; align-items: start;
    text-align: left; padding-bottom: 34px;
  }
  .flow-step:not(:last-child)::after {
    content: ""; position: absolute; left: 33px; top: 76px; bottom: 4px;
    width: 2px; background: var(--line-2); z-index: 0;
  }
  .flow-num { margin: 0; }
  .flow-body { padding-top: 15px; }
  .flow-step p { max-width: none; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed; inset: 0; z-index: 105;
    flex-direction: column; justify-content: center; gap: 6px;
    background: rgba(9,10,13,.97);
    /* backdrop-filter は使わない：中腹スクロール時に描画が抜ける不具合対策 */
    transform: translateX(100%); transition: transform .35s var(--ease);
  }
  .site-nav.is-open { transform: none; }
  /* backdrop-filter は fixed 子要素の含有ブロックを作ってしまい、
     オーバーレイ型ナビが 68px のヘッダー内に閉じ込められる不具合を防ぐ */
  .site-header.is-solid { backdrop-filter: none; background: rgba(11,12,15,.96); }
  .site-nav a { font-size: 1.15rem; padding: 14px 20px; }
  .site-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 12px 0 0; padding: 14px 30px !important; }
  .nav-toggle { display: block; }

  .services { grid-template-columns: 1fr; }
  .service--wide { grid-column: auto; }
  .works-grid { grid-template-columns: 1fr; }

  /* 見出し：中央→左寄せ（中央長文の行頭ガタつき防止） */
  .head--center { text-align: left; }
  .head--center .title .en-big::before { margin-inline: 0; }
  .head--center .lead { margin-inline: 0; }

  /* ヒーロー（スマホ最適化） */
  .hero h1 { font-size: 2.3rem; line-height: 1.2; letter-spacing: 0; }
  .hero-watermark { font-size: 4.2rem; top: 15%; right: -3%; }
  .hero-tag { font-size: .72rem; letter-spacing: .06em; padding: 6px 14px; line-height: 1.5; }
  .hero-sub { font-size: 1rem; margin-top: 20px; }
  .hero-cta { flex-direction: column; gap: 12px; margin-top: 30px; }
  .hero-cta .btn { width: 100%; --pad: 15px 22px; font-size: 1rem; }
  .marquee-track span { padding: 0 20px; }

  /* サービスカード（見出し・本文がはみ出さないよう調整） */
  .service { min-height: 236px; }
  .service-body { padding: 22px 20px; }
  .service h3 { font-size: 1.24rem; }
  .service p { font-size: .9rem; }

  /* 作業事例のタグは左寄せ */
  .works-top { flex-direction: column; align-items: flex-start; }

  /* デモカーのスペックは1列で読みやすく */
  .spec-list li { flex-direction: column; gap: 4px; }
  .spec-list .v { text-align: left; }

  /* 会社案内：地図を表の上に */
  .company { display: flex; flex-direction: column; }
  .company .map-card { order: -1; }

  /* 問い合わせ：中央揃え */
  .contact-lead { text-align: center; }
  .contact-lead .title .en-big::before { margin-inline: auto; }
  .contact-lead .lead { margin-inline: auto; }
  .contact-lines { max-width: 420px; margin-inline: auto; }
  .contact-line { text-align: left; }
  .form h3, .form .form-hint { text-align: center; }

  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .cta-dock { display: grid; }
  body { padding-bottom: 54px; }

  /* 料金表：左右余白を揃えたカード型に */
  .price-table { display: block; border: none; border-radius: 0; }
  .price-table thead { display: none; }
  .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
  .price-table tr {
    background: var(--bg-3) !important; border: 1px solid var(--line);
    border-radius: 12px; padding: 16px 18px; margin-bottom: 12px;
  }
  .price-table tr:last-child { margin-bottom: 0; }
  .price-table td { border: none; padding: 2px 0; }
  .price-table td.menu { font-size: 1.05rem; }
  .price-table td.desc { font-size: .84rem; }
  .price-table td.yen { color: var(--brand); font-size: 1.35rem; margin-top: 8px; }

  .contact::before { background-attachment: scroll; }
}
