/* Home-only navigation; intentionally not loaded by checkout/payment pages. */
.poi-menu-toggle {
    display: inline-flex; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center;
    gap: 3px; min-width: 54px; min-height: 48px; padding: 6px 9px; border: 1px solid #475569;
    border-radius: 10px; background: #1e293b; color: #f8fafc; font-size: 11px; font-weight: 700; line-height: 1.2; cursor: pointer;
}
.poi-menu-toggle svg { width: 22px; height: 22px; }
.poi-menu-toggle[hidden], .poi-guide-all[hidden] { display: none !important; }
.poi-menu-toggle:hover, .poi-menu-close:hover { background: #334155; }
.poi-menu-toggle:focus-visible, .poi-menu-drawer :focus-visible, .poi-home-guide :focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.poi-menu-drawer {
    position: fixed; inset: 0 auto 0 0; margin: 0; padding: 0; width: min(390px, 90vw); max-width: none;
    height: 100vh; height: 100dvh; max-height: none; background: #0f172a; color: #f1f5f9;
    border: 0; border-right: 1px solid #475569; box-sizing: border-box; box-shadow: 18px 0 60px #0008;
    z-index: 100100; overflow: hidden; overscroll-behavior: contain;
}
.poi-menu-drawer:not([open]) { display: none !important; }
.poi-menu-drawer[open] { display: flex; flex-direction: column; animation: poi-menu-enter .2s ease-out; }
.poi-menu-drawer::backdrop { background: rgb(0 0 0 / .62); }
.poi-menu-drawer [hidden] { display: none !important; }
.poi-menu-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(20px, env(safe-area-inset-top)) 20px 14px; flex-shrink: 0; }
.poi-menu-head p { margin: 0 0 3px; color: #94a3b8; font-size: 12px; }
.poi-menu-head h2 { margin: 0; font-size: 23px; font-weight: 800; }
.poi-menu-close { border: 1px solid #475569; background: #1e293b; color: #f8fafc; min-height: 44px; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; }
.poi-menu-close span { font-size: 12px; }
.poi-menu-search-wrap { padding: 0 20px 12px; flex-shrink: 0; }
.poi-menu-search-wrap label { display: block; margin-bottom: 6px; font-size: 12px; color: #cbd5e1; }
.poi-menu-search-wrap input { display: block; width: 100%; min-height: 46px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #64748b; border-radius: 8px; background: #020617; color: #f8fafc; font-size: 16px; }
.poi-menu-search-wrap input::placeholder { color: #94a3b8; }
.poi-menu-links { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 0 14px 16px; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.poi-menu-links h3 { margin: 15px 8px 7px; color: #93c5fd; font-size: 13px; font-weight: 700; }
.poi-menu-link { display: block; padding: 12px 10px; margin: 4px 0; min-height: 60px; border: 1px solid #25334c; border-radius: 10px; background: #172236; color: #f1f5f9; text-decoration: none; line-height: 1.5; }
.poi-menu-link:hover { border-color: #60a5fa; background: #23334e; }
.poi-menu-link strong { display: block; font-size: 15px; font-weight: 700; }
.poi-menu-link span { display: block; margin-top: 3px; color: #b9c6d9; font-size: 12px; }
.poi-menu-empty { margin: 16px 8px; font-size: 14px; line-height: 1.7; }
.poi-menu-foot { padding: 12px 20px max(14px, env(safe-area-inset-bottom)); flex-shrink: 0; border-top: 1px solid #334155; color: #cbd5e1; font-size: 12px; line-height: 1.6; }
.poi-home-guide { padding-top: 16px; padding-bottom: 10px; }
.poi-guide-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.poi-guide-heading h2 { color: #f1f5f9; font-weight: 800; font-size: 17px; margin: 0; }
.poi-guide-all { min-height: 44px; color: #bfdbfe; background: transparent; border: 0; font-size: 13px; font-weight: 700; cursor: pointer; }
.poi-guide-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.poi-guide-grid a { min-height: 70px; display: flex; justify-content: center; flex-direction: column; gap: 4px; padding: 12px; text-decoration: none; border: 1px solid #475569; border-radius: 10px; background: #172236; }
.poi-guide-grid a:hover { border-color: #93c5fd; background: #23334e; }
.poi-guide-grid strong { font-size: 14px; font-weight: 700; color: #e2e8f0; }
.poi-guide-grid span { font-size: 11px; color: #b9c6d9; line-height: 1.5; }
.poi-first-visit { margin-top: 10px; border: 1px solid #334155; border-radius: 10px; background: #111c30; scroll-margin-top: calc(var(--site-header-height, 80px) + 20px); }
.poi-first-visit summary { min-height: 44px; padding: 12px; cursor: pointer; font-size: 13px; font-weight: 700; color: #bfdbfe; }
.poi-first-visit-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0 16px 16px; }
.poi-first-visit-body p { margin: 0; color: #cbd5e1; font-size: 13px; line-height: 1.8; }
.poi-first-visit-body strong { color: #f1f5f9; }
.poi-first-visit-body a { color: #93c5fd; text-decoration: underline; text-underline-offset: 3px; }
@keyframes poi-menu-enter { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (max-width: 1100px) {
    .poi-guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .poi-first-visit-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-home .home-header-kana { display: none; }
}
@media (max-width: 768px) {
    .page-home .home-header-brand { gap: 8px !important; }
    .poi-menu-toggle { min-width: 48px; min-height: 48px; padding: 6px; }
    .poi-home-guide { padding-top: 8px; }
    .poi-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
    .poi-guide-grid a { min-height: 62px; padding: 10px 12px; }
    .poi-guide-grid strong { font-size: 14px; }
    .poi-guide-grid span { font-size: 12px; }
    .poi-guide-heading h2 { font-size: 16px; }
    .poi-guide-all { font-size: 12px; }
    .poi-first-visit-body { grid-template-columns: 1fr; }
    /* The visible purpose grid replaces the former horizontally hidden shortcuts. */
    .page-home .mobile-shortcut-row { display: none !important; }
    .page-home #store-item-showcase > .no-scrollbar { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow-x: visible; }
    .page-home #store-item-showcase > .no-scrollbar > article { width: auto !important; min-width: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .poi-menu-drawer[open] { animation: none; } }
