/*
 * ホテル一覧（/hotels）の地図（2026-11-23 担当3。site/hotels/map と js/site-hotel-map.js）。
 * ハピおしの地図（portal.css の .hmap）の見た目を、お店のサイトの色（--ink・--muted・--line）に合わせて写した。
 * 文字は白地で明暗差 4.5 以上・最小 12px・押す所は 44px 以上。
 */
.hotel-map { margin: 0 0 24px; }
.hotel-map-title { margin: 0 0 10px; font-size: 18px; color: var(--ink, #38343c); }
.hotel-map-frame { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line, #e6dde3); background: #eef3f2; }
.hotel-map-canvas { height: min(62vh, 520px); min-height: 340px; }
.hotel-map-wait { display: grid; place-items: center; height: 100%; margin: 0; padding: 16px; color: var(--muted, #5f5460); font-size: 14px; text-align: center; }
.hotel-map-empty { margin: 0; padding: 18px 14px; border: 1px solid var(--line, #e6dde3); border-radius: 16px; color: var(--ink, #38343c); font-size: 15px; text-align: center; }
.hotel-map-frame[hidden], .hotel-map-empty[hidden] { display: none; }
.hotel-map-note { margin: 10px 2px 0; color: var(--muted, #5f5460); font-size: 13px; line-height: 1.7; }
.hotel-map-note a { color: inherit; text-decoration: underline; }

/* 吹き出し（印を押したとき） */
.hotel-map .hm-pop { display: grid; gap: 4px; color: #2b2730; font-size: 13px; line-height: 1.5; }
.hotel-map .hm-pop-kind { justify-self: start; padding: 1px 9px; border-radius: 99px; background: #fbe6ed; color: #8e2d4c; font-size: 12px; font-weight: 700; }
.hotel-map .hm-pop-kind.is-general { background: #e5eef8; color: #1f4c7a; }
.hotel-map .hm-pop-name { font-size: 15px; line-height: 1.4; }
.hotel-map .hm-pop-place { color: #5f5460; font-size: 12px; }
.hotel-map .hm-pop-price { display: grid; gap: 1px; margin-top: 2px; font-size: 13px; font-weight: 700; }
.hotel-map .hm-pop-price small { color: #5f5460; font-size: 12px; font-weight: 400; }
.hotel-map .hm-pop-actions { display: grid; gap: 6px; margin-top: 6px; }
.hotel-map .hm-pop-actions a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 10px; border-radius: 10px; border: 1px solid #d9cfd6; color: #2b2730; font-size: 13px; font-weight: 700; text-decoration: none; text-align: center; }
.hotel-map .hm-pop-actions a[href^="tel:"] { border-color: #a8385b; background: #a8385b; color: #fff; }
.hotel-map .maplibregl-popup-content { padding: 12px 14px; border-radius: 14px; box-shadow: 0 4px 18px #1f232933; }
.hotel-map .maplibregl-popup-close-button { width: 44px; height: 44px; font-size: 22px; color: #5f5460; }
.hotel-map .maplibregl-ctrl-group button { width: 44px; height: 44px; }
.hotel-map .maplibregl-ctrl-attrib { font-size: 11px; }
.hotel-map .maplibregl-ctrl-attrib a { color: #38343c; }
.hotel-map .maplibregl-cooperative-gesture-screen { font-size: 16px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
    .hotel-map .maplibregl-cooperative-gesture-screen { transition: none; }
}

/* 2026-11-23 17回目: ハピおしのホテルの地図とそろえる（高さ 68vh・最大560px・最小380px、角の丸み20px）と、
   「くわしい地図／エリアごとの数」の切り替え・選んだ地区の一行。地区の地図そのものの見た目は site-area-map.css */
.hotel-map-frame { border-radius: 20px; }
.hotel-map-canvas { height: min(68vh, 560px); min-height: 380px; }
.hotel-map-switch { margin: 0 0 12px; }
.hotel-map-chosen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 10px 2px 0; color: var(--ink, #38343c); font-size: 14px; font-weight: 700; }
.hotel-map-chosen a { display: inline-flex; align-items: center; min-height: 44px; color: #a8385b; font-size: 13px; }
[data-theme="noir"] .hotel-map-chosen, [data-theme="yoru"] .hotel-map-chosen { color: #f4efe6; }
[data-theme="noir"] .hotel-map-chosen a, [data-theme="yoru"] .hotel-map-chosen a { color: #f6c3d3; }
