/*
  フォント代替ルール:
  あおとゴシック StdN  → 'Zen Kaku Gothic New' (weight:900)
  こぶりなゴシック Std → 'Noto Sans JP'
  Helvetica Neue LT Std → 'Inter'
  Futura               → 'Josefin Sans'
*/

:root {
  --primary-color: #005bab;
  --primary-light: #2cb5a9;
  --gradient-primary: linear-gradient(90deg, #2cb5a9, #005bab);
  --gradient-secondary: linear-gradient(90deg, #ffd700, #ffaf32);
  --accent-color: #ffc819;
  --red-color: #c1272d;
  --text-black: #000000;
  --text-main: #333333;
  --text-gray: #666666;
  --text-gray02: #999999;
  --bg-light: #f2f2f2;
  --bg-light02: #e6e6e6;
  --bg-white: #ffffff;
  --bg-footer: #333333;
  --font-h1: 56px;
  --font-h2: 32px;
  --font-h3: 28px;
  --font-h4: 24px;
  --font-h5: 20px;
  --font-h6: 18px;
  --font-body-large: 22px;
  --font-body: 18px;
  --font-body-small: 16px;
  --font-note: 14px;
  --max-width: 1120px;
  --section-margin: 104px;
  /* font families */
  --font-fv: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-btn-en: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-deco-en: 'Josefin Sans', 'Futura', Arial, sans-serif;
}

/* ============================================
   レスポンシブ CSS変数オーバーライド
   ============================================ */
@media (max-width: 768px) {
  :root {
    --font-h1: 40px;
    --font-h2: 26px;
    --font-h3: 24px;
    --font-h4: 22px;
    --font-h5: 20px;
    --font-h6: 18px;
    --font-body-large: 20px;
    --font-body: 17px;
    --font-body-small: 15px;
    --font-note: 13px;
    --section-margin: 80px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-h1: 32px;
    --font-h2: 24px;
    --font-h3: 22px;
    --font-h4: 20px;
    --font-h5: 18px;
    --font-h6: 16px;
    --font-body-large: 18px;
    --font-body: 16px;
    --font-body-small: 14px;
    --font-note: 12px;
    --section-margin: 64px;
  }
}

* {
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
  font-size: var(--font-body);
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0;
  padding: 0;
  background-color: var(--bg-white);
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

h1,
.h1 {
  font-size: var(--font-h1);
  font-weight: 700;
  line-height: 1.3;
}

h2,
.h2 {
  font-size: var(--font-h2);
  font-weight: 700;
}

h3,
.h3 {
  font-size: var(--font-h3);
  font-weight: 700;
}

h4,
.h4 {
  font-size: var(--font-h4);
  font-weight: 700;
}
h5,
.h5 {
  font-size: var(--font-h5);
  font-weight: 600;
}

p {
  font-size: var(--font-body);
}

.text-small {
  font-size: var(--font-body-small);
}

.text-note {
  font-size: var(--font-note);
  margin: 0;
  padding-left: 1em;
}

.hanging-item {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #fff;
}

.text-gray {
  color: var(--text-gray);
}

.text-black {
  color: var(--text-black);
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.w-100 {
  width: 100%;
}

.max-w-400 {
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

.ml-20 {
  margin-left: 20px;
}

.relative {
  position: relative;
}

.bg-light {
  background-color: var(--bg-light);
}

/* ============================================
   表示切替ユーティリティ
   PC: 769px〜 / タブレット: 481〜768px / SP: 〜480px
   ============================================ */

/* ブロック要素の表示切替 */
.pc-only {
  display: block;
}

.tb-only {
  display: none;
}

.sp-only {
  display: none;
}

.pc-tb-only {
  display: block;
}

.tb-sp-only {
  display: none;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .tb-only {
    display: block;
  }

  .pc-tb-only {
    display: block;
  }

  .tb-sp-only {
    display: block;
  }
}

@media (max-width: 480px) {
  .tb-only {
    display: none;
  }

  .sp-only {
    display: block;
  }

  .pc-tb-only {
    display: none;
  }
}

/* 改行の表示切替（<br class="br-sp"> のように使用） */
.br-pc {
  display: inline;
}

.br-tb {
  display: none;
}

.br-sp {
  display: none;
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }

  .br-tb {
    display: inline;
  }
}

@media (max-width: 480px) {
  .br-tb {
    display: none;
  }

  .br-sp {
    display: inline;
  }
}

/* 各ブレイクポイントでの改行の表示切替（<br class="br-sp"> のように使用） */
.br-970,
.br-920,
.br-910 {
  display: none;
}

@media (max-width: 970px) {
  .br-970 {
    display: inline;
  }
}

@media (max-width: 920px) {
  .br-920 {
    display: inline;
  }
}

@media (max-width: 910px) {
  .br-910 {
    display: inline;
  }
}

@media (max-width: 850px) {
  .br-850 {
    display: none;
  }
}

#vehicle-maintenance {
  background: var(--gradient-primary);
}

#vehicle-maintenance .text-container {
  color: var(--bg-white);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 min(3%, 34px);
}

.section {
  padding-top: var(--section-margin);
  padding-bottom: var(--section-margin);
}

/* =========================================
   セクション 黄色アクセントバー（左右交互）
   #primary の直下 section の奇数→左、偶数→右
   ========================================= */
#primary>section {
  position: relative;
}

#primary>section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2%;
  background: var(--accent-color);
  z-index: 2;
}

/* #primary>section.mt-min::after {
  top: 0;
} */

#primary>.accent-left::after {
  left: 0;
  right: auto;
}

#primary>.accent-right::after {
  right: 0;
  left: auto;
}

/* ヒーローはアクセントなし */
#primary>.hero-section::after {
  content: none;
}

/* hero::before 右端の白い縦線 */
#primary>.hero-section::after {
  content: '';
  display: block;
  position: absolute;
  right: 2.5%;
  top: 0;
  width: 2px;
  height: 40vh;
  background: #ffffff;
  z-index: 0;
}

/* =========================================
   ユニバーサルグリッド
   使い方: <ul class="grid cols-3">
           <div class="grid cols-2 gap-lg">
   ========================================= */
