@charset "UTF-8";

/* =========================================================
   JP Top (Renewal)  -  page-jp-renewal.php
   namespace: .p-jptop
   ========================================================= */

.p-jptop {
  --color-text: #1a1a1a;
  --color-text-sub: #555;
  --color-accent: #e63312;
  /* accent red */
  --color-orange: #ff9900;
  /* button orange */
  --color-navy: #1d4a67;
  /* brand red（ボタンのhover等。--color-accent とは別トーン） */
  --color-brand: #cf0616;
  --color-bg-gray: #f2f2f2;
  --color-border: #e2e2e2;
  --container: 1488px;
  --radius: 12px;
  /* セクション見出し共通サイズ（lg: vehicle/location用の大きめ） */
  --h2-size: 44px;
  --h2-size-lg: 48px;

  color: var(--color-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  /* full-bleed(100vw)セクションがスクロールバー幅分はみ出すのを抑止
     （clipはoverflow:hiddenと違いposition:stickyを壊さない） */
  overflow-x: clip;
}

@media (max-width: 768px) {
  .p-jptop {
    --h2-size: 24px;
    --h2-size-lg: 26px;
  }
}

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

.p-jptop img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ---- container ---- */
.p-jptop__inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- section ---- */
.p-jptop__section {
  padding: 64px 0;
}

/* ---- スクロールで下からふわっと出現（JS: initFadeIn が is-visible を付与） ---- */
.js-fadein {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-fadein {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- ↗付きリンク: ホバーで矢印が斜め上に飛んで一周して戻る ---- */
@keyframes p-jptop-arrow-fly {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }

  45% {
    transform: translate(1em, -1em);
    opacity: 0;
  }

  50% {
    transform: translate(-1em, 1em);
    opacity: 0;
  }

  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

/* ↗付きテキストリンク: テーマ共通の a:hover（color:#ff352e + underline）を
   ブランドカラーに寄せ、border-bottom と下線が二重になるのを防ぐ */
.p-jptop__vehicle-more a:link,
.p-jptop__vehicle-more a:visited,
.p-jptop__location-more a:link,
.p-jptop__location-more a:visited,
.p-jptop__stories-more a:link,
.p-jptop__stories-more a:visited,
.p-jptop__faq-more a:link,
.p-jptop__faq-more a:visited,
.p-jptop__flow-link:link,
.p-jptop__flow-link:visited {
  color: var(--color-text);
  text-decoration: none;
}

.p-jptop__vehicle-more a:hover,
.p-jptop__vehicle-more a:active,
.p-jptop__location-more a:hover,
.p-jptop__location-more a:active,
.p-jptop__stories-more a:hover,
.p-jptop__stories-more a:active,
.p-jptop__faq-more a:hover,
.p-jptop__faq-more a:active,
.p-jptop__flow-link:hover,
.p-jptop__flow-link:active {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
  text-decoration: none;
}

.p-jptop__vehicle-more a span,
.p-jptop__location-more a span,
.p-jptop__stories-more a span {
  display: inline-block;
}

.p-jptop__vehicle-more a:hover span,
.p-jptop__location-more a:hover span,
.p-jptop__stories-more a:hover span {
  animation: p-jptop-arrow-fly 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {

  .p-jptop__vehicle-more a:hover span,
  .p-jptop__location-more a:hover span,
  .p-jptop__stories-more a:hover span {
    animation: none;
  }
}

/* ---- headings ---- */

/* SPのみ表示する見出し内改行（単語の途中で折り返さないよう位置を指定する） */
.p-jptop__br-sp {
  display: none;
}

.p-jptop__h2 {
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin: 0 0 16px;
}

.p-jptop__lead {
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0 auto 56px;
}

/* ---- 予約ブロック（既存 en-top.css 由来クラスの互換定義） ---- */
.p-jptop .c-section__inner {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.p-jptop .c-headingH2 {
  font-size: var(--h2-size);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* =========================================================
   FV / Hero（full-bleed 100vw + text overlay）
   ========================================================= */
.p-jptop__fv {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* slider (full width)
   高さは80vh（svh対応ブラウザはアドレスバーを除いた実表示高基準）。
   min-heightのためオーバーレイ内容が増えても崩れず、コンテンツは下寄せで配置 */
.p-jptop__fv-slider {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: 80vh;
  min-height: 80svh;
  overflow: hidden;
}

.p-jptop__fv-track {
  position: absolute;
  inset: 0;
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.p-jptop__fv-slide {
  min-width: 100%;
  height: 100%;
}

.p-jptop__fv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
}

/* 桜など明るい写真でも白文字が読めるよう、下部に暗めのグラデーションを敷く
   （overlay: z-index 2 / nav: z-index 3 の下に置く） */
.p-jptop__fv-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 45%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* text overlay（通常フローでFVの高さを決める。左寄せで h1 → 実績カード を縦積み） */
.p-jptop__fv-overlay {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 32px 40px;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.p-jptop__fv-title {
  /* 横幅可変: 下限30px(見出しとして担保) 〜 上限56px */
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

/* SPのみ: h1下のエリア・拠点数（PCはカード内に表示するため非表示） */
.p-jptop__fv-sub {
  display: none;
}

/* ---- 実績カード（白カード・現行SPスタイル踏襲）
       背景写真を主役にするため、カードの白は透過を強めている（opacityは
       文字やボタンまで薄くなるので使わず、background-colorのalphaで調整） ---- */
/* SP用のカード配置ラッパー（PCでは非表示。SPでスライダー下に表示する） */
.p-jptop__fv-card-below {
  display: none;
}

.p-jptop__fv-card {
  width: 480px;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 22px 28px 20px;
  color: var(--color-text);
  text-shadow: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.p-jptop__fv-card-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 4px;
}

.p-jptop__fv-card-area {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.5;
  margin: 0;
}

.p-jptop__fv-card-note {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text-sub);
  margin: 0 0 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-navy);
}

.p-jptop__fv-card-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.p-jptop__fv-card-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
}

.p-jptop__fv-card-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  position: relative;
}

.p-jptop__fv-card-check::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.p-jptop__fv-card-label {
  font-size: 19px;
  font-weight: 700;
}

.p-jptop__fv-card-value {
  margin-left: auto;
  color: var(--color-accent);
  font-weight: 800;
  font-size: 16px;
  white-space: nowrap;
}

.p-jptop__fv-card-value strong {
  font-size: 28px;
  font-weight: 800;
}

.p-jptop__fv-card-value strong small {
  font-size: 17px;
}

.p-jptop__fv-card-value > small {
  font-size: 16px;
}

.p-jptop__fv-card-value .p-jptop__fv-card-value-text {
  font-size: 25px;
}

.p-jptop__fv-card-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.p-jptop__fv-btn-main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border-radius: 8px;
  background: var(--color-orange);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s ease;
}

/* テーマ共通の a:link / a:visited / a:hover（詳細度0-1-1）に負けるため、
   同じ擬似クラスを付けて文字色と下線を上書きする */
.p-jptop__fv-btn-main:link,
.p-jptop__fv-btn-main:visited,
.p-jptop__fv-btn-main:hover,
.p-jptop__fv-btn-main:active {
  color: #fff;
  text-decoration: none;
}

.p-jptop__fv-btn-main:hover {
  background: #e68a00;
}

.p-jptop__fv-btn-row {
  display: flex;
  gap: 10px;
}

.p-jptop__fv-btn-sub {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  border-radius: 8px;
  border: 2px solid var(--color-brand);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-brand);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.p-jptop__fv-btn-sub:link,
.p-jptop__fv-btn-sub:visited {
  color: var(--color-brand);
  text-decoration: none;
}

.p-jptop__fv-btn-sub:hover,
.p-jptop__fv-btn-sub:active {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
  text-decoration: none;
}

/* nav arrows (bottom-right) */
.p-jptop__fv-nav {
  position: absolute;
  right: 40px;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 14px;
}

.p-jptop__fv-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(90, 90, 90, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.p-jptop__fv-btn:hover {
  background: rgba(40, 40, 40, 0.9);
}

.p-jptop__fv-btn::before {
  content: "";
  display: inline-block;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  padding: 5px;
}

.p-jptop__fv-btn--prev::before {
  transform: rotate(135deg);
  margin-left: 4px;
}

.p-jptop__fv-btn--next::before {
  transform: rotate(-45deg);
  margin-right: 4px;
}

/* 次スライドまでのカウントを示すプログレスリング（JSがstroke-dashoffsetを更新） */
.p-jptop__fv-btn--next {
  position: relative;
}

.p-jptop__fv-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  transform: translate(-50%, -50%) rotate(-90deg);
  pointer-events: none;
}

.p-jptop__fv-ring circle {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
}

/* スクロール誘導矢印（予約モジュール下） */
.p-jptop__scroll-hint {
  display: flex;
  justify-content: center;
  padding: 18px 0 26px;
  color: #555; /* 黒〜グレー */
  transition: color 0.2s ease;
}

.p-jptop__scroll-hint:hover {
  color: #222;
}

.p-jptop__scroll-hint-icon {
  animation: p-jptop-scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes p-jptop-scroll-bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* 固定ヘッダー分のスクロール位置オフセット（--el-header-h は header.php が実測同期） */
#jptop-vehicle {
  scroll-margin-top: calc(var(--el-header-h, 217px) + 16px);
}

/* SPではスクロール誘導矢印は非表示 */
@media (max-width: 768px) {
  .p-jptop__scroll-hint {
    display: none;
  }
}

/* =========================================================
   Our Vehicle
   ========================================================= */
.p-jptop__vehicle {
  padding: 48px 0 96px;
}

/* head */
.p-jptop__vehicle-head {
  position: relative;
  margin-bottom: 48px;
  padding-top: 0;
  min-height: 0;
}

.p-jptop__vehicle-h2 {
  font-size: var(--h2-size-lg);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 24px;
}

.p-jptop__vehicle-h2 span {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-top: 6px;
}

.p-jptop__vehicle-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0;
  max-width: 860px;
}

.p-jptop__vehicle-deco {
  display: none; /* 一旦非表示 */
  position: absolute;
  bottom: 24px;
  right: 0;
  width: 34%;
  max-width: 400px;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

/* grey zone: tabs + panels as one rounded block */
.p-jptop__vehicle-box {
  border-radius: 16px;
  overflow: hidden;
  background: #f4f4f4;
}

/* tabs */
.p-jptop__vehicle-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  position: relative;
  z-index: 1;
}

.p-jptop__vehicle-tab {
  padding: 22px 12px;
  border: none;
  background: #ececec;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #555;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  /* 車種名の途中で改行させない。折り返しは<br>と<wbr>の位置のみ（極端な狭幅時のみ緊急折り返し） */
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.p-jptop__vehicle-tab.is-active {
  background: #e0e0e0;
  font-weight: 700;
  color: var(--color-text);
}

/* panels: stack every panel in one grid cell so the tallest fixes the height */
/* ステージ: 矢印の配置基準。パネルのはみ出し制御もここで行う */
.p-jptop__vehicle-stage {
  position: relative;
}

.p-jptop__vehicle-panels {
  position: relative;
  display: grid;
  overflow: hidden; /* スライド中のパネルをクリップ */
  /* JSが表示中パネルの高さに合わせる（スライド時もなめらかに） */
  transition: height 0.4s ease;
  /* 横スワイプはJSで処理、縦スクロールとピンチズームはブラウザに委ねる */
  touch-action: pan-y pinch-zoom;
}

/* 全パネルを同一セルに重ね、スライド+フェードで切替（JS制御） */
.p-jptop__vehicle-panel {
  grid-area: 1 / 1;
  /* 親のinline height（JS設定）に引き伸ばされると offsetHeight が実寸を返さず、
     SP→PCリサイズ時に高さが縮まなくなるため stretch させない */
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 40px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.p-jptop__vehicle-panel.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

/* media (single vehicle photo) */
.p-jptop__vehicle-media {
  align-self: flex-start;
  text-align: center;
}

.p-jptop__vehicle-photo {
  width: 86%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Our Vehicle: 画像ギャラリー（スライダー） */
.p-jptop__vehicle-gallery {
  position: relative;
  width: 100%; /* 媒体カラムいっぱいに広げる（440px制限を撤廃） */
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  /* ピンチはJS側で画像ズームとして処理する（縦スクロールはブラウザに委ねる） */
  touch-action: pan-y;
}

/* ズーム中は1本指パンもJSが処理するため、ブラウザのジェスチャを止める */
.p-jptop__vehicle-gallery.is-zoomed {
  touch-action: none;
}

.p-jptop__vehicle-gallery-track {
  display: flex;
  transition: transform 0.4s ease;
}

.p-jptop__vehicle-gallery-slide {
  min-width: 100%;
  aspect-ratio: 4 / 3; /* 全スライド同一比率で高さを安定させる */
}

.p-jptop__vehicle-gallery .p-jptop__vehicle-photo {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover; /* 枠いっぱいに表示（大きく見せる・余白なし） */
  margin: 0;
}

/* レイアウト図(DAY/NIGHT)は寸法表記が切れないよう全体を表示する */
.p-jptop__vehicle-gallery .p-jptop__vehicle-photo--plan {
  object-fit: contain;
  background: #fff;
}

/* 前後ボタン */
.p-jptop__vehicle-gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  z-index: 2;
}

.p-jptop__vehicle-gallery-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.p-jptop__vehicle-gallery-arrow--prev {
  left: 8px;
}

.p-jptop__vehicle-gallery-arrow--next {
  right: 8px;
}

.p-jptop__vehicle-gallery-arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border: solid #fff;
  border-width: 2px 2px 0 0;
}

.p-jptop__vehicle-gallery-arrow--prev::before {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.p-jptop__vehicle-gallery-arrow--next::before {
  transform: rotate(45deg);
  margin-right: 3px;
}

/* ドット */
.p-jptop__vehicle-gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}

.p-jptop__vehicle-gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: background 0.2s ease;
}

.p-jptop__vehicle-gallery-dot.is-active {
  background: #fff;
}

/* info */
.p-jptop__vehicle-info-head {
  margin-bottom: 16px;
}

.p-jptop__vehicle-name {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin: 12px 0 6px;
  /* 2行分の高さで固定し、車種によらず価格行の位置を揃える */
  min-height: calc(30px * 1.25 * 2);
}

.p-jptop__vehicle-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  line-height: 1.1;
  color: var(--color-accent);
}

.p-jptop__vehicle-price-yen {
  font-size: 20px;
  font-weight: 700;
}

.p-jptop__vehicle-price-num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.p-jptop__vehicle-price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-sub);
  margin-left: 2px;
}

