/* 吉田家 — YOSHIDA HOUSE
   色・文字・余白はここの変数でまとめて調整できる */
:root {
  --bg: #F3F0E9;
  --bg-2: #E5E0D6;
  --ink: #1D2522;
  --ink-soft: #4A524E;
  --dark: #202B27;
  --accent: #8C735B;      /* #A38D76 を、小さな文字でも読める濃さに少し下げた */
  --white: #FAF9F6;
  --line: rgba(29, 37, 34, .18);

  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1240px;
  --section: clamp(96px, 14vw, 200px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; overflow-anchor: none; }
/* ↑ 写真が画面に止まる場面があるため、ブラウザの自動のスクロール位置補正を切る（勝手に位置がずれるのを防ぐ） */
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* 見出しの改行位置：span ごとに折り返す（スマホで不自然に切れないように） */
.display span, .heading span, .subheading span, .hero__title span, .hero__lead span, .body span, .awards__caption span {
  display: inline-block;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 8px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- 共通の文字 ---------- */
.eyebrow {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--accent);
}
.eyebrow--light { color: rgba(250, 249, 246, .78); }
.display {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.5;
  letter-spacing: .08em;
}
.display--light { color: var(--white); }
.heading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.6;
  letter-spacing: .08em;
}
.subheading {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.7;
  letter-spacing: .06em;
}
.body {
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink-soft);
}
.body--small { font-size: 14px; margin-top: 18px; }
.body--light { color: rgba(250, 249, 246, .86); }

