/* YASUMIBI — hotel page / app shell (bottom tab bar, booking bar, sheet). Mobile first. */
body.app { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
.crumb { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 8px; overflow-x: auto; white-space: nowrap; }
.crumb a { text-decoration: none; }
.crumb b { color: var(--ink); }

/* hero */
.hhero { margin-top: 12px; }
.hphoto { position: relative; aspect-ratio: 16 / 9; max-height: 340px; width: 100%; background: var(--pine) center / cover no-repeat; }
.hphoto .credit { position: absolute; right: 8px; bottom: 4px; font-size: 11px; color: #fff; opacity: .9; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.hcard { position: relative; margin-top: -48px; background: var(--raised); border: 3px solid var(--ink); padding: 16px 16px 14px; }
@media (min-width: 900px) { .hcard { max-width: 640px; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 13px; font-weight: 700; border: 1px solid var(--hair); padding: 1px 8px 2px; border-radius: 999px; color: var(--muted); }
.hcard h1 { font-family: var(--f-min); font-weight: 800; font-size: clamp(34px, 10vw, 52px); line-height: 1.1; margin: 10px 0 8px; letter-spacing: .02em; }
.hcard h1 small { display: block; font: 700 13px var(--f-sans); letter-spacing: .02em; color: var(--muted); margin-top: 4px; }
.hk { border-top: 1px solid var(--hair); padding-top: 10px; }
.kl { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.tag { background: var(--marker); color: var(--on-marker); font: 900 13px var(--f-sans); padding: 1px 8px 3px; letter-spacing: .02em; }
.kp { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 2px; }
.num { font-family: var(--f-num); font-weight: 700; font-variant-numeric: lining-nums; }
.kp .num { font-size: clamp(38px, 11vw, 54px); line-height: 1.1; }
.kp .u { font-size: 13px; font-weight: 700; color: var(--muted); }
.kr { font-weight: 900; font-size: 15px; color: var(--cheap); }
.kr small { font-weight: 700; font-size: 12px; color: var(--muted); margin-left: 6px; }

/* switch */
.sw { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; min-height: 48px; }
.sw input { position: absolute; opacity: 0; pointer-events: none; }
.track { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--sold); position: relative; transition: background .15s; }
.knob { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.sw input:checked + .track { background: var(--cheap); }
.sw input:checked + .track .knob { transform: translateX(18px); }
.sw input:focus-visible + .track { outline: 2px solid var(--pine); outline-offset: 2px; }
.swl { font-weight: 900; font-size: 14px; line-height: 1.3; }
.swl small { display: block; font-weight: 700; font-size: 12px; color: var(--muted); }

/* Rakuten Card band — the loud one */
.rcband { position: relative; display: grid; gap: 2px; margin: 22px 6px 8px 0; padding: 16px 16px 14px; background: var(--marker); color: var(--on-marker); border: 3px solid #15171c; box-shadow: 6px 6px 0 #15171c; text-decoration: none; }
.rcband .pr { position: absolute; top: 8px; right: 10px; font: 700 11px var(--f-sans); letter-spacing: .02em; opacity: .7; }
.rcband .k { font-weight: 900; font-size: 15px; }
.rcband .big { display: flex; align-items: baseline; gap: 6px; line-height: 1; margin: 4px 0 2px; }
.rcband .big b { font-family: var(--f-num); font-weight: 700; font-size: clamp(52px, 16vw, 76px); letter-spacing: -.01em; font-variant-numeric: lining-nums; color: #15171c; }
.rcband .big span { font-weight: 900; font-size: 18px; }
.rcband .s { font-size: 13px; font-weight: 700; }
.rcband .go { margin-top: 10px; display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; background: #15171c; color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .02em; }
.rcband:active { transform: translate(3px, 3px); box-shadow: 3px 3px 0 #15171c; }

/* calendar */
.blk { margin-top: 32px; }
.mtabs { display: flex; gap: 0; margin-top: 12px; border-bottom: 1px solid var(--hair); align-items: flex-end; }
.mtabs button { font: 900 15px var(--f-sans); background: none; border: 0; border-bottom: 3px solid transparent; padding: 8px 14px 8px; color: var(--muted); cursor: pointer; min-height: 44px; }
.mtabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.mtabs .soon { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--muted); padding-bottom: 10px; }
.cardnote { font-size: 13px; font-weight: 700; background: color-mix(in srgb, var(--marker) 30%, transparent); border-left: 3px solid var(--marker); padding: 6px 10px; margin: 6px 0 8px; }
.hcal .grid { margin-top: 6px; }
.hcal .day { min-height: 54px; }
.hcal .day.dim { opacity: .3; }
.hcal .day .rp { font-size: 10px; font-weight: 700; line-height: 1; opacity: .9; }

/* range */
.range { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.range > div { padding: 12px 10px 12px 0; border-bottom: 1px solid var(--hair); min-width: 0; }
.range > div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--hair); }
.range .l { font-size: 13px; font-weight: 700; color: var(--muted); }
.range .v { font-family: var(--f-num); font-weight: 700; font-size: clamp(22px, 6.4vw, 30px); line-height: 1.15; font-variant-numeric: lining-nums; }
.range .v.up { color: var(--high); } .range .v.ok { color: var(--cheap); }
.range .d { font-size: 12px; font-weight: 700; color: var(--muted); }

/* features */
.feat { list-style: none; margin: 10px 0 0; padding: 0; }
.feat li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15px; }
.tbd { font-size: 13px; font-weight: 700; color: var(--muted); border: 1px dashed var(--muted); padding: 0 8px; border-radius: 4px; }
.note { font-size: 13px; color: var(--muted); }

/* peers */
.peers { list-style: none; margin: 8px 0 0; padding: 0; }
.peers a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair); text-decoration: none; min-height: 56px; }
.pn { font-family: var(--f-min); font-weight: 800; font-size: 16px; min-width: 0; }
.pn small, .pv small { display: block; font: 700 12px var(--f-sans); color: var(--muted); }
.pv { text-align: right; font-family: var(--f-num); font-weight: 700; font-size: 20px; white-space: nowrap; }

/* booking bar (sits on the tab bar) */
.bar { position: fixed; left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom, 0px)); z-index: 30; background: var(--raised); border-top: 3px solid var(--ink); display: flex; align-items: center; gap: 12px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); }
.bi { flex: 1; min-width: 0; }
.bw { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.ba span { font-family: var(--f-num); font-weight: 700; font-size: 24px; line-height: 1.1; }
.ba small { font-size: 12px; font-weight: 900; color: var(--cheap); }
.bcta { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 108px; min-height: 48px; background: var(--cta); color: var(--on-cta); font-weight: 900; font-size: 16px; text-decoration: none; letter-spacing: .02em; }

/* bottom tab bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 31; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-top: 1px solid var(--hair); padding-bottom: env(safe-area-inset-bottom, 0px); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; text-decoration: none; font-size: 12px; font-weight: 700; color: var(--muted); }
.tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current="page"] { color: var(--ink); }
.tabbar .t-otoku { color: var(--ink); }
.tabbar .t-otoku span { background: var(--marker); color: var(--on-marker); padding: 0 6px; font-weight: 900; }

/* booking sheet */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(10,12,14,.5); }
.bsheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; background: var(--raised); border-top: 3px solid var(--ink); border-radius: 16px 16px 0 0; padding: 10px 20px calc(20px + env(safe-area-inset-bottom, 0px)); max-width: 640px; margin: 0 auto; animation: up .2s ease-out; }
@keyframes up { from { transform: translateY(40%); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bsheet { animation: none; } }
.grab { width: 40px; height: 4px; border-radius: 2px; background: var(--hair); margin: 0 auto 10px; }
.bsheet h2 { font-family: var(--f-min); font-weight: 800; font-size: 21px; margin: 4px 0 12px; }
.steps { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; padding: 10px 12px; border: 1px solid var(--hair); }
.steps li::before { content: counter(s); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; }
.steps b { font-size: 15px; }
.steps span { font-size: 13px; font-weight: 700; color: var(--muted); }
.steps li.hot { background: var(--marker); color: var(--on-marker); border: 2px solid #15171c; }
.steps li.hot span { color: var(--on-marker); }
.steps li.hot span b { font-family: var(--f-num); font-size: 18px; color: #15171c; }
.bs-main { display: flex; align-items: center; justify-content: center; min-height: 52px; background: #15171c; color: #fff; text-decoration: none; font-weight: 900; font-size: 16px; }
.bs-skip { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 4px; font-weight: 700; font-size: 14px; color: var(--ink); }
.bs-x { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; }

/* otoku page */
.oh { font-family: var(--f-min); font-weight: 800; font-size: clamp(32px, 9vw, 48px); line-height: 1.25; margin: 20px 0 8px; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ways li { border: 3px solid var(--ink); padding: 16px; display: grid; gap: 6px; background: var(--raised); }
.ways li.hot { background: var(--marker); color: var(--on-marker); box-shadow: 6px 6px 0 #15171c; }
.ways .no { font-family: var(--f-num); font-weight: 700; font-size: 28px; line-height: 1; }
.ways b { font-size: 20px; font-weight: 900; }
.ways p { margin: 0; font-size: 14px; }
.ways a { font-weight: 900; }
.calc { background: #fff; color: #15171c; border: 2px solid #15171c; padding: 12px; display: grid; gap: 6px; }
.calc label { font-size: 13px; font-weight: 900; }
.ci { display: flex; align-items: center; gap: 6px; border-bottom: 2px solid #15171c; }
.ci span { font-family: var(--f-num); font-size: 22px; font-weight: 700; }
.ci input { flex: 1; min-width: 0; border: 0; font: 700 24px var(--f-num); padding: 6px 0; background: transparent; color: #15171c; }
.cr { font-weight: 700; font-size: 14px; }
.cr b { font-family: var(--f-num); font-size: 26px; color: #15171c; }
.cr small { display: block; font-size: 12px; color: #5e6660; }
.soonbtn { justify-self: start; font-size: 13px; font-weight: 700; border: 1px dashed currentColor; padding: 4px 10px; opacity: .8; }
.ways li, .calc, .ci { min-width: 0; }
.ci input { width: 100%; }
body.app:not(:has(.bar)) { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
.num, .rcband .big b, .range .v, .pv, .ba span, .steps li.hot span b, .ways .no, .ci span, .ci input, .cr b { font-stretch: 100%; font-weight: 800; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; }
.hcard h1 { font-weight: 800; letter-spacing: 0; }
.pn { font-weight: 800; }
.bsheet h2, .oh { font-weight: 800; letter-spacing: 0; }
/* hotel photo hero */
.hphoto { display: block; overflow: hidden; }
.hphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room { margin: 16px 0 0; }
.room img { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; display: block; }
.room figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.acc { display: grid; grid-template-columns: 6em 1fr; gap: 6px 12px; margin: 16px 0 0; font-size: 14px; }
.acc dt { font-weight: 700; } .acc dd { margin: 0; }
.peers a { justify-content: flex-start; }
.pth { width: 72px; height: 48px; object-fit: cover; border-radius: 4px; flex: none; background: var(--mist); }
.peers .pn { flex: 1; }
/* type hierarchy */
.hcard h1 { font-weight: 700; font-size: clamp(30px, 8.6vw, 44px); }
.kp .num { font-size: clamp(34px, 10vw, 48px); }
.pn { font-weight: 700; font-size: 16px; }
.pv { font-size: 18px; }
.range .v { font-size: clamp(20px, 5.8vw, 26px); }
.feat li { font-size: 15px; }
.chips span { font-weight: 400; }
.swl small, .bw { font-weight: 400; }
/* hero photo: whole picture, no crop */
.hphoto { aspect-ratio: auto; max-height: none; height: auto; max-width: 760px; margin: 0 auto; }
.hphoto img { height: auto; object-fit: fill; }
.hphoto .credit { right: 8px; }
@media (min-width: 900px) { .hcard { margin-top: -32px; } }
.pth { height: auto; aspect-ratio: auto; object-fit: fill; }
.room img { aspect-ratio: auto; object-fit: fill; height: auto; }
.kl .tag { flex: none; white-space: nowrap; }
/* calmer hotel header (2026-10-21) */
.hcard { border: 1px solid var(--hair); border-radius: 10px; padding: 14px 16px; margin-top: -24px; box-shadow: 0 2px 10px rgba(21,23,28,.06); }
.hcard h1 { font-size: clamp(22px, 6vw, 30px); margin: 8px 0 4px; line-height: 1.3; }
.hcard h1 small { font-size: 12px; font-weight: 400; margin-top: 2px; }
.chips span { font-size: 12px; padding: 0 8px 1px; }
.kl { font-size: 14px; }
.kp .num { font-size: clamp(26px, 7.4vw, 34px); }
.sw { padding: 8px 12px; min-height: 44px; margin-top: 10px; }
.swl { font-size: 13px; }
/* savings box replaces the big yellow band */
.sv { margin: 20px 0 0; border: 1px solid var(--hair); border-radius: 10px; overflow: hidden; background: var(--raised); }
.sv-hd { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; background: color-mix(in srgb, var(--marker) 55%, var(--raised)); }
.sv-hd h2 { margin: 0; font-size: 15px; font-weight: 700; }
.sv-hd .pr { font-size: 11px; color: var(--muted); }
.sv-rows { list-style: none; margin: 0; padding: 6px 16px 0; }
.sv-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--hair); font-size: 14px; }
.sv-rows b { font-family: var(--f-num); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sv-rows li.dn b { color: var(--cheap); }
.sv-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 16px 4px; }
.sv-total span { font-weight: 700; font-size: 14px; }
.sv-total b { font-family: var(--f-num); font-weight: 800; font-size: 26px; color: var(--cheap); font-variant-numeric: tabular-nums; }
.sv-note { margin: 0; padding: 0 16px 10px; font-size: 12px; color: var(--muted); }
.sv-go { display: flex; justify-content: center; align-items: center; min-height: 46px; margin: 0 16px 14px; border-radius: 6px; background: var(--cta); color: var(--on-cta); font-weight: 700; font-size: 14px; text-decoration: none; }
.mtabs { overflow-x: auto; scrollbar-width: none; } .mtabs button { flex: none; padding: 8px 12px; }
#bar[hidden], section.sv[hidden] { display: none !important; }

/* 宿の特徴（楽天トラベル情報） */
.intro { margin: 14px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--ink); }
.intro p { margin: 0; font-size: 15px; line-height: 1.8; font-weight: 700; }
.intro cite { display: block; margin-top: 4px; font-style: normal; font-size: 12px; color: var(--muted); }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 16px 0 0; font-size: 13px; }
.facts li { display: flex; gap: 6px; align-items: baseline; }
.facts span { color: var(--muted); }
.facts b { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-variant-numeric: tabular-nums; font-size: 14px; }
.facts .hi { color: var(--ink); font-weight: 700; background: var(--mist); border-radius: 999px; padding: 3px 10px; }
.rate { margin-top: 20px; }
.rate-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.rate-hd h3, .fac h3 { font-size: 14px; font-weight: 700; margin: 0; }
.rate-hd span { font-size: 12px; color: var(--muted); }
.rate-hd b { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-size: 18px; color: var(--ink); margin-right: 1px; }
.bars { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 8.6em minmax(0, 1fr) 2.6em; align-items: center; gap: 10px; font-size: 13px; }
.bars .rl { color: var(--muted); }
.bars .rb { height: 6px; background: var(--mist); border-radius: 3px; overflow: hidden; }
.bars .rb i { display: block; height: 100%; background: #9aa09c; border-radius: 3px; }
.bars .tp .rb i { background: var(--ink); }
.bars .tp .rl { color: var(--ink); font-weight: 700; }
.bars .rv { font-family: var(--f-num); font-weight: 800; font-stretch: 100%; font-variant-numeric: tabular-nums; text-align: right; }
@media (min-width: 760px) { .bars { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.rev { margin: 22px 0 0; padding: 14px 16px; background: var(--mist); border-radius: 10px; }
.rev figcaption { font-size: 12px; color: var(--muted); }
.rev blockquote { margin: 6px 0 0; }
.rev p { margin: 0; font-size: 14px; line-height: 1.8; }
.rev a { display: inline-flex; gap: 6px; margin-top: 8px; font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }
.fac { margin-top: 20px; }
.fac ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 8px 0 0; }
.fac li { font-size: 13px; padding: 4px 10px; border: 1px solid var(--hair); border-radius: 999px; }
.blk .room { margin-top: 22px; }
.bars .rl { white-space: nowrap; }
.hcal .day.past { background: transparent; color: var(--muted); opacity: .45; border-color: transparent; }
@media (min-width: 900px) { .bar { bottom: 0; } body.app { padding-bottom: 96px; } body.app:not(:has(.bar)) { padding-bottom: 24px; } .bar { padding-left: max(24px, calc((100vw - 1072px) / 2)); padding-right: max(24px, calc((100vw - 1072px) / 2)); } }
.bsheet .bs-note { font-size: 12px; line-height: 1.6; color: var(--muted); margin: 10px 0 0; }
.sv-apply { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 12px 16px 0; border-radius: 8px; background: var(--cta); color: var(--on-cta); font-weight: 700; font-size: 15px; text-decoration: none; }
.sv .sv-go { background: transparent; color: var(--ink); border: 0; min-height: 40px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