.p-jptop__vehicle-desc {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  margin: 0 0 24px;
}

.p-jptop__vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 24px;
  margin-bottom: 24px;
}

.p-jptop__vehicle-specs ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-jptop__vehicle-specs li {
  display: flex;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
}

.p-jptop__vehicle-spec-mark {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: #1a1a1a;
  flex-shrink: 0;
}

.p-jptop__vehicle-more a {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}

.p-jptop__vehicle-more a:hover {
  opacity: 0.6;
}

/* vehicle prev/next nav（全パネル共通・PCは情報カラム右上に固定） */
.p-jptop__vehicle-nav {
  position: absolute;
  top: 129px;
  right: 40px;
  z-index: 3;
  display: flex;
  gap: 14px;
}

.p-jptop__vehicle-arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(90, 90, 90, 0.82);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.p-jptop__vehicle-arrow:hover {
  background: rgba(60, 60, 60, 0.95);
}

.p-jptop__vehicle-arrow::before {
  content: "";
  display: inline-block;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  padding: 4px;
}

.p-jptop__vehicle-arrow--prev::before {
  transform: rotate(135deg);
  margin-left: 4px;
}

.p-jptop__vehicle-arrow--next::before {
  transform: rotate(-45deg);
  margin-right: 4px;
}

/* info panel needs relative for the nav anchor */
.p-jptop__vehicle-info {
  position: relative;
  min-width: 0;
}

