/**
 * nagasou-front.css
 * 永惣 フロントサイト本体スタイル
 * 株式会社永惣 / Kabushiki Kaisha Nagasou
 *
 * 設計方針:
 *   - BEM記法（Block__Element--Modifier）
 *   - モバイルファースト
 *   - 名前空間 ngf- （Nagasou Front）
 *   - Cocoon CSSと競合しない設計
 *   - CSS カスタムプロパティで一元管理
 *
 * ─── TABLE OF CONTENTS ───
 * 1.  DESIGN TOKENS
 * 2.  RESET / BASE
 * 3.  SKIP LINK
 * 4.  SCROLL REVEAL
 * 5.  LAYOUT UTILITIES
 * 6.  SECTION HEADERS
 * 7.  BUTTONS
 * 8.  LP LINK COMPONENT
 * 9.  HERO
 * 10. GAS STATIONS
 * 11. STAFF
 * 12. VEHICLE INSPECTION
 * 13. CAR WASH
 * 14. BUY & SELL (COMS / SHARAKU SLIDER)
 * 15. RECOMMEND
 * 16. CAR KNOWLEDGE (wrapper)
 * 17. COMPANY / TIMELINE
 * 18. CONTACT
 * 19. PAGE TOP BUTTON
 * 20. RESPONSIVE
 */

/* ─────────────────────────────────────────────
   1. DESIGN TOKENS
───────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --ngf-gold:        #C9A84C;
  --ngf-gold-l:      #E8CF80;
  --ngf-gold-d:      #8B6C28;
  --ngf-gold-bg:     rgba(201,168,76,.08);
  --ngf-gold-brd:    rgba(201,168,76,.22);
  --ngf-sky:         #5AAFE0;
  --ngf-sky-d:       #2A7CAD;
  --ngf-olive:       #8BAB6E;
  --ngf-ink:         #1E2420;
  --ngf-ink-m:       #3D4A42;
  --ngf-cream:       #FAFAF7;
  --ngf-cream-d:     #F2F0EB;
  /* Typography */
  --ngf-serif:       'Noto Serif JP', serif;
  --ngf-display:     'Cormorant Garamond', serif;
  --ngf-condensed:   'Barlow Condensed', sans-serif;
  /* Easing */
  --ngf-ease:        cubic-bezier(0.16,1,0.3,1);
  --ngf-spring:      cubic-bezier(0.34,1.56,0.64,1);
  /* Spacing */
  --ngf-container:   1140px;
  --ngf-section-py:  80px;
  --ngf-delay:       0s;
}

/* ─────────────────────────────────────────────
   2. RESET / BASE
───────────────────────────────────────────── */
.nagasou-front-body {
  font-family: var(--ngf-serif);
  background: var(--ngf-ink);
  color: var(--ngf-cream);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.ngf-main { display: block; }
.ngf-main *, .ngf-main *::before, .ngf-main *::after { box-sizing: border-box; }
.ngf-main img { max-width: 100%; display: block; }
.ngf-main a { text-decoration: none; color: inherit; }
.ngf-main button { cursor: pointer; border: none; background: none; }
.ngf-main ul, .ngf-main ol { list-style: none; margin: 0; padding: 0; }
.ngf-main address { font-style: normal; }
.text-center { text-align: center; }

/* ─────────────────────────────────────────────
   3. SKIP LINK
───────────────────────────────────────────── */
.ngf-skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--ngf-gold);
  color: var(--ngf-ink);
  font-family: var(--ngf-serif);
  font-size: 14px;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top .2s;
}
.ngf-skip-link:focus { top: 0; }