.grid {
  display: grid;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gap-sm {
  gap: 16px;
}

.gap-lg {
  gap: 40px;
}

/* タブレット (≤1024px) */
@media (max-width: 1024px) {
  .cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* タブレット縦 (≤768px) */
@media (max-width: 768px) {
  .cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ (≤480px) */
@media (max-width: 480px) {

  .cols-2,
  .cols-3,
  .cols-4 {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 48px;
  border-radius: 40px;
  font-size: 16px;
  font-weight: bold;
  font-family: var(--font-ja);
  letter-spacing: 0.05em;
  line-height: 1.2;
  cursor: pointer;
  width: 480px;
  max-width: 100%;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  text-decoration: none;
  min-height: 68px;
}
@media screen and (max-width: 480px) {
  .btn {
    min-height: 62px;
  }
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* full-width のとき矢印を右端へ */
.btn.w-100 {
  justify-content: space-between;
}

.btn-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================
   ボタンシステム
   使い方:
     <a class="btn primary-btn" href="#">
       テキスト<span class="btn-arrow-icon"></span>
     </a>
     左アイコンあり:
     <a class="btn primary-btn has-icon" href="#">
       <span class="btn-icon"><img src="..." alt=""></span>
       テキスト<span class="btn-arrow-icon"></span>
     </a>
   ============================================ */

/* 3 variants 共通：position: relative でアイコンの基準に */
.primary-btn,
.secondary-btn,
.tertiary-btn {
  position: relative;
  /* 右: 矢印circle(28px) + 余白 = 64px / 左: 28px */
  padding: 16px 64px 16px 28px;
  gap: 0;
}

/* --- Primary: グラデーション背景 --- */
.primary-btn {
  background: var(--gradient-primary);
  color: #fff;
}

/* --- Secondary: 黄色背景 --- */
.secondary-btn {
  background: var(--gradient-secondary);
  color: var(--text-black);
}

/* --- Tertiary: 白背景 + グレーボーダー --- */
.tertiary-btn {
  background: #fff;
  color: var(--text-black);
  border: 2px solid #999999;
}

.tertiary-btn:hover {
  background: var(--bg-light);
  opacity: 1;
  transform: translateY(-1px);
}

/* --- 右矢印アイコン：absolute で右端固定 --- */
.btn-arrow-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
}

.btn-arrow-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 12px;
  background: var(--primary-color);
  -webkit-mask: url('../images/arrow-right.svg') center / contain no-repeat;
  mask: url('../images/arrow-right.svg') center / contain no-repeat;
}

/* Tertiary: 丸はアクセント・矢印は白 */
.tertiary-btn .btn-arrow-icon {
  background: var(--accent-color);
}

.tertiary-btn .btn-arrow-icon::after {
  background: #fff;
}

/* --- 左アイコン：absolute で左端固定（has-icon 付与時） --- */
.btn.has-icon {
  /* 左: アイコン右端(58px) + 余白10px = 68px */
  padding-left: 68px;
  white-space: nowrap;
}

.btn.has-icon .btn-icon {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn.has-icon .btn-icon img {
  width: 100%;
  height: auto;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #084c8a;
}

.btn-accent {
  background-color: var(--accent-color);
  color: #000;
}

.btn-accent:hover {
  background-color: #e09f19;
}

/* Phone number button */
.contact-buttons .btn.phone-btn {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: 28px;
  letter-spacing: 0.12em;
  font-feature-settings: "fwid" 1;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
  width: 100%;
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .section-title {
    margin-bottom: 24px;
  }
}

.section-title.color-white {
  color: #fff;
}

.section-title .section-title-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 線は .ja の右に常に表示 */
.section-title .section-title-inner .ja {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* @media (max-width: 480px) {
  .section-title .section-title-inner .ja {
    font-size: 18px;
  }
} */

.section-title .section-title-inner .ja::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gradient-primary);
}

.section-title.color-white .section-title-inner .ja::after {
  background: var(--bg-white);
}

.section-title .desc {
  font-weight: 600;
}

.text-container {
  margin-bottom: 40px;
}

/* カード内部レイアウト（幅はグリッドが制御するため width 指定なし） */
.section-flex-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vehicle-maintenance-item {
  background-color: var(--bg-white);
  padding: 32px 16px;
  border-radius: 16px;
  border: 1px solid #999999;
}

.vehicle-maintenance-item .vehicle-img {
  width: 104px;
  margin: 0 auto;
}

.title-bar {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  text-align: center;
  background: var(--gradient-primary);
  color: #fff;
}

/* About カード：背景画像 + 乗算グラデーションオーバーレイ */
.overlay-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 200px;
  padding: 32px 12px;
  justify-content: center;
}

.overlay-card:first-child {
  border: 4px solid transparent;
  background: linear-gradient(#f2f2f2, #f2f2f2) padding-box,
    linear-gradient(90deg, #2cb5a9, #005bab) border-box;
}

.overlay-card:first-child .overlay-card__title {
  color: #000;
  text-align: left;
  width: fit-content;
  margin: 0 auto;
}

.overlay-card .card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.overlay-card .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay-card .card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  mix-blend-mode: multiply;
}

.overlay-card .overlay-card__title,
.overlay-card .overlay-card__desc {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

@media (max-width: 480px) {
  .overlay-card .overlay-card__title {
    font-size: 22px;
  }
}

/* Utilities for Mocks */
.mock-img {
  background-color: #ddd;
  background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee), linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.mock-icon {
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  margin: 0 auto 20px;
}

/*Header */


/* Hero Section */
.hero-section {
  background-image: linear-gradient(135deg, #2cb5a9, #005bab);
  min-height: max(100vh, 760px);
  display: flex;
  align-items: center;
  position: relative;
}

.fkv-parumo-obj {
  position: absolute;
  bottom: 6%;
  right: 1%;
  width: 12px;
  z-index: 11;
}

@media (max-width: 480px) {
  .fkv-parumo-obj {
    bottom: 1%;
    width: 8px;
  }
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 85vh;
  min-height: 646px;
  background-image: url(../images/fkv-img.webp);
  background-size: cover;
  background-position: center;
  border-bottom-right-radius: 80px;
  z-index: 10;
}

.hero-inner {
  width: 100%;
  max-width: 100%;
  padding: 0 0 0 4%;
  position: relative;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-est {
  display: inline-block;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-ja);
  border: 2px solid var(--accent-color);
  padding: 4px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.hero-title {
  color: #fff;
  font-size: clamp(28px, 4.8vw, 64px);
  font-family: var(--font-fv);
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 12px;
  line-height: 1.6;
}

.hero-year {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-feature-settings: "fwid" 1;
  letter-spacing: 0.1em;
}

.hero-en {
  color: var(--bg-white);
  font-size: 20px;
  font-family: var(--font-deco-en);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-top: 0;
}

.hero-search-panel {
  position: relative;
  background: #fff;
  border-radius: 12px 0 0 12px;
  width: 380px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.car-obj {
  position: absolute;
  height: 80px;
  top: -80px;
  left: 20px;
}

.car-obj img {
  height: 100%;
  width: auto;
}

.search-tabs {
  display: flex;
}

.search-tabs button {
  flex: 1;
  padding: 15px;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}

.search-tabs button.active {
  background: #fff;
  color: var(--primary-color);
}

.search-form-mock {
  padding: 20px;
}

/* FV CTA Panel */
.fv-cta {
  padding: 16px 20px 20px;
  display: grid;
  gap: 16px;
}

/* 決済方法 */
.fv-payment-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-black);
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.fv-payment-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.fv-payment-icons img {
  width: 15%;
}
.fv-payment-icons .diners-card-img {
  width: 13%;
}

/* インフォグリッド */
.fv-info-flex {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.fv-info-row {
  background: var(--gradient-primary);
  width: calc(50% - 4px);
  border: 1px solid #000;
  border-radius: 16px;
  color: var(--bg-white);
  padding: 12px 10px;
  align-items: center;
  line-height: 1.6;
  text-align: center;
}

.fv-info-row:last-child {
  border-bottom: none;
}

.fv-info-label {
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

/* CTA Button */
/* .fv-cta-btn {
  min-height: 52px;
}
@media screen and (max-width: 480px) {
  .fv-cta-btn {
    min-height: 42px;
  }
} */

/* ============================================================
   Hero Section レスポンシブ
   ============================================================ */

/* ハンバーガー対応（890px以下）：縦積みレイアウトに */
@media (max-width: 890px) {
  .hero-section {
    height: auto;
    padding-bottom: 40px;
  }

  .hero-section::before {
    width: 100%;
    height: 60vh;
    border-bottom-right-radius: 0;
  }

  #primary>.hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: auto;
    top: 60vh;
    bottom: 0;
    height: auto;
    width: 2%;
    background: var(--accent-color);
    z-index: 2;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 100px 3% 0;
  }

  .hero-content {
    padding-bottom: 32px;
  }

  .hero-search-panel {
    width: 96%;
    margin: 0 auto;
    border-radius: 12px;
  }

  .car-obj {
    display: none;
  }
}

/* タブレット (768px以下)：フォントサイズ・間隔調整 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
    line-height: 1.8;
  }

  .hero-en {
    font-size: 15px;
  }

  .fv-info-row {
    width: calc(33.333% - 6px);
  }
}

/* 2カラムヒーロー域 (769px〜1020px) 流動フォントサイズ */
@media (min-width: 769px) and (max-width: 1020px) {
  .hero-title {
    font-size: clamp(24px, 3vw, 36px);
  }
}

/* スマホ (480px以下) */
@media (max-width: 480px) {
  .hero-section::before {
    height: 55vh;
  }

  #primary>.hero-section::after {
    top: 55vh;
  }

  .hero-inner {
    padding-top: 120px;
  }

  .hero-title {
    font-size: 28px;
  }

  .fv-info-row {
    padding: 12px 14px;
    width: calc(50% - 4px);
  }

  /* .fv-info-label {
    font-size: 12px;
  } */

  .fv-payment-icons img {
    width: 14%;
  }
}

.search-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mock-btn {
  background: var(--bg-light);
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 4px;
  cursor: pointer;
}

/* Achievements：FV直下はヒーローに重ねる */
/* margin-top ユーティリティ */
.mt-min {
  margin-top: -120px;
}

/* ヒーロー直後などのオーバーラップ用 */
.mt-plus {
  margin-top: 0;
}

/* ページ下部など通常配置用 */

@media (max-width: 890px) {
  .mt-min {
    margin-top: 0;
  }
}

/* PC: 各セクションの黄色線を FV 写真下端まで延伸 */
@media (min-width: 891px) {
  #primary > section.achievements-section.mt-min::after {
    top: calc(120px - 100vh);
  }
  #primary > section.contact-intro-section.mt-min::after {
    top: calc(120px - 100vh);
  }
  #primary > section.error-404-section::after {
    top: calc(120px - 100vh);
  }
}

.achievement-banner {
  background: var(--accent-color);
  color: var(--text-black);
  padding: 0 40px 12px;
  border-radius: 20px;
  border: 2px solid var(--primary-color);
  margin-top: -64px;
  position: relative;
  z-index: 10;
  margin-bottom: 40px;
  overflow: visible;
}

/* Rental & Lease Section */
.rental-section {
  background: var(--gradient-primary);
  padding: 0;
}

.rental-section .car-price-value {
  width: 144px;
}

.rental-section .car-name {
  color: var(--text-black);
}

.rental-content {
  background: var(--bg-light);
  /* この2つセット */
  margin-right: 2%;
  padding-left: 2%;
  padding: var(--section-margin) 0;
}

.rental-section .car-card {
  padding: 40px 16px;
}

.rental-section .car-image {
  height: 184px;
  width: auto;
  margin: 0 auto;
}

.rental-section .car-image img {
  object-fit: contain;
}

.rental-section .car-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rental-section .car-name {
  font-weight: 700;
  margin: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid #000;
}

.rental-section .car-price {
  justify-content: flex-end;
}

/* ---- rental-section レスポンシブ ---- */
@media (max-width: 980px) {
  .rental-section .car-price-value {
    width: 96px;
  }
}
/* ---- rental-section レスポンシブ ---- */
@media (max-width: 1010px) {
  .rental-section .car-image {
    height: 144px;
    margin: 0 auto;
  }
}
@media (max-width: 880px) {
  .rental-section .car-image {
    height: 120px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .rental-section .car-image {
    height: 160px;
    margin: 0 auto;
  }
}
@media (max-width: 620px) {
  .rental-section .car-image {
    height: 120px;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .rental-section .car-image {
    height: 188px;
    margin: 0 auto;
  }
}

/* ---- rental-section レスポンシブ ---- */
@media (max-width: 768px) {

  /* grid列数はグローバルルール（repeat(3,1fr)）に委ねる */
  .rental-section .car-card {
    padding: 16px 10px;
  }

  .rental-section .car-image {
    /* height: 80px; */
    margin: 0 auto;
  }

  .rental-section .car-name {
    font-size: 13px;
    padding-bottom: 10px;
  }

  .rental-section .car-price-value {
    width: 104px;
  }
}

/* New Car Section */
#cars .car-image {
  height: auto;
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--text-black);
  border-radius: 8px;
}

/* バナー内コンテンツ：ロゴ・テキストを下揃えで横並び */
.banner__inner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  padding-top: 40px;
}

/* PC・タブレットでは banner-row を透過させて横一列を維持 */
.banner-row {
  display: contents;
}

.banner-logo {
  height: 48px;
  flex-shrink: 0;
}

.banner-logo img {
  height: 100%;
  width: auto;
}

.banner-text {
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  padding-bottom: 8px;
}

/* 60,000画像：バナー上部にはみ出してインパクトを出す */
.achievement-number {
  width: 360px;
  flex-shrink: 0;
  margin-top: -80px;
  margin-bottom: 0;
}

.achievement-number img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-caution .text-note {
  text-align: right;
  margin: 4px 0 0;
  padding-left: 0;
  text-indent: 0;
}

/* タブレット・スマホ：縦並びに切り替え */
@media (max-width: 1040px) {
  .banner__inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
  }

  .banner-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
  }

  .banner-row--number {
    /* flex-direction: column; */
    /* align-items: center; */
    gap: 4px;
  }

  .banner-row--number .banner-text {
    font-size: 18px;
  }

  .achievement-number {
    width: 280px;
    margin-top: 0;
  }

  .banner-logo {
    height: 38px;
  }

  .banner-text {
    font-size: 20px;
  }

  .banner-caution .text-note {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .banner-caution .text-note {
    font-size: 12px;
  }
  .achievement-number {
    width: 200px;
  }

  .banner-logo {
    height: 28px;
  }

  .banner-text {
    font-size: 16px;
  }

  .achievement-banner {
    padding: 0 0px 12px;
    margin-top: 0;
    margin-bottom: 24px;
  }
}

/* カードグリッド */
.achievements-flex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* グラデーション背景セクション内：白カード */
.achievements-section.bg-gradient {
  padding-top: 48px;
  padding-bottom: 48px;
}

#primary>section.gradient-and-bg {
  padding: 0;
}

#primary>section.no-accent::after {
  content: '';
  position: unset;
  background: none;
}

.gradient-back-wrap {
  background: #fff;
  margin: 0 2%;
  padding: var(--section-margin) 0;
}

#nav-to-sub .gradient-back-wrap {
  padding-top: 0;
}

.border-radius-bottom {
  border-radius: 0 0 16px 16px;
}

/* .achievements-section.bg-gradient .achievements-flex {
  background: #fff;
} */

.achievement-card {
  position: relative;
  border-radius: 16px;
  border: 2px solid transparent;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: #222;
  flex: 1;
  min-height: 280px;
  padding: 56px 16px;
  transition: opacity 0.25s ease;
}

.navigate-to-other .achievement-card {
  background: linear-gradient(#222, #222) padding-box, var(--gradient-primary) border-box;
}

.navigate-to-other .achievement-card:hover {
  opacity: 0.8;
}

.achievement-card:nth-child(odd) .card-text {
  padding-top: 20px;
}


/* 背景画像：imgに直接opacityをかけてdiv全体には影響させない */
.achievement-card .card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.achievement-card .card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

/* テキストコンテナ */
.card-text-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 24px;
}

.card-title {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px;
  width: fit-content;
  text-align: center;
}

.achievement-card .card-text {
  color: #fff;
  font-weight: 500;
  font-size: var(--font-body-large);
  text-align: center;
  margin: 0;
}

.vehicle-desc {
  font-size: 15px;
  width: fit-content;
  text-align: left;
  margin: 0 auto;
  align-self: center;
}

.vehicle-desc ul {
  list-style: disc;
  padding-left: 24px;
}

/* 価格表示 */
.card-text-price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.card-text-price .price {
  width: 176px;
  flex-shrink: 0;
  line-height: 0;
}

.card-text-price .price img {
  width: 100%;
  height: auto;
}

.card-text-price .card-text-price-label {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
  padding-bottom: 2px;
}

/* Concept */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.concept-card {
  text-align: center;
}

.concept-image {
  height: 200px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Cars Grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cars-grid.col-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1110px) {
  .cars-grid.col-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 880px) {
  .cars-grid.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cars-grid.col-4 {
    grid-template-columns: 1fr;
  }
}

/* 既存グリッドのレスポンシブ（ユニバーサルグリッドと同じ挙動） */
@media (max-width: 1080px) {

  /* 実績カードタイトル改行防止 */
  .card-title {
    font-size: 26px;
  }
}

