/* ==========================================================
   CORDOVAN COLLECTION LP — Page-Specific Styles
   Crockett & Jones × Horween Shell Cordovan | FRAME
   Moreton LP とデザイントークンを共有
   ========================================================== */

/* ── CSS カスタムプロパティ ── */
:root {
  /* カラー */
  --color-bg:        #0a0a08;
  --color-bg-2:      #111110;
  --color-text:      #f0ede6;
  --color-text-muted:#8a8880;
  --color-accent:    #b89a6e;
  --color-accent-2:  #6b3a2a;
  --color-border:    rgba(240, 237, 230, 0.08);

  /* タイポグラフィ */
  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-jp:      'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

  /* フォントスケール */
  --fs-hero:    clamp(48px, 9.5vw, 140px);
  --fs-display: clamp(42px, 6vw,  96px);
  --fs-h2:      clamp(32px, 4vw,  64px);
  --fs-body:    clamp(14px, 1.2vw, 16px);

  /* スペーシング */
  --section-py:    clamp(80px, 12vw, 160px);
  --container-px:  clamp(20px, 5vw,  80px);
}

/* ── リセット & ベース ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; } /* Lenis が制御 */

body.cordovan-lp {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* スクリーンリーダー / 検索エンジン向けテキスト */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ═══════════════════════════════════════════════════════════
   Section 0 — ナビ
═══════════════════════════════════════════════════════════ */
.cd-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px var(--container-px);
  background: transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}

.cd-nav.is-scrolled {
  background: rgba(10, 10, 8, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 16px;
  padding-bottom: 16px;
}

.cd-nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.cd-nav__cta {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--color-accent);
  border: 1px solid rgba(184, 154, 110, 0.4);
  padding: 8px 20px;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}

.cd-nav__cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

@media (max-width: 767px) {
  .cd-nav__cta { display: none; }
  .cd-nav {
    justify-content: center;
    padding: 16px var(--container-px);
  }
  .cd-nav__logo-img { height: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   Section 1 — ヒーロー（ズームパララックス / Moreton と同方式）
═══════════════════════════════════════════════════════════ */

/* スクロール量を確保するスペーサー（100vh表示 + 120vhズーム分） */
.hero-pin-spacer {
  height: 220vh;
}

/* sticky でスペーサー内に貼り付く（pin: true 不使用で Lenis と競合しない） */
.hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
}

/* ── 背景レイヤー ── */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(2px) brightness(0.4);
  transform: scale(1.05); /* blur端のホワイト対策 */
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 8, 0.55);
}

/* ── ズームするコードバンのカード ── */
.hero__zoom-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/*
 * 全画面サイズで配置し、scale で縮小表示。
 * GSAPが scale(0.48) → scale(1) にアニメーションする。
 */
.hero__zoom-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(0.48);
  transform-origin: center center;
  border-radius: 32px;
  will-change: transform, border-radius, clip-path;
}

/* モバイル: 縦長のSP画像（hero-shell-sp.jpg）を cover でカード表示
 * → 余白が出ないので黒帯・黒枠は発生しない */
@media (max-width: 767px) {
  .hero__zoom-img {
    object-fit: cover;
    object-position: center center;
    transform: scale(0.72);
  }
}

/* ── テキスト（ズーム開始と同時にフェードアウト） ── */
.hero__content {
  position: absolute;
  z-index: 2;
  width: 100%;
  text-align: center;
  padding: 0 var(--container-px);
  bottom: 9%;
  pointer-events: none;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 24px;
  opacity: 0;
}

.hero__h1 { display: block; }

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--color-text);
  display: flex;
  justify-content: center;
  gap: 0.02em;
  margin-bottom: 24px;
}

.hero-title .char {
  display: inline-block;
}

.js .hero-title .char {
  opacity: 0;
  transform: translateY(60px);
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  opacity: 0;
}

.hero__sub-line {
  font-family: var(--font-jp), var(--font-body);
  color: var(--color-text);
  letter-spacing: 0.35em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--color-accent));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.hero__scroll-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* JS 無効時はヒーローを即表示 */