/* ─────────────────────────────────────────────
   4. SCROLL REVEAL
───────────────────────────────────────────── */
.ngf-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ngf-ease) var(--ngf-delay), transform .9s var(--ngf-ease) var(--ngf-delay);
}
.ngf-reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity .9s var(--ngf-ease), transform .9s var(--ngf-ease);
}
.ngf-reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity .9s var(--ngf-ease), transform .9s var(--ngf-ease);
}
.ngf-reveal.is-visible,
.ngf-reveal-left.is-visible,
.ngf-reveal-right.is-visible {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────
   5. LAYOUT UTILITIES
───────────────────────────────────────────── */
.ngf-container {
  max-width: var(--ngf-container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.ngf-section {
  padding: var(--ngf-section-py) 0;
}
.ngf-section--dark     { background: var(--ngf-ink); }
.ngf-section--ink      { background: #141f17; }
.ngf-section--cream    { background: var(--ngf-cream); color: var(--ngf-ink); }
.ngf-section--cream-d  { background: var(--ngf-cream-d); color: var(--ngf-ink); }

/* ─────────────────────────────────────────────
   6. SECTION HEADERS
───────────────────────────────────────────── */
.ngf-section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.ngf-section-en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-family: var(--ngf-display);
  font-style: italic;
  font-size: 11px;
  letter-spacing: .48em;
  text-transform: uppercase;
  color: var(--ngf-gold);
  margin-bottom: .6rem;
}
.ngf-section-en::before,
.ngf-section-en::after {
  content: '';
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ngf-gold-d));
}
.ngf-section-en::after {
  background: linear-gradient(90deg, var(--ngf-gold-d), transparent);
}
.ngf-section-title {
  font-family: var(--ngf-serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  letter-spacing: .12em;
  line-height: 1.4;
  margin: 0;
}
.ngf-section-title--light { color: #fff; }
.ngf-section-lead {
  max-width: 680px;
  margin: 1.2rem auto 0;
  font-size: 15px;
  letter-spacing: .06em;
  opacity: .7;
  line-height: 2;
}
.ngf-section--cream .ngf-section-en,
.ngf-section--cream-d .ngf-section-en { color: var(--ngf-gold-d); }
.ngf-section--cream .ngf-section-en::before,
.ngf-section--cream .ngf-section-en::after { background: linear-gradient(90deg, transparent, var(--ngf-gold-d)); }

/* ─────────────────────────────────────────────
   7. BUTTONS
───────────────────────────────────────────── */
.ngf-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--ngf-serif);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  cursor: pointer;
  border: 1.5px solid transparent;
  min-height: 44px;
  transition: transform .25s var(--ngf-spring), box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.ngf-btn--primary {
  background: linear-gradient(135deg, var(--ngf-gold), var(--ngf-gold-l));
  color: var(--ngf-ink);
  box-shadow: 0 4px 20px rgba(201,168,76,.35);
}
.ngf-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(201,168,76,.5); }
.ngf-btn--outline {
  border-color: rgba(201,168,76,.6);
  color: var(--ngf-gold-l);
}
.ngf-btn--outline:hover { background: rgba(201,168,76,.1); border-color: var(--ngf-gold); transform: translateY(-3px); }
.ngf-btn--outline-dark {
  border-color: rgba(30,36,32,.3);
  color: var(--ngf-ink-m);
}
.ngf-btn--outline-dark:hover { background: var(--ngf-ink); color: var(--ngf-gold-l); border-color: var(--ngf-ink); transform: translateY(-3px); }

/* ─────────────────────────────────────────────
   8. LP LINK COMPONENT
───────────────────────────────────────────── */
.ngf-lp-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.8rem;
  background: linear-gradient(135deg, rgba(201,168,76,.06), rgba(201,168,76,.12));
  border: 1px solid var(--ngf-gold-brd);
  border-radius: 12px;
  margin-top: 2.5rem;
  transition: background .3s, border-color .3s, transform .3s var(--ngf-ease);
  min-height: 44px;
}
.ngf-lp-link:hover { background: rgba(201,168,76,.16); border-color: rgba(201,168,76,.4); transform: translateY(-3px); }
.ngf-lp-link__content { display: flex; flex-direction: column; gap: .3rem; }
.ngf-lp-link__label { font-size: 10px; letter-spacing: .3em; color: var(--ngf-gold); text-transform: uppercase; }
.ngf-lp-link__title { font-family: var(--ngf-serif); font-size: 17px; letter-spacing: .1em; color: #fff; }
.ngf-lp-link__sub { font-size: 12px; color: rgba(255,255,255,.5); letter-spacing: .06em; }
.ngf-lp-link__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--ngf-gold-l); flex-shrink: 0;
  transition: background .25s, transform .3s var(--ngf-spring);
}
.ngf-lp-link:hover .ngf-lp-link__arrow { background: rgba(201,168,76,.2); transform: translateX(4px); }
.ngf-lp-link--light {
  background: linear-gradient(135deg, rgba(30,36,32,.04), rgba(30,36,32,.08));
  border-color: rgba(30,36,32,.12);
}
.ngf-lp-link--light .ngf-lp-link__label { color: var(--ngf-gold-d); }
.ngf-lp-link--light .ngf-lp-link__title { color: var(--ngf-ink); }
.ngf-lp-link--light .ngf-lp-link__sub { color: var(--ngf-ink-m); }
.ngf-lp-link--light .ngf-lp-link__arrow { border-color: rgba(30,36,32,.2); color: var(--ngf-ink-m); }

/* ─────────────────────────────────────────────
   9. HERO
───────────────────────────────────────────── */
.ngf-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ngf-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease-out;
  will-change: transform;
}
.ngf-hero.is-loaded .ngf-hero__bg { transform: scale(1.05); }
.ngf-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,26,16,.82) 0%, rgba(14,31,24,.65) 50%, rgba(17,28,20,.88) 100%);
}
.ngf-hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='ng'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ng)' opacity='0.055'/%3E%3C/svg%3E");
  background-size: 180px;
  opacity: .4;
}
.ngf-hero__accent {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(90,175,224,.06), transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(201,168,76,.06), transparent 60%);
}
.ngf-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 1.25rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s .3s var(--ngf-ease), transform .8s .3s var(--ngf-ease);
}
.ngf-hero.is-loaded .ngf-hero__content { opacity: 1; transform: translateY(0); }
.ngf-hero__eyebrow {
  display: inline-block;
  font-family: var(--ngf-display);
  font-style: italic;
  font-size: 11.5px;
  letter-spacing: .32em;
  color: var(--ngf-gold-l);
  margin-bottom: 1.2rem;
  padding: .35rem 1.2rem;
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 50px;
}
.ngf-hero__title {
  font-family: var(--ngf-serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: .06em;
  line-height: 1.45;
  color: #fff;
  margin: 0 0 1.2rem;
}
.ngf-hero__title strong { font-weight: 500; color: var(--ngf-gold-l); }
.ngf-hero__sub {
  font-size: clamp(13px, 2.5vw, 15px);
  letter-spacing: .08em;
  color: rgba(255,255,255,.65);
  line-height: 2.1;
  margin-bottom: 2.5rem;
}
.ngf-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.ngf-hero__scroll-ind {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.ngf-hero__scroll-text {
  font-family: var(--ngf-display);
  font-style: italic;
  font-size: 9px;
  letter-spacing: .32em;
  color: rgba(201,168,76,.6);
}
.ngf-hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, rgba(201,168,76,.5), transparent);
  animation: ngfScrollLine 2s ease-in-out infinite;
}
@keyframes ngfScrollLine {
  0%  { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100%{ transform: scaleY(0); transform-origin: bottom; }
}

/* ─────────────────────────────────────────────
   10. GAS STATIONS
───────────────────────────────────────────── */
.ngf-gs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.ngf-gs-card {
  display: flex;            /* ← 追加: 縦方向の Flex コンテナにする */
  flex-direction: column;   /* ← 追加: 子要素を縦積みに */
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .4s var(--ngf-ease), border-color .4s, box-shadow .4s;
}

.ngf-gs-card:hover { transform: translateY(-6px); border-color: rgba(201,168,76,.3); box-shadow: 0 24px 60px rgba(0,0,0,.4); }
.ngf-gs-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.ngf-gs-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ngf-ease); }
.ngf-gs-card:hover .ngf-gs-card__img-wrap img { transform: scale(1.04); }