.p-jptop__vehicle-media {
  min-width: 0;
}

/* =========================================================
   Repeater Discount (h3, under Our Vehicle)
   ========================================================= */
.p-jptop__discount {
  /* h3の小見出しセクションのため、上の車両セクションに寄せる */
  padding: 0 0 96px;
}

/* 横長バナー型カード: 左に見出し+説明、右に割引率バッジ */
/* 長期割引・リピーター割引を横並び */
.p-jptop__discount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.p-jptop__discount-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 40px 40px;
}

.p-jptop__discount-body {
  flex: 1 1 auto;
  min-width: 0;
}

.p-jptop__discount-h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 16px;
}

/* 選ばれる理由セクションと同じ赤丸のモチーフ */
.p-jptop__discount-dot {
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  border-radius: 50%;
}

.p-jptop__discount-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text);
  margin: 0 0 12px;
}

.p-jptop__discount-fact {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0;
}

.p-jptop__discount-fact strong {
  font-weight: 700;
  color: var(--color-accent);
}

.p-jptop__discount-badge {
  flex: none;
  width: 160px;
  text-align: center;
}

.p-jptop__discount-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  background: var(--color-accent);
  border-radius: 50%;
  color: #fff;
  line-height: 1;
}

.p-jptop__discount-rate {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  white-space: nowrap;
}

