/* =========================================================
   湯宿 霧音庵（架空の旅館）— デザインサンプル
   深緑・苔色・木肌・白。季節で accent / haze が変わる
   ========================================================= */
:root {
  --ink: #0d1813;
  --deep: #12241c;
  --deep-2: #182e24;
  --moss: #4f6343;
  --moss-2: #7d8c5f;
  --wood: #b8926a;
  --wood-d: #6b4a30;
  --paper: #f2eee4;
  --paper-2: #e7e1d2;
  --white: #fbfaf6;
  --text-d: #26332b;
  --muted-d: #5d6a60;
  --accent: #cf6a3a;
  --accent-soft: #e9b28e;
  --haze: #d7ae88;
  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "EB Garamond", "Zen Old Mincho", serif;
  --hd-h: 64px;
  --ease: cubic-bezier(.6, .05, .2, 1);
}
[data-season="spring"] { --accent: #d98ea3; --accent-soft: #f2cfd8; --haze: #e3cdd2; }
[data-season="summer"] { --accent: #7fb069; --accent-soft: #c5dfb4; --haze: #b9cfb3; }
[data-season="autumn"] { --accent: #cf6a3a; --accent-soft: #e9b28e; --haze: #d7ae88; }
[data-season="winter"] { --accent: #9fb7c6; --accent-soft: #dde7ee; --haze: #cdd6dc; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd-h); -webkit-text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0; background: var(--deep); color: var(--paper);
  font-family: var(--serif); font-size: 15px; line-height: 2; letter-spacing: .06em;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--paper); color: var(--deep); padding: 8px 14px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.art { width: 100%; height: auto; }
.acc-fill { fill: var(--accent); transition: fill 1.2s ease; }

/* ---------- 湯けむりの共通アニメ（SVG） ---------- */
.steam path { animation: steam 7s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.steam path:nth-child(2) { animation-delay: -2.3s; }
.steam path:nth-child(3) { animation-delay: -4.6s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(20px) scaleY(.8); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-60px) scaleY(1.15) skewX(-6deg); }
}

/* ---------- ヘッダー ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hd-h);
  display: flex; align-items: center; gap: 12px; padding: 0 16px;
  transition: background .5s ease, box-shadow .5s ease;
}
.hd.is-solid { background: rgba(14, 28, 22, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(242, 238, 228, .08); }
.hd__logo { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.hd__mark { width: 34px; height: 34px; color: var(--paper); }
.hd__name { font-size: 18px; font-weight: 600; letter-spacing: .2em; line-height: 1.1; display: flex; flex-direction: column; }
.hd__name small { font-family: var(--latin); font-size: 9.5px; letter-spacing: .3em; opacity: .7; font-weight: 400; margin-top: 3px; }
.hd__nav { display: none; }
.hd__cta { display: none; }
.season { display: none; gap: 2px; padding: 3px; border: 1px solid rgba(242, 238, 228, .25); border-radius: 999px; }
.js .season { display: flex; }
.season button {
  width: 28px; height: 28px; border-radius: 50%; border: 0; background: transparent; cursor: pointer;
  font-size: 13px; letter-spacing: 0; line-height: 1; color: rgba(242, 238, 228, .75); transition: background .4s, color .4s;
}
.season button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.season button:hover { color: #fff; }
.hd__menu { position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: none; }
.js .hd__menu { display: block; }
.hd__bar { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--paper); transition: transform .4s var(--ease); }
.hd__bar:nth-child(1) { top: 18px; } .hd__bar:nth-child(2) { top: 26px; }
.hd__menu[aria-expanded="true"] .hd__bar:nth-child(1) { transform: translateY(4px) rotate(20deg); }
.hd__menu[aria-expanded="true"] .hd__bar:nth-child(2) { transform: translateY(-4px) rotate(-20deg); }

/* スマホのメニュー（全画面） */
@media (max-width: 1023px) {
  .js .hd__nav {
    display: flex; position: fixed; inset: 0; z-index: -1; background: rgba(13, 24, 19, .96);
    align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
  }
  .js .hd.is-open .hd__nav { opacity: 1; visibility: visible; }
  .hd__nav ul { display: grid; gap: 6px; text-align: center; }
  .hd__nav a { display: block; text-decoration: none; padding: 8px 20px; font-size: 19px; letter-spacing: .25em; }
  .hd__nav em { display: block; font-family: var(--latin); font-style: italic; font-size: 12px; letter-spacing: .15em; opacity: .55; line-height: 1.2; }
  .hd__nav-cta a { margin-top: 14px; border: 1px solid var(--accent); border-radius: 999px; }
  /* JSがない時はメニューを普通に並べる */
  html:not(.js) .hd { position: relative; height: auto; flex-wrap: wrap; padding: 10px 16px; background: var(--ink); }
  html:not(.js) .hd__nav { display: block; width: 100%; }
  html:not(.js) .hd__nav ul { display: flex; flex-wrap: wrap; gap: 0 12px; justify-content: flex-start; }
  html:not(.js) .hd__nav a { padding: 2px 0; font-size: 13px; }
  html:not(.js) .hd__nav em { display: none; }
}
@media (min-width: 1024px) {
  .hd { padding: 0 32px; gap: 22px; --hd-h: 76px; height: 76px; }
  .hd__nav { display: block; }
  .hd__nav ul { display: flex; gap: 26px; }
  .hd__nav a { text-decoration: none; font-size: 13.5px; letter-spacing: .16em; display: block; position: relative; padding: 4px 0; }
  .hd__nav em { display: none; }
  .hd__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
  .hd__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .hd__nav-cta { display: none; }
  .hd__cta { display: inline-block; text-decoration: none; font-size: 13.5px; letter-spacing: .2em; padding: 9px 22px; border: 1px solid var(--accent); border-radius: 999px; transition: background .4s; }
  .hd__cta:hover { background: var(--accent); }
  .js .hd__menu { display: none; }
}

/* ---------- 季節の粒子 & 霧 ---------- */
.petals { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 40; pointer-events: none; }
html:not(.js) .petals { display: none; }
.mist { position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0; overflow: hidden; }
.mist__l { position: absolute; inset: -30%; background:
  radial-gradient(40% 30% at 30% 40%, rgba(240, 241, 234, .95), transparent 70%),
  radial-gradient(35% 28% at 70% 60%, rgba(236, 238, 230, .9), transparent 70%),
  radial-gradient(50% 35% at 50% 80%, rgba(244, 243, 238, .9), transparent 70%); }
.mist__l--1 { animation: drift1 26s ease-in-out infinite alternate; }
.mist__l--2 { opacity: .8; animation: drift2 34s ease-in-out infinite alternate; background:
  radial-gradient(45% 30% at 60% 30%, rgba(236, 238, 232, .95), transparent 70%),
  radial-gradient(40% 32% at 25% 70%, rgba(242, 242, 236, .9), transparent 70%); }
.mist__l--3 { background: radial-gradient(70% 55% at 50% 50%, rgba(238, 239, 233, 1), rgba(238, 239, 233, .6) 60%, transparent 90%); }
.mist:not(.is-on) .mist__l { animation-play-state: paused; }
@keyframes drift1 { to { transform: translate(8%, -6%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-10%, 5%) scale(1.15); } }
.mist__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; color: #2b3a31; writing-mode: vertical-rl; opacity: 0; transition: opacity .4s; }
.mist__no { font-size: 56px; color: var(--moss); line-height: 1; }
.mist__ttl { font-size: 20px; letter-spacing: .5em; }
.mist.is-peak .mist__label { opacity: 1; }

/* ---------- トップ ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; background: #1b2f26; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(60% 40% at 70% 25%, color-mix(in srgb, var(--haze) 60%, transparent), transparent 70%),
  linear-gradient(180deg, #1c3329 0%, #2f4a3b 55%, #12241c 100%); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
.hero__gl.is-ready { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10, 20, 15, .55), rgba(10, 20, 15, 0) 60%),
  linear-gradient(0deg, rgba(10, 20, 15, .65), rgba(10, 20, 15, 0) 45%); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin: 0 auto; padding: calc(var(--hd-h) + 28px) 0 124px; display: grid; gap: 22px; }
.hero__place { font-size: 12px; letter-spacing: .3em; opacity: .85; }
.hero__title { writing-mode: vertical-rl; font-weight: 400; font-size: clamp(34px, 10vw, 76px); line-height: 1.45; letter-spacing: .16em; height: 9.2em; max-height: 58svh; justify-self: end; text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero__line { display: block; }
.hero__line:nth-child(2) { padding-top: 1.6em; }
.hero__name { font-size: 20px; letter-spacing: .3em; }
.hero__name strong { font-weight: 600; font-size: 1.5em; }
.hero__en { font-family: var(--latin); font-style: italic; font-size: 14px; letter-spacing: .08em; opacity: .75; line-height: 1.5; }
.hero__lead { font-size: 14px; line-height: 2.1; opacity: .9; }
.hero__season { position: absolute; z-index: 2; left: 16px; bottom: 74px; font-size: 11.5px; letter-spacing: .25em; opacity: .8; }
.hero__season span { color: var(--accent-soft); transition: color 1s; }
.hero__scroll { position: absolute; z-index: 2; right: 22px; bottom: 0; height: 96px; width: 20px; text-decoration: none; }
.hero__scroll span { writing-mode: vertical-rl; font-family: var(--latin); font-size: 11px; letter-spacing: .3em; position: absolute; top: -70px; left: 2px; }
.hero__scroll::after { content: ""; position: absolute; left: 9px; top: 0; width: 1px; height: 100%; background: linear-gradient(var(--paper), transparent); animation: scrollLine 2.4s var(--ease) infinite; transform-origin: top; }
@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__place, .js .hero__line, .js .hero__brand, .js .hero__lead { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity 1.8s ease, transform 1.8s var(--ease), filter 1.8s ease; }
.js .hero__line { transform: translateY(-24px); }
.is-loaded .hero__place, .is-loaded .hero__line, .is-loaded .hero__brand, .is-loaded .hero__lead { opacity: 1 !important; transform: none !important; filter: none !important; }
.is-loaded .hero__line:nth-child(1) { transition-delay: .5s; }
.is-loaded .hero__line:nth-child(2) { transition-delay: 1.1s; }
.is-loaded .hero__brand { transition-delay: 1.6s; }
.is-loaded .hero__lead { transition-delay: 1.9s; }
@media (min-width: 768px) {
  .hero__inner { grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; align-items: end; padding-bottom: 110px; }
  .hero__place { grid-column: 1 / -1; }
  .hero__title { grid-column: 2; grid-row: 1 / 4; align-self: center; height: auto; max-height: none; }
  .hero__brand { grid-column: 1; grid-row: 3; }
  .hero__lead { grid-column: 1; grid-row: 2; align-self: end; }
  .hero__season { left: 32px; bottom: 36px; }
}

/* ---------- 章の見出し ---------- */
.chapter { position: relative; padding: 96px 0; }
.sec-head { position: relative; margin-bottom: 44px; }
.sec-head__no { font-size: 84px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); transition: -webkit-text-stroke-color 1.2s; opacity: .9; }
.sec-head__en { font-family: var(--latin); font-style: italic; font-size: 15px; letter-spacing: .2em; color: var(--moss); margin-top: 14px; }
.sec-head__ttl { font-size: 28px; font-weight: 600; letter-spacing: .3em; line-height: 1.5; }
.sec-head--light .sec-head__en { color: var(--accent-soft); }
@media (min-width: 1024px) {
  .chapter { padding: 150px 0; }
  .sec-head__no { font-size: 120px; }
  .sec-head__ttl { font-size: 34px; }
}

/* 出現（霧が晴れるように） */
.js .rv { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1.4s ease, transform 1.4s var(--ease), filter 1.4s ease; }
.js .rv.in { opacity: 1; transform: none; filter: none; }

/* ---------- 旅館について ---------- */
.about { background: var(--paper); color: var(--text-d); }
.about .sec-head__ttl { color: var(--deep); }
.about__grid { display: grid; gap: 40px; }
.about__catch { writing-mode: vertical-rl; font-size: clamp(26px, 7vw, 40px); line-height: 1.7; letter-spacing: .18em; color: var(--deep); margin: 0 0 28px auto; font-weight: 600; }
.about__catch span { display: block; white-space: nowrap; }
.about__catch span:nth-child(2) { padding-top: 2em; }
.about__text p + p { margin-top: 1.2em; }
.about__text { color: var(--muted-d); font-size: 15px; line-height: 2.2; }
.about__fig { margin: 0 -16px; }
.about__fig svg { aspect-ratio: 4 / 5; object-fit: cover; }
.about__fig figcaption, .access__map figcaption { font-size: 12px; color: var(--muted-d); padding: 10px 16px 0; line-height: 1.8; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(38, 51, 43, .18); }
.facts div { padding: 18px 4px; border-bottom: 1px solid rgba(38, 51, 43, .18); }
.facts div:nth-child(odd) { border-right: 1px solid rgba(38, 51, 43, .18); }
.facts div:nth-child(even) { padding-left: 18px; }
.facts dt { font-size: 12px; letter-spacing: .25em; color: var(--muted-d); }
.facts dd b { font-family: var(--latin); font-weight: 400; font-size: 40px; line-height: 1.2; color: var(--deep); }
.facts dd span { font-size: 12px; margin-left: 4px; }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1.05fr .95fr; column-gap: 90px; row-gap: 50px; align-items: start; }
  .about .sec-head { grid-column: 1; }
  .about__copy { grid-column: 1; display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
  .about__catch { margin: 0; }
  .about__fig { grid-column: 2; grid-row: 1 / 4; margin: 0; }
  .facts { grid-column: 1; grid-template-columns: repeat(4, 1fr); }
  .facts div, .facts div:nth-child(even) { padding: 18px 0 18px 18px; border-right: 1px solid rgba(38, 51, 43, .18); }
  .facts div:first-child { padding-left: 0; }
  .facts div:last-child { border-right: 0; }
}