.ngf-gs-card__info {
  padding: 1.5rem 1.8rem;
  flex: 1; /* 残りスペースを埋めてマップを常に下部に押し下げる */
}

.ngf-gs-card__brand { margin-bottom: .8rem; min-height: 28px; }

.ngf-gs-card__brand img {
  max-height: 28px;
  width: auto;
  object-fit: contain;
  /* ダーク背景上でロゴを自然に表示。
     もしロゴが極端に暗すぎる場合は brightness(1.15) に調整 */
  filter: brightness(1.0) drop-shadow(0 1px 4px rgba(0,0,0,.25));
}

.ngf-gs-card__name {
  font-family: var(--ngf-serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: #fff;
  margin: 0 0 .6rem;
}
.ngf-gs-card__name span { font-size: 13px; font-weight: 300; color: var(--ngf-gold-l); margin-left: .3em; }
.ngf-gs-card__address {
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.ngf-gs-card__address a { color: var(--ngf-gold-l); transition: color .2s; }
.ngf-gs-card__address a:hover { color: #fff; }
.ngf-hours-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 1rem; }
.ngf-hours-table th { width: 80px; text-align: left; padding: .35rem 0; color: var(--ngf-gold); letter-spacing: .06em; font-weight: 400; }
.ngf-hours-table td { color: rgba(255,255,255,.75); letter-spacing: .06em; }
.ngf-gs-card__map { border-top: 1px solid rgba(201,168,76,.1); }
.ngf-gs-card__map iframe { display: block; width: 100%; height: 200px; }

/* ─────────────────────────────────────────────
   11. STAFF
───────────────────────────────────────────── */

/* ──────────────────────────────
   スタッフ集合写真 — ヒーロー展示
   美術館の額縁 × Appleプロダクト写真の
   "余白と光" を参照したデザイン
────────────────────────────── */
.ngf-staff__hero {
  margin: 0 0 4rem;          /* セクションヘッダーとの距離感 */
  border-radius: 16px;
  overflow: hidden;
  position: relative;

  /* 多層シャドウ: 接地感 + 浮遊感の両立 */
  box-shadow:
    0 2px  4px  rgba(30,36,32,.04),
    0 8px  24px rgba(30,36,32,.09),
    0 24px 64px rgba(30,36,32,.07);

  /* 極細ゴールドフレーム（額縁効果） */
  outline: 1.5px solid rgba(201,168,76,.20);
  outline-offset: -1.5px;
}

.ngf-staff__hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1800 / 674;
  object-fit: cover;
  object-position: center 30%; /* スタッフの顔が確実に見えるよう上寄りに */
}

/* ──────────────────────────────
   テキスト × 作業シーン — 2カラム
────────────────────────────── */
.ngf-staff-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ngf-staff__catch {
  font-family: var(--ngf-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.7;
  color: var(--ngf-ink);
  margin-bottom: 1.2rem;
}

.ngf-staff__desc {
  font-size: 14.5px;
  color: var(--ngf-ink-m);
  line-height: 2;
  letter-spacing: .06em;
  margin-bottom: 1.8rem;
}

/* ──────────────────────────────
   作業シーン写真 — 右カラム
────────────────────────────── */
.ngf-staff__scene {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;

  /* 自然なアスペクト比で表示（画像実寸優先） */
  aspect-ratio: 4 / 3;       /* staff_image.webp が正方形に近い場合は 1/1 に変更 */

  /* 集合写真と対をなす影・フレーム */
  box-shadow:
    0 2px  4px  rgba(30,36,32,.05),
    0 8px  28px rgba(30,36,32,.10),
    0 20px 56px rgba(30,36,32,.07);
  outline: 1.5px solid rgba(201,168,76,.16);
  outline-offset: -1.5px;
}

.ngf-staff__scene img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform .6s var(--ngf-ease);
}

.ngf-staff__scene:hover img {
  transform: scale(1.03); /* ホバー時のわずかなズーム — 奥行き感の演出 */
}

/* ─────────────────────────────────────────────
   12. VEHICLE INSPECTION
───────────────────────────────────────────── */
.ngf-shaken-wrap { position: relative; overflow: hidden; }
.ngf-shaken__grain {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='ng'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23ng)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 180px; opacity: .5;
}
.ngf-shaken__accent {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 90% 20%, rgba(90,175,224,.04), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(201,168,76,.05), transparent 60%);
}
.ngf-benefits-title {
  text-align: center;
  font-family: var(--ngf-display);
  font-style: italic;
  font-size: 13px;
  letter-spacing: .32em;
  color: var(--ngf-gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.ngf-benefits-title::before, .ngf-benefits-title::after {
  content: ''; width: 40px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ngf-gold-d));
}
.ngf-benefits-title::after { background: linear-gradient(90deg, var(--ngf-gold-d), transparent); }
.ngf-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.ngf-benefit-card {
  position: relative;
  background: rgba(201,168,76,.06);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .4s var(--ngf-ease), background .4s, box-shadow .4s;
}
.ngf-benefit-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(160deg, rgba(201,168,76,.08), transparent 60%);
}
.ngf-benefit-card:hover { transform: translateY(-6px); background: rgba(201,168,76,.1); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.ngf-benefit-card__num {
  font-family: var(--ngf-display);
  font-style: italic;
  font-size: 4.5rem;
  color: rgba(201,168,76,.12);
  line-height: 1;
  position: absolute;
  top: -.4rem;
  right: .8rem;
  pointer-events: none;
  z-index: 0;
  transition: color .4s;
}
.ngf-benefit-card:hover .ngf-benefit-card__num { color: rgba(201,168,76,.22); }
.ngf-benefit-card__img-wrap {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.ngf-benefit-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ngf-benefit-card__body {
  padding: 1.4rem 1.5rem 1.5rem;
  position: relative;
  z-index: 1;
}
.ngf-benefit-card__title {
  font-family: var(--ngf-serif);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ngf-gold-l);
  margin-bottom: .6rem;
}
.ngf-benefit-card__desc { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .06em; line-height: 1.9; }
.ngf-benefit-card__desc strong { color: var(--ngf-gold-l); }
.ngf-benefit-card__note { font-size: 11px; color: rgba(255,255,255,.4); margin-top: .5rem; }
.ngf-shaken-copy {
  text-align: center;
  font-family: var(--ngf-serif);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: .1em;
  color: rgba(255,255,255,.8);
  margin-bottom: 1rem;
}
.ngf-shaken-copy strong { color: var(--ngf-gold-l); font-weight: 600; }
.ngf-maint-badges { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.5rem; }
.ngf-maint-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem 1rem;
  border-radius: 50px;
  background: rgba(139,171,110,.1);
  border: 1px solid rgba(139,171,110,.25);
  font-size: 12.5px;
  letter-spacing: .06em;
  color: rgba(139,171,110,.9);
}
.ngf-maint-badge::before { content: '✓'; color: #8BAB6E; font-size: 11px; }
.ngf-price-wrap {
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(201,168,76,.14);
  border-radius: 16px;
  overflow: hidden;
}
.ngf-price-wrap__header {
  padding: 1.2rem 1.8rem;
  background: rgba(201,168,76,.08);
  border-bottom: 1px solid rgba(201,168,76,.15);
  font-family: var(--ngf-serif);
  font-size: 1rem;
  letter-spacing: .12em;
  color: var(--ngf-gold-l);
}
.ngf-table-scroll {
  overflow-x: auto;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.ngf-table-scroll:active { cursor: grabbing; }
.ngf-price-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 13px;
}
.ngf-price-table thead th {
  padding: 1rem .8rem;
  font-family: var(--ngf-serif);
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid rgba(201,168,76,.12);
  text-align: center;
  font-size: 12px;
}
.ngf-price-table thead th:first-child { text-align: left; padding-left: 1.5rem; min-width: 140px; }
.ngf-price-table thead th small { display: block; font-size: 10.5px; font-weight: 300; color: rgba(255,255,255,.45); margin-top: .2rem; }
.ngf-price-table tbody tr { border-bottom: 1px solid rgba(255,255,255,.04); }
.ngf-price-table tbody tr:hover { background: rgba(255,255,255,.02); }
.ngf-price-table tbody th {
  padding: .85rem 1.5rem;
  text-align: left;
  font-family: var(--ngf-serif);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
}
.ngf-price-table tbody th small { display: block; font-size: 10.5px; color: rgba(255,255,255,.35); margin-top: .2rem; font-weight: 300; }
.ngf-price-table tbody td {
  padding: .85rem .8rem;
  text-align: center;
  font-family: var(--ngf-condensed);
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
}
.ngf-price-table__row--subtotal th { color: rgba(255,255,255,.85); font-weight: 500; background: rgba(255,255,255,.03); }
.ngf-price-table__row--subtotal td { font-weight: 600; color: #fff; background: rgba(255,255,255,.03); }
.ngf-price-table__row--total { background: rgba(201,168,76,.06); }
.ngf-price-table__row--total th { color: var(--ngf-gold-l); font-weight: 500; font-size: 13px; border-top: 1px solid rgba(201,168,76,.2); }
.ngf-price-table__row--total th small { font-size: 10.5px; color: rgba(255,255,255,.4); font-weight: 300; }
.ngf-price-table__row--total td { color: var(--ngf-gold-l); font-weight: 700; font-size: 15px; border-top: 1px solid rgba(201,168,76,.2); }
.ngf-table-notes {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,.08);
  font-size: 11.5px;
  color: rgba(255,255,255,.38);
  line-height: 2;
  letter-spacing: .06em;
}

/* ─────────────────────────────────────────────
   13. CAR WASH
───────────────────────────────────────────── */
.ngf-sensha-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.ngf-wash-table-wrap {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(30,36,32,.07);
}
.ngf-wash-table-wrap__header {
  padding: 1rem 1.5rem;
  background: var(--ngf-ink);
  font-family: var(--ngf-serif);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--ngf-gold-l);
}
.ngf-wash-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.ngf-wash-table thead th {
  padding: .7rem 1rem;
  background: var(--ngf-cream-d);
  font-family: var(--ngf-serif);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ngf-ink-m);
  border-bottom: 1px solid rgba(30,36,32,.08);
  text-align: center;
}
.ngf-wash-table thead th:first-child { text-align: left; }
.ngf-wash-table tbody tr { border-bottom: 1px solid rgba(30,36,32,.06); }
.ngf-wash-table tbody th { padding: .7rem 1rem; text-align: left; font-weight: 400; color: var(--ngf-ink); letter-spacing: .06em; }
.ngf-wash-table tbody td { padding: .7rem 1rem; text-align: center; font-family: var(--ngf-condensed); font-size: 14px; font-weight: 600; color: var(--ngf-ink); }
.ngf-wash-table__row--rec { background: rgba(201,168,76,.05); }
.ngf-wash-table__row--rec th { color: var(--ngf-gold-d); }
.ngf-badge-rec {
  display: inline-block;
  margin-left: .4rem;
  padding: .1rem .5rem;
  border-radius: 50px;
  font-size: 9.5px;
  background: var(--ngf-gold);
  color: var(--ngf-ink);
  font-weight: 700;
}
.ngf-wash-table__note { padding: .8rem 1rem; font-size: 11.5px; color: var(--ngf-ink-m); background: var(--ngf-cream-d); margin: 0; }
.ngf-silky-feature {
  background: linear-gradient(160deg, #1E2420, #2A3B30);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(201,168,76,.15);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.ngf-silky-feature__title {
  font-family: var(--ngf-serif);
  font-size: 1.2rem;
  letter-spacing: .12em;
  color: var(--ngf-gold-l);
  font-weight: 300;
}
.ngf-silky-feature__img-wrap { border-radius: 8px; overflow: hidden; }
.ngf-silky-feature__img-wrap img { width: 100%; height: auto; display: block; }
.ngf-silky-feature__desc { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 2; letter-spacing: .06em; }

/* ─────────────────────────────────────────────
   14. BUY & SELL
───────────────────────────────────────────── */
.ngf-calmart-cta { text-align: center; margin-bottom: 3rem; }
.ngf-calmart-btn {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 2.8rem;
  background: linear-gradient(135deg, #1a2e3d, #1e3a4f);
  border: 1px solid rgba(90,175,224,.3);
  border-radius: 12px;
  font-family: var(--ngf-serif);
  font-size: 15px;
  letter-spacing: .12em;
  color: #fff;
  min-height: 44px;
  transition: transform .3s var(--ngf-ease), box-shadow .3s, border-color .3s;
}
.ngf-calmart-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(90,175,224,.2); border-color: rgba(90,175,224,.5); }
.ngf-calmart-cta__sub { font-size: 12px; color: rgba(255,255,255,.45); letter-spacing: .1em; margin-top: .8rem; }
/* COMS */
.ngf-coms-box { background: linear-gradient(135deg, rgba(14,31,24,.9), rgba(20,36,24,.98)); border: 1px solid rgba(90,175,224,.2); border-radius: 20px; overflow: hidden; margin-bottom: 2.5rem; }
.ngf-coms-box__header { padding: 2rem 2rem 1.5rem; background: linear-gradient(90deg, rgba(90,175,224,.06), rgba(90,175,224,.02)); border-bottom: 1px solid rgba(90,175,224,.12); display: flex; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.ngf-coms-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .9rem; border-radius: 50px; background: rgba(90,175,224,.12); border: 1px solid rgba(90,175,224,.25); font-size: 11px; letter-spacing: .14em; color: var(--ngf-sky); font-family: var(--ngf-display); font-style: italic; white-space: nowrap; }
.ngf-coms-box__title { font-family: var(--ngf-serif); font-size: 1.35rem; letter-spacing: .12em; color: #fff; margin: .5rem 0 0; }
.ngf-coms-box__content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem; }
.ngf-coms-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ngf-coms-table tr { border-bottom: 1px solid rgba(255,255,255,.06); }
.ngf-coms-table th { padding: .75rem 0; width: 80px; text-align: left; color: var(--ngf-sky); letter-spacing: .08em; font-weight: 400; vertical-align: top; }
.ngf-coms-table td { padding: .75rem 0 .75rem 1rem; color: rgba(255,255,255,.72); letter-spacing: .06em; line-height: 1.85; }
.ngf-coms-table td strong { color: var(--ngf-sky); font-weight: 500; }
.ngf-coms-box__visual { display: flex; flex-direction: column; }
.ngf-coms-box__img-wrap { border-radius: 10px; overflow: hidden; }
.ngf-coms-box__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.ngf-coms-box__footer { padding: 1rem 2rem 1.5rem; display: flex; align-items: center; gap: 1rem; }
/* Sharaku Slider */
.ngf-sharaku { padding-top: 3rem; }
.ngf-sharaku__header { text-align: center; margin-bottom: 2rem; }
.ngf-sharaku__label { font-family: var(--ngf-display); font-style: italic; font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--ngf-gold); display: flex; align-items: center; justify-content: center; gap: .8rem; margin-bottom: .8rem; }
.ngf-sharaku__label::before, .ngf-sharaku__label::after { content: ''; width: 24px; height: 1px; background: var(--ngf-gold-d); }
.ngf-sharaku__title { font-family: var(--ngf-serif); font-size: clamp(1.25rem, 2.5vw, 1.85rem); font-weight: 300; letter-spacing: .1em; color: #fff; margin-bottom: .5rem; }
.ngf-sharaku__title strong { color: var(--ngf-gold-l); font-weight: 600; }
.ngf-sharaku__desc { font-size: 14px; color: rgba(255,255,255,.55); letter-spacing: .06em; line-height: 2; max-width: 600px; margin: 0 auto; }
.ngf-slider-wrap { position: relative; border-radius: 16px; overflow: hidden; background: #111; margin: 2rem 0; border: 1px solid rgba(201,168,76,.12); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.ngf-slider-viewport { overflow: hidden; }
.ngf-slider { display: flex; transition: transform .65s var(--ngf-ease); will-change: transform; }
.ngf-slide { flex: 0 0 100%; min-height: 320px; overflow: hidden; }
.ngf-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ngf-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(20,36,24,.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--ngf-gold-l);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, transform .25s var(--ngf-spring), border-color .25s;
  z-index: 10;
}
.ngf-slider-btn:hover { background: rgba(201,168,76,.2); border-color: var(--ngf-gold); transform: translateY(-50%) scale(1.1); }
.ngf-slider-btn--prev { left: 1rem; }
.ngf-slider-btn--next { right: 1rem; }
.ngf-slider-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .4rem; z-index: 10; }
.ngf-slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3); border: none; cursor: pointer;
  transition: background .3s, transform .3s var(--ngf-spring);
  min-width: 44px; /* wider tap target */
  min-height: 44px;
  padding: 18px 18px;
  background-clip: content-box;
}
.ngf-slider-dot.is-active { background: var(--ngf-gold); background-clip: content-box; transform: scale(1.3); }