.p-jptop__discount-num {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.p-jptop__discount-pct {
  font-size: 28px;
  font-weight: 700;
  margin-left: 2px;
}

/* 「10%〜」の〜は小さめに */
.p-jptop__discount-from {
  font-size: 0.7em;
}

.p-jptop__discount-off {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 8px 0 0;
}

.p-jptop__discount-note {
  font-size: 14px;
  color: var(--color-text-sub);
  margin: 14px 0 0;
}

/* =========================================================
   Easy RV Rental For You (flow steps)
   ========================================================= */
.p-jptop__flow {
  padding: 96px 0;
}

.p-jptop__flow-h2 {
  font-size: var(--h2-size);
  font-weight: 800;
  text-align: center;
  margin: 0 0 40px;
}

.p-jptop__flow-box {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #1a1a1a;
  border-radius: 20px;
  padding: 48px 24px 56px;
}

.p-jptop__flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: flow;
}

.p-jptop__flow-step {
  text-align: center;
  padding: 24px 0;
}

.p-jptop__flow-badge {
  display: inline-block;
  padding: 7px 26px;
  background: #1a1a1a;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 16px;
}

.p-jptop__flow-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
}

.p-jptop__flow-text {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

/* PC（769px以上）は 1→2→3→4 を横並びにし、ステップ間に矢印コネクタを置く。
   SP（〜768px）は上記のベーススタイル（縦並び）のまま。 */
@media (min-width: 769px) {

  .p-jptop__flow-box {
    max-width: 1120px;
    padding: 48px 40px 52px;
  }

  .p-jptop__flow-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 48px;
    row-gap: 0;
    align-items: start;
  }

  .p-jptop__flow-step {
    position: relative;
    padding: 0;
  }

  /* Step02以降の左側に矢印（>）を描く。要素数ぶんだけ自動で3本になる */
  .p-jptop__flow-step + .p-jptop__flow-step::before {
    content: "";
    position: absolute;
    top: 14px;
    left: -32px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--color-text);
    border-right: 2px solid var(--color-text);
    transform: rotate(45deg);
  }

  .p-jptop__flow-badge {
    padding: 6px 18px;
    font-size: 13px;
    margin-bottom: 14px;
  }

  .p-jptop__flow-title {
    font-size: 21px;
    margin: 0 0 10px;
  }

  .p-jptop__flow-text {
    font-size: 14px;
    text-align: left;
  }
}

/* タブレット寄りの幅は列間を詰める */
@media (min-width: 769px) and (max-width: 1100px) {

  .p-jptop__flow-box {
    padding: 40px 24px 44px;
  }

  .p-jptop__flow-list {
    column-gap: 32px;
  }

  .p-jptop__flow-step + .p-jptop__flow-step::before {
    left: -22px;
  }

  .p-jptop__flow-title {
    font-size: 19px;
  }
}

/* =========================================================
   Why El Monte?
   ========================================================= */
.p-jptop__why {
  padding: 96px 0;
}

.p-jptop__why-h2 {
  font-size: var(--h2-size);
  font-weight: 800;
  text-align: center;
  margin: 0 0 24px;
}

.p-jptop__why-lead {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-sub);
  margin: 0 0 56px;
}

.p-jptop__why-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.p-jptop__why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.p-jptop__why-row--reverse .p-jptop__why-img {
  order: 2;
}

.p-jptop__why-img {
  overflow: hidden;
  border-radius: 10px;
  /* 素材ごとの縦横比の違いを揃える（SPも同じ比率） */
  aspect-ratio: 16 / 10;
}

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

.p-jptop__why-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f2f2f2;
  border-radius: 10px;
  padding: 44px 52px;
}

.p-jptop__why-no {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 18px;
}

.p-jptop__why-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

.p-jptop__why-title {
  font-size: 30px;
  font-weight: 800;
  margin: 8px 0 24px;
}

.p-jptop__why-text {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

/* =========================================================
   Rental Location
   ========================================================= */
.p-jptop__location {
  position: relative;
  background: #f2f2f2;
  padding: 64px 0 72px;
  overflow: hidden;
}

.p-jptop__location-head {
  position: relative;
  margin-bottom: 36px;
}

.p-jptop__location-h2 {
  font-size: var(--h2-size-lg);
  font-weight: 800;
  margin: 0 0 20px;
}

.p-jptop__location-sub {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 18px;
}

.p-jptop__location-lead {
  font-size: 15px;
  line-height: 1.85;
  color: #333;
  margin: 0 0 20px;
  max-width: 860px;
}

.p-jptop__location-more a {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}

.p-jptop__location-more a:hover {
  opacity: 0.6;
}

/* prev/next */
.p-jptop__location-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 14px;
}

.p-jptop__location-arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(90, 90, 90, 0.82);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.p-jptop__location-arrow:hover {
  background: rgba(60, 60, 60, 0.95);
}

.p-jptop__location-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.p-jptop__location-arrow::before {
  content: "";
  display: inline-block;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  padding: 4px;
}

.p-jptop__location-arrow--prev::before {
  transform: rotate(135deg);
  margin-left: 4px;
}

.p-jptop__location-arrow--next::before {
  transform: rotate(-45deg);
  margin-right: 4px;
}

/* slider */
.p-jptop__location-slider {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y pinch-zoom; /* 縦スクロール・ピンチズームはブラウザ、横スワイプはJSが処理 */
  user-select: none;
  -webkit-user-select: none;
}

.p-jptop__location-slider:active {
  cursor: grabbing;
}

.p-jptop__location-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.p-jptop__location-card {
  position: relative;
  flex: 0 0 calc((100% - 60px) / 4);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: block;
  color: inherit;
  text-decoration: none;
}

.p-jptop__location-card-img {
  width: 100%;
  height: 180px;
  background: #ddd;
}

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

.p-jptop__location-card-body {
  padding: 16px 18px 20px;
}

