/* ============================================================
   山峡の湯宿 あわい — 架空の湯宿 (Web Design Lab showcase)
   ライトテーマ / 墨色duotone / 縦書きタイポ / 余白で魅せる
   ============================================================ */
:root {
  --washi:    #f5f1e8;   /* 和紙 */
  --washi-2:  #efe9dc;   /* 一段深い和紙 */
  --washi-3:  #e7dfcd;   /* 罫・地紋 */
  --sumi:     #1c1a17;   /* 墨 */
  --sumi-2:   #36322c;   /* 薄墨 */
  --ai:       #2c4a6e;   /* 藍 */
  --ai-2:     #3f6390;   /* 浅葱寄り */
  --shu:      #b3402a;   /* 朱（印章・極少量） */
  --ink-70:   rgba(28,26,23,.70);
  --ink-50:   rgba(28,26,23,.50);
  --ink-30:   rgba(28,26,23,.28);
  --line:     rgba(28,26,23,.14);

  --mincho:  'Zen Old Mincho', 'Noto Serif JP', serif;   /* 見出し・縦書き */
  --serif:   'Noto Serif JP', serif;                      /* 本文 */
  --roman:   'EB Garamond', 'Noto Serif JP', serif;       /* ローマ字小組み */

  --maxw: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  color: var(--sumi);
  background: var(--washi);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 2.0;
  font-weight: 400;
  letter-spacing: .02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(44,74,110,.18); color: var(--sumi); }

/* 和紙の地紋（極薄の繊維ノイズ） */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.012) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(0,0,0,.010) 0 1px, transparent 1px),
    radial-gradient(circle at 45% 85%, rgba(0,0,0,.010) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px, 9px 9px;
}

/* ===== scroll progress（細い藍の線） ===== */
.scroll-progress {
  position: fixed; left: 0; top: 0; height: 2px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--ai), var(--ai-2));
  opacity: .8;
}

/* ===== nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  display: flex; align-items: center; gap: 24px;
  padding: 22px clamp(18px, 4vw, 54px);
  transition: padding .45s var(--ease), background .45s, box-shadow .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
.nav.solid {
  padding: 13px clamp(18px, 4vw, 54px);
  background: rgba(245,241,232,.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-seal {
  font-family: var(--mincho); font-weight: 700; font-size: 17px; color: var(--washi);
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 4px;
  background: var(--shu); box-shadow: 0 2px 0 rgba(0,0,0,.06); letter-spacing: 0;
}
.brand-name { display: grid; line-height: 1.1; }
.brand-name b { font-family: var(--mincho); font-weight: 600; font-size: 20px; letter-spacing: .14em; color: var(--sumi); }
.brand-name i { font-family: var(--roman); font-style: normal; font-size: 9.5px; letter-spacing: .22em; color: var(--ink-50); }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a {
  font-family: var(--mincho); font-weight: 500; font-size: 15px; letter-spacing: .16em;
  color: var(--ink-70); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px;
  background: var(--shu); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-links a:hover { color: var(--sumi); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-family: var(--mincho); font-weight: 500; font-size: 14px; letter-spacing: .14em;
  color: var(--sumi); padding: 9px 22px; border: 1px solid var(--ink-30); border-radius: 2px;
  transition: background .4s var(--ease), color .4s, border-color .4s;
}
.nav-cta:hover { background: var(--sumi); color: var(--washi); border-color: var(--sumi); }
.nav-burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.nav-burger i { display: block; width: 24px; height: 1.5px; margin: 6px auto; background: var(--sumi); transition: .4s var(--ease); }

/* ===== reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  overflow: hidden; isolation: isolate;
  background: var(--washi);
}
/* 墨色duotoneの渓谷写真 + ゆっくりKen Burns */
.hero-photo {
  position: absolute; inset: -6% -6% -6% -6%; z-index: 0;
  background-image: url('https://picsum.photos/id/11/1600/1000');
  background-size: cover; background-position: center;
  /* 墨色duotone: 脱色→ややセピア→暗部を持ち上げてコントラスト和らげ */
  filter: grayscale(1) sepia(.22) brightness(1.04) contrast(.92);
  animation: kenburns 38s ease-in-out infinite alternate;
  will-change: transform;
}
/* 藍のオーバーレイ + 和紙へのフェード（duotoneの「藍」側） */
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(245,241,232,.30) 0%, rgba(245,241,232,.10) 30%, rgba(245,241,232,.62) 78%, var(--washi) 100%),
    radial-gradient(120% 90% at 78% 8%, rgba(44,74,110,.30), transparent 60%),
    linear-gradient(180deg, rgba(28,26,23,.10), rgba(28,26,23,.04));
  mix-blend-mode: multiply;
}
@keyframes kenburns {
  from { transform: scale(1.0) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, -2%); }
}
/* 霧・湯けむり canvas */
.mist { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }

/* 罫線（SVG line-draw） */
.hero-rule { position: absolute; left: 0; right: 0; bottom: 16%; z-index: 3; width: 100%; height: 120px; pointer-events: none; }
.hero-rule path {
  fill: none; stroke: var(--ink-30); stroke-width: 1;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 2.4s var(--ease) .5s;
}
.hero-rule path.r2 { stroke: var(--shu); opacity: .55; transition-delay: 1.1s; }
.hero-rule.drawn path { stroke-dashoffset: 0; }

.hero-inner {
  position: relative; z-index: 4; max-width: var(--maxw); margin: 0 auto;
  width: 100%; padding: 0 clamp(20px, 6vw, 72px);
  display: grid; justify-items: start;
}
.hero-kicker {
  font-family: var(--mincho); font-weight: 500; letter-spacing: .42em; font-size: 12.5px;
  color: var(--ai); margin-bottom: 30px; padding-left: .2em;
}
/* 縦書きタイトル「あわい」: 墨が上から滲むように現れる */
.hero-title {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--mincho); font-weight: 900;
  font-size: clamp(64px, 16vw, 168px); line-height: .92; letter-spacing: .04em;
  color: var(--sumi); height: 3.45em; /* 3文字+送りがフォントに追随して必ず1列に収まる */
  margin-bottom: 24px;
}
.ht-char {
  display: inline-block; position: relative; /* blockだとvertical-rlで右→左の3列=「いわあ」に化ける */
  /* 上から墨が滲むマスク */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 var(--reveal, 0%), transparent calc(var(--reveal, 0%) + 14%));
          mask-image: linear-gradient(180deg, #000 0%, #000 var(--reveal, 0%), transparent calc(var(--reveal, 0%) + 14%));
  opacity: .96;
  transition: opacity 1s var(--ease);
  text-shadow: 0 1px 0 rgba(245,241,232,.4);
}
.hero-tag {
  font-family: var(--mincho); font-weight: 600; font-size: clamp(20px, 3.4vw, 34px);
  letter-spacing: .12em; color: var(--sumi-2); margin-top: 6px;
}
.hero-lead {
  margin-top: 18px; font-size: clamp(13px, 1.7vw, 16px); color: var(--ink-70); letter-spacing: .06em;
}

/* 朱印（角印風スタンプがポンと押される） */
.seal {
  position: absolute; z-index: 5; right: clamp(20px, 7vw, 96px); top: clamp(96px, 16vh, 168px);
  width: clamp(74px, 9vw, 104px); aspect-ratio: 1; border-radius: 5px;
  border: 2.5px solid var(--shu); color: var(--shu);
  display: grid; grid-template-rows: repeat(3, 1fr); place-items: center;
  font-family: var(--mincho); font-weight: 700; font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: .12em; line-height: 1; gap: 2px; padding: 8px 0;
  background: rgba(179,64,42,.04);
  opacity: 0; transform: scale(1.7) rotate(-9deg);
  box-shadow: inset 0 0 0 1px rgba(179,64,42,.25);
}
.seal.stamped { animation: stamp .55s var(--ease) forwards; }
@keyframes stamp {
  0%   { opacity: 0; transform: scale(1.7) rotate(-9deg); }
  55%  { opacity: 1; transform: scale(.92) rotate(-9deg); }
  72%  { transform: scale(1.04) rotate(-9deg); }
  100% { opacity: .92; transform: scale(1) rotate(-9deg); }
}
.seal span { writing-mode: horizontal-tb; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 6;
  font-family: var(--roman); font-size: 10.5px; letter-spacing: .4em; color: var(--ink-50);
  display: grid; justify-items: center; gap: 10px;
}
.scroll-cue span { width: 1px; height: 46px; background: var(--ink-30); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--ai); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(290%); } }