html:not(.js) .hero__eyebrow,
html:not(.js) .hero__sub,
html:not(.js) .hero__scroll { opacity: 1; }

/* ═══════════════════════════════════════════════════════════
   Section 2 — イントロダクション
═══════════════════════════════════════════════════════════ */
.intro {
  padding: var(--section-py) var(--container-px);
  background: var(--color-bg);
  overflow: hidden;
}

.intro__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.intro__jp {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 24px);
  letter-spacing: 0.22em;
  color: var(--color-text);
  margin-bottom: 32px;
}

.intro__display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: 0.95;
  color: var(--color-text);
  margin-bottom: 48px;
}

.intro__line {
  display: block;
  overflow: hidden;
}

.intro__display em { font-style: italic; }

/* ゴールドのサブライン行: 行ボックスごと縮小して行間を詰める
 * （親の見出しサイズのままだと1行が約90pxの高さになり、間延びする） */
.intro__line:has(.intro__word-jp) {
  font-size: 0.34em;
  line-height: 1.5;
}

/* セリフ大見出しの直後のサブライン1行目にだけ余白を入れる */
.intro__line:not(:has(.intro__word-jp)) + .intro__line:has(.intro__word-jp) {
  margin-top: 0.9em;
}

.intro__word-jp {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1em;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  display: inline-block;
}

.intro__body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-family: var(--font-jp), var(--font-body);
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-text-muted);
  max-width: 620px;
}

.intro__body strong {
  color: var(--color-text);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   Section 2.5 — オーバービュー（章インデックス）
═══════════════════════════════════════════════════════════ */
.overview {
  padding: 0 var(--container-px) var(--section-py);
  background: var(--color-bg);
}

.overview__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.overview__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.overview-card__link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--color-border);
  transition: border-color 0.4s ease, background 0.4s ease;
}

.overview-card__link:hover {
  border-color: rgba(184, 154, 110, 0.45);
  background: rgba(240, 237, 230, 0.02);
}

.overview-card__num {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.overview-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
}

.overview-card__title em { font-style: italic; }

/* 英字タイトル内の「と」（和文・小さめ・立体） */
.overview-card__jp {
  font-family: var(--font-jp), var(--font-body);
  font-style: normal;
  font-size: 0.55em;
  color: var(--color-text-muted);
  padding: 0 0.3em;
  vertical-align: middle;
}

.overview-card__desc {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-text-muted);
}

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

/* ═══════════════════════════════════════════════════════════
   Section 3 / 5 — チャプター（左右分割・スティッキー画像）
═══════════════════════════════════════════════════════════ */
.chapter {
  padding: var(--section-py) 0;
  background: var(--color-bg);
  overflow: hidden;
}

.chapter__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.chapter__grid--reverse .chapter__images { order: 2; }
.chapter__grid--reverse .chapter__text   { order: 1; }

.chapter__images { position: relative; }

.chapter__img-wrap--sticky {
  position: sticky;
  top: 10vh;
  overflow: hidden;
}

.chapter__img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  display: block;
}

.chapter__img--2 { margin-top: 8px; }

.chapter__text {
  padding: clamp(40px, 8vw, 120px) var(--container-px);
}

.chapter__h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.chapter__h2 em { font-style: italic; }

.chapter__h2-sub {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

/* 章内サブ見出し（h2の下・本文ブロックの間に置ける中見出し）
 * 使い方: <h3 class="chapter__h3 reveal-text">見出しテキスト</h3>
 */
.chapter__h3 {
  font-family: var(--font-jp), var(--font-body);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--color-text);
  width: 100%;
  max-width: 480px;
  margin: 48px auto 28px;
  padding-left: 16px;
  border-left: 2px solid var(--color-accent);
}

.chapter__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--font-jp), var(--font-body);
  line-height: 2.1;
  color: var(--color-text-muted);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.chapter__body strong {
  color: var(--color-text);
  font-weight: 400;
}

