/* ============================================================
   GARAGE / BIKE SHOP — STYLE SYSTEM
   Base: Off-white / Light Gray   Accent: Deep Green   Text: Black / Charcoal
   ============================================================ */

:root {
  /* ---- Color tokens ---- */
  --bg-base:        #f7f6f2;
  --bg-alt:         #eeece4;
  --bg-panel:       #ffffff;
  --bg-panel-2:     #f0efe8;
  --border-hair:    #ddDbd0;
  --border-strong:  #c7c4b6;

  --green-deep:     #e7f0ea;   /* 深緑系パネル背景（明るいトーン） */
  --green-main:     #1f5c3a;   /* 深緑：メインアクセント/ボタン */
  --green-bright:   #227a4c;   /* ホバー・強調（白背景での視認性を確保） */
  --green-line:     #2f6b45;   /* ライン・枠線用 */

  --text-main:      #17180f;
  --text-sub:       #55564c;
  --text-faint:     #8b8a7c;

  --danger:         #a13a2f;
  --warning:        #8a6416;

  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;

  --shadow-card: 0 10px 30px rgba(23,24,15,0.12);
  --shadow-pop:  0 18px 45px rgba(23,24,15,0.16);

  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Zen Kaku Gothic New", sans-serif;
  --font-mono: "Roboto Mono", monospace;

  --container: 1200px;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; margin: 0; color: var(--text-main); }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; color: inherit; }
:focus-visible {
  outline: 2px solid var(--green-bright);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---- Layout helpers ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 56px 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-hair);
  padding-bottom: 20px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--green-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green-bright);
}
.section-title {
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: 0.02em;
  text-wrap: balance;
}
.section-desc {
  color: var(--text-sub);
  max-width: 64em;
  margin-top: 10px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary {
  background: var(--green-main);
  color: #ffffff;
  border-color: var(--green-main);
}
.btn--primary:hover { background: var(--green-bright); border-color: var(--green-bright); }
.btn--outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-strong);
}
.btn--outline:hover { border-color: var(--green-bright); color: var(--green-bright); }
.btn--ghost {
  background: transparent;
  color: var(--green-bright);
  border-color: transparent;
  padding: 10px 4px;
}
.btn--ghost:hover { color: var(--text-main); }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 18px; font-size: 13px; }

/* ---- Badge / Plate (signature element) ----
   金属プレート風バッジ。四隅のリベット風ドットが特徴。 */
.plate {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 16px;
  background: var(--bg-panel-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-main);
}
.plate::before, .plate::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-faint);
  top: 4px;
}
.plate::before { left: 4px; }
.plate::after { right: 4px; }
.plate--stock { color: var(--green-bright); border-color: var(--green-line); }
.plate--negotiating { color: var(--warning); border-color: var(--warning); }
.plate--sold { color: var(--danger); border-color: var(--danger); font-weight: 700; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-hair);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  white-space: nowrap;
  flex-shrink: 0;
}
.logo__img {
  height: 46px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo--footer .logo__img {
  height: 84px;
}
.logo__text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.logo__sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-sub);
  font-weight: 400;
  margin-top: 2px;
}
.logo--footer .logo__text { font-size: 19px; }
.logo--footer .logo__sub { font-size: 10px; }

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.nav__list {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}
.nav__list li { flex-shrink: 0; min-width: 46px; text-align: center; }
.nav__list a {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  padding: 8px 1px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] {
  color: var(--text-main);
  border-color: var(--green-bright);
}

/* ナビゲーション：通常時は英語表記、ホバーで日本語がスライドして現れる */
.nav-label {
  display: grid;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3em;
}
.nav-label__en,
.nav-label__ja {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: transform 0.28s ease;
}
.nav-label__en { transform: translateY(0); }
.nav-label__ja { transform: translateY(100%); }
.nav__list a:hover .nav-label__en { transform: translateY(-100%); }
.nav__list a:hover .nav-label__ja { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .nav-label__en, .nav-label__ja { transition: none; }
}
.nav__cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__phone {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-sub);
  white-space: nowrap;
}
.nav__phone strong { color: var(--text-main); font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-s);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #f3f2ec;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { margin: 4px 0; }
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* ヘッダーは背景が常にダーク（半透明の黒帯）なので、
   サイト全体の配色（白背景／黒文字）が反転しても、
   ヘッダー内の文字・枠線は常に明るい色を保つよう固定する */