/* ============================================================
   sections base
   ============================================================ */
.section { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: clamp(96px, 14vw, 184px) clamp(20px, 6vw, 72px); }
.sec-en {
  font-family: var(--roman); font-style: italic; font-weight: 400;
  font-size: clamp(15px, 2vw, 19px); letter-spacing: .12em; color: var(--ai);
  margin-bottom: 30px; position: relative; padding-left: 44px;
}
.sec-en::before { content: ""; position: absolute; left: 0; top: 50%; width: 32px; height: 1px; background: var(--ai); opacity: .6; }
.sec-en.light { color: rgba(245,241,232,.78); }
.sec-en.light::before { background: rgba(245,241,232,.6); }

/* ============================================================
   2. CONCEPT
   ============================================================ */
.concept { text-align: center; }
.concept-body { max-width: 760px; margin: 0 auto; }
.cline {
  font-family: var(--mincho); font-weight: 400; font-size: clamp(18px, 2.8vw, 27px);
  line-height: 2.2; color: var(--sumi-2); letter-spacing: .08em; margin: 0 0 26px;
}
.cline-v {
  display: flex; justify-content: center; margin: 40px 0;
}
.cline-v span {
  writing-mode: vertical-rl; font-family: var(--mincho); font-weight: 500;
  font-size: clamp(20px, 3.2vw, 32px); line-height: 1.9; letter-spacing: .18em;
  color: var(--sumi); padding: 4px 0;
  border-right: 1px solid var(--line); border-left: 1px solid var(--line);
  padding-left: 14px; padding-right: 14px;
}
.cline-v.emph span { color: var(--ai); }
.concept-sign {
  margin-top: 52px; font-family: var(--mincho); font-size: 14px; letter-spacing: .12em; color: var(--ink-50);
}

/* ============================================================
   3. ROOMS（横スクロール / sticky）
   ============================================================ */