/* 既存グリッドのレスポンシブ（ユニバーサルグリッドと同じ挙動） */
@media (max-width: 1024px) {

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 実績カードタイトル改行防止 */
  .card-title {
    font-size: 22px;
  }
  
  /* フローカードタイトル改行防止 */
  .rental-flow-card {
    padding: 32px 16px;
  }
  
  .card-text-price .price {
    width: 144px;
  }
}

@media (max-width: 970px) {
  .achievement-card {
    padding: 40px 4px;
  }
  /* 実績カードタイトル改行防止 */
  .card-title {
    font-size: 22px;
  }
}
@media (max-width: 900px) {
  .achievements-flex {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .achievements-flex,
  .concept-grid,
  .cars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-title {
    font-size: 24px;
  }

  .card-text-container {
    gap: 16px;
  }

  .card-text-price .price {
    width: 136px;
  }

  .card-text-price-label {
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .card-title {
    font-size: 20px;
  }
  .achievements-flex.navigate-to-other {
    grid-template-columns: 1fr;
  }
  .card-text-price .price {
    width: 144px;
  }
}

@media (max-width: 560px) {
  .card-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {

  .achievement-card {
    align-items: center;
  }

  .achievement-card .card-text {
    font-size: 20px;
    font-weight: 600;
  }

  .achievements-flex,
  .concept-grid,
  .cars-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 24px;
    font-weight: 600;
  }

  .card-text-container {
    gap: 16px;
  }

  .card-text-price-label {
    font-size: 18px;
  }
}

.car-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 12px;
  border: 1px solid #eaeaea;
}

a.car-card {
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

a.car-card:hover {
  opacity: 0.85;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.car-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-info {
  padding: 14px 0px 0px;
}

.car-name {
  font-size: var(--font-body-small);
  font-weight: 700;
  text-align: center;
  /* color: var(--red-color); */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.service-name {
  font-size: var(--font-body);
  font-weight: 700;
  text-align: center;
  letter-spacing: 0em;
}
@media (max-width: 480px) {
  .service-name {
    font-size: 17px;
  }
}

.car-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 10px 0 12px;
}

.car-price {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

/* タブレット中間 (900px以下) */
@media (max-width: 900px) {
  .car-price {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
  }
  .rental-section .car-price {
    flex-direction: row;
    align-items: flex-end;
  }
}
/* タブレット中間 (768px以下) */
@media (max-width: 768px) {
  .car-price {
    flex-direction: row;
  }
}
/* タブレット中間 (560px以下) */
@media (max-width: 560px) {
  .car-price {
    flex-direction: column;
  }
}

/* スマホ中間 (480px以下) */
@media (max-width: 480px) {
  .car-price {
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
  }
}

.car-price-label {
  font-size: 11px;
  font-weight: 600;
  border: 1px solid #000;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  color: var(--text-black);
}

.car-price-value {
  font-size: var(--font-h2);
  color: var(--red-color);
  font-weight: 900;
  line-height: 1;
  font-style: italic;
  white-space: nowrap;
  letter-spacing: -0.04em;
}

@media (max-width: 640px) {
  .car-price-value {
    font-size: 26px;
  }
}

.car-price-value small {
  color: var(--text-black);
  font-size: var(--font-body);
  font-weight: 600;
  font-style: normal;
  margin-left: 8px;
}

.car-price-value small:first-child {
  margin-right: 3px;
}

.car-price-value small:not(:first-child) {
  margin-left: 3px;
}

.badge {
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 10;
  background: var(--red-color);
  color: #fff;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

@media (max-width: 480px) {
  .badge {
    top: -16px;
    right: -4px;
  }
}

/* Vehicle Sales Card */
.vehicle-card .badge {
  right: auto;
  left: -10px;
  top: -10px;
  background: var(--red-color);
}

.vehicle-card .car-name {
  text-align: center;
  font-size: 14px;
  margin-bottom: 0;
}

.vehicle-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.vehicle-spec-row:last-child {
  border-bottom: none;
}

.vehicle-spec-label {
  display: inline-block;
  text-align: justify;
  text-align-last: justify;
  font-size: var(--font-note);
  font-weight: 600;
  border: 1px solid #000;
  border-radius: 4px;
  padding: 1px 2px;
  border-radius: 4px;
  flex-shrink: 0;
  line-height: 1.4;
  width: 50%;
  max-width: 68px;
}

.vehicle-spec-value {
  font-size: var(--font-note);
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.vehicle-spec-value.is-price {
  font-weight: 700;
}

.vehicle-spec-value.is-price span {
  font-size: var(--font-body-large);
  color: var(--red-color);
  letter-spacing: -0.04em;
}

.vehicle-spec-value.is-base-price span {
  font-size: var(--font-body-large);
  letter-spacing: -0.04em;
}

.vehicle-spec-value.is-detail {
  font-size: var(--font-body);
  letter-spacing: -0.04em;
}

.year-unit,
.mileage-unit {
  font-size: calc(var(--font-body) - 4px);
}

/* Middle CTA */
.middle-cta {
  background: var(--gradient-primary);
  padding: 0;
}

.middle-cta.bg-light {
  background: var(--bg-light);
}

.middle-cta-wrap {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(../images/middle-cta-img.webp) no-repeat center center / cover;
  margin-right: 2%;
  border-radius: 0 0 32px 32px;
  padding: 100px 0;
}

/* middle-cta セクションタイトルは flex を解除して自然な折り返しにする */
.middle-cta .section-title-inner .ja {
  display: block;
}
.middle-cta .section-title-inner .ja::after {
  content: none;
}

/* middle-cta のアクセントバーは左に固定 */
#primary>.middle-cta::after {
  left: 0;
  right: auto;
}

.middle-cta-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-end;
  color: var(--bg-white);
}

.middle-cta-inner>* {
  min-width: 0;
}

.middle-cta-inner .middle-cta-content {
  display: flex;
  flex-direction: column;
  border: 2px solid #fff;
  border-radius: 16px;
}

.middle-cta-inner .middle-cta-number {
  flex: 1;
}

.middle-cta-inner .middle-cta-number .btn {
  width: 100%;
  font-size: 22px;
}

.middle-cta-inner .middle-cta-number .middle-cta-car-obj {
  width: 80%;
  max-width: 240px;
  margin-left: auto;
}

.middle-cta-title {
  padding: 16px;
  margin: 0 auto;
  letter-spacing: 0.1em;
  text-align: center;
}

.middle-cta-text {
  background-color: var(--bg-white);
  color: var(--text-black);
  padding: 20px;
  border-radius: 12px;
}

.hanging-indent {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

/* ---- middle-cta レスポンシブ ---- */
@media (max-width: 1110px) {
  .middle-cta-inner {
    flex-direction: column;
    gap: 24px;
    align-items: center;
    position: relative;
  }

  .middle-cta-inner .middle-cta-number {
    width: 480px;
    text-align: center;
  }

  .middle-cta-inner .middle-cta-number .middle-cta-car-obj {
    position: absolute;
    max-width: 180px;
    right: 0;
    bottom: 0;
  }
}

@media (max-width: 1024px) {
  .middle-cta-inner .middle-cta-number .btn {
    max-width: 400px;
  }

  .middle-cta-inner .middle-cta-number .middle-cta-car-obj {
    right: -40px;
  }
}

@media (max-width: 768px) {
  .middle-cta-wrap {
    padding: 64px 0;
    margin-right: 0;
    border-radius: 0;
  }

  .middle-cta-inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .middle-cta-inner .middle-cta-content {
    width: 100%;
  }

  .middle-cta-inner .middle-cta-number {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .middle-cta-inner .middle-cta-number .btn {
    width: 100%;
    font-size: 18px;
  }

  .middle-cta-inner .middle-cta-number .middle-cta-car-obj {
    position: unset;
    max-width: 180px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .middle-cta-wrap {
    padding: 48px 0;
  }

  .middle-cta-inner .middle-cta-number .btn {
    font-size: 16px;
  }

  .middle-cta-title {
    font-size: 14px;
    letter-spacing: 0.05em;
  }
}

.bg-gradient {
  background: var(--gradient-primary);
}

.gradient-bar {
  background: var(--gradient-primary);
  width: 100%;
  height: 104px;
}

/* News Section */
.news-section {
  background: var(--gradient-primary);
  padding: 0;
}

.news-wrap {
  background: #555;
  margin-right: 2%;
  padding: 80px 0;
}

.news-inner {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.news-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  padding-left: 28px;
}

@media (max-width: 640px) {
  .news-left {
    padding-left: 0;
  }

  .news-left {
    width: 100%;
  }
}

.news-label-en {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-deco-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: lowercase;
}

.news-title {
  color: #fff;
  font-size: 48px;
  font-weight: 900;
  font-family: var(--font-fv);
  margin: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.news-right {
  flex: 1;
}

.news-list-new {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list-new li {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.news-list-new li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.news-date {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  white-space: nowrap;
  font-family: var(--font-btn-en);
  letter-spacing: 0.05em;
}

.news-text {
  flex: 1;
  color: #fff;
  font-size: 15px;
}

.news-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.news-list-new li a {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  color: inherit;
  text-decoration: none;
  padding: 20px 0;
}

.news-list-new li a:hover .news-text {
  color: var(--accent-color);
}

.news-list-new li a:hover .news-arrow {
  border-top-color: var(--accent-color);
  border-right-color: var(--accent-color);
}

.news-cta {
  margin-top: 32px;
}

/* Instagram Section */
.instagram-section {
  background: var(--gradient-primary);
  padding: 0;
}

.instagram-wrap {
  background: #fff;
  margin-right: 2%;
  border-radius: 0 0 32px 0;
  padding: 80px 0;
}

@media (max-width: 768px) {
  .instagram-wrap {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .instagram-wrap {
    padding: 40px 0;
  }
}


.instagram-card {
  display: flex;
  align-items: center;
  gap: 60px;
}

.instagram-card-left {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.instagram-card-left .btn {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .instagram-card-left .btn {
    width: 100%;
    max-width: 100%;
  }
}

.instagram-title {
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-deco-en);
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
}

.instagram-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--gradient-primary);
}

.instagram-photos {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.sns-item {
  aspect-ratio: 1;
  border-radius: 8px;
}

.sns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

/* News / Instagram responsive */
@media (max-width: 768px) {
  .news-title {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .news-title {
    font-size: 24px;
  }
}

@media (max-width: 820px) {

  /* Instagram: 820px以下でSPレイアウトに切り替え */
  .instagram-card {
    flex-direction: column;
    gap: 32px;
  }

  .instagram-card-left {
    display: contents;
  }

  .instagram-card .section-title {
    order: 1;
    width: 100%;
  }

  .instagram-photos {
    order: 2;
  }

  .instagram-card .btn {
    order: 3;
  }

  .instagram-title {
    white-space: normal;
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .news-inner {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 480px) {
  .instagram-title {
    font-size: 22px;
  }
}

/* Contact Section */
/* Contact Section */
.contact-section {
  background: var(--gradient-primary);
  padding: 80px 0;
  position: relative;
}


.contact-section .section-title-inner .ja::after {
  background: rgba(255, 255, 255, 0.35);
}

.contact-title-en {
  font-family: var(--font-deco-en);
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.contact-hours {
  color: rgba(255, 255, 255);
  font-size: 15px;
  margin: 20px 0 28px;
}

.contact-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 20px;
}

/* CTA・Instagramセクション内のボタンは幅を auto に戻す */
.middle-cta .btn,
.instagram-section .btn,
.fv-cta .btn {
  width: 100%;
}

@media (max-width: 768px) {

  .middle-cta .btn,
  .instagram-section .btn,
  .fv-cta .btn {
    width: 100%;
    margin: 0 auto;
  }
}

.contact-buttons .btn {
  width: 100%;
  max-width: 100%;
  justify-content: center;
  font-size: 18px;
}

.contact-section .tertiary-btn {
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.contact-note {
  color: var(--bg-white);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 1040px) {
  .contact-buttons .btn.phone-btn {
    font-size: 22px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 768px) {
  .contact-buttons {
    grid-template-columns: 1fr;
  }

  .contact-buttons .btn {
    font-size: 16px;
  }

  .contact-buttons .btn.phone-btn {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .contact-buttons .btn.phone-btn {
    /* font-size: 18px; */
    letter-spacing: 0.05em;
  }
}

/* Footer */
/* Footer */
.site-footer {
  background-color: var(--bg-footer);
  color: #fff;
}

/* Nav row */
.footer-nav {
  padding: 80px 0 32px;
}

.footer-nav ul {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav ul li {
  width: calc(100% / 5 - 12.8px);
}

.footer-nav a {
  display: inline-block;
  width: 100%;
  padding: 10px 24px;
  background: #fff;
  border-radius: 40px;
  text-align: center;
  color: var(--text-black);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 0.8;
}

/* Body area */
.footer-body {
  padding: 40px 0 28px;
}

.footer-designation {
  font-size: 12px;
  color: var(--bg-white);
  margin: 0 0 10px;
  letter-spacing: 0.08em;
}

.footer-logo {
  margin-bottom: 28px;
  line-height: 0;
}

.footer-logo img {
  width: 240px;
  height: auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-address {
  font-size: 13px;
  color: var(--bg-white);
  margin: 0;
  letter-spacing: 0.04em;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  white-space: nowrap;
  font-family: var(--font-btn-en);
}

/* ======================================================
   車検・車両整備 ページ
   ====================================================== */

section#inspection-maintenance {
  padding-top: 0;
}

/* FV 背景画像を差し替え */
.hero-section--insp::before {
  background-image: url(../images/inspection-maintenance/fkv-img.webp);
}

.achievements-section .achivement-text {
  color: var(--primary-color);
  text-align: center;
  font-weight: 600;
}

@media (max-width: 480px) {

  .footer-logo img {
    width: 160px;
  }
}

/* ページヒーロー（旧 insp-hero ※未使用） */
.insp-hero {
  background: linear-gradient(135deg, #2cb5a9, #005bab);
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.insp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(../images/fkv-img.webp);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.insp-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 160px 0 80px;
}

.insp-hero-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  color: #fff;
}

.insp-hero-en {
  font-family: var(--font-deco-en);
  font-size: 17px;
  letter-spacing: 0.12em;
  opacity: 0.75;
  margin: 0 0 10px;
}

.insp-hero-title {
  font-size: 56px;
  font-family: var(--font-fv);
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.insp-hero-lead {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  opacity: 0.92;
}

/* 車検・点検セクション */
.syaken-rows .vehicle-desc {
  font-size: var(--font-body);
  font-weight: 500;
  width: fit-content;
  text-align: left;
  margin: 0 auto;
  align-self: center;
}

.vehicle-desc-accent {
  font-size: 24px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .vehicle-desc-accent {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .vehicle-desc-accent {
    font-size: 20px;
  }
}


/* 修理・板金・塗装グリッド：3+2 中央揃え */
.repair-grid {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
}

.repair-grid>.overlay-card {
  width: calc((100% - 48px) / 3);
  flex: 0 0 calc((100% - 48px) / 3);
}

@media (max-width: 768px) {
  .repair-grid>.overlay-card {
    width: calc((100% - 48px) / 2);
    flex: 0 0 calc((100% - 48px) / 2);
  }
}

@media (max-width: 480px) {
  .repair-grid>.overlay-card {
    width: 100%;
    flex: none;
  }
}

/* overlay-card の first-child 特殊ボーダーをリセット */
.repair-grid .overlay-card:first-child {
  border: none;
  background: #222;
}

.repair-grid .overlay-card:first-child .overlay-card__title {
  color: var(--bg-white);
}

/* 車検・点検 ジグザグレイアウト */
.syaken-rows {
  display: flex;
  flex-direction: column;
}

.syaken-row {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 0;
}

@media (max-width: 768px) {
  .syaken-row {
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .syaken-row {
    padding: 16px 0;
  }
}

.syaken-row:first-child {
  padding: 0;
}

.syaken-row--reverse {
  flex-direction: row-reverse;
}

.syaken-row__img {
  width: calc(50% - 20px);
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
}

.syaken-row__img img {
  width: 100%;
  height: auto;
  display: block;
}

.syaken-row__body {
  width: calc(50% - 20px);
  height: stretch;
  background-color: var(--bg-white);
  padding: 32px 16px;
  border-radius: 16px;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-primary) border-box;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.syaken-row__body .title-bar {
  letter-spacing: 0.2em;
}

@media (max-width: 480px) {
  .syaken-row__body {
    gap: 12px;
  }
}

@media (max-width: 768px) {

  .syaken-row,
  .syaken-row--reverse {
    flex-direction: column;
    gap: 32px;
  }

  .syaken-row__img,
  .syaken-row__body {
    width: 100%;
  }
}

@media (max-width: 480px) {

  .syaken-row,
  .syaken-row--reverse {
    gap: 20px;
  }

  .syaken-row__img,
  .syaken-row__body {
    width: 100%;
  }
}

/* 車検料金テーブル */
section#syaken-price {
  padding-top: 0;
}

.has-overlap-btn {
  position: relative;
}

.has-overlap-btn .btn-container {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.has-overlap-btn .btn-container .btn {
  margin: 0 auto;
  max-width: 400px;
  width: 100%;
}

@media (max-width: 480px) {
  .has-overlap-btn .btn-container {
    text-align: center;
  }

  .has-overlap-btn .btn-container .btn {
    max-width: 320px;
  }
}

.no-padding-top {
  padding-top: 0;
}

.insp-price-intro {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.insp-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 16px;
}

.insp-price-table th,
.insp-price-table td {
  padding: 14px 18px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: middle;
}

.insp-price-table thead th {
  background: linear-gradient(90deg, #2cb5a9, #005bab);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.insp-price-table thead th:first-child {
  text-align: left;
}

.insp-price-table tbody tr:nth-child(even) {
  background-color: #f7f7f7;
}

.insp-price-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  background-color: #f0f0f0;
  min-width: 180px;
}

.insp-price-table .td-total {
  color: var(--red-color);
  font-weight: 700;
}

.insp-price-note {
  font-size: 13px;
  color: var(--text-gray);
  margin: 0;
}

/* 車検料金テーブル HTML版 */
.syaken-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 500px;
}

.syaken-price-table th,
.syaken-price-table td {
  padding: 12px 16px;
  border: 1px solid #333;
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.syaken-price-table thead {
  background: var(--gradient-primary);
}

.syaken-price-table thead th {
  color: #fff;
  font-size: 14px;
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: #333;
}

.syaken-price-table thead th:first-child {
  border-left-color: #333;
}

.syaken-price-table thead th:last-child {
  border-right-color: #333;
}

.syaken-price-table thead th:first-child {
  text-align: left;
}

.syaken-price-table .spt-category {
  font-weight: 700;
  text-align: left;
  width: 200px;
}

.syaken-price-table .spt-category--misc {
  border-bottom-color: transparent;
}

.syaken-price-table .spt-item {
  font-weight: 700;
  text-align: left;
  min-width: 170px;
}

.syaken-price-table tfoot {
  background: var(--gradient-secondary);
}

.syaken-price-table tfoot td {
  font-weight: 700;
  font-size: 16px;
  border-color: rgba(255, 255, 255, 0.3);
  border-bottom-color: #333;
}

.syaken-price-table tfoot td:first-child {
  border-left-color: #333;
}

.syaken-price-table tfoot td:last-child {
  border-right-color: #333;
}

.syaken-price-table .spt-total-label {
  text-align: left;
}
.syaken-price-table tbody tr:last-child td {
  border-bottom-color: transparent;
}

/* ============================================
   横スクロールヒント
   ============================================ */

.price-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.price-table img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .price-table img {
    width: 820px;
  }
}

@media (max-width: 480px) {
  .price-table img {
    width: 800px;
  }
}


/* 一般整備カード */
.maintenance-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.maintenance-card .mc-image {
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.maintenance-card .mc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.maintenance-card .mc-body {
  padding: 24px 20px;
  flex: 1;
}

.maintenance-card .mc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 10px;
}

.maintenance-card .mc-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  margin: 0;
}

/* 特殊車両 */
.tokusyu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

@media (max-width: 640px) {
  .tokusyu-grid {
    grid-template-columns: 1fr;
  }
}

.tokusyu-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}

.tokusyu-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tokusyu-card__desc {
  font-size: var(--font-body-small);
  line-height: 1.8;
  font-weight: 600;
}

.tokusyu-item {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

/* 特殊車両 画像2列 */
.tokusyu-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tokusyu-images img {
  width: 100%;
  height: auto;
  display: block;
}

/* お持ちいただくものバナー */
.info-banner {
  position: relative;
  margin-top: 24px;
  /* .syaken-row:first-childでpading-bottom削除している分 */
  margin-bottom: 40px;
  background: var(--accent-color);
  border-radius: 8px;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .info-banner {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .info-banner {
    margin-bottom: 20px;
  }
}

.info-banner::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 28px;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 20px solid var(--accent-color);
}

.info-banner__main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 480px) {
  .info-banner__main h4 {
    font-size: 16px;
  }
}

.info-banner__note {
  font-weight: 700;
  font-size: var(--font-note);
  margin: 0;
  color: var(--text-main);
}

/* 最新設備で確実な診断 */
@media (max-width: 980px) {
  .cols-3.shindan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cols-3.shindan-grid {
    grid-template-columns: 1fr;
  }
}

.shindan-card {
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #2cb5a9, #005bab) border-box;
  border-radius: 16px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.shindan-card .title-bar {
  width: 100%;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  background: var(--gradient-primary);
  color: #fff;
  height: 78px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 480px) {
  .shindan-card .title-bar {
    height: auto;
  }
}

.shindan-card__img {
  width: 100%;
  margin: 0 auto;
}

.shindan-card__img img {
  width: 100%;
  height: auto;
}

.shindan-card__desc {
  font-size: 16px;
  text-align: center;
  line-height: 1.8;
  margin: 0;
  color: var(--text-main);
}

@media (max-width: 480px) {
  .shindan-card__desc {
    font-size: 14px;
  }
}

.shindan-full-img {
  border-radius: 16px;
  overflow: hidden;
  max-height: 480px;
}

.shindan-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1040px) {
  .footer-nav a {
    padding: 10px 10px;
    font-size: 12px;
  }

  .footer-nav ul li {
    width: calc(100% / 3 - 11px);
  }
}

@media (max-width: 768px) {
  .footer-nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-nav ul li {
    width: calc(50% - 8px);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    padding: 48px 0 24px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .footer-nav ul li {
    width: 100%;
  }

  .footer-address {
    font-size: 12px;
  }
}


/* Instagram section */
#instagram .instagram-card-left {
  width: 40%;
}

#instagram .instagram-photos {
  width: 60%;
}

@media (max-width: 780px) {
  #instagram .instagram-card-left {
    width: 100%;
  }

  #instagram .section-title {
    width: 100%;
  }

  #instagram .instagram-photos {
    width: 100%;
  }
}

/* ============================================
   会社案内ページ
   ============================================ */
.hero-section--company::before {
  background-image: url(../images/company/fkv-img.webp);
}

/* 提携先 */
.Partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.Partner-item {
  flex: 0 0 calc(25% - 18px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

a.Partner-item:hover {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .Partner-item {
    flex: 0 0 calc(100% / 3 - 16px);
  }
}

@media (max-width: 480px) {
  .Partner-item {
    flex: 0 0 calc(100% / 2 - 12px);
  }
}

.Partner-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 認証・許認可 */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
}

@media (max-width: 640px) {
  .certification-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.certification-item {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 640px) {
  .certification-item {
    gap: 16px;
  }
}

.certification-item__img {
  width: 100%;
}

@media (max-width: 640px) {
  .certification-item__img {
    width: 80%;
    margin: 0 auto;
  }
}

.certification-item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certification-item__title {
  font-size: 20px;
  text-align: center;
  font-weight: 500;
  color: var(--primary-color);
  line-height: 1.5;
  margin: 0;
}

.certification-item__desc {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.company-table {
  position: relative;
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table-obj {
  position: absolute;
  width: 240px;
  bottom: 40%;
  right: 10%;
}

.company-table th {
  text-align: center;
  position: relative;
}

.company-table th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.company-table th,
.company-table td {
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.8;
  vertical-align: top;
}

.company-table th {
  width: 160px;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
}

.company-table td {
  padding: 20px 24px 20px 40px;
}

@media (max-width: 970px) {
  .company-table-obj {
    position: absolute;
    width: 200px;
    bottom: 0%;
    right: 5%;
  }
}

@media (max-width: 640px) {
  .company-table {
    width: 100%;
  }

  .company-table tr {
    display: block;
    margin-bottom: 16px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    font-size: 14px;
  }

  .company-table th {
    white-space: normal;
    padding: 0 12px 4px;
    text-align: left;
  }

  .company-table td {
    padding: 4px 12px 0;
  }

  .company-table-obj {
    width: 160px;
  }
}

section.section.map.bg-gradient {
  border-bottom-left-radius: 24px;
}

.company-map {
  overflow: hidden;
  height: 550px;
}

.company-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .company-map {
    height: 360px;
  }
}

@media (max-width: 480px) {
  .company-map {
    height: 200px;
  }
}

/* ============================================
   レンタカーページ
   ============================================ */
.hero-section--rental::before {
  background-image: url(../images/rental-car/fkv-img.webp);
}

.rental-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 768px) {
  .rental-intro-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}

@media (max-width: 480px) {
  .rental-intro-inner {
    gap: 40px;
  }
}

.rental-intro-img img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-primary) border-box;
}

.rental-intro-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (max-width: 480px) {
  .rental-intro-body {
    gap: 20px;
  }
}

.rental-intro-body .rental-intro__title .title-bar {
  letter-spacing: 0.2em;
}

@media (max-width: 768px) {
  .rental-intro-body .rental-intro__title .br-910 {
    display: none;
  }
}

.rental-price-badge {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
}

.rental-price-badge__label,
.rental-price-badge__unit {
  margin-bottom: 16px;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

@media (max-width: 768px) {

  .rental-price-badge__label,
  .rental-price-badge__unit {
    font-size: 24px;
  }
}

@media (max-width: 480px) {

  .rental-price-badge__label,
  .rental-price-badge__unit {
    font-size: 20px;
  }
}

.rental-price-badge img {
  height: 104px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 950px) {
  .rental-price-badge img {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .rental-price-badge img {
    height: 78px;
  }
}

.rental-desc .rental-desc__text {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  padding: 8px 32px;
  border-left: 4px solid var(--primary-light);
  border-right: 4px solid var(--primary-light);
}

@media (max-width: 480px) {
  .rental-desc .rental-desc__text {
    font-size: 16px;
    padding: 8px 16px;
  }
}

.rental-desc .rental-desc__note {
  font-size: var(--font-note);
  text-align: right;
}

.rental-price-table-img {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.rental-price-table-img img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .rental-price-table-img img {
    width: 820px;
  }
}

@media (max-width: 480px) {
  .rental-price-table-img img {
    width: 800px;
  }
}


/* レンタカー料金テーブル HTML版 */
.rental-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px;
}
.rental-price-table thead {
  margin-bottom: -1px;
}

.rental-price-table th,
.rental-price-table td {
  padding: 12px 18px;
  border: 1px solid #333;
  vertical-align: middle;
  text-align: left;
  font-weight: 500;
}

.rental-price-table thead {
  background: var(--gradient-primary);
}

.rental-price-table thead th {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-color: rgba(255, 255, 255, 0.2);
  border-top-color: #333;
}

.rental-price-table thead th:first-child {
  border-left-color: #333;
}

.rental-price-table thead th:last-child {
  text-align: center;
  border-right-color: #333;
}

.rental-price-table .rpt-class {
  font-weight: 700;
  width: 160px;
}

.rental-price-table .rpt-price {
  text-align: right;
  font-weight: 700;
  font-size: 20px;
  white-space: nowrap;
  width: 120px;
}

.rental-price-table .rpt-price--lg {
  font-size: 22px;
}

.mt-16 {
  margin-top: 16px;
}

/* ============================================
   ご利用の流れ
   ============================================ */
.rental-flow-grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.rental-flow-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  padding: 48px 32px;
  text-align: center;
}

.rental-flow-arrow {
  flex-shrink: 0;
  width: 48px;
  margin: 0 -8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.rental-flow-arrow img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.rental-flow-card__img {
  width: auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.rental-flow-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rental-flow-card__body {
  width: 100%;
}

.rental-flow-card__body .title-bar {
  font-weight: 600;
  text-align: center;
}

@media (max-width: 768px) {
  .rental-flow-grid {
    flex-direction: column;
    gap: 0;
  }

  .rental-flow-card {
    width: 100%;
    padding: 32px 24px;
  }

  .rental-flow-card__body .br-970 {
    display: none;
  }

  .rental-flow-arrow {
    width: 40px;
    height: 40px;
    margin: -10px 0;
    transform: rotate(90deg);
  }

  .rental-flow-card__img {
    height: 72px;
  }
}

@media (max-width: 480px) {
  .rental-flow-card {
    padding: 24px 16px;
  }

  .rental-flow-arrow {
    width: 32px;
    height: 32px;
    margin: -10px 0;
  }

  .rental-flow-card__img {
    height: 60px;
  }
}

/* ============================================
   ニーズに応じた車種
   ============================================ */
.rental-model-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.rental-model-card {
  width: calc(33.333% - 12px);
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 32px;
  text-align: center;
}

@media (max-width: 768px) {
  .rental-model-card {
    width: calc(50% - 8px);
  }
}

@media (max-width: 480px) {
  .rental-model-card {
    width: 100%;
  }
}


.rental-model-card__img {
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.rental-model-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rental-model-card__body h4 {
  font-size: var(--font-h5);
  text-align: center;
}

.rental-merit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.rental-merit-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.rental-merit-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.rental-merit-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rental-merit-card__body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.rental-merit-card__desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-gray);
  margin: 0;
}

/* ============================================
   パルモのレンタカー、ここが便利！
   ============================================ */

.rental-benefit-section {
  padding-top: 0;
  margin-top: -40px;
}

#primary>.rental-benefit-section::after {
  content: '';
  background: none;
  position: unset;
  width: 0;
}

.useful-section-title {
  font-size: 28px;
  font-weight: 700;
  border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--gradient-primary) border-box;
  text-align: center;
  padding: 12px 32px;
  border-radius: 16px;
  margin-bottom: 32px;
}

.rental-benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.rental-benefit-card {
  background: var(--gradient-primary);
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.rental-benefit-card--wide {
  grid-column: 1 / -1;
  padding: 32px 24px;
  flex-direction: row;
  align-items: stretch;
  gap: 48px;
}

.rental-benefit-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 12px;
}

.rental-benefit-card__photo {
  flex: 1;
  overflow: hidden;
  border-radius: 16px;
}

.rental-benefit-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rental-benefit-card__icon {
  width: 104px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rental-benefit-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rental-benefit-card__title {
  font-size: 20px;
  text-align: center;
  width: 100%;
  max-width: 320px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 16px;
  background-color: var(--bg-white);
  color: var(--text-black);
  margin: 0;
}

.rental-benefit-card__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--bg-white);
  margin: 0;
}

.rental-benefit-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rental-benefit-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rental-benefit-card__list li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--bg-white);
  padding-left: 1.2em;
  position: relative;
}

.rental-benefit-card__list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--bg-white);
  font-size: 10px;
  top: 0.35em;
}

@media (max-width: 768px) {
  .rental-benefit-grid {
    grid-template-columns: 1fr;
  }

  .rental-benefit-card--wide {
    flex-direction: column;
    gap: 24px;
  }

  .rental-benefit-card__photo {
    width: 100%;
    max-height: 240px;
  }

  .rental-benefit-card__title {
    font-size: 18px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .rental-benefit-card {
    padding: 24px 16px;
  }

  .rental-benefit-card--wide {
    padding: 24px 16px;
  }

  .rental-benefit-card__icon {
    width: 80px;
  }

  .rental-benefit-card__title {
    font-size: 16px;
  }

  .rental-benefit-card__desc,
  .rental-benefit-card__list li {
    font-size: 14px;
  }

  .rental-benefit-card__photo {
    max-height: 200px;
  }
}

.rental-corporate-banner {
  margin-top: 32px;
  background: var(--gradient-secondary);
  border-radius: 12px;
  padding: 20px 32px;
  text-align: center;
}

.rental-corporate-banner__text {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-black);
  margin: 0;
}

@media (max-width: 768px) {
  .rental-corporate-banner__text {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .rental-corporate-banner__text {
    font-size: 18px;
  }
}

/* ============================================
   リースセクション
   ============================================ */
.lease-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lease-card {
  background: #fff;
  border-radius: 16px;
  border: 1px var(--text-gray02) solid;
  padding: 32px 24px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.lease-card__img {
  width: 104px;
  margin: 0 auto;
}

.lease-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lease-card__body {
  /* padding: 24px 20px; */
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.lease-card__desc {
  width: 100%;
  margin: 0 auto;
  font-size: var(--font-body-small);
  line-height: 1.8;
  color: var(--text-black);
  text-align: left;
}

.lease-card__desc span {
  display: inline-block;
  padding-left: 1em;
  text-indent: -1em;
}

@media (max-width: 1040px) {
  .lease-grid {
    gap: 16px;
  }

  .lease-card {
    padding: 24px 16px;
    gap: 20px;
  }

  .lease-card__img {
    width: 80px;
  }
}

@media (max-width: 768px) {
  .lease-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .lease-card {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 16px;
    text-align: center;
  }

  .lease-card__img {
    width: 72px;
    margin: 0 auto;
  }

  .lease-card__body {
    gap: 8px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .lease-grid {
    max-width: 100%;
  }

  .lease-card {
    padding: 16px;
    gap: 16px;
  }

  .lease-card__img {
    width: 56px;
  }
}

.rental-lineup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.rental-lineup-item {
  border-radius: 12px;
  overflow: hidden;
}

.rental-lineup-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   お問い合わせページ
   ============================================ */
.hero-section--contact::before {
  background-image: url(../images/contact/fkv-img.webp);
}

.contact-intro-section .container {
  background: #fff;
  border-radius: 24px;
  padding: 56px;
}

.contact-intro-section .section-title .section-title-inner .ja::after {
  content: none;
}

.hero-inner--center {
  justify-content: flex-start;
  padding-left: min(8%, 90px);
}

.contact-intro-inner {
  display: flex;
  gap: 64px;
  justify-content: space-around;
  align-items: flex-end;
}

.contact-intro-desc {
  width: 40%;
}

.contact-intro-desc p {
  line-height: 2.2;
  font-size: 16px;
}

.contact-intro-body {
  width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.contact-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-info-hours {
  font-size: var(--font-body);
  font-weight: 500;
  color: var(--text-black);
  margin: 0;
  text-align: center;
}

.contact-intro-tel {
  align-self: flex-start;
}

.contact-intro-img img {
  width: 240px;
  height: auto;
}

@media (max-width: 1040px) {
  .contact-intro-inner {
    gap: 40px;
  }

  .contact-intro-section .container {
    padding: 48px 40px;
  }
}

@media (max-width: 768px) {
  .contact-intro-section .container {
    padding: 40px 28px;
  }

  .contact-intro-inner {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .contact-intro-desc {
    width: 100%;
  }

  .contact-intro-desc p {
    font-size: 15px;
  }

  .contact-intro-body {
    width: 100%;
    gap: 24px;
  }

  .contact-intro-img img {
    width: 180px;
  }

  .contact-info-box {
    width: 100%;
  }

  .contact-intro-tel {
    align-self: center;
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .contact-intro-section .container {
    padding: 32px 20px;
    border-radius: 16px;
  }

  .contact-intro-desc p {
    font-size: 14px;
    line-height: 1.6;
  }

  .contact-info-hours {
    text-align: center;
  }

  .contact-intro-img img {
    width: 140px;
  }
}

/* フォーム */
.contact-form-section .section-title {
  text-align: center;
}

.contact-form-section .section-title .section-title-inner {
  display: block;
}

.contact-form-section .section-title .section-title-inner::after {
  content: '';
  background: none;
}

.contact-form-inner {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 640px) {
  .contact-form-inner {
    padding: 40px 24px;
  }
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 32px;
}

.form-label {
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  color: var(--text-main);
}

.form-required {
  background: var(--primary-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.form-note {
  font-size: 12px;
  font-weight: 400;
  color: #888;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-ja);
  outline: none;
  transition: border-color 0.2s;
  background: #fafafa;
}

@media (max-width: 480px) {

  .form-field input[type="text"],
  .form-field input[type="email"],
  .form-field input[type="tel"],
  .form-field textarea {
    padding: 8px 12px;
    font-size: 14px;
  }
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary-color);
  background: #fff;
}

.form-field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.form-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  cursor: pointer;
}

@media (max-width: 480px) {
  .form-radio-group label {
    font-size: 14px;
  }
}

.form-radio-group input[type="radio"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
  background: initial;
}

.form-privacy {
  text-align: center;
  margin: 24px 0 16px;
  font-size: 14px;
  color: var(--text-gray);
}

.form-privacy a {
  color: var(--primary-color);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.form-privacy a:hover {
  opacity: 0.7;
}

.form-privacy-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

.form-privacy-text {
  display: block;
}

.form-privacy-note {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-gray);
  margin-top: 2px;
}

.form-privacy-check input[type="checkbox"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--primary-color);
  cursor: pointer;
  background: initial;
}

.form-submit {
  text-align: center;
  margin-top: 32px;
}

.form-submit button {
  border: none;
  cursor: pointer;
}

/* 任意バッジ */
.form-optional {
  background: #6c757d;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* 姓名・フリガナ 分割フィールド */
.form-field--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-field--split-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-field--split-label {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 600;
  padding-left: 4px;
}

/* セレクト */
.form-select-wrap {
  /* vehicle-search-labelのwidth分引く */
  width: calc(100% - 96px);
  position: relative;
}

.form-select-wrap::after {
  content: '▼';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-gray);
  pointer-events: none;
}

.form-select-wrap select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: var(--font-ja);
  background: #fafafa;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}

@media (max-width: 480px) {
  .form-select-wrap select {
    font-size: 13px;
  }
}

.form-select-wrap select:focus {
  border-color: var(--primary-color);
  background: #fff;
}

/* ファイル添付 */
.form-file-input {
  display: none;
}

.form-file-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.form-file-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #e6e6e6;
  border: 1px solid #000;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.form-file-label:hover .form-file-btn {
  opacity: 0.85;
}

.form-file-name {
  font-size: 14px;
  color: var(--text-gray);
}

.form-field-note {
  font-size: 12px;
  color: var(--text-gray);
  margin: 6px 0 0;
}

/* フォームバリデーションエラー */
.form-alert {
  background: #fff5f5;
  border: 1px solid var(--red-color);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  color: var(--red-color);
  font-size: 15px;
  line-height: 1.6;
}

.form-field-error-msg {
  display: block;
  font-size: 13px;
  color: var(--red-color);
  margin: 5px 0 0;
}

.form-field input.is-error,
.form-field textarea.is-error,
.form-field select.is-error {
  border-color: var(--red-color) !important;
  background: #fff5f5 !important;
}

/* reCAPTCHA */
.form-recaptcha {
  display: flex;
  justify-content: center;
  margin: 24px 0 8px;
}

/* 送信ボタン（幅100%・border-radius 16px） */
.form-submit-btn {
  width: 100%;
  border-radius: 16px !important;
  font-size: 18px;
  padding: 18px 24px;
}

/* プライバシーポリシー（送信ボタン下） */
.form-privacy {
  text-align: center;
  margin: 20px 0 0;
  font-size: 14px;
  color: var(--text-gray);
}

/* プライバシーポリシー全文ボックス */
.privacy-policy-box {
  max-width: 100%;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.privacy-policy-box__title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 20px 32px;
  border-bottom: 1px solid #eee;
  margin: 0;
  color: var(--text-main);
}

.privacy-policy-box__body {
  height: 400px;
  font-size: 14px;
  overflow-y: scroll;
  padding: 24px 32px;
  line-height: 1.9;
  color: var(--text-gray);
}

.privacy-policy-box__body h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 20px 0 6px;
}

.privacy-policy-box__body h4:first-child {
  margin-top: 0;
}

.privacy-policy-box__body p {
  font-size: 14px;
  margin: 0 0 8px;
}

.privacy-policy-box__body ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 8px;
  display: block;
}

.privacy-policy-box__body ul li {
  margin-bottom: 4px;
}

.privacy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0 6px;
}

.privacy-item h4 {
  margin: 0;
  flex-shrink: 0;
}

.privacy-item p {
  margin: 0;
}

@media (max-width: 480px) {

  /* プライバシーポリシー全文ボックス */
  .privacy-policy-box__title {
    font-size: 16px;
  }

  .privacy-policy-box__body {
    font-size: 12px;
    line-height: 1.8;
  }

  .privacy-policy-box__body h4 {
    font-size: 14px;
  }

  .privacy-policy-box__body p {
    font-size: 12px;
  }
}

/* ============================================================
   車両販売ページ（一覧・詳細）
   ============================================================ */

/* Hero */
.hero-section--vehicle-sales::before {
  background-image: url('../images/vehicle-sales/sales-fkv-img.webp');
}

/* パンくずリスト */
.breadcrumb-wrap {
  background: var(--bg-light);
  padding: 12px 0;
  font-size: var(--font-note);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-gray);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary-color);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: var(--text-gray02);
}

/* ---- 検索ボックス ---- */
.vehicle-search-box {
  background: #fff;
  overflow: hidden;
  display: grid;
  gap: 16px;
  margin-bottom: 40px;
  /* box-shadow: 0 4px 20px rgba(0,0,0,0.05); */
}

.vehicle-search-box__header {
  background: var(--gradient-primary);
  padding: 14px 24px;
  border-radius: 16px;
}

.vehicle-search-box__label {
  color: #fff;
  /* font-size: var(--font-body-small); */
  font-weight: 700;
}

.vehicle-search-form {
  padding: 24px;
}

.vehicle-search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 56px;
  margin-bottom: 24px;
}

.vehicle-search-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.vehicle-search-row .vehicle-search-label {
  width: 104px;
  flex-shrink: 0;
  white-space: nowrap;
}

.vehicle-search-label {
  font-size: var(--font-note);
  font-weight: 700;
  color: var(--text-main);
}

@media screen and (max-width: 480px) {
  .vehicle-search-label {
    font-size: 13px;
  }
}

.vehicle-search-row input[type="text"] {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: var(--font-body-small);
  width: 100%;
  background: #fff;
}

.vehicle-search-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.vehicle-search-clear {
  min-width: 140px;
  border: 1px solid #000;
}

.vehicle-search-submit {
  min-width: 160px;
}

/* ---- 一覧ヘッダー（件数・ソート） ---- */
.vehicle-list-section {
  display: grid;
  gap: 16px;
}

.vehicle-list-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
  width: fit-content;
  margin: 0 auto;
}

.vehicle-list-count {
  font-size: var(--font-body-small);
  color: var(--text-gray);
}

.vehicle-list-count strong {
  font-size: var(--font-h5);
  color: var(--red-color);
}

/* 並び替え：グループ構成 */
.vehicle-sort-tabs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vehicle-sort-label {
  font-size: var(--font-note);
  color: var(--text-gray);
  margin-right: 4px;
  white-space: nowrap;
}

.vehicle-sort-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vehicle-sort-group-label {
  font-size: var(--font-note);
  color: var(--text-gray);
  white-space: nowrap;
}

.vehicle-sort-group-btns {
  display: flex;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.vehicle-sort-tab {
  font-size: var(--font-note);
  padding: 6px 12px;
  color: var(--text-gray);
  background: #fff;
  border-right: 1px solid #ccc;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.vehicle-sort-tab:last-child {
  border-right: none;
}

.vehicle-sort-tab:hover,
.vehicle-sort-tab.is-active {
  background: var(--gradient-primary);
  color: #fff;
}

/* 年式 下限〜上限 セレクト */
.vehicle-year-range {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vehicle-year-range .form-select-wrap {
  flex: 1;
}

.vehicle-year-range__sep {
  font-size: var(--font-body-small);
  color: var(--text-gray);
  flex-shrink: 0;
}

/* ---- 車両カードグリッド（縦列） ---- */
.vehicle-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 64px;
  margin: 40px auto;
}

.vehicle-no-result {
  text-align: center;
  color: var(--text-gray);
  padding: 60px 0;
}

/* ===== 車両カード ===== */
.vehicle-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-bottom: 4px solid;
  border-image: var(--gradient-primary) 1;
  color: var(--text-main);
  gap: 16px;
  padding-bottom: 16px;
}

/* タイトル・説明エリア */
.vehicle-card__header {
  display: grid;
  gap: 8px;
}

.vehicle-card__name {
  font-size: var(--font-h4);
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .vehicle-card__name {
    font-size: 16px;
  }
}

.vehicle-card__desc {
  font-size: var(--font-note);
  color: var(--text-black);
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .vehicle-card__desc {
    font-size: 12px;
  }
}

/* 画像＋コンテンツ 横並び */
.vehicle-card__main {
  display: flex;
  flex: 1;
  gap: 24px;
}

/* 画像エリア */
.vehicle-card__img {
  position: relative;
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.vehicle-card__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid #000;
}

/* 車台番号（画像の下） */
.vehicle-card__chassis {
  font-size: var(--font-note);
  font-weight: 600;
  margin: 0;
  flex-shrink: 0;
}

/* バッジ */
.vehicle-badge {
  position: absolute;
  top: -8px;
  left: -8px;
  z-index: 1;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 40px;
  letter-spacing: 0.05em;
}

.vehicle-badge--new {
  background: var(--red-color);
  color: #fff;
}

.vehicle-badge--used {
  background: var(--bg-light);
  color: var(--text-gray);
  border: 1px solid #ccc;
}

/* 右側コンテンツ */
.vehicle-card__content {
  width: 40%;
  display: flex;
  flex-direction: column;
}

/* 価格・スペック まとめボックス */
.vehicle-card__info-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 価格 */
.vehicle-card__prices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vehicle-card__price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

@media (max-width: 480px) {
  .vehicle-card__price-row {
    /* width: 50%; */
    justify-content: space-between;
  }
}

.vehicle-card__price-row+.vehicle-card__price-row {
  margin-top: 12px;
}

.vehicle-card__price-label {
  /* .vc-label と同スタイル */
}

.vehicle-card__price-label--base {
  margin-top: 0;
}

.vehicle-card__price-total {
  font-size: var(--font-body);
  font-weight: 500;
  color: var(--text-black);
  margin: 0;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  text-align: right;
}

.vehicle-card__price-total span {
  font-size: var(--font-h3);
  font-weight: 800;
  color: var(--red-color);
  letter-spacing: -0.04em;
}

.vehicle-card__price-base {
  font-size: var(--font-body);
  font-weight: 500;
  color: var(--text-black);
  margin: 0;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  text-align: right;
}

.vehicle-card__price-base span {
  font-size: var(--font-h3);
  font-weight: 800;
  color: var(--text-black);
  letter-spacing: -0.04em;
}

/* スペック */
.vehicle-card__specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid #e0e0e0;
}

.vehicle-card__spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-note);
  justify-content: space-between;
}

@media (max-width: 480px) {
  .vehicle-card__specs {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }

  .vehicle-card__spec {
    width: 50%;
  }
}

.vehicle-card__spec-value {
  font-size: var(--font-body);
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.year-unit,
.mileage-unit {
  font-size: calc(var(--font-body) - 4px);
}

/* 共通ラベルスタイル（価格・スペック両方に適用） */
.vc-label {
  font-size: var(--font-note);
  font-weight: 550;
  background: var(--bg-light02);
  border: 1px solid black;
  border-radius: 4px;
  display: inline-block;
  width: fit-content;
  padding: 0px 4px;
  white-space: nowrap;
  width: 72px;
  text-align: justify;
  text-align-last: justify;
}

@media (max-width: 480px) {
  .vc-label {
    font-size: 10px;
    width: 56px;
  }
}

/* ボタン */
.vehicle-card__footer {
  width: 100%;
  justify-content: center;
  font-weight: 500;
}
/* .vehicle-card__footer {
  min-height: 52px;
}

@media (max-width: 480px) {
  .vehicle-card__footer {
    min-height: 42px;
  }
} */

/* ---- ページネーション ---- */
.vehicle-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.vehicle-pagination__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: var(--font-body-small);
  color: var(--text-gray);
  transition: all 0.2s;
}

a.vehicle-pagination__item:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

.vehicle-pagination__item.is-active {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
}

.vehicle-pagination__dots {
  color: var(--text-gray02);
  font-size: var(--font-body-small);
}

.vehicle-pagination__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 20px;
  color: var(--text-gray);
  transition: all 0.2s;
}

.vehicle-pagination__next:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
}