/* ─────────────────────────────────────────────
   15. RECOMMEND
───────────────────────────────────────────── */
.ngf-osusume-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.ngf-osusume__catch {
  font-family: var(--ngf-serif);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: .08em;
  line-height: 1.9;
  color: var(--ngf-ink);
  margin-bottom: 1.5rem;
}

.ngf-tel-large {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin-bottom: 1.5rem;
}

.ngf-tel-large__label {
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ngf-ink-m);
}

.ngf-tel-large__number {
  font-family: var(--ngf-condensed);
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--ngf-ink);
}

/* お電話 + お問い合わせ — 中央揃えに変更 */
.ngf-tel-large {
  align-items: center;   /* 追加：flex方向の中央寄せ */
  text-align: center;    /* 追加 */
}

.ngf-tel-large__label {
  text-align: center;    /* 追加 */
}

.ngf-tel-large__number {
  text-align: center;    /* 追加 */
}

.ngf-osusume-layout > div:first-child {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;   /* ボタンも含めてすべて中央に */
}

/* ──────────────────────────────
   バナーエリア全体ラッパー
   横長4枚（左） + 縦長1枚（右）を横並び
────────────────────────────── */
.ngf-osusume__banner-wrap {
  display: grid;
  grid-template-columns: 1fr auto; /* 横長グリッドが伸縮、縦長は固定幅 */
  gap: 1rem;
  align-items: stretch;            /* 縦長バナーが4枚グリッドと同じ高さに */
}