/* ボタン：文字と細い下線。押しやすいよう上下に余白を取る */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding: 12px 0;
  font-size: 14px; letter-spacing: .14em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: gap .35s ease, opacity .35s ease;
}
.btn::after { content: "→"; font-family: var(--sans); transition: transform .35s ease; }
.btn:hover { gap: 20px; }
.btn--light { color: var(--white); }
.btn--large { font-size: 15px; }
.link {
  display: inline-block; padding: 10px 0;
  font-size: 13px; letter-spacing: .12em;
  text-decoration: none; border-bottom: 1px solid var(--line);
  transition: border-color .3s ease;
}
.link:hover { border-color: var(--ink); }
/* 予約リンクが未設定のとき（config.js が空）に、プレビューで分かるようにする */
.is-unset { opacity: .55; cursor: not-allowed; }
.is-unset::before { content: "【未設定】"; font-size: .85em; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 var(--gutter);
  padding-top: env(safe-area-inset-top);
  color: var(--white);
  transition: background-color .45s ease, color .45s ease, box-shadow .45s ease;
}
.header.is-solid { background: rgba(243, 240, 233, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.header__brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; margin-right: auto; }
.header__en { font-size: 13px; letter-spacing: .3em; }
.header__ja { font-family: var(--serif); font-size: 14px; letter-spacing: .2em; }
.nav__list { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav__list a { display: inline-block; padding: 12px 0; font-size: 12px; letter-spacing: .24em; text-decoration: none; position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 8px; height: 1px; background: currentColor; transition: right .35s ease; }
.nav__list a:hover::after, .nav__list a:focus-visible::after { right: .24em; }
.nav__book { padding-left: 18px !important; border-left: 1px solid currentColor; }
.header__book, .header__menu { display: none; }

@media (max-width: 899px) {
  :root { --header-h: 60px; }
  .header { gap: 18px; }
  .header__en { font-size: 12px; letter-spacing: .24em; }
  .header__ja { display: none; }
  .header__book, .header__menu {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 12px; letter-spacing: .22em; text-decoration: none;
    background: none; border: 0; padding: 0; cursor: pointer;
  }
  .header__menu-close { display: none; }
  .header.is-open .header__menu-open { display: none; }
  .header.is-open .header__menu-close { display: inline; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    background: var(--bg); color: var(--ink);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity .4s ease, visibility .4s;
  }
  .header.is-open { color: var(--ink); }
  .header.is-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 14px; }
  .nav__list a { font-size: 15px; padding: 10px 0; }
  .nav__book { padding-left: 0 !important; border-left: 0; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 560px;
  overflow: hidden;
  color: var(--white);
  background: var(--dark);
}
.hero__media { position: absolute; inset: 0; will-change: transform; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--pos, 50% 50%);
  opacity: 0; transition: opacity 2s ease;
}
.hero__slide.is-active { opacity: 1; }
/* 文字を読みやすくする、うっすらとした暗がり（上はヘッダー、下は見出しのため） */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(16, 22, 20, .42) 0%, rgba(16, 22, 20, 0) 22%),
    linear-gradient(to right, rgba(16, 22, 20, .42) 0%, rgba(16, 22, 20, .12) 45%, rgba(16, 22, 20, 0) 65%),
    linear-gradient(to top, rgba(16, 22, 20, .66) 0%, rgba(16, 22, 20, .3) 45%, rgba(16, 22, 20, 0) 72%);
}
.hero__inner {
  position: absolute; z-index: 1;
  left: var(--gutter); right: var(--gutter); bottom: clamp(72px, 12vh, 120px);
  max-width: 760px;
}
.hero__eyebrow { margin: 0 0 22px; font-size: 11px; letter-spacing: .32em; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
.hero__title {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  line-height: 1.4; letter-spacing: .08em;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .25);
}
.hero__lead { margin: 22px 0 26px; font-size: 15px; line-height: 2; letter-spacing: .08em; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hero__scroll {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 34px;
  font-size: 10px; letter-spacing: .32em; text-decoration: none;
  writing-mode: vertical-rl; padding-bottom: 64px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 52px;
  background: rgba(250, 249, 246, .7); transform-origin: top;
  animation: scrollLine 2.6s ease-in-out infinite;
}
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ヒーローの文字：穏やかなフェードイン */
.js .hero__inner > * { opacity: 0; transform: translateY(14px); animation: heroIn 1.4s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero__inner > :nth-child(2) { animation-delay: .25s; }
.js .hero__inner > :nth-child(3) { animation-delay: .5s; }
.js .hero__inner > :nth-child(4) { animation-delay: .7s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

@media (max-width: 699px) {
  .hero__slide { object-position: var(--pos-sp, var(--pos, 50% 50%)); }
  .hero__inner { bottom: 64px; }
  .hero__lead { font-size: 14px; }
  .hero__scroll { display: none; }
}

/* ---------- スクロールで現れる ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ヒーロー：スクロールで離れるとき、文字が先に消え、写真がゆっくり遅れて動く（--p は main.js が入れる） */
.hero__inner { opacity: calc(1 - var(--p, 0) * 1.6); translate: 0 calc(var(--p, 0) * -40px); }
.hero__media { translate: 0 calc(var(--p, 0) * 22vh); }

/* 写真の浮き沈み：data-speed の付いた写真が、スクロールに合わせて少しだけ上下にずれる（transform と別の translate を使う） */
[data-speed] { translate: 0 calc((var(--p, .5) - .5) * var(--spd, 0) * 1px); }
[data-speed="1"] { --spd: -90; }
[data-speed="-1"] { --spd: 90; }

/* ---------- BRAND STORY ---------- */
.story { padding: var(--section) 0 0; }
.story__text { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
/* 写真が、内側から画面の端まで広がっていく（--p が1で全幅） */
.expand { margin: clamp(64px, 9vw, 120px) 0 0; }
.expand__frame {
  --e: calc(1 - min(var(--p, 1) * 1.6, 1));
  height: 92vh; height: 92svh; min-height: 420px;
  overflow: hidden;
  clip-path: inset(calc(var(--e) * 12%) calc(var(--e) * 18%));
}
.expand__frame img { width: 100%; height: 100%; object-fit: cover; scale: calc(1 + var(--e) * .12); }
@media (max-width: 699px) {
  .expand__frame { height: 72svh; clip-path: inset(calc(var(--e) * 8%) calc(var(--e) * 10%)); }
  .expand__frame img { object-position: 30% 50%; }
}

/* ---------- 章のはじまり ---------- */
.chapter { padding: var(--section) var(--gutter); }
.chapter--tight { padding-top: clamp(80px, 11vw, 160px); padding-bottom: clamp(80px, 11vw, 160px); }
.chapter__head { max-width: 640px; margin: 0 auto; text-align: center; }

/* 縦長2枚をずらして並べる */
.duo { max-width: var(--max); margin: clamp(64px, 9vw, 120px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.chapter--tight > .duo:first-child { margin-top: 0; }
.duo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: var(--pos, 50% 50%); }
.duo figcaption { margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--ink-soft); }
.duo__b { margin-top: 18vw; }
.duo--wide img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .duo { grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
  .duo__a { grid-column: 2 / 6; }
  .duo__b { grid-column: 7 / 12; margin-top: 200px; }
  .duo--wide .duo__a { grid-column: 1 / 6; }
  .duo--wide .duo__b { grid-column: 7 / 13; margin-top: 160px; }
}
@media (max-width: 899px) {
  .duo--wide { grid-template-columns: 1fr; gap: 56px; }
  .duo--wide .duo__b { margin-top: 0; width: 82%; margin-left: auto; }
  .duo--wide .duo__a { width: 92%; }
}
.place__name { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); letter-spacing: .1em; }

/* ---------- 場面：写真が止まり、その上を見出しが通り過ぎる ---------- */
.scene { position: relative; height: 190vh; height: 190svh; background: var(--dark); color: var(--white); }
.scene__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene__sticky img, .scene__sticky picture { display: block; width: 100%; height: 100%; }
.scene__sticky img { object-fit: cover; object-position: var(--pos, 50% 50%); scale: calc(1.08 - var(--p, 1) * .08); }
.scene__sticky::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(16, 22, 20, .62) 0%, rgba(16, 22, 20, .2) 55%, rgba(16, 22, 20, .08) 100%);
  opacity: calc(.35 + var(--p, 1) * .65);
}
.scene__copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(64px, 14vh, 140px);
  max-width: calc(760px + 2 * var(--gutter));
}
.scene__copy--center { max-width: none; align-items: center; justify-content: center; text-align: center; padding-bottom: 0; }
.scene__title {
  margin: 0;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.5; letter-spacing: .08em;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .3);
}
.scene__body { margin: 22px 0 0; font-size: 15px; line-height: 2.1; letter-spacing: .06em; color: rgba(250, 249, 246, .9); text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }
.scene__body span, .scene__title span { display: inline-block; }
.scene .eyebrow { text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
@media (max-width: 699px) {
  .scene { height: 170svh; }
  .scene__sticky img { object-position: var(--pos-sp, var(--pos, 50% 50%)); }
  .scene__body { font-size: 14px; }
}

.scene--book { height: 170vh; height: 170svh; }
.scene--book .scene__sticky::after { background: rgba(16, 22, 20, .68); opacity: calc(.6 + var(--p, 1) * .4); }
.scene--book .display { margin-bottom: 4px; }
.scene--book .scene__body { margin-bottom: 36px; }
.book__sub { margin: 32px 0 0; font-size: 13px; color: rgba(250, 249, 246, .78); }
.book__sub a { display: inline-block; padding: 8px 2px; color: var(--white); }

/* ---------- 基本情報と寝室 ---------- */
.split { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.split__photo img, .deck__photo img, .kitchen__main img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: center; }
  .split__photo { grid-column: 1 / 8; }
  .split__text { grid-column: 9 / 13; }
}
.facts { border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.8; }
.facts dt { color: var(--ink-soft); font-size: 13px; }
.facts--access > div { grid-template-columns: 1fr auto; }

