@charset "UTF-8";
/* ===========================================================
   EMON 右衛門 — design v3（敷地全体図インタラクション）
   前バージョンは site/_versions/ に保管
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600&family=Noto+Sans+JP:wght@300;400;500&family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&display=swap');

:root {
  /* --- color --- */
  --c-ink:        #1F1A18;   /* 墨（v1 #2B2523 より深く） */
  --c-ink-soft:   #4A423E;
  --c-bg:         #F7F4EE;   /* 生成り */
  --c-bg-warm:    #EFE9DF;   /* 一段濃い生成り（セクション切替用） */
  --c-accent:     #9C6B4A;   /* 枯れたテラコッタ */
  --c-accent-lt:  #C8A98C;
  --c-cta-dk:     #9C7A1E;   /* B案: 金箔調ゴールド（グラデ暗部・予約導線専用） */
  --c-cta:        #C9A227;
  --c-cta-lt:     #E3C468;   /* グラデハイライト・ホバー塗り */
  --c-green:      #414B3D;
  --c-line:       rgba(31,26,24,0.14);
  --c-line-rev:   rgba(247,244,238,0.20);

  /* --- type --- */
  --f-jp:  'Shippori Mincho', serif;
  --f-sans:'Noto Sans JP', sans-serif;
  --f-en:  'Cormorant Garamond', 'Shippori Mincho', serif;

  --fs-hero: clamp(30px, 5.4vw, 64px);
  --fs-h2:   clamp(22px, 2.35vw, 34px);
  --fs-h3:   clamp(17px, 1.5vw, 21px);
  --fs-body: clamp(14px, 1.05vw, 16px);
  --fs-sm:   13px;
  --fs-xs:   11px;

  /* --- rhythm --- */
  --pad-sec: clamp(88px, 12vw, 168px);
  --gutter:  clamp(20px, 5vw, 64px);
  /* 広い画面では 1240px 固定だと左右に 350px 以上の余白が空き、
     写真だけが右へ張り出す構図と噛み合わずページ全体が寄って見える。
     画面に応じて 1560px まで広げ、余白と写真の張り出しを釣り合わせる */
  --maxw:    clamp(1240px, 80vw, 1560px);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-bg);
  font-size: var(--fs-body);
  line-height: 2.05;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  min-width: 350px;
  overflow-x: auto;
  /* 和紙のごく淡いノイズ */
  background-image:
    radial-gradient(rgba(31,26,24,0.022) 1px, transparent 1px),
    radial-gradient(rgba(31,26,24,0.018) 1px, transparent 1px);
  background-size: 3px 3px, 5px 5px;
  background-position: 0 0, 2px 2px;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

::selection { background: var(--c-accent); color: var(--c-bg); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ===========================================================
   typography primitives
   =========================================================== */
h1, h2, h3, h4 {
  font-family: var(--f-jp);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.09em;
}

/* 英字ラベル（横） */
.eyebrow {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  line-height: 1;
  display: block;
  margin-bottom: 22px;
}

/* セクション番号 + 英字（縦組み・左端固定） */
.sec-index {
  position: absolute;
  top: 0;
  left: calc(var(--gutter) * -1 + 4px);
  writing-mode: vertical-rl;
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: 0.32em;
  color: var(--c-ink);
  opacity: 0.58;
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
}
.sec-index::after {
  content: "";
  width: 1px;
  height: 56px;
  background: currentColor;
  opacity: 0.6;
}
@media (max-width: 1439px) { .sec-index { display: none; } }

.section-title { font-size: var(--fs-h2); margin-bottom: 28px; }
.section-title em {
  font-family: var(--f-en);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.lead {
  max-width: 34em;
  color: var(--c-ink-soft);
  font-weight: 300;
  font-size: var(--fs-body);
}
@media (max-width: 767px) { .lead { max-width: none; text-align: left; margin-left: 0; margin-right: 0; } }
.section--dark .lead,
.section--green .lead { color: rgba(247,244,238,0.82); }

/* ===========================================================
   section shells
   =========================================================== */
.section { position: relative; padding: var(--pad-sec) 0; }
.section .container { position: relative; }

.section--warm  { background: var(--c-bg-warm); }
.section--dark  { background: var(--c-ink);   color: var(--c-bg); }
.section--green { background: var(--c-green); color: var(--c-bg); }
.section--dark .sec-index,
.section--green .sec-index { color: var(--c-bg); opacity: 0.5; }
.section--dark .eyebrow  { color: var(--c-accent-lt); }
.section--green .eyebrow { color: var(--c-accent-lt); }

/* 罫線ではなく余白と地色で区切る。必要な箇所のみ細い線 */
.rule { height: 1px; background: var(--c-line); border: 0; }

/* ===========================================================
   media
   =========================================================== */
.ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  color: rgba(31,26,24,0.5);
}
.ph--wide { aspect-ratio: 16 / 10; }
.ph--tall { aspect-ratio: 3 / 4; }
.ph--square { aspect-ratio: 1 / 1; }

.ph::after {
  content: attr(data-label);
  position: absolute;
  left: 14px; bottom: 12px;
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  font-family: var(--f-sans);
}
.ph.photo { background: none; }
.ph.photo::after { content: none; }
.ph img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* 画像の縦組みキャプション */
.figure { position: relative; }
.figure__cap {
  position: absolute;
  top: 12px; right: -22px;
  writing-mode: vertical-rl;
  font-family: var(--f-jp);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  color: var(--c-ink);
  opacity: 0.55;
}
/* 濃色セクション（#dining / #golf）では墨色だと沈むので地色側に反転 */
.section--dark .figure__cap,
.section--green .figure__cap { color: var(--c-bg); opacity: 0.75; }
@media (max-width: 1023px) { .figure__cap { display: none; } }

/* ===========================================================
   buttons
   =========================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 17px 40px;
  min-height: 48px;
  font-family: var(--f-jp);
  font-size: var(--fs-sm);
  letter-spacing: 0.2em;
  line-height: 1;
  border: 1px solid currentColor;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover::before,
.btn:focus-visible::before { transform: scaleX(1); transform-origin: left center; }

/* 線の伸びは width ではなく transform で行う。
   width を変えるとフレックスアイテムの実寸が変わり、
   ホバーのたびにボタン自体が横に広がってしまう */
.btn::after {
  content: "";
  width: 18px; height: 1px;
  flex: 0 0 18px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}
.btn:hover::after,
.btn:focus-visible::after { transform: scaleX(1.56); }

.btn-primary {
  background: linear-gradient(120deg, var(--c-cta-dk) 0%, var(--c-cta) 30%, var(--c-cta-lt) 50%, var(--c-cta) 70%, var(--c-cta-dk) 100%);
  color: var(--c-ink);
  border-color: var(--c-cta-dk);
  box-shadow: 0 6px 18px -6px rgba(156,122,30,0.55);
}
.btn-primary::before { background: var(--c-cta-lt); }
.btn-primary:hover, .btn-primary:focus-visible { border-color: var(--c-cta-lt); color: var(--c-ink); }

/* B案: 予約導線だけ金箔調のゴールドで強調（グラデーションで質感を演出） */
.btn-cta {
  background: linear-gradient(120deg, var(--c-cta-dk) 0%, var(--c-cta) 30%, var(--c-cta-lt) 50%, var(--c-cta) 70%, var(--c-cta-dk) 100%);
  color: var(--c-ink);
  border-color: var(--c-cta-dk);
  box-shadow: 0 6px 18px -6px rgba(156,122,30,0.55);
}
.btn-cta::before { background: var(--c-cta-lt); }
.btn-cta:hover, .btn-cta:focus-visible { border-color: var(--c-cta-lt); color: var(--c-ink); }

.btn-outline { color: var(--c-ink); background: transparent; }
.btn-outline::before { background: var(--c-ink); }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--c-bg); }

