/* TSUGI HOTEL 制作見本 — 共通スタイル
   テーマは <html data-theme="machi|shizuka"> で切り替える。色・書体・余白・写真の扱いは変数で持つ。
   角丸はサイト全体で使わない（線と文字の大小で組む）。 */

/* ---------- tokens ---------- */
:root,
:root[data-theme="machi"] {
  color-scheme: light;
  --bg: #F3EFE6;
  --surface: #FBF9F4;
  --ink: #1F1E1B;
  --ink-2: #57524A;
  --line: #D9D2C4;
  --line-strong: #857D6F;
  --main: #22385A;
  --on-main: #F3EFE6;
  --on-main-2: #C5CDD9;
  --accent: #B5432A;
  --accent-hover: #963520;
  --on-accent: #FFFFFF;
  --tint: #E6DED0;
  --sel: #22385A;
  --on-sel: #FFFFFF;
  --danger: #A1281D;
  --scrim: rgba(20, 18, 15, .55);

  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --font-latin: "Archivo Narrow", "Zen Kaku Gothic New", system-ui, sans-serif;
  --head-weight: 700;
  --head-track: 0;
  --latin-weight: 600;

  --sec: 96px;
  --sec-sm: 64px;
  --photo-filter: none;

  --map-ground: #F7F3EA;
  --map-block: #E5DDCD;
  --map-water: #B9C7D8;
  --map-water-line: #8EA2BB;
  --map-river-label: #22385A;
  --map-street: #FBF9F4;
  --map-label: #57524A;
  --map-pin: #1F1E1B;
  --map-pin-fill: #FBF9F4;
  --map-hotel: #B5432A;
}

:root[data-theme="shizuka"] {
  color-scheme: dark;
  --bg: #12110F;
  --surface: #1B1916;
  --ink: #ECE6DA;
  --ink-2: #A9A193;
  --line: #34302A;
  --line-strong: #746C5F;
  --main: #0A0A09;
  --on-main: #ECE6DA;
  --on-main-2: #A9A193;
  --accent: #CDB687;
  --accent-hover: #DCC79C;
  --on-accent: #17150F;
  --tint: #2A2620;
  --sel: #ECE6DA;
  --on-sel: #12110F;
  --danger: #F08C7C;
  --scrim: rgba(0, 0, 0, .62);

  --font-head: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --head-weight: 500;
  --head-track: .04em;
  --latin-weight: 500;

  --sec: 144px;
  --sec-sm: 96px;
  --photo-filter: saturate(.85) brightness(.92);

  --map-ground: #191714;
  --map-block: #262320;
  --map-water: #1F2A36;
  --map-water-line: #3A4A5E;
  --map-river-label: #A3B5CB;
  --map-street: #12110F;
  --map-label: #A9A193;
  --map-pin: #ECE6DA;
  --map-pin-fill: #12110F;
  --map-hotel: #CDB687;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 0;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 {
  word-break: auto-phrase;
  text-wrap: pretty;
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  letter-spacing: var(--head-track);
  line-height: 1.4;
  margin: 0;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--bg); padding: 8px 16px;
}
.skip:focus { top: 8px; }
.icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.icon svg { width: 100%; height: 100%; display: block; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: 1304px; margin-inline: auto; padding-inline: 32px; }
.wrap-narrow { max-width: 832px; }
.section { padding-block: var(--sec); }
.section + .section { border-top: 1px solid var(--line); }
.section.tight { padding-block: var(--sec-sm); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }

/* ---------- type ---------- */
.eyebrow {
  font-size: 12px; line-height: 1.5; letter-spacing: .12em;
  color: var(--ink-2); margin-bottom: 16px; display: block;
}
.latin { font-family: var(--font-latin); font-weight: var(--latin-weight); letter-spacing: .02em; }
.h1 { font-size: 49px; line-height: 1.35; }
.h2 { font-size: 39px; line-height: 1.4; }
.h3 { font-size: 25px; line-height: 1.5; }
.h4 { font-size: 20px; line-height: 1.5; }
.lead { font-size: 18px; line-height: 1.9; max-width: 36em; }
.body { max-width: 38em; }
.body p + p { margin-top: 1em; }
.small { font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.tiny { font-size: 12px; line-height: 1.6; color: var(--ink-2); }
.num { font-family: var(--font-latin); font-weight: var(--latin-weight); font-variant-numeric: tabular-nums; }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.section-head .h2 { max-width: 17em; }
.section-head .small { max-width: 32em; justify-self: end; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 0;
  font-size: 16px; font-weight: 700; letter-spacing: .04em; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-accent:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-line:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  text-decoration: underline; text-underline-offset: .3em; min-height: 44px;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid transparent; background: transparent;
}
.icon-btn:hover { border-color: var(--line-strong); }
.icon-btn[disabled] { opacity: .35; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}
.hd-row { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 12px; text-decoration: none; flex: none; }
.logo-mark { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 24px; letter-spacing: .12em; line-height: 1; }
.logo-sub { font-size: 12px; letter-spacing: .2em; color: var(--ink-2); }
.clock { display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.clock-time { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 16px; color: var(--ink); font-variant-numeric: tabular-nums; }
.clock-weather small { font-size: 12px; margin-left: 4px; border: 1px solid var(--line-strong); padding: 0 4px; }
.hd-book { margin-left: auto; display: flex; align-items: stretch; border-left: 1px solid var(--line); }
.bb-field {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  width: 132px; padding: 8px 16px; min-height: 64px;
  border: 0; border-right: 1px solid var(--line); background: transparent; text-align: left;
}
.bb-field:hover { background: var(--tint); }
.bb-label { font-size: 12px; line-height: 1.4; color: var(--ink-2); }
.bb-value { font-size: 14px; line-height: 1.5; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bb-go { min-height: 64px; padding: 0 28px; }
.menu-btn { display: none; }
.hd-nav { border-top: 1px solid var(--line); }
.hd-nav ul { list-style: none; display: flex; gap: 32px; align-items: center; min-height: 40px; }
.hd-nav a { font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; border-bottom: 2px solid transparent; }
.hd-nav a:hover { border-bottom-color: var(--line-strong); }
.hd-nav a[aria-current="page"] { border-bottom-color: var(--ink); font-weight: 700; }
.hd-nav .nav-note { margin-left: auto; font-size: 12px; color: var(--ink-2); }

/* mobile menu */
.m-menu { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; background: var(--bg); color: var(--ink); }
.m-menu::backdrop { background: var(--scrim); }
.m-menu-head { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding-inline: 16px; border-bottom: 1px solid var(--ink); }
.m-menu ul { list-style: none; padding: 8px 16px; }
.m-menu li { border-bottom: 1px solid var(--line); }
.m-menu li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 18px; text-decoration: none; }
.m-menu .m-menu-foot { padding: 24px 16px; }

/* ---------- theme switch & mobile CTA ---------- */
.theme-switch {
  display: inline-flex; align-items: center; gap: 0;
  font-size: 12px; background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong);
}
.theme-switch .ts-label { padding: 0 8px 0 12px; color: var(--ink-2); white-space: nowrap; }
.theme-switch button {
  min-width: 44px; min-height: 36px; padding: 0 12px; border: 0; border-left: 1px solid var(--line);
  background: transparent; font-size: 12px;
}
.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); font-weight: 700; }
.theme-switch button:hover:not([aria-pressed="true"]) { background: var(--tint); }
.ts-fixed { position: fixed; left: 12px; bottom: 16px; z-index: 45; box-shadow: 0 2px 10px rgba(0,0,0,.12); flex-direction: column; width: 56px; }
.ts-fixed .ts-label { padding: 6px 4px; text-align: center; line-height: 1.3; font-size: 12px; white-space: normal; }
.ts-fixed button { width: 100%; border-left: 0; border-top: 1px solid var(--line); }
.m-cta { display: none; }

