/* 地図から探す */
body.is-map .gf { display: none; }
.mp { position: relative; height: calc(100dvh - 64px); min-height: 480px; }
.mp > .mp-map { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.mp-q { position: absolute; z-index: 3; top: 12px; left: 12px; right: 56px; max-width: 560px; display: flex; gap: 8px; }
.mp-q .input { min-height: 48px; box-shadow: 0 2px 10px rgba(31, 28, 25, .14); }
.mp-q .btn { min-height: 48px; flex: none; }
.mp-msg { position: absolute; z-index: 3; top: 72px; left: 12px; margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); box-shadow: 0 2px 8px rgba(31, 28, 25, .12); font-size: 15px; color: var(--ink); }
.mp-msg:empty { display: none; }
.mp-card { position: absolute; z-index: 4; left: 12px; bottom: 12px; width: min(420px, calc(100% - 24px)); background: #fff; border-radius: 16px; box-shadow: 0 6px 24px rgba(31, 28, 25, .2); padding: 18px 20px 20px; }
.mp-card h2 { font-size: 19px; margin: 0 40px 6px 0; line-height: 1.4; }
.mp-card p { margin: 0 0 4px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
.mp-card .btn { margin-top: 12px; width: 100%; justify-content: center; }
.mp-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--paper-3); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.mp-x:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 760px) { .mp { height: calc(100dvh - 56px); } }
@media (max-width: 640px) { .mp-card { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 16px 16px 0 0; } }