/* ============================================================
   車両販売詳細ページ
   ============================================================ */

/* 車両名ヘッダー */
.vehicle-detail-header {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.vehicle-detail-header .vehicle-badge {
  position: static;
  font-size: var(--font-note);
  padding: 5px 14px;
  width: fit-content;
}

.vehicle-detail-maker {
  font-size: var(--font-body-small);
  font-weight: 700;
  color: var(--text-gray);
  letter-spacing: 0.1em;
}

.vehicle-detail-name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
@media(max-width: 640px){
  .vehicle-detail-name-row {
    flex-direction: column;
  }
}

.vehicle-detail-name {
  font-size: var(--font-h3);
  font-weight: 600;
  color: var(--primary-color);
  margin: 0;
}

.vehicle-chassis-id {
  font-size: var(--font-note);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

/* メインレイアウト：ギャラリー + 情報 */
.vehicle-detail-main {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

/* フォトギャラリー */
.vehicle-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vehicle-gallery__main {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.vehicle-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.vehicle-gallery__thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vehicle-gallery__thumb {
  flex: 0 0 calc(20% - 7px);
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.vehicle-gallery__thumb.is-active {
  border-color: var(--primary-color);
}

.vehicle-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 価格・スペック（右カラム） */
.vehicle-detail-info {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vehicle-detail-prices {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.vehicle-detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.vehicle-detail-price-label {
  font-size: var(--font-body-small);
  font-weight: 700;
  color: var(--text-gray);
  flex: 0 0 80px;
}

.vehicle-detail-price-unit {
  font-size: var(--font-note);
  color: var(--text-gray);
}

.vehicle-detail-price-row--total .vehicle-detail-price-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
}

.vehicle-detail-price-row--base .vehicle-detail-price-value {
  font-size: var(--font-h5);
  font-weight: 700;
  color: var(--text-gray);
}

.vehicle-detail-price-man {
  font-size: var(--font-body-small);
  color: var(--text-gray);
  font-weight: 700;
}

/* 主要スペックバー */
.vehicle-detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e0e0e0;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}

.vehicle-detail-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #fff;
}

.vehicle-detail-spec__label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.vehicle-detail-spec__value {
  font-size: var(--font-body-small);
  font-weight: 700;
  color: var(--text-main);
}

/* 詳細CTAボタン */
.vehicle-detail-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vehicle-detail-cta .btn {
  width: 100%;
  justify-content: center;
}

/* 車両情報テーブル */
.vehicle-info-block__title {
  font-size: var(--font-h5);
  font-weight: 700;
  color: var(--text-main);
  padding-bottom: 12px;
  margin: 0 0 20px;
  position: relative;
}

.vehicle-info-block__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
}

.vehicle-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-body-small);
}

.vehicle-info-table th,
.vehicle-info-table td {
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  vertical-align: top;
}

.vehicle-info-table th {
  background: var(--bg-light);
  font-weight: 500;
  color: var(--text-main);
  width: 240px;
  white-space: nowrap;
}

.vehicle-info-table td {
  color: var(--text-main);
  font-size: calc(var(--font-body-small) + 2px);
  font-weight: 700;
}

.vehicle-info-table td .table-note {
  font-size: var(--font-body-small);
  font-weight: 500;
}

/* 装備情報 */
.vehicle-equipment-block {
  margin-bottom: 56px;
}

.vehicle-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* .vehicle-equipment-section {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
} */
.vehicle-equipment-label {
  font-size: var(--font-note);
  font-weight: 700;
  color: var(--text-gray);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--primary-color);
  line-height: 1.4;
}

