/* ============================================================
   site.css — 新東京貿易
   中古車情報サイト（グーネット）の設計をそのまま踏襲：
   ・赤いグローバルナビ帯 ＋ 2段ヘッダー
   ・キーワード検索＋条件セレクト＋大きな検索ボタン
   ・タブ切替（メーカーから探す／種類から探す）
   ・情報密度の高いレイアウト（小さめ文字・詰めた余白）
   ・赤いスラッシュの見出し ／ 青い下線リンク ／ 価格は赤字
   デザインシステム本体（styles.css）は改変せず、この層で上書きする。
   ============================================================ */

:root {
  /* 書体 — グーネットと同じ Roboto ＋ 和文ゴシック */
  --font-ui: 'Roboto', 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Hiragino Kaku Gothic ProN',
             'Meiryo', 'MS PGothic', Osaka, sans-serif;
  --font-num: 'Roboto', Arial, sans-serif;

  /* 面と罫 */
  --bg:        #ffffff;
  --band:      #f5f5f5;
  --band-2:    #eeeeee;
  --line:      #cccccc;
  --line-soft: #e0e0e0;

  /* 文字 */
  --ink:       #222222;
  --ink-2:     #4a4a4a;
  --ink-3:     #666666;

  /* コーポレートカラー — アフガニスタン国旗の黒・赤・緑
     （3色とも原色のまま WCAG AA を満たす） */
  --afg-black: #000000;
  --afg-red:   #d32011;
  --afg-green: #007a36;

  --red-nav:   var(--afg-black);
  --red:       var(--afg-red);
  --red-dark:  #a3170c;
  --red-num:   var(--afg-red);
  --red-tint:  #fdf3f2;

  --link:      #0a5c8a;
  --link-hover: var(--afg-red);

  --navy:      var(--afg-black);

  --radius:    3px;
  --shadow:    0 1px 3px rgba(0,0,0,.12);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover); }
img { display: block; max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 12px; }
.text-dim { color: var(--ink-2); }
.text-faint { color: var(--ink-3); }
.note-accent { color: var(--red-num); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--red-nav); color: #fff; padding: 10px 16px;
  font-size: 13px; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── 最上部：国旗の三色ストライプ ──────────── */
.flagbar { display: flex; height: 4px; }
.flagbar span { flex: 1; }
.flagbar span:nth-child(1) { background: var(--afg-black); }
.flagbar span:nth-child(2) { background: var(--afg-red); }
.flagbar span:nth-child(3) { background: var(--afg-green); }