.p-jptop__location-card-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.p-jptop__location-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 2px;
}

/* =========================================================
   Customers Stories
   ========================================================= */
.p-jptop__stories {
  background: #fff;
  padding: 96px 0;
  overflow: hidden;
}

.p-jptop__stories-head {
  position: relative;
  margin-bottom: 36px;
}

.p-jptop__stories-h2 {
  font-size: var(--h2-size);
  font-weight: 800;
  margin: 0 0 18px;
}

.p-jptop__stories-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  max-width: 760px;
}

.p-jptop__stories-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 14px;
}

.p-jptop__stories-arrow {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(90, 90, 90, 0.82);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.p-jptop__stories-arrow:hover {
  background: rgba(60, 60, 60, 0.95);
}

.p-jptop__stories-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.p-jptop__stories-arrow::before {
  content: "";
  display: inline-block;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  padding: 4px;
}

.p-jptop__stories-arrow--prev::before {
  transform: rotate(135deg);
  margin-left: 4px;
}

.p-jptop__stories-arrow--next::before {
  transform: rotate(-45deg);
  margin-right: 4px;
}

.p-jptop__stories-slider {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y pinch-zoom; /* 縦スクロール・ピンチズームはブラウザ、横スワイプはJSが処理 */
  user-select: none;
  -webkit-user-select: none;
}

.p-jptop__stories-slider:active {
  cursor: grabbing;
}

.p-jptop__stories-track {
  display: flex;
  gap: 28px;
  transition: transform 0.4s ease;
}

.p-jptop__stories-card {
  flex: 0 0 calc((100% - 56px) / 3);
  text-decoration: none;
  color: var(--color-text);
}

.p-jptop__stories-card-img {
  width: 100%;
  height: 360px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background: #e2e2e2;
}

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

.p-jptop__stories-tag {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 12px;
}

.p-jptop__stories-tag--green {
  background: #5ab552;
}

.p-jptop__stories-tag--blue {
  background: #3f7fd0;
}

.p-jptop__stories-tag--red {
  background: #e0584f;
}

.p-jptop__stories-title {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.p-jptop__stories-more {
  text-align: center;
  margin: 44px 0 0;
}

.p-jptop__stories-more a {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}

.p-jptop__stories-more a:hover {
  opacity: 0.6;
}

/* =========================================================
   CTA Banner (reused from existing EN)
   ========================================================= */
.p-jptop__cta-banner {
  /* fullwidthだと間延びするため、他セクションと同じインナー幅に揃える */
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.p-jptop__cta-banner a {
  display: block;
}

.p-jptop__cta-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================================
   News
   ========================================================= */
.p-jptop__news {
  padding: 96px 0;
}

.p-jptop__news-head {
  margin: 0 0 36px;
}

.p-jptop__news-body {
  max-width: 1000px;
  margin: 0 auto;
}

.p-jptop__news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.p-jptop__news-item {
  border-bottom: 1px solid var(--color-border);
}

.p-jptop__news-link {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 8px;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
}

.p-jptop__news-link:hover {
  color: var(--color-accent);
  padding-left: 16px;
}

.p-jptop__news-date {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
}

.p-jptop__news-title {
  flex: 1;
  font-size: 17px;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-jptop__news-arrow {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--color-border);
  transition: transform 0.2s ease, color 0.2s ease;
}

.p-jptop__news-link:hover .p-jptop__news-arrow {
  color: var(--color-accent);
  transform: translateX(4px);
}

.p-jptop__news-empty {
  padding: 24px 8px;
  color: var(--color-text-sub);
}

.p-jptop__news-more {
  margin: 32px 0 0;
  text-align: center;
}

.p-jptop__news-more a {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}

.p-jptop__news-more a:hover {
  opacity: 0.6;
}

.p-jptop__news-more a span {
  display: inline-block;
}

.p-jptop__news-more a:hover span {
  animation: p-jptop-arrow-fly 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .p-jptop__news-more a:hover span {
    animation: none;
  }
}

/* =========================================================
   FAQ (accordion)
   ========================================================= */
.p-jptop__faq {
  padding: 96px 0;
}

.p-jptop__faq-head {
  margin: 0 0 36px;
}

.p-jptop__faq-list {
  max-width: 1000px;
  margin: 0 auto;
}

.p-jptop__faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 16px;
  overflow: hidden;
}

.p-jptop__faq-question {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: var(--color-text);
}

.p-jptop__faq-q,
.p-jptop__faq-a {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--color-orange);
}

.p-jptop__faq-a {
  color: var(--color-navy);
}

.p-jptop__faq-q-text {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  padding-top: 1px;
}

.p-jptop__faq-icon {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--color-text-sub);
  transition: transform 0.3s ease;
}

.p-jptop__faq-question[aria-expanded="true"] .p-jptop__faq-icon {
  transform: rotate(180deg);
}

/* 回答: max-height でスムーズに開閉 */
.p-jptop__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.p-jptop__faq-answer-text {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

/* 回答本文に <a>/<br>/<strong> が混在しても flex item が増えないよう、本文側を1つにまとめる */
.p-jptop__faq-answer-body {
  flex: 1 1 auto;
  min-width: 0;
}

.p-jptop__faq-answer-body a {
  color: var(--color-orange);
  text-decoration: underline;
}

.p-jptop__faq-answer-body a:hover {
  opacity: 0.7;
}

.p-jptop__faq-more {
  max-width: 1000px;
  margin: 32px auto 0;
  text-align: center;
}

.p-jptop__faq-more a {
  display: inline-block;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 2px;
}

.p-jptop__faq-more a:hover {
  opacity: 0.6;
}

.p-jptop__faq-more a span {
  display: inline-block;
}

.p-jptop__faq-more a:hover span {
  animation: p-jptop-arrow-fly 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .p-jptop__faq-more a:hover span {
    animation: none;
  }

  .p-jptop__faq-answer {
    transition: none;
  }
}

/* =========================================================
   四季の風景（本番トップから移植・静的3カラム）
   ※旧「Enjoy RV Vacation in Japan」のsticky演出スタイルは廃止・削除
   ========================================================= */
.p-jptop__seasons {
  background: #fff;
}

.p-jptop__seasons-h2 {
  margin-bottom: 48px;
}

.p-jptop__seasons-block + .p-jptop__seasons-block {
  margin-top: 56px;
}

/* 季節見出し（本番 .season-heading と同じ左右の罫線つき） */
.p-jptop__seasons-h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px;
}