/* 横長バナーグリッド */
.ngf-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 3列グリッドに変更 */
  gap: 12px;
  align-items: center;
}

.ngf-banner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1rem;
  background: #fff;
  border: 1px solid rgba(30,36,32,.08);
  border-radius: 8px;
  min-height: 60px;
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ngf-ease), box-shadow .25s;
}

.ngf-banner-item:hover {
  border-color: rgba(30,36,32,.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,36,32,.08);
}

.ngf-banner-item img {
  max-width: 100%;
  max-height: 38px;   /* 横長バナーの高さ統一 */
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ──────────────────────────────
   CALレント 縦長バナー
   白背景・縦長の特性を最大限に活かした右カラム表示
   768:1376 の縦長比率（≈1:1.79）を維持しつつ十分な視認性を確保する
────────────────────────────── */
.ngf-calrent-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;                     /* 96px → 150px に拡大（視認性の確保） */
  aspect-ratio: 768 / 1376;         /* 画像本来の縦長比率をコンテナに付与 */
  align-self: start;                /* stretchを解除し、比率どおりの高さを維持 */
  padding: .75rem .6rem;
  background: #fff;
  border: 1px solid rgba(30,36,32,.08);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .25s, transform .25s var(--ngf-ease), box-shadow .25s;
}

.ngf-calrent-banner:hover {
  border-color: rgba(30,36,32,.25);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,36,32,.08);
}