.vehicle-equipment-list {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-equipment-list li {
  font-size: var(--font-body-small);
  color: var(--text-main);
  padding-left: 1.2em;
  position: relative;
}

.vehicle-equipment-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

/* 下部CTA */
.vehicle-detail-bottom-cta {
  text-align: center;
  padding: 48px;
  background: var(--bg-light);
  border-radius: 20px;
  margin-bottom: 16px;
}

.vehicle-detail-bottom-cta__text {
  font-size: var(--font-body-small);
  color: var(--text-gray);
  margin-bottom: 24px;
}

.vehicle-detail-bottom-cta .vehicle-detail-cta {
  flex-direction: row;
  justify-content: center;
  gap: 16px;
}

.vehicle-detail-bottom-cta .vehicle-detail-cta .btn {
  width: auto;
}

/* ===== 装備バッジ ===== */

/* 装備ブロック 2×2グリッド */
.vehicle-equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.vehicle-equipment-block {
  margin-bottom: 0;
}

.vehicle-equipment-block .vehicle-info-block__title {
  margin-bottom: 16px;
}

.vehicle-equipment-section {
  margin-bottom: 20px;
}

/* バッジ 2列グリッド */
.vehicle-equipment-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.equipment-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: var(--font-note);
  font-weight: 500;
  white-space: nowrap;
}