.site-header { border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-header .logo,
.site-header .logo__text { color: #f3f2ec; }
.site-header .logo__sub { color: rgba(243,242,236,0.65); }
.site-header .nav__list a { color: rgba(243,242,236,0.72); }
.site-header .nav__list a:hover,
.site-header .nav__list a[aria-current="page"] { color: #f3f2ec; }
.site-header .nav__phone { color: rgba(243,242,236,0.72); }
.site-header .nav__phone strong { color: #f3f2ec; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-base);
}
.hero__media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.25) 0%, rgba(10,10,11,0.5) 45%, rgba(10,10,11,0.94) 100%),
    radial-gradient(120% 90% at 75% 20%, #1c2f21 0%, #0e120f 55%, #0a0a0b 100%);
}
.hero__media img,
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 0.85; }
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 80px;
  width: 100%;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: block;
  text-shadow: 0 2px 10px rgba(0,0,0,0.75);
}
.hero__title {
  font-size: clamp(28px, 4.6vw, 62px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
  color: #ffffff;
  text-wrap: balance;
}
.hero__title-sm { font-size: 0.6em; color: #ffffff; display: inline-block; }
.hero__title span:not(.hero__title-sm) { color: #22c55e; font-size: 1.12em; font-weight: 900; }
.hero__sub {
  font-size: clamp(16px, 1.9vw, 20px);
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  max-width: 34em;
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__actions .btn--outline {
  color: #f3f2ec;
  border-color: rgba(243,242,236,0.4);
}
.hero__actions .btn--outline:hover {
  color: #3f8f5e;
  border-color: #3f8f5e;
}
.hero__bottomline {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-main), transparent 70%);
  z-index: 3;
}

/* =========================================================
   VEHICLE / PRODUCT CARDS
   ========================================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-panel-2) 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border-hair);
}
.media-frame--link { display: block; cursor: pointer; }
.media-frame--link img { transition: transform 0.35s ease; }
.media-frame--link:hover img { transform: scale(1.05); }
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--green-line); transform: translateY(-3px); }

/* 「選ばれる理由」等で使うアイコン付き特徴カード */
.feature-card { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.feature-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-panel-2);
  border: 1px solid var(--border-hair);
  flex-shrink: 0;
}
.feature-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--green-line);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card__icon i {
  font-size: 21px;
  color: var(--green-line);
  line-height: 1;
}
.feature-card__title { font-size: 17px; font-weight: 700; font-family: var(--font-head); white-space: nowrap; }
.feature-card__desc { color: var(--text-sub); font-size: 13px; }

/* 車両リスト（1件1行・写真左/情報右のレイアウト） */
.v-listing-group { display: flex; flex-direction: column; }
.v-listing { padding: 36px 0; border-bottom: 1px dashed var(--border-hair); }
.v-listing:first-child { padding-top: 0; }
.v-listing:last-child { border-bottom: none; padding-bottom: 0; }
.v-listing__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.v-listing__maker { font-family: var(--font-body); font-size: 13px; font-weight: 700; color: var(--green-line); letter-spacing: 0.05em; }
.v-listing__name { font-size: 26px; font-weight: 700; font-family: var(--font-head); margin-bottom: 6px; }
.v-listing__catch { color: var(--text-sub); font-size: 13px; line-height: 1.7; margin-bottom: 24px; max-width: 60em; }
.v-listing__body { display: flex; gap: 36px; align-items: flex-start; }
.v-listing__photo { width: 400px; flex-shrink: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-m); overflow: hidden; }
.v-listing__info { flex: 1; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.v-listing__price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.v-listing__price-label { font-size: 14px; color: var(--text-sub); }
.v-listing__price { font-family: var(--font-body); font-size: 30px; font-weight: 700; color: var(--green-bright); }
.v-listing__specs { display: flex; flex-direction: column; gap: 8px; }
.v-listing__spec { display: flex; gap: 4px; font-size: 14px; }
.v-listing__spec dt { color: var(--text-sub); flex-shrink: 0; }
.v-listing__spec dd { margin: 0; font-weight: 700; color: var(--text-main); line-height: 1.5; min-width: 0; flex: 1; }
.v-listing__actions { display: flex; gap: 12px; margin-top: 6px; }
.v-listing__actions .btn { flex: 1; min-width: 0; }
@media (max-width: 900px) {
  .v-listing__photo { width: 280px; }
}
@media (max-width: 640px) {
  .v-listing__body { flex-direction: column; align-items: stretch; }
  .v-listing__photo { width: 100%; }
  .v-listing__name { font-size: 22px; }
  .v-listing__price { font-size: 26px; }
  .v-listing { padding: 28px 0; }
}

/* =========================================================
   SPEC SHEET (used on vehicle detail / maintenance)
   ========================================================= */
.spec-sheet {
  background: var(--bg-panel);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-m);
  padding: 26px;
}
.spec-sheet__row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border-hair);
  font-size: 14px;
}
.spec-sheet__row:last-child { border-bottom: none; }
.spec-sheet__label { color: var(--text-sub); }
.spec-sheet__value { font-family: var(--font-body); color: var(--text-main); text-align: right; }