.ngf-calrent-banner img {
  width: 100%;    /* コンテナ幅いっぱいに展開 */
  height: auto;   /* 縦長比率を自然に保持（768:1376 ≈ 1:1.79） */
  object-fit: contain;
  display: block;
}

/* ─────────────────────────────────────────────
   16. CAR KNOWLEDGE (wrapper)
───────────────────────────────────────────── */
.ngf-knowledge { background: #07070f; }
.ngf-knowledge .ngf-section-en { color: #c8993a; }
.ngf-knowledge .ngf-section-title { color: #f2ece4; }

/* ─────────────────────────────────────────────
   17. COMPANY / TIMELINE
───────────────────────────────────────────── */
.ngf-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.ngf-profile-subtitle { font-family: var(--ngf-serif); font-size: 1rem; font-weight: 400; letter-spacing: .16em; color: var(--ngf-gold-d); margin-bottom: 1.2rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(201,168,76,.15); }
.ngf-data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ngf-data-table tr { border-bottom: 1px solid rgba(30,36,32,.06); }
.ngf-data-table th { padding: .85rem 0; width: 100px; text-align: left; font-weight: 400; color: var(--ngf-gold-d); letter-spacing: .06em; vertical-align: top; }
.ngf-data-table td { padding: .85rem 0 .85rem 1rem; color: var(--ngf-ink-m); letter-spacing: .05em; line-height: 1.85; }
.ngf-data-table td a { color: var(--ngf-sky-d); }
.ngf-timeline { display: flex; flex-direction: column; }
.ngf-tl-item { display: flex; gap: 1.2rem; padding-bottom: 2rem; }
.ngf-tl-item:last-child { padding-bottom: 0; }
.ngf-tl-item__left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.ngf-tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ngf-gold); box-shadow: 0 0 0 4px rgba(201,168,76,.15); flex-shrink: 0; }
.ngf-tl-line { flex: 1; width: 1px; background: rgba(201,168,76,.15); margin-top: .3rem; }
.ngf-tl-item:last-child .ngf-tl-line { display: none; }
.ngf-tl-title { font-family: var(--ngf-serif); font-size: 15px; font-weight: 500; color: var(--ngf-ink); letter-spacing: .08em; margin-bottom: .3rem; }
.ngf-tl-year { color: var(--ngf-gold-d); font-size: 13px; margin-left: .5rem; }
.ngf-tl-text { font-size: 13px; color: var(--ngf-ink-m); line-height: 1.9; letter-spacing: .05em; }

/* ─────────────────────────────────────────────
   18. CONTACT
───────────────────────────────────────────── */
.ngf-contact-inner { max-width: 720px; margin: 0 auto; }
.ngf-contact-lead { text-align: center; font-size: 15px; color: rgba(255,255,255,.6); letter-spacing: .06em; line-height: 2; margin-bottom: 2.5rem; }
.ngf-cf7-wrap { padding: 2rem; background: rgba(255,255,255,.03); border: 1px solid rgba(201,168,76,.1); border-radius: 12px; }

/* ─────────────────────────────────────────────
   FRONT-PAGE CONTACT FORM SCOPE
   nagasou-contact の .ngc-form-card/.ngc-form-notice を
   フロントページでも有効化するためのスコープ指定
───────────────────────────────────────────── */

/* form-card / form-notice をフロントページにも適用 */
.ngf-contact-inner .ngc-form-card,
.ngf-contact-inner .ngc-form-notice {
  /* nagasou-contact.css で定義済みのためここでは空 */
  /* nagasou-contact.css を wp_enqueue_scripts で読込すること */
}

/* ─── スマホ折り返し最適化 ─── */
.ngf-contact-notice-text {
  display: inline;
}

@media (max-width: 600px) {
  .ngf-contact-notice-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    line-height: 1.9;
  }
  .ngf-notice-break {
    display: block;
  }
}