.section--dark .btn-outline,
.section--green .btn-outline,
.hero .btn-outline { color: var(--c-bg); }
.section--dark .btn-outline::before,
.section--green .btn-outline::before,
.hero .btn-outline::before { background: var(--c-bg); }
.section--dark .btn-outline:hover,
.section--green .btn-outline:hover,
.hero .btn-outline:hover { color: var(--c-ink); }

/* テキストリンク（→付き） */
.link-arrow {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-left: auto;
  font-family: var(--f-jp);
  font-size: var(--fs-sm);
  letter-spacing: 0.18em;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
}
.link-arrow span { transition: transform 0.45s var(--ease); display: inline-block; }
.link-arrow:hover span { transform: translateX(6px); }

a:focus-visible, button:focus-visible {
  outline: 1px solid var(--c-accent);
  outline-offset: 4px;
}

/* ===========================================================
   header
   =========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  color: var(--c-bg);
}
/* FV上でヘッダー文字を確実に読ませるスクリム */
.site-header::before {
  content: "";
  position: absolute; inset: 0 0 -40px 0;
  background: linear-gradient(180deg, rgba(31,26,24,0.55) 0%, rgba(31,26,24,0) 100%);
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.site-header.is-scrolled::before,
.site-header.is-menu-open::before { opacity: 0; }

.site-header__inner {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 30px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding 0.5s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(247,244,238,0.94);
  backdrop-filter: blur(10px) saturate(1.1);
  color: var(--c-ink);
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header.is-scrolled .site-header__inner { padding-top: 18px; padding-bottom: 18px; }

.logo { display: flex; align-items: center; gap: 18px; }
/* ロゴは白インクの透過PNG。暗い地の上はそのまま、明るい地では反転して墨色に見せる */
.logo__img {
  height: 46px;
  width: auto;
  transition: height 0.5s var(--ease), filter 0.5s var(--ease);
}
.site-header.is-scrolled .logo__img,
.site-header.is-menu-open .logo__img { filter: invert(1) opacity(0.88); height: 36px; }
.logo__sub {
  position: relative;
  padding-left: 18px;
  font-family: var(--f-jp);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  opacity: 0.78;
  transition: opacity 0.5s var(--ease);
}
.logo__sub::before {
  content: "";
  position: absolute; left: 0; top: 2px; bottom: 2px;
  width: 1px;
  background: currentColor;
  opacity: 0.5;
}
@media (max-width: 599px) { .logo__sub { display: none; } }

.nav-list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-list a {
  font-size: var(--fs-sm);
  font-weight: 300;
  letter-spacing: 0.14em;
  position: relative;
  padding-bottom: 6px;
}
.nav-list a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav-list a:hover::after, .nav-list a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-actions .btn {
  padding: 13px 26px;
  min-height: 42px;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
}
.site-header:not(.is-scrolled) .header-actions .btn-primary {
  background: transparent;
  border-color: rgba(247,244,238,0.7);
  color: var(--c-bg);
}
.site-header:not(.is-scrolled) .header-actions .btn-primary::before { background: var(--c-bg); }
.site-header:not(.is-scrolled) .header-actions .btn-primary:hover { color: var(--c-ink); border-color: var(--c-bg); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: inherit;
}
.hamburger span {
  display: block; width: 24px; height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
  .header-actions .btn-primary { padding: 11px 18px; }
  .site-header.is-menu-open { color: var(--c-ink); background: var(--c-bg); }
  .site-header.is-menu-open .header-actions .btn-primary {
    background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink);
  }
}
@media (max-width: 480px) {
  .header-actions .btn-primary { display: none; }
}

/* mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 99;
  padding: 116px var(--gutter) 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), visibility 0.5s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav li { border-bottom: 1px solid var(--c-line); }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 2px;
  font-family: var(--f-jp);
  font-size: 19px;
  letter-spacing: 0.14em;
}
.mobile-nav a .nav-ic {
  display: flex;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-accent);
}
.mobile-nav a .nav-ic svg { width: 100%; height: 100%; }
.mobile-nav .btn { margin-top: 40px; width: 100%; }

/* ===========================================================
   hero
   =========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--c-bg);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.02) brightness(0.94) sepia(0.12);
  opacity: 0;
  transform: scale(1.08);
  animation: heroSlideShow 24s var(--ease) infinite;
}
.hero__media img:nth-child(1) { animation-delay: 0s; }
.hero__media img:nth-child(2) { animation-delay: 6s; }
.hero__media img:nth-child(3) { animation-delay: 12s; }
.hero__media img:nth-child(4) { animation-delay: 18s; }
@keyframes heroSlideShow {
  0%     { opacity: 0; transform: scale(1.08); }
  8.33%  { opacity: 1; }
  25%    { opacity: 1; transform: scale(1); }
  33.33% { opacity: 0; transform: scale(1); }
  100%   { opacity: 0; }
}

.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,26,24,0.62) 0%, rgba(31,26,24,0.12) 34%, rgba(31,26,24,0.55) 72%, rgba(31,26,24,0.86) 100%),
    linear-gradient(90deg, rgba(31,26,24,0.42) 0%, rgba(31,26,24,0) 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(88px, 12vh, 132px);
}
.hero__eyebrow {
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero__eyebrow::before {
  content: ""; width: 44px; height: 1px; background: currentColor; opacity: 0.8;
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.1em;
  margin-bottom: 28px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero__title .l { display: block; overflow: hidden; }
.hero__title .l > span {
  display: inline-block;
  transform: translateY(105%);
  animation: lineUp 1.15s var(--ease) forwards;
}
.hero__title .l:nth-child(2) > span { animation-delay: 0.16s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  max-width: 30em;
  font-weight: 300;
  font-size: var(--fs-body);
  color: rgba(247,244,238,0.88);
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.5s forwards;
}
.hero__actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.68s forwards;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 0;
  writing-mode: vertical-rl;
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0.8;
  z-index: 1;
  padding-bottom: 74px;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 64px;
  background: currentColor;
  transform-origin: top;
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (max-width: 767px) { .hero__scroll { display: none; } }

/* ===========================================================
   01 location / split rows
   =========================================================== */
/* DOM 順は head（ラベル＋見出し）→ media（写真）→ body（本文・facts・リンク）。
   縦積みになるモバイルではこの順がそのまま出る——写真より先に見出しを置いて
   写真の文脈を決め、説明は写真を見たあとの補足として読ませる。
   PCの左右組みは order ではなく grid-template-areas で作る。order は視覚順しか
   変えないため、読み上げ順が DOM のままズレる */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
/* 見出し直下の余白は行間（row-gap）で作る。ここが残ると PC で二重になる */
.split__head > :last-child { margin-bottom: 0; }

@media (min-width: 1024px) {
  /* head と body をテキスト列に上下で積み、写真は隣の列で2行にまたがらせる。
     余った高さは2つの行へ均等に分配されるので、head を行の下端・body を行の
     上端へ寄せると、テキストの塊が写真と同じ高さで縦中央に載る */
  .split {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(56px, 7vw, 104px);
    row-gap: 28px;
    grid-template-areas:
      "media head"
      "media body";
  }
  .split--reverse {
    grid-template-areas:
      "head media"
      "body media";
  }
  .split__head  { grid-area: head;  align-self: end; }
  .split__body  { grid-area: body;  align-self: start; }
  .split__media { grid-area: media; align-self: center; }
  .split__head,
  .split__body { max-width: 30em; }
  /* PCでは体験セクションの写真を縦長にしてエディトリアルに寄せる */
  .split__media .ph--wide { aspect-ratio: 4 / 5; }
}

/* 2枚組（大＝引きの空間／小＝ディテール）
   sauna.jpg は 500×500 のディテールカット（HUUM DROP9）で、大きく使うと
   解像度が破綻するうえ 16:9 に切ると主題の球体の頭が落ちる。
   主役は実写の引きカット chillnn-outdoor-bath.png（1200×675）に譲り、
   ディテールは最大280px（素材500pxの等倍以下）で添えて解像度の破綻を避ける。 */
.photo-duo { position: relative; }
.photo-duo__main .ph { aspect-ratio: 1.618 / 1; } /* 黄金比（16:10=1.6の近似を明示的な比率に） */
.photo-duo__sub {
  position: relative;
  z-index: 1;
  width: clamp(130px, 38%, 210px);
  margin: -14% 7% 0 auto;
}
/* 2枚の境界は「地色の細い余白」で区切る。写真同士が直接触れると、
   どこまでが1枚目か読めず重なりの意図が伝わらない。
   ただし枠を太くすると（小さい正方形＋白枠＋角配置）サムネイルやボタンの
   慣用形になり、押せないのに UI 部品に見えるので細く保つ。
   外側の落ち影は枠ではなく奥行きの表現。真下にだけ落とす
   ——左右にオフセットするとぼかし幅ぶん本文側へ滲み、リンクの文字に掛かる。
   figure ではなく .ph（= .reveal-img）側に付けて写真と一緒にフェードインさせる */
.photo-duo__sub .ph {
  aspect-ratio: 1 / 1;
  box-shadow:
    0 0 0 clamp(5px, 0.7vw, 9px) var(--duo-edge, var(--c-bg)),
    0 26px 54px rgba(31,26,24,0.28);
}
.section--warm  { --duo-edge: var(--c-bg-warm); }
.section--green { --duo-edge: var(--c-green); }
.section--dark  { --duo-edge: var(--c-ink); }

/* 縦位置素材版（#golf / #dayuse）
   主写真は 1122×1402 の縦長素材だが、16:9 で受ける。 */
.split--duo-v .photo-duo__main .ph { aspect-ratio: 16 / 9; }
/* #golf は 16:9 だと古民家（素材y460-830）とゴルファー（同880-1230）が
   同時に入らない（表示できる縦幅631pxに対し両者で770px必要）。
   人物の足元が切れると絵が不安定になるため、人物優先で下に寄せる。
   結果、古民家は屋根の上半分が切れる */
#golf .split__media img { object-position: center 78%; }
/* モバイルは画面幅が狭く 16:9 では主写真の高さが出ないため 4:3 で受ける */
@media (max-width: 1023px) {
  .split--duo-v .photo-duo__main .ph { aspect-ratio: 4 / 3; }
}

@media (min-width: 1024px) {
  /* テキスト列は40%。「プライベートな人工温泉。」（12字）が2行に収まる最小幅で、
     38%まで詰めると3行に折り返す（前バージョンでの実測値を踏襲） */
  .split--duo,
  .split--duo-v { column-gap: clamp(36px, 4.5vw, 72px); }
  .split--duo,
  .split--duo-v.split--reverse       { grid-template-columns: minmax(280px, 40%) 1fr; }
  .split--duo-v:not(.split--reverse) { grid-template-columns: 1fr minmax(280px, 40%); }

  /* 主写真は写真列のある側へ、コンテナのパディングぶんだけ伸ばして外枠で止める。
     ビューポート基準で伸ばすと、コンテナが中央に寄っている広い画面では
     「左は余白たっぷり／右は写真が端すれすれ」となりページ全体が右へ寄って見える。
     外枠で止めれば、写真の右端と sec-index の左端がコンテナ外枠に対して
     ほぼ対称に並ぶ。画面が --maxw より狭いときはコンテナが画面いっぱいなので、
     この式のまま自動的に画面端まで断ち落とされる */
  .split--duo.split--reverse .split__media,
  .split--duo-v.split--reverse .split__media { margin-right: calc(var(--gutter) * -1); }
  .split--duo-v:not(.split--reverse) .split__media { margin-left: calc(var(--gutter) * -1); }


  /* 幅で稼いだぶん、他セクション（4:5・高さ632px相当）に高さで負けないよう4:3 */
  .photo-duo__main .ph { aspect-ratio: 4 / 3; }
  /* 主写真の端とは揃えず内側へズラす。端を揃えると「重なった2枚目」ではなく
     「同じ枠に収まった別要素」に見えて、重なりの意図が消える。
     ただし外（gap側）へはズラさない——写真本体が隙間に収まっても、
     影のぼかし幅ぶん本文側へ滲んでリンクの文字に掛かる。
     沈み込みは主写真の高さの%ではなくpxで持つ
     ——4:3 の #sauna と 16:9 の #golf/#dayuse で主写真の高さが違うため、
     %だとセクションごとに沈み込み量がバラつき、下の余白からはみ出す。
     主写真に食い込むのは小写真の約3割まで。それ以上重ねると
     主題（人物・樽サウナ）を潰す */
  .photo-duo__sub {
    position: absolute;
    left: 10%;
    bottom: calc(-1 * clamp(90px, 11vw, 170px));
    width: clamp(160px, 16vw, 280px);
    margin: 0;
  }
  /* 2枚組を使わず写真1枚で断ち落とす場合。
     #location は 1920×1080 の横長素材だが黄金比で受ける
     （既定の 4:5 のままだと左右を半分以上捨てることになる）。
     #dayuse は 2枚組と同じ 16:9 */
  .split--duo   > .split__media > .ph--wide { aspect-ratio: 1.618 / 1; }
  .split--duo-v > .split__media > .ph--wide { aspect-ratio: 16 / 9; }

  /* 断ち落とした側には余白が無いので、キャプションは反対（テキスト）側の外へ逃がす */
  .photo-duo__main .figure__cap,
  .split--duo > .split__media.figure > .figure__cap,
  .split--duo-v.split--reverse > .split__media.figure > .figure__cap { top: 4px; right: auto; left: -26px; }
  /* ディテール側は縦組みだと主写真に重なるので、下に横組みで小さく置く */
  .photo-duo__sub .figure__cap {
    position: static;
    display: block;
    writing-mode: horizontal-tb;
    margin-top: 10px;
    font-family: var(--f-en);
    letter-spacing: 0.2em;
    text-align: right;
  }

  /* 写真が左列のとき（#golf）は左端を断ち落とすので、
     キャプションもディテールも右（テキスト）側へ寄せる */
  .split--duo-v:not(.split--reverse) .photo-duo__main .figure__cap { top: 12px; left: auto; right: -22px; }
  .split--duo-v:not(.split--reverse) .photo-duo__sub { left: auto; right: 10%; }
}
/* 断ち落とし（.split--duo / .split--duo-v、およびモバイルの全幅写真）を含む
   セクションは必ずここに追加する。付け忘れると、はみ出した写真が横スクロールバーを出す */
#location, #sauna, #golf, #dayuse, #facility { overflow: hidden; overflow: clip; }

/* 2枚組のセクションは、下にずり落ちたディテール写真とそのキャプションを
   受けるぶん、下の余白を積み増す（足りないと overflow:clip に切られる）。
   現在2枚組は #sauna のみ（#golf / #dayuse は副写真の素材待ちで1枚） */
@media (min-width: 1024px) {
  #sauna { padding-bottom: calc(var(--pad-sec) + 44px); }
}

/* 実験：#golf は画像を縦方向もセクション端まで断ち落とす。
   横は700行目で既にgutter分を断ち落とし済み。縦はsectionの上下paddingを
   negative marginで打ち消し、align-self:stretchでgrid行の高さいっぱいに広げる */
@media (min-width: 1024px) {
  #golf .split__media {
    align-self: stretch;
    margin-top: calc(var(--pad-sec) * -1);
    margin-bottom: calc(var(--pad-sec) * -1);
  }
  #golf .split__media .ph--wide {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* 写真を左端まで断ち落とすセクション（#golf）は、既定の左端だと sec-index が
   写真に潰される。写真に重ねると縦組み＋縦線の意匠が成立しないため、
   ラベルごと反対側（テキスト列の外の余白）へ移す。
   左断ち落としのセクションを増やしたら、ここにも追加する */
#golf .sec-index { left: auto; right: calc(var(--gutter) * -1 + 4px); }

/* ブロックごと写真と反対側（sec-index 側）へ寄せ、コンテナのパディングを食って
   写真に幅を回す。列の比率（40% : 1fr）は変えない。
   写真側の余白が 0〜100px まで詰まるのに対しテキスト側だけ gutter が丸ごと残ると
   左右がちぐはぐに見えるので、外側の余白は画面幅によらず 40px で揃える。
   1440px 以上では sec-index（コンテンツ左端から -60px）が現れるので、
   寄せた split__head との間隔が 23px まで縮まり、2つが一組として読める */
@media (min-width: 1024px) {
  .split--duo.split--reverse,
  .split--duo-v.split--reverse       { margin-left:  calc(var(--gutter) * -1 + 40px); }
  .split--duo-v:not(.split--reverse) { margin-right: calc(var(--gutter) * -1 + 40px); }
}

/* 縦積みになる幅では、写真はコンテナのパディングを外して画面幅いっぱいに使う。
   画面が狭いほど写真の主題そのものが小さくなるため、左右 20px の余白を残すより
   写真を大きく見せるほうが効く。
   #facility は図面（.plan__viewport）だけを広げ、下のチップ一覧は本文と同じ幅に
   留める——チップは文字なので、端まで広げると読み出しの起点が本文とズレる */
@media (max-width: 1023px) {
  #location .split__media,
  #sauna   .photo-duo,
  #golf    .split__media,
  #dayuse  .split__media,
  #facility .plan__viewport {
    margin-inline: calc(var(--gutter) * -1);
  }
}

