/* ===================================================
   Lien遠野 LP — 「夜から朝へ」シネマ縦スクロール
   =================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-night:        #000000;
  --c-deep-night:   #06080f;
  --c-ember:        #160806;
  --c-ember-2:      #2a0e08;
  --c-forest:       #0b1410;
  --c-starry:       #020410;
  --c-dawn:         #3a1f15;
  --c-dawn-2:       #b56a4a;
  --c-morning:      #e6c7a4;
  --c-day:          #f4ede1;
  --c-paper:        #faf6ee;

  --c-ink:          #1a1410;
  --c-ink-2:        #4a3f36;
  --c-gold:         #b8956a;
  --c-gold-pale:    #d4b88a;
  --c-white-veil:   rgba(255,255,255,0.78);
  --c-night-veil:   rgba(0,0,0,0.55);

  --f-jp: 'Shippori Mincho B1', 'Noto Serif JP', '游明朝', 'Yu Mincho', serif;
  --f-en: 'Cormorant Garamond', 'EB Garamond', serif;
  --f-en-2: 'Cinzel', 'Cormorant Garamond', serif;

  --space-section: clamp(7rem, 14vw, 12rem);
}

/* ===== グローバル：スマホでも横スクロール・拡大縮小禁止 ===== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--f-jp);
  color: #f5f0e8;
  background: var(--c-night);
  line-height: 1.9;
  font-weight: 400;
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* ===== 背景レイヤー（スクロールで色がトランジション） ===== */
.scene-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--c-night);
  transition: background 1.4s cubic-bezier(.4,0,.2,1);
}

/* ===================================================
   ヘッダー（極薄）
   =================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  color: #f5f0e8;
  letter-spacing: 0.08em;
  mix-blend-mode: difference;
}
.brand-jp {
  font-family: var(--f-jp);
  font-size: 1.05rem;
  font-weight: 500;
}
.brand-dot {
  display: inline-block;
  font-size: 0.55em;
  vertical-align: middle;
  opacity: 0.6;
  margin: 0 0.1em;
}
.brand-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 0.7rem;
  opacity: 0.7;
  letter-spacing: 0.18em;
  margin-top: 2px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.18);
}
.lang-btn {
  font-family: var(--f-en-2);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  padding: 2px 4px;
  transition: color .2s;
}
.lang-btn:hover { color: rgba(255,255,255,0.9); }
.lang-btn.active {
  color: #fff;
  border-bottom: 1px solid var(--c-gold-pale);
}
.lang-sep {
  color: rgba(255,255,255,0.25);
  font-size: 0.7rem;
}

/* ===================================================
   章カウンター（左端 縦・小さく・Heroでは隠す）
   =================================================== */
.chapter-counter {
  position: fixed;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #f5f0e8;
  opacity: 0;
  transition: opacity 1s ease;
}
body.is-past-hero .chapter-counter { opacity: 1; }
/* タブレット以下では章カウンター非表示（本文と被るため） */
@media (max-width: 1024px) {
  .chapter-counter { display: none; }
}
.counter-current {
  font-family: var(--f-jp);
  font-size: 1.4rem;
  font-weight: 600;
  writing-mode: vertical-rl;
  transition: transform .4s;
}
.counter-bar {
  display: block;
  width: 1px;
  height: 90px;
  background: rgba(245,240,232,0.4);
}
.counter-total {
  font-family: var(--f-jp);
  font-size: 0.8rem;
  opacity: 0.5;
  writing-mode: vertical-rl;
}

/* ===================================================
   セクション共通
   =================================================== */
.scene {
  position: relative;
  width: 100%;
  padding: var(--space-section) clamp(1.5rem, 5vw, 6rem);
  overflow: hidden;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.scene.is-in { opacity: 1; transform: none; }
/* Heroは即座に表示（FOUC防止） */
.scene--hero { opacity: 1; transform: none; }

.scene--hero {
  padding: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chapter-mark {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 3.5rem;
  opacity: 0.85;
}
.chapter-kanji {
  font-family: var(--f-jp);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--c-gold-pale);
}
.chapter-label {
  font-family: var(--f-en-2);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  border-left: 1px solid rgba(184,149,106,0.5);
  padding-left: 1.1rem;
}

/* ===================================================
   HERO
   =================================================== */
.scene-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.scene-image--hero img {
  animation: heroZoom 24s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.scene-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center,
              rgba(0,0,0,0.35) 0%,
              rgba(0,0,0,0.78) 70%,
              rgba(0,0,0,0.95) 100%);
}
.scene-veil--strong {
  background: radial-gradient(ellipse at center,
              rgba(0,0,0,0.45) 0%,
              rgba(0,0,0,0.82) 70%,
              rgba(0,0,0,0.95) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  padding: 0 1.5rem;
}

.hero-overline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 3rem;
  opacity: 0.85;
}
.hero-overline .line {
  display: block;
  width: clamp(40px, 8vw, 80px);
  height: 1px;
  background: var(--c-gold-pale);
}
.hero-overline .text {
  font-family: var(--f-en-2);
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  letter-spacing: 0.4em;
  color: var(--c-gold-pale);
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--f-jp);
  font-weight: 500;
  color: #fff;
  font-size: clamp(2rem, 6.4vw, 4.4rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.6);
}
.hero-line-1, .hero-line-2 {
  display: block;
}
.hero-em {
  position: relative;
  color: var(--c-gold-pale);
  font-weight: 600;
}
.hero-em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.15em;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold-pale), transparent);
  opacity: 0.7;
}