/* ─────────────────────────────────────────────
   19. PAGE TOP BUTTON
───────────────────────────────────────────── */
.ngf-page-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 800;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,.4);
  background: rgba(20,36,24,.85);
  backdrop-filter: blur(8px);
  color: var(--ngf-gold-l);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s, transform .4s var(--ngf-spring), background .25s, border-color .25s;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.ngf-page-top.is-visible { opacity: 1; pointer-events: auto; }
.ngf-page-top:hover { transform: translateY(-4px) scale(1.06); background: rgba(201,168,76,.15); border-color: var(--ngf-gold); }
.ngf-page-top__arrow {
  display: block;
  width: 16px; height: 16px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(-45deg) translate(2px, 2px);
}
.ngf-page-top__text {
  font-family: var(--ngf-display);
  font-style: italic;
  font-size: 8px;
  letter-spacing: .15em;
  color: var(--ngf-gold);
  opacity: .8;
}

/* ─────────────────────────────────────────────
   20-A. WORDPRESS ADMIN BAR COMPENSATION
         管理バー表示時の固定ヘッダー・ヒーロー補正
───────────────────────────────────────────── */

/* デスクトップ: 管理バー高さ 32px */
.admin-bar .nagasou-header {
  top: 32px;
}

.admin-bar .nagasou-mobile-menu {
  top: 32px;
}