.facts + .link-arrow { margin-top: 32px; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 52px;
  border-top: 1px solid var(--c-line);
}
.fact { padding: 22px 4px; border-bottom: 1px solid var(--c-line); }
.fact:nth-child(odd)  { border-right: 1px solid var(--c-line); padding-right: 20px; }
.fact:nth-child(even) { padding-left: 24px; }
.fact strong {
  display: block;
  font-family: var(--f-jp);
  font-weight: 500;
  font-size: var(--fs-h3);
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin-bottom: 6px;
}
.fact span {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--c-ink-soft);
  opacity: 0.85;
  line-height: 1.7;
  display: block;
}

/* ===========================================================
   02 facility — 敷地全体図（ピン → ズーム → 写真）
   =========================================================== */
.sec-head { max-width: 40em; margin-bottom: clamp(48px, 6vw, 80px); }
#facility .sec-head { max-width: none; }
#facility .sec-head .lead { max-width: none; }

.plan { position: relative; }

.plan__viewport {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #FCFAF6;
  border: 1px solid var(--c-line);
  touch-action: manipulation;
}

/* ステージは常に図面と同じ 4:3。ビューポート側の比率だけ変えても座標がずれない */
.plan__stage {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  --z: 1;
  transform-origin: 0 0;
  transition: transform 0.85s var(--ease);
  will-change: transform;
}
.plan__img {
  width: 100%; height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

/* --- ピン --- */
.pin {
  position: absolute;
  left: var(--x); top: var(--y);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--c-ink);
  /* 親のズームを打ち消して、ピンの大きさは常に一定 */
  transform: translate(-50%, -50%) scale(calc(1 / var(--z)));
  transform-origin: center;
  transition: transform 0.85s var(--ease), opacity 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.pin i {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-bg);
  border: 1px solid var(--c-accent);
  box-shadow: 0 6px 20px rgba(31,26,24,0.18);
  font-family: var(--f-en);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--c-accent);
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
/* ピンの波紋 */
.pin i::before {
  content: "";
  position: absolute; inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--c-accent);
  opacity: 0;
  animation: pin-pulse 2.6s var(--ease) infinite;
}
.pin:nth-of-type(2n) i::before { animation-delay: 0.5s; }
.pin:nth-of-type(3n) i::before { animation-delay: 1.1s; }
@keyframes pin-pulse {
  0%   { transform: scale(1);    opacity: 0.7; }
  70%  { transform: scale(2.1);  opacity: 0; }
  100% { transform: scale(2.1);  opacity: 0; }
}
.pin span {
  white-space: nowrap;
  font-family: var(--f-jp);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  line-height: 1;
  padding: 7px 12px;
  background: rgba(247,244,238,0.92);
  border: 1px solid var(--c-line);
  backdrop-filter: blur(2px);
}
.pin:hover i,
.pin.is-active i { background: var(--c-accent); color: var(--c-bg); }
.pin.is-active i::before { animation: none; }
/* 選択中は他のピンを控えめに */
.plan.is-zoomed .pin { opacity: 0.28; }
.plan.is-zoomed .pin.is-active { opacity: 1; }

