/* 澄の家 — 共通スタイル
   角丸なし・1px の罫線で組む。アクセント（弁柄色）は予約ボタンと、暦の日曜・祝日の数字だけに使う。 */

:root {
  color-scheme: light;
  --paper: #F3F0E9;
  --paper-2: #E9E4D9;
  --paper-3: #DCD5C6;
  --ink: #1D1C19;
  --ink-2: #4F4A42;
  --ink-3: #686256;
  --line: #CFC7B8;
  --line-ui: #8E8676;
  --night: #1E2421;
  --night-2: #2A312D;
  --night-line: #46504A;
  --on-night: #EEEAE1;
  --on-night-2: #B8B2A6;
  --accent: #8C3A1F;
  --accent-2: #702E18;
  --ok: #2F5B3E;
  --few: #7D520C;
  --water: #CBD3CE;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: 24px;
  --hd: 72px;
  --tab: 48px;
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --hd: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.9 var(--sans);
  letter-spacing: 0.02em;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; word-break: auto-phrase; text-wrap: balance; }
.lead { word-break: auto-phrase; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, select { font: inherit; color: inherit; letter-spacing: inherit; }
table { border-collapse: collapse; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-night :focus-visible, .site-footer :focus-visible, .hero :focus-visible { outline-color: var(--on-night); }
[hidden] { display: none !important; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ic { width: 20px; height: 20px; flex: none; }

.skip { position: absolute; left: 8px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 8px 16px; text-decoration: none; clip-path: inset(50%); }
.skip:focus { clip-path: none; }

/* ---------- 文字 ---------- */
.t-label { font: 500 12px/1.6 var(--sans); letter-spacing: 0.14em; color: var(--ink-2); }
.t-note { font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.mincho { font-family: var(--mincho); }
.h-display { font: 600 clamp(48px, 7vw, 96px)/1.2 var(--mincho); letter-spacing: 0.08em; }
.h1 { font: 600 clamp(32px, 4.2vw, 52px)/1.4 var(--mincho); letter-spacing: 0.06em; }
.h2 { font: 600 clamp(26px, 3vw, 38px)/1.5 var(--mincho); letter-spacing: 0.05em; }
.h3 { font: 600 clamp(21px, 2vw, 26px)/1.55 var(--mincho); letter-spacing: 0.04em; }
.h4 { font: 600 18px/1.6 var(--mincho); letter-spacing: 0.04em; }
.lead { font: 500 clamp(17px, 1.5vw, 20px)/2 var(--mincho); letter-spacing: 0.04em; }
.big-num { font: 600 clamp(28px, 3vw, 40px)/1.2 var(--mincho); letter-spacing: 0.02em; font-feature-settings: "tnum"; }
.big-num small { font-size: 0.5em; margin-left: 2px; letter-spacing: 0.04em; }
.measure { max-width: 36em; }

/* ---------- 枠 ---------- */
.wrap { width: 100%; max-width: calc(1200px + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 1024px) and (max-width: 1360px) {
  body:not([data-reserve]) .wrap { padding-right: calc(var(--tab) + 24px); }
}
.sec { padding: 128px 0; }
.sec-tight { padding: 80px 0; }
.sec + .sec.alt, .alt { background: var(--paper-2); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 56px; max-width: 760px; }
.sec-head .t-label, .sec-label { display: flex; align-items: center; gap: 12px; }
.sec-head .t-label::before, .sec-label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
@media (max-width: 767px) {
  .sec { padding: 80px 0; }
  .sec-tight { padding: 56px 0; }
  .sec-head { margin-bottom: 40px; }
}
.rule-top { border-top: 1px solid var(--ink); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  font: 500 15px/1.2 var(--sans); letter-spacing: 0.1em; text-decoration: none;
  border: 1px solid transparent; background: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-accent:active { background: #5E2614; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-line:active { background: #000; }
.on-night .btn-line { border-color: var(--on-night); color: var(--on-night); }
.on-night .btn-line:hover { background: var(--on-night); color: var(--night); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--paper-3); color: var(--ink-3); border-color: var(--paper-3); cursor: not-allowed; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn-wide { width: 100%; }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 16px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 0 6px;
  font: 500 15px/1.4 var(--sans); letter-spacing: 0.08em; text-decoration: none;
  border-bottom: 1px solid currentColor; transition: gap .2s;
}
.link-arrow:hover { gap: 14px; }
.link-arrow .ic { width: 18px; height: 18px; }
.links-row { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 32px; align-items: center; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hd);
  color: var(--on-night);
  transition: background-color .3s, color .3s, transform .35s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: ""; position: absolute; inset: 0 0 -40px 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,12,11,.55), rgba(10,12,11,0));
  transition: opacity .3s;
}
.site-header.is-solid { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
.site-header.is-solid::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { background: var(--paper); color: var(--ink); transform: none; }
body.menu-open .site-header::before { opacity: 0; }
.hd-inner { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; padding: 0 0 0 var(--gutter); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.2; flex: none; }
.brand-name { font: 600 24px/1.2 var(--mincho); letter-spacing: 0.18em; }
.brand-sub { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.14em; margin-top: 4px; opacity: .9; }
.brand-sub i { width: 12px; height: 1px; background: currentColor; }
.gnav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; letter-spacing: 0.06em; }
.gnav a { text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; white-space: nowrap; }
.gnav a:hover, .gnav a[aria-current="page"] { border-bottom-color: currentColor; }
.hd-book { display: flex; align-items: center; height: 100%; gap: 0; margin-left: 8px; }
.hd-book .price-line { padding: 0 20px; }
.hd-book .btn { height: 100%; min-height: 0; padding: 0 28px; }
.price-line { display: grid; grid-template-columns: auto; text-decoration: none; line-height: 1.25; text-align: right; }
.pl-l, .pl-n { font-size: 12px; letter-spacing: 0.08em; }
.pl-v { font: 600 22px/1.15 var(--mincho); letter-spacing: 0.02em; font-feature-settings: "tnum"; }
.pl-v small { font-size: 13px; margin-left: 1px; }
.menu-btn {
  display: none; align-items: center; gap: 8px; height: 100%; padding: 0 var(--gutter) 0 16px;
  background: none; border: 0; cursor: pointer; font-size: 13px; letter-spacing: 0.1em;
}
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
@media (max-width: 1279px) {
  .gnav { display: none; }
  .hd-book { margin-left: auto; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 767px) {
  .hd-book { display: none; }
  .menu-btn { margin-left: auto; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 12px; margin-top: 2px; }
}

.site-menu {
  position: fixed; inset: var(--hd) 0 0 0; z-index: 49; overflow-y: auto;
  background: var(--paper); padding: 32px var(--gutter) 48px;
  display: grid; align-content: start; gap: 40px;
}
.site-menu nav { display: grid; border-top: 1px solid var(--line); }
.site-menu nav a { font: 600 22px/1.5 var(--mincho); letter-spacing: 0.08em; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.site-menu nav a[aria-current="page"] { color: var(--ink-2); }
.site-menu nav a[aria-current="page"]::after { content: "　いま見ているページ"; font: 400 12px var(--sans); letter-spacing: .08em; }
.menu-foot { display: grid; gap: 16px; max-width: 480px; }
@media (min-width: 768px) { .site-menu { padding: 48px 64px; } .site-menu nav { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
body.menu-open { overflow: hidden; }

/* 右端の縦タブ（PC） */
.side-tab {
  position: fixed; right: 0; top: 50%; z-index: 40; transform: translateY(-50%);
  width: var(--tab); padding: 24px 0 20px;
  display: none; flex-direction: row; align-items: center; gap: 14px;
  background: var(--accent); color: #fff; text-decoration: none;
  writing-mode: vertical-rl; transition: background-color .2s;
}
.side-tab:hover { background: var(--accent-2); }
.st-main { font: 600 17px/1 var(--mincho); letter-spacing: 0.3em; }
.st-sub { font-size: 12px; letter-spacing: 0.1em; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.5); }
@media (min-width: 1024px) { .side-tab { display: flex; } }

/* スマホ下の固定バー */
.sp-bar {
  position: fixed; inset: auto 0 0 0; z-index: 45; height: 64px;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 12px 0 var(--gutter); background: var(--paper); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.sp-bar .price-line { text-align: left; grid-template-columns: auto auto; column-gap: 8px; align-items: baseline; }
.sp-bar .pl-l { grid-column: 1; }
.sp-bar .pl-v { grid-column: 1 / 3; font-size: 20px; }
.sp-bar .pl-n { grid-column: 2; grid-row: 1; }
.sp-bar .btn { min-height: 44px; padding: 0 20px; }
@media (max-width: 767px) {
  .sp-bar { display: flex; }
  body:not([data-reserve]) { padding-bottom: 64px; }
}

/* ---------- フッター ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding: 96px 0 calc(40px); }
.ft-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--night-line); }
.ft-inn .ft-name { font: 600 32px/1.3 var(--mincho); color: var(--on-night); letter-spacing: 0.16em; margin-bottom: 16px; }
.ft-name small { display: block; font: 400 12px var(--sans); letter-spacing: .2em; margin-top: 6px; color: var(--on-night-2); }
.ft-inn p { font-size: 14px; color: var(--on-night-2); }
.ft-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; align-content: start; font-size: 14px; }
.ft-nav a { text-decoration: none; padding: 6px 0; }
.ft-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ft-book .t-label { color: var(--on-night-2); margin-bottom: 12px; }
.ft-price .price-line, .ft-price { text-align: left; }
.ft-price { display: grid; margin-bottom: 20px; line-height: 1.3; }
.ft-price .pl-v { font-size: 30px; }
.ft-note { padding-top: 32px; font-size: 12px; line-height: 1.8; color: var(--on-night-2); }
.ft-note p { margin: 0; }
.site-footer .t-label { color: var(--on-night-2); }
@media (max-width: 1023px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-book { grid-column: 1 / -1; } }
@media (max-width: 767px) { .site-footer { padding-top: 64px; } .ft-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- 写真 ---------- */
.ph { position: relative; overflow: hidden; background: var(--paper-3); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-32 { aspect-ratio: 3 / 2; }
.ph-23 { aspect-ratio: 2 / 3; }
.ph-11 { aspect-ratio: 1 / 1; }
.bleed { height: min(78vh, 760px); min-height: 360px; }
.bleed img { height: 100%; }
figcaption, .cap { font-size: 12px; line-height: 1.7; color: var(--ink-2); margin-top: 10px; letter-spacing: .06em; }

/* ---------- トップの大写真 ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1080px; background: var(--night); color: var(--on-night); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,15,13,.78) 0%, rgba(12,15,13,.5) 30%, rgba(12,15,13,0) 58%),
    linear-gradient(0deg, rgba(12,15,13,.55) 0%, rgba(12,15,13,0) 35%);
}
.hero-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(72px, 12vh, 140px); }
.hero-body .wrap { display: grid; gap: 24px; justify-items: start; }
.hero-title { display: flex; align-items: flex-end; gap: 20px; }
.hero-title .h-display { line-height: 1; }
.hero-title .kana { font-size: 13px; letter-spacing: .3em; padding-bottom: 8px; }
.hero .lead { max-width: 24em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; letter-spacing: .06em; color: var(--on-night); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .ic { width: 18px; height: 18px; opacity: .85; }
@media (max-width: 767px) {
  .hero { min-height: 560px; max-height: 860px; }
  .hero > img { object-position: 70% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(12,15,13,.85) 0%, rgba(12,15,13,.55) 45%, rgba(12,15,13,.1) 75%); }
  .hero-body { bottom: 96px; }
  .hero-facts { font-size: 13px; }
}

/* 下層ページの写真見出し */
.page-hero { position: relative; height: clamp(420px, 62vh, 640px); background: var(--night); color: var(--on-night); overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12,15,13,.78) 0%, rgba(12,15,13,.35) 40%, rgba(12,15,13,0) 70%), linear-gradient(180deg, rgba(12,15,13,.35), rgba(12,15,13,0) 30%); }
.page-hero .wrap { position: absolute; z-index: 1; left: 0; right: 0; bottom: 56px; }
.page-hero .t-label { color: var(--on-night); margin-bottom: 12px; display: block; }
.page-hero .lead { margin-top: 16px; max-width: 30em; }
@media (max-width: 767px) { .page-hero { height: 440px; } .page-hero .wrap { bottom: 32px; } }

/* 写真なしの見出し */
.page-head { padding: calc(var(--hd) + 96px) 0 64px; border-bottom: 1px solid var(--line); }
.page-head .t-label { display: block; margin-bottom: 12px; }
.page-head .lead { margin-top: 20px; max-width: 34em; color: var(--ink-2); }
@media (max-width: 767px) { .page-head { padding: calc(var(--hd) + 48px) 0 40px; } }

/* ---------- 滞在の要点 ---------- */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; border-top: 1px solid var(--ink); }
.gl-item { padding: 24px 0 28px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.gl-item dd { display: grid; gap: 4px; }
.gl-v { font: 600 clamp(22px, 2.2vw, 30px)/1.3 var(--mincho); letter-spacing: .02em; font-feature-settings: "tnum"; }
.gl-n { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
@media (max-width: 1023px) { .glance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px) { .glance { column-gap: 20px; } .gl-v { font-size: 21px; } }

/* ---------- 定義の並び（罫線） ---------- */
.spec { display: grid; border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 14px; color: var(--ink-2); letter-spacing: .06em; }
.spec dd { font-size: 15px; line-height: 1.8; }
@media (max-width: 479px) { .spec > div { grid-template-columns: 6.5em 1fr; gap: 12px; } }

/* 表 */
.tbl { width: 100%; border-top: 1px solid var(--ink); font-size: 15px; }
.tbl th, .tbl td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.tbl thead th { font: 500 12px/1.6 var(--sans); letter-spacing: .1em; color: var(--ink-2); padding-top: 12px; padding-bottom: 12px; }
.tbl tbody th { font-weight: 500; }
.tbl .r { text-align: right; font-feature-settings: "tnum"; white-space: nowrap; }
.tbl .money { font: 600 18px/1.4 var(--mincho); font-feature-settings: "tnum"; }
.bath-tbl .t-note { display: block; font-weight: 400; }

/* ---------- 客室（トップと客室ページ） ---------- */
.room-feat { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.room-feat + .room-feat { margin-top: 120px; }
.room-feat.rev .ph { order: 2; }
.room-kanji { display: flex; align-items: baseline; gap: 20px; margin-bottom: 20px; }
.room-kanji b { font: 600 clamp(72px, 9vw, 120px)/1 var(--mincho); }
.room-kanji span { font: 600 18px/1.5 var(--mincho); letter-spacing: .1em; }
.room-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 16px 0 24px; font-size: 14px; color: var(--ink-2); }
.room-meta span { display: inline-flex; gap: 6px; align-items: center; }
.room-meta .ic { width: 16px; height: 16px; }
.from { display: grid; gap: 2px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
@media (max-width: 899px) {
  .room-feat { grid-template-columns: 1fr; gap: 28px; }
  .room-feat.rev .ph { order: 0; }
  .room-feat + .room-feat { margin-top: 80px; }
}

/* ---------- 温泉の数字の並び ---------- */
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.nums > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.nums > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.nums .big-num { display: block; margin: 8px 0 6px; }
@media (max-width: 899px) {
  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 479px) { .nums > div { padding-right: 12px; } .nums > div + div { padding-left: 12px; } .nums > div:nth-child(3) { padding-left: 0; } }

/* 2列の組み */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split-57 { grid-template-columns: 5fr 7fr; }
.split-75 { grid-template-columns: 7fr 5fr; }
@media (max-width: 899px) { .split, .split-57, .split-75 { grid-template-columns: 1fr; gap: 40px; } }

/* 1日の流れの短い版（トップ） */
.day-strip { display: grid; grid-template-columns: repeat(8, 1fr); border-top: 1px solid var(--ink); counter-reset: ds; }
.day-strip li { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--line); }
.day-strip li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.day-strip .tm { font: 600 20px/1.3 var(--mincho); font-feature-settings: "tnum"; display: block; }
.day-strip .what { font-size: 14px; line-height: 1.6; margin-top: 6px; display: block; }
@media (max-width: 1023px) { .day-strip { grid-template-columns: repeat(4, 1fr); } .day-strip li:nth-child(5) { padding-left: 0; border-left: 0; } }
@media (max-width: 599px) {
  .day-strip { grid-template-columns: 1fr 1fr; }
  .day-strip li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .day-strip li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

/* ---------- カレンダー ---------- */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.cal-nav { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-ui); background: var(--paper); cursor: pointer; flex: none; }
.cal-nav:hover { border-color: var(--ink); background: var(--paper-2); }
.cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.cal-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 0; font-size: 13px; color: var(--ink-2); }
.cal-legend span { display: inline-flex; gap: 6px; align-items: center; }
.sym { font-weight: 700; font-size: 15px; }
.sym.ok { color: var(--ok); } .sym.few { color: var(--few); } .sym.full { color: var(--ink-3); }
.cal-months { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.cal-title { font: 600 18px/1.4 var(--mincho); letter-spacing: .08em; margin-bottom: 8px; text-align: center; }
.cal-grid { width: 100%; table-layout: fixed; }
.cal-grid th { font: 500 12px/1 var(--sans); color: var(--ink-2); padding: 8px 0; }
.cal-grid th.hol { color: var(--accent); }
.cal-grid td { padding: 2px; vertical-align: top; }
.cal-day {
  display: grid; grid-template-rows: auto auto auto; justify-items: center; align-content: start; gap: 1px;
  width: 100%; height: 68px; padding: 6px 2px 4px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-feature-settings: "tnum"; line-height: 1.25;
}
button.cal-day { cursor: pointer; transition: border-color .15s, background-color .15s; }
button.cal-day:hover { border-color: var(--ink); background: #fff; }
.cal-day .d { font-size: 14px; font-weight: 500; }
.cal-day.hol .d { color: var(--accent); }
.cal-day .s { font-size: 13px; font-weight: 700; }
.cal-day.is-ok .s { color: var(--ok); }
.cal-day.is-few .s { color: var(--few); }
.cal-day .p { font-size: 12px; letter-spacing: 0; }
.cal-day.is-out, .cal-day.is-na { border-color: transparent; background: transparent; color: var(--ink-3); }
.cal-day.is-out .d { color: var(--ink-3); }
.cal-day.is-full { background: var(--paper-2); border-color: transparent; color: var(--ink-2); }
.cal-day.is-full .p { font-size: 12px; }
.cal-day.is-stay { background: var(--paper-3); border-color: var(--paper-3); }
.cal-day.is-co { border: 1px dashed var(--ink); }
.cal-day.is-sel, .cal-day.is-sel:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cal-day.is-sel .s, .cal-day.is-sel.hol .d { color: var(--paper); }
@media (max-width: 899px) { .cal-months { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 479px) {
  .cal-day { height: 60px; padding: 4px 0 3px; }
  .cal-day .d { font-size: 13px; }
  .cal-day .s { font-size: 12px; }
  .cal-day .p { font-size: 12px; transform: scale(.94); }
  .cal-grid td { padding: 1px; }
  .cal-legend { font-size: 12px; gap: 2px 12px; }
}
.cal-compact .cal-month + .cal-month { display: none; }
@media (min-width: 900px) { .cal-compact .cal-month + .cal-month { display: block; } }

/* ---------- 手順の図（温泉） ---------- */
.osteps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.osteps li { padding: 28px 24px 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr; gap: 10px; }
.osteps li:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.osteps .no { font: 600 14px/1 var(--mincho); letter-spacing: .1em; color: var(--ink-2); }
.osteps svg { width: 88px; height: 88px; color: var(--ink); }
.osteps h3 { font: 600 19px/1.5 var(--mincho); letter-spacing: .04em; }
.osteps p { font-size: 15px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 1023px) {
  .osteps { grid-template-columns: 1fr 1fr; }
  .osteps li:not(:nth-child(4n+1)) { padding-left: 0; border-left: 0; }
  .osteps li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 599px) {
  .osteps { grid-template-columns: 1fr; }
  .osteps li, .osteps li:nth-child(even) { grid-template-columns: 72px 1fr; grid-template-rows: auto; column-gap: 16px; padding: 20px 0; border-left: 0; }
  .osteps svg { width: 64px; height: 64px; grid-row: 1 / span 3; grid-column: 1; }
  .osteps .no, .osteps h3, .osteps p { grid-column: 2; }
}
.diagram { width: 100%; height: auto; color: var(--ink); }
.diagram text { font-family: var(--sans); fill: var(--ink); }
.diagram .lbl { font-size: 15px; letter-spacing: .06em; }
.diagram .lbl-s { font-size: 13px; fill: var(--ink-2); }
.diagram .no-c { fill: var(--ink); }
.diagram .no-t { fill: var(--paper); font-size: 14px; font-weight: 700; }
.diagram .water { fill: var(--water); }
.diagram .wall { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.diagram .thin { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.diagram .route { fill: none; stroke: var(--ink-2); stroke-width: 3; stroke-dasharray: 8 6; }
.diagram-wrap { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 32px 0; }
.diagram-scroll { overflow: hidden; }

/* タトゥーの表 */
.tattoo { display: grid; border-top: 1px solid var(--ink); }
.tattoo > div { display: grid; grid-template-columns: 1.2fr 1fr 2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tattoo .where { font: 600 19px/1.5 var(--mincho); }
.tattoo .ans { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.tattoo .ans b { font-size: 18px; color: var(--ok); }
.tattoo .ans.cond b { color: var(--few); }
.tattoo .cond-t { font-size: 15px; color: var(--ink-2); }
@media (max-width: 767px) { .tattoo > div { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 1日の流れ（はじめての旅館） ---------- */
.tl { border-top: 1px solid var(--ink); }
.tl-item { display: grid; grid-template-columns: 200px 1fr; gap: 56px; padding: 72px 0; border-bottom: 1px solid var(--line); }
.tl-time { position: sticky; top: calc(var(--hd) + 32px); align-self: start; }
.tl-time .tm { font: 600 44px/1 var(--mincho); font-feature-settings: "tnum"; display: block; }
.tl-time .st { display: block; margin-top: 12px; font: 600 20px/1.4 var(--mincho); letter-spacing: .1em; }
.tl-body { display: grid; gap: 28px; max-width: 760px; }
.tl-body .split { gap: 32px; }
.tl-points { display: grid; border-top: 1px solid var(--line); }
.tl-points li { position: relative; padding: 12px 0 12px 24px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.8; }
.tl-points li::before { content: ""; position: absolute; left: 4px; top: 24px; width: 8px; height: 1px; background: var(--ink); }
.tl-nav { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tl-nav a { flex: 1 1 0; min-width: 110px; padding: 14px 12px; text-decoration: none; border-right: 1px solid var(--line); display: grid; gap: 2px; }
.tl-nav a:last-child { border-right: 0; }
.tl-nav a:hover { background: var(--paper-2); }
.tl-nav .tm { font: 600 16px/1.2 var(--mincho); font-feature-settings: "tnum"; }
.tl-nav .st { font-size: 13px; color: var(--ink-2); }
@media (max-width: 899px) {
  .tl-item { grid-template-columns: 1fr; gap: 24px; padding: 48px 0; }
  .tl-time { position: static; display: flex; align-items: baseline; gap: 16px; }
  .tl-time .tm { font-size: 32px; }
  .tl-time .st { margin-top: 0; }
  .tl-nav a { min-width: 25%; flex: 1 1 25%; border-bottom: 1px solid var(--line); }
}
@media (max-width: 479px) { .tl-nav a { min-width: 50%; flex-basis: 50%; } }

/* よくある質問 */
.faq-group + .faq-group { margin-top: 72px; }
.faq-group > h2 { margin-bottom: 16px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 16px; align-items: center;
  padding: 20px 0; font: 600 18px/1.6 var(--mincho); letter-spacing: .03em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq summary:hover { color: var(--ink-2); }
.faq .ans { padding: 0 40px 24px 0; font-size: 15px; line-height: 1.95; max-width: 46em; }
.faq .ans a { text-underline-offset: 4px; }

/* お品書き（縦書き） */
.oshinagaki { display: flex; flex-direction: row-reverse; justify-content: flex-start; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 32px 0; overflow: hidden; }
.oshinagaki li { writing-mode: vertical-rl; padding: 0 16px; border-left: 1px solid var(--line); height: 440px; }
.oshinagaki li:first-child { border-left: 0; }
.oshinagaki .k { font: 600 14px/1 var(--mincho); letter-spacing: .3em; color: var(--ink-2); margin-inline-end: 1em; }
.oshinagaki .v { font: 500 17px/1.7 var(--mincho); letter-spacing: .12em; }
@media (max-width: 1199px) {
  .oshinagaki { flex-direction: column; padding: 0; border-bottom: 0; }
  .oshinagaki li { writing-mode: horizontal-tb; height: auto; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; }
  .oshinagaki .k { margin: 0; letter-spacing: .1em; line-height: 1.8; margin-inline-end: 0; }
  .oshinagaki .v { font-size: 16px; letter-spacing: .04em; }
}

/* 町の地図 */
.map-list { display: grid; border-top: 1px solid var(--ink); }
.map-list li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.map-list .no { width: 28px; height: 28px; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 700 14px/1 var(--sans); }
.map-list .nm { font: 600 18px/1.5 var(--mincho); }
.map-list .walk { font: 600 18px/1 var(--mincho); white-space: nowrap; font-feature-settings: "tnum"; }
.map-list .walk small { font: 400 12px var(--sans); margin-left: 4px; color: var(--ink-2); }
.map-list .ds { grid-column: 2 / -1; font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.map-list .ds span { display: block; font-size: 14px; }

/* 経路 */
.route-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: center; }
.route-row .from { border: 0; padding: 0; margin: 0; font: 600 20px/1.4 var(--mincho); }
.route-legs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 14px; }
.leg-stop { font-weight: 500; white-space: nowrap; }
.leg-move { display: inline-flex; flex-direction: column; align-items: center; padding: 0 12px; color: var(--ink-2); font-size: 12px; line-height: 1.3; min-width: 96px; }
.leg-move::before { content: ""; width: 100%; height: 1px; background: var(--ink-2); margin-bottom: 4px; order: 1; }
.leg-move .t1 { order: 0; }
.leg-move .t2 { order: 2; }
.route-total { text-align: right; }
@media (max-width: 899px) {
  .route-row { grid-template-columns: 1fr; gap: 12px; }
  .route-total { text-align: left; }
  .route-legs { flex-direction: column; align-items: flex-start; gap: 0; }
  .leg-move { flex-direction: row; gap: 8px; padding: 6px 0 6px 12px; margin-left: 4px; border-left: 1px solid var(--ink-2); min-width: 0; }
  .leg-move::before { display: none; }
}

/* 浮き上がり（動きを減らす設定では出さない） */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .8s ease, transform .8s ease; }
.rv.in { opacity: 1; transform: none; }

/* 帯の予約導線 */
.band-cta { background: var(--night-2); color: var(--on-night); }
.band-cta .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.band-cta .t-label { color: var(--on-night-2); }
@media (max-width: 767px) { .band-cta .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; } }

/* 注記 */
.notes { display: grid; gap: 6px; margin-top: 20px; font-size: 14px; line-height: 1.8; color: var(--ink-2); }
.notes li { padding-left: 1.2em; text-indent: -1.2em; }
.notes li::before { content: "※"; display: inline-block; width: 1.2em; text-indent: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

/* =========================================================
   予約（reserve.html）
   ========================================================= */
.rs-head { padding: calc(var(--hd) + 56px) 0 0; }
.rs-head .t-label { display: block; margin-bottom: 8px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-reset: none; }
.steps li { position: relative; }
.steps li > span, .steps li > button {
  display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: baseline;
  width: 100%; height: 100%; padding: 16px 12px 18px 0; text-align: left; background: none; border: 0;
  border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--ink-3);
}
.steps li > button { cursor: pointer; color: var(--ink-2); }
.steps li > button:hover .l { text-decoration: underline; text-underline-offset: 4px; }
.steps .n { font: 600 20px/1 var(--mincho); font-feature-settings: "tnum"; }
.steps .l { font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.steps .ext { grid-column: 2; font-size: 12px; color: var(--ink-3); }
.steps li.is-cur > span { color: var(--ink); border-bottom-color: var(--ink); }
.steps li.is-done .n::after { content: ""; }
.steps li.is-ext { padding-left: 16px; border-left: 1px dashed var(--ink-2); }
@media (max-width: 767px) {
  .steps li > span, .steps li > button { grid-template-columns: 1fr; padding: 12px 4px 14px 0; row-gap: 4px; }
  .steps .l { font-size: 12px; letter-spacing: 0; line-height: 1.4; }
  .steps .ext { display: none; }
  .steps li.is-ext { padding-left: 8px; }
  .steps .n { font-size: 18px; }
}

.rs-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding-top: 48px; padding-bottom: 128px; align-items: start; }
.rs-main { min-width: 0; }
.rs-step { display: grid; gap: 32px; }
.rs-h:focus { outline: none; }
.rs-h:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.rs-sum { position: sticky; top: calc(var(--hd) + 24px); }
@media (max-width: 1023px) { .rs-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; } }

/* フォーム */
.people { border: 0; margin: 0; padding: 0; min-width: 0; }
.people legend { padding: 0; margin-bottom: 12px; }
.people-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 14px; font-weight: 500; line-height: 1.5; min-height: 2.6em; display: flex; align-items: flex-end; }
.field select {
  appearance: none; -webkit-appearance: none; width: 100%; height: 48px; padding: 0 36px 0 12px;
  border: 1px solid var(--line-ui); background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231D1C19' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px;
  font-size: 16px; cursor: pointer;
}
.field select:hover { border-color: var(--ink); }
.field-note { font-size: 12px; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 1199px) { .people-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .people-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 12px; } .field label { min-height: 0; } }

.kids { margin-top: 20px; }
.kids summary { cursor: pointer; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; width: max-content; max-width: 100%; }
.kids .spec { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--ink); font-size: 14px; }
.chip b { font-family: var(--mincho); font-size: 16px; margin: 0 2px; }
.chip-x { min-height: 32px; padding: 0 10px; border: 0; background: var(--paper-2); cursor: pointer; font-size: 13px; }
.chip-x:hover { background: var(--paper-3); }
.err { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--accent); background: #F6E9E2; color: var(--ink); font-size: 14px; line-height: 1.7; }
.err .ic { color: var(--accent); margin-top: 2px; }
.txt-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.txt-btn:hover { color: var(--ink-2); }
.txt-btn .ic { width: 18px; height: 18px; }
.err .txt-btn { min-height: 0; margin-left: 4px; }

.cal-block { display: grid; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink); }
.cal-block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.chk { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 15px; font-weight: 500; }
.chk input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; cursor: pointer; }
#rs-cal { margin-top: 8px; transition: opacity .2s; }
#rs-cal.is-dim { opacity: .45; }
.picked { margin: 8px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.picked b { font-weight: 500; font-family: var(--mincho); font-size: 17px; }
.picked .arr { display: inline-flex; color: var(--ink-2); }
.picked.muted { color: var(--ink-2); }

/* 部屋とプラン */
.cond-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cond-line p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 15px; font-weight: 500; }
.cond-line .sep { width: 1px; height: 16px; background: var(--line); margin: 0 6px; }
.unit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.unit-row .t-note { flex: 1 1 280px; margin: 0; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; background: var(--paper); cursor: pointer; font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.seg button + button { border-left: 1px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button:not([aria-pressed="true"]):hover { background: var(--paper-2); }
.rs-room { border-top: 1px solid var(--ink); padding-top: 24px; }
.rs-room + .rs-room { margin-top: 24px; }
.rs-room-head { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; padding-bottom: 20px; }
.rs-room-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.rs-room-name b { font: 600 44px/1 var(--mincho); }
.rs-room-name span { font: 600 16px/1.4 var(--mincho); letter-spacing: .08em; }
.rs-room .room-meta { margin: 12px 0 4px; }
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border: 1px solid var(--few); color: var(--few); font: 500 12px/1.6 var(--sans) !important; letter-spacing: .06em !important; }
.tag { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 8px; background: var(--ink); color: var(--paper); font: 500 12px/1.6 var(--sans) !important; letter-spacing: .06em !important; vertical-align: middle; }
.rs-plans { border-top: 1px solid var(--line); }
.rs-plan { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rs-plan.is-sel { box-shadow: inset 3px 0 0 var(--ink); padding-left: 16px; background: var(--paper-2); }
.rs-plan .pl-name .t-note { margin-top: 4px; }
.pl-price { display: grid; gap: 2px; text-align: right; }
.pl-price .big-num { font-size: 28px; }
.pl-price .t-note { font-size: 12px; line-height: 1.5; }
.pl-act { display: flex; justify-content: flex-end; }
.pl-act .btn { padding: 0 18px; width: 100%; white-space: nowrap; }
.hide-sp { display: inline; }
@media (max-width: 767px) { .hide-sp { display: none; } .cond-line .sep { display: none; } }
.pl-why { margin: 0; font-size: 14px; color: var(--ink-2); text-align: right; }
.rs-plan.is-na .h4 { color: var(--ink-2); }
.rs-na { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }
.rs-room.is-na .rs-room-head { opacity: .72; }
.back-row { margin: 8px 0 0; }
@media (max-width: 1199px) {
  .rs-plan { grid-template-columns: minmax(0, 1fr) auto; }
  .rs-plan .pl-name { grid-column: 1 / -1; }
  .pl-price { text-align: left; }
}
@media (max-width: 599px) {
  .rs-room-head { grid-template-columns: 1fr; gap: 16px; }
  .rs-room-name b { font-size: 40px; }
  .rs-plan { grid-template-columns: 1fr; gap: 12px; }
  .pl-act { justify-content: stretch; }
  .pl-why { text-align: left; }
}

/* 確認 */
.conf { display: grid; gap: 40px; }
.conf-block { display: grid; gap: 14px; }
.conf-block .spec dd .t-note { display: block; margin-top: 2px; }
.conf-room { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.bd th .dtype { display: block; font-weight: 400; }
.bd td { font-size: 14px; }
.bd tfoot th, .bd tfoot td { border-bottom: 1px solid var(--line); }
.bd tfoot tr:first-child th, .bd tfoot tr:first-child td { border-top: 1px solid var(--ink); }
.bd .total { font-size: 24px; }
@media (max-width: 599px) {
  .conf-room { grid-template-columns: 1fr; }
  .bd thead { display: none; }
  .bd tbody tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .bd tbody th, .bd tbody td { border: 0; padding: 2px 0; }
  .bd tbody td:nth-child(2) { grid-column: 1; grid-row: 2; }
  .bd tbody td.r { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* 引き渡し */
.handoff { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.ho-side { padding: 24px 24px 28px; display: grid; gap: 14px; align-content: start; }
.ho-site { border-top: 3px solid var(--ink); background: var(--paper); padding-left: 0; }
.ho-engine { border: 1px dashed var(--ink-2); border-top-width: 3px; background: #EDEDEA; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.ho-engine .h4 { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-weight: 700; }
.ho-tag { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; display: grid; gap: 2px; }
.ho-tag small { font-weight: 400; color: var(--ink-2); letter-spacing: .04em; }
.ho-side ul { display: grid; gap: 0; border-top: 1px solid var(--line); }
.ho-side li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.6; }
.ho-side li b { display: block; font-weight: 500; font-size: 15px; }
.ho-site li .ic { color: var(--ok); margin-top: 2px; }
.ho-engine li .dot { width: 8px; height: 8px; border: 1.5px solid var(--ink-2); margin: 7px 6px 0 6px; flex: none; }
.ho-line { position: relative; display: flex; justify-content: center; }
.ho-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--ink-2); }
.ho-line span { position: relative; writing-mode: vertical-rl; background: var(--paper); padding: 12px 0; margin-top: 40px; font: 600 14px/1 var(--mincho); letter-spacing: .3em; color: var(--ink); height: max-content; }
.sub-h { margin-top: 16px; }
.params code, .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.params td code { background: var(--paper-2); padding: 2px 6px; word-break: break-all; }
.url-label { margin: 8px 0 -20px; }
.code { margin: 0; padding: 16px; background: var(--paper-2); border-left: 2px solid var(--ink); word-break: break-all; line-height: 1.7; }
.ho-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.demo-stop { margin: 0; padding: 16px 18px; border: 1px solid var(--ink); background: var(--paper-2); font-weight: 500; }
@media (max-width: 767px) {
  .handoff { grid-template-columns: 1fr; }
  .ho-line { height: 56px; }
  .ho-line::before { top: 0; bottom: 0; left: 50%; }
  .ho-line span { writing-mode: horizontal-tb; margin: auto 0; padding: 0 12px; letter-spacing: .1em; }
  .ho-site { padding-right: 0; }
  .params thead { display: none; }
  .params tr { display: grid; grid-template-columns: 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .params th, .params td { border: 0; padding: 2px 0; }
}

/* まとめ */
.sum-box { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; gap: 0; }
.sum-h { font: 600 18px/1.4 var(--mincho); letter-spacing: .1em; margin-bottom: 8px; }
.sum-dl > div { display: grid; grid-template-columns: 4em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.sum-dl dt { color: var(--ink-2); }
.sum-dl dd { font-weight: 500; }
.sum-total { display: grid; gap: 2px; padding: 20px 0 20px; }
.sum-total .big-num { font-size: 36px; }
.sum-hint { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.sum-foot { margin: 16px 0 0; font-size: 12px; line-height: 1.7; color: var(--ink-2); }
.btn .ic { width: 18px; height: 18px; }

.rs-bar { display: none; }
@media (max-width: 899px) {
  .rs-grid { grid-template-columns: 1fr; padding-bottom: 96px; }
  .rs-sum { display: none; position: fixed; z-index: 44; left: 0; right: 0; bottom: 72px; top: auto; max-height: calc(100vh - var(--hd) - 96px); overflow-y: auto; background: var(--paper); padding: 0 var(--gutter) 20px; border-top: 1px solid var(--ink); box-shadow: 0 -12px 24px rgba(0,0,0,.12); }
  body.sum-open .rs-sum { display: block; }
  .rs-sum .sum-box { border-top: 0; }
  .rs-sum [data-next] { display: none; }
  .rs-bar {
    display: flex; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; height: 72px;
    align-items: center; gap: 10px; padding: 0 12px 0 var(--gutter); background: var(--paper); border-top: 1px solid var(--line);
  }
  .bar-toggle { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: 1fr auto; column-gap: 8px; text-align: left; background: none; border: 0; padding: 6px 0; cursor: pointer; }
  .bar-toggle .b1 { font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bar-toggle .b2 { font-size: 13px; grid-row: 2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .bar-toggle .b2 b { font: 600 18px/1.3 var(--mincho); }
  .bar-toggle .b3 { grid-column: 2; grid-row: 1 / span 2; align-self: center; display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-ui); }
  .bar-toggle .ic { transform: rotate(180deg); }
  .bar-toggle[aria-expanded="true"] .ic { transform: none; }
  .bar-toggle .ic { width: 16px; height: 16px; }
  .rs-bar .btn { flex: none; min-height: 48px; padding: 0 16px; }
}

/* =========================================================
   下層ページの部品
   ========================================================= */
.nowrap { white-space: nowrap; }
.cmp { table-layout: fixed; }
.cmp thead th { vertical-align: bottom; }
.cmp th:first-child { width: 7em; }
.cmp-name { display: grid; gap: 2px; text-decoration: none; color: var(--ink); }
.cmp-name b { font: 600 36px/1 var(--mincho); }
.cmp-name span { font-size: 13px; letter-spacing: .04em; color: var(--ink-2); }
.cmp-name:hover b { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.cmp td { font-size: 15px; }
.cmp .money { font-size: 18px; }
@media (max-width: 599px) {
  .cmp th:first-child { width: 4.2em; }
  .cmp th, .cmp td { padding-right: 6px; font-size: 13px; }
  .cmp-name b { font-size: 28px; }
  .cmp-name span { font-size: 12px; }
  .cmp .money { font-size: 15px; }
}
.room-photo { aspect-ratio: 16 / 9; }
@media (max-width: 767px) { .room-photo { aspect-ratio: 3 / 2; margin: 0 calc(var(--gutter) * -1); } }
.from-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.from-list > div { padding: 12px 12px 12px 0; display: grid; gap: 2px; }
.from-list > div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.from-list dt { font: 600 18px/1.3 var(--mincho); display: flex; flex-direction: column; }
.from-list dt .t-note { font: 400 12px/1.5 var(--sans); }
.from-list .money { font: 600 20px/1.3 var(--mincho); font-feature-settings: "tnum"; }
.money { font-family: var(--mincho); font-weight: 600; font-feature-settings: "tnum"; }
.rate-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.rate-h { display: flex; align-items: baseline; gap: 12px; font: 600 15px/1.4 var(--mincho); letter-spacing: .08em; margin-bottom: 12px; }
.rate-h b { font-size: 36px; line-height: 1; }
.rate .tbl .money { font-size: 20px; }
@media (max-width: 899px) { .rate-grid { grid-template-columns: 1fr; gap: 32px; } }

.town-map .pins rect { fill: var(--ink); }
.town-map .pins text { fill: var(--paper); font-size: 16px; font-weight: 700; text-anchor: middle; }
@media (max-width: 599px) { .town-map .map-lbl { display: none; } }
@media (max-width: 767px) {
  .diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .diagram-scroll .diagram { min-width: 680px; }
  .diagram-scroll::after { content: "横にスクロールできます"; display: block; font-size: 12px; color: var(--ink-2); margin-top: 8px; position: sticky; left: 0; }
}

.guide-head { padding: calc(var(--hd) + 72px) 0 0; }
.guide-head-grid { display: grid; grid-template-columns: 7fr 4fr; gap: 64px; align-items: end; }
.guide-head-text { display: grid; gap: 20px; padding-bottom: 24px; }
.guide-head-text .lead { color: var(--ink-2); }
.guide-head-ph { max-height: 620px; }
@media (max-width: 899px) {
  .guide-head { padding-top: calc(var(--hd) + 40px); }
  .guide-head-grid { grid-template-columns: 1fr; gap: 32px; }
  .guide-head-ph { aspect-ratio: 4 / 3; }
}
.yukata-fig { display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--ink); padding-top: 20px; }
.yukata-fig .diagram { max-width: 260px; margin: 0 auto; }
.yukata-fig figcaption { font-size: 14px; color: var(--ink-2); }

.faq-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 64px; padding-top: 64px; padding-bottom: 128px; align-items: start; }
.faq-toc { position: sticky; top: calc(var(--hd) + 32px); display: grid; border-top: 1px solid var(--ink); }
.faq-toc a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 600 16px/1.5 var(--mincho); }
.faq-toc a span { font: 400 13px var(--sans); color: var(--ink-2); }
.faq-toc a:hover { color: var(--ink-2); }
.faq-group > h2 { margin-bottom: 16px; }
@media (max-width: 899px) {
  .faq-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 80px; }
  .faq-toc { position: static; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); column-gap: 24px; }
}
@media (max-width: 599px) {
  .from-list { grid-template-columns: 1fr; }
  .from-list > div, .from-list > div + div { grid-template-columns: 1fr auto; align-items: baseline; padding: 10px 0; border-left: 0; }
  .from-list > div + div { border-top: 1px solid var(--line); }
  .from-list dt { flex-direction: row; align-items: baseline; gap: 8px; }
}
.bf-items { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }

.chip b, .picked b, .bar-toggle .b2 b { margin: 0 4px; }
.picked b:first-of-type { margin-left: 8px; }