.equipment-badge--checked {
  background: var(--gradient-primary);
  color: #fff;
}

.equipment-badge--unchecked {
  background: var(--bg-white);
  color: #b3b3b3;
  border: 2px solid #b3b3b3;
}

.equipment-badge--wide {
  grid-column: 1 / -1;
  width: 100%;
}

/* サブグループ（ラベル＋選択値インライン表示） */
.equipment-subgroup {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 5px 14px;
  border-radius: 4px;
  font-size: var(--font-note);
  font-weight: 500;
  background: var(--bg-white);
  border: 2px solid #b3b3b3;
}

.equipment-subgroup__label {
  color: #b3b3b3;
  white-space: nowrap;
}

.equipment-subgroup__sep {
  color: #b3b3b3;
  flex-shrink: 0;
}

.equipment-subgroup__value {
  color: #b3b3b3;
}

.equipment-subgroup--half {
  grid-column: auto;
}

.equipment-subgroup--checked {
  background: var(--gradient-primary);
  border: none;
}

.equipment-subgroup--checked .equipment-subgroup__label,
.equipment-subgroup--checked .equipment-subgroup__sep,
.equipment-subgroup--checked .equipment-subgroup__value {
  color: #fff;
}

/* 保証・法定整備 1行省略 */
.vehicle-detail-spec--ellipsis .vehicle-detail-spec__value {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
  display: inline-block;
  vertical-align: bottom;
}