/* ---------- hero ---------- */
.hero { padding-top: 48px; padding-bottom: var(--sec-sm); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: end; }
.hero-text .h1 { margin-bottom: 24px; }
.hero-text .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: var(--photo-filter); background: var(--tint); }
.caption { font-size: 12px; line-height: 1.6; color: var(--ink-2); margin-top: 8px; }
.only-shizuka { display: none !important; }
:root[data-theme="shizuka"] .only-shizuka { display: block !important; }
:root[data-theme="shizuka"] .only-machi { display: none !important; }

/* ---------- facts row ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.fact { padding: 16px 24px 0 0; }
.fact + .fact { padding-left: 24px; border-left: 1px solid var(--line); }
.fact-label { font-size: 12px; color: var(--ink-2); display: block; }
.fact-value { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 49px; line-height: 1.15; display: block; margin: 8px 0; font-variant-numeric: tabular-nums; }
.fact-value small { font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-left: 4px; }
.fact-note { font-size: 14px; line-height: 1.7; color: var(--ink-2); }

/* ---------- room rows ---------- */
.room-rows { border-top: 1px solid var(--ink); list-style: none; }
.room-row {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px 48px;
  gap: 32px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.room-row img { width: 240px; aspect-ratio: 3 / 2; object-fit: cover; filter: var(--photo-filter); background: var(--tint); }
.room-name { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 31px; letter-spacing: .06em; line-height: 1.2; }
.room-name a { text-decoration: none; }
.room-name a::after { content: ""; position: absolute; inset: 0; }
.room-row:hover .room-name a { text-decoration: underline; text-underline-offset: .15em; }
.room-ja { font-size: 14px; color: var(--ink-2); margin-left: 12px; letter-spacing: 0; font-family: var(--font-body); font-weight: 400; }
.spec-line { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 8px; font-size: 14px; line-height: 1.6; }
.spec-line li { list-style: none; }
.spec-line li + li::before { content: "・"; color: var(--ink-2); padding: 0 6px; }
.room-price { text-align: right; }
.price-label { font-size: 12px; color: var(--ink-2); display: block; }
.price-big { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 31px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.price-big small { font-family: var(--font-body); font-size: 14px; font-weight: 400; margin-left: 2px; }
.room-row .go { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); }
.room-row:hover .go { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.price-note { font-size: 12px; color: var(--ink-2); margin-top: 16px; }

/* ---------- editorial features ---------- */
.features { display: grid; gap: 96px; }
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature.flip .feature-media { order: 2; }
.feature-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: var(--photo-filter); background: var(--tint); }
.feature-text .h3 { margin-bottom: 16px; }
.feature-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--ink-2); margin-bottom: 16px; }
.feature-meta .num { color: var(--ink); }
.quote { margin: 24px 0 0; padding: 0 0 0 16px; border-left: 2px solid var(--ink); font-size: 16px; line-height: 1.8; }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--ink-2); }
.feature-more { margin-top: 24px; }
.feature-small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.feature-small .feature-media img { aspect-ratio: 4 / 3; }
.feature-small .feature-text { margin-top: 16px; }

/* ---------- perks ---------- */
.perk-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.perk-list { list-style: none; border-top: 1px solid var(--ink); counter-reset: perk; }
.perk-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); counter-increment: perk; }
.perk-list li::before { content: counter(perk, decimal-leading-zero); font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 20px; color: var(--ink-2); line-height: 1.5; }
.perk-list h3 { font-size: 20px; margin-bottom: 4px; }
.perk-list p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.perk-amount { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 61px; line-height: 1.1; font-variant-numeric: tabular-nums; margin: 8px 0 16px; display: block; }
.perk-amount small { font-family: var(--font-body); font-size: 20px; font-weight: 700; margin-left: 4px; }