/* ---------- キッチン ---------- */
.kitchen { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kitchen__main, .kitchen__text { grid-column: 1 / -1; }
.kitchen__text { margin: 28px 0 32px; }
.kitchen__a img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kitchen__b img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--pos, 50% 50%); }
.kitchen__b { margin-top: 40px; }
@media (min-width: 900px) {
  .kitchen { grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: start; }
  .kitchen__main { grid-column: 4 / 13; grid-row: 1; }
  .kitchen__text { grid-column: 1 / 4; grid-row: 1; align-self: end; margin: 0; }
  .kitchen__a { grid-column: 1 / 6; grid-row: 2; margin-top: 56px; }
  .kitchen__b { grid-column: 7 / 11; grid-row: 2; margin-top: 120px; }
  .kitchen__a img { aspect-ratio: 3 / 2; }
}

/* ---------- BBQ ---------- */
.deck { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px; }
.note-strong { margin: 22px 0 0; font-size: 14px; letter-spacing: .06em; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--accent); }
.note-strong span { display: inline-block; }
@media (min-width: 900px) {
  .deck { grid-template-columns: repeat(12, 1fr); gap: 0 32px; align-items: end; }
  .deck__photo { grid-column: 1 / 8; }
  .deck__text { grid-column: 9 / 13; padding-bottom: 12px; }
}