.hero-sub {
  font-family: var(--f-jp);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.85);
  line-height: 2;
  margin-bottom: 1.5rem;
  letter-spacing: 0.16em;
}

.hero-place {
  font-family: var(--f-en);
  font-style: italic;
  font-size: clamp(0.8rem, 1.6vw, 0.95rem);
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.2em;
}

.hero-scroll {
  position: absolute;
  bottom: max(2.5rem, env(safe-area-inset-bottom, 0));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.7);
  z-index: 3;
}
.hero-scroll-text {
  font-family: var(--f-en-2);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.hero-scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.3); transform-origin: top; opacity: 0.4; }
  50%      { transform: scaleY(1);   transform-origin: top; opacity: 1; }
}

/* ===================================================
   序章（プロローグ）— 余白多めミニマル
   =================================================== */
.scene--prologue {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.prologue-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: rgba(245,240,232,0.92);
}
.prologue-lead {
  font-family: var(--f-jp);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  letter-spacing: 0.18em;
  font-weight: 500;
  color: #fff;
  margin-bottom: 3rem;
}
.prologue-body {
  font-family: var(--f-jp);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 2.2;
  margin-bottom: 3.5rem;
  color: rgba(245,240,232,0.8);
}
.prologue-quote {
  font-family: var(--f-jp);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  line-height: 2.2;
  color: var(--c-gold-pale);
  letter-spacing: 0.16em;
  padding: 2rem 0;
  border-top: 1px solid rgba(184,149,106,0.3);
  border-bottom: 1px solid rgba(184,149,106,0.3);
  margin-bottom: 3rem;
}
.prologue-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: clamp(0.85rem, 1.7vw, 1rem);
  line-height: 1.9;
  color: rgba(245,240,232,0.55);
  letter-spacing: 0.06em;
}

/* ===================================================
   各章の共通レイアウト（テキスト + 写真）
   =================================================== */
.ch-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.ch-inner--reverse { direction: rtl; }
.ch-inner--reverse > * { direction: ltr; }

.ch-text { color: rgba(245,240,232,0.92); }

.ch-title {
  font-family: var(--f-jp);
  font-size: clamp(1.8rem, 4.8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  color: #fff;
}
.ch-title--center { text-align: center; }
.ch-em {
  color: var(--c-gold-pale);
  font-weight: 600;
}

.ch-lead {
  font-family: var(--f-jp);
  font-size: clamp(0.95rem, 1.9vw, 1.1rem);
  line-height: 2.2;
  margin-bottom: 1.8rem;
  color: rgba(245,240,232,0.85);
  letter-spacing: 0.1em;
}
.ch-lead--center { text-align: center; }

.ch-note {
  font-family: var(--f-jp);
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(245,240,232,0.55);
  margin-bottom: 1.4rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(184,149,106,0.4);
}

.ch-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: clamp(0.85rem, 1.6vw, 1rem);
  line-height: 1.9;
  color: rgba(245,240,232,0.5);
  letter-spacing: 0.05em;
}
.ch-en--center { text-align: center; }

.ch-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.ch-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.ch-photo:hover img { transform: scale(1.04); }

.ch-photo--right { transform: translateY(0); }
.ch-photo--left  { transform: translateY(0); }

.photo-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--f-en);
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  padding: 0.3rem 0.7rem;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
}

/* ===================================================
   章ごとの背景（時間が流れる色変化）
   =================================================== */