.p-jptop__seasons-h3 span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.p-jptop__seasons-h3 span::before,
.p-jptop__seasons-h3 span::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #171717;
}

.p-jptop__seasons-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-jptop__seasons-pic {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.p-jptop__seasons-pic img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.p-jptop__seasons-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
  color: var(--color-text);
}

.p-jptop__seasons-text {
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
  color: var(--color-text-sub);
}

/* =========================================================
   Responsive (tablet: 横幅が狭く高さのある画面)
   ========================================================= */
@media (min-width: 769px) and (max-width: 1100px) {

  .p-jptop__fv-overlay {
    padding: 28px 32px;
  }

  .p-jptop__fv-nav {
    right: 24px;
    bottom: 24px;
  }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .p-jptop__section {
    padding: 40px 0;
  }

  /* セクション見出しとその下のリード文は左づめ */
  .p-jptop__h2,
  .p-jptop__lead,
  .p-jptop .c-headingH2,
  .p-jptop__flow-h2,
  .p-jptop__why-h2,
  .p-jptop__why-lead {
    text-align: left;
  }

  /* 四季の風景: SPは1カラム、季節見出しは中央寄せ */
  .p-jptop__seasons-h2 {
    margin-bottom: 28px;
  }

  /* SPのみの見出し内改行を有効化 */
  .p-jptop__br-sp {
    display: inline;
  }

  .p-jptop__seasons-block + .p-jptop__seasons-block {
    margin-top: 40px;
  }

  .p-jptop__seasons-h3 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 16px;
  }

  /* SPは季節ごとに横スクロール（スナップ付き）。インナー左右paddingを相殺して画面端まで流す */
  .p-jptop__seasons-list {
    display: flex;
    gap: 16px;
    margin: 0 -20px;
    /* 先頭・末尾のカードも中央に止まるよう、左右に (100% - カード幅) / 2 の余白を取る */
    padding: 0 11%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .p-jptop__seasons-list::-webkit-scrollbar {
    display: none;
  }

  .p-jptop__seasons-card {
    flex: 0 0 78%;
    scroll-snap-align: center;
  }

  .p-jptop__seasons-title {
    font-size: 18px;
  }

  .p-jptop__seasons-text {
    font-size: 14px;
  }

  /* Easy RV Rental（前後とも白背景なので上下を詰める） */
  .p-jptop__flow {
    padding: 24px 0 40px;
  }

  .p-jptop__flow-box {
    padding: 28px 16px 32px;
    border-radius: 14px;
  }

  .p-jptop__flow-title {
    font-size: 22px;
  }

  /* Why El Monte（前のlocationはグレー背景なので上は通常） */
  .p-jptop__why {
    padding: 56px 0 40px;
  }

  .p-jptop__why-row,
  .p-jptop__why-row--reverse {
    grid-template-columns: 1fr;
  }

  .p-jptop__why-row--reverse .p-jptop__why-img {
    order: 0;
  }

  .p-jptop__why-img {
    aspect-ratio: 16 / 10;
  }

  .p-jptop__why-body {
    padding: 28px 20px;
  }

  .p-jptop__why-title {
    font-size: 22px;
  }

  /* Rental Location */
  .p-jptop__location-sub {
    font-size: 20px;
  }

  .p-jptop__location-lead {
    font-size: 14px;
  }

  .p-jptop__location-nav {
    position: static;
    margin-top: 20px;
    justify-content: flex-end;
  }

  .p-jptop__location-card {
    flex: 0 0 78%;
  }

  .p-jptop__location-arrow {
    width: 40px;
    height: 40px;
  }

  /* Customers Stories（前の四季セクションも白背景なので上を詰める） */
  .p-jptop__stories {
    padding: 32px 0 48px;
  }

  .p-jptop__stories-lead {
    font-size: 14px;
  }

  .p-jptop__stories-nav {
    position: static;
    margin-top: 20px;
    justify-content: flex-end;
  }

  .p-jptop__stories-card {
    flex: 0 0 80%;
  }

  .p-jptop__stories-card-img {
    height: 240px;
  }

  .p-jptop__stories-arrow {
    width: 40px;
    height: 40px;
  }

  /* FAQ */
  .p-jptop__faq {
    padding: 24px 0 48px;
  }

  .p-jptop__faq-more a {
    font-size: 17px;
  }

  .p-jptop__faq-question {
    gap: 10px;
    padding: 18px 16px;
  }

  .p-jptop__faq-q-text {
    font-size: 15px;
  }

  .p-jptop__faq-answer-text {
    gap: 10px;
    padding: 0 16px 20px;
    font-size: 14px;
  }

  /* News */
  .p-jptop__news {
    padding: 56px 0 32px;
  }

  .p-jptop__news-more a {
    font-size: 17px;
  }

  .p-jptop__news-link {
    flex-wrap: wrap;
    gap: 4px 16px;
    padding: 16px 4px;
  }

  .p-jptop__news-link:hover {
    padding-left: 4px;
  }

  .p-jptop__news-date {
    font-size: 13px;
  }

  .p-jptop__news-title {
    flex: 1 0 100%;
    font-size: 15px;
  }

  .p-jptop__news-arrow {
    display: none;
  }

  /* Discount: SPは縦積みにしつつ、バッジを小さくして横並びにし高さを抑える */
  .p-jptop__discount {
    padding: 0 0 64px;
  }

  .p-jptop__discount-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .p-jptop__discount-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 24px 20px;
  }

  .p-jptop__discount-h3 {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .p-jptop__discount-lead {
    font-size: 15px;
    margin-bottom: 8px;
  }

  .p-jptop__discount-fact {
    font-size: 14px;
  }

  /* 円バッジと注記を横並びにする */
  .p-jptop__discount-badge {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .p-jptop__discount-circle {
    width: 96px;
    height: 96px;
  }

  .p-jptop__discount-num {
    font-size: 38px;
  }

  .p-jptop__discount-pct {
    font-size: 19px;
  }

  .p-jptop__discount-off {
    font-size: 15px;
    margin-top: 4px;
  }

  .p-jptop__discount-note {
    margin: 0;
  }

  /* SPは横長画像が破綻しないよう4:3の画像バンドにし、重ねるのはh1のみ。
     カードは画像の下（p-jptop__fv-card-below）に出す */
  .p-jptop__fv-slider {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .p-jptop__fv-overlay {
    /* 現行トップと同じく画像の中央に見出しとエリアを重ねる */
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .p-jptop__fv-sub {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.8;
    margin: 0;
  }

  .p-jptop__fv-overlay .p-jptop__fv-card {
    display: none;
  }

  .p-jptop__fv-card-below {
    display: block;
    padding: 16px 16px 4px;
  }

  .p-jptop__fv-card-below .p-jptop__fv-card {
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .p-jptop__fv-title {
    /* 「キャンピングカーをレンタルして」(15文字) が1行に収まるサイズに自動調整 */
    font-size: min(calc((100vw - 32px) / 14), 34px);
    line-height: 1.35;
    margin-bottom: 12px;
  }

  /* 実績カードはSPで全幅・コンパクトに */
  .p-jptop__fv-card {
    width: 100%;
    padding: 20px 20px 18px;
    border-radius: 14px;
  }

  /* SPは情報量を現行トップに合わせる（エリア・拠点数・CTAのみ表示） */
  .p-jptop__fv-card-title,
  .p-jptop__fv-card-list,
  .p-jptop__fv-card-area,
  .p-jptop__fv-card-note {
    display: none;
  }

  .p-jptop__fv-btn-main {
    height: 52px;
    font-size: 17px;
  }

  .p-jptop__fv-btn-sub {
    height: 44px;
    font-size: 14px;
  }

  /* SPは現行トップと同じく、画像の左右端・上下中央に矢印を置く */
  .p-jptop__fv-nav {
    inset: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .p-jptop__fv-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    pointer-events: auto;
  }

  .p-jptop__fv-btn--prev {
    left: 8px;
  }

  .p-jptop__fv-btn--next {
    right: 8px;
  }

  .p-jptop__fv-ring {
    display: none;
  }

  /* Our Vehicle */
  .p-jptop__vehicle {
    padding: 32px 0 64px;
  }

  .p-jptop__vehicle-lead {
    font-size: 14px;
  }

  .p-jptop__vehicle-deco {
    display: none;
  }

  /* 矢印を箱の外へはみ出させるためクリップ解除。角丸はタブ側で担保 */
  .p-jptop__vehicle-box {
    overflow: visible;
  }

  .p-jptop__vehicle-tabs {
    grid-template-columns: repeat(3, 1fr);
    border-radius: 16px 16px 0 0;
    overflow: hidden;
  }

  .p-jptop__vehicle-tab {
    padding: 14px 8px;
    font-size: 13px;
  }

  /* SPは1カラム。全パネルを重ねてスライド切替（高さはJSが表示中に合わせる） */
  .p-jptop__vehicle-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 16px;
  }

  /* 車両説明文のSP短縮（詳細フレーズを非表示にして約2/3に） */
  .p-jptop__vehicle-desc-detail {
    display: none;
  }

  .p-jptop__vehicle-name {
    font-size: 22px;
    min-height: 0; /* SPは行数固定しない */
  }

  .p-jptop__vehicle-price-yen {
    font-size: 16px;
  }

  .p-jptop__vehicle-price-num {
    font-size: 30px;
  }

  .p-jptop__vehicle-price-unit {
    font-size: 13px;
  }

  .p-jptop__vehicle-specs {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* SPは全長と定員のみ表示（他スペックは非表示）
     ベースの .p-jptop__vehicle-specs li { display: flex } に勝つよう詳細度を上げる */
  .p-jptop__vehicle-specs li.p-jptop__vehicle-spec-detail {
    display: none;
  }

  .p-jptop__vehicle-more a {
    font-size: 17px;
  }

  /* SPは画像を一定比率にして、共通の矢印を画像の縦中心・左右端に固定
     （タブ切替で位置が動かないよう panels 基準で配置） */
  .p-jptop__vehicle-photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 2;
    object-fit: contain;
  }

  .p-jptop__vehicle-nav {
    /* 車両名のあたりに配置: パネル上padding24px + 画像高さ(3:2) + gap24px + 見出し上余白12px + 名前中心 */
    top: calc(84px + (100vw - 72px) * 2 / 3);
    /* 箱の外側へ少しはみ出す */
    left: -16px;
    right: -16px;
    transform: translateY(-50%);
    justify-content: space-between;
    gap: 0;
    pointer-events: none; /* 隙間はスワイプを透過させる */
  }

  /* 画像の左右端に少しはみ出す形で配置 */
  .p-jptop__vehicle-arrow {
    width: 38px;
    height: 38px;
    pointer-events: auto;
  }
}

/* =========================================================
   JP独自セクション
   ========================================================= */

/* ---- 流れ: 動画・店舗一覧リンク ---- */
.p-jptop__flow-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-top: 28px;
}

.p-jptop__flow-link {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-text);
}

.p-jptop__flow-link:hover {
  color: var(--color-brand);
  border-bottom-color: var(--color-brand);
}

/* ---- おすすめモデルコース ---- */
.p-jptop__routes {
  padding: 96px 0;
}

.p-jptop__routes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.p-jptop__routes-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.p-jptop__routes-card:hover {
  opacity: 0.85;
}

.p-jptop__routes-card img {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .p-jptop__routes {
    padding: 32px 0 48px;
  }

  .p-jptop__routes-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- 楽しみ方（縦積み） ---- */
.p-jptop__fun {
  padding: 96px 0;
  background: var(--color-bg-gray);
}

.p-jptop__fun-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.p-jptop__fun-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-jptop__fun-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.p-jptop__fun-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.p-jptop__fun-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 24px 24px;
}

.p-jptop__fun-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.5;
}