/* Hero: 管理バー分だけ min-height を補正 */
.admin-bar #ngf-hero {
  min-height: calc(600px - 32px);
}

/* モバイル: 管理バー高さ 46px */
@media screen and (max-width: 782px) {
  .admin-bar .nagasou-header {
    top: 46px;
  }
  .admin-bar .nagasou-mobile-menu {
    top: 46px;
  }
  .admin-bar #ngf-hero {
    min-height: calc(600px - 46px);
  }
}

/* ─────────────────────────────────────────────
   20. RESPONSIVE
───────────────────────────────────────────── */
/* Tablet */
@media (max-width: 1024px) {
  :root { --ngf-section-py: 64px; }
  .ngf-gs-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .ngf-coms-box__content { grid-template-columns: 1fr; }
  .ngf-benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .ngf-profile-grid { grid-template-columns: 1fr; gap: 3rem; }
	
  .ngf-osusume-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  /* タブレット以下: バナーエリアはそのまま横並びを維持（幅に余裕あり） */
	
  .ngf-calrent-banner {
  width: 130px;  /* 88px → 130px（タブレット幅でも十分な視認性） */
  }
	
  .ngf-sensha-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ngf-staff__hero { margin-bottom: 3rem; }
  .ngf-staff-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  /* タブレット以下: 作業シーン写真をテキスト下・中央揃えで表示 */
  .ngf-staff__scene {
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 4 / 3;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --ngf-section-py: 52px; }
  .ngf-hero__actions { flex-direction: column; align-items: center; }
  .ngf-benefits-grid { grid-template-columns: 1fr; gap: .8rem; }
  .ngf-slide { min-height: 240px; }
  .ngf-lp-link { flex-direction: column; gap: 1rem; }
  .ngf-page-top { bottom: 1.2rem; right: 1.2rem; width: 44px; height: 44px; }
  .ngf-slider-btn { width: 40px; height: 40px; }
  .ngf-slider-btn--prev { left: .6rem; }
  .ngf-slider-btn--next { right: .6rem; }

  .ngf-banner-grid {
    grid-template-columns: repeat(2, 1fr);  /* 2列 */
  }
  /* 3番目のアイテム(JAUC)を中央寄せ */
  .ngf-banner-grid .ngf-banner-item:last-child {
    grid-column: 1 / -1;
    max-width: 240px;
    margin: 0 auto;
  }

/* スタッフ集合写真: モバイルでは border-radius を少し小さく */
  .ngf-staff__hero {
    border-radius: 10px;
    margin-bottom: 2.5rem;
  }
  .ngf-staff__scene {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }	

/* ─────────────────────────────
     モバイル: 横長4枚（左列 1列積み） + CALレント（右列 縦長）
     「一列表示 + 縦長バナー右配置」を両立させる2カラム構成
  ───────────────────────────────── */

  /* バナーエリア全体: 左列（横長4枚）＋右列（CALレント）の2列グリッドを維持 */
  .ngf-osusume__banner-wrap {
    grid-template-columns: 1fr 90px; /* 横長グリッド伸縮 + CALレント固定90px */
    gap: .5rem;                      /* モバイルは余白をやや絞る */
    align-items: stretch;            /* 両列を同じ高さに揃える */
  }

  /* 横長4枚: 2列→1列に変更（要件：一列で並ぶ） */
  .ngf-banner-grid {
    grid-template-columns: 1fr;      /* 1列 × 4行 */
    gap: .5rem;
  }

  /* 横長バナー各アイテム: モバイル1列幅に最適化 */
  .ngf-banner-item {
    min-height: 52px;                /* タップ領域 44px 以上を確保（WCAG 2.5.5） */
    padding: .55rem .8rem;
  }

  .ngf-banner-item img {
    max-height: 30px;                /* 1列表示での高さ統一 */
  }

  /* CALレント: 左列全高に伸長し、縦長バナーとして視認性を最大化 */
  .ngf-calrent-banner {
    width: 90px;                     /* モバイル固定幅 */
    height: auto;
    aspect-ratio: unset;             /* PCの aspect-ratio 指定をリセット */
    align-self: stretch;             /* 左列（4バナー分）の高さに伸長 */
    padding: .5rem .4rem;
  }

  .ngf-calrent-banner img {
    width: 100%;
    height: 100%;
    max-height: none;                /* PCの制限値をリセット */
    object-fit: contain;            /* 縦長比率を維持して充填 */
  }	

}

/* Small Mobile */
@media (max-width: 480px) {
  .ngf-hero__title { font-size: 2rem; }
  .ngf-price-table { font-size: 11.5px; }
  .ngf-sensha-grid { grid-template-columns: 1fr; }
  .ngf-section-header { margin-bottom: 2.5rem; }
	
  .ngf-osusume__banner-wrap {
    grid-template-columns: 1fr 80px; /* さらに小さい端末ではCALレントを80pxに */
  }	

  .ngf-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ngf-banner-grid .ngf-banner-item:last-child {
    grid-column: 1 / -1;
    max-width: 200px;
  }

}

/* Body scroll lock */
body.ngf-scroll-lock { overflow: hidden; touch-action: none; }