/* =========================================================
   TABLES (工賃表)
   ========================================================= */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-panel);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-hair);
  font-size: 14px;
}
.price-table thead th {
  background: var(--bg-panel-2);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  text-transform: uppercase;
}
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:hover { background: rgba(31,92,58,0.08); }
.price-table td.price { font-family: var(--font-mono); color: var(--green-bright); font-weight: 700; white-space: nowrap; letter-spacing: -0.03em; }
.price-table td.note { color: var(--text-faint); font-size: 12px; }

.notice-box {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid var(--green-line);
  background: var(--green-deep);
  border-radius: var(--radius-s);
  font-size: 13px;
  color: var(--text-sub);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.notice-box strong { color: var(--text-main); }

/* =========================================================
   BEFORE / AFTER GALLERY (カスタム施工事例)
   ========================================================= */
.ba-item {
  background: var(--bg-panel);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.ba-item__frames { display: grid; grid-template-columns: 1fr 1fr; }
.ba-item__frame { position: relative; aspect-ratio: 1 / 1; }
.ba-item__frame .media-frame { aspect-ratio: 1 / 1; height: 100%; border-bottom: none; }
.ba-item__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  padding: 4px 9px;
  border-radius: 3px;
  background: rgba(10,10,11,0.75);
  border: 1px solid var(--border-strong);
}
.ba-item__tag--after { color: var(--green-bright); border-color: var(--green-line); }
.ba-item__body { padding: 18px 20px 20px; }
.ba-item__cat { font-family: var(--font-mono); font-size: 11px; color: var(--green-bright); letter-spacing: 0.06em; margin-bottom: 6px; }
.ba-item__title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.ba-item__desc { font-size: 13px; color: var(--text-sub); }

/* =========================================================
   PRODUCT CARD (パーツ・用品)
   ========================================================= */
.p-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card__cat { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); letter-spacing: 0.08em; }
.p-card__name { font-size: 16px; font-weight: 700; }
.p-card__desc { font-size: 13px; color: var(--text-sub); flex: 1; }
.p-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.p-card__price { font-family: var(--font-mono); font-weight: 700; color: var(--green-bright); font-size: 17px; letter-spacing: -0.03em; }

/* =========================================================
   FORMS (お問い合わせ)
   ========================================================= */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; color: var(--text-sub); }
.form-field label .req { color: var(--danger); margin-left: 4px; font-size: 11px; }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--bg-panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-s);
  padding: 13px 14px;
  font-size: 14px;
  color: var(--text-main);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--green-bright);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12px; color: var(--text-faint); margin-top: 4px; }

/* =========================================================
   NEWS LIST
   ========================================================= */
.news-list { display: flex; flex-direction: column; }
.news-item {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--border-hair);
}
.news-item:first-child { padding-top: 0; }
.news-item__date { font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); flex-shrink: 0; width: 96px; }
.news-item__cat {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid var(--green-line);
  color: var(--green-bright);
  width: 108px;
  text-align: center;
}
.news-item__title { flex: 1; font-size: 15px; }
.news-item__title a:hover { color: var(--green-bright); }

/* =========================================================
   STAFF / SHOP INFO
   ========================================================= */