/* 車両なし */
.vehicle-no-result {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--text-gray);
  font-size: var(--font-body);
}

/* カード画像なし */
.vehicle-card__no-img,
.vehicle-gallery__no-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--bg-light);
  color: var(--text-gray02);
  font-size: var(--font-note);
}

/* ===== 車両一覧 ローディング ===== */
.vehicle-card-grid.is-loading {
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.2s;
}

.vehicle-pagination button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}


/* ===== 車両販売詳細ページ (page-vehicle-sales-detail) ===== */

/* FVセクション：ヘッダー直下・2カラム（左:白背景 / 右:グラデーション） */
.vehicle-fv-section {
  background: var(--gradient-primary);
  overflow: hidden;
  position: relative;
  padding-top: calc(var(--header-h, 160px) + 24px);
  padding-bottom: 64px;
}

#primary>.vehicle-fv-section::after {
  height: 50%;
  left: 0;
  bottom: 0;
  top: unset;
}

#primary>.vehicle-fv-section .container {
  position: relative;
  z-index: 10;
}

@media (max-width: 640px) {
  .vehicle-fv-section .container {
    padding: 0;
  }
}

/* コンテナ内の2カラムグリッド */
.vehicle-fv-grid {
  display: grid;
  grid-template-columns: 1fr 152px;
  align-items: stretch;
}

/* 左カラム：白背景、左外側まで白を延長 */
.vehicle-fv-left {
  background: #fff;
  padding: 40px 48px 40px 0;
  position: relative;
}

.vehicle-fv-left::before {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 100vw;
  background: #fff;
}

/* 右カラム：グラデーション背景（親から継承） */
.vehicle-fv-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  overflow: hidden;
  padding-left: 12px;
}

/* パンくず */
.vehicle-fv-breadcrumb {
  margin-bottom: 16px;
  font-size: var(--font-note);
}

.vehicle-fv-breadcrumb a {
  color: var(--text-gray);
}

.vehicle-fv-breadcrumb a:hover {
  color: var(--primary-color);
}

.vehicle-fv-breadcrumb .breadcrumb-sep {
  margin: 0 6px;
  color: var(--text-gray02);
}

/* ギャラリー：メイン左＋サムネイル右縦積み */
.vehicle-gallery-wrap {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.vehicle-gallery-main {
  min-width: 0;
  overflow: hidden;
  border: 2px solid #000;
  aspect-ratio: 16/9;
}

.vehicle-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}

.vehicle-gallery-thumbs {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  overflow-y: auto;
}

/* FV右カラム内：多数サムネイル対応（縦スクロール） */
.vehicle-fv-right .vehicle-gallery-thumbs {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  width: 100%;
}

/* スライドナビボタン */
.vehicle-gallery-nav {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: space-around;
}

.vehicle-gallery-nav__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-white);
  color: var(--primary-color);
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.vehicle-gallery-nav__btn:hover {
  opacity: 0.8;
}