@media (max-width: 1023px) {
  .chapter__grid { grid-template-columns: 1fr; }
  .chapter__grid--reverse .chapter__images { order: 1; }
  .chapter__grid--reverse .chapter__text   { order: 2; }
  .chapter__img-wrap--sticky {
    position: relative;
    top: auto;
  }
  .chapter__img--2 { display: none; }
}

/* タブレット: 横長クロップ */
@media (min-width: 768px) and (max-width: 1023px) {
  .chapter__img { height: 60vw; }
}

/* スマホ: 正方形で大きく見せる（左右は cover で自然にトリミング） */
@media (max-width: 767px) {
  .chapter__img {
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ─── 数字で見る（stats） ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(24px, 4vw, 56px);
  margin: 56px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
  width: 100%;
  max-width: 480px;
}

.stats__label {
  font-family: var(--font-jp), var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
}

.stats__unit {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

@media (max-width: 767px) {
  .stats { grid-template-columns: repeat(3, auto); gap: 20px; }
}

/* ═══════════════════════════════════════════════════════════
   Section 4 — The Bond（フルブリード パララックス）
═══════════════════════════════════════════════════════════ */
.bond-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.parallax-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.parallax-bg {
  position: absolute;
  width: 100%;
  height: 140%;   /* パララックスの動きしろ */
  top: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.bond-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 8, 0.6)  0%,
    rgba(10, 10, 8, 0.15) 30%,
    rgba(10, 10, 8, 0.1)  55%,
    rgba(10, 10, 8, 0.65) 100%
  );
}

.bond-section__content {
  position: relative;
  z-index: 1;
  padding: clamp(40px, 8vw, 100px) var(--container-px);
  width: 100%;
}

.bond-section__heading {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 116px);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: 48px;
  text-shadow: 0 2px 24px rgba(10, 10, 8, 0.7);
}

.bond-section__line { display: block; }

.bond-section__line--right {
  padding-left: clamp(40px, 8vw, 160px);
}

.bond-section__body {
  font-family: var(--font-jp), var(--font-body);
  font-size: 15px;
  line-height: 2.2;
  color: rgba(240, 237, 230, 0.85);
  max-width: 620px;
  text-shadow: 0 1px 12px rgba(10, 10, 8, 0.8);
}

.bond-section__body strong {
  color: var(--color-accent);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════
   Section 4.5 — タイムライン
═══════════════════════════════════════════════════════════ */
.timeline {
  padding: var(--section-py) var(--container-px);
  background: var(--color-bg-2);
}

.timeline__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.timeline__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 80px);
}

.timeline__item {
  position: relative;
  text-align: center; /* ロゴ・年号・テキストを線に対して中央揃え */
}

/* 線の上に置くメーカーロゴ */
.timeline__logo {
  height: clamp(72px, 9vw, 128px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin: 0 auto 32px;
}

/* 区切り線（ロゴの下・年号の上） */
.timeline__rule {
  position: relative;
  border-top: 1px solid var(--color-border);
  margin-bottom: 32px;
}

.timeline__rule::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}

.timeline__year {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 300;
  line-height: 1;
  color: var(--color-text);
  margin-bottom: 20px;
}

.timeline__year em { font-style: italic; }

.timeline__text {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  line-height: 2;
  color: var(--color-text-muted);
  max-width: 460px;
  margin: 0 auto;
}

/* FRAME店舗タイムライン: ロゴは控えめサイズ */
.timeline--stores .timeline__logo {
  height: clamp(36px, 4.5vw, 60px);
}

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

/* ═══════════════════════════════════════════════════════════
   Section 7 — THE COLLECTION（モデル一覧）
═══════════════════════════════════════════════════════════ */
.collection {
  padding: var(--section-py) 0;
  background: var(--color-bg);
  /* 注意: overflow: hidden を指定すると内側の
     .collection-gallery の position: sticky が無効になる */
}

.collection__head {
  margin-bottom: clamp(64px, 8vw, 120px);
}