/* ---------- 客室（フルスクリーンスライド） ---------- */
.rooms { background: var(--deep); padding-bottom: 0; }
.rooms__intro { display: grid; gap: 8px; margin-bottom: 48px; }
.rooms__lead { color: rgba(242, 238, 228, .82); max-width: 34em; }
.rooms__note { font-size: 13px; color: rgba(242, 238, 228, .7); padding: 28px 0 96px; }
@media (min-width: 1024px) {
  .rooms__intro { grid-template-columns: 1fr 1fr; align-items: end; }
  .rooms__note { padding-bottom: 150px; }
}
.slider { position: relative; }
.slide { position: relative; }
.slide + .slide { margin-top: 2px; }
.slide__art { position: relative; height: 62svh; min-height: 360px; overflow: hidden; background: #1a2a22; }
.slide__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__body { padding: 28px 16px 40px; background: var(--deep); }
.slide__no { font-family: var(--latin); font-size: 14px; letter-spacing: .2em; color: var(--accent-soft); }
.slide__no span { opacity: .6; }
.slide__ttl { font-size: 26px; font-weight: 600; letter-spacing: .25em; line-height: 1.5; }
.slide__ttl small { display: block; font-family: var(--latin); font-style: italic; font-weight: 400; font-size: 13px; letter-spacing: .06em; opacity: .7; }
.slide__txt { margin-top: 12px; font-size: 14.5px; color: rgba(242, 238, 228, .88); }
.slide__spec { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; font-size: 13px; }
.slide__spec div { display: flex; gap: 8px; }
.slide__spec dt { color: var(--accent-soft); }
.slide__price { margin-top: 10px; font-size: 13px; }
.slide__price b { font-family: var(--latin); font-size: 24px; font-weight: 400; margin: 0 2px; }
.slide__price small { display: block; font-size: 11px; opacity: .65; line-height: 1.4; }
.slider__ui { display: none; }

/* JSが動く時だけ重ねてスライドにする */
.js .slider { height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #0e1a15; touch-action: pan-y; }
.js .slider__track { position: absolute; inset: 0; }
.js .slide { position: absolute; inset: 0; margin: 0; visibility: hidden; z-index: 0; }
.js .slide.is-active, .js .slide.is-leaving { visibility: visible; }
.js .slide.is-active { z-index: 2; }
.js .slide.is-leaving { z-index: 1; }
.js .slide__art { position: absolute; inset: 0; height: auto; min-height: 0; }
.js .slide__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 20, 15, .88) 0%, rgba(10, 20, 15, .5) 38%, rgba(10, 20, 15, 0) 62%); }
.js .slide__body { position: absolute; left: 0; right: 0; bottom: 128px; background: none; padding: 0 16px; max-width: 560px; text-shadow: 0 1px 14px rgba(0, 0, 0, .4); }
.js .slide.is-active .slide__art svg { animation: kenburns 12s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.js .slide .slide__body > * { opacity: 0; transform: translateY(16px); }
.js .slide.is-active .slide__body > * { opacity: 1; transform: none; transition: opacity 1s ease, transform 1.2s var(--ease); }
.js .slide.is-active .slide__body > *:nth-child(1) { transition-delay: .7s; }
.js .slide.is-active .slide__body > *:nth-child(2) { transition-delay: .8s; }
.js .slide.is-active .slide__body > *:nth-child(3) { transition-delay: .95s; }
.js .slide.is-active .slide__body > *:nth-child(4) { transition-delay: 1.05s; }
.js .slide.is-active .slide__body > *:nth-child(5) { transition-delay: 1.15s; }
/* 遷移：霧のワイプ（柔らかい境界で横に拭う） */
.slide.fx-wipe { -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%); mask-image: linear-gradient(90deg, #000 42%, transparent 58%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; animation: wipe 1.5s var(--ease) both; }
.slide.fx-wipe.rev { -webkit-mask-image: linear-gradient(270deg, #000 42%, transparent 58%); mask-image: linear-gradient(270deg, #000 42%, transparent 58%); animation-name: wipeRev; }
@keyframes wipe { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes wipeRev { from { -webkit-mask-position: 0 0; mask-position: 0 0; } to { -webkit-mask-position: 100% 0; mask-position: 100% 0; } }
/* 遷移：ディゾルブ（霧の中から浮かぶ） */
.slide.fx-dissolve { animation: dissolve 1.6s ease both; }
@keyframes dissolve { from { opacity: 0; filter: brightness(1.8) saturate(.4); } 45% { opacity: .7; } to { opacity: 1; filter: none; } }
.js .slider__ui { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; position: absolute; z-index: 5; left: 16px; right: 16px; bottom: 66px; }
@media (max-width: 1023px) {
  .js .slide__txt { font-size: 13.5px; line-height: 1.85; }
  .js .slide__spec { font-size: 12px; margin-top: 10px; }
  .js .slide__ttl { font-size: 24px; }
}
.slider__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(242, 238, 228, .5); background: rgba(14, 28, 22, .35); cursor: pointer; font-size: 16px; transition: background .3s, border-color .3s; }
.slider__btn:hover { background: var(--accent); border-color: var(--accent); }
.slider__dots { display: flex; justify-content: center; gap: 4px; }
.slider__dots button { width: 36px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; padding: 0; }
.slider__dots button::before { content: ""; position: absolute; left: 4px; right: 4px; top: 21px; height: 2px; background: rgba(242, 238, 228, .35); transition: background .4s; }
.slider__dots button[aria-selected="true"]::before { background: var(--paper); }
.slider__bar { position: absolute; left: 0; right: 0; bottom: -14px; height: 1px; background: rgba(242, 238, 228, .15); }
.slider__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(0); }
@media (min-width: 1024px) {
  .js .slide__body { left: max(32px, calc((100% - 1180px) / 2)); bottom: 130px; padding: 0; }
  .slide__ttl { font-size: 36px; }
  .js .slider__ui { left: auto; right: max(32px, calc((100% - 1180px) / 2)); width: 360px; bottom: 84px; }
}

/* ---------- 温泉 ---------- */
.onsen { background: linear-gradient(180deg, var(--deep) 0%, #173024 100%); }
.onsen__hero { display: grid; gap: 28px; margin-bottom: 56px; }
.onsen__fig { margin: 0 -16px; overflow: hidden; }
.onsen__catch { font-size: 24px; line-height: 1.8; letter-spacing: .15em; margin-bottom: 16px; font-weight: 600; }
.onsen__lead p:not(.onsen__catch) { color: rgba(242, 238, 228, .82); }
.baths { display: grid; gap: 1px; background: rgba(242, 238, 228, .14); border: 1px solid rgba(242, 238, 228, .14); }
.bath { background: #163027; padding: 26px 20px; }
.bath__tag { font-size: 12px; letter-spacing: .25em; color: var(--accent-soft); }
.bath__name { font-size: 22px; letter-spacing: .2em; font-weight: 600; margin: 4px 0 8px; }
.bath p:not(.bath__tag):not(.bath__time) { font-size: 14px; color: rgba(242, 238, 228, .82); }
.bath__time { font-family: var(--latin); font-size: 14px; margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(242, 238, 228, .14); }
.spring { margin-top: 56px; padding: 28px 20px; border: 1px solid rgba(242, 238, 228, .2); }
.spring__ttl { font-size: 18px; letter-spacing: .25em; margin-bottom: 12px; }
.spring__list div { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px dotted rgba(242, 238, 228, .2); font-size: 14px; }
.spring__list dt { color: var(--accent-soft); }
.spring__note { font-size: 12px; line-height: 1.9; color: rgba(242, 238, 228, .7); margin-top: 16px; }
@media (min-width: 1024px) {
  .onsen__hero { grid-template-columns: 1.4fr 1fr; gap: 70px; align-items: center; }
  .onsen__fig { margin: 0; }
  .onsen__catch { font-size: 30px; }
  .baths { grid-template-columns: repeat(3, 1fr); }
  .bath { padding: 36px 32px; }
  .spring { display: grid; grid-template-columns: 1fr 2fr; gap: 10px 50px; padding: 40px; }
  .spring__note { grid-column: 2; }
}

/* ---------- お料理（巻物） ---------- */
.cuisine { background: var(--paper-2); color: var(--text-d); overflow: hidden; }
.cuisine .sec-head__ttl { color: var(--deep); }
.cuisine__lead { display: grid; gap: 16px; margin-bottom: 48px; }
.cuisine__catch { font-size: 24px; line-height: 1.8; letter-spacing: .15em; color: var(--deep); font-weight: 600; }
.cuisine__lead p:not(.cuisine__catch) { color: var(--muted-d); max-width: 36em; }
@media (min-width: 1024px) { .cuisine__lead { grid-template-columns: 1fr 1.3fr; align-items: end; } .cuisine__catch { font-size: 30px; } }

.makimono-wrap { position: relative; padding: 30px 0 20px; background:
  linear-gradient(180deg, rgba(79, 99, 67, .0), rgba(79, 99, 67, .12) 50%, rgba(79, 99, 67, 0)); }
.makimono-hint { text-align: center; font-size: 12px; color: var(--muted-d); margin-bottom: 8px; }
.makimono-scroller { overflow-x: auto; direction: rtl; padding: 16px 16px 24px; scrollbar-width: thin; }
.makimono { direction: ltr; --open: 1; position: relative; margin: 0 auto; width: max-content; padding: 0 22px; filter: drop-shadow(0 18px 24px rgba(20, 30, 24, .22)); }
.makimono__paper {
  position: relative; padding: 16px 0; clip-path: inset(0 0 0 calc((1 - var(--open)) * 100%));
  background: linear-gradient(90deg, #354a3a, #45604a 3%, #3c5341 97%, #354a3a);
}
.makimono__paper::before { /* 表装の地紋 */
  content: ""; position: absolute; inset: 0; opacity: .25;
  background-image: radial-gradient(circle at 50% 50%, transparent 5px, rgba(242, 238, 228, .7) 5.5px, transparent 6.5px);
  background-size: 18px 18px;
}
.makimono__inner {
  position: relative; writing-mode: vertical-rl; height: 440px; padding: 34px 30px;
  background: linear-gradient(180deg, #fbf8ef, #f4efe2); color: #22302a;
  display: flex; flex-direction: column; box-shadow: inset 0 0 40px rgba(160, 140, 100, .15);
}
.oshinagaki { font-size: 30px; font-weight: 700; letter-spacing: .35em; margin-left: 30px; line-height: 1.2; }
.oshinagaki__s { display: inline-block; font-size: 15px; letter-spacing: 0; font-weight: 400; color: var(--accent); margin-top: 1.2em; margin-right: 0; transition: color 1s; padding: 6px 2px; border: 1px solid currentColor; }
.menu { display: flex; flex-direction: column; gap: 0; }
.menu li { display: flex; flex-direction: column; gap: 2px; padding: 0 12px; border-left: 1px solid rgba(34, 48, 42, .1); }
.menu li:last-child { border-left: 0; }
.menu__k { font-size: 12px; letter-spacing: .3em; color: var(--moss); padding-top: .4em; }
.menu__n { font-size: 15.5px; letter-spacing: .12em; line-height: 1.7; padding-top: 2.2em; }
.makimono__sign { font-size: 13px; letter-spacing: .4em; align-self: flex-end; margin-right: 26px; color: var(--muted-d); white-space: nowrap; }
.makimono__rod { position: absolute; top: -12px; bottom: -12px; width: 22px; border-radius: 11px; z-index: 2;
  background: linear-gradient(90deg, #3a2618, #8a6441 35%, #c49a6c 50%, #7a5534 70%, #3a2618); }
.makimono__rod::before, .makimono__rod::after { content: ""; position: absolute; left: 3px; right: 3px; height: 12px; background: #2a1c12; border-radius: 3px; }
.makimono__rod::before { top: -6px; } .makimono__rod::after { bottom: -6px; }
.makimono__rod--r { right: 0; }
.makimono__rod--l { left: calc((1 - var(--open)) * (100% - 22px)); }
.meals { display: grid; gap: 1px; margin-top: 56px; background: rgba(38, 51, 43, .14); border: 1px solid rgba(38, 51, 43, .14); }
.meal { background: var(--paper-2); padding: 22px 20px; }
.meal h3 { font-size: 17px; letter-spacing: .2em; color: var(--deep); }
.meal p { font-size: 14px; color: var(--muted-d); }
@media (min-width: 1024px) {
  .meals { grid-template-columns: repeat(3, 1fr); }
  .makimono__inner { height: 540px; padding: 50px 56px; }
  .menu li { padding: 0 16px; }
  .menu__n { font-size: 18px; }
  .makimono-hint { display: none; }
}

/* ---------- 館内のご案内（見取り図） ---------- */
.facilities { background: var(--paper); color: var(--text-d); }
.facilities .sec-head__ttl { color: var(--deep); }
.facilities__lead { color: var(--muted-d); margin: -20px 0 32px; }
.fmap { display: grid; gap: 20px; }
.fmap__map { background: #ece6d7; border: 1px solid rgba(38, 51, 43, .15); padding: 6px; }
.fmap__svg { width: 100%; height: auto; font-family: var(--serif); }
.fmap__svg text { font-size: 17px; fill: #2c3a31; letter-spacing: .1em; pointer-events: none; }
.fmap__svg .fmap__small { font-size: 12.5px; fill: #5d6a60; }
.area { cursor: pointer; outline: none; }
@media (max-width: 767px) {
  .fmap__svg text { font-size: 25px; letter-spacing: 0; }
  .fmap__svg .fmap__small { font-size: 18px; }
}
.fmap__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.fmap__chips button { border: 1px solid rgba(38, 51, 43, .25); background: transparent; border-radius: 999px; padding: 6px 12px; font-size: 12.5px; letter-spacing: .06em; cursor: pointer; color: var(--text-d); transition: background .3s, color .3s, border-color .3s; }
.fmap__chips button[aria-pressed="true"] { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.area > :first-child { stroke: transparent; stroke-width: 3; transition: stroke .3s, filter .3s, opacity .3s; }
.area:hover > :first-child, .area:focus-visible > :first-child { stroke: var(--wood-d); }
.area.is-active > :first-child { stroke: var(--accent); stroke-width: 4; filter: drop-shadow(0 4px 8px rgba(40, 50, 40, .25)); }
.fmap__list li { padding: 20px 0; border-bottom: 1px solid rgba(38, 51, 43, .15); }
.fmap__list h3 { font-size: 19px; letter-spacing: .15em; color: var(--deep); }
.fmap__hours { font-size: 12.5px; color: var(--accent); letter-spacing: .08em; filter: brightness(.8); }
.fmap__list p:not(.fmap__hours) { font-size: 14px; color: var(--muted-d); }
.js .fmap__list li { display: none; border: 0; padding: 26px 22px; background: var(--white); box-shadow: 0 10px 30px rgba(30, 45, 35, .08); border-top: 3px solid var(--accent); }
.js .fmap__list li.is-active { display: block; animation: infoIn .6s var(--ease); }
@keyframes infoIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@media (min-width: 1024px) {
  .fmap { grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
  .js .fmap__list li { padding: 36px 32px; }
}

/* ---------- アクセス ---------- */
.access { background: var(--deep-2); }
.access__grid { display: grid; gap: 32px; }
.access__map { margin: 0 -16px; }
.access__map figcaption { color: rgba(242, 238, 228, .6); }
.map-t { font-family: var(--serif); fill: #f2eee4; font-size: 17px; letter-spacing: .1em; }
.map-t--dark { fill: #12241c; font-size: 14px; }
.map-t--big { font-size: 26px; font-weight: 600; letter-spacing: .25em; }
.map-t--sm { font-size: 14px; fill: #cfc7b3; }
@media (max-width: 767px) {
  .map-t { font-size: 28px; letter-spacing: .04em; }
  .map-t--dark { font-size: 20px; }
  .map-t--big { font-size: 38px; }
  .map-t--sm { font-size: 24px; }
}
.info div { display: grid; grid-template-columns: 5em 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(242, 238, 228, .14); font-size: 14px; }
.info dt { color: var(--accent-soft); letter-spacing: .2em; }
@media (min-width: 1024px) {
  .access__grid { grid-template-columns: 1.2fr 1fr; column-gap: 70px; }
  .access .sec-head { grid-column: 1 / -1; }
  .access__map { margin: 0; }
}

/* ---------- ご予約 ---------- */
.reserve { background: var(--paper); color: var(--text-d); }
.reserve .sec-head__ttl { color: var(--deep); }
.reserve__lead { margin-top: 16px; color: var(--muted-d); font-size: 14px; }
.reserve__grid { display: grid; gap: 10px; }
.form { display: grid; gap: 18px; background: var(--white); padding: 26px 18px; border: 1px solid rgba(38, 51, 43, .12); }
.form__row { display: grid; gap: 18px; }
.form__row--2 { grid-template-columns: 1fr 1fr; gap: 12px; }
.form__row--date { grid-template-columns: 1.6fr 1fr; }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field__l { font-size: 12.5px; letter-spacing: .15em; color: var(--muted-d); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid rgba(38, 51, 43, .25); border-radius: 2px; background: #fff; color: var(--text-d); font-size: 16px; letter-spacing: .04em;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(79, 99, 67, .18); }
.field input.is-error { border-color: #b3462f; }
.plans { gap: 8px; }
.plan { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid rgba(38, 51, 43, .2); cursor: pointer; transition: border-color .3s, background .3s; }
.plan:has(input:checked) { border-color: var(--moss); background: rgba(79, 99, 67, .06); }
.field .plan input { width: auto; flex: none; margin: 7px 0 0; padding: 0; accent-color: var(--moss); }
.plan span { flex: 1; text-align: left; }
.plan b { display: block; font-weight: 600; }
.plan small { display: block; font-size: 12px; color: var(--muted-d); line-height: 1.6; }
.form__foot { display: grid; gap: 14px; padding-top: 8px; border-top: 1px solid rgba(38, 51, 43, .12); }
.estimate { font-size: 13px; color: var(--muted-d); }
.estimate b { font-family: var(--latin); font-weight: 400; font-size: 32px; color: var(--deep); margin: 0 4px 0 12px; }
.estimate small { display: block; font-size: 11px; line-height: 1.4; }
.btn { appearance: none; border: 0; cursor: pointer; background: var(--deep); color: var(--paper); padding: 16px 30px; font-size: 15px; letter-spacing: .3em; position: relative; overflow: hidden; transition: background .4s; }
.btn:hover { background: var(--moss); }
.form__msg { padding: 16px 18px; background: rgba(79, 99, 67, .1); border-left: 3px solid var(--moss); font-size: 14px; line-height: 1.9; }
.form__msg.is-error { background: rgba(179, 70, 47, .08); border-color: #b3462f; }
@media (min-width: 1024px) {
  .reserve__grid { grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
  .form { padding: 44px 44px; }
  .form__foot { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- フッター・サンプル表示 ---------- */
.ft { background: var(--ink); padding: 56px 0 110px; text-align: center; }
.ft__logo { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 20px; letter-spacing: .3em; }
.ft__logo svg { width: 36px; height: 36px; color: var(--accent-soft); }
.ft__addr { font-size: 12px; opacity: .7; margin-top: 12px; }
.ft__copy { font-family: var(--latin); font-size: 12px; opacity: .5; margin-top: 4px; }
.sample-badge {
  position: fixed; right: 10px; bottom: 10px; z-index: 60; max-width: calc(100% - 20px);
  background: rgba(13, 24, 19, .88); color: var(--paper); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(242, 238, 228, .2); padding: 7px 12px; font-size: 11px; line-height: 1.6; letter-spacing: .04em; text-align: right;
}
.sample-badge a { color: var(--accent-soft); }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .steam path { animation: none; opacity: .6; }
  .petals, .mist { display: none; }
  .js .rv { opacity: 1; transform: none; filter: none; }
}