.p-jptop__fun-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-sub);
  margin: 0 0 14px;
}

.p-jptop__fun-more {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .p-jptop__fun {
    padding: 56px 0;
  }

  .p-jptop__fun-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- 宿泊場所（地域リンク10個） ---- */
.p-jptop__lodging {
  padding: 96px 0;
}

.p-jptop__lodging-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.p-jptop__lodging-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.p-jptop__lodging-card:hover {
  opacity: 0.85;
}

.p-jptop__lodging-card img {
  width: 100%;
  display: block;
}

.p-jptop__lodging-card--soon img {
  filter: grayscale(0.6);
  opacity: 0.6;
}

.p-jptop__lodging-soon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .p-jptop__lodging {
    padding: 24px 0 40px;
  }

  .p-jptop__lodging-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ---- モータープールバナー ---- */
.p-jptop__motorpool {
  padding: 0 0 96px;
}

.p-jptop__motorpool-link {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.p-jptop__motorpool-link:hover {
  opacity: 0.85;
}

.p-jptop__motorpool-link img {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .p-jptop__motorpool {
    padding: 0 0 56px;
  }
}

/* ---- スペシャルコンテンツ（バナー4枚） ---- */
.p-jptop__special {
  padding: 96px 0;
  background: var(--color-bg-gray);
}

.p-jptop__special-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.p-jptop__special-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: opacity 0.2s ease;
}

.p-jptop__special-card:hover {
  opacity: 0.85;
}

.p-jptop__special-card img {
  width: 100%;
  display: block;
}

@media (max-width: 768px) {
  .p-jptop__special {
    padding: 56px 0;
  }

  .p-jptop__special-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---- FAQ: カテゴリボタン ---- */
.p-jptop__faq-categories {
  margin-top: 40px;
  text-align: center;
}

.p-jptop__faq-categories-label {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
}

.p-jptop__faq-categories-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.p-jptop__faq-category {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border: 1px solid var(--color-brand);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-brand);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.p-jptop__faq-category:link,
.p-jptop__faq-category:visited {
  color: var(--color-brand);
  text-decoration: none;
}

.p-jptop__faq-category:hover,
.p-jptop__faq-category:active {
  background: var(--color-brand);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 768px) {
  .p-jptop__faq-categories-list {
    gap: 8px;
  }

  .p-jptop__faq-category {
    padding: 8px 16px;
    font-size: 13px;
  }
}

/* =========================================================
   キャンピングカーを選ぶ理由（費用構成の比較）
   ========================================================= */
.p-jptop__compare {
  padding: 96px 0;
  background: #fff;
}

.p-jptop__compare-h2 {
  font-size: var(--h2-size);
  font-weight: 800;
  text-align: center;
  margin: 0 0 18px;
}

.p-jptop__compare-lead {
  max-width: 860px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: var(--color-text-sub);
}

.p-jptop__compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1040px;
  margin: 0 auto;
}

.p-jptop__compare-card {
  background: var(--color-bg-gray);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.p-jptop__compare-label {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-sub);
}

.p-jptop__compare-card--rv .p-jptop__compare-label {
  background: var(--color-brand);
  border-color: var(--color-brand);
  color: #fff;
}

.p-jptop__compare-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.5;
}