/* ─── タイトルコール ギャラリー（参照: lumenartspace "Impressions Of Heritage"）
 * sticky スペーサー方式（pin: true 不使用）。
 * スクロールに合わせて GSAP がタイルを Z軸の奥から整列させる。
 */
.collection-gallery-spacer {
  height: 250vh; /* 100vh 表示 + 150vh 分のスクラブ量 */
  margin-bottom: clamp(56px, 8vw, 104px);
}

.collection-gallery {
  position: sticky;
  top: 0;
  height: 100dvh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg);
}

/* 15タイル = PC 5列×3段 / SP 3列×5段 */
.collection-gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(8px, 1vw, 16px);
  /* 横幅上限 / ビューポート高さ（3段が収まる幅 = 高さ×5/3）の小さい方 */
  width: min(94vw, 1560px, calc((100dvh - 140px) * 1.6));
}

.collection-gallery__tile {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-2);
  will-change: transform, opacity;
}

/* JS 有効時のみ初期非表示（GSAP が scrub で整列させる） */
.js .collection-gallery__tile { opacity: 0; }

.collection-gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ディテール（横長）カットを使うタイルは cover で正方形にトリミング */
.collection-gallery__tile--detail img {
  object-fit: cover;
}

/* ─── 中央オーバーレイのタイトル ─── */
.collection-gallery__absolute {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--container-px);
  pointer-events: none;
}

.collection-gallery__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  text-shadow: 0 1px 12px rgba(10, 10, 8, 0.8);
}

.collection-gallery__heading {
  font-family: var(--font-display);
  font-size: clamp(52px, 9.5vw, 152px);
  font-weight: 300;
  line-height: 0.98;
  color: var(--color-text);
  text-shadow: 0 2px 24px rgba(10, 10, 8, 0.8);
}

.collection-gallery__heading em { font-style: italic; }

.collection-gallery__sub {
  display: block;
  margin-top: 24px;
  font-family: var(--font-jp), var(--font-body);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.9;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-shadow: 0 1px 12px rgba(10, 10, 8, 0.8);
}

@media (max-width: 767px) {
  .collection-gallery-spacer { height: 220vh; }
  .collection-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 92vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .collection-gallery__tile { opacity: 1; }
}

/* ─── リード + モデルインデックス ─── */
.collection__head-inner {
  padding: 0 var(--container-px);
  max-width: 1240px;
  margin: 0 auto;
}

.collection__lead {
  font-family: var(--font-jp), var(--font-body);
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-text-muted);
  max-width: 620px;
  margin-bottom: 48px;
}

/* ─── モデルインデックス（チップ） ─── */
.model-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.model-index__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 10px 18px;
  border-radius: 999px;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.model-index__chip:hover {
  border-color: rgba(184, 154, 110, 0.5);
  color: var(--color-text);
}

.model-index__num {
  font-size: 10px;
  color: var(--color-accent);
}

/* ─── モデル行 ─── */
.model-list {
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 12vw, 180px);
}

.model {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 0 var(--container-px);
  max-width: 1520px;
  margin: 0 auto;
  width: 100%;
  scroll-margin-top: 90px;
}

/* 反転時は画像が右列に来るため、列幅の比率も反転させる（画像側を常に 1.5fr に） */
.model--reverse { grid-template-columns: 1fr 1.5fr; }
.model--reverse .model__media { order: 2; }
.model--reverse .model__text  { order: 1; }

/* order 指定を持つ反転モデルでも、カラー展開・ディテールは必ずテキスト/画像の後に */
.model--reverse .model__colors  { order: 3; }
.model--reverse .model__details { order: 4; }

.model__media { position: relative; }

/*
 * 商品写真はトリミングしない：
 * 全モデル共通の 4:3 ボックス + object-fit: contain。
 * 元画像の縦横比が違っても商品が切れず、ブロックサイズは統一される。
 */
.model__img-wrap {
  aspect-ratio: 4 / 3;
}