.staff-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.staff-block {
  display: flex;
  gap: 24px;
  align-items: stretch;
}
.staff-photo-card {
  flex: 0 0 220px;
  padding: 28px 20px;
  text-align: center;
}
.staff-photo-card .media-frame { aspect-ratio: 1/1; border-radius: 50%; width: 120px; margin: 0 auto 16px; border: 1px solid var(--border-hair); }
.staff-card__name { font-weight: 700; font-size: 16px; }
.staff-card__role { font-family: var(--font-mono); font-size: 11px; color: var(--green-bright); margin: 4px 0 0; }

.staff-info-card {
  flex: 1;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.staff-info__section + .staff-info__section {
  padding-top: 20px;
  border-top: 1px dashed var(--border-hair);
}
.staff-info__section h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.staff-info__section p {
  font-size: 14px;
  color: var(--text-sub);
}
.staff-info__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.staff-info__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-sub);
}
.staff-info__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--green-bright);
  border-radius: 50%;
}

@media (max-width: 640px) {
  .staff-block { flex-direction: column; }
  .staff-photo-card { flex: none; }
}

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--border-hair); font-size: 14px; vertical-align: top; }
.info-table th { width: 130px; color: var(--text-sub); font-weight: 500; }

.maker-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.maker-tags span {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  color: var(--text-sub);
}

/* =========================================================
   BREADCRUMB / STEP FLOW (導線)
   ========================================================= */
.breadcrumb {
  font-size: 12px;
  color: var(--text-faint);
  padding: 18px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--green-bright); }