.vehicle-gallery-thumb {
  flex-shrink: 0;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.vehicle-gallery-thumb.is-active {
  border-color: var(--primary-color);
}

.vehicle-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 共通グラデーションラベル */
.vd-label {
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  font-size: var(--font-h5);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.1em;
  text-align: justify;
  text-align-last: justify;
}

/* 価格バー */
.vd-price-bar {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.vd-price-item {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1 1;
}

.vd-price-item .vd-label {
  font-size: var(--font-h2);
}

.vd-price-body {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.vd-price-unit,
.vd-price-man {
  font-size: var(--font-h3);
  font-weight: 600;
}

.vd-price-item--total .vd-price-num {
  font-size: var(--font-h1);
  font-weight: 800;
  color: var(--red-color);
  line-height: 1;
  letter-spacing: -0.04em;
}

.vd-price-item--base .vd-price-num {
  font-size: var(--font-h1);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* スペックバー（6項目・1行） */
.vd-spec-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 64px;
  margin-bottom: 64px;
}

.vd-spec-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vd-spec-item .vd-label {
  width: 112px;
}

.vd-spec-value {
  font-size: var(--font-h4);
  font-weight: 600;
  color: var(--text-main);
}

.vd-spec-value .year-ad,
.vd-spec-value .mileage-num {
  font-size: calc(var(--font-h4) + 2px);
  letter-spacing: -0.04em;
  font-weight: 700;
}

.vd-spec-value--ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 詳細CTA（横並び） */
.vehicle-detail-cta.mt-24 {
  flex-direction: row;
  flex-wrap: wrap;
}

.vehicle-detail-cta.mt-24 .btn {
  width: auto;
  flex: 1 1 220px;
}

.mt-24 {
  margin-top: 24px;
}

/* レスポンシブ：タブレット */
@media (max-width: 1024px) {
  .container {
    padding: 0 6%;
  }

  .vehicle-fv-grid {
    grid-template-columns: 1fr 120px;
  }

  .vehicle-gallery-thumbs {
    flex: 0 0 100px;
  }

  .vehicle-equipment-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-equipment-badges {
    grid-template-columns: 1fr 1fr;
  }

  .btn {
    padding: 16px 48px;
    font-size: 16px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .vehicle-card-grid {
    gap: 32px;
  }
}

/* レスポンシブ：1100px — 価格バー縦並び */
@media (max-width: 1100px) {
  .vd-price-bar {
    flex-direction: column;
    gap: 10px;
  }
}

/* レスポンシブ：1020px — スペックバー2列 / 車両カード */
@media (max-width: 1020px) {
  .vd-spec-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
  }

  /* 車両カード：縦積みに */
  .vehicle-card-grid {
    gap: 24px;
  }

  .vehicle-card__main {
    flex-direction: column;
    gap: 16px;
  }

  .vehicle-card__img {
    flex: none;
    width: 100%;
  }

  .vehicle-card__content {
    width: 100%;
  }

  /* 価格ラベルと価格を横並びに */
  .vehicle-card__price-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .vehicle-card__price-row+.vehicle-card__price-row {
    margin-top: 8px;
  }

  .vehicle-card__price-total,
  .vehicle-card__price-base {
    text-align: left;
  }
}

/* レスポンシブ：タブレット（768px）— 車両販売 */
@media (max-width: 768px) {

  /* 検索フォーム */
  .vehicle-search-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vehicle-search-form {
    padding: 16px;
  }

  .vehicle-search-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .vehicle-search-actions .btn {
    width: 100%;
    max-width: 100%;
  }

  .vehicle-search-submit {
    order: -1;
  }

  .vehicle-search-clear {
    order: 0;
  }

  /* 一覧ヘッダー */
  .vehicle-list-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .vehicle-equipment-grid {
    gap: 56px;
  }

  /* 車両情報テーブル */
  .vehicle-info-table th {
    width: 160px;
  }

  /* 価格ラベル */
  .vd-label {
    padding: 4px 10px;
  }

  .vd-price-item {
    gap: 32px;
  }
}

/* レスポンシブ：モバイル */
@media (max-width: 640px) {
  .btn {
    padding: 12px 40px;
    font-size: 15px;
    width: 100%;
  }

  .news-right {
    width: 100%;
  }

  /* 詳細FVグリッド：1列に */
  .vehicle-fv-grid {
    grid-template-columns: 1fr;
  }

  .vehicle-equipment-grid {
    gap: 40px;
  }

  .vehicle-fv-left {
    padding: 40px 6%;
  }

  .vehicle-fv-left::before {
    display: none;
  }

  .vehicle-fv-right {
    padding: 24px 6% 0;
  }

  .vehicle-fv-right .vehicle-gallery-thumbs {
    flex: 0 0 auto;
    min-height: unset;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
  }

  .vehicle-fv-right .vehicle-gallery-thumb {
    flex: 0 0 80px;
  }

  .vehicle-gallery-main {
    border-radius: 8px;
  }

  .vehicle-gallery-nav {
    justify-content: center;
    gap: 40px;
  }

  .vehicle-equipment-grid {
    gap: 32px;
  }

  .vd-price-bar {
    flex-direction: column;
    gap: 10px;
  }

  .vd-price-item {
    gap: 0;
    justify-content: space-between;
  }

  /* .vd-price-unit,
  .vd-price-man {
    font-size: 20px;
  } */

  /* .vd-price-item--total .vd-price-num,
  .vd-price-item--base .vd-price-num {
    font-size: 32px;
  } */

  .vd-spec-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 32px;
  }

  .vd-spec-item {
    gap: 6px;
  }

  .vd-spec-item .vd-label {
    width: auto;
    padding: 3px 8px;
  }

  .vehicle-detail-cta.mt-24 {
    flex-direction: column;
  }

  .vehicle-detail-cta.mt-24 .btn {
    width: 100%;
    flex: none;
  }

  /* カードグリッド：1列に */
  .vehicle-card-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* レスポンシブ：スマホ（480px）— 車両販売 */
@media (max-width: 480px) {
  .vd-spec-bar {
    gap: 10px 20px;
  }

  .vd-price-item .vd-label {
    font-size: 16px;
  }

  /* 車両情報テーブル */
  .vehicle-info-table {
    table-layout: fixed;
    width: 100%;
  }

  .vehicle-info-table th,
  .vehicle-info-table td {
    padding: 10px 12px;
    word-break: break-word;
  }

  .vd-spec-item .vd-label {
    font-size: 13px;
    padding: 2px 4px;
    width: 64px;
  }
  .vd-spec-value {
    font-size: 15px;
  }
  .vehicle-info-table th {
    width: 7em;
    white-space: normal;
  }

  /* 装備バッジ */
  .vehicle-equipment-badges {
    grid-template-columns: 1fr;
  }

  /* ソートタブ */
  .vehicle-sort-tabs {
    gap: 8px;
  }

  .vehicle-sort-group {
    gap: 4px;
  }

  .vehicle-sort-tab {
    font-size: 11px;
    padding: 5px 9px;
  }

  /* 年式レンジ */
  .vehicle-year-range {
    gap: 4px;
  }
}

/* ============================================================
   お知らせ一覧・詳細
   ============================================================ */

/* Hero */
.hero-section--news::before {
  background-image: url('../images/news/news-fkv-img.webp');
}

.news-archive-wrap {
  margin-top: 48px;
}

/* 白背景用カラー上書き */
.news-list-new--light li {
  border-bottom-color: #e5e5e5;
}

.news-list-new--light li:first-child {
  border-top-color: #e5e5e5;
}

.news-list-new--light .news-date {
  color: var(--text-gray02);
}

.news-list-new--light .news-text {
  color: var(--text-main);
}

.news-list-new--light .news-arrow {
  border-top-color: var(--text-gray02);
  border-right-color: var(--text-gray02);
}

.news-list-new--light li a:hover .news-text {
  color: var(--primary-color);
}

.news-list-new--light li a:hover .news-arrow {
  border-top-color: var(--primary-color);
  border-right-color: var(--primary-color);
}

/* ページネーション */
.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.news-empty {
  text-align: center;
  color: var(--text-gray);
  padding: 64px 0;
  font-size: 15px;
}

.news-empty-msg {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  padding: 20px 0;
}

/* ---- 詳細ページ ---- */
.news-single {
  max-width: 800px;
  margin: 0 auto;
}

.news-single__header {
  margin-bottom: 24px;
}

.news-single__date {
  display: block;
  font-size: 13px;
  color: var(--text-gray02);
  font-family: var(--font-btn-en);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.news-single__title {
  font-size: var(--font-h2);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.news-single__divider {
  border: none;
  border-top: 2px solid var(--primary-color);
  margin: 0 0 40px;
}

.news-single__thumbnail {
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.news-single__thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

.news-single__body {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-main);
}

.news-single__body p {
  margin: 0 0 1.5em;
}

.news-single__body h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 2em 0 0.75em;
  padding-left: 12px;
  border-left: 4px solid var(--primary-color);
}

.news-single__body h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 1.75em 0 0.5em;
}

.news-single__body ul,
.news-single__body ol {
  padding-left: 1.75em;
  margin: 0 0 1.5em;
}

.news-single__body li {
  margin-bottom: 0.5em;
}

.news-single__body img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 24px 0;
}

.news-single__body a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* 前後ナビ */
.news-single__nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid #e5e5e5;
}

.news-single__nav-item {
  flex: 1;
}

.news-single__nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}

.news-single__nav-item a:hover {
  color: var(--primary-color);
}

.news-single__nav-item--next {
  text-align: right;
  justify-content: flex-end;
}

.news-single__nav-item--next a {
  justify-content: flex-end;
}

.news-nav-label {
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.news-nav-arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  flex-shrink: 0;
}

.news-nav-arrow--prev {
  transform: rotate(-135deg);
}

.news-nav-arrow--next {
  transform: rotate(45deg);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .news-single__title {
    font-size: 22px;
  }

  .news-single__nav {
    flex-direction: column;
    gap: 24px;
  }

  .news-single__nav-item--next a {
    justify-content: flex-start;
  }

  .news-single__nav-item--next {
    text-align: left;
  }
}

/* ============================================
   404 ページ
   ============================================ */
.hero-section--404::before {
  background-image: url(../images/fkv-img.webp);
}

section.section.error-404-section.accent-left {
  padding-bottom: 0;
}

.error-404-num {
  font-family: var(--font-deco-en);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.04em;
}

.error-404-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.error-404-icon {
  width: 120px;
  opacity: 0.6;
}

.error-404-lead {
  font-size: var(--font-h5);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.8;
}

.error-404-desc {
  font-size: var(--font-body-small);
  line-height: 2;
  margin-bottom: 0;
}

.error-404-btns {
  width: 100%;
  margin: 0 auto;
}

@media (max-width: 890px) {
  .hero-section--404 .hero-inner {
    height: 70vh;
  }
}

@media (max-width: 768px) {
  .error-404-section .container {
    padding: 40px 24px;
  }

  .error-404-icon {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .hero-section--404 .hero-inner {
    height: 60vh;
  }
  .error-404-section .container {
    padding: 32px 16px;
  }
}

/* ============================================
   サンクスページ
   ============================================ */
.hero-section--thanks::before {
  background-image: url(../images/fkv-img.webp);
}

.thanks-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

.thanks-icon {
  width: 120px;
  opacity: 0.6;
}

.thanks-lead {
  font-size: var(--font-h5);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
  line-height: 1.8;
}

.thanks-desc {
  font-size: var(--font-body-small);
  line-height: 2.2;
  margin-bottom: 8px;
}

.thanks-notice {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px 28px;
  text-align: left;
  margin-top: 8px;
}

.thanks-notice .text-note {
  line-height: 2;
  color: var(--text-gray);
  text-align: left;
}

.thanks-notice .text-note span {
  display: block;
  padding-left: 1em;
  text-indent: -1em;
}

.thanks-tel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

a.btn.primary-btn.has-icon.contact-intro-tel {
    font-size: 16px;
}

.thanks-tel-box .contact-info-hours {
  font-size: var(--font-note);
  color: var(--text-gray);
  margin: 0;
}

.thanks-tel-box .text-note {
  color: var(--text-gray);
}

.thanks-btns {
  margin-top: 8px;
  width: 100%;
}

@media (max-width: 768px) {
  .thanks-section .container {
    padding: 40px 24px;
  }

  .thanks-icon {
    width: 80px;
  }

  .thanks-notice {
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .thanks-section .container {
    padding: 32px 16px;
  }
}

.thanks-section {
  padding-top: calc(var(--section-margin) + 190px);
}

@media (max-width: 890px) {
  .thanks-section {
    padding-top: calc(var(--section-margin) + 70px);
  }
}

@media (max-width: 480px) {
  .thanks-section {
    padding-top: calc(var(--section-margin) + 65px);
  }
}