.scene--ch1 {
  background:
    radial-gradient(ellipse at 80% 40%, rgba(180,80,30,0.18), transparent 60%),
    radial-gradient(ellipse at 20% 70%, rgba(120,40,15,0.12), transparent 60%);
}
.scene--ch2 {
  background:
    radial-gradient(ellipse at 30% 30%, rgba(50,90,70,0.18), transparent 60%);
}
.scene--ch3 {
  padding: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene--ch4 {
  background:
    linear-gradient(180deg, rgba(58,31,21,0.0) 0%, rgba(181,106,74,0.4) 100%);
}
.scene--ch5 {
  background:
    linear-gradient(180deg, rgba(181,106,74,0.35) 0%, rgba(230,199,164,0.6) 100%);
  color: var(--c-ink);
}
.scene--ch6 {
  background:
    linear-gradient(180deg, rgba(230,199,164,0.5) 0%, rgba(250,246,238,1) 100%);
  color: var(--c-ink);
}
.scene--ch7,
.scene--access,
.scene--reserve {
  color: var(--c-ink);
}

/* 明るい章では色を反転 */
.scene--ch5 .ch-title,
.scene--ch6 .ch-title,
.scene--ch7 .ch-title,
.scene--access .ch-title { color: var(--c-ink); }

.scene--ch5 .ch-em,
.scene--ch6 .ch-em,
.scene--ch7 .ch-em,
.scene--access .ch-em { color: #8b5a2b; }

.scene--ch5 .ch-lead,
.scene--ch6 .ch-lead { color: var(--c-ink-2); }

.scene--ch5 .ch-en,
.scene--ch6 .ch-en { color: rgba(74,63,54,0.65); }

.scene--ch5 .chapter-kanji,
.scene--ch6 .chapter-kanji,
.scene--ch7 .chapter-kanji,
.scene--access .chapter-kanji { color: #8b5a2b; }
.scene--ch5 .chapter-label,
.scene--ch6 .chapter-label,
.scene--ch7 .chapter-label,
.scene--access .chapter-label { color: rgba(74,63,54,0.85); border-color: rgba(139,90,43,0.55); }

/* ===================================================
   第三章：満天の星（フルブリード写真）
   =================================================== */
.stars-fullbleed {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.stars-fullbleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stars-fullbleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
              rgba(2,4,16,0.25) 0%,
              rgba(2,4,16,0.7) 70%,
              rgba(2,4,16,0.9) 100%);
}
.stars-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.stars-overlay .ch-title {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.stars-overlay .ch-title { color: #fff; }
.stars-overlay .ch-lead { color: rgba(255,255,255,0.85); }
.stars-overlay .ch-en   { color: rgba(255,255,255,0.55); }

/* ===================================================
   第六章：里の一日（ギャラリーグリッド）
   =================================================== */
.ch-heading {
  max-width: 760px;
  margin: 0 auto 4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 1280px;
  margin: 0 auto;
}
.g-item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #ddd;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.g-item.is-in { opacity: 1; transform: none; }
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}
.g-item:hover img { transform: scale(1.08); }

.g-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.65));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.g-jp {
  font-family: var(--f-jp);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.g-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.day-note {
  text-align: center;
  margin: 3rem auto 0;
  max-width: 760px;
  font-family: var(--f-jp);
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
  line-height: 2;
  color: var(--c-ink-2);
  letter-spacing: 0.08em;
}

/* ===================================================
   第七章：宿の姿
   =================================================== */
.house-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.house-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  margin: 3.5rem auto;
  max-width: 1100px;
}
.h-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .9s ease, transform .9s ease;
}
.h-item.is-in { opacity: 1; transform: none; }
.h-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.h-item--wide {
  grid-row: span 2;
  aspect-ratio: 1 / 1.4;
}

.spec-list {
  list-style: none;
  max-width: 760px;
  margin: 3rem auto 0;
  border-top: 1px solid rgba(74,63,54,0.2);
}
.spec-list li {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74,63,54,0.15);
  font-family: var(--f-jp);
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
  line-height: 1.8;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .8s ease, transform .8s ease;
}
.spec-list li.is-in { opacity: 1; transform: none; }
.spec-label {
  flex: 0 0 5em;
  letter-spacing: 0.5em;
  color: #8b5a2b;
  font-weight: 500;
}
.spec-value {
  flex: 1;
  color: var(--c-ink-2);
  letter-spacing: 0.06em;
}

/* ===================================================
   アクセス
   =================================================== */
.access-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.access-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 3.5rem 0;
  text-align: center;
}
.access-h3 {
  font-family: var(--f-en-2);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #8b5a2b;
  margin-bottom: 1.1rem;
}
.access-text {
  font-family: var(--f-jp);
  font-size: clamp(0.85rem, 1.7vw, 0.95rem);
  line-height: 2;
  color: var(--c-ink-2);
  letter-spacing: 0.08em;
}
.map-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 2.5rem auto 0;
  border: 1px solid rgba(74,63,54,0.18);
}

/* ===================================================
   予約
   =================================================== */