/* ---------- SAUNA（暗い背景） ---------- */
.dark { background: var(--dark); color: var(--white); }
.dark .eyebrow { color: #C2AE97; }
.sauna { padding: clamp(80px, 11vw, 160px) var(--gutter) var(--section); }
.sauna__photos { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.sauna__photos img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.sauna__p2 { margin-top: 18vw; }
.sauna__p3 { grid-column: 1 / -1; width: 70%; margin: 24px auto 0; }
@media (min-width: 900px) {
  .sauna__photos { grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
  .sauna__p1 { grid-column: 1 / 5; }
  .sauna__p2 { grid-column: 5 / 9; margin-top: 180px; }
  .sauna__p3 { grid-column: 9 / 13; width: auto; margin: 60px 0 0; }
}
.sauna__info { max-width: var(--max); margin: clamp(72px, 10vw, 140px) auto 0; display: grid; gap: 48px; }
@media (min-width: 900px) { .sauna__info { grid-template-columns: 1fr 1fr; gap: 64px; } }
.plan__label { margin: 0; font-size: 13px; letter-spacing: .12em; }
.plan__price { margin: 6px 0 0; font-family: var(--serif); font-size: 1.6rem; letter-spacing: .06em; }
.plan__list { margin-top: 12px; border-top: 1px solid rgba(250, 249, 246, .18); }
.plan__list li { padding: 11px 0; border-bottom: 1px solid rgba(250, 249, 246, .18); font-size: 14px; line-height: 1.8; color: rgba(250, 249, 246, .8); }
.sauna__bath { max-width: 760px; margin: clamp(72px, 10vw, 140px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sauna__bath img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: var(--pos, 50% 50%); }
.sauna__bath figcaption { margin-top: 12px; font-size: 13px; color: rgba(250, 249, 246, .7); }
@media (min-width: 900px) { .sauna__bath { gap: 32px; } }

/* ---------- 野生動物 ---------- */
.wild__head { max-width: 640px; margin: 0 auto; text-align: center; }
.wild__list { max-width: var(--max); margin: clamp(56px, 8vw, 100px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.wild__list img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--pos, 50% 50%); }
.wild__list li:first-child { grid-column: 1 / -1; }
.wild__list li:first-child img { aspect-ratio: 16 / 10; }
.wild__list li:nth-child(3) { margin-top: 48px; }
@media (min-width: 900px) {
  .wild__list { grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
  .wild__list li:first-child { grid-column: 1 / 7; }
  .wild__list li:nth-child(2) { grid-column: 7 / 10; margin-top: 120px; }
  .wild__list li:nth-child(3) { grid-column: 10 / 13; margin-top: 40px; }
  .wild__list li:nth-child(3) img { aspect-ratio: 3 / 4; }
}
.wild__notes { max-width: var(--max); margin: 32px auto 0; font-size: 12px; line-height: 1.9; color: var(--ink-soft); }
.wild__notes p { margin: 0; }

/* ---------- GALLERY：横に流れる写真 ---------- */
.gallery { padding: var(--section) 0; background: var(--bg-2); }
.gallery__head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); padding: 0 var(--gutter); display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.gallery__ctrl { display: flex; gap: 24px; }
.gallery__btn { min-height: 44px; padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 11px; letter-spacing: .28em; }
.gallery__btn:hover { border-color: var(--ink); }
.strip {
  display: flex; gap: 14px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding: 0 var(--gutter);
  padding: 0 var(--gutter) 18px;
  scrollbar-width: thin; scrollbar-color: rgba(29, 37, 34, .35) transparent;
}
.strip li { flex: none; scroll-snap-align: start; }
.strip button { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.strip img { height: clamp(300px, 64vh, 640px); width: auto; transition: scale 1.2s cubic-bezier(.2, .7, .2, 1); }
.strip button:hover img { scale: 1.03; }
.strip li:nth-child(even) { margin-top: clamp(24px, 6vh, 64px); }
@media (max-width: 699px) {
  .gallery__ctrl { display: none; }
  .strip img { height: 52vh; height: 52svh; max-height: 440px; max-width: 80vw; object-fit: cover; }
  .strip li:nth-child(even) { margin-top: 28px; }
}

/* ---------- LOCATION ---------- */
.location { padding: var(--section) var(--gutter); }
.location__intro { max-width: 720px; margin: 0 auto; text-align: center; }
.access { max-width: var(--max); margin: clamp(80px, 10vw, 150px) auto 0; display: grid; gap: 40px; }
.map__frame { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; filter: grayscale(.25) sepia(.08); }
@media (min-width: 900px) {
  .access { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
  .map__frame { aspect-ratio: 16 / 11; }
}

/* ---------- AWARDS ---------- */
.awards { max-width: 560px; margin: 0 auto; padding: 0 var(--gutter) var(--section); text-align: center; }
.awards__badges { display: flex; justify-content: center; gap: 16px; }
.awards__badges li { width: min(200px, 42vw); }
.awards__caption { margin: 18px 0 8px; font-size: 12px; letter-spacing: .06em; color: var(--ink-soft); }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark); color: rgba(250, 249, 246, .78);
  border-top: 1px solid rgba(250, 249, 246, .12);
  padding: 72px var(--gutter) calc(48px + env(safe-area-inset-bottom));
  display: grid; gap: 40px;
}
.footer p { margin: 0; }
.footer__en { font-size: 13px; letter-spacing: .3em; color: var(--white); }
.footer__ja { margin-top: 6px !important; font-family: var(--serif); font-size: 15px; letter-spacing: .2em; color: var(--white); }
.footer__place { margin-top: 14px !important; font-size: 11px; letter-spacing: .28em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.footer__nav a { display: inline-block; padding: 10px 0; font-size: 12px; letter-spacing: .2em; text-decoration: none; }
.footer__nav a:hover { color: var(--white); }
.footer__license { font-size: 11px; letter-spacing: .04em; opacity: .7; }
@media (min-width: 900px) {
  .footer { grid-template-columns: 1fr auto; align-items: end; }
  .footer__license { grid-column: 1 / -1; }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(20, 26, 24, .96); color: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(20, 26, 24, .96); }
.lightbox__img { max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100vh - 160px); object-fit: contain; }
.lightbox__btn, .lightbox__close {
  position: absolute; min-height: 44px; padding: 10px 6px;
  background: none; border: 0; cursor: pointer;
  font-size: 11px; letter-spacing: .28em; color: var(--white);
}
.lightbox__close { top: 16px; right: var(--gutter); }
.lightbox__prev { left: var(--gutter); bottom: 24px; }
.lightbox__next { right: var(--gutter); bottom: 24px; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .hero__inner > * { opacity: 1; transform: none; transition: none; animation: none; }
  .hero__slide { transition: none; }
  .hero__scroll::after { animation: none; }
  [data-speed], .hero__inner, .hero__media { translate: none; }
  .hero__inner { opacity: 1; }
  .expand__frame { clip-path: none; }
  .expand__frame img, .scene__sticky img, .strip img { scale: none; transition: none; }
  .btn, .btn::after { transition: none; }
}

/* ==========================================================
   文字の動き
   ========================================================== */
:root { --italic: "Cormorant Garamond", "Times New Roman", serif; }

/* 見出し：1文字ずつ、ぼかしがほどけるように現れる（main.js が .ch に分ける） */
.is-split .ch {
  display: inline-block;
  opacity: 0; filter: blur(10px); transform: translateY(.38em);
  transition: opacity 1s ease, filter 1.1s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i) * 55ms + var(--d, 0ms));
}
.is-split.is-in .ch { opacity: 1; filter: blur(0); transform: none; }
.js .hero__inner > .hero__title.is-split { animation: none; opacity: 1; transform: none; }
.hero__title.is-split { --d: 300ms; }

/* 文章のまとまり：英語の小見出し → 見出し → 本文 → ボタン の順に、少しずつ遅れて現れる */
.js .stagger > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity 1.1s ease, transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.js .stagger > :nth-child(2) { transition-delay: .15s; }
.js .stagger > :nth-child(3) { transition-delay: .7s; }
.js .stagger > :nth-child(4) { transition-delay: .9s; }
.js .stagger > :nth-child(5) { transition-delay: 1.05s; }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger > .is-split { transform: none; opacity: 1; }

/* 英語の小見出し：前に細い線が伸びてから、字間が開く */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow::before {
  content: ""; width: 32px; height: 1px; background: currentColor; flex: none;
  transform-origin: left; transition: transform 1s cubic-bezier(.2, .7, .2, 1) .1s;
}
.js .stagger .eyebrow { letter-spacing: .12em; transition: opacity 1.1s ease, transform 1.2s ease, letter-spacing 1.6s cubic-bezier(.2, .7, .2, 1); }
.js .stagger .eyebrow::before { transform: scaleX(0); }
.js .stagger.is-in .eyebrow { letter-spacing: .32em; }
.js .stagger.is-in .eyebrow::before { transform: scaleX(1); }
.hero__eyebrow { display: block; }
.scene__copy--center .eyebrow, .story__text .eyebrow, .chapter__head .eyebrow, .wild__head .eyebrow, .location__intro .eyebrow { justify-content: center; }

/* 写真の場面：大きな英語が、スクロールに合わせて横へ流れる */
.scene__word {
  position: absolute; z-index: 2; left: 0; top: 14%;
  margin: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--italic); font-style: italic; font-weight: 300;
  font-size: clamp(5.5rem, 17vw, 17rem); line-height: 1; letter-spacing: -.01em;
  color: rgba(250, 249, 246, .22);
  translate: calc(var(--gutter) + (.75 - var(--p, .5)) * 30vw) 0;
}
.scene--book .scene__word { top: auto; bottom: 8%; color: rgba(250, 249, 246, .1); font-size: clamp(4rem, 12vw, 12rem); }
.scene__copy { z-index: 3; }
@media (max-width: 699px) {
  .scene__word { top: 16%; font-size: 26vw; translate: calc(var(--gutter) + (.5 - var(--p, .5)) * 60vw) 0; }
}

/* ギャラリーの見出しは左寄せ */
.gallery__head .eyebrow { justify-content: flex-start; }

@media (prefers-reduced-motion: reduce) {
  .is-split .ch, .js .stagger > *, .js .stagger .eyebrow, .js .stagger .eyebrow::before { opacity: 1; filter: none; transform: none; transition: none; letter-spacing: .32em; }
  .scene__word { translate: var(--gutter) 0; }
}

/* ---------- 予約の場面：受付（Booking.com・LINE・Instagram） ---------- */
/* 文章が長くなったので、写真を止めたまま文章の長さに合わせて流す */
.scene--book { height: auto; }
.scene--book .scene__copy {
  position: relative; height: auto;
  min-height: 100vh; min-height: 100svh;
  margin-top: -100vh; margin-top: -100svh;
  padding: clamp(120px, 18vh, 180px) var(--gutter);
}
.contact { margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(250, 249, 246, .2); width: min(520px, 100%); }
.contact__lead { margin: 0; font-size: 14px; line-height: 2; color: rgba(250, 249, 246, .86); }
.contact__lead span { display: inline-block; }
.contact__links { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 32px; }
.link--light { color: var(--white); border-color: rgba(250, 249, 246, .4); }
.link--light:hover { border-color: var(--white); }
.qr { margin: 32px auto 0; width: 200px; text-align: center; }
.qr img { width: 132px; height: 132px; margin: 0 auto; background: var(--white); padding: 8px; }
.qr figcaption { margin-top: 10px; font-size: 11px; line-height: 1.7; color: rgba(250, 249, 246, .7); }
/* スマホでは読み取れないので出さない */
@media (max-width: 899px), (hover: none) { .qr { display: none; } }

/* ---------- 予約から当日まで（3ステップ） ---------- */
.flow { padding: var(--section) var(--gutter); }
.flow__head { max-width: var(--max); margin: 0 auto; text-align: center; }
.flow__steps { max-width: var(--max); margin: clamp(56px, 8vw, 100px) auto 0; padding: 0; list-style: none; display: grid; gap: 48px; }
.flow__step { border-top: 1px solid var(--line); padding-top: 28px; }
.flow__num {
  margin: 0;
  font-family: var(--italic); font-style: italic; font-weight: 300;
  font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; color: var(--accent);
}
.flow__title { margin: 18px 0 0; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: .08em; }
.flow__step .body { margin-top: 14px; }
.js .flow__step:nth-child(2) > * { transition-delay: .25s; }
.js .flow__step:nth-child(3) > * { transition-delay: .5s; }
@media (min-width: 900px) {
  .flow__steps { grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
  .flow__step:nth-child(2) { margin-top: 64px; }
  .flow__step:nth-child(3) { margin-top: 128px; }
}

/* ---------- 言語の切り替え ---------- */
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.langs { display: flex; gap: 14px; }
.langs a { display: inline-block; padding: 12px 0; font-size: 11px; letter-spacing: .14em; text-decoration: none; opacity: .62; transition: opacity .3s ease; }
.langs a:hover, .langs a[aria-current="page"] { opacity: 1; }
.langs a[aria-current="page"] { border-bottom: 1px solid currentColor; padding-bottom: 4px; }
@media (max-width: 899px) {
  .nav { flex-direction: column; gap: 40px; }
  .nav .langs { gap: 22px; }
  .nav .langs a { font-size: 13px; }
}
.footer__langs { flex-wrap: wrap; gap: 4px 22px; }
.footer__langs a { font-size: 12px; letter-spacing: .08em; }
@media (min-width: 900px) { .footer__langs { grid-column: 1 / -1; } }

/* ---------- 言語ごとの文字 ---------- */
html:lang(en) {
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
html:lang(en) body { letter-spacing: .01em; }
html:lang(en) .display, html:lang(en) .heading, html:lang(en) .subheading,
html:lang(en) .scene__title, html:lang(en) .hero__title, html:lang(en) .flow__title, html:lang(en) .plan__price, html:lang(en) .place__name {
  letter-spacing: .01em; font-weight: 500;
}
html:lang(en) .hero__title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1.12; }
html:lang(en) .display, html:lang(en) .scene__title { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.2; }
html:lang(en) .heading { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.25; }
html:lang(en) .subheading { font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.3; }
html:lang(zh-Hant) {
  --serif: "Noto Serif TC", "Songti TC", serif;
  --sans: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
html:lang(ko) {
  --serif: "Noto Serif KR", "AppleMyungjo", serif;
  --sans: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
/* 韓国語は単語の途中で折り返さない */
html:lang(ko) body { word-break: keep-all; letter-spacing: 0; }
html:lang(ko) .display, html:lang(ko) .heading, html:lang(ko) .scene__title, html:lang(ko) .hero__title { letter-spacing: .02em; }