/* ── ヘッダー ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100; background: #fff;
  border-bottom: 2px solid var(--afg-black); box-shadow: var(--shadow);
}
.site-nav {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  max-width: 1180px; margin: 0 auto; padding: 9px 12px;
  background: #fff; border: 0; min-height: 0;
}
a.nav-brand {
  display: flex; flex-direction: column; gap: 1px;
  margin-right: auto; text-decoration: none; color: var(--ink);
  font-family: var(--font-ui); font-weight: 700; font-size: 18px;
  line-height: 1.2; letter-spacing: 0; white-space: nowrap;
  border-left: 5px solid transparent; padding-left: 9px;
  border-image: linear-gradient(to bottom,
      var(--afg-black) 0 33.33%, var(--afg-red) 33.33% 66.66%,
      var(--afg-green) 66.66% 100%) 1;
}
a.nav-brand .brand-en {
  font-family: var(--font-num); font-size: 9px; font-weight: 700;
  letter-spacing: .1em; color: var(--ink-3);
}
.site-nav a {
  color: var(--ink); text-decoration: none;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.site-nav a:hover { color: var(--red); text-decoration: underline; }
.site-nav a[aria-current='page'] { color: var(--red); }
.site-nav a.btn-primary,
.site-nav a.btn-primary:hover,
.site-nav a.btn-primary[aria-current='page'] { color: #fff; text-decoration: none; }
.lang-switch {
  font-family: var(--font-num); font-size: 11.5px; font-weight: 700;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 5px 9px; color: var(--ink-2) !important; background: #fff;
}
.lang-switch:hover { border-color: var(--red); color: var(--red) !important; }

/* ── ボタン ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-ui); font-size: 13px; font-weight: 700; line-height: 1.3;
  letter-spacing: 0; padding: 10px 18px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: background .12s, border-color .12s;
}
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:hover, .btn-primary:active { background: var(--red-dark); border-color: var(--red-dark); color: #fff; text-decoration: none; }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { background: var(--band); color: var(--ink); text-decoration: none; }
.btn-navy { background: var(--afg-green); border-color: var(--afg-green); color: #fff; }
.btn-navy:hover { background: #005726; border-color: #005726; color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--link); padding-inline: 4px; text-decoration: underline; }
.btn-ghost:hover { color: var(--red); background: transparent; }
.btn-lg { font-size: 15px; padding: 14px 30px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }

.btn-whatsapp { background: #fff; border-color: #1fa855; color: #147a3d; }
.btn-whatsapp:hover { background: #f0faf3; color: #147a3d; }
.btn-whatsapp svg { width: 15px; height: 15px; fill: currentColor; }

/* ── FV（全幅の主役画像） ─────────────────── */
.hero-fv {
  position: relative; display: flex; align-items: center;
  min-height: clamp(300px, 34vw, 420px);
  background: #1a2530; overflow: hidden;
}
.hero-fv > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fv::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12,20,28,.86) 0%, rgba(12,20,28,.7) 42%, rgba(12,20,28,.28) 70%, rgba(12,20,28,.1) 100%);
}
.hero-fv .container { position: relative; z-index: 2; width: 100%; padding-block: 32px; }
.hero-copy { max-width: min(48rem, 64%); color: #fff; }
.hero-eyebrow {
  display: inline-flex; align-items: center;
  background: var(--red); color: #fff; border: 0;
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 5px 12px; border-radius: 2px; margin-bottom: 12px;
}
.hero-title {
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(24px, 3.1vw, 40px); line-height: 1.36;
  letter-spacing: .01em; margin: 0; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  word-break: auto-phrase; line-break: strict;
}
.hero-title span { display: block; }
.hero-title .accent { color: #ffd633; }
.hero-title--en {
  font-family: var(--font-ui); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 54px); line-height: 1.14;
  letter-spacing: .01em; margin: 0; color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero-title--en span { display: block; }
.hero-title--en .accent { color: #ffd633; }
.hero-lead {
  font-size: 13.5px; line-height: 1.75; margin: 12px 0 0;
  color: rgba(255,255,255,.95); max-width: 52ch;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-fv .cta-row { margin-top: 18px; }
.hero-fv .btn-secondary { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.7); color: #fff; }
.hero-fv .btn-secondary:hover { background: rgba(255,255,255,.28); color: #fff; }
.hero-fv .btn-ghost { color: #ffd633; }

/* ── ④ 検索パネル ─────────────────────────── */
.searchbar { background: var(--band); border-bottom: 1px solid var(--line); }
.searchbar .container { padding-block: 16px; }
.searchpanel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 16px; }
.searchbar-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 12px; }
.searchbar-head h2 { font-family: var(--font-ui); font-size: 19px; font-weight: 700; margin: 0; line-height: 1.3; letter-spacing: 0; }
.searchbar-head .count { font-size: 12.5px; color: var(--ink-2); }
.searchbar-head .count strong { font-family: var(--font-num); font-size: 21px; font-weight: 700; color: var(--red-num); margin: 0 2px; }
.searchbar-head .to-all { margin-left: auto; font-size: 12.5px; font-weight: 700; }
.searchbar-head .to-all a { text-decoration: none; }
.searchbar-head .to-all a::after { content: " ▶"; font-size: 9px; }

.search-keyword { display: flex; margin-bottom: 10px; }
.search-keyword input {
  flex: 1; min-width: 0; min-height: 40px; padding: 8px 12px;
  font: inherit; font-size: 14px; color: var(--ink);
  border: 1px solid var(--line); border-right: 0;
  border-radius: var(--radius) 0 0 var(--radius); background: #fff;
}
.search-keyword input:focus-visible { border-color: var(--red); outline-offset: 0; }
.search-keyword button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 22px; min-height: 40px; cursor: pointer;
  background: var(--red); border: 1px solid var(--red); color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font: inherit; font-size: 13.5px; font-weight: 700;
}
.search-keyword button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.search-keyword svg { width: 15px; height: 15px; fill: currentColor; }

.search-conditions { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; }
.search-conditions label { display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); margin-bottom: 3px; }
.search-conditions select {
  width: 100%; min-height: 40px; padding: 8px 10px;
  font: inherit; font-size: 13.5px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.search-conditions .go { display: flex; align-items: flex-end; }
.search-conditions .go .btn { min-height: 40px; padding: 0 30px; font-size: 14px; }

/* ── ⑤ タブ切替 ───────────────────────────── */
.tabs { display: flex; border-bottom: 2px solid var(--line); margin-bottom: 14px; flex-wrap: wrap; }
.tabs button {
  flex: 1; min-width: 140px; padding: 11px 14px; cursor: pointer;
  background: transparent; border: 0; border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2);
}
.tabs button:hover { color: var(--red); }
.tabs button[aria-selected="true"] { color: var(--red); border-bottom-color: var(--red); }
.tabpanel[hidden] { display: none; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 6px 9px; text-decoration: none; color: var(--ink);
  font-size: 12.5px; font-weight: 700; text-align: center;
}
.cat-tile:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.cat-tile img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 2px; background: var(--band-2); }
.cat-tile .cat-en { font-family: var(--font-num); font-size: 9px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); }
.cat-tile:hover .cat-en { color: var(--red); }