.model__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* 大きなモデル番号（画像に重ねる） */
.model__num {
  position: absolute;
  top: 0;
  left: 0.05em;
  z-index: 2;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(96px, 12vw, 200px);
  font-weight: 300;
  line-height: 1;
  color: rgba(240, 237, 230, 0.18);
  pointer-events: none;
  /* 初期状態: 数字の下半分が写真に被る（JS がスクロールで上へ引き離す） */
  transform: translateY(-50%);
}

.model--reverse .model__num {
  left: auto;
  right: -0.1em;
}

.model__style {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.model__name {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 56px);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.model__name em { font-style: italic; }

.model__kana {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.model__desc {
  font-family: var(--font-jp), var(--font-body);
  font-size: 14px;
  line-height: 2.1;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

/* ミニスペック */
.model__spec {
  margin-bottom: 36px;
  max-width: 480px;
}

.model__spec-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: baseline;
}

.model__spec-row:first-child { border-top: 1px solid var(--color-border); }

.model__spec-row dt {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.model__spec-row dd {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  color: var(--color-text);
  font-weight: 300;
}

.model__tax {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-left: 4px;
}

.model__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.model__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.model__cta:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.model__cta--sub {
  border-color: rgba(240, 237, 230, 0.3);
  color: var(--color-text);
}

.model__cta--sub:hover {
  background: rgba(240, 237, 230, 0.08);
  color: var(--color-text);
}

/* ─── カラー展開（モデル紹介直下） ───
 * 展開色数はモデルにより 1〜3 色だが、常に3スロットのグリッドにして
 * カードサイズを全モデルで統一する（少ないモデルは右側が空くだけ）。
 */
.model__colors {
  grid-column: 1 / -1;
  margin-top: clamp(24px, 4vw, 56px);
}

.model__colors-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.model-color-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.model-color__figure {
  margin: 0;
}

.model-color__img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-bg-2);
}

/* トリミングなし（contain）で全体を表示 */
.model-color__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.model-color__name {
  margin-top: 12px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-text-muted);
}

/* ─── モデル ディテール画像（横長6枚・2列×3段） ───
 * カラー展開（3列）と列幅を変えることでセクションの境目を明確にする。
 * 高さは自然比率（トリミングなし）。横長 3:2 で統一推奨。
 */
.model__details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: clamp(24px, 4vw, 56px);
  /* PCでは全幅より一回り狭めて中央揃え（SPでは 1列・さらに小さく） */
  width: min(100%, 960px);
  justify-self: center;
}

.model-detail {
  margin: 0;
  overflow: hidden;
}

.model-detail__img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1023px) {
  .model {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .model--reverse .model__media { order: 1; }
  .model--reverse .model__text  { order: 2; }
  .model__num {
    font-size: clamp(72px, 18vw, 128px);
  }
  .model-color-grid {
    gap: 6px;
  }
  .model-color__name {
    margin-top: 8px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }
}

/* スマホ: モデルメイン画像も正方形で大きく見せる（左右は cover で自然にトリミング） */
@media (max-width: 767px) {
  .model__img-wrap {
    aspect-ratio: 1 / 1;
  }
  .model__img {
    object-fit: cover;
  }

  /* モデル番号: タブレットより一段大きく */
  .model__num {
    font-size: clamp(84px, 22vw, 144px);
  }

  /* ディテール画像: 1列・小さめサイズの控えめな補足カットに */
  .model__details {
    grid-template-columns: 1fr;
    gap: 12px;
    width: min(78%, 340px);
  }
}

/* ═══════════════════════════════════════════════════════════
   Section 8 — 比較表
═══════════════════════════════════════════════════════════ */
.compare {
  padding: var(--section-py) var(--container-px);
  background: var(--color-bg-2);
}

.compare__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.compare__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare__title em { font-style: italic; }

.compare__title-sub {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

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

.compare__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
}

.compare__table thead th {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--color-accent);
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(184, 154, 110, 0.35);
}

