@charset "UTF-8";
/* ════════════════════════════════════════════════════════════
   TOPの地図：見せ方 1〜4（採用案）
   1 水面にだけ色／2 カラー航空写真／3 地形の陰影／4 航空写真＋白い線地図
   js/map-looks.js と data/map-overlay.js とセットで使う。
   ════════════════════════════════════════════════════════════ */

/* 元の色調整を止めて、画像そのものを見せる */
.mh[data-look] .mh-base{filter:none;mix-blend-mode:normal;opacity:1}

/* 地図の端をぼかす（元の .mh-base と同じマスク） */
.mh-ov,.mh-veil,.mh-hill{
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(0deg,transparent,#000 9%,#000 91%,transparent);
  -webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent),linear-gradient(0deg,transparent,#000 9%,#000 91%,transparent);mask-composite:intersect;
}

/* ── 重ねる層（地図と一緒に動く） ── */
.mh-veil{position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .8s}
.mh-hill{position:absolute;inset:0;width:100%;height:100%;max-width:none;pointer-events:none;opacity:0;mix-blend-mode:multiply;transition:opacity 1s}
.mh.has-hill .mh-hill{opacity:.55}
.mh-ov{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.mh-ov g,.mh-ov path{transition:opacity .6s}
.mh-ov .o-ward{fill:none;stroke:#2B2B2C;stroke-width:.9;stroke-opacity:.55;stroke-linejoin:round;opacity:0}
.mh-ov .o-wname{font-family:var(--f-display);font-size:15px;letter-spacing:.3em;fill:#2B2B2C;fill-opacity:.42;text-anchor:middle}
.mh-ov .o-wnames{opacity:0}
.mh-ov .o-rail{fill:none;stroke:#2B2B2C;stroke-width:.7;stroke-opacity:.38;stroke-linecap:round;opacity:0}
.mh-ov .o-yam{fill:none;stroke:#2B2B2C;stroke-width:2.6;stroke-opacity:.75;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.mh-ov .o-yam2{fill:none;stroke:#9ACD32;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.mh-ov .o-lbl{opacity:0}
.mh-ov .o-lbl text{font-family:var(--f-body);font-size:10.5px;letter-spacing:.12em;fill:#2B2B2C;paint-order:stroke;stroke:#FAF7F2;stroke-width:3.2px;stroke-linejoin:round}
.mh-ov .o-lbl .st circle{fill:#FAF7F2;stroke:#2B2B2C;stroke-width:1.2}
.mh-ov .o-lbl .mk text{font-family:var(--f-display);font-size:12px;letter-spacing:.3em}
.mh-ov .o-lbl .mk.g text{fill:#3E5E33}
.mh-ov .o-lbl .mk.w text{fill:#3F6E86;font-style:italic;font-size:13px;letter-spacing:.5em}

/* 目印の切り替え */
.mh.ov-yam .o-yam,.mh.ov-yam .o-yam2,.mh.ov-yam .o-rail{opacity:1}
.mh.ov-lbl .o-lbl{opacity:1}
.mh.ov-ward .o-ward,.mh.ov-wname .o-wnames{opacity:1}
/* 地図の写真の外にある区の名前は、表示案4「近づく」のときだけ出す */
.mh-ov .o-wname.out{display:none}

/* ピンを沈ませない（白フチと影） */
.mh.pinx .pin i{box-shadow:0 0 0 2.5px #fff,0 2px 7px rgba(0,0,0,.5)!important}
.mh.pinx[data-v="a"] .pin.works:not(.faint) i{box-shadow:0 0 0 2.5px #fff,0 0 0 3.5px var(--m-pin),0 2px 7px rgba(0,0,0,.5)!important}
.mh.pinx .pin .tag{background:#fff;color:#2B2B2C;box-shadow:0 2px 8px rgba(0,0,0,.18)}
.mh.pinx .pin .tag small{color:#6F6B66}
.mh.pinx .pin.faint{opacity:.8}

/* ── 3 地形：素材がまだないとき ── */
.mh-pend{position:absolute;left:44%;top:38%;display:none;pointer-events:none;z-index:4}
.mh-pend span{display:block;max-width:22em;padding:16px 20px;background:rgba(255,255,255,.92);border-left:2px solid #F08300;font-size:12.5px;line-height:1.9;color:#2B2B2C;letter-spacing:.04em;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.mh[data-look="3"]:not(.has-hill) .mh-pend{display:block}

/* ── 4 写真の上に白い線地図 ── */
.mh.ov-white .mh-veil{opacity:1;background:rgba(30,30,32,.18)}
.mh.ov-white .o-ward{stroke:#fff;stroke-opacity:.8;stroke-width:1.1}
.mh.ov-white .o-wname{fill:#fff;fill-opacity:.8;paint-order:stroke;stroke:rgba(0,0,0,.25);stroke-width:2px}
.mh.ov-white .o-rail{stroke:#fff;stroke-opacity:.7;stroke-width:.9}
.mh.ov-white .o-yam{stroke:#fff;stroke-opacity:1;stroke-width:3}
.mh.ov-white .o-lbl text{fill:#fff;stroke:rgba(30,30,32,.7)}
.mh.ov-white .o-lbl .st circle{fill:#2B2B2C;stroke:#fff}
.mh.ov-white .o-lbl .mk text{fill:#fff!important}

/* ── 切り替えパネル（本番で1案に絞るときは削除） ── */
.mh-looks{position:fixed;left:16px;bottom:52px;z-index:9998;width:min(400px,calc(100vw - 32px));background:#2B2B2C;color:#FAF7F2;
  border:1px solid #4B4A48;box-shadow:0 12px 30px rgba(0,0,0,.3);font-family:"Noto Serif JP",serif;font-size:12px;letter-spacing:.06em;transition:opacity .3s,transform .3s}
.mh-looks.off{opacity:0;pointer-events:none;transform:translateY(-8px)}
.mh-looks .lk-hd{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;border-bottom:1px solid #4B4A48;color:#B8B4AD;font-size:11.5px}
.mh-looks .lk-hd button{color:#FAF7F2;font-size:16px;width:26px;height:22px;line-height:1}
.mh-looks .lk-hd>span{flex:1;min-width:0}
/* 区名の表示・非表示（たたんだままでも押せるよう見出しの行に置く） */
.mh-looks .lk-hd .lk-wn{width:auto;height:auto;margin-right:8px;padding:3px 10px;border:1px solid #4B4A48;border-radius:999px;font-size:11.5px;color:rgba(250,247,242,.8);white-space:nowrap}
.mh-looks .lk-hd .lk-wn::before{content:"";display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;border:1px solid currentColor;vertical-align:1px}
.mh-looks .lk-hd .lk-wn[aria-pressed="true"]{background:#FAF7F2;color:#2B2B2C;border-color:#FAF7F2}
.mh-looks .lk-hd .lk-wn[aria-pressed="true"]::before{background:#F08300;border-color:#F08300}
.mh-looks .lk-bd{padding:10px 12px 12px;display:grid;gap:10px}
.mh-looks.min .lk-bd{display:none}
.mh-looks .lk-nums{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}
.mh-looks .lk-nums button{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #4B4A48;color:rgba(250,247,242,.85);font-size:12px;text-align:left;transition:background .2s,color .2s}
.mh-looks .lk-nums button em{font-style:normal;font-family:"Cormorant Garamond",serif;font-size:18px;line-height:1;color:#F08300}
.mh-looks .lk-nums button:hover{background:#3A3A3B;color:#fff}
.mh-looks .lk-nums button[aria-pressed="true"]{background:#F08300;border-color:#F08300;color:#fff}
.mh-looks .lk-nums button[aria-pressed="true"] em{color:#fff}
.mh-looks .lk-now{display:grid;gap:3px}
.mh-looks .lk-now span{color:#D3D0CB;line-height:1.75}
.mh-looks .lk-now small{color:#B8B4AD;font-size:11px;line-height:1.7}
.mh-looks .lk-tg{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.mh-looks .lk-tg>span{color:#B8B4AD;font-size:11px;margin-right:2px}
.mh-looks .lk-tg button{padding:4px 10px;border:1px solid #4B4A48;border-radius:999px;color:rgba(250,247,242,.8);font-size:11.5px}
.mh-looks .lk-tg button[aria-pressed="true"]{background:#FAF7F2;color:#2B2B2C;border-color:#FAF7F2}
@media (max-width:760px){.mh-looks{top:auto;bottom:12px;left:8px;width:calc(100vw - 16px)}}
