/* ラブホの王様 v3 試作「夜のコンシェルジュ」（2026-11-15）。元は src/style.css（v2）。
   方針: 夜は濃紺（真っ黒にしない）、昼は温かい明るい色（純白にしない）。金は線・紋章・押せる所の印だけに使い、面には広げない。
   順位の印（王冠・最安）は使わない。文字は 13px 未満を使わない。押せる所は 44px 以上（主な操作は 48px）。 */

/* ---------- 色（昼） ---------- */
:root {
  --bg: #F4F0E8; --surface: #FFFCF6; --surface-2: #F7F2E9; --plate: #F6EFE0; --plate-line: #E2D2AC;
  --ink: #1C1F2E; --ink-2: #484C5D; --line: #E6DFD1; --line-2: #CFC5B1;
  --act: #1F2B52; --act-hover: #16203F; --act-ink: #FFFCF6; --act-weak: #E8EAF2; --act-text: #1F2B52;
  --gold: #8A6A1E; --gold-line: #CDB37A;
  --c-direct: #1E6B4A; --c-official: #1F5D96; --c-estimate: #9C4A00; --c-unknown: #5F5E6E;
  --ok: #1E6B4A; --warn: #9C4A00; --warn-bg: #FBEEDB; --info: #1F5D96; --info-bg: #EAF0F8;
  --shadow: 0 1px 2px rgba(28, 31, 46, .06), 0 8px 22px -14px rgba(28, 31, 46, .28);
  --head-bg: #121628; --head-ink: #EFE9DC; --head-sub: #C9C2B4; --head-gold: #D9BC7A;
  --f-ui: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", YuGothic, "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif;
  --f-display: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Yu Mincho", YuMincho, "BIZ UDPMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --r-l: 16px; --r-m: 12px; --r-s: 9px;
  color-scheme: light;
}
/* ---------- 色（夜）: 端末が暗い設定のとき（手動で「明るい」にしていなければ）と、手動で「暗い」にしたとき ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1120; --surface: #161A2B; --surface-2: #1D2236; --plate: #1B2034; --plate-line: #4B4532;
    --ink: #ECE6DA; --ink-2: #B3AEBB; --line: #2A3048; --line-2: #3D4464;
    --act: #D9BC7A; --act-hover: #E7CF98; --act-ink: #141726; --act-weak: #2A2B33; --act-text: #DFC48A;
    --gold: #D9BC7A; --gold-line: #7A6A43;
    --c-direct: #74D3A6; --c-official: #8EB8F0; --c-estimate: #F2A86A; --c-unknown: #A6A2B4;
    --ok: #74D3A6; --warn: #F2A86A; --warn-bg: #2B2319; --info: #8EB8F0; --info-bg: #19223A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35);
    --head-bg: #0A0D19;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1120; --surface: #161A2B; --surface-2: #1D2236; --plate: #1B2034; --plate-line: #4B4532;
  --ink: #ECE6DA; --ink-2: #B3AEBB; --line: #2A3048; --line-2: #3D4464;
  --act: #D9BC7A; --act-hover: #E7CF98; --act-ink: #141726; --act-weak: #2A2B33; --act-text: #DFC48A;
  --gold: #D9BC7A; --gold-line: #7A6A43;
  --c-direct: #74D3A6; --c-official: #8EB8F0; --c-estimate: #F2A86A; --c-unknown: #A6A2B4;
  --ok: #74D3A6; --warn: #F2A86A; --warn-bg: #2B2319; --info: #8EB8F0; --info-bg: #19223A;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35);
  --head-bg: #0A0D19;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--f-ui); }
input, select, button, textarea { font: inherit; color: inherit; }
select option { background: var(--surface); color: var(--ink); }
button, select, input, summary, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--act); outline-offset: 2px; }
a { color: var(--act-text); text-underline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--surface); padding: 10px 14px; border-radius: var(--r-s); }
.skip:focus { left: 12px; }
[hidden] { display: none !important; }


/* ---------- 製品名の帯（明暗どちらでも濃紺。夜に急にまぶしい白を出さない） ---------- */
/* 背景はブランド用の生成画像（assets/brand。実在のホテルではない）。左の文字の下は暗く沈め、右にアーチを見せる */
.brand { position: relative; background: var(--head-bg) url("../assets/brand/hero-desktop.webp") no-repeat right 22% / auto 125%; color: var(--head-ink); padding: max(20px, env(safe-area-inset-top)) 16px 34px; border-bottom: 1px solid color-mix(in srgb, var(--head-gold) 45%, transparent); box-shadow: 0 3px 0 -2px color-mix(in srgb, var(--head-gold) 22%, transparent); }
.brand::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--head-bg) 0%, color-mix(in srgb, var(--head-bg) 82%, transparent) 42%, color-mix(in srgb, var(--head-bg) 35%, transparent) 72%, color-mix(in srgb, var(--head-bg) 20%, transparent) 100%); pointer-events: none; }
.hero-note { position: absolute; right: 12px; bottom: 6px; z-index: 1; margin: 0; font-size: 13px; line-height: 1.4; color: var(--head-sub); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
@media (min-width: 720px) { .brand { padding-top: max(58px, env(safe-area-inset-top)); padding-bottom: 70px; } .logo { font-size: 30px; } .logo .crest { width: 36px; height: 36px; } .tagline { font-size: 15px; margin-top: 4px; } }
.brand-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; }
.logo { margin: 0; display: inline-flex; align-items: center; gap: 9px; font: 600 23px/1.25 var(--f-display); letter-spacing: .12em; }
.logo .crest { width: 30px; height: 30px; color: var(--head-gold); stroke-width: 1.3; }
.tagline { grid-column: 1; margin: 0; font-size: 13px; color: var(--head-sub); }
.tagline .nw { white-space: nowrap; } /* M17: 地域が6つになり、狭い画面で「五反／田」のように地域名の途中で折れた。地域の区切り（・）で次の行へ */
.theme-btn { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--head-gold) 50%, transparent); border-radius: 999px; background: rgba(10, 13, 25, .6); color: var(--head-ink); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.theme-btn .ico { color: var(--head-gold); }
.theme-btn:hover { background: color-mix(in srgb, var(--head-gold) 14%, transparent); }
.theme-btn:focus-visible { outline-color: var(--head-gold); }
@media (max-width: 380px) { .tagline { font-size: 13px; } .theme-btn { padding: 0 11px; } .logo { font-size: 21px; letter-spacing: .08em; } }