/* ---------- cafe/bar strip ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.split-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: var(--photo-filter); background: var(--tint); margin-bottom: 24px; }
.split-item .h3 { margin-bottom: 8px; }
.hours { display: flex; gap: 16px; align-items: baseline; margin: 8px 0 12px; }
.hours .num { font-size: 25px; }

/* ---------- access ---------- */
.route-table { width: 100%; border-collapse: collapse; }
.route-table caption { text-align: left; }
.route-table th, .route-table td { text-align: left; vertical-align: top; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.route-table thead th { font-size: 12px; font-weight: 400; color: var(--ink-2); padding-top: 0; border-bottom: 1px solid var(--ink); }
.route-table tbody th { font-weight: 700; width: 120px; }
.route-table .num { font-size: 20px; }
.route-table td.note { font-size: 14px; color: var(--ink-2); }
.route-from { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 32px; padding-top: 32px; }
.route-from + .route-from { margin-top: 32px; border-top: 1px solid var(--ink); }
.route-from h3 { font-size: 25px; }
.route-short { font-size: 14px; color: var(--ink-2); }
.access-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.access-sum > div { padding: 16px 24px 16px 0; }
.access-sum > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.walk-steps { list-style: none; counter-reset: ws; border-top: 1px solid var(--ink); }
.walk-steps li { counter-increment: ws; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.walk-steps li::before { content: counter(ws); font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 25px; line-height: 1.2; }

/* ---------- notices ---------- */
.notices { list-style: none; border-top: 1px solid var(--ink); }
.notice { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.notice h3 { font-size: 16px; }
.notice p { font-size: 14px; color: var(--ink-2); line-height: 1.8; max-width: 44em; }
.notice .icon { margin-right: 8px; }

/* ---------- page head ---------- */
.page-head { padding-top: 64px; padding-bottom: 48px; }
.page-head .h1 { max-width: 18em; }
.page-head .lead { margin-top: 24px; }
.crumbs { font-size: 12px; color: var(--ink-2); margin-bottom: 24px; }
.crumbs a { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--main); color: var(--on-main); padding: 64px 0 96px; margin-top: 0; }
.site-footer a { color: var(--on-main); }
.ft-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 48px; }
.ft-logo { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 31px; letter-spacing: .12em; line-height: 1.2; display: block; margin-bottom: 16px; }
.ft-grid p, .ft-grid li { font-size: 14px; line-height: 1.9; color: var(--on-main-2); }
.ft-grid ul { list-style: none; }
.ft-grid h2 { font-family: var(--font-body); font-size: 12px; font-weight: 400; letter-spacing: .12em; color: var(--on-main-2); margin-bottom: 12px; }
.ft-grid li a { display: inline-flex; min-height: 32px; align-items: center; color: var(--on-main); text-decoration: none; }
.ft-grid li a:hover { text-decoration: underline; }
.ft-legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; color: var(--on-main-2); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer :focus-visible { outline-color: var(--on-main); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field > label, .field > .label { font-size: 14px; font-weight: 700; }
.field .hint { font-size: 12px; color: var(--ink-2); }
.req { font-size: 12px; font-weight: 400; color: var(--ink-2); margin-left: 6px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 0;
}
.textarea { min-height: 96px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.err { display: flex; gap: 6px; align-items: flex-start; color: var(--danger); font-size: 14px; line-height: 1.6; font-weight: 700; }
.err .icon { width: 18px; height: 18px; margin-top: 2px; }
.err[hidden] { display: none; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); }
.stepper button { width: 44px; height: 44px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; }
.stepper button:hover:not([disabled]) { background: var(--tint); }
.stepper button[disabled] { opacity: .3; cursor: not-allowed; }
.stepper output { min-width: 40px; text-align: center; font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 20px; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--ink); flex: none; }

/* ---------- booking dialog & widget ---------- */
.bk-dialog {
  border: 1px solid var(--ink); padding: 0;
  width: min(1160px, calc(100vw - 48px)); max-width: none; max-height: calc(100vh - 48px);
  background: var(--bg); color: var(--ink); border-radius: 0;
}
.bk-dialog::backdrop { background: var(--scrim); }
.bk-dialog[open] { display: flex; flex-direction: column; }
.bk-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px 12px 32px; border-bottom: 1px solid var(--ink); }
.bk-head h2 { font-size: 20px; }
.bk-head .tiny { margin-left: 16px; }
.bk-scroll { overflow: auto; overscroll-behavior: contain; }
.bk { display: grid; grid-template-columns: minmax(0, 1fr) 380px; }
.bk-cal { padding: 24px 32px 32px; min-width: 0; }
.bk-side { padding: 24px 32px 0; border-left: 1px solid var(--line); display: grid; gap: 16px; align-content: start; background: var(--surface); }
.bk-cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.bk-cal-top .tiny { max-width: 34em; }
.bk-cal-nav { display: flex; gap: 8px; }
.bk-cal-nav .icon-btn { border-color: var(--line-strong); }
.bk-months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.month h3 { font-size: 16px; font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; text-align: center; }
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal th { font-size: 12px; font-weight: 400; color: var(--ink-2); padding: 4px 0 8px; border-bottom: 1px solid var(--ink); }
.cal th.sun { color: var(--danger); }
.cal td { padding: 0; height: 64px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: top; }
.day {
  width: 100%; height: 64px; padding: 6px 2px 4px; border: 0; background: transparent;
  display: grid; grid-template-rows: auto auto auto; justify-items: center; align-content: start; gap: 0;
  line-height: 1.3; position: relative;
}
.day .d { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.day .sym { font-size: 12px; line-height: 1.3; height: 16px; }
.day .p { font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -.01em; }
.day:hover:not(:disabled) { background: var(--tint); }
.day.is-past, .day.is-closed { color: var(--ink-2); cursor: default; }
.day.is-past .d { font-weight: 400; opacity: .55; }
.day.is-full .p { color: var(--ink-2); }
.day.is-full .d { color: var(--ink-2); }
.day.is-in { background: var(--tint); }
.day.is-start, .day.is-end { background: var(--sel); color: var(--on-sel); }
.day.is-start .p, .day.is-end .p, .day.is-start .d, .day.is-end .d { color: var(--on-sel); }
.day.is-end .p { opacity: .8; }
.bk-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 12px; color: var(--ink); list-style: none; }
.bk-legend li { display: inline-flex; gap: 6px; align-items: center; }
.bk-legend .sym { font-weight: 700; }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.bk-dates > div { padding: 12px 16px; }
.bk-dates > div + div { border-left: 1px solid var(--ink); }
.bk-dates .lbl { font-size: 12px; color: var(--ink-2); display: block; }
.bk-dates strong { display: block; font-size: 18px; line-height: 1.4; margin: 2px 0; }
.bk-dates .t { font-size: 12px; color: var(--ink-2); }
.bk-nights { font-size: 14px; margin-top: -8px; }
.bk-msg { font-size: 14px; line-height: 1.6; min-height: 0; }
.bk-msg:empty { display: none; }
.bk-msg.is-error { color: var(--danger); font-weight: 700; display: flex; gap: 6px; }
.bk-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bk-row .lbl { font-size: 16px; font-weight: 700; }
.bk-row .sub { display: block; font-size: 12px; color: var(--ink-2); font-weight: 400; }
.child-ages { display: grid; gap: 8px; padding: 12px 0 0; border-top: 1px dashed var(--line-strong); }
.child-ages:empty { display: none; }
.child-age { display: grid; grid-template-columns: 1fr 88px auto; gap: 8px; align-items: center; font-size: 14px; }
.child-age .input { min-height: 44px; text-align: right; }
.bk-submit-wrap { display: grid; gap: 8px; position: sticky; bottom: 0; background: var(--surface); padding: 12px 0 24px; border-top: 1px solid var(--line); }