/* --- ヒント／リセット --- */
.plan__hint {
  position: absolute;
  left: 50%; bottom: 16px;
  transform: translateX(-50%);
  z-index: 4;
  margin: 0;
  padding: 9px 18px;
  background: rgba(31,26,24,0.78);
  color: var(--c-bg);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: center;
  transition: opacity 0.4s var(--ease);
}
.plan.is-zoomed .plan__hint { opacity: 0; pointer-events: none; }

.plan__reset {
  position: absolute;
  right: 14px; top: 14px;
  z-index: 5;
  padding: 10px 18px;
  background: rgba(247,244,238,0.94);
  border: 1px solid var(--c-line);
  font-family: var(--f-jp);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  color: var(--c-ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.plan.is-zoomed .plan__reset { opacity: 1; pointer-events: auto; }
.plan__reset:hover { background: var(--c-ink); color: var(--c-bg); border-color: var(--c-ink); }

/* --- 詳細カード --- */
.plan__card {
  position: absolute;
  z-index: 6;
  left: 14px; bottom: 14px;
  width: min(330px, 42%);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  box-shadow: 0 18px 48px rgba(31,26,24,0.22);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.plan.is-open .plan__card { opacity: 1; transform: none; pointer-events: auto; }
.plan__thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-bg-warm); }
.plan__thumb img { width: 100%; height: 100%; object-fit: cover; }
.plan__body { padding: 18px 20px 22px; }
.plan__no {
  display: block;
  font-family: var(--f-en);
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.plan__title {
  font-family: var(--f-jp);
  font-size: var(--fs-h3);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-bottom: 8px;
}
.plan__text { font-size: var(--fs-sm); font-weight: 300; line-height: 1.9; }
.plan__close {
  position: absolute;
  right: 6px; top: 6px;
  z-index: 2;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: rgba(247,244,238,0.9);
  border: 0;
  font-size: 18px;
  line-height: 1;
  color: var(--c-ink);
  cursor: pointer;
}

/* --- 一覧チップ --- */
.plan__list {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.plan__list::-webkit-scrollbar { display: none; }
@media (max-width: 767px) {
  .plan__list {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
}
.plan__list button {
  white-space: nowrap;
  padding: 9px 16px;
  background: none;
  border: 1px solid var(--c-line);
  font-family: var(--f-jp);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  color: var(--c-ink);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.plan__list button:hover,
.plan__list button.is-active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-bg);
}

/* --- スマホ --- */
@media (max-width: 767px) {
  /* 縦長にして図面を大きく見せる（ステージは4:3のままなので座標はずれない） */
  .plan__viewport { aspect-ratio: 1 / 1; }
  .pin span { display: none; }
  .pin.is-active span {
    display: block;
    position: absolute;
    left: 50%; top: calc(100% + 8px);
    transform: translateX(-50%);
  }
  .pin i { width: 38px; height: 38px; font-size: 15px; }
  .plan__hint { bottom: 12px; font-size: 10px; letter-spacing: 0.08em; }
  .plan__reset { right: 10px; top: 10px; padding: 9px 14px; }

  /* カードはボトムシート */
  .plan__card {
    left: 0; right: 0; bottom: 0;
    width: auto;
    display: flex;
    align-items: stretch;
    transform: translateY(100%);
    border-left: 0; border-right: 0; border-bottom: 0;
  }
  .plan.is-open .plan__card { transform: none; }
  .plan__thumb { flex: 0 0 34%; aspect-ratio: auto; }
  .plan__body { padding: 12px 14px 14px; }
  .plan__no { font-size: 10px; margin-bottom: 2px; }
  .plan__title { font-size: 15px; margin-bottom: 2px; }
  .plan__text { font-size: 12px; line-height: 1.75; }
  .plan__close { width: 30px; height: 30px; right: 2px; top: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  .plan__stage { transition: none; }
  .pin i::before { animation: none; }
}

.tile { position: relative; overflow: hidden; }
.tile__label {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  padding: 12px 18px;
  font-family: var(--f-jp);
  font-size: var(--fs-xs);
  letter-spacing: 0.24em;
  color: var(--c-bg);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
}
.tile::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 45%;
  background: linear-gradient(180deg, transparent, rgba(31,26,24,0.55));
  z-index: 1;
  pointer-events: none;
}
.cta-row { margin-top: clamp(40px, 5vw, 64px); display: flex; gap: 20px; flex-wrap: wrap; }

/* ===========================================================
   experience rows
   =========================================================== */
.tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.tag {
  font-family: var(--f-jp);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  padding: 7px 16px;
  border: 1px solid currentColor;
  opacity: 0.7;
  line-height: 1;
}
.split__body > p { margin-bottom: 34px; font-weight: 300; }
.split__body .lead { margin-bottom: 34px; }

.section--dark .ph img { filter: brightness(0.94) saturate(0.9); }

/* ===========================================================
   pet — 額装レイアウト
   =========================================================== */
.frame {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 5vw, 64px);
  background: var(--c-bg);
  outline: 1px solid var(--c-line);
  outline-offset: -1px;
}
.frame::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid var(--c-line);
  pointer-events: none;
}
/* 見出し直下の余白は行間（row-gap）で作る。ここが残ると 900px 以上で二重になる */
.frame__head > :last-child { margin-bottom: 0; }

@media (min-width: 900px) {
  /* split と同じ組み方。head と body を左列に上下で積み、写真を右列で2行に
     またがらせる。DOM 順（head → 写真 → body）は縦積み用のまま保つ */
  .frame {
    grid-template-columns: 1.1fr 0.9fr;
    column-gap: clamp(48px, 6vw, 88px);
    row-gap: 28px;
    grid-template-areas:
      "head media"
      "body media";
  }
  .frame__head { grid-area: head;  align-self: end; }
  .frame__body { grid-area: body;  align-self: start; }
  .frame > .ph { grid-area: media; align-self: center; }
}
.frame__head,
.frame__body { max-width: 32em; }
.frame__body p { margin-bottom: 30px; font-weight: 300; }

/* ===========================================================
   omotenashi
   =========================================================== */
.hospitality {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 3px;
}

.hosp-item { text-align: center; }
.hosp-item .ph {
  aspect-ratio: 3 / 4;
  border-radius: 0;
  margin: 0 0 18px;
  max-width: none;
  box-shadow: none;
}
.hosp-item:hover .ph img { transform: none; }
.hosp-item .ph::after { width: 100%; text-align: center; left: 0; bottom: auto; top: 50%; transform: translateY(-50%); }
.hosp-item h3 {
  font-size: var(--fs-body);
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  line-height: 1.7;
}
.hosp-item p { font-size: var(--fs-xs); color: var(--c-ink-soft); opacity: 0.8; line-height: 1.8; }

/* スマホ：横一列（4列）を保つ。1列81px（375px端末）しか無いので、
   タイトルは写真の中へ縦組みで逃がし、写真下の文字をゼロにする */
@media (max-width: 767px) {
  /* 縦組み8文字（露天風呂・サウナ）を収める高さが要るので写真を縦長に */
  .hospitality { gap: 0 4px; }
  .hosp-item { position: relative; }
  .hosp-item .ph { aspect-ratio: 2 / 3; margin-bottom: 0; }
  /* 縦組みが乗る右側だけ落として文字を読ませる。
     左は写真のまま見せたいのでグラデーションで抜く */
  .hosp-item .ph::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to left,
      rgba(31,26,24,0.66) 0%,
      rgba(31,26,24,0.20) 48%,
      transparent 74%);
  }
  .hosp-item h3 {
    position: absolute;
    top: 12px; right: 9px;
    z-index: 1;
    margin: 0;
    font-size: 11px;
    writing-mode: vertical-rl;
    letter-spacing: 0.16em;
    color: var(--c-bg);
    text-shadow: 0 1px 12px rgba(31,26,24,0.8);
  }
  /* 1列81pxでは「空調・Wi-Fi・専用キッチンなど」が4行に折り返し、
     項目ごとに行数もバラついて文字の塊になる。
     詳細は直下の「アメニティについて」へ送る */
  .hosp-item p { display: none; }
}