.type-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.type-tile {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 6px; text-decoration: none; color: var(--ink);
  font-size: 12px; font-weight: 700; text-align: center; line-height: 1.35;
}
.type-tile:hover { border-color: var(--red); color: var(--red); text-decoration: none; }
.type-tile svg { width: 64px; height: 34px; stroke: var(--ink-2); fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.type-tile:hover svg { stroke: var(--red); }

/* ── セクション ───────────────────────────── */
.section { padding: 26px 0 30px; }
.section--band { background: var(--band); border-block: 1px solid var(--line); }
.sheet-section { padding: 26px 0 30px; }

h2.section-kicker, h3.section-kicker {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-family: var(--font-ui); font-size: 18px; font-weight: 700;
  letter-spacing: 0; line-height: 1.4;
  margin: 0 0 8px; padding: 0; color: var(--ink);
}
h2.section-kicker::before, h3.section-kicker::before {
  content: ""; flex: none; width: 15px; height: 18px;
  background: linear-gradient(108deg,
    transparent 0 16%, var(--afg-red) 16% 42%, transparent 42% 56%,
    var(--afg-green) 56% 82%, transparent 82% 100%);
}
.section-kicker .en { font-family: var(--font-num); font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.section-rule { height: 1px; border: 0; margin: 0 0 16px; background: var(--line); }
.section-lead { font-size: 13px; color: var(--ink-2); margin: 0 0 16px; max-width: 80ch; }
.section-more { margin: 14px 0 0; font-size: 13px; font-weight: 700; text-align: right; }
.section-more a { text-decoration: none; }
.section-more a::after { content: " ▶"; font-size: 9px; }

/* ── 汎用ボックス ─────────────────────────── */
.blueprint { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.photo-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--band-2); }
.image-slot { display: block; position: relative; width: 100%; aspect-ratio: 4 / 3; background: var(--band-2); }
.image-slot img { width: 100%; height: 100%; object-fit: cover; }
.image-slot--portrait { aspect-ratio: 3 / 4; }
.wide-photo .image-slot { aspect-ratio: 21 / 8; }

/* ── 事業カード ───────────────────────────── */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.grid-cards-lg { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 10px; }
.service-card, .num-card { padding: 14px 16px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.service-card:hover, .num-card:hover { border-color: #999; }
.service-card h3, .num-card h3 {
  font-family: var(--font-ui); font-size: 15px; font-weight: 700;
  letter-spacing: 0; line-height: 1.45; margin: 0;
  padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
.num-card h3 { margin-top: 5px; }
.service-card p, .num-card p { font-size: 12.5px; line-height: 1.7; margin: 9px 0 0; color: var(--ink-2); }
.num-label { display: inline-block; font-family: var(--font-num); font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--red-num); }

/* ── 取扱車両ギャラリー ───────────────────── */
.grid-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.grid-gallery figure { margin: 0; }
.grid-gallery figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--ink); }
.grid-gallery figcaption .no { font-family: var(--font-num); font-size: 11px; font-weight: 700; color: var(--ink-3); }

/* ── 取扱ブランド ─────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 5px; }
.brand-tile { display: grid; place-items: center; min-height: 66px; padding: 12px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.brand-tile img { height: 20px; width: auto; max-width: 100%; }
.brand-tile img.logo-tall { height: 34px; }
.brand-tile:hover { border-color: var(--red); }
.brand-tile:hover img { transform: scale(1.04); }
.brand-tile img { transition: transform .15s ease; }
.brand-word { font-family: var(--font-num); font-weight: 700; font-size: 19px; letter-spacing: .12em; color: var(--ink-2); }
.brand-tile:hover .brand-word { color: var(--red); }
.brand-word-sm { font-size: 12.5px; letter-spacing: .05em; text-align: center; line-height: 1.3; }
.brand-note { margin: 10px 0 0; font-size: 11.5px; color: var(--ink-2); }

/* ── 会社データシート ─────────────────────── */
.sheet-header { display: flex; flex-wrap: wrap; align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius) var(--radius) 0 0; }
.sheet-header > span { padding: 9px 14px; font-size: 12.5px; font-weight: 700; }
.sheet-header .sheet-title { flex: 1; min-width: 16ch; font-size: 14px; }
.sheet-header .sheet-tag { font-family: var(--font-num); letter-spacing: .08em; white-space: nowrap; color: rgba(255,255,255,.8); border-left: 1px solid rgba(255,255,255,.25); }
.sheet-table { table-layout: fixed; width: 100%; border-collapse: collapse; }
.sheet-table td { padding: 9px 14px 9px 0; font-size: 13px; border-bottom: 1px solid var(--line-soft); }
.sheet-table tr:last-child td { border-bottom: 0; }
.sheet-table .row-no { padding: 9px 14px; font-family: var(--font-num); font-size: 13px; font-weight: 700; color: var(--red-num); }
.sheet-table .row-value { font-family: var(--font-num); font-weight: 700; font-size: 19px; white-space: nowrap; color: var(--ink); }
.sheet-table .row-note { color: var(--ink-2); }
.sheet-table tbody tr:hover { background: var(--band); }

