/* =========================================
   キャブ車工房 Jettech  style.css
   ダーク基調 + アンバーアクセント / モバイルファースト
   ========================================= */
:root {
  --bg: #111111;
  --bg-alt: #1a1a1a;
  --card: #202020;
  --line: #2e2e2e;
  --text: #e9e6e0;
  --muted: #a9a49b;
  --accent: #e8a33d;
  --accent-dark: #c4842a;
  --header-h: 64px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Oswald", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: #f3bd67; }
h1, h2, h3 { margin: 0; line-height: 1.35; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.pc-only { display: none; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(17, 17, 17, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { color: var(--text); }
.logo-sub { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.logo-main {
  font-family: var(--font-en);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ハンバーガー（CSSのみ） */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }

.nav-toggle-label {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform .25s, background .25s;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
.nav-toggle-label span::before { top: -8px; }
.nav-toggle-label span::after { top: 8px; }

.nav-toggle:checked + .nav-toggle-label span { background: transparent; }
.nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle:focus-visible + .nav-toggle-label { outline: 2px solid var(--accent); }

.global-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #141414;
  border-bottom: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.nav-toggle:checked ~ .global-nav { max-height: 480px; }

.global-nav ul { padding: 8px 20px 20px; }
.global-nav a {
  display: block;
  padding: 14px 4px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.global-nav a:hover { color: var(--accent); }
.global-nav .nav-cta {
  margin-top: 14px;
  text-align: center;
  background: var(--accent);
  color: #111;
  border: none;
  border-radius: 4px;
}
.global-nav .nav-cta:hover { background: #f3bd67; color: #111; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: #f3bd67; color: #111; }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #111; }

/* ---------- メインビジュアル ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 48px) 20px 64px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 75% 30%, rgba(232, 163, 61, 0.18), transparent 55%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px),
    linear-gradient(180deg, #0c0c0c 0%, #181512 100%);
  border-bottom: 4px solid var(--accent);
  overflow: hidden;
}
.hero::after {
  content: "SINCE 2022";
  position: absolute;
  right: -10px;
  bottom: 10px;
  font-family: var(--font-en);
  font-size: clamp(3rem, 14vw, 9rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.035);
  letter-spacing: 0.05em;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

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

.hero-label {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.2em;
}
.hero-title { display: flex; flex-direction: column; }
.hero-title-sub { font-size: clamp(1.3rem, 5vw, 2rem); font-weight: 900; letter-spacing: 0.15em; }
.hero-title-main {
  font-family: var(--font-en);
  font-size: clamp(4rem, 20vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-shadow: 0 4px 30px rgba(232, 163, 61, 0.25);
}
.hero-catch {
  margin: 0.6em 0 0.3em;
  font-size: clamp(2rem, 8vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.1em;
}
.hero-lead { font-size: clamp(1rem, 3.6vw, 1.25rem); color: var(--muted); margin-bottom: 2em; }
.hero-lead span { display: inline-block; }
.hero-buttons { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }

/* ---------- セクション共通 ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
  font-size: 1.6rem;
  font-weight: 900;
  text-align: center;
}
.section-title .en {
  font-family: var(--font-en);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 6px;
}
.section-title::after {
  content: "";
  width: 48px;
  height: 3px;
  margin-top: 16px;
  background: var(--accent);
}

.sub-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2em 0 0.8em;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* ---------- お店紹介 ---------- */
.about-grid { display: grid; gap: 40px; }
.about-lead { font-size: 1.3rem; font-weight: 900; line-height: 1.6; }
.about-text .sub-title:first-of-type { margin-top: 1.6em; }

.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px dashed var(--line);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  transform: rotate(45deg);
}

.mission {
  margin: 0 0 28px;
  padding: 28px 24px;
  background: linear-gradient(135deg, #2a2117, #1d1d1d);
  border-left: 5px solid var(--accent);
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 500;
}
.mission-label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 0.6em;
}
.mission-catch { margin: 0; font-size: 1.6rem; font-weight: 900; color: var(--accent); }

.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badges li {
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(232, 163, 61, 0.08);
}

.company { margin: 0; }
.company > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.company dt { color: var(--muted); font-size: 0.9rem; }
.company dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- サービス ---------- */
.service-grid { display: grid; gap: 20px; }
.service-card { position: relative; padding: 28px 24px 24px; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.7em; padding-right: 48px; }
.service-card p { color: var(--muted); margin-bottom: 0.6em; }
.service-card p:last-child { margin-bottom: 0; }
.service-no {
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(232, 163, 61, 0.35);
  line-height: 1;
}
.service-catch { color: var(--accent) !important; font-weight: 900; font-size: 1.1rem; }
.service-note { font-size: 0.9rem; border-top: 1px dashed var(--line); padding-top: 0.6em; }

.equipment {
  display: grid;
  gap: 20px;
  margin-top: 48px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #151515;
}
.equipment .sub-title { margin-top: 0; }
.equipment-text p { margin: 0; color: var(--muted); }
.equipment-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; align-content: start; }
.equipment-list li {
  padding: 10px 12px;
  background: var(--card);
  border-left: 3px solid var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0;
}

.tiktok {
  margin: 32px 0 0;
  padding: 16px 20px;
  text-align: center;
  font-weight: 700;
  border: 1px dashed var(--accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.tiktok-text { margin: 0; }
.tiktok-texts { display: flex; flex-direction: column; gap: 8px; }
.goobike-text { font-size: 2em; line-height: 1.3; font-family: "M PLUS Rounded 1c", var(--font-jp, "Noto Sans JP"), sans-serif; font-weight: 800; letter-spacing: .04em; }
.pill-link { color: var(--accent); text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; padding: .25em .8em; border-radius: 999px;
  border: 2px solid rgba(232,163,61,.55); background: rgba(232,163,61,.08);
  box-shadow: 0 0 0 4px rgba(232,163,61,.12), 0 0 18px rgba(232,163,61,.18);
  transition: background .2s, border-color .2s, box-shadow .2s; }
.pill-link:hover, .pill-link:focus-visible { background: rgba(232,163,61,.16); border-color: rgba(232,163,61,.9);
  box-shadow: 0 0 0 5px rgba(232,163,61,.2), 0 0 26px rgba(232,163,61,.35); }
.pill-link::after { content: "\00a0↗"; font-size: .75em; color: var(--accent); }
.goobike-text a { white-space: nowrap; }
.tiktok-link { flex-direction: column; gap: .3em; color: #fff; padding: .5em 1.6em .6em; line-height: 1.3; white-space: nowrap; border-radius: 2.2em; }
.tiktok-link::after { content: none; }
.tt-main { display: inline-flex; align-items: center; font-size: 1.5em; color: var(--accent); font-family: "M PLUS Rounded 1c", var(--font-jp, "Noto Sans JP"), sans-serif; font-weight: 800; letter-spacing: .04em; }
.tt-main::after { content: "\00a0↗"; font-size: .75em; }
.tt-label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.tiktok-link .tiktok-logo { height: .9em; margin-right: .45em; }
.tt-sub { font-size: .9em; color: #fff; font-weight: 700; }
.goobike-text a span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pill-logo { height: 1.1em; width: auto; vertical-align: middle; margin-right: .3em; display: inline-block; flex: 0 0 auto; }
.goobike-logo { background: #fff; border-radius: 4px; }
.tiktok-logo { height: .95em; margin-right: .5em; }
.tiktok-qr { flex: 0 0 auto; line-height: 0; }
.tiktok-qr img { width: 150px; height: auto; border-radius: 8px; display: block; }
@media (max-width: 600px) {
  .tiktok { flex-direction: column; gap: 14px; }
  .goobike-text { font-size: 1.25em; }
  .goobike-text a { padding: .25em .7em; }
  .tiktok-link { padding: .45em 1.2em .55em; letter-spacing: 0; }
  .tt-main { font-size: 1.2em; }
  .tiktok-link .tiktok-logo { height: 1em; }
  .tt-sub { font-size: .8em; }
}

/* ---------- 在庫 ---------- */
.makers { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 24px; }
.makers li {
  padding: 8px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
}
.stock-common { text-align: center; color: var(--muted); margin-bottom: 36px; }
.stock-common strong { color: var(--text); }

.stock-grid { display: grid; gap: 20px; }
.stock-card { overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.stock-card:hover { border-color: var(--accent); transform: translateY(-3px); }

.photo-placeholder {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 10px, transparent 10px 20px),
    #2a2a2a;
  border-bottom: 1px solid var(--line);
  color: #7d786f;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.stock-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: #2a2a2a;
}

.stock-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.stock-maker { margin: 0 0 2px; font-size: 0.82rem; color: var(--accent); font-weight: 700; }
.stock-body h3 { font-family: var(--font-en); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 8px; }
.stock-body h3 small { font-family: var(--font-ja); font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-left: 4px; }
.stock-note { color: var(--muted); font-size: 0.92rem; }
.stock-price {
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.3;
}
.stock-price span { font-family: var(--font-ja); font-size: 1rem; margin-left: 2px; }
.stock-price small { display: block; font-family: var(--font-ja); font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.stock-price.ask { font-family: var(--font-ja); font-size: 0.9rem; letter-spacing: 0; color: var(--text); padding-top: 14px; }

.stock-notice { margin: 36px 0 0; text-align: center; color: var(--muted); font-size: 0.95rem; }

/* ---------- 営業時間 ---------- */
.hours-box {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 6px;
}
.hours-list { margin: 0 0 20px; }
.hours-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.hours-list dt { color: var(--muted); }
.hours-list dd { margin: 0; font-weight: 700; font-size: 1.1rem; }
.hours-big { font-family: var(--font-en); font-size: 1.8rem !important; color: var(--accent); letter-spacing: 0.04em; }
.notice { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ---------- アクセス ---------- */
.access-grid { display: grid; gap: 28px; }
.access-info .company { margin-bottom: 24px; }
.map { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #222; }
.map iframe { display: block; width: 100%; height: 320px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- 予約・お問い合わせ ---------- */
.section-contact {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(232, 163, 61, 0.14), transparent 60%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
}
.contact-lead { text-align: center; font-weight: 700; margin-bottom: 32px; }
.contact-grid { display: grid; gap: 20px; }
.contact-box {
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-box h3 { font-size: 1.15rem; margin-bottom: 18px; }
.contact-box p { color: var(--muted); }
.contact-box .btn-primary { margin-top: auto; }
.btn-tel {
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  padding: 18px 20px;
  background: var(--accent);
  color: #111;
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.25);
}
.btn-tel:hover { background: #f3bd67; color: #111; }
.tel-label { font-size: 0.85rem; letter-spacing: 0.1em; }
.tel-number { font-family: var(--font-en); font-size: clamp(1.8rem, 8vw, 2.4rem); line-height: 1.2; letter-spacing: 0.05em; }
.contact-small { margin: 16px 0 0; font-size: 0.88rem; }

/* ---------- フッター ---------- */
.site-footer {
  padding: 48px 0 32px;
  background: #0a0a0a;
  border-top: 4px solid var(--accent);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin-bottom: 0.5em; }
.footer-logo { font-family: var(--font-en); font-size: 1.8rem; color: var(--accent); font-weight: 700; letter-spacing: 0.06em; }
.footer-logo span { font-family: var(--font-ja); font-size: 0.95rem; color: var(--text); font-weight: 700; letter-spacing: 0.1em; }
.copyright { margin-top: 1.5em; font-size: 0.8rem; }

/* =========================================
   タブレット以上
   ========================================= */
@media (min-width: 600px) {
  .hero-buttons { flex-direction: row; max-width: none; }
  .service-grid,
  .stock-grid,
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .equipment-list { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 768px) {
  .section { padding: 110px 0; }
  .section-title { font-size: 2rem; }
  .pc-only { display: inline; }
  .about-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
  .access-grid { grid-template-columns: 1fr 1.4fr; align-items: center; }
  .map iframe { height: 400px; }
  .equipment { grid-template-columns: 1fr 1.6fr; align-items: center; padding: 36px; }
}

/* =========================================
   PC：ナビ横並び
   ========================================= */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  .nav-toggle-label { display: none; }
  .global-nav {
    position: static;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: none;
  }
  .global-nav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .global-nav a { border: none; padding: 8px 12px; font-size: 0.92rem; }
  .global-nav .nav-cta { margin: 0 0 0 10px; padding: 10px 18px; }
  .service-grid,
  .stock-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .stock-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== 在庫動画 ===== */
.stock-media {
  position: relative; display: block; width: 100%; padding: 0; margin: 0;
  border: 0; background: none; cursor: pointer; font: inherit; color: inherit;
}
.stock-media .stock-photo { transition: filter .2s; }
.stock-media:hover .stock-photo, .stock-media:focus-visible .stock-photo { filter: brightness(.75); }
.stock-media:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.play-badge {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: rgba(17,17,17,.7); border: 2px solid var(--accent);
  transition: transform .2s, background .2s;
}
.play-badge::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--accent);
}
.stock-media:hover .play-badge { transform: translate(-50%, -50%) scale(1.08); background: rgba(17,17,17,.85); }
.video-label {
  position: absolute; right: 10px; bottom: 10px; padding: 4px 10px; border-radius: 3px;
  background: var(--accent); color: #111; font-size: .78rem; font-weight: 700; letter-spacing: .05em;
}
.video-modal {
  padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh;
}
.video-modal::backdrop { background: rgba(0,0,0,.88); }
.video-modal-inner { position: relative; }
.video-modal video {
  display: block; max-width: 92vw; max-height: 86vh; width: auto; height: auto;
  background: #000; border: 1px solid var(--accent); border-radius: 4px;
}
.video-close {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: var(--accent); color: #111;
  font-size: 1.6rem; line-height: 40px; cursor: pointer;
}

.nowrap { white-space: nowrap; }

/* 動画を見るボタン（コメント欄） */
.video-btn {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  margin: 2px 0 14px; padding: 7px 14px; border: 1px solid var(--accent); border-radius: 3px;
  background: transparent; color: var(--accent); font: inherit; font-size: .85rem; font-weight: 700;
  letter-spacing: .05em; cursor: pointer; transition: background .2s, color .2s;
}
.video-btn::before {
  content: ""; border-style: solid; border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent currentColor;
}
.video-btn:hover, .video-btn:focus-visible { background: var(--accent); color: #111; }

/* コメント欄のボタン並び */
.stock-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.stock-actions .video-btn { margin: 0; }
.detail-btn::before {
  border: 0; width: 12px; height: 9px; border: 1.5px solid currentColor; border-radius: 1px;
  box-sizing: border-box;
}

/* 詳細写真ギャラリー */
.gallery-modal img {
  display: block; max-width: 92vw; max-height: 80vh; width: auto; height: auto;
  border: 2px solid var(--accent); border-radius: 4px; background: #000;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.6); color: var(--accent); font-size: 2rem; line-height: 1;
  cursor: pointer; display: grid; place-items: center; padding: 0 0 4px;
}
.gallery-nav:hover, .gallery-nav:focus-visible { background: var(--accent); color: #111; }
.gallery-prev { left: 8px; }
.gallery-next { right: 8px; }
.gallery-count { margin: 8px 0 0; text-align: center; color: #ddd; font-size: .85rem; letter-spacing: .1em; }

/* 工場外観写真（アクセス） */
.shop-exterior { margin: 0 0 28px; }
.shop-exterior img {
  display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover;
  border: 1px solid var(--line); border-radius: 6px;
}
.shop-exterior figcaption { margin-top: 8px; font-size: .85rem; color: #aaa; text-align: center; }

/* トップの背景写真（コンテナ積み込み） */
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: -1;
}
.hero { isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.75) 50%, rgba(10,10,10,.4) 100%),
    linear-gradient(180deg, rgba(10,10,10,.25) 0%, rgba(10,10,10,.6) 100%);
}
@media (max-width: 767px) {
  .hero::before { background: linear-gradient(180deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,.85) 100%); }
}

/* ロゴ文字 JETTECH（看板に近い太いフォント） */
:root { --font-logo: "Bauhaus 93", "Russo One", "Oswald", sans-serif; }
.logo-main { font-family: var(--font-logo); font-weight: 400; font-size: 1.45rem; letter-spacing: .04em; }
.hero-title-main {
  font-family: var(--font-logo); font-weight: 400;
  font-size: clamp(3.2rem, 15.5vw, 8rem); letter-spacing: .03em; line-height: 1.05;
}
.footer-brand { font-family: var(--font-logo); letter-spacing: .04em; }

/* JETTECH ロゴ画像（Bauhaus 93 の看板データから作成） */
.logo-img { display: inline-block; width: auto; vertical-align: baseline; }
.logo-main.logo-img { height: 22px; align-self: center; }
.footer-brand.logo-img { height: 1.1em; vertical-align: -0.12em; }
.hero-title-main { line-height: 0; margin: .15em 0 .1em; }
.hero-logo { display: block; width: min(100%, 620px); height: auto; filter: drop-shadow(0 4px 24px rgba(232,163,61,.25)); }

/* ロゴのサイズ調整（キャブ車工房を大きく、JETTECHを小さく） */
.hero-title-sub { font-size: clamp(1.7rem, 7vw, 2.7rem); }
.hero-logo { width: min(85%, 500px); }
.hero-title-sub { font-size: clamp(2rem, 8.5vw, 3.2rem); }
.hero-logo { width: min(72%, 420px); }

/* 背景写真：コンテナの奥まで見せる */
.hero-bg { object-position: center 14%; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.6) 45%, rgba(10,10,10,.15) 100%),
    linear-gradient(180deg, rgba(10,10,10,.1) 0%, rgba(10,10,10,.5) 100%);
}
@media (max-width: 767px) {
  .hero-bg { object-position: 40% 8%; }
  .hero::before { background: linear-gradient(180deg, rgba(10,10,10,.45) 0%, rgba(10,10,10,.8) 100%); }
}

/* お店紹介の背景写真（作業場） */
.section-photo { position: relative; isolation: isolate; overflow: hidden; }
.section-photo .section-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; z-index: -2;
}
.section-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(12,12,12,.78) 0%, rgba(12,12,12,.86) 100%);
}

/* お店紹介の背景を明るく（文字は影で読みやすく） */
.section-photo::before {
  background: linear-gradient(180deg, rgba(12,12,12,.5) 0%, rgba(12,12,12,.62) 100%);
}
.section-photo .section-bg { filter: brightness(1.08) contrast(1.05); }
.section-photo .container { text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.6); }
.section-photo .company div { background: rgba(12,12,12,.35); }

/* ===== 写真の明るさを統一（お店紹介の背景に合わせる） ===== */
/* 共通トーン：brightness(1.08) contrast(1.05) */
.hero-bg,
.stock-media .stock-photo,
.shop-exterior img,
.gallery-modal img { filter: brightness(1.08) contrast(1.05); }
.stock-media:hover .stock-photo,
.stock-media:focus-visible .stock-photo { filter: brightness(.95) contrast(1.05); }

/* トップ背景のオーバーレイをお店紹介と同程度（約 .5〜.62）に */
.hero::before {
  background:
    linear-gradient(90deg, rgba(12,12,12,.62) 0%, rgba(12,12,12,.42) 45%, rgba(12,12,12,.1) 100%),
    linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,.35) 100%);
}
@media (max-width: 767px) {
  .hero::before { background: linear-gradient(180deg, rgba(12,12,12,.5) 0%, rgba(12,12,12,.62) 100%); }
}
.hero-inner { text-shadow: 0 1px 3px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.6); }
.hero-logo { filter: drop-shadow(0 2px 6px rgba(0,0,0,.8)) drop-shadow(0 4px 24px rgba(232,163,61,.25)); }
.hero-buttons a { text-shadow: none; }

/* ヒーローのサブコピーを読みやすく */
.hero-lead {
  color: #ececec; font-weight: 500;
  text-shadow: 0 1px 2px rgba(0,0,0,.95), 0 2px 6px rgba(0,0,0,.85), 0 0 18px rgba(0,0,0,.7);
}
@media (min-width: 768px) {
  .hero::before {
    background:
      linear-gradient(90deg, rgba(12,12,12,.66) 0%, rgba(12,12,12,.5) 45%, rgba(12,12,12,.1) 100%),
      linear-gradient(180deg, rgba(12,12,12,0) 0%, rgba(12,12,12,.35) 100%);
  }
}

/* お店紹介の背景をほんの少し暗く */
.section-photo::before {
  background: linear-gradient(180deg, rgba(12,12,12,.56) 0%, rgba(12,12,12,.66) 100%);
}
.section-photo .section-bg { filter: brightness(1.0) contrast(1.05); }

/* お店紹介の背景をもう一段だけ暗く */
.section-photo::before {
  background: linear-gradient(180deg, rgba(12,12,12,.62) 0%, rgba(12,12,12,.72) 100%);
}
.section-photo .section-bg { filter: brightness(.9) contrast(1.05); }

/* お店紹介の見出しを大きく（#about のみ） */
#about .section-title {
  font-size: 2.15rem; letter-spacing: .08em; line-height: 1.25;
  text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 0 18px rgba(0,0,0,.65);
}
#about .section-title .en { font-size: 1.1rem; letter-spacing: .32em; }
#about .section-title::after { width: 64px; height: 4px; margin-top: 18px; box-shadow: 0 1px 4px rgba(0,0,0,.6); }
@media (min-width: 768px) {
  #about .section-title { font-size: 2.75rem; }
  #about .section-title .en { font-size: 1.2rem; }
}

/* お店紹介の見出し：約1.3倍に調整 */
#about .section-title { font-size: 2.08rem; }
#about .section-title .en { font-size: 1.07rem; }
@media (min-width: 768px) {
  #about .section-title { font-size: 2.6rem; }
  #about .section-title .en { font-size: 1.17rem; }
}

/* お店紹介の本文を少し大きく（約1.08倍・#about のみ） */
#about .about-text p:not(.about-lead),
#about .check-list li { font-size: 1.08rem; }
#about .about-lead { font-size: 1.4rem; }
#about .sub-title { font-size: 1.24rem; }
#about .check-list li::before { top: 20px; }
#about .mission { font-size: 1.14rem; }
#about .mission p { font-size: inherit; }
#about .mission .mission-label { font-size: .92rem; }
#about .mission .mission-catch { font-size: 1.72rem; }
#about .badges li { font-size: .98rem; }
#about .company dt { font-size: .98rem; }
#about .company dd { font-size: 1.08rem; }
#about .badges { gap: 8px; }
#about .badges li { padding: 6px 12px; }

/* サービスの背景写真（トレーラーのバイク・中西部の田舎道） */
#service .section-bg { object-position: 80% 60%; }
@media (max-width: 767px) { #service .section-bg { object-position: 82% 60%; } }
#service .section-bg { object-position: 95% 60%; }
@media (max-width: 767px) { #service .section-bg { object-position: 83% 62%; } }
/* カードを少し透かして背景写真を見せる（文字は読みやすさ優先） */
#service .card { background: rgba(24,24,24,.82); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }

/* サービス背景：拡大を控えめに（上寄せ＋下はフェードで暗く） */
#service .section-bg {
  height: 85%; object-position: 92% 60%;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 100%);
}
@media (max-width: 767px) {
  #service .section-bg { height: min(1000px, 55%); object-position: 80% 60%; }
}

/* サービス背景：ほぼ全体を表示（幅基準・上寄せ、地平線と空が見える） */
#service .section-bg {
  width: 100%; height: auto; aspect-ratio: 4 / 3; bottom: auto;
  object-fit: cover; object-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 70%, transparent 100%);
}
@media (max-width: 767px) {
  #service .section-bg { height: 560px; aspect-ratio: auto; object-position: 78% top; }
}
@media (max-width: 767px) {
  #service .section-bg { height: 440px; object-position: 75% top; }
}

/* ===== 背景写真の暗さ：セクションごとに個別調整できるよう分離 ===== */
/* お店紹介 */
#about .section-bg { filter: brightness(.9) contrast(1.05); }
#about.section-photo::before { background: linear-gradient(180deg, rgba(12,12,12,.62) 0%, rgba(12,12,12,.72) 100%); }
/* サービス */
#service .section-bg { filter: brightness(.9) contrast(1.05); }
#service.section-photo::before { background: linear-gradient(180deg, rgba(12,12,12,.62) 0%, rgba(12,12,12,.72) 100%); }
/* 在庫（中西部の一本道と入道雲）— 個別に調整可能 */
#stock .section-bg {
  filter: brightness(.9) contrast(1.05);
  width: 100%; height: auto; aspect-ratio: 4 / 3; bottom: auto;
  object-fit: cover; object-position: center top;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}
#stock.section-photo::before { background: linear-gradient(180deg, rgba(12,12,12,.62) 0%, rgba(12,12,12,.72) 100%); }
#stock .card { background: rgba(24,24,24,.82); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
@media (max-width: 767px) {
  #stock .section-bg { height: 520px; aspect-ratio: auto; object-position: 45% top; }
}
@media (min-width: 768px) {
  #stock .section-bg { height: 560px; aspect-ratio: auto; object-position: center 74%; }
}

/* 在庫背景：地平線を「取扱車種」見出しとメーカー行の間へ（写真全体を上にずらす） */
@media (min-width: 768px) {
  #stock .section-bg { top: -44px; object-position: center 100%; }
}
@media (max-width: 767px) {
  #stock .section-bg { top: -178px; }
}

.stock-ai-note { text-align: center; font-size: .85rem; color: #d8d8d8; margin: -18px 0 22px; text-shadow: 0 1px 3px rgba(0,0,0,.9); }

/* visitor counter */
.visit-counter{margin-top:22px;display:inline-block;padding:6px 16px;border:1px solid rgba(232,163,61,.5);border-radius:999px;background:rgba(0,0,0,.35);color:rgba(255,255,255,.85);font-size:.85rem;letter-spacing:.08em}
.visit-counter[hidden]{display:none}
.visit-num{font-family:'Oswald',sans-serif;font-size:1.2rem;color:var(--accent);margin:0 4px;letter-spacing:.04em}