/* ---------- 配置 ---------- */
.layout { max-width: 1180px; margin: 0 auto; padding: 16px 16px 24px; }
.main { min-width: 0; }
@media (min-width: 1080px) {
  .layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 24px; }
  .search { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain; }
  .mini { display: none !important; }
}

/* ---------- 検索（受付の机） ---------- */
.search { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold-line); border-radius: var(--r-l); padding: 16px; box-shadow: var(--shadow); }
.search-title { margin: 0 0 12px; font: 600 19px/1.3 var(--f-display); letter-spacing: .06em; }
@media (max-width: 1079px) { .search-title { font-size: 18px; margin-bottom: 10px; } .search { padding: 14px 12px; } }

/* 目的のボタン（押すと条件が入る。時刻はボタンに出す）。狭い所は1行ずつ、タブレットの幅は3つ並べる */
.purpose { display: grid; gap: 8px; }
.purpose button { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; column-gap: 10px; min-height: 56px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--r-m); background: var(--surface-2); color: var(--ink); text-align: left; cursor: pointer; transition: border-color .15s, background-color .15s; }
.purpose .ico { width: 22px; height: 22px; color: var(--gold); }
.purpose b { font-size: 16.5px; line-height: 1.3; }
.purpose .p-sub { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; text-align: right; line-height: 1.35; }
.purpose button:hover { border-color: var(--act); }
.purpose button.on { border-color: var(--act); background: var(--act-weak); box-shadow: inset 0 0 0 1px var(--act); }
.purpose button.on b { color: var(--act-text); }
@media (min-width: 560px) and (max-width: 1079px) {
  .purpose { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .purpose button { grid-template-columns: 1fr; row-gap: 2px; align-content: center; min-height: 92px; padding: 10px 14px; }
  .purpose .p-sub { text-align: left; }
}
.bpick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 10px; }
.bpick .bp-l { font-size: 15px; font-weight: 700; margin-right: 2px; }
.bpick button { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.bpick button:hover { border-color: var(--act); }
.bpick button.on { background: var(--act); border-color: var(--act); color: var(--act-ink); }
.kd { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.kd-l { flex: none; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.chips.kd-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -12px; padding-right: 12px; }
.kd-chips::-webkit-scrollbar { display: none; }
.kd-chips button { flex: none; white-space: nowrap; }
@media (min-width: 1080px) { .kd { align-items: flex-start; } .kd-l { padding-top: 12px; } .chips.kd-chips { flex-wrap: wrap; overflow: visible; margin-right: 0; padding-right: 0; } }
.cond-box { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cond-l { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.cond-l span { font-weight: 500; color: var(--ink-2); }
.see-res { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; margin-top: 12px; border-radius: 10px; background: var(--act); color: var(--act-ink); font-size: 16px; font-weight: 700; text-decoration: none; }
.see-res b { font-size: 19px; font-variant-numeric: tabular-nums; }
.see-res:hover { background: var(--act-hover); }
@media (min-width: 1080px) { .see-res { display: none; } }
.seg { display: flex; gap: 2px; padding: 3px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { flex: 1 0 auto; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--surface); color: var(--act-text); box-shadow: inset 0 -2px 0 var(--act), 0 1px 2px rgba(0, 0, 0, .14); }
.seg button:disabled { opacity: .45; cursor: not-allowed; }

.when { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 14px 0 2px; font-size: 17px; }
.w { color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.tok-wrap { display: inline-flex; flex-wrap: wrap; max-width: 100%; align-items: center; gap: 6px; } /* M16: Android の Chrome は時刻の欄が広く、「日にち・時刻・から」が画面の幅を2px 超えた。収まらないときは折り返す */
.tok { position: relative; display: inline-flex; }
.tok select, .tok input { appearance: none; -webkit-appearance: none; min-height: 48px; padding: 4px 10px; border: 1px solid var(--line-2); border-bottom: 2px solid var(--act); border-radius: 10px; background: var(--surface-2); color: var(--ink); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.tok select { padding-right: 27px; }
.tok input[type="time"] { max-width: 7.5em; } /* M16: Android の Chrome は時刻の欄を「0:15」に対して 180px と広く描き、「から」が次の行に落ちた */
.tok:has(select)::after { content: ""; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid var(--act-text); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }
.tok input[type=time] { min-width: 5.4em; }
.tok input[type=number] { width: 5.4em; cursor: text; }
.tok select:hover, .tok input:hover { border-color: var(--act); }
#date { margin-top: 8px; min-height: 46px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); color: var(--ink); font-size: 16px; }
.dayinfo { margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.dayinfo b { color: var(--warn); font-weight: 700; }
.dayinfo:empty { display: none; }
.hint { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
.hint:empty { display: none; }


.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 14px; }
.opt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.opt.wide { grid-column: span 2; }
@media (max-width: 340px) { .opt.wide { grid-column: auto; } }
.opt-l { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.opt select, .yen-in { width: 100%; min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface-2); color: var(--ink); font-size: 16px; }
.opt select { padding: 0 8px; }
.yen-in { display: flex; align-items: center; padding: 0 10px; gap: 4px; }
.yen-in:focus-within { outline: 2px solid var(--act); outline-offset: 1px; }
.yen-in input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; font-variant-numeric: tabular-nums; outline: none; }
.yen-in span { color: var(--ink-2); font-size: 14.5px; }
.opt.focus .yen-in { border-color: var(--act); border-width: 2px; }

.more { margin-top: 14px; border-top: 1px solid var(--line); }
.more-t { min-width: 0; }
.more-in > .opts:first-child { margin-top: 2px; }
.more summary { display: flex; align-items: center; gap: 8px; min-height: 50px; color: var(--act-text); font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.more[open] summary::after { transform: rotate(-135deg); }
.count { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 999px; background: var(--act); color: var(--act-ink); font-size: 13px; text-align: center; }
.count:empty { display: none; }
.more-l { margin: 4px 0 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px 0 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 14.5px; cursor: pointer; }
.chips button .ico { color: var(--ink-2); }
.chips button:hover { border-color: var(--act); }
.chips button.on { background: var(--act); border-color: var(--act); color: var(--act-ink); }
.chips button.on .ico { color: var(--act-ink); }
.check { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--act); flex: none; }

/* スマホで検索欄を過ぎたら出す帯 */
.mini { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 8px 16px; padding-top: max(8px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--surface) 95%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--gold-line); }
.mini-cond { margin: 0; flex: 1; min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.mini-cond span { color: var(--ink-2); font-weight: 600; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--act-text); font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; }

/* ---------- 結果の見出し ---------- */
.rhead { display: flex; flex-direction: column; gap: 12px; margin: 22px 0 16px; }
@media (min-width: 1080px) { .rhead { margin-top: 2px; } }
@media (min-width: 720px) { .rhead { flex-direction: row; align-items: flex-end; justify-content: space-between; } .rhead .sort { flex: none; } }
.s-cond { margin: 0; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.s-count { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 14.5px; color: var(--ink-2); }
.s-count b { font: 700 24px/1 var(--f-ui); color: var(--ink); margin: 0 1px; font-variant-numeric: tabular-nums; }
.s-range { font-size: 14.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.s-note { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }
.s-ask { margin: 6px 0 0; font-size: 15.5px; font-weight: 600; }
.empty.ask > p:first-child { margin: 0 0 10px; font-weight: 700; }
.empty.ask .small { margin: 10px 0 0; }
.s-mem { margin: 6px 0 0; display: inline-flex; gap: 6px; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--act-weak); color: var(--act-text); font-size: 13.5px; font-weight: 700; }
.s-warn { margin: 6px 0 0; display: flex; gap: 6px; font-size: 14px; color: var(--warn); }
.s-warn .ico { margin-top: 4px; }
.s-more { margin: 4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.s-more a { color: inherit; }

/* ---------- ホテルのカード ---------- */
.results:focus { outline: none; }
.hotel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "price" "room" "notes" "foot"; gap: 14px; margin: 0 0 16px; padding: 18px 16px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); }
.hotel.has-gal { grid-template-areas: "gal" "head" "price" "room" "notes" "foot"; padding-top: 0; overflow: hidden; }
.hotel.has-gal .gal { margin: 0 -16px; }
@media (min-width: 720px) {
  .hotel { grid-template-columns: minmax(0, 1fr) 270px; grid-template-areas: "head price" "room price" "notes price" "foot foot"; grid-template-rows: auto auto 1fr auto; column-gap: 22px; padding: 20px 22px 18px; }
  .hotel.has-gal { grid-template-areas: "gal gal" "head price" "room price" "notes price" "foot foot"; grid-template-rows: auto auto auto 1fr auto; padding-top: 0; }
  .hotel.has-gal .gal { margin: 0 -22px 4px; }
}
.h-head { grid-area: head; min-width: 0; }
.h-room { grid-area: room; min-width: 0; }
.h-notes { grid-area: notes; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.h-notes:empty { display: none; }
.h-foot { grid-area: foot; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding-top: 14px; border-top: 1px solid var(--line); }

.h-name { margin: 0; font: 600 22px/1.4 var(--f-display); letter-spacing: .04em; text-wrap: balance; }
.h-name::after { content: ""; display: block; width: 36px; height: 1px; margin-top: 8px; background: var(--gold-line); }
.h-name button { all: unset; cursor: pointer; overflow-wrap: anywhere; }
.h-name button:hover { color: var(--act-text); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.h-name button:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; border-radius: 4px; }
@media (min-width: 720px) { .h-name { font-size: 24px; } }
.h-meta { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14.5px; color: var(--ink-2); }
.h-meta span { display: inline-flex; align-items: center; gap: 5px; min-width: 0; }
.h-meta .ico { width: 16px; height: 16px; }

.room-name { margin: 0; font-size: 15.5px; font-weight: 700; overflow-wrap: anywhere; }
.room-spec { font-weight: 500; color: var(--ink-2); font-size: 14px; margin-left: 6px; }
.feat { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; }
.feat li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px 4px 9px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2); font-size: 13.5px; }
.feat .ico { width: 16px; height: 16px; color: var(--gold); }
.feat li.ac-no { color: var(--ink-2); }
.feat li.rep { border-style: dashed; color: var(--ink-2); }
.high { margin: 10px 0 0; font-size: 14.5px; line-height: 1.7; overflow-wrap: anywhere; }
.high .more-n { color: var(--ink-2); font-size: 13.5px; }

/* 料金の札（この画面でいちばん目立たせる所） */
.plate { grid-area: price; align-self: start; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; background: var(--plate); border: 1px solid var(--plate-line); border-radius: var(--r-m); min-width: 0; }
.p-l, .p-r { min-width: 0; }
.p-r .p-time { margin-top: 0; }
.p-cert { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; }
.p-cert .cert { margin: 0; }
.p-src { font-size: 13px; color: var(--ink-2); text-underline-offset: 3px; white-space: nowrap; }
.p-src:hover { color: var(--act-text); }
/* M8: 出典は公式の料金ページへの入口。スマホでは押せる高さ 44px を取る（見た目の文字は小さいまま） */
@media (max-width: 719px) { .p-src { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; margin: -6px -4px; } .h-name button { padding: 7px 0; } }
/* 鮮度の札（J2）: 変更を見つけて確認中・確認が古い。額は消さず、札だけを出す */
.fr { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.fr.chg { color: var(--warn); background: var(--warn-bg); }
.fr.old { color: var(--c-unknown); border: 1px dashed currentColor; }
.p-chg { margin: 2px 0 0; display: flex; gap: 6px; align-items: flex-start; font-size: 13.5px; line-height: 1.6; color: var(--warn); overflow-wrap: anywhere; }
.p-chg .ico { flex: none; margin-top: 3px; }
.s-more .fr { margin-right: 4px; }
/* 人数（J3）: 公式に書かれていない利用の札（「未確認」）。額の確かさとは別 */
.p-who { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.l-amt small { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-right: 2px; }
.foot .credit { font-size: 13px; color: var(--ink-2); }
.foot .credit a { color: inherit; }
.p-plan { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink-2); overflow-wrap: anywhere; }
.p-normal { margin: 2px 0 0; font-size: 14px; color: var(--ink-2); }
.p-normal s { text-decoration-thickness: 1px; }
.p-lt { margin: 2px 0 0; font-size: 13px; color: var(--ink-2); }
.p-lt small { display: block; font-size: 12px; }
.p-amt { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.amount { font: 800 32px/1.15 var(--f-ui); letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--ink); }
.amount .u { font-size: 16px; font-weight: 700; margin-left: 1px; letter-spacing: 0; }
.amount .from { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-right: 4px; letter-spacing: 0; }
@media (min-width: 720px) { .amount { font-size: 35px; } }
.p-tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 13px; font-weight: 700; }
.p-tag.mem { background: var(--act); color: var(--act-ink); }
.tax { display: inline-block; padding: 0 7px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.tax.guess { border-style: dashed; color: var(--warn); }
.p-time { margin: 8px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.p-time .ico { color: var(--ink-2); }
.p-time .len { color: var(--ink-2); font-weight: 500; font-size: 14px; }
.p-same { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ok); }
.p-basis { margin: 4px 0 0; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.cert { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; font-weight: 700; }
.cert::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.cert.direct { color: var(--c-direct); } .cert.official { color: var(--c-official); }
.cert.estimate { color: var(--c-estimate); } .cert.unknown { color: var(--c-unknown); }
.cert.estimate::before { background: transparent; border: 2px solid currentColor; width: 10px; height: 10px; box-sizing: border-box; }
.cert.unknown::before { background: transparent; border: 2px dashed currentColor; width: 10px; height: 10px; box-sizing: border-box; }

/* 金額を左右する注意・特典・案内 */
.warns { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.warns li { display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border-radius: 10px; background: var(--warn-bg); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; min-width: 0; }
.warns .ico { color: var(--warn); margin-top: 3px; width: 16px; height: 16px; }
.undetermined { margin: 0; font-weight: 700; color: var(--warn); font-size: 15px; }
.ben { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.6; }
.ben .ico { width: 16px; height: 16px; margin-top: 3px; }
.ben.ok { color: var(--ok); font-weight: 600; }
.ben.ng, .ben.hint { color: var(--ink-2); }
.ben .linkbtn { margin-left: 4px; }
.later { margin: 0; display: flex; gap: 8px; align-items: flex-start; padding: 9px 11px; border: 1px dashed color-mix(in srgb, var(--info) 55%, transparent); border-radius: 10px; background: var(--info-bg); font-size: 14.5px; line-height: 1.6; }
.later .ico { color: var(--info); margin-top: 3px; width: 16px; height: 16px; }
.later b { font-variant-numeric: tabular-nums; }

/* 折りたたみ（追加料金の条件・料金の前提・ほかのプラン・会員特典） */
.fold { font-size: 14px; }
.fold > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--act-text); font-weight: 700; cursor: pointer; list-style: none; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); transition: transform .15s; margin-right: 2px; }
.fold[open] > summary::before { transform: rotate(45deg); }
.fold > summary .n { color: var(--ink-2); font-weight: 600; }
.fold ul { margin: 4px 0 6px; padding-left: 1.3em; color: var(--ink-2); }
.fold li { margin: 3px 0; overflow-wrap: anywhere; min-width: 0; }
.fold .small { color: var(--ink-2); }
.folds { display: flex; flex-wrap: wrap; column-gap: 18px; }
.folds > details[open] { flex-basis: 100%; }

.alts { margin: 4px 0 6px; }
.alt { display: grid; grid-template-columns: 7.6em minmax(0, 1fr); gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.alt:first-child { border-top: 0; }
.alt .a-amt { font-weight: 800; font-size: 16px; font-variant-numeric: tabular-nums; }
.alt .a-amt small { display: block; font-size: 13px; font-weight: 700; color: var(--act-text); }
.alt .a-what { min-width: 0; overflow-wrap: anywhere; }
.alt .a-what span { display: block; color: var(--ink-2); font-size: 13.5px; }

/* カードの下端 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 18px; border-radius: 10px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn .ico { width: 17px; height: 17px; }
.btn.primary { background: var(--act); color: var(--act-ink); }
.btn.primary:hover { background: var(--act-hover); }
.btn.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn.ghost:hover { border-color: var(--act); color: var(--act-text); }
.h-foot .btn.primary { flex: 1 1 auto; }
@media (min-width: 720px) { .h-foot .btn.primary { flex: 0 0 auto; } }
.linkbtn { background: none; border: 0; padding: 0; color: var(--act-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; font-weight: 700; }

/* ---------- 写真の枠（自動では動かさない。スワイプ・ボタン・矢印キーで送る） ---------- */
.gal { grid-area: gal; position: relative; min-width: 0; }
.gal-track { position: relative; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline-offset: -3px; }
.slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 16 / 10; scroll-snap-align: start; background: var(--surface-2); overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption { position: absolute; left: 8px; bottom: 8px; max-width: calc(100% - 90px); padding: 2px 8px; border-radius: 6px; background: rgba(10, 13, 25, .72); color: #F1ECE2; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.in-card .slide { aspect-ratio: 16 / 9; }
@media (min-width: 720px) { .in-card .slide { flex-basis: calc((100% - 12px) / 3); aspect-ratio: 4 / 3; } }
.in-detail { margin-top: 14px; }
.in-detail .gal-track { padding: 0 18px; scroll-padding: 0 18px; }
.in-detail .slide { flex-basis: min(88%, 560px); border-radius: var(--r-m); }
.gal-n { position: absolute; right: 10px; bottom: 10px; margin: 0; padding: 1px 10px; border-radius: 999px; background: rgba(10, 13, 25, .72); color: #F1ECE2; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; }
.in-detail .gal-n { right: 28px; }
.gal-b { position: absolute; top: 50%; display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(10, 13, 25, .66); color: #F1ECE2; cursor: pointer; }
.gal-b .ico { width: 20px; height: 20px; }
.gal-b.prev { left: 10px; } .gal-b.next { right: 10px; }
.in-detail .gal-b.prev { left: 26px; } .in-detail .gal-b.next { right: 26px; }
@media (hover: hover) and (pointer: fine) { .gal-b { display: inline-flex; } .gal-b:hover { background: rgba(10, 13, 25, .85); } }

/* ---------- 一覧の下の組 ---------- */
.grp { margin: 32px 0 4px; font: 600 19px/1.4 var(--f-display); letter-spacing: .04em; }
.grp small { font: 600 14px var(--f-ui); color: var(--ink-2); margin-left: 6px; letter-spacing: 0; }
.grp-note { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.listbox { margin: 0 0 14px; padding: 4px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.listbox > summary { display: flex; align-items: center; gap: 8px; min-height: 54px; font-weight: 700; cursor: pointer; list-style: none; }
.listbox > summary::-webkit-details-marker { display: none; }
.listbox > summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border: solid var(--act-text); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.listbox[open] > summary::after { transform: rotate(-135deg); }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.lrow .l-name { font: 600 16px/1.45 var(--f-display); }
.lrow .l-name button { all: unset; cursor: pointer; overflow-wrap: anywhere; }
.lrow .l-name button:hover { color: var(--act-text); text-decoration: underline; }
.lrow .l-name button:focus-visible { outline: 2px solid var(--act); outline-offset: 2px; }
.lrow .l-amt { font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.lrow .l-sub { grid-column: 1 / -1; color: var(--ink-2); font-size: 13.5px; overflow-wrap: anywhere; }
.lrow .later { grid-column: 1 / -1; margin-top: 4px; }
.empty { padding: 20px; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-l); font-size: 15px; }

/* ---------- 足元 ---------- */
.foot { margin-top: 36px; padding: 18px 0 40px; border-top: 1px solid var(--gold-line); font-size: 13.5px; color: var(--ink-2); }
.foot-h { margin: 0 0 10px; font: 600 16px/1.4 var(--f-display); color: var(--ink); letter-spacing: .04em; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px 18px; margin: 0 0 12px; }
.legend div { display: flex; flex-direction: column; }
.legend dt .cert { margin: 0; }
.legend dd { margin: 0 0 0 15px; }

/* ---------- 詳細 ---------- */
html:has(dialog[open]) { overflow: hidden; }
dialog#detail { width: min(800px, 100vw); max-width: 100vw; max-height: min(92vh, 100dvh); padding: 0; border: 0; border-radius: var(--r-l); background: var(--surface); color: var(--ink); overscroll-behavior: contain; box-shadow: 0 24px 60px -20px rgba(6, 8, 16, .6); }
dialog#detail::backdrop { background: rgba(8, 10, 20, .62); }
dialog#detail[open] { animation: sheet .22s ease-out; }
@keyframes sheet { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (max-width: 719px) {
  dialog#detail { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; inset: 0; }
}
#detailBody { padding: 0; }
.d-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 18px; padding-top: max(8px, env(safe-area-inset-top)); background: color-mix(in srgb, var(--surface) 95%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.d-top p { margin: 0; flex: 1; min-width: 0; font: 600 16px/1.3 var(--f-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity .15s; }
.d-top p.show { opacity: 1; }
.close { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 48px; min-height: 48px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; }
.close:hover { background: var(--surface-2); }
.close .ico { width: 22px; height: 22px; }
.d-hero { padding: 18px 18px 4px; }
.d-hero h2 { margin: 0; font: 600 27px/1.35 var(--f-display); letter-spacing: .04em; text-wrap: balance; overflow-wrap: anywhere; }
.d-hero h2::after { content: ""; display: block; width: 44px; height: 1px; margin-top: 10px; background: var(--gold-line); }
.d-addr { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.d-addr span { display: flex; gap: 6px; align-items: flex-start; margin-top: 3px; }
.d-addr a { color: inherit; }
.d-addr .ico { margin-top: 4px; width: 16px; height: 16px; }
.d-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.d-nav { position: sticky; top: 65px; z-index: 2; display: flex; gap: 6px; overflow-x: auto; padding: 10px 18px; background: var(--surface); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.d-nav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.d-nav a:hover { border-color: var(--act); color: var(--act-text); }
.d-sec { padding: 4px 18px 0; scroll-margin-top: 130px; }
.d-sec > h3 { margin: 28px 0 10px; font: 600 19px/1.4 var(--f-display); letter-spacing: .04em; }
.d-sec > h3 small { font: 500 13.5px var(--f-ui); color: var(--ink-2); margin-left: 8px; letter-spacing: 0; }
.d-quote { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 720px) { .d-quote { grid-template-columns: 290px minmax(0, 1fr); align-items: start; } }
.d-quote .h-notes, .d-quote .plate { grid-area: auto; }
.d-quote-none { padding: 14px; border: 1px dashed var(--line-2); border-radius: var(--r-m); font-size: 15px; }

/* 詳細の下の固定帯: 見込み額と公式サイト（いつでも押せる） */
.d-bar { position: sticky; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--surface) 96%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--gold-line); }
.d-bar-l { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.d-bar-amt { font: 800 23px/1.2 var(--f-ui); font-variant-numeric: tabular-nums; }
.d-bar-amt small { margin-left: 6px; font-size: 13px; font-weight: 700; color: var(--act-text); }
.d-bar-sub { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.d-bar .btn { flex: none; }
/* M8: 下の帯の右に「地図」と「公式サイト」。スマホでは詰めて、額の行が押しつぶされないようにする */
.d-bar-r { flex: none; display: flex; gap: 8px; }
@media (max-width: 479px) { .d-bar { gap: 8px; padding-left: 12px; padding-right: 12px; } .d-bar-r .btn { padding: 0 12px; } .d-bar-r .btn > .ico:last-of-type { display: none; } .d-bar-amt { font-size: 21px; } }
/* M8: 部屋の行を開いたときの「この額のプラン」と公式の部屋ページ */
.rc-plan { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 10px; font-size: 14px; line-height: 1.6; }
.rc-plan > span:first-of-type { display: inline-flex; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.rc-plan .ico { width: 15px; height: 15px; margin-top: 4px; flex: none; color: var(--ink-2); }
.rc-pick { margin: 0 0 10px; }
.rc-pick.small { font-size: 13.5px; color: var(--ink-2); }
.rc-tag.alt { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.q-sel { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; padding: 10px 12px; border-radius: var(--r-m); background: var(--plate); border: 1px solid var(--plate-line); font-size: 14px; line-height: 1.6; }
.q-sel .ico { width: 16px; height: 16px; margin-top: 4px; flex: none; color: var(--act-text); }
.rc-basis { flex-basis: 100%; font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.rc-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; }
/* M8: 割引・クーポン・会員特典の見出し */
.ben-h { margin: 14px 0 4px; font-size: 15px; font-weight: 700; }
.ben-h:first-child { margin-top: 0; }
.ben-h .n { font-weight: 600; color: var(--ink-2); font-size: 13.5px; }

.photo-ph { display: flex; gap: 10px; align-items: flex-start; margin: 14px 18px 0; padding: 11px 13px; border: 1px dashed var(--line-2); border-radius: var(--r-m); background: var(--surface-2); font-size: 14px; color: var(--ink-2); }
.photo-ph .ico { width: 22px; height: 22px; color: var(--ink-2); stroke-width: 1.5; margin-top: 1px; }
.photo-ph p { margin: 0; min-width: 0; flex: 1; }
.photo-ph b { color: var(--ink); }

.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.room { padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface-2); min-width: 0; }
.room h4 { margin: 0; font-size: 15.5px; overflow-wrap: anywhere; }
.room .r-spec { margin: 3px 0 0; font-size: 13.5px; color: var(--ink-2); }
.room .r-price { display: inline-block; margin-top: 8px; padding: 3px 11px; border-radius: 999px; background: var(--plate); border: 1px solid var(--plate-line); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.room ul.r-feat { margin: 8px 0 0; padding-left: 1.2em; font-size: 14px; }
.room ul.r-feat li { overflow-wrap: anywhere; }
.room ul.r-feat li.part { color: var(--ink-2); }
.equip-all { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; margin: 9px 0 0; padding: 0; }
.equip-all li { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px 2px 6px; border-radius: 6px; font-size: 13px; border: 1px solid var(--line); background: var(--surface); }
.equip-all li .ico { width: 14px; height: 14px; }
.equip-all li.yes { border-color: var(--gold-line); }
.equip-all li.yes .ico { color: var(--gold); }
.equip-all li.no { text-decoration: line-through; color: var(--ink-2); }
.r-unk { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }
.legend-s { font-size: 13.5px; color: var(--ink-2); margin: 0 0 10px; }
.r-common { margin: 0 0 10px; padding: 11px 13px; border-radius: var(--r-m); background: var(--plate); border: 1px solid var(--plate-line); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
.r-common b { display: inline-block; margin-right: 8px; font-size: 13.5px; color: var(--act-text); }

.plan { border: 1px solid var(--line); border-radius: var(--r-m); margin: 0 0 8px; padding: 0 14px; }
.plan > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-height: 54px; padding: 11px 0; cursor: pointer; list-style: none; }
.plan > summary::-webkit-details-marker { display: none; }
.plan > summary b { font-size: 15.5px; }
.plan > summary span { font-size: 13.5px; color: var(--ink-2); }
.plan > summary::after { content: ""; margin-left: auto; align-self: center; width: 8px; height: 8px; border: solid var(--act-text); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.plan[open] > summary::after { transform: rotate(-135deg); }
.plan .p-note { font-size: 13.5px; color: var(--ink-2); margin: 0 0 8px; overflow-wrap: anywhere; }
.tbl { overflow-x: auto; margin: 0 0 12px; }
table { border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
th, td { border-bottom: 1px solid var(--line); padding: 7px 11px; text-align: right; white-space: nowrap; }
th { font-weight: 700; font-size: 13px; color: var(--ink-2); background: var(--surface-2); }
th:first-child, td:first-child { text-align: left; }
.dayclass { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; overflow-wrap: anywhere; }

.facts { list-style: none; margin: 0; padding: 0; }
.facts li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts li > span:first-child { color: var(--ink-2); font-size: 13.5px; font-weight: 700; padding-top: 1px; }
.facts li > span:last-child { overflow-wrap: anywhere; min-width: 0; }
.benlist { list-style: none; margin: 0; padding: 0; }
.benlist li { display: flex; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; overflow-wrap: anywhere; min-width: 0; }
.benlist li .ico { color: var(--gold); margin-top: 4px; width: 16px; height: 16px; }
.srcs { margin: 0; padding-left: 1.2em; font-size: 13.5px; color: var(--ink-2); }
.srcs li { margin: 5px 0; overflow-wrap: anywhere; }
.srcs a { color: var(--act-text); }
.small { font-size: 13.5px; color: var(--ink-2); }

/* 設備・利用体験（src/experience_ui.js の出力） */
.notes { background: var(--warn-bg); border-radius: 10px; padding: 9px 12px; margin: 8px 0; font-size: 14px; }
.notes ul { margin: 0; padding-left: 1.2em; }
.badge { display: inline-block; padding: 0 8px; border-radius: 6px; font-size: 13px; font-weight: 700; border: 1px solid currentColor; white-space: nowrap; }
.badge.direct { color: var(--c-direct); } .badge.official { color: var(--c-official); }
.badge.estimate { color: var(--c-estimate); } .badge.unknown { color: var(--c-unknown); border-style: dashed; }
.xp { border-top: 1px solid var(--line); padding: 11px 0; font-size: 14.5px; }
.xp-h { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.xp-dl { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 3px 10px; margin: 6px 0 0; font-size: 14px; }
.xp-dl dt { color: var(--ink-2); } .xp-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.xp-notes { margin: 4px 0 0; padding-left: 1.2em; font-size: 13.5px; }
.xp-time { margin-top: 4px; font-size: 13.5px; } .xp-time summary { cursor: pointer; color: var(--ink-2); min-height: 40px; }
.xp-time ul { margin: 3px 0; padding-left: 1.2em; }
h4 { margin: 14px 0 4px; font-size: 15px; }

/* 詳細: 写真が無いときのブランドの板（アーチの線画。写真ではない） */
/* 写真は公式サイトで見る（2026-11-18。詳細の名前の下。「写真は準備中です」の板はやめた） */
.d-photo { margin: 12px 0 0; }
.q-room { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); }
.q-room b { color: var(--ink); }
.ov-facts { margin: 0 0 10px; font-size: 15px; font-weight: 600; }
.ov-eq { margin: 0 0 10px; }
.feat li small { margin-left: 2px; font-size: 13px; color: var(--ink-2); }
.ov-common { margin: 0; padding: 11px 13px; border-radius: var(--r-m); background: var(--plate); border: 1px solid var(--plate-line); font-size: 14.5px; line-height: 1.75; overflow-wrap: anywhere; }
.ov-common b { display: inline-block; margin-right: 8px; font-size: 13.5px; color: var(--act-text); }
.ov-vague { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.ov-vague b { margin-right: 8px; font-size: 13.5px; color: var(--ink); }
/* 部屋をくらべる（1行＝1部屋。押すと詳しく） */
.rcs { display: flex; flex-direction: column; gap: 8px; }
.rc { border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface-2); min-width: 0; }
.rc.used { border-color: var(--plate-line); background: var(--plate); }
.rc > summary { display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding: 12px 12px 12px 14px; cursor: pointer; list-style: none; }
.rc > summary::-webkit-details-marker { display: none; }
.rc > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 9px 2px 0 0; border: solid var(--act-text); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.rc[open] > summary::after { transform: rotate(-135deg); margin-top: 13px; }
.rc-ph { flex: none; width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.rc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rc-name { font-size: 16px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.rc-tag { align-self: flex-start; padding: 0 8px; border-radius: 6px; background: var(--act); color: var(--act-ink); font-size: 13px; font-weight: 700; }
.rc-spec { font-size: 14px; color: var(--ink-2); }
.rc-hl { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 3px; font-size: 13.5px; }
.rc-hl span { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.rc-hl .ico { width: 15px; height: 15px; color: var(--gold); }
.rc-amt { flex: none; max-width: 42%; text-align: right; font-size: 17px; font-weight: 800; line-height: 1.45; font-variant-numeric: tabular-nums; }
.rc-amt small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.4; }
.rc-body { padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.rc-body .equip-all { margin-top: 0; }
.rc-rest > summary { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px dashed var(--line-2); border-radius: var(--r-m); color: var(--act-text); font-weight: 700; cursor: pointer; list-style: none; }
.rc-rest > summary::-webkit-details-marker { display: none; }
.rc-rest[open] { display: flex; flex-direction: column; gap: 8px; }
/* 詳しい情報（折りたたみ） */
.d-accs > h3 { margin-bottom: 4px; }
.acc { border-top: 1px solid var(--line); }
.acc:last-of-type { border-bottom: 1px solid var(--line); }
.acc > summary { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-height: 56px; padding: 14px 30px 12px 0; cursor: pointer; list-style: none; }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; position: absolute; right: 6px; top: 22px; width: 8px; height: 8px; border: solid var(--act-text); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .15s; }
.acc[open] > summary::after { transform: rotate(-135deg); top: 26px; }
.acc-t { font: 600 17px/1.4 var(--f-display); letter-spacing: .04em; }
.acc-s { font-size: 13.5px; color: var(--ink-2); }
.acc-b { padding: 0 0 18px; }
.d-hero .h-meta { margin-top: 10px; }
.d-addr .fold { margin-top: 2px; }
.d-addr .fold .small { margin: 0 0 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (pointer: fine) { html { overscroll-behavior: none; } }
@media (max-width: 359px) { .when { font-size: 16px; } .tok select, .tok input { font-size: 17px; padding: 4px 8px; } .tok select { padding-right: 26px; } }

/* 使う前に（K2）: 公式に書かれた予約・空室・外出・支払いなど。無い項目は「公式に記載なし」と薄く出し、あるように見せない */
.h-guide { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.h-guide li { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink); background: var(--bg-2, transparent); }
.h-guide li .ico { width: 15px; height: 15px; color: var(--ink-2); flex: none; }
.h-guide li.neg { color: var(--ink-2); border-style: dashed; }
.guide { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; }
.guide li { display: grid; grid-template-columns: 8.5em 1fr; gap: 4px 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.6; }
.guide li:first-child { border-top: 0; }
.guide .g-k { display: inline-flex; align-items: flex-start; gap: 6px; font-weight: 700; color: var(--ink-2); }
.guide .g-k .ico { width: 17px; height: 17px; margin-top: 3px; flex: none; }
.guide .g-v { min-width: 0; overflow-wrap: anywhere; }
.guide li.unk .g-v { color: var(--c-unknown); }
.guide li.neg .g-v { color: var(--ink-2); }
.guide .g-src, .guide .g-tel { font-size: 13px; white-space: nowrap; margin-left: 4px; }
.guide .g-tel .ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; }
@media (max-width: 420px) { .guide li { grid-template-columns: 1fr; } }

/* 時間の帯（K4）: 一覧で共通の目盛り。濃い = 指定の時間、薄い = 同じ料金でさらに居られる時間 */
.tbar { position: relative; height: 6px; margin: 8px 0 2px; border-radius: 999px; background: var(--line); overflow: hidden; }
.tbar span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 999px; }
.tbar .tb-in { background: var(--act-text, currentColor); }
.tbar .tb-same { background: var(--ok); opacity: .45; border-radius: 0 999px 999px 0; }
/* アクセス・行き方（K4） */
.guide .g-note { display: block; font-size: 12.5px; color: var(--ink-2); }
.guide .g-more { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.acc-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.acc-note { margin: 8px 0 0; }
.d-acc-jump { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; }
.legend .legend-bar { display: block; width: 120px; margin: 6px 0; }

/* ---------- UX2（2026-11-20）: 場所を1つの欄で選ぶ・5行のカード・20軒ずつ ---------- */
.search-title.sub { margin-top: 20px; font-size: 16px; }
.place-now { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--act); border-radius: 12px; background: var(--act-weak); color: var(--ink); font-size: 17px; cursor: pointer; text-align: left; }
.place-now b { flex: 1; min-width: 0; font-weight: 700; overflow-wrap: anywhere; }
.place-now .ico { color: var(--act-text); flex: none; }
.place-now .pn-chg { flex: none; color: var(--act-text); font-size: 14.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.place-now:focus-visible, .place-here:focus-visible, .pl-chips button:focus-visible, .more-btn:focus-visible { outline: 2px solid var(--act); outline-offset: 2px; }
.place-now + .place-pick { margin-top: 12px; }
.place-here { display: inline-flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 16px 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15.5px; font-weight: 700; cursor: pointer; }
.place-here .ico { color: var(--act-text); }
.place-here:hover { border-color: var(--act); }
.place-q { display: block; margin-top: 10px; }
.place-q input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); color: var(--ink); font-size: 16px; }
.place-list { margin-top: 12px; }
.pl-row { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); align-items: start; gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); }
.pl-area { padding-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.pl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pl-chips button { min-height: 44px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: 15.5px; font-weight: 600; cursor: pointer; }
.pl-chips button:hover { border-color: var(--act); }
.pl-chips button.on { background: var(--act); border-color: var(--act); color: var(--act-ink); }
.pl-all { margin: 6px 0 0; text-align: right; }
.pl-all .linkbtn { min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pl-all .linkbtn.on { color: var(--act-text); }
.more .cond-box { margin-top: 0; padding-top: 4px; border-top: 0; }

.s-place { margin: 0; font: 700 21px/1.35 var(--f-ui); }
.s-place b { font-size: 26px; font-variant-numeric: tabular-nums; margin-left: 4px; }
.s-place small { margin-left: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.s-place + .s-cond { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.s-mem .linkbtn { margin-left: 8px; font-size: 13.5px; }
.rhead .sort { align-self: flex-start; }
.rhead .sort[hidden] { display: none; }
@media (min-width: 720px) { .rhead .sort { align-self: flex-end; } }
.mini-cond b { margin-right: 6px; }

.hotel.c2 { display: block; margin: 0 0 10px; padding: 12px 14px 12px; }
.hotel.c2:hover { border-color: var(--act); }
.c-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hotel.c2 .h-name { flex: 1; min-width: 0; font: 600 17px/1.4 var(--f-display); letter-spacing: .02em; text-wrap: wrap; }
.hotel.c2 .h-name::after { display: none; }
.hotel.c2 .h-name button { padding: 0; }
.hotel.c2 .h-name button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hotel.c2 .h-name button:hover { text-decoration: none; }
.hotel.c2 .h-name button:focus-visible { outline: none; }
.hotel.c2 .h-name button:focus-visible::after { outline: 2px solid var(--act); outline-offset: 2px; }
.c-where { flex: none; max-width: 45%; font-size: 13.5px; font-weight: 700; color: var(--ink); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.c-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 4px 0 0; }
.hotel.c2 .amount { font-size: 26px; }
.hotel.c2 .amount .u { font-size: 14px; }
.hotel.c2 .cert { margin-top: 0; font-size: 13px; }
.c-tag { padding: 0 7px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 13px; color: var(--act-text); white-space: nowrap; }
.c-tag.on { background: var(--act-weak); border-color: var(--act); font-weight: 700; }
.c-time { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 0; font-size: 14.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.c-time .ico { flex: none; margin-top: 4px; color: var(--ink-2); }
.c-plan { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); }
.c-plan-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-alt { flex: none; }
.c-plan > .ico { flex: none; color: var(--act-text); }
.c-warn { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--warn); }
.c-warn .ico { flex: none; margin-top: 3px; }
.c-warn > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.c-warn small { margin-left: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.more-res { margin: 4px 0 18px; }
.more-res:empty { display: none; }
.more-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; min-height: 56px; padding: 8px 14px; border: 1px solid var(--act); border-radius: 12px; background: var(--act); color: var(--act-ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.more-btn small { font-size: 13px; font-weight: 600; opacity: .85; }
.more-btn.ghost { background: var(--surface); color: var(--act-text); border-color: var(--line-2); }
.more-btn:hover { filter: brightness(1.05); }
.lrow .l-amt small { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.rhead { scroll-margin-top: 8px; }
.s-note + .s-note { margin-top: 0; }
.hotel.c2 .h-name button { padding: 3px 0; }