/* ── 在庫一覧 ─────────────────────────────── */
.filter-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 14px; padding: 10px; background: var(--band); border: 1px solid var(--line); border-radius: var(--radius); }
.filter-row button { font: inherit; font-size: 12.5px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius); cursor: pointer; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.filter-row button:hover { border-color: var(--red); color: var(--red); }
.filter-row button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.grid-stock { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.grid-stock > article { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.grid-stock > article:hover { border-color: #999; box-shadow: var(--shadow); }
.stock-photo { border-bottom: 1px solid var(--line); background: var(--band-2); }
.stock-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.stock-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.stock-no { font-family: var(--font-num); font-size: 11px; font-weight: 700; color: var(--ink-3); }
.stock-body h2, .stock-body h3 { font-family: var(--font-ui); font-size: 14.5px; font-weight: 700; line-height: 1.45; letter-spacing: 0; margin: 7px 0 0; }
.stock-specs { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 8px 0 0; font-size: 12px; }
.stock-specs dt { color: var(--ink-3); }
.stock-specs dd { margin: 0; color: var(--ink); }
.stock-price { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 8px; border-top: 1px dotted var(--line); }
.stock-price .label { font-size: 11.5px; color: var(--ink-3); }
.stock-price .price { font-family: var(--font-num); font-weight: 700; font-size: 20px; color: var(--red-num); }
.stock-cta { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

.tag { display: inline-flex; align-items: center; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 2px; }
.tag-accent { background: var(--afg-green); color: #fff; }
.tag-outline { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* ── 2カラム（本文＋サイド） ───────────────── */
.with-side { display: grid; grid-template-columns: 1fr 262px; gap: 20px; align-items: start; }
.sidebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.sidebox > h2, .sidebox > h3 {
  margin: 0; padding: 9px 12px; font-size: 13.5px; font-weight: 700;
  background: var(--band); border-bottom: 1px solid var(--line);
  font-family: var(--font-ui); letter-spacing: 0; border-left: 4px solid var(--afg-green);
}
.sidebox-body { padding: 12px; font-size: 12.5px; line-height: 1.75; }
.sidebox-body p { margin: 0 0 8px; }
.sidebox-body p:last-child { margin-bottom: 0; }
.sidebox .btn { width: 100%; }
.side-tel { display: block; font-family: var(--font-num); font-weight: 700; font-size: 25px; color: var(--ink); text-decoration: none; line-height: 1.2; }
.side-tel:hover { color: var(--red); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-bottom: 1px dotted var(--line); }
.side-links li:last-child { border-bottom: 0; }
.side-links a { display: block; padding: 8px 12px; font-size: 12.5px; font-weight: 700; text-decoration: none; }
.side-links a::before { content: "▸ "; color: var(--red); }
.side-links a:hover { background: var(--red-tint); }

/* ── CTA帯・お問い合わせ ──────────────────── */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; }
.cta-band h3 { font-family: var(--font-ui); font-size: 17px; font-weight: 700; margin: 0; letter-spacing: 0; }
.cta-band .cta-row { margin-top: 0; }
.contact-section { padding: 26px 0 34px; }
.contact-section h3 { font-family: var(--font-ui); font-size: 19px; font-weight: 700; margin: 0; letter-spacing: 0; }
.contact-section .contact-lead { font-size: 13px; line-height: 1.75; margin: 8px 0 0; max-width: 64ch; color: var(--ink-2); }
.contact-split { display: grid; grid-template-columns: 1fr minmax(200px, 280px); gap: 24px; align-items: center; }
.tel-link { font-family: var(--font-num); font-weight: 700; font-size: 23px; text-decoration: none; color: var(--ink); }
.tel-link:hover { color: var(--red); }

/* ── 下層ページ：ページタイトル帯 ──────────── */
.page-header { background: var(--band); border-bottom: 1px solid var(--line); padding: 14px 0; }
.page-header span.section-kicker {
  display: block; color: var(--ink-3);
  font-family: var(--font-num); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; margin-bottom: 4px;
}
.page-header .section-rule { display: none; }
.page-header h1 {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-ui); font-weight: 700;
  font-size: clamp(20px, 2.3vw, 26px); line-height: 1.4;
  letter-spacing: 0; margin: 0; color: var(--ink);
}
.page-header h1::before {
  content: ""; flex: none; width: 15px; height: 20px;
  background: linear-gradient(108deg,
    transparent 0 16%, var(--afg-red) 16% 42%, transparent 42% 56%,
    var(--afg-green) 56% 82%, transparent 82% 100%);
}
.page-lead { font-size: 13px; line-height: 1.75; max-width: 78ch; margin: 8px 0 0; color: var(--ink-2); }
.page-lead .note-accent, .page-lead a { color: var(--red-num); }

.breadcrumb { background: #fff; border-bottom: 1px solid var(--line-soft); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; list-style: none; margin: 0; padding: 7px 0; font-size: 11.5px; color: var(--ink-2); }
.breadcrumb li + li::before { content: "›"; margin-right: 5px; color: var(--ink-3); }
.breadcrumb a { color: var(--link); }

/* ── 輸出先マップ ─────────────────────────── */
.map-heading { font-family: var(--font-ui); font-size: clamp(18px, 2.1vw, 24px); font-weight: 700; margin: 0 0 12px; letter-spacing: 0; }
.map-frame { padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.map-frame iframe { display: block; width: 100%; aspect-ratio: 1120 / 520; border: 0; }
.grid-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-top: 16px; }
.region { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px 14px; }
.region .num-label { color: var(--ink); font-family: var(--font-ui); font-size: 13.5px; font-weight: 700; }
.region .section-rule { margin: 6px 0 8px; }
.region p { font-size: 12.5px; line-height: 1.7; margin: 0; color: var(--ink-2); }

/* ── 会社案内 ─────────────────────────────── */
.overview-table { width: 100%; border-collapse: collapse; }
.overview-table th { width: 11em; padding: 10px 14px; text-align: left; vertical-align: top; font-size: 13px; font-weight: 700; color: var(--ink-2); background: var(--band); border-bottom: 1px solid var(--line-soft); }
.overview-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--line-soft); }
.overview-table tr:last-child th, .overview-table tr:last-child td { border-bottom: 0; }
.grid-access { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; }
.access-card { padding: 13px 15px 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.access-card h3 { font-family: var(--font-ui); font-size: 15px; font-weight: 700; margin: 8px 0 0; letter-spacing: 0; }
.access-card .addr { font-size: 12.5px; line-height: 1.7; margin: 7px 0 0; color: var(--ink-2); }
.access-card .meta { font-size: 12px; line-height: 1.7; margin: 7px 0 0; color: var(--ink); }
.access-card .map-link { margin: 9px 0 0; font-size: 12.5px; font-weight: 700; }

/* ── フォーム ─────────────────────────────── */
.contact-grid { padding: 26px 0 34px; display: grid; grid-template-columns: 1fr minmax(260px, 330px); gap: 24px; align-items: start; }
.form-card { padding: 16px 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-form { display: grid; gap: 13px; }
.form-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 13px; }
.field > label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.input { width: 100%; min-height: 40px; padding: 9px 11px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.input:hover { border-color: #999; }
.input:focus-visible { border-color: var(--red); outline-offset: 0; }
.input::placeholder { color: var(--ink-3); opacity: 1; }
textarea.input { min-height: 110px; resize: vertical; }
.req { display: inline-block; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; padding: 2px 6px; border-radius: 2px; margin-left: 4px; vertical-align: 1px; }
.form-note { font-size: 12px; color: var(--ink-2); line-height: 1.7; }
.contact-aside .section-kicker { font-size: 15px; }
.tel-big { display: block; font-family: var(--font-num); font-weight: 700; font-size: clamp(28px, 3.2vw, 38px); text-decoration: none; color: var(--ink); line-height: 1.15; }
.tel-big:hover { color: var(--red); }
.contact-aside .aside-note { font-size: 12.5px; line-height: 1.75; margin: 7px 0 0; color: var(--ink-2); }
.addr-list { margin-top: 16px; display: grid; gap: 7px; font-size: 12.5px; line-height: 1.7; }
.addr-row { display: flex; gap: 12px; }
.addr-row .k { min-width: 6em; color: var(--ink-3); }

/* ── フッター ─────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.86); margin-top: 26px; }
.site-footer .container { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between; font-size: 12.5px; line-height: 1.75; }
.site-footer strong { display: block; font-size: 14px; color: #fff; margin-bottom: 4px; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.92); text-decoration: none; }
.site-footer a:hover { color: #7fd3a0; text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: flex-start; font-weight: 700; }
.footer-legal { flex-basis: 100%; font-size: 11.5px; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.footer-copy { flex-basis: 100%; font-size: 11.5px; color: rgba(255,255,255,.66); }
.hero-figure { margin: 0; }
.hero-figure figcaption { display: flex; justify-content: space-between; gap: 6px; margin-top: 6px; font-size: 11.5px; font-weight: 700; color: var(--ink-3); }

/* ── レスポンシブ ─────────────────────────── */
@media (max-width: 1000px) {
  .with-side { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cat-grid, .type-grid { grid-template-columns: repeat(3, 1fr); }
  .search-conditions { grid-template-columns: 1fr 1fr; }
  .search-conditions .go { grid-column: 1 / -1; }
  .search-conditions .go .btn { width: 100%; }
}
@media (max-width: 860px) {
  .contact-split { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
}
@media (max-width: 760px) {
  .site-nav { row-gap: 8px; column-gap: 11px; padding: 9px 12px; }
  a.nav-brand { flex-basis: 100%; margin-right: 0; font-size: 15.5px; }
  .site-nav a { font-size: 12.5px; }
  .site-nav .nav-home { display: none; }
  .site-nav .lang-switch { padding: 4px 7px; font-size: 11px; }
  .site-nav .btn { margin-left: auto; padding: 8px 13px; font-size: 12.5px; }
  .hero-fv { min-height: 0; }
  .hero-fv .container { padding-block: 30px; }
  .hero-fv::after { background: linear-gradient(180deg, rgba(12,20,28,.74) 0%, rgba(12,20,28,.86) 100%); }
  .hero-title { font-size: clamp(21px, 5.4vw, 30px); }
  .cat-grid, .type-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); }
  /* スマホでは写真を浅くして縦スクロールを抑える */
  .image-slot { aspect-ratio: 16 / 9; }
  .image-slot--portrait { aspect-ratio: 4 / 5; }
  .brand-tile { min-height: 56px; padding: 9px 6px; }
  .searchbar-head .to-all { margin-left: 0; flex-basis: 100%; }
  .search-conditions { grid-template-columns: 1fr; }
  .overview-table th, .overview-table td { display: block; width: auto; }
  .overview-table th { border-bottom: 0; padding-bottom: 4px; }
  .overview-table td { padding-top: 4px; }
  .tabs button { min-width: 0; font-size: 13px; padding: 10px 8px; }
}
@media (max-width: 430px) { .grid-stock { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

@media print {
  .site-header, .skip-link, .hero-fv, .searchbar, .breadcrumb { display: none; }
  body { color: #000; background: #fff; font-size: 11px; }
}

/* ── グループ会社の導線 ───────────────────── */
.parent-link { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.parent-link .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding-block: 12px; font-size: 13px;
}
.parent-link .label {
  font-weight: 700; color: var(--ink);
  border-left: 3px solid var(--afg-green); padding-left: 8px;
}
.parent-link a { font-weight: 700; }
.group-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.group-card .g-name { font-size: 16px; font-weight: 700; margin: 0; }
.group-card .g-meta { font-size: 12.5px; color: var(--ink-2); margin: 4px 0 0; }
.group-card .g-go { margin-left: auto; }
@media (max-width: 620px) { .group-card .g-go { margin-left: 0; width: 100%; } }

/* ── FV：文字を焼き込んだ画像をそのまま主役にする ── */
.hero-fv--image {
  display: block; min-height: 0; background: var(--band-2);
  align-items: initial; overflow: hidden;
}
.hero-fv--image::after { content: none; }
.hero-fv--image picture { display: block; }
.hero-fv--image img {
  position: static; width: 100%; height: auto; object-fit: initial;
}

/* 画像直下のアクション帯（ボタンは画像に焼けないのでHTMLで持つ） */
.fv-actions { background: var(--band); border-bottom: 1px solid var(--line); }
.fv-actions .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding-block: 16px;
}
.fv-lead { flex: 1; min-width: 18em; margin: 0; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.fv-actions .btn { flex: none; }

/* 画像に焼いた見出しの代わりに、読み上げ・検索エンジン用のh1を持たせる */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (max-width: 760px) {
  .fv-actions .container { padding-block: 14px; }
  .fv-actions .btn { width: 100%; }
}