.compare__table tbody th,
.compare__table tbody td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-weight: 300;
  color: var(--color-text-muted);
  vertical-align: top;
}

.compare__table tbody th {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--color-text);
  white-space: nowrap;
}

.compare__table tbody th a {
  border-bottom: 1px solid rgba(184, 154, 110, 0.35);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.compare__table tbody th a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.compare__table tbody tr:hover td,
.compare__table tbody tr:hover th {
  background: rgba(240, 237, 230, 0.02);
}

.compare__note {
  margin-top: 24px;
  font-family: var(--font-jp), var(--font-body);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════════════════════
   Section 9 — FAQ
═══════════════════════════════════════════════════════════ */
.faq {
  padding: var(--section-py) var(--container-px);
  background: var(--color-bg);
}

.faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__title em { font-style: italic; }

.faq__title-sub {
  font-family: var(--font-jp), var(--font-body);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

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

.faq-item:first-of-type { border-top: 1px solid var(--color-border); }

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q:hover { color: var(--color-accent); }

.faq-item__q-text {
  font-family: var(--font-jp), var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

/* ＋ / − アイコン */
.faq-item__icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transition: transform 0.35s ease;
}

.faq-item__icon::after { transform: rotate(90deg); }

.faq-item[open] .faq-item__icon::after { transform: rotate(0deg); }

.faq-item__a {
  overflow: hidden;
}

.faq-item__a p {
  padding: 0 4px 28px;
  font-family: var(--font-jp), var(--font-body);
  font-size: 14px;
  line-height: 2.1;
  color: var(--color-text-muted);
  max-width: 720px;
}

/* ═══════════════════════════════════════════════════════════
   Section 10 — CTA
═══════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--section-py) var(--container-px);
  max-width: 900px;
}

.cta-section__label {
  font-family: var(--font-jp), var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.cta-section__heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 56px;
}

.cta-section__heading em { font-style: italic; }

.cta-section__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 48px;
  border: 1px solid rgba(240, 237, 230, 0.3);
  color: var(--color-text);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  font-weight: 400;
}

.cta-btn--primary {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.cta-btn--primary:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.cta-btn--secondary:hover {
  background: rgba(240, 237, 230, 0.08);
}

/* 店舗情報 */
.cta-stores {
  display: flex;
  justify-content: center;
  gap: clamp(40px, 6vw, 96px);
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.cta-store {
  width: min(100%, 400px);
  flex: 1 1 0;
}

.cta-store__img-wrap {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--color-bg-2);
}

.cta-store__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cta-store:hover .cta-store__img {
  transform: scale(1.03);
}

.cta-store__name {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 8px;
}

.cta-store__addr {
  font-family: var(--font-jp), var(--font-body);
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .cta-stores {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }
  .cta-store {
    width: 100%;
    flex: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   Section 11 — フッター
═══════════════════════════════════════════════════════════ */
.cd-footer {
  padding: 64px var(--container-px) 48px;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.cd-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.cd-footer__logo-img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  margin-bottom: 8px;
}

.cd-footer__series {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.cd-footer__nav-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.cd-footer__nav-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 32px;
}

.cd-footer__nav-list a {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.cd-footer__nav-list a:hover { color: var(--color-text); }

.cd-footer__copy {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .cd-footer__inner {
    flex-direction: column;
    gap: 32px;
  }
}

/* ═══════════════════════════════════════════════════════════
   アニメーション共通
═══════════════════════════════════════════════════════════ */
/* JS 有効時のみ初期非表示（JS 無効・クローラー環境ではそのまま表示） */
.js .reveal-text {
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
}

.reveal-line {
  display: block;
  overflow: hidden;
}

.js .reveal-line > * {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  will-change: transform, opacity;
}

/* モーション低減設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  .js .reveal-text,
  .js .reveal-line > *,
  .js .hero-title .char {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__eyebrow, .hero__sub, .hero__scroll { opacity: 1 !important; }
  .hero__zoom-img { opacity: 1 !important; }
  .hero__scroll-line { animation: none; }
}