.scene--reserve {
  background: linear-gradient(180deg, var(--c-paper) 0%, #efe6d2 100%);
}
.reserve-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.reserve-overline {
  font-family: var(--f-en-2);
  font-size: 0.72rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #8b5a2b;
  margin-bottom: 2rem;
}
.reserve-title {
  font-family: var(--f-jp);
  font-size: clamp(1.8rem, 4.6vw, 2.8rem);
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: var(--c-ink);
  margin-bottom: 1.8rem;
  font-weight: 500;
}
.reserve-lead {
  font-family: var(--f-jp);
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  line-height: 2;
  color: var(--c-ink-2);
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}
.reserve-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 1.1rem 2.4rem;
  border-radius: 0;
  font-family: var(--f-jp);
  transition: transform .3s, background .3s, color .3s;
  min-width: 240px;
}
.btn-jp {
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  font-weight: 500;
}
.btn-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  opacity: 0.85;
}
.btn--primary {
  background: var(--c-ink);
  color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); background: #000; }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
}
.btn--ghost:hover { background: var(--c-ink); color: #fff; transform: translateY(-2px); }

.reserve-note {
  font-family: var(--f-jp);
  font-size: 0.8rem;
  color: rgba(74,63,54,0.6);
  letter-spacing: 0.08em;
}

/* ===================================================
   フッター
   =================================================== */
.site-footer {
  background: var(--c-night);
  color: rgba(245,240,232,0.7);
  padding: 5rem 2rem 3rem;
  text-align: center;
  position: relative;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 2.5rem;
}
.foot-jp {
  font-family: var(--f-jp);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  color: #fff;
}
.foot-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0.6;
}
.foot-quote {
  font-family: var(--f-jp);
  font-size: clamp(0.9rem, 1.7vw, 1rem);
  line-height: 2;
  color: var(--c-gold-pale);
  letter-spacing: 0.16em;
  margin-bottom: 2.5rem;
}
.foot-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.foot-sns-link {
  font-family: var(--f-en-2);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.7);
  transition: color .3s;
}
.foot-sns-link:hover { color: #fff; }
.foot-dot { color: rgba(245,240,232,0.3); }
.foot-copy {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: rgba(245,240,232,0.4);
  margin-bottom: 1.5rem;
}
.foot-sample {
  font-family: var(--f-jp);
  font-size: 0.7rem;
  line-height: 1.8;
  color: rgba(245,240,232,0.35);
  letter-spacing: 0.06em;
}

/* ===================================================
   レスポンシブ
   =================================================== */
@media (max-width: 900px) {
  .ch-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .ch-inner--reverse { direction: ltr; }
  .ch-photo { aspect-ratio: 4 / 3; max-width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .house-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .h-item--wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
  .access-cols { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.9rem 1.1rem;
  }
  .brand-jp { font-size: 0.92rem; }
  .brand-en { font-size: 0.6rem; }
  .lang-switch { padding: 0.3rem 0.7rem; gap: 0.3rem; }
  .lang-btn { font-size: 0.65rem; }

  .chapter-counter {
    left: 0.55rem;
    gap: 0.5rem;
  }
  .counter-current { font-size: 1.1rem; }
  .counter-bar { height: 60px; }
  .counter-total { font-size: 0.7rem; }

  .scene { padding: clamp(5rem, 16vw, 7rem) 1.4rem; }

  .hero-overline { gap: 0.8rem; margin-bottom: 2rem; }
  .hero-overline .line { width: 30px; }
  .hero-overline .text { font-size: 0.6rem; letter-spacing: 0.3em; }
  .hero-title { letter-spacing: 0.06em; line-height: 1.7; }
  .hero-sub { letter-spacing: 0.1em; }

  .chapter-mark { margin-bottom: 2.2rem; gap: 0.8rem; }
  .chapter-kanji { font-size: 1.25rem; }
  .chapter-label { font-size: 0.62rem; letter-spacing: 0.25em; padding-left: 0.8rem; }

  .prologue-lead { letter-spacing: 0.12em; margin-bottom: 2rem; }
  .prologue-body { letter-spacing: 0.06em; margin-bottom: 2.5rem; }
  .prologue-quote { font-size: 1rem; padding: 1.4rem 0; margin-bottom: 2rem; letter-spacing: 0.1em; }

  .gallery-grid { grid-template-columns: 1fr; gap: 1rem; }
  .house-grid { grid-template-columns: 1fr; }
  .h-item--wide { grid-column: auto; }

  .spec-list li {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.9rem 0;
  }
  .spec-label { flex: none; letter-spacing: 0.3em; font-size: 0.78rem; }
  .spec-value { font-size: 0.92rem; line-height: 1.7; }

  .reserve-buttons { flex-direction: column; gap: 0.9rem; align-items: stretch; }
  .btn { min-width: 0; width: 100%; }

  .sp-hidden { display: none; }
}

/* セーフエリア（iOS） */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-header { padding-top: max(1.25rem, env(safe-area-inset-top)); }
  .site-footer { padding-bottom: max(3rem, calc(3rem + env(safe-area-inset-bottom))); }
}

/* モーション抑制 */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