.rooms { position: relative; z-index: 1; background: var(--sumi); color: var(--washi); }
.rooms-sticky {
  position: sticky; top: 0; height: 100svh; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; align-content: center;
  padding: clamp(74px, 10vh, 110px) 0 clamp(40px, 6vh, 70px);
}
.rooms-head { padding: 0 clamp(20px, 6vw, 72px); margin-bottom: clamp(20px, 4vh, 48px); }
.rooms-head .sec-en { color: rgba(245,241,232,.7); margin-bottom: 14px; }
.rooms-head .sec-en::before { background: rgba(245,241,232,.5); }
.rooms-jp { font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 4vw, 44px); letter-spacing: .1em; color: var(--washi); }
.rooms-track {
  display: flex; gap: clamp(20px, 3vw, 40px); align-items: stretch;
  padding: 0 clamp(20px, 6vw, 72px); will-change: transform;
}
.room {
  position: relative; flex: 0 0 auto; width: min(78vw, 460px); height: min(58vh, 520px);
  border-radius: 4px; overflow: hidden; background: var(--sumi-2);
}
.room-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  /* 墨色duotone（暗いトーン版） */
  filter: grayscale(1) sepia(.25) brightness(.82) contrast(.95);
  transform: scale(1.05); transition: transform 1.2s var(--ease), filter 1.2s var(--ease);
}
.room:hover .room-img { transform: scale(1.12); filter: grayscale(.4) sepia(.18) brightness(.9); }
.room::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,26,23,.05) 30%, rgba(28,26,23,.86)); }
.room-no { position: absolute; top: 22px; left: 22px; z-index: 2; font-family: var(--roman); font-style: italic; font-size: 14px; letter-spacing: .1em; color: rgba(245,241,232,.7); }
.room-seal { position: absolute; top: 18px; right: 18px; z-index: 2; width: 42px; height: 42px; border: 1.5px solid rgba(179,64,42,.8); border-radius: 3px; display: grid; place-items: center; font-family: var(--mincho); font-weight: 700; font-size: 18px; color: #e0907f; writing-mode: vertical-rl; }
.room-info { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; }
.room-name { font-family: var(--mincho); font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: .12em; color: var(--washi); line-height: 1.2; }
.room-name small { display: block; font-family: var(--roman); font-style: italic; font-size: 13px; letter-spacing: .14em; color: rgba(245,241,232,.62); margin-top: 4px; }
.room-meta { display: flex; gap: 18px; margin: 12px 0; font-size: 12.5px; color: rgba(245,241,232,.66); letter-spacing: .06em; }
.room-meta b { font-weight: 400; color: rgba(245,241,232,.9); }
.room-desc { font-size: 13.5px; line-height: 1.85; color: rgba(245,241,232,.74); max-width: 360px; }
.room-price { margin-top: 14px; font-family: var(--mincho); font-size: 15px; letter-spacing: .04em; color: #e6c79b; }
.room-price small { font-size: 11px; color: rgba(245,241,232,.5); margin-left: 6px; letter-spacing: .1em; }
.rooms-hint { text-align: center; font-family: var(--mincho); font-size: 12.5px; letter-spacing: .3em; color: rgba(245,241,232,.45); margin-top: clamp(16px, 3vh, 34px); }
/* スクロール量を稼ぐためのスペーサ（JSで高さ設定） */
.rooms-spacer { height: 240vh; }

/* ============================================================
   4. ONSEN
   ============================================================ */
.onsen { position: relative; z-index: 1; background: var(--ai); color: var(--washi); overflow: hidden; isolation: isolate; }
.onsen .mist--onsen { z-index: 0; opacity: .5; }
.onsen-inner {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto;
  padding: clamp(96px, 14vw, 184px) clamp(20px, 6vw, 72px);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.onsen-h { font-family: var(--mincho); font-weight: 600; font-size: clamp(28px, 4.4vw, 50px); line-height: 1.4; letter-spacing: .08em; color: var(--washi); margin-bottom: 24px; }
.onsen-text { color: rgba(245,241,232,.86); max-width: 480px; font-size: 15px; line-height: 2.05; }
.ghost-link { display: inline-block; margin-top: 26px; font-family: var(--mincho); font-size: 14px; letter-spacing: .1em; color: var(--washi); position: relative; padding-bottom: 4px; }
.ghost-link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: rgba(245,241,232,.6); transform: scaleX(.4); transform-origin: left; transition: transform .5s var(--ease); }
.ghost-link:hover::after { transform: scaleX(1); }
.spring { width: 100%; border-collapse: collapse; background: rgba(245,241,232,.06); border: 1px solid rgba(245,241,232,.16); }
.spring caption { font-family: var(--mincho); text-align: left; font-size: 13px; letter-spacing: .26em; color: rgba(245,241,232,.7); padding: 0 0 14px; }
.spring th, .spring td { text-align: left; padding: 15px 18px; border-bottom: 1px solid rgba(245,241,232,.13); font-size: 14px; vertical-align: top; }
.spring tr:last-child th, .spring tr:last-child td { border-bottom: 0; }
.spring th { width: 34%; font-family: var(--mincho); font-weight: 400; color: rgba(245,241,232,.72); letter-spacing: .06em; }
.spring td { color: var(--washi); line-height: 1.8; }

/* ============================================================
   5. CUISINE（会席タイムライン）
   ============================================================ */
.cuisine { text-align: center; }
.cuisine-head { margin-bottom: clamp(54px, 8vw, 90px); }
.cuisine .sec-en { display: inline-block; padding-left: 0; }
.cuisine .sec-en::before { display: none; }
.cuisine-jp { font-family: var(--mincho); font-weight: 500; font-size: clamp(26px, 4.2vw, 46px); line-height: 1.45; letter-spacing: .08em; margin-bottom: 22px; }
.cuisine-lead { color: var(--ink-70); font-size: 15px; letter-spacing: .04em; }
.course { list-style: none; position: relative; max-width: 720px; margin: 0 auto; text-align: left; }
/* 中央を貫く線（順に灯る） */
.course::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: var(--line); transform: translateX(-50%); }
.course-progress { position: absolute; left: 50%; top: 6px; width: 1px; height: 0; background: linear-gradient(180deg, var(--shu), var(--ai)); transform: translateX(-50%); transition: height 1s var(--ease-soft); }
.dish { position: relative; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; min-height: 88px; opacity: .32; transition: opacity .9s var(--ease); }
.dish.lit { opacity: 1; }
.dish-node { grid-column: 2; justify-self: center; width: 13px; height: 13px; border-radius: 50%; background: var(--washi); border: 1px solid var(--ink-30); position: relative; z-index: 2; transition: background .6s var(--ease), border-color .6s, box-shadow .6s; }
.dish.lit .dish-node { background: var(--shu); border-color: var(--shu); box-shadow: 0 0 0 5px rgba(179,64,42,.12); }
.dish-num { position: absolute; left: 50%; transform: translateX(-50%); top: -19px; font-family: var(--roman); font-style: italic; font-size: 12px; color: var(--ink-50); }
.dish-body { padding: 18px 22px; }
.dish:nth-child(even) .dish-body { grid-column: 1; text-align: right; }
.dish:nth-child(odd) .dish-body { grid-column: 3; text-align: left; }
.dish-cat { font-family: var(--roman); font-style: italic; font-size: 12.5px; letter-spacing: .1em; color: var(--ai); }
.dish-name { font-family: var(--mincho); font-weight: 500; font-size: clamp(18px, 2.4vw, 23px); letter-spacing: .06em; margin: 2px 0 4px; }
.dish-desc { font-size: 13px; line-height: 1.8; color: var(--ink-70); }

/* ============================================================
   6. SEASONS（横並びホバー拡張アコーディオン）
   ============================================================ */
.seasons { position: relative; z-index: 1; padding-top: clamp(72px, 9vw, 120px); padding-bottom: clamp(72px, 9vw, 120px); }
.seasons-jp { font-family: var(--mincho); font-weight: 500; font-size: clamp(24px, 4vw, 44px); letter-spacing: .1em; margin-bottom: clamp(28px, 4vw, 48px); color: var(--sumi); }

.seasons-acc {
  display: flex; gap: 10px; height: 62vh; max-height: 620px; min-height: 420px;
  overflow: hidden; border-radius: 4px;
}
/* 各列（季節パネル） */
.s-panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer;
  border: 0; padding: 0; text-align: left; color: var(--sumi);
  border-radius: 3px; background: var(--washi-2);
  display: block; font-family: inherit;
  transition: flex-grow .6s var(--ease);
  outline: none;
}
/* hover/focus で広がる（他は flex:1 のまま相対的に縮む。既定は全列均等） */
.s-panel:hover, .s-panel:focus-visible { flex-grow: 3; }
.s-panel:focus-visible { box-shadow: inset 0 0 0 2px var(--ai); }
/* 和色グラデーション（背景） */
.s-panel-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(155deg, var(--s-a) 0%, var(--s-b) 100%);
  transition: filter .6s var(--ease), transform .6s var(--ease);
}
.s-panel:hover .s-panel-bg, .s-panel:focus-visible .s-panel-bg { filter: saturate(1.08) brightness(1.02); }
/* 和紙の地紋（既存ノイズと同調する繊維ノイズ） */
.s-panel-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 22% 30%, rgba(0,0,0,.035) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 65%, rgba(0,0,0,.030) 0 1px, transparent 1px),
    radial-gradient(circle at 45% 85%, rgba(0,0,0,.028) 0 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px, 9px 9px;
}
/* ごく薄い墨のヴェール（文字可読性） */
.s-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(28,26,23,.02), rgba(28,26,23,.10));
}