.hosp-more { text-align: center; margin-top: clamp(40px, 5vw, 64px); }

/* おもてなしセクションは下に左右対称の5カラムグリッドが続くため、
   見出しブロックも中央揃えにして左右のバランスを取る */
#omotenashi .sec-head { max-width: 46em; margin-left: auto; margin-right: auto; text-align: center; }
#omotenashi .sec-head .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 767px) {
  #omotenashi .sec-head { margin-left: 0; margin-right: 0; text-align: left; }
  #omotenashi .sec-head .lead { margin-left: 0; margin-right: 0; }
}

/* ===========================================================
   access
   =========================================================== */
.access-grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 72px); }
@media (min-width: 1024px) { .access-grid { grid-template-columns: 1.05fr 1fr; align-items: stretch; } }
.access-map { aspect-ratio: 4/3; }
@media (min-width: 1024px) { .access-map { aspect-ratio: auto; height: 100%; min-height: 420px; } }

.spec { border-top: 1px solid var(--c-line); }
.spec li {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 16px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  line-height: 1.9;
}
.spec .label { font-family: var(--f-jp); letter-spacing: 0.16em; color: var(--c-ink); }
.spec .value { color: var(--c-ink-soft); font-weight: 300; }
@media (max-width: 520px) { .spec li { grid-template-columns: 1fr; gap: 2px; } }