.p-jptop__compare-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid var(--color-border);
}

.p-jptop__compare-item {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  line-height: 1.7;
}

.p-jptop__compare-item-name {
  flex: 0 0 140px;
  font-weight: 700;
}

.p-jptop__compare-item-desc {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--color-text-sub);
}

.p-jptop__compare-point {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 700;
}

.p-jptop__compare-est {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-sub);
}

.p-jptop__compare-summary {
  max-width: 1040px;
  margin: 32px auto 0;
  font-size: 16px;
  line-height: 1.9;
}

.p-jptop__compare-note {
  max-width: 1040px;
  margin: 12px auto 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-text-sub);
}

@media (max-width: 768px) {
  .p-jptop__compare {
    padding: 24px 0;
  }

  .p-jptop__compare-h2 {
    text-align: left;
  }

  .p-jptop__compare-lead {
    margin-bottom: 32px;
    text-align: left;
    font-size: 15px;
  }

  .p-jptop__compare-lead br {
    display: none;
  }

  /* SPは横スクロール（スナップ付き）。キャンピングカーのカードを先頭に出す */
  .p-jptop__compare-grid {
    display: flex;
    gap: 16px;
    margin: 0 -20px;
    /* 先頭・末尾のカードも中央に止まるよう、左右に (100% - カード幅) / 2 の余白を取る */
    padding: 0 5%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .p-jptop__compare-grid::-webkit-scrollbar {
    display: none;
  }

  .p-jptop__compare-card {
    flex: 0 0 90%;
    scroll-snap-align: center;
    padding: 24px 20px;
  }

  .p-jptop__compare-card--rv {
    order: -1;
  }

  .p-jptop__compare-title {
    font-size: 19px;
  }

  .p-jptop__compare-item-name {
    flex: 0 0 100%;
  }
}