/* 中身レイアウト */
.s-inner {
  position: relative; z-index: 3; height: 100%;
  display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px);
  padding: clamp(22px, 3vw, 40px) clamp(14px, 2vw, 30px);
}
/* 閉じた状態：縦書き一字を中央に */
.s-kanji {
  writing-mode: vertical-rl; text-orientation: upright;
  font-family: var(--mincho); font-weight: 900;
  font-size: clamp(48px, 8vw, 104px); line-height: 1; letter-spacing: .04em;
  color: var(--s-ink); flex: 0 0 auto;
  margin: 0 auto; user-select: none;
  text-shadow: 0 1px 0 rgba(245,241,232,.35);
  transition: margin .6s var(--ease), font-size .6s var(--ease);
}
.s-kanji small {
  display: block; writing-mode: horizontal-tb; text-orientation: mixed;
  font-family: var(--roman); font-style: italic; font-weight: 400;
  font-size: 11px; letter-spacing: .22em; color: var(--s-ink);
  opacity: .72; margin-top: 14px; text-align: center;
}
/* 開いた状態：一字が左へ寄り、本文が現れる */
.s-panel:hover .s-kanji, .s-panel:focus-visible .s-kanji {
  margin: 0; font-size: clamp(52px, 7vw, 96px);
}
.s-detail {
  flex: 0 1 auto; min-width: 0; width: 0; max-width: 30ch; overflow: hidden;
  opacity: 0; transform: translateX(14px);
  transition: opacity .55s var(--ease) .12s, transform .55s var(--ease) .12s, width .6s var(--ease);
  pointer-events: none;
}
.s-panel:hover .s-detail, .s-panel:focus-visible .s-detail {
  opacity: 1; transform: none; width: 30ch;
}
.s-haiku {
  display: block;
  font-family: var(--mincho); font-weight: 500; font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.9; letter-spacing: .1em; color: var(--s-ink); margin-bottom: 14px;
  white-space: nowrap;
}
.s-note { display: block; font-size: 13px; line-height: 1.95; color: var(--s-ink); opacity: .9; letter-spacing: .03em; }
.s-joy {
  margin-top: 16px; font-family: var(--mincho); font-weight: 600; font-size: 13.5px;
  letter-spacing: .08em; color: var(--s-ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.s-joy::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .5; }

/* ----- 季節モチーフ（各列内に閉じるCSSアニメ・控えめ） ----- */
.s-motif { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
/* 春：花びらがゆっくり舞う */
.s-petal {
  position: absolute; top: -8%; width: 9px; height: 11px;
  background: rgba(255,255,255,.55); border-radius: 60% 60% 60% 0;
  opacity: 0; animation: petalfall var(--pd, 11s) linear infinite; animation-delay: var(--pdl, 0s);
}
@keyframes petalfall {
  0%   { transform: translate(0, -10%) rotate(0deg); opacity: 0; }
  12%  { opacity: .8; }
  100% { transform: translate(var(--px, 18px), 130%) rotate(320deg); opacity: 0; }
}
/* 夏：水紋の輪 */
.s-ripple {
  position: absolute; left: var(--rx, 40%); top: var(--ry, 58%);
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  transform: translate(-50%, -50%) scale(0); opacity: 0;
  animation: ripple var(--rd, 6.5s) ease-out infinite; animation-delay: var(--rdl, 0s);
}
@keyframes ripple {
  0%   { transform: translate(-50%,-50%) scale(.2); opacity: .55; }
  80%  { opacity: .08; }
  100% { transform: translate(-50%,-50%) scale(5.4); opacity: 0; }
}
/* 秋：落ち葉がひらひら */
.s-leaf {
  position: absolute; top: -8%; width: 10px; height: 8px;
  background: rgba(120,52,28,.5); border-radius: 50% 10% 50% 10%;
  opacity: 0; animation: leaffall var(--ld, 13s) ease-in-out infinite; animation-delay: var(--ldl, 0s);
}
@keyframes leaffall {
  0%   { transform: translate(0,-10%) rotate(0deg); opacity: 0; }
  14%  { opacity: .75; }
  50%  { transform: translate(var(--lx1, -16px), 60%) rotate(180deg); }
  100% { transform: translate(var(--lx2, 14px), 130%) rotate(380deg); opacity: 0; }
}
/* 冬：粉雪 */
.s-snow {
  position: absolute; top: -6%; width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,.85);
  opacity: 0; animation: snowfall var(--sd, 12s) linear infinite; animation-delay: var(--sdl, 0s);
}
@keyframes snowfall {
  0%   { transform: translate(0,-10%); opacity: 0; }
  10%  { opacity: .9; }
  100% { transform: translate(var(--sx, 10px), 135%); opacity: 0; }
}

/* ============================================================
   7. ACCESS
   ============================================================ */
.access { overflow: hidden; }
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; position: relative; z-index: 1; }
.access-h { font-family: var(--mincho); font-weight: 500; font-size: clamp(30px, 5vw, 54px); line-height: 1.45; letter-spacing: .08em; margin-bottom: 26px; }
.access-text { color: var(--ink-70); max-width: 420px; font-size: 15px; line-height: 2.05; }
.seal-btn {
  display: inline-block; margin-top: 34px; font-family: var(--mincho); font-size: 15px; letter-spacing: .12em;
  color: var(--washi); background: var(--sumi); padding: 16px 34px; border-radius: 2px;
  transition: background .5s var(--ease), letter-spacing .5s var(--ease);
}
.seal-btn:hover { background: var(--shu); letter-spacing: .18em; }
.info { display: grid; grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 0; }
.info dt { font-family: var(--mincho); font-size: 13px; letter-spacing: .14em; color: var(--ink-50); padding: 16px 0; border-top: 1px solid var(--line); white-space: nowrap; }
.info dd { font-size: 14.5px; color: var(--sumi); padding: 16px 0; border-top: 1px solid var(--line); line-height: 1.85; }
.info dt:first-of-type, .info dd:first-of-type { border-top: 0; }
.access-mark {
  position: absolute; right: clamp(-10px, 2vw, 30px); bottom: -8%; z-index: 0;
  font-family: var(--mincho); font-weight: 900; font-size: clamp(200px, 36vw, 460px);
  color: var(--washi-3); user-select: none; line-height: .8; opacity: .8;
}