/* ===========================================================
   reserve band
   =========================================================== */
/* ===========================================================
   bleed — 100vw フルブリード帯（現在は #dining のみ）
   .container の外に置くことで、100vw を使わずに body 幅いっぱいに広げる。
   （100vw は縦スクロールバー分をはみ出して横スクロールを誘発するため使わない）
   =========================================================== */
.bleed { position: relative; }
.bleed__media { position: absolute; inset: 0; overflow: hidden; }
.bleed__media img { width: 100%; height: 100%; object-fit: cover; }

/* A：写真を全面に敷き、テキストを重ねる（#dining） */
.section--bleed { padding: 0; }
.bleed--overlay {
  display: flex;
  align-items: center;
  min-height: clamp(560px, 80vh, 840px);
  padding: clamp(80px, 10vw, 128px) 0;
}
.bleed--overlay::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(31,26,24,0.88) 0%,
    rgba(31,26,24,0.70) 38%,
    rgba(31,26,24,0.26) 72%,
    rgba(31,26,24,0.10) 100%);
}
/* flexの子は flex-basis:auto で内容幅になるため、.container の max-width を
   効かせるには width:100% が要る */
.bleed__inner { position: relative; z-index: 1; width: 100%; }
.bleed__text { max-width: 32em; }
.bleed__text .lead { margin-bottom: 34px; }
/* 横グラデでは文字が乗る側が狭すぎるため、モバイルは縦グラデに切り替える */
@media (max-width: 767px) {
  .bleed--overlay::after {
    background: linear-gradient(180deg,
      rgba(31,26,24,0.38) 0%,
      rgba(31,26,24,0.80) 52%,
      rgba(31,26,24,0.90) 100%);
  }
}