.flow {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.flow__step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-s);
  font-size: 13px;
  flex: 1;
  min-width: 180px;
}
.flow__num {
  font-family: var(--font-mono);
  color: var(--green-bright);
  font-weight: 700;
  font-size: 15px;
}
.flow__arrow { color: var(--text-faint); font-size: 18px; flex-shrink: 0; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  background: linear-gradient(120deg, #10261a 0%, #0e120f 70%);
  border-top: 1px solid #2f6b45;
  border-bottom: 1px solid #2f6b45;
  padding: 64px 0;
  text-align: center;
}
.cta-band__title { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; color: #f3f2ec; }
.cta-band__desc { color: rgba(243,242,236,0.75); margin-bottom: 30px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn--outline {
  color: #f3f2ec;
  border-color: rgba(243,242,236,0.4);
}
.cta-band .btn--outline:hover {
  color: #3f8f5e;
  border-color: #3f8f5e;
}

/* =========================================================
   DETAIL PAGE GALLERY
   ========================================================= */
.detail-gallery__main { aspect-ratio: 16/10; border-radius: var(--radius-m); overflow: hidden; margin-bottom: 12px; }
.detail-gallery__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.detail-gallery__thumb.media-frame { aspect-ratio: 1/1; border-radius: var(--radius-s); cursor: pointer; transition: outline-color 0.15s ease, opacity 0.15s ease; opacity: 0.7; }
.detail-gallery__thumb.media-frame:hover { outline: 1px solid var(--green-bright); opacity: 1; }
.detail-gallery__thumb.media-frame.is-active { outline: 2px solid var(--green-bright); opacity: 1; }

/* スライダー矢印：常に表示。ホバー時は緑にハイライトしてやや拡大 */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(10,10,11,0.32);
  backdrop-filter: blur(2px);
  cursor: pointer;
  opacity: 0.85;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.gallery-arrow--prev { left: 16px; }
.gallery-arrow--next { right: 16px; }
.gallery-arrow__icon {
  width: 18px;
  height: 18px;
  overflow: visible;
}
.gallery-arrow__icon polygon {
  fill: rgba(255,255,255,0.92);
  stroke: rgba(255,255,255,0.92);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.gallery-arrow:hover {
  background: var(--green-main);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.gallery-arrow:focus-visible { opacity: 1; }

/* メイン画像の右下に置く「拡大表示」ボタン */
.gallery-expand {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(10,10,11,0.42);
  backdrop-filter: blur(2px);
  cursor: pointer;
  opacity: 0.85;
  padding: 0;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.gallery-expand:hover { background: var(--green-main); opacity: 1; transform: scale(1.08); }
.gallery-expand__icon {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: rgba(255,255,255,0.92);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detail-gallery__main-img { cursor: zoom-in; }

/* 画像拡大表示用ポップアップ（ライトボックス） */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6,7,6,0.92);
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-pop);
}
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.lightbox__close:hover { background: var(--green-main); border-color: var(--green-main); transform: scale(1.06); }
.lightbox__close-icon {
  width: 18px;
  height: 18px;
  stroke: #ffffff;
  stroke-width: 2.2;
  stroke-linecap: round;
}

/* ライトボックス内の左右矢印（.gallery-arrow の見た目を流用し、位置と余白のみ調整） */
.lightbox__arrow.gallery-arrow {
  width: 52px;
  height: 52px;
  opacity: 0.85;
}
.lightbox__arrow--prev { left: 18px; }
.lightbox__arrow--next { right: 18px; }
.lightbox__arrow.gallery-arrow:hover { opacity: 1; }

@media (max-width: 640px) {
  .lightbox { padding: 20px; }
  .lightbox__close { top: 14px; right: 14px; width: 42px; height: 42px; }
  .lightbox__arrow.gallery-arrow { width: 42px; height: 42px; }
  .lightbox__arrow.lightbox__arrow--prev { left: 8px; }
  .lightbox__arrow.lightbox__arrow--next { right: 8px; }
}

.detail-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: flex-start; }
.detail-layout > * { min-width: 0; }
.detail-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.detail-price-box {
  background: var(--bg-panel);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-m);
  padding: 26px;
}
.detail-price-box__label { font-size: 12px; color: var(--text-sub); }
.detail-price-box__price { font-family: var(--font-body); font-size: 36px; color: var(--green-bright); font-weight: 700; margin: 6px 0 4px; }
.detail-price-box__total { font-size: 13px; color: var(--text-sub); margin-bottom: 20px; }
.detail-price-box__actions { display: flex; flex-direction: column; gap: 10px; }

.detail-block { margin-bottom: 34px; }
.detail-block h3 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-hair);
}
.detail-block p { color: var(--text-sub); }
.point-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.7;
}
.point-list li:last-child { margin-bottom: 0; }
.point-list__title {
  display: block;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.point-list__desc {
  display: block;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}
.point-list__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-panel-2);
  border: 1px solid var(--border-hair);
  margin-top: 1px;
}
.point-list__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--green-line);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border-hair); padding: 70px 0 30px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--border-hair);
}
.footer-brand__desc { color: var(--text-sub); font-size: 13px; margin-top: 14px; max-width: 30em; }
.footer-col h4 { font-size: 13px; letter-spacing: 0.06em; color: var(--text-sub); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col a { font-size: 14px; color: var(--text-main); }
.footer-col a:hover { color: var(--green-bright); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--text-faint);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  .nav__list, .nav__phone { display: none; }
  .nav-toggle { display: flex; }
  .hero { min-height: 66vh; }
  .hero__media img, .hero__slide { object-position: 70% center; }
  .site-header.is-nav-open .nav-label {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    height: auto;
    overflow: visible;
  }
  .site-header.is-nav-open .nav-label__en,
  .site-header.is-nav-open .nav-label__ja {
    position: static;
    transform: none;
    white-space: nowrap;
  }
  .site-header.is-nav-open .nav-label__en::after {
    content: "/";
    margin-left: 8px;
    color: rgba(255,255,255,0.35);
  }
  .site-header.is-nav-open .nav-label__ja { font-size: 0.85em; color: rgba(255,255,255,0.6); }
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 76px 0 0 0;
    background: rgba(247,246,242,0.94);
    z-index: 90;
  }
  .site-header.is-nav-open .nav__list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0; right: 0;
    background: rgba(10,10,11,0.97);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px 24px;
    gap: 4px;
    z-index: 101;
  }
  .site-header.is-nav-open .nav__list a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .grid, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .hero { min-height: 62vh; align-items: flex-end; }
  .hero__media img, .hero__slide { object-position: 70% center; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero__actions .btn { padding: 9px 16px; font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .ba-item__frames { grid-template-columns: 1fr 1fr; }
  .info-table th { width: 100px; }
  .detail-gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .flow { flex-direction: column; align-items: stretch; }
  .flow__arrow { transform: rotate(90deg); align-self: center; }
  .feature-card__title { white-space: normal; }
  .news-item { flex-wrap: wrap; gap: 8px 12px; }
  .news-item__title { flex-basis: 100%; }
}