/* ============================================================
   footer
   ============================================================ */
.footer { position: relative; z-index: 1; background: var(--washi-2); border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(60px, 8vw, 96px) clamp(20px, 6vw, 72px) clamp(40px, 5vw, 60px); text-align: center; }
.footer-top { display: grid; justify-items: center; gap: 18px; margin-bottom: 36px; }
.footer-seal { font-family: var(--mincho); font-weight: 700; font-size: 22px; color: var(--washi); width: 46px; height: 46px; display: grid; place-items: center; border-radius: 4px; background: var(--shu); }
.footer-tag { font-family: var(--mincho); font-weight: 500; font-size: clamp(18px, 2.6vw, 26px); letter-spacing: .14em; color: var(--sumi); }
.footer-nav { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.footer-nav a { font-family: var(--mincho); font-size: 14px; letter-spacing: .12em; color: var(--ink-70); transition: color .4s; }
.footer-nav a:hover { color: var(--shu); }
.footer-note { color: var(--ink-50); font-size: 12px; max-width: 600px; margin: 0 auto 14px; line-height: 1.9; letter-spacing: .02em; }
.footer-copy { color: var(--ink-50); font-family: var(--mincho); font-size: 12.5px; letter-spacing: .1em; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 920px) {
  .onsen-inner { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .access-mark { font-size: 50vw; bottom: -4%; opacity: .6; }
}
@media (max-width: 720px) {
  body { line-height: 1.95; }
  .nav-links, .nav-cta { display: none; }
  .nav.open .nav-links {
    display: flex; position: fixed; inset: 0; top: 0; height: 100svh; flex-direction: column;
    justify-content: center; align-items: center; gap: 30px; margin: 0;
    background: rgba(245,241,232,.97); backdrop-filter: blur(12px);
  }
  .nav.open .nav-links a { font-size: 22px; }
  .nav-burger { display: block; margin-left: auto; z-index: 330; }
  .nav.open .nav-burger { position: fixed; right: clamp(18px, 4vw, 54px); top: 16px; }
  .nav.open .nav-burger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.open .nav-burger i:nth-child(2) { opacity: 0; }
  .nav.open .nav-burger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  /* 部屋は横スクロールを解除 → 縦積み / 手動スワイプに退避 */
  .rooms { background: var(--sumi); }
  .rooms-sticky { position: static; height: auto; display: block; padding: clamp(74px, 12vw, 110px) 0; }
  .rooms-track {
    transform: none !important; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: 18px;
  }
  .rooms-track::-webkit-scrollbar { height: 0; }
  .room { width: 82vw; height: 64vh; scroll-snap-align: center; }

  .course { max-width: 100%; }
  .course::before, .course-progress { left: 18px; }
  .dish { grid-template-columns: 38px 1fr; min-height: 0; padding: 6px 0; }
  .dish-node { grid-column: 1; }
  .dish-num { left: 18px; transform: translateX(-50%); }
  .dish-body, .dish:nth-child(even) .dish-body, .dish:nth-child(odd) .dish-body { grid-column: 2; text-align: left; padding: 12px 6px 12px 16px; }

  .cline-v span { font-size: 22px; }
  .info { grid-template-columns: 1fr; }
  .info dt { padding-bottom: 0; border-top: 1px solid var(--line); }
  .info dd { padding-top: 4px; border-top: 0; }

  /* 季節：縦積み4段のタップ開閉アコーディオン */
  .seasons-acc {
    flex-direction: column; height: auto; max-height: none; min-height: 0;
    gap: 8px; overflow: visible;
  }
  .s-panel { flex: 0 0 auto; width: 100%; min-height: 84px; transition: min-height .55s var(--ease); }
  .s-panel:hover, .s-panel:focus-visible { flex-grow: 0; }
  /* タップで開いた列だけ高さが伸びる */
  .s-panel.is-open { flex-grow: 0; min-height: 38vh; }
  .s-inner { padding: 18px 20px; align-items: center; }
  .s-kanji { font-size: 52px; margin: 0; }
  .s-panel.is-open .s-kanji, .s-panel:hover .s-kanji, .s-panel:focus-visible .s-kanji { font-size: 56px; }
  /* モバイルは閉じ列で本文を隠し、開いた列のみ表示 */
  .s-detail { display: none; width: auto; max-width: none; }
  .s-panel.is-open .s-detail {
    display: block; width: auto; max-width: none; opacity: 0; transform: translateY(8px);
    animation: sFadeIn .5s var(--ease) .1s forwards;
  }
  .s-haiku { white-space: normal; }
}
@keyframes sFadeIn { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .ht-char { -webkit-mask-image: none !important; mask-image: none !important; }
  .seal { opacity: .92 !important; transform: rotate(-9deg) !important; }
  /* 季節：拡張は即時切替、舞うモチーフは止める */
  .s-motif { display: none !important; }
  .s-detail { transition: none !important; }
}