.band {
  position: relative;
  padding: clamp(88px, 11vw, 148px) 0;
  color: var(--c-bg);
  text-align: center;
  overflow: hidden;
}
.band__media { position: absolute; inset: 0; z-index: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.6); }
.band__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,26,24,0.72), rgba(31,26,24,0.82));
}
.band .container { position: relative; z-index: 1; }
.band h2 { font-size: var(--fs-h2); margin-bottom: 22px; }
.band p { max-width: 34em; margin: 0 auto 42px; color: rgba(247,244,238,0.82); font-weight: 300; }
.band .cta-row { justify-content: center; margin-top: 0; }
.band .btn-outline { color: var(--c-bg); }
.band .btn-outline::before { background: var(--c-bg); }
.band .btn-outline:hover { color: var(--c-ink); }

/* ===========================================================
   footer
   =========================================================== */
.site-footer {
  background: var(--c-ink);
  color: var(--c-bg);
  padding: clamp(72px, 8vw, 112px) 0 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--c-line-rev);
  margin-bottom: 32px;
}
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.2fr 1fr; gap: 80px; } }

/* フッターは墨地なので白ロゴをそのまま */
.footer-logo { height: 44px; width: auto; margin-bottom: 14px; }
.footer-en {
  font-family: var(--f-en);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.28em;
  opacity: 0.6;
  margin-bottom: 24px;
}
.footer-tagline { font-size: var(--fs-sm); font-weight: 300; opacity: 0.72; max-width: 26em; }
.footer-sns {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 22px; font-size: var(--fs-sm); letter-spacing: 0.12em;
  padding-bottom: 6px; border-bottom: 1px solid var(--c-line-rev);
}
.footer-sns__icon { width: 22px; height: 22px; flex-shrink: 0; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; align-content: start; }
.footer-nav a { font-size: var(--fs-sm); font-weight: 300; opacity: 0.8; transition: opacity 0.3s, color 0.3s; }
.footer-nav a:hover { opacity: 1; color: var(--c-accent-lt); }
.footer-nav__cta { grid-column: 1 / -1; }
.footer-nav .btn { margin-top: 12px; color: var(--c-bg); }
@media (max-width: 599px) { .footer-nav__cta { justify-self: center; } }
.footer-nav .btn::before { background: var(--c-bg); }
.footer-nav .btn:hover { color: var(--c-ink); }