/* ---------- room detail ---------- */
.rd-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.rd-gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; }
.rd-gallery img { width: 100%; height: 100%; object-fit: cover; filter: var(--photo-filter); background: var(--tint); }
.rd-gallery .g-main img { aspect-ratio: 3 / 2; }
.rd-gallery .g-side img { aspect-ratio: auto; height: 100%; min-height: 100%; }
.rd-gallery .g-side { display: grid; }
.rd-name { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 61px; letter-spacing: .06em; line-height: 1.1; }
.spec-dl { display: grid; grid-template-columns: 112px minmax(0, 1fr); border-top: 1px solid var(--ink); margin-top: 24px; }
.spec-dl dt, .spec-dl dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.spec-dl dt { color: var(--ink-2); }
.rd-price { margin-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.plan-svg { width: 100%; max-width: 420px; height: 400px; display: block; }
.plan-svg .wall { fill: none; stroke: var(--ink); stroke-width: 6; }
.plan-svg .win { stroke: var(--map-water-line); stroke-width: 10; }
.plan-svg .furn { fill: var(--tint); stroke: var(--ink-2); stroke-width: 2; }
.plan-svg .bathbox { fill: var(--surface); stroke: var(--ink-2); stroke-width: 2; stroke-dasharray: 6 4; }
.plan-svg text { fill: var(--ink-2); font-size: 22px; font-family: var(--font-body); }
.amen { list-style: none; columns: 2; column-gap: 32px; border-top: 1px solid var(--ink); }
.amen li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.amen li .icon { width: 16px; height: 16px; margin-top: 4px; color: var(--ink-2); }
.mini-cal-wrap { max-width: 520px; }
.other-rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }

/* ---------- neighborhood ---------- */
.map-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; }
.map-box { border: 1px solid var(--ink); background: var(--map-ground); position: relative; }
.map-svg { width: 100%; height: auto; display: block; }
.map-svg .ground { fill: var(--map-ground); }
.map-svg .block { fill: var(--map-block); }
.map-svg .water { fill: var(--map-water); }
.map-svg .water-edge { fill: none; stroke: var(--map-water-line); stroke-width: 2; }
.map-svg .promenade { fill: none; stroke: var(--map-label); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.map-svg .rail { stroke: var(--map-label); stroke-width: 6; }
.map-svg .rail-tie { stroke: var(--map-ground); stroke-width: 3; stroke-dasharray: 3 9; }
.map-svg .lbl { fill: var(--map-label); font-size: 14px; font-family: var(--font-body); }
.map-svg .lbl-river { fill: var(--map-river-label); font-size: 16px; letter-spacing: .3em; font-family: var(--font-body); }
.map-svg .route { fill: none; stroke: var(--map-hotel); stroke-width: 3; stroke-dasharray: 8 6; }
.map-svg .pin { cursor: pointer; }
.map-svg .pin .shape { fill: var(--map-pin-fill); stroke: var(--map-pin); stroke-width: 2.5; }
.map-svg .pin text { fill: var(--map-pin); font-size: 14px; font-weight: 700; font-family: var(--font-latin); text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.map-svg .pin.is-active .shape { fill: var(--map-pin); }
.map-svg .pin.is-active text { fill: var(--map-pin-fill); }
.map-svg .pin.is-dim { opacity: .2; }
.map-svg .pin:focus-visible { outline: none; }
.map-svg .pin:focus-visible .shape { stroke-width: 5; }
.map-svg .hotel-pin rect { fill: var(--map-hotel); }
.map-svg .hotel-pin text { fill: var(--on-accent); font-size: 14px; font-weight: 700; font-family: var(--font-latin); text-anchor: middle; dominant-baseline: central; }
.map-svg .station rect { fill: var(--map-pin-fill); stroke: var(--map-pin); stroke-width: 2; }
.map-svg .scale line { stroke: var(--map-label); stroke-width: 2; }
.map-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-strong); background: transparent; font-size: 14px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip svg { width: 14px; height: 14px; }
.chip svg .shape { fill: none; stroke: currentColor; stroke-width: 2.5; }
.spot-list { list-style: none; border-top: 1px solid var(--ink); }
.spot-item button {
  width: 100%; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: baseline;
  padding: 12px 8px 12px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left;
}
.spot-item button:hover { background: var(--tint); }
.spot-item.is-active button { background: var(--tint); }
.spot-item[hidden] { display: none; }
.spot-no { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 20px; text-align: center; }
.spot-name { font-weight: 700; font-size: 16px; display: block; }
.spot-sub { font-size: 12px; color: var(--ink-2); display: block; }
.spot-walk { font-size: 14px; white-space: nowrap; }
.spot-walk .num { font-size: 20px; }
.spot-detail { margin-top: 16px; padding: 16px 0 0; border-top: 1px solid var(--ink); font-size: 14px; }
.spot-detail:empty { display: none; }
.legend-hotel { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-2); margin-top: 12px; }
.legend-hotel i { width: 14px; height: 14px; background: var(--map-hotel); display: inline-block; }
.article-index { list-style: none; border-top: 1px solid var(--ink); }
.article-index li { display: grid; grid-template-columns: 120px minmax(0, 1fr) 160px; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.text-feature { border-top: 1px solid var(--ink); padding-top: 24px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }

/* ---------- stay / plans ---------- */
.plan-rows { list-style: none; border-top: 1px solid var(--ink); }
.plan-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.plan-row h3 { font-size: 25px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 12px; }
.tags li { font-size: 12px; line-height: 1.5; padding: 3px 8px; border: 1px solid var(--line-strong); }
.plan-cta { display: grid; gap: 8px; justify-items: start; }
.ticket-figure { border: 1px solid var(--ink); padding: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.ticket-figure > div { padding: 8px 12px; border-left: 1px dashed var(--line-strong); }
.ticket-figure > div:first-child { border-left: 0; padding-left: 0; }
.ticket-figure .num { font-size: 31px; display: block; }
.shop-list { list-style: none; columns: 2; column-gap: 32px; border-top: 1px solid var(--ink); }
.shop-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }

/* ---------- guide ---------- */
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.guide-toc { position: sticky; top: 128px; list-style: none; border-top: 1px solid var(--ink); }
.guide-toc li a { display: flex; min-height: 44px; align-items: center; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.guide-toc li a:hover { text-decoration: underline; }
.guide-sec + .guide-sec { margin-top: 96px; }
.guide-sec > .h2 { margin-bottom: 24px; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-bottom: 32px; }
.kv > div { padding: 16px 16px 16px 0; }
.kv > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.kv .num { font-size: 39px; line-height: 1.2; display: block; margin: 4px 0; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 56px; padding: 12px 0; cursor: pointer; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .ans { padding: 0 0 24px; max-width: 40em; font-size: 15px; }
.faq .ans p + p { margin-top: .8em; }
.rules { list-style: none; border-top: 1px solid var(--ink); }
.rules > li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rules > li strong { font-weight: 700; }
.cards-accepted { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 8px; }
.cards-accepted li { font-size: 12px; padding: 2px 8px; border: 1px solid var(--line-strong); }

/* ---------- reserve: search & handoff (hotel side) ---------- */
.inline-bk { border: 1px solid var(--ink); background: var(--bg); }
.handoff { max-width: 760px; margin: 0 auto; padding: 96px 0; }
.handoff .h2 { margin: 8px 0 16px; }
.handoff-bar { height: 4px; background: var(--line); margin: 32px 0; overflow: hidden; }
.handoff-bar span { display: block; height: 100%; width: 0; background: var(--ink); animation: hb 2.4s ease-out forwards; }
@keyframes hb { to { width: 100%; } }
.code-box {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7;
  background: var(--surface); border: 1px solid var(--line-strong); padding: 16px; overflow-wrap: anywhere; word-break: break-all;
}
.code-box .k { color: var(--ink-2); }
.code-box .v { font-weight: 700; }
.param-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 14px; }
.param-table th, .param-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.param-table th { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 400; color: var(--ink-2); width: 120px; }
.handoff-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-top: 32px; }

/* ---------- reserve: engine (white-label) ---------- */
body.is-engine { background: var(--surface); }
.eng-header { background: var(--bg); border-bottom: 1px solid var(--line-strong); }
.eng-top { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.eng-top .logo-mark { font-size: 20px; }
.eng-top .eng-title { font-size: 14px; padding-left: 16px; border-left: 1px solid var(--line-strong); }
.eng-top .eng-meta { margin-left: auto; display: flex; gap: 16px; font-size: 12px; color: var(--ink-2); align-items: center; }
.eng-top .eng-meta span { display: inline-flex; gap: 4px; align-items: center; }
.eng-top .eng-meta .icon { width: 14px; height: 14px; }
.steps { list-style: none; display: flex; gap: 0; border-top: 1px solid var(--line); counter-reset: st; overflow-x: auto; }
.steps li { counter-increment: st; flex: 1 1 0; min-width: 0; }
.steps li > * {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px 0 0;
  font-size: 14px; color: var(--ink-2); border: 0; background: transparent; text-align: left; width: 100%;
  border-bottom: 3px solid transparent; white-space: nowrap;
}
.steps li > *::before {
  content: counter(st); display: inline-flex; width: 24px; height: 24px; flex: none;
  align-items: center; justify-content: center; border: 1px solid var(--line-strong);
  font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 13px;
}
.steps li.is-done > *::before { content: "✓"; background: var(--ink); color: var(--bg); border-color: var(--ink); font-family: var(--font-body); }
.steps li.is-current > * { color: var(--ink); font-weight: 700; border-bottom-color: var(--accent); }
.steps li.is-current > *::before { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.steps li button:hover { color: var(--ink); text-decoration: underline; }
.eng-main { padding-top: 32px; padding-bottom: 96px; }
.eng-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.eng-h { font-size: 25px; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.eng-sub { font-size: 14px; color: var(--ink-2); margin-bottom: 24px; }
.eng-panel { background: var(--bg); border: 1px solid var(--line-strong); }
.eng-panel + .eng-panel { margin-top: 24px; }
.eng-panel-in { padding: 24px; }
.banner { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--line-strong); background: var(--bg); font-size: 14px; margin-bottom: 24px; }
.banner.is-error { border-color: var(--danger); color: var(--danger); font-weight: 700; }
.banner .icon { width: 18px; height: 18px; margin-top: 2px; }
.eng-room { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0; }
.eng-room > img { width: 100%; height: 100%; min-height: 200px; object-fit: cover; filter: var(--photo-filter); background: var(--tint); }
.eng-room-body { padding: 24px; }
.eng-room-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.eng-room-name .room-name { font-size: 25px; }
.eng-flag { font-size: 12px; padding: 2px 8px; border: 1px solid var(--ink); font-weight: 700; }
.eng-left { font-size: 13px; color: var(--danger); font-weight: 700; }
.rates { list-style: none; margin-top: 16px; border-top: 1px solid var(--ink); }
.rate { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.rate-name { font-weight: 700; }
.rate .tags { margin-top: 6px; }
.rate-price { text-align: right; display: grid; gap: 2px; justify-items: end; }
.rate-price .avg { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 25px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.rate-price .avg small { font-family: var(--font-body); font-size: 12px; font-weight: 400; margin-left: 4px; color: var(--ink-2); }
.rate-price .tot { font-size: 14px; }
.rate-price .was { font-size: 12px; color: var(--ink-2); text-decoration: line-through; }
.rate-price .inc { font-size: 12px; color: var(--ink-2); }
.rate-price .btn { margin-top: 8px; min-height: 44px; }
.eng-room.is-off { opacity: .6; }
.eng-room.is-off .eng-room-body p { font-size: 14px; }
.opt { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.opt:first-child { padding-top: 0; }
.opt .check strong { font-size: 16px; }
.opt .note { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.opt .opt-price { text-align: right; font-size: 14px; white-space: nowrap; }
.opt .opt-price .num { font-size: 20px; display: block; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.form-grid .full { grid-column: 1 / -1; }
.tel-row { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 8px; }
.err-summary { border: 2px solid var(--danger); padding: 16px; margin-bottom: 24px; }
.err-summary h3 { font-family: var(--font-body); font-size: 16px; color: var(--danger); display: flex; gap: 8px; align-items: center; }
.err-summary ul { margin: 8px 0 0 28px; font-size: 14px; }
.err-summary a { color: var(--danger); }
.confirm-dl { display: grid; grid-template-columns: 160px minmax(0, 1fr); border-top: 1px solid var(--ink); }
.confirm-dl dt, .confirm-dl dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.confirm-dl dt { color: var(--ink-2); font-size: 14px; }
.eng-actions { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: transparent; text-decoration: underline; text-underline-offset: .25em; padding: 0; font-size: 15px; }
.done-no { font-family: var(--font-latin); font-weight: var(--latin-weight); font-size: 49px; letter-spacing: .06em; line-height: 1.2; display: block; margin: 4px 0 16px; font-variant-numeric: tabular-nums; }
.warn-box { border: 2px solid var(--ink); padding: 20px 24px; margin-top: 24px; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
.warn-box h3 { font-family: var(--font-body); font-size: 16px; margin-bottom: 4px; }
.warn-box p { font-size: 14px; line-height: 1.8; }
.demo-end { margin-top: 32px; padding: 24px; background: var(--ink); color: var(--bg); display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.demo-end strong { font-size: 20px; }
.demo-end a { color: var(--bg); }
.demo-end .btn-line { color: var(--bg); border-color: var(--bg); }
.demo-end .btn-line:hover { background: var(--bg); color: var(--ink); }

/* summary aside */
.sum { position: sticky; top: 24px; }
.sum-box { background: var(--bg); border: 1px solid var(--line-strong); }
.sum-box + .sum-box { margin-top: 16px; }
.sum-in { padding: 20px; }
.sum h2 { font-family: var(--font-body); font-size: 16px; font-weight: 700; letter-spacing: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-bottom: 4px; }
.sum-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-dates .lbl { font-size: 12px; color: var(--ink-2); display: block; }
.sum-dates strong { font-size: 15px; display: block; }
.sum-dates .t { font-size: 12px; color: var(--ink-2); }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-line span:first-child { color: var(--ink-2); flex: none; }
.sum-line span:last-child { text-align: right; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 4px; }
.sum-total .num { font-size: 31px; }
.sum-inc { font-size: 12px; color: var(--ink-2); text-align: right; }
.sum-tax { font-size: 12px; color: var(--ink-2); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line-strong); }
.sum-edit { margin-top: 12px; font-size: 14px; }
.sum-contact p { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.sum-contact p + p { margin-top: 4px; }
.sum-contact .icon { width: 16px; height: 16px; }
.eng-footer { border-top: 1px solid var(--line-strong); background: var(--bg); padding: 24px 0 112px; font-size: 12px; color: var(--ink-2); }
.eng-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
.powered { display: inline-flex; align-items: center; gap: 8px; }
.powered b { font-family: var(--font-latin); font-weight: 600; letter-spacing: .1em; color: var(--ink); font-size: 13px; }
.m-sum-bar { display: none; }

/* ---------- shizuka (案B) overrides ---------- */
:root[data-theme="shizuka"] .site-header { border-bottom-color: var(--line); }
:root[data-theme="shizuka"] .hero { padding: 0; position: relative; }
:root[data-theme="shizuka"] .hero > .wrap { max-width: none; padding: 0; }
:root[data-theme="shizuka"] .hero-grid { display: block; position: relative; min-height: calc(100vh - 105px); min-height: calc(100svh - 105px); }
:root[data-theme="shizuka"] .hero-media { position: absolute; inset: 0; }
:root[data-theme="shizuka"] .hero-media img { height: 100%; aspect-ratio: auto; }
:root[data-theme="shizuka"] .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.05) 75%); }
:root[data-theme="shizuka"] .hero-media .caption { display: none; }
:root[data-theme="shizuka"] .hero-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 max(32px, calc((100vw - 1240px) / 2)) 96px; color: #F2EDE3; z-index: 1; }
:root[data-theme="shizuka"] .hero-text .eyebrow { color: #D8D0C2; }
:root[data-theme="shizuka"] .hero-text .h1 { font-size: 39px; max-width: 16em; }
:root[data-theme="shizuka"] .hero-text .lead { color: #E3DCCF; font-size: 16px; }
:root[data-theme="shizuka"] .hero-text .btn-line { color: #F2EDE3; border-color: #F2EDE3; }
:root[data-theme="shizuka"] .hero-text .btn-line:hover { background: #F2EDE3; color: #12110F; }
:root[data-theme="shizuka"] .hero-text :focus-visible { outline-color: #F2EDE3; }
:root[data-theme="shizuka"] .machi-only { display: none !important; }
:root[data-theme="shizuka"] .section + .section { border-top-color: transparent; }
:root[data-theme="shizuka"] .h1 { font-size: 39px; }
:root[data-theme="shizuka"] .h2 { font-size: 31px; }
:root[data-theme="shizuka"] .fact-value, :root[data-theme="shizuka"] .perk-amount { font-weight: 500; }
:root[data-theme="shizuka"] .feature,
:root[data-theme="shizuka"] .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 32px; }
:root[data-theme="shizuka"] .feature.flip .feature-media { order: 0; }
:root[data-theme="shizuka"] .features .feature > .feature-media { margin-inline: calc(50% - 50vw); }
:root[data-theme="shizuka"] .features .feature > .feature-media img { aspect-ratio: 21 / 9; }
:root[data-theme="shizuka"] .feature-text { max-width: 40em; }
:root[data-theme="shizuka"] .feature-small { gap: 64px; }
:root[data-theme="shizuka"] .room-row img { width: 240px; }
:root[data-theme="shizuka"] .split-item img { aspect-ratio: 4 / 5; }
:root[data-theme="shizuka"] .room-row:hover .go { background: var(--ink); color: var(--bg); }
:root[data-theme="shizuka"] .bk-side { background: var(--surface); }
:root[data-theme="shizuka"] .cal th.sun { color: var(--ink-2); }
:root[data-theme="shizuka"] .ts-fixed { box-shadow: 0 2px 12px rgba(0,0,0,.5); }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .bb-field { width: 112px; padding: 8px 12px; }
  .clock-weather { display: none; }
}
@media (max-width: 1023px) {
  .hd-book .bb-field { display: none; }
  .hd-book { border-left: 0; }
  .bb-go { min-height: 48px; }
  .hero-grid, .rd-head, .perk-block, .map-layout { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature.flip .feature-media { order: 0; }
  .room-row { grid-template-columns: 180px minmax(0, 1fr) 160px; }
  .room-row img { width: 180px; }
  .room-row .go { display: none; }
  .eng-grid { grid-template-columns: minmax(0, 1fr); }
  .sum { position: static; }
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .guide-toc { position: static; columns: 2; column-gap: 24px; }
  .plan-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bk { grid-template-columns: minmax(0, 1fr); }
  .bk-side { border-left: 0; border-top: 1px solid var(--ink); }
}
@media (max-width: 767px) {
  :root { --sec: 64px; --sec-sm: 48px; }
  :root[data-theme="shizuka"] { --sec: 96px; --sec-sm: 64px; }
  html { scroll-padding-top: 72px; }
  .wrap { padding-inline: 16px; }
  .h1, :root[data-theme="shizuka"] .h1 { font-size: 31px; line-height: 1.45; }
  .h2, :root[data-theme="shizuka"] .h2 { font-size: 25px; }
  .h3 { font-size: 20px; }
  .lead { font-size: 16px; }
  .hd-row { min-height: 56px; gap: 12px; }
  .logo-mark { font-size: 20px; letter-spacing: .1em; }
  .logo-sub { display: none; }
  .clock { font-size: 12px; margin-left: auto; }
  .clock-place { display: none; }
  .clock-time { font-size: 15px; }
  .clock-weather { display: inline; }
  .clock-weather small { display: none; }
  .hd-book { display: none; }
  .hd-nav { display: none; }
  .menu-btn { display: inline-flex; margin-right: -10px; }
  .ts-fixed { display: none; }
  .m-cta {
    display: flex; gap: 8px; align-items: stretch;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--ink);
  }
  .m-cta .theme-switch { flex: none; }
  .m-cta .theme-switch .ts-label { display: none; }
  .m-cta .btn { flex: 1 1 auto; min-height: 48px; }
  body.has-mcta { padding-bottom: 72px; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 32px; }
  .section-head .small { justify-self: start; }
  .hero { padding-top: 0; }
  .hero > .wrap { padding: 0; }
  .hero-grid { gap: 24px; }
  .hero-media { order: -1; }
  .hero-text { padding: 0 16px; }
  .hero-media .caption { padding: 0 16px; }
  :root[data-theme="shizuka"] .hero-grid { min-height: calc(100svh - 57px - 72px); }
  :root[data-theme="shizuka"] .hero-text { padding: 0 16px 48px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact, .fact + .fact { padding: 16px 12px 16px 0; border-left: 0; }
  .fact:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact-value { font-size: 39px; }
  .room-row { grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: start; }
  .room-row img, :root[data-theme="shizuka"] .room-row img { width: 120px; }
  .room-name { font-size: 25px; }
  .room-ja { display: block; margin-left: 0; }
  .room-price { grid-column: 2; text-align: left; }
  .price-big { font-size: 25px; }
  .features { gap: 64px; }
  .feature-small { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  :root[data-theme="shizuka"] .features .feature > .feature-media img { aspect-ratio: 4 / 3; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .access-sum { grid-template-columns: minmax(0, 1fr); }
  .access-sum > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .route-from { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .route-table thead { display: none; }
  .route-table, .route-table tbody, .route-table tr, .route-table th, .route-table td { display: block; width: 100%; }
  .route-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .route-table th, .route-table td { border: 0; padding: 2px 0; }
  .route-table tbody th { width: auto; }
  .notice { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .page-head { padding-top: 40px; padding-bottom: 32px; }
  .ft-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .site-footer { padding-bottom: 48px; }
  .perk-amount { font-size: 49px; }
  .rd-name { font-size: 39px; }
  .rd-gallery { grid-template-columns: minmax(0, 1fr); }
  .rd-gallery .g-side { display: none; }
  .spec-dl { grid-template-columns: 96px minmax(0, 1fr); }
  .amen, .shop-list { columns: 1; }
  .other-rooms { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .article-index li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .text-feature { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ticket-figure { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .ticket-figure > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ticket-figure > div:nth-child(n+3) { border-top: 1px dashed var(--line-strong); }
  .kv { grid-template-columns: minmax(0, 1fr); }
  .kv > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .rules > li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .guide-toc { columns: 1; }
  .guide-sec + .guide-sec { margin-top: 64px; }

  /* booking dialog: full screen */
  .bk-dialog { width: 100%; height: 100%; max-height: 100%; max-width: 100%; margin: 0; border: 0; }
  .bk-head { padding: 8px 8px 8px 16px; }
  .bk-head .tiny { display: none; }
  .bk-cal { padding: 16px; }
  .bk-months { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cal td, .day { height: 58px; }
  .day { padding: 4px 0 2px; }
  .day .d { font-size: 14px; }
  .day .p { font-size: 11px; letter-spacing: -.03em; }
  .bk-side { padding: 16px 16px 0; }
  .inline-bk { border-inline: 0; margin-inline: -16px; }

  /* engine */
  .eng-top { min-height: 56px; }
  .eng-top .eng-title { display: none; }
  .eng-top .eng-meta .meta-lang { display: none; }
  .steps li > * { font-size: 12px; gap: 6px; min-height: 48px; padding-right: 8px; }
  .steps li:not(.is-current) .st-label { display: none; }
  .steps li:not(.is-current) { flex: 0 0 auto; }
  .steps li.is-current { flex: 1 1 auto; }
  .eng-main { padding-top: 24px; }
  .eng-room { grid-template-columns: minmax(0, 1fr); }
  .eng-room > img { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
  .eng-room-body { padding: 16px; }
  .eng-panel-in { padding: 16px; }
  .rate { grid-template-columns: minmax(0, 1fr); }
  .rate-price { justify-items: start; text-align: left; }
  .rate-price .btn { width: 100%; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .tel-row { grid-template-columns: 120px minmax(0, 1fr); }
  .confirm-dl { grid-template-columns: minmax(0, 1fr); }
  .confirm-dl dt { padding-bottom: 0; border-bottom: 0; }
  .done-no { font-size: 31px; }
  .sum-box.sum-main { display: none; }
  .m-sum-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--ink);
  }
  .m-sum-bar .num { font-size: 20px; }
  .m-sum-bar .tiny { display: block; }
  .m-sum-bar .theme-switch .ts-label { display: none; }
  .m-sum-sheet { border: 0; padding: 0; width: 100%; max-width: 100%; margin: auto 0 0; max-height: 85vh; background: var(--surface); color: var(--ink); }
  .m-sum-sheet::backdrop { background: var(--scrim); }
  .eng-footer { padding-bottom: 104px; }
}
@media (max-width: 380px) {
  .day .p { font-size: 10px; }
  .clock-weather { display: none; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .handoff-bar span { width: 100%; }
}

/* ---------- additions ---------- */
.m-menu[open] { position: fixed; inset: 0; margin: 0; }
.only-mobile-ts { display: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--ink); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: fixed; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare thead th { padding-top: 16px; border-bottom: 1px solid var(--ink); }
.compare tbody th { font-size: 12px; font-weight: 400; color: var(--ink-2); }
.compare thead th:first-child { width: 120px; }
.bath-img img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; filter: var(--photo-filter); background: var(--tint); }
.grid-12 > div > img { width: 100%; filter: var(--photo-filter); background: var(--tint); }
.feature-s .feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: var(--photo-filter); background: var(--tint); }
.feature-s .feature-text { margin-top: 16px; }
.feature-meta .icon { width: 16px; height: 16px; margin-right: 2px; vertical-align: -3px; }
.small .icon, .tiny .icon { width: 16px; height: 16px; vertical-align: -3px; margin-right: 2px; }
.ticket-figure .tiny { display: block; margin-top: 4px; }
.sum-edit a { display: inline-flex; gap: 6px; align-items: center; min-height: 32px; }
.sum-edit .icon { width: 16px; height: 16px; }
.rd-gallery .g-main .caption { margin-top: 8px; }
html.is-locked { overflow: hidden; }
@media (max-width: 1023px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .grid-12 > * { grid-column: 1 / -1 !important; }
  .bath-img { max-width: 420px; }
}
@media (max-width: 767px) {
  .only-mobile-ts { display: block; }
}
@media (max-width: 767px) {
  /* スマホでは地図が小さくなるので、ピンだけ大きくして押しやすくする */
  .map-svg .pin .shape, .map-svg .pin text, .map-svg .hotel-pin rect, .map-svg .hotel-pin text { transform: scale(1.7); }
  .map-svg .pin .shape { stroke-width: 2; }
}