.footer-bottom {
  display: flex; flex-direction: column; gap: 14px;
  font-size: var(--fs-xs); opacity: 0.55; letter-spacing: 0.08em;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-legal { display: flex; gap: 26px; flex-wrap: wrap; }

/* ===========================================================
   scroll reveal
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* 画像は下から幕が上がるように。
   clip-path を要素本体に当てると IntersectionObserver の交差矩形が空になり
   発火しなくなるため、外側は opacity・内側の img に clip-path を当てる */
.reveal-img { opacity: 0; transition: opacity 0.9s var(--ease); }
.reveal-img.is-visible { opacity: 1; }
.reveal-img img { clip-path: inset(0 0 100% 0); transform: scale(1.08); transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease); }
.reveal-img.is-visible img { clip-path: inset(0 0 0 0); transform: scale(1); }

[data-delay="1"] { transition-delay: 0.10s; }
[data-delay="2"] { transition-delay: 0.20s; }
[data-delay="3"] { transition-delay: 0.30s; }
[data-delay="4"] { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-img { opacity: 1; transform: none; transition: none; }
  .reveal-img img { clip-path: none; transition: none; }
  .hero__media img { animation: none; transform: none; opacity: 0; }
  .hero__media img:first-child { opacity: 1; }
  .hero__title .l > span, .hero__sub, .hero__actions { animation: none; opacity: 1; transform: none; }
  .hero__scroll::after { animation: none; }
  html { scroll-behavior: auto; }
}
