@font-face { font-family: "Suno Mincho"; src: url("/fonts/mincho-display.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Suno Dokdo"; src: url("/fonts/dokdo-display.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Suno Rounded"; src: url("/fonts/rounded-display.woff2") format("woff2"); font-weight: 800; font-display: block; }

:root {
  color-scheme: light;
  --blue: #3eb2fb;
  --blue-deep: #1e93df;
  --blue-soft: #e8f6ff;
  --ink: #050505;
  --muted: #6b7378;
  --line: #3eb2fb;
  --paper: #fff;
  --grid: linear-gradient(#3eb2fb1c 1px, transparent 1px) 0 0 / 14px 14px, linear-gradient(90deg, #3eb2fb1c 1px, transparent 1px) 0 0 / 14px 14px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); overflow-x: clip; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 100; padding: .8rem 1rem; background: #fff; border: 2px solid var(--ink); }
.skip-link:focus { top: 1rem; }

/* ---------- Top bar + menu ---------- */
.topbar { position: fixed; top: 20px; right: clamp(16px, 5.5vw, 80px); z-index: 60; display: flex; align-items: center; gap: 28px; }
.topbar-map { display: grid; place-items: center; width: 80px; height: 32px; background: #fff; border: 1px solid var(--ink); font: 600 18px/1 var(--sans); letter-spacing: .04em; transition: background .25s, color .25s, transform .25s var(--ease-spring); }
.topbar-map:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.menu-toggle { position: relative; width: 40px; height: 32px; }
.menu-toggle span { position: absolute; left: 0; width: 40px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease-out), top .45s var(--ease-out), width .3s; }
.menu-toggle span:first-child { top: 4px; }
.menu-toggle span:last-child { top: 27px; width: 39px; }
.menu-toggle:hover span:last-child { width: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 15px; transform: rotate(25deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 15px; width: 40px; transform: rotate(-25deg); }
.topbar.is-scrolled .topbar-map { box-shadow: 3px 3px 0 var(--ink); }
.topbar.is-scrolled .menu-toggle { background: #fff; outline: 8px solid #fff; border-radius: 2px; }
body.menu-open { overflow: hidden; }
body.menu-open .topbar .menu-toggle { background: none; outline: 0; }
.site-menu { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--blue); color: #fff; clip-path: circle(0 at calc(100% - 100px) 36px); transition: clip-path .7s var(--ease-out); }
.site-menu.is-open { clip-path: circle(150% at calc(100% - 100px) 36px); }
.site-menu-inner { display: grid; justify-items: center; gap: 28px; padding: 24px; }
.site-menu-logo { width: 120px; background: #fff; border-radius: 50%; }
.site-menu nav { display: grid; justify-items: center; gap: 6px; }
.site-menu nav a { font: 700 clamp(24px, 4vw, 40px)/1.5 var(--sans); opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s var(--ease-out), color .2s; }
.site-menu.is-open nav a { opacity: 1; transform: none; }
.site-menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.site-menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.site-menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.site-menu.is-open nav a:nth-child(5) { transition-delay: .2s; }
.site-menu nav a:hover { color: var(--ink); }
.site-menu-ig { font-weight: 700; border-bottom: 1.5px solid; padding-bottom: 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blue); padding-top: 64px; overflow: hidden; }
.hero-brand { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(24px, 6vw, 96px); width: min(100% - 32px, 1000px); margin: 0 auto; }
.hero-kicker { margin: 0; color: var(--ink); white-space: nowrap; }
.hero-kicker-ja { justify-self: end; font: 700 clamp(22px, 2.3vw, 32px)/1 "Suno Mincho", "Hiragino Mincho ProN", serif; letter-spacing: .12em; }
.hero-kicker-ko { justify-self: start; font: 400 clamp(36px, 3.5vw, 52px)/1 "Suno Dokdo", sans-serif; }
.hero-logo { overflow: hidden; margin: 0; width: clamp(150px, 15vw, 212px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px #ffffff55; animation: logo-in 1s var(--ease-spring) both, logo-float 6s ease-in-out 1s infinite; }
.hero-logo img { width: 100%; height: 100%; border-radius: 50%; transform: scale(1.12); transition: transform .6s var(--ease-spring); }
.hero-logo:hover img { transform: scale(1.12) rotate(-8deg); }
.hero-kicker-ja { animation: rise .9s var(--ease-out) .15s both; }
.hero-kicker-ko { animation: rise .9s var(--ease-out) .3s both; }
.hero-tagline { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 .5em; margin: 28px 16px 32px; color: #fff; font-size: clamp(15px, 1.4vw, 20px); font-weight: 800; line-height: 1.85; letter-spacing: .04em; text-align: center; animation: rise .9s var(--ease-out) .45s both; }

.hero-reel { position: relative; background: #fff; padding: 34px 0; }
.reel-track { display: flex; gap: 40px; width: max-content; animation: reel 60s linear infinite; }
.hero-reel:hover .reel-track, .hero-reel:focus-within .reel-track { animation-play-state: paused; }
.reel-placeholder { margin: 0; padding: 120px 40px; color: var(--muted); }
.reel-item { position: relative; flex: none; width: clamp(150px, 14.2vw, 205px); aspect-ratio: 3 / 4; overflow: hidden; background: var(--blue-soft); transition: transform .5s var(--ease-spring); }
.reel-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.reel-item.is-missing { background: var(--grid), var(--blue-soft); border: 2px solid var(--blue); }
.reel-item.is-missing img { visibility: hidden; }
.reel-item.is-missing .reel-caption { opacity: 1; transform: none; inset: 0; display: grid; place-items: center; padding: 16px; background: none; color: var(--blue-deep); font-size: 15px; text-align: center; }
.reel-item:nth-child(odd) { transform: rotate(-1.2deg); }
.reel-item:nth-child(even) { transform: rotate(1.2deg) translateY(4px); }
.reel-item:hover { transform: translateY(-8px) rotate(0); z-index: 2; }
.reel-item:hover img { transform: scale(1.06); }
.reel-item .reel-play { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 4px; background: #fff; box-shadow: 0 1px 4px #0003; }
.reel-item .reel-play::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 8px solid var(--ink); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.reel-item .reel-caption { position: absolute; inset: auto 0 0; padding: 28px 10px 10px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.5; background: linear-gradient(transparent, #000a); opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease-out); }
.reel-item:hover .reel-caption, .reel-item:focus-visible .reel-caption { opacity: 1; transform: none; }
.hero-emoji { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero-emoji span { position: absolute; font-size: clamp(26px, 2.8vw, 40px); line-height: 1; animation: bob 4.5s ease-in-out infinite; filter: drop-shadow(0 3px 2px #0002); }
.hero-emoji span:nth-child(1) { left: 4%; top: -4%; animation-delay: 0s; }
.hero-emoji span:nth-child(2) { left: 23%; top: 2%; animation-delay: -1.2s; }
.hero-emoji span:nth-child(3) { left: 52%; top: -6%; animation-delay: -2.1s; }
.hero-emoji span:nth-child(4) { left: 93%; top: 4%; animation-delay: -.6s; }
.hero-emoji span:nth-child(5) { left: 13%; top: 84%; animation-delay: -1.7s; }
.hero-emoji span:nth-child(6) { left: 41%; top: 92%; animation-delay: -2.6s; }
.hero-emoji span:nth-child(7) { left: 74%; top: 76%; animation-delay: -.9s; }

.wordmark { margin: 0; padding: 14px 16px 6px; overflow: hidden; text-align: center; }
/* Stroke widths on .wm are in glyph units (the viewBox is about 7900 wide), so they scale with each wordmark. */
.wm { display: block; overflow: visible; aspect-ratio: 7898 / 887; }
.wordmark .wm { width: min(93.5vw, 1347px); margin: 0 auto; fill: transparent; stroke: #fff; stroke-width: 12; stroke-linejoin: round; transition: fill .6s; }
.wordmark.is-inview .wm { animation: wm-draw 2.4s var(--ease-out) .2s both; }
.wordmark:hover .wm { fill: #ffffff2e; }

/* ---------- Map section ---------- */
.map-section { position: relative; display: grid; grid-template-columns: 323px minmax(0, 1fr); border-block: 3px solid var(--line); }
.map-stage { position: relative; grid-column: 2; grid-row: 1; min-height: 820px; background: #eef0f1; }
.top-map { position: absolute; inset: 0; isolation: isolate; } /* pins stack inside the map, under the chips */
.map-chips { position: absolute; top: 21px; left: 32px; right: 16px; z-index: 2; display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 6px; }
.map-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px 0 14px; background: #fff; border: 2px solid var(--blue); border-radius: 8px; font-size: 18px; font-weight: 700; white-space: nowrap; transition: background .25s, color .25s, transform .3s var(--ease-spring), box-shadow .25s; }
.chip:hover { transform: translateY(-2px); box-shadow: 0 4px 0 var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; }
.chip-emoji { font-size: 20px; }
.map-full { display: none; }
.map-tile-notice { position: absolute; right: 16px; bottom: 32px; z-index: 2; margin: 0; padding: 8px 12px; background: #fffe; border: 1px solid var(--blue); font-size: 12px; }
.map-geo-notice { position: absolute; left: 32px; right: 64px; top: 80px; z-index: 2; margin: 0; padding: 8px 12px; background: #fffe; border: 1px solid var(--blue); font-size: 12px; white-space: pre-line; line-height: 1.6; cursor: pointer; }
/* The shops are blue, so "you are here" is a red figure. */
.map-me { z-index: 3; line-height: 0; }
.map-me svg { filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.map-me-outline { fill: #f2463c; stroke: #fff; stroke-width: 2; paint-order: stroke; }
.store-panel { grid-column: 1; grid-row: 1; position: relative; z-index: 3; display: flex; flex-direction: column; max-height: 820px; background: var(--grid), #fff; border-right: 3px solid var(--line); }
.store-search { position: relative; margin: 13px 8px 8px; }
.store-search input, .post-search input { width: 100%; height: 44px; padding: 0 76px 0 16px; border: 1px solid var(--blue); border-radius: 30px; background: #fff; font-size: 16px; transition: box-shadow .25s; }
.store-search input:focus, .post-search input:focus { outline: 0; box-shadow: 0 0 0 4px #3eb2fb40; }
.store-search input::-webkit-search-cancel-button, .post-search input::-webkit-search-cancel-button { display: none; }
.search-icon { width: 20px; height: 20px; fill: none; stroke: #abadae; stroke-width: 2; stroke-linecap: round; }
.store-search .search-icon { position: absolute; right: 48px; top: 12px; pointer-events: none; }
.store-search-clear { position: absolute; right: 12px; top: 8px; width: 28px; height: 28px; color: #abadae; font-size: 22px; line-height: 1; border-radius: 50%; }
.store-search-clear:hover { background: var(--blue-soft); color: var(--ink); }
.store-results { margin: 0 8px 8px; max-height: 260px; overflow: auto; background: #fff; border: 1px solid var(--blue); border-radius: 12px; }
.store-results button { display: block; width: 100%; padding: 10px 14px; text-align: left; border-bottom: 1px solid #3eb2fb33; transition: background .2s; }
.store-results button:hover, .store-results button:focus-visible { background: var(--blue-soft); }
.store-results strong { display: block; color: var(--blue-deep); font-size: 14px; }
.store-results span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.store-results p { margin: 0; padding: 12px 14px; color: var(--muted); font-size: 13px; }
.store-card { flex: 1; overflow: auto; overscroll-behavior: contain; }
.store-card.is-swapping > * { animation: card-swap .5s var(--ease-out) both; }
.store-empty { margin: 32px 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.store-gallery { position: relative; margin: 0 8px; }
.store-photos { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.store-photos::-webkit-scrollbar { display: none; }
.store-photos a { flex: 0 0 100%; aspect-ratio: 307 / 385; overflow: hidden; scroll-snap-align: start; border: 2px solid var(--blue); border-radius: 10px; background: var(--blue-soft); }
.store-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.store-photos a:hover img { transform: scale(1.04); }
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.gallery-dots span { width: 6px; height: 6px; border-radius: 3px; background: #3eb2fb55; transition: width .3s var(--ease-out), background .3s; }
.gallery-dots span.is-active { width: 18px; background: var(--blue); }
.store-name { margin: 18px 12px 14px; color: var(--blue); font-size: 24px; font-weight: 700; line-height: 1.35; }
.store-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--blue); }
.store-facts li { white-space: pre-line;  display: grid; grid-template-columns: 34px 1fr; align-items: start; padding: 4px 12px 4px 4px; font-size: 15px; line-height: 2; border-bottom: 1px solid var(--blue); word-break: break-word; }
.store-facts svg { width: 18px; height: 18px; margin: 7px 0 0 8px; fill: var(--blue); }
.store-gmap { margin: 10px 12px 0; }
.store-gmap-embed { display: block; width: calc(100% - 24px); aspect-ratio: 4 / 3; margin: 12px 12px 0; border: 2px solid var(--blue); border-radius: 10px; background: #f1f3f4; }
.gmap-link, .card-gmap { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 6px; border: 1px solid var(--blue); border-radius: 30px; background: #fff; color: var(--blue-deep); font-size: 13px; font-weight: 700; line-height: 1.2; }
.gmap-link:hover, .card-gmap:hover { background: #eef5fc; }
.gmap-icon { width: 18px; height: 18px; flex: none; }
.store-facts a { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }
.store-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin: 14px 10px; }
.tag { display: inline-flex; align-items: center; padding: 4px 7px; border: 1px solid var(--blue); border-radius: 30px; background: #fff; color: var(--blue); font-size: 12.8px; font-weight: 600; line-height: 1; white-space: nowrap; transition: background .2s, color .2s; }
button.tag:hover { background: var(--blue); color: #fff; }
.store-cta { display: grid; place-items: center; height: 44px; margin-top: auto; background: #fff; border-top: 1px solid var(--blue); color: var(--blue); font-weight: 700; transition: background .25s, color .25s; }
.store-cta:hover { background: var(--blue); color: #fff; }
.store-more { margin: 0 12px 12px; font-size: 13px; }
.store-more summary { cursor: pointer; color: var(--blue-deep); font-weight: 700; }
.store-more ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.store-post-list a { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; }
.store-post-list img, .store-post-list .photo-fallback { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #eef5fc; }
.store-post-text { display: grid; gap: 2px; line-height: 1.5; }
.store-post-text time { color: var(--blue-deep); font-size: 11px; }
.store-post-text span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.store-post-list a:hover .store-post-text span { text-decoration: underline; }

/* MapLibre positions markers absolutely; overriding position shifts every pin in normal flow. */
/* MapLibre positions the pin with its transform; scale only the children so hover/active never moves the pin. */
.star-pin { position: absolute; width: 33px; height: 33px; padding: 0; cursor: pointer; transition: opacity .3s, visibility 0s; }
.star-pin svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 2px #0003); transition: scale .35s var(--ease-spring); }
.star-pin circle { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.star-pin path { fill: var(--blue); }
.star-pin:hover, .star-pin:focus-visible { z-index: 6; }
.star-pin:hover svg, .star-pin:focus-visible svg { scale: 1.18; }
/* Pins outside the chosen category leave the map entirely so only that category's shops remain. */
.star-pin.is-out { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s, visibility 0s .3s; }
.star-pin.is-out svg { scale: .4; }
.star-pin.is-dot svg { scale: .36; filter: none; }
.star-pin.is-dot circle { fill: var(--blue); stroke: #fff; stroke-width: 4; }
.star-pin.is-dot:hover svg, .star-pin.is-dot:focus-visible svg { scale: .6; }
.star-pin.is-thinned { opacity: 0; visibility: hidden; pointer-events: none; }
.star-pin.is-active { z-index: 5; }
.star-pin.is-active svg { scale: 1.5; }
.star-pin.is-active circle { fill: var(--blue); stroke: #fff; }
.star-pin.is-active path { fill: #fff; }
.star-pin .pin-label { position: absolute; left: 50%; top: 50%; translate: 8px -50%; padding: 4px 12px 4px 18px; background: #fff; border: 2px solid var(--blue); border-left: 0; border-radius: 0 10px 10px 0; color: var(--blue); font-size: 13px; font-weight: 700; white-space: nowrap; pointer-events: none; opacity: 0; scale: .8; transform-origin: left center; transition: opacity .25s, scale .35s var(--ease-spring); z-index: -1; }
.star-pin.is-active .pin-label { opacity: 1; scale: 1; translate: 12px -50%; }
.star-pin.is-label-left .pin-label { left: auto; right: 50%; translate: -12px -50%; padding: 4px 18px 4px 12px; border-left: 2px solid var(--blue); border-right: 0; border-radius: 10px 0 0 10px; transform-origin: right center; }
.star-pin .pin-name { position: absolute; left: 50%; top: 100%; translate: -50% 2px; width: max-content; max-width: 8em; color: var(--blue); font-size: 11px; font-weight: 700; line-height: 1.25; text-align: center; text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff; pointer-events: none; display: none; }
.is-named .star-pin:not(.is-dot):not(.is-active) .pin-name { display: block; }
/* The newest shop of the chosen category. */
.star-pin .pin-new { position: absolute; left: 50%; bottom: 100%; translate: -50% -14px; padding: 1px 6px; background: var(--blue); border-radius: 6px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .04em; line-height: 1.5; pointer-events: none; display: none; }
.star-pin.is-new .pin-new { display: block; }
.star-pin.is-active::before { content: ""; position: absolute; inset: -17px; border-radius: 50%; border: 2px solid var(--blue); animation: ping 1.8s var(--ease-out) infinite; }
.maplibregl-ctrl-bottom-right { z-index: 1; }

/* ---------- Posts ---------- */
.posts-section { position: relative; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; padding: 104px clamp(16px, 3vw, 48px) 80px 0; }
.side-wordmark { position: absolute; left: 44px; top: 760px; width: 151px; height: 1347px; margin: 0; pointer-events: none; opacity: .9; }
.side-wordmark .wm { width: 1347px; fill: none; stroke: var(--blue); stroke-width: 9; transform: rotate(90deg) translateY(-100%); transform-origin: 0 0; }
.post-filters { position: relative; z-index: 2; }
.filters-card { position: sticky; top: 72px; padding: 36px 30px 28px; background: var(--grid), #fff; border: 3px solid var(--blue); border-left: 0; border-radius: 0 10px 10px 0; box-shadow: 0 0 0 2px #fff; }
.filters-close, .filter-tab { display: none; }
.filters-eyebrow { margin: 0; color: var(--blue); text-align: center; font-size: 16px; font-weight: 800; letter-spacing: .04em; }
.filters-title { margin: 4px 0 28px; padding-bottom: 12px; border-bottom: 1.5px solid var(--ink); text-align: center; font-size: 28px; font-weight: 700; }
.post-search { position: relative; }
.post-search input { height: 36px; padding: 0 16px 0 40px; border-color: var(--ink); font-size: 14px; }
.post-search .search-icon { position: absolute; left: 14px; top: 8px; stroke: var(--ink); width: 18px; height: 18px; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 8px; margin: 36px 0 40px; }
.cat-tile { display: grid; justify-items: center; gap: 10px; padding: 6px 0; border-radius: 12px; font-size: 12.8px; font-weight: 600; transition: background .25s; }
.cat-tile .cat-emoji { display: grid; place-items: center; width: 52px; height: 52px; font-size: 34px; line-height: 1; border-radius: 50%; transition: transform .45s var(--ease-spring), background .25s; }
.cat-tile:hover .cat-emoji { transform: translateY(-4px) rotate(-8deg) scale(1.08); }
.cat-tile[aria-current="true"] { color: var(--blue); }
.cat-tile[aria-current="true"] .cat-emoji { background: var(--blue-soft); box-shadow: inset 0 0 0 2px var(--blue); }
.filters-wordmark { margin: 0; }
.filters-wordmark .wm { width: 248px; max-width: 100%; margin: 0 auto; fill: #fff; stroke: var(--blue); stroke-width: 38; }

.posts-main { min-width: 0; }
.posts-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.posts-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--blue); font-size: 24px; }
.sort-tabs { display: flex; gap: 6px; }
.sort-tabs button { min-width: 90px; height: 24px; padding: 0 12px; border: 1px solid var(--blue); border-radius: 2px; color: var(--blue); font-size: 14px; line-height: 22px; transition: background .25s, color .25s; }
.sort-tabs button:hover { background: var(--blue-soft); }
.sort-tabs button[aria-checked="true"] { background: var(--blue); color: #fff; }
.posts-status { min-height: 1.5em; margin: 0 0 16px; color: var(--muted); font-size: 12px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.post-cell { padding: 16px 13px 26px; border-left: 1px solid #3eb2fb33; border-bottom: 1px solid #3eb2fb33; }
.post-cell:nth-child(3n + 1) { border-left: 0; }
.post-card { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--grid), #fff; border: 3px solid var(--blue); border-radius: 10px; transition: transform .45s var(--ease-spring), box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 10px 0 -2px var(--blue); }
.post-card.reveal { opacity: 0; transform: translateY(28px); }
.post-card.reveal.is-inview { opacity: 1; transform: none; transition: opacity .7s var(--ease-out) var(--stagger, 0s), transform .8s var(--ease-out) var(--stagger, 0s), box-shadow .3s; }
.post-card.reveal.is-inview:hover { transform: translateY(-6px); transition: transform .45s var(--ease-spring), box-shadow .3s; }
.card-photo { position: relative; display: block; margin: 5px; aspect-ratio: 307 / 385; overflow: hidden; border: 2px solid var(--blue); border-radius: 10px; background: var(--blue-soft); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-card:hover .card-photo img { transform: scale(1.05); }
.card-photo .like-badge { position: absolute; right: 8px; bottom: 8px; padding: 3px 8px; border-radius: 20px; background: #fffe; font-size: 11px; font-weight: 700; }
.photo-fallback { display: grid; place-items: center; height: 100%; padding: 16px; color: var(--muted); font-size: 12px; text-align: center; }
.card-title { margin: 12px 16px 10px; color: var(--blue); font-size: clamp(17px, 1.55vw, 22px); font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-account { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; justify-content: flex-end; margin: auto 8px 4px; }
.card-account a { padding: 4px 8px; border: 1px solid var(--blue); border-radius: 30px; background: #fff; color: var(--blue); font-size: 12.8px; font-weight: 600; line-height: 1; transition: background .2s, color .2s; }
.card-account a:hover { background: var(--blue); color: #fff; }
/* On a post card Google Maps is a pin icon at the right end of the account row. */
.card-account .card-gmap { order: 2; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; }
.card-account .card-gmap:hover { background: #eef5fc; }
.card-account .card-gmap .gmap-icon { width: 18px; height: 18px; }
.card-account + .card-tags { margin-top: 0; }
.card-tags { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: flex-end; align-content: flex-end; gap: 4px; margin: auto 8px 10px; }
.card-actions { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--blue); background: #fff; }
.card-actions.is-single { grid-template-columns: 1fr; }
.card-actions > * { display: grid; place-items: center; height: 40px; color: var(--blue); font-size: 15px; font-weight: 700; transition: background .25s, color .25s; }
.card-actions > * + * { border-left: 1px solid var(--blue); }
.card-actions > *:hover { background: var(--blue); color: #fff; }
.empty-state { grid-column: 1 / -1; padding: 64px 16px; text-align: center; color: var(--muted); line-height: 2; }
.empty-state button { margin-top: 12px; padding: 8px 18px; border: 2px solid var(--blue); border-radius: 8px; color: var(--blue); font-weight: 700; }
.skeleton { aspect-ratio: 323 / 586; border-radius: 10px; background: linear-gradient(100deg, #eef7fd 30%, #fff 50%, #eef7fd 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }

.pager { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pager button { min-width: 32px; height: 32px; padding: 0 6px; border: 1px solid var(--blue); border-radius: 2px; color: var(--blue); font-size: 13px; font-weight: 700; transition: background .2s, color .2s, transform .3s var(--ease-spring); }
.pager button:hover:not(:disabled) { background: var(--blue-soft); transform: translateY(-2px); }
.pager button[aria-current="page"] { background: var(--blue); color: #fff; }
.pager button:disabled { opacity: .35; cursor: default; }
.pager .pager-gap { color: var(--blue); padding: 0 2px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; display: grid; grid-template-columns: minmax(0, 720px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); padding: 56px clamp(16px, 5.5vw, 80px) 40px 0; background: var(--blue); color: #fff; }
.follow-card { position: relative; display: grid; grid-template-columns: 186px 213px 1fr; align-items: center; height: 230px; overflow: hidden; background: var(--grid), #fff; color: var(--ink); border: 1px solid #dbdbdb; border-left: 0; transition: transform .45s var(--ease-spring), box-shadow .3s; }
.follow-card:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 #0002; }
.follow-collage { position: absolute; left: -40px; top: -60px; display: grid; grid-template-columns: repeat(3, 92px); gap: 12px; rotate: -14deg; }
.follow-collage img { width: 92px; height: 123px; object-fit: cover; }
.follow-collage img:nth-child(3n + 2) { translate: 0 18px; }
.follow-card:hover .follow-collage { animation: drift 3s ease-in-out infinite alternate; }
.follow-logo { grid-column: 2; position: relative; z-index: 1; width: 211px; height: 211px; border-radius: 50%; background: #fff; transition: transform .6s var(--ease-spring); }
.follow-card:hover .follow-logo { transform: rotate(-10deg) scale(1.04); }
.follow-body { grid-column: 3; position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; padding-right: 18px; }
.follow-title { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; }
.ig-icon { width: 31px; height: 31px; }
.follow-band { display: block; width: 100%; padding: 2px 0; background: var(--blue); color: #fff; text-align: center; font-size: 18px; font-weight: 700; }
.follow-points { display: grid; font-size: 12.8px; font-weight: 600; line-height: 2.4; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 32px; align-self: start; }
.footer-links nav, .footer-sns { display: grid; align-content: start; }
.footer-links h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; line-height: 2.2; }
.footer-links .footer-brand { padding: 13px 0 11px; }
.footer-links .footer-brand .wm { width: 159px; fill: #fff; }
.footer-links a { justify-self: start; font-size: 16px; font-weight: 500; line-height: 2.6; background: linear-gradient(currentColor, currentColor) 0 85% / 0 1.5px no-repeat; transition: background-size .35s var(--ease-out); }
.footer-links a:hover { background-size: 100% 1.5px; }
.footer-ig { display: grid; place-items: center; width: 40px; height: 40px; margin: 8px 0; border-radius: 10px; background: #fff; transition: transform .4s var(--ease-spring); background-size: 0 !important; }
.footer-ig:hover { transform: rotate(-10deg) scale(1.1); }
.footer-ig svg { width: 28px; height: 28px; }
.footer-sns p { margin: 0; font-size: 12.8px; line-height: 2.6; }
.copyright { grid-column: 1 / -1; padding-left: clamp(16px, 5.5vw, 80px); font: 800 12px/1 "Suno Rounded", var(--sans); letter-spacing: .1em; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes logo-in { from { opacity: 0; transform: scale(.6) rotate(-20deg); } }
@keyframes logo-float { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: 3deg; } }
@keyframes reel { to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }
@keyframes ping { from { opacity: .9; transform: scale(.8); } to { opacity: 0; transform: scale(1.8); } }
@keyframes card-swap { from { opacity: 0; transform: translateY(10px); } }
@keyframes shimmer { to { background-position: -150% 0; } }
@keyframes wm-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
@keyframes drift { to { translate: 14px -10px; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reel-track { flex-wrap: nowrap; overflow-x: auto; width: auto; }
  .post-card.reveal { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-cell:nth-child(3n + 1) { border-left: 1px solid #3eb2fb33; }
  .post-cell:nth-child(2n + 1) { border-left: 0; }
  .posts-section { grid-template-columns: 260px minmax(0, 1fr); }
  .side-wordmark { display: none; }
  .site-footer { grid-template-columns: 1fr; padding-left: 0; }
  .follow-card { max-width: 720px; }
  .footer-links { padding-left: clamp(16px, 5.5vw, 80px); justify-content: start; gap: 48px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  .topbar { top: 14px; right: 16px; gap: 18px; }
  .topbar-map { width: 60px; height: 26px; font-size: 15px; }
  .menu-toggle { width: 26px; height: 22px; }
  .menu-toggle span { width: 26px; }
  .menu-toggle span:last-child { top: 20px; width: 26px; }
  .menu-toggle[aria-expanded="true"] span:first-child, .menu-toggle[aria-expanded="true"] span:last-child { top: 10px; width: 26px; }
  .site-menu { clip-path: circle(0 at calc(100% - 30px) 26px); }
  .site-menu.is-open { clip-path: circle(150% at calc(100% - 30px) 26px); }
  .hero { padding-top: 56px; }
  .hero-brand { grid-template-columns: 1fr; justify-items: center; gap: 14px; }
  .hero-kicker-ja, .hero-kicker-ko { justify-self: center; }
  .hero-kicker-ja { font-size: 20px; order: -1; }
  .hero-kicker-ko { font-size: 32px; }
  .hero-logo { width: 140px; }
  .hero-tagline { flex-direction: column; align-items: center; margin: 20px 16px 26px; font-size: 16px; }
  .hero-reel { padding: 26px 0; }
  .reel-track { gap: 20px; animation-duration: 45s; }
  .reel-item { width: 150px; }
  .hero-emoji span:nth-child(n + 4) { display: none; }
  .wordmark { padding: 10px 8px 2px; }
  .wordmark .wm { stroke-width: 20; }

  /* Phone map: a tall map with one slim row of controls on top and the shop card laid on its bottom edge. */
  .map-section { grid-template-columns: 1fr; }
  .map-stage { grid-column: 1; min-height: 520px; height: 90svh; }
  /* The panel shares the map's cell; only its search box, results and card take taps, the rest reaches the map. */
  .store-panel { position: static; grid-column: 1; grid-row: 1; max-height: none; border-right: 0; background: none; pointer-events: none; }
  .store-search, .store-results, .store-card { pointer-events: auto; }
  .store-search { position: absolute; top: 12px; left: 8px; right: 128px; margin: 0; z-index: 4; }
  .store-search input { height: 40px; padding: 0 64px 0 14px; font-size: 16px; box-shadow: 0 2px 8px #0002; }
  .store-search .search-icon { top: 10px; right: 40px; }
  .store-search-clear { top: 6px; right: 8px; }
  .store-results { position: absolute; top: 58px; left: 8px; right: 8px; z-index: 6; margin: 0; box-shadow: 0 8px 20px #0002; }
  .map-chips { top: 60px; left: 8px; right: 0; gap: 8px; }
  .map-geo-notice { top: 156px; left: 8px; right: 56px; }
  .chip { height: 32px; gap: 6px; font-size: 14px; padding: 0 12px 0 8px; border-width: 1.5px; box-shadow: 0 2px 6px #0002; }
  .map-full { position: absolute; top: 102px; right: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; background: #fff; border: 1.5px solid var(--ink); border-radius: 6px; font-size: 12.8px; font-weight: 700; box-shadow: 0 2px 6px #0002; }
  .map-full svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; }
  /* The zoom buttons and the map credit sit just above the shop card, whose height app.js measures. */
  .map-stage .maplibregl-ctrl-bottom-right { bottom: calc(var(--store-card-height, 122px) + 16px); }
  /* The "use two fingers" hint covered the map on every scroll; one finger still scrolls the page here. */
  .top-map .maplibregl-cooperative-gesture-screen { display: none; }
  /* The page keeps native vertical scrolling over the map; app.js hands sideways swipes to the map. */
  .map-section:not(.is-full) .top-map .maplibregl-canvas-container.maplibregl-touch-drag-pan,
  .map-section:not(.is-full) .top-map .maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas { touch-action: pan-y; }
  .map-section.is-full { position: fixed; inset: 0; z-index: 80; border: 0; background: #eef0f1; }
  .map-section.is-full .map-stage { height: 100svh; max-height: none; min-height: 0; }
  .map-section.is-full .store-search { right: 8px; }
  .map-section.is-full .map-full { background: var(--ink); color: #fff; }
  body.map-full-open { overflow: hidden; }
  .store-card { position: absolute; left: 8px; right: 8px; bottom: 10px; z-index: 5; overflow: visible; }
  .store-empty { margin: 0; padding: 12px 14px; background: #fff; border: 2px solid var(--blue); border-radius: 12px; font-size: 13px; }
  .store-mini { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 0 10px; padding: 8px 8px 0; background: #fff; border: 2px solid var(--blue); border-radius: 12px; box-shadow: 0 6px 18px #0003; overflow: hidden; }
  .store-mini-photo { width: 76px; height: 76px; overflow: hidden; border-radius: 8px; background: var(--blue-soft); }
  .store-mini-photo img { width: 100%; height: 100%; object-fit: cover; }
  .store-mini-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .store-mini .store-name { margin: 0; font-size: 17px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .store-mini-meta { margin: 0; color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .store-mini .store-tags { justify-content: flex-start; margin: 0; gap: 4px; }
  .store-mini .tag { padding: 3px 6px; font-size: 11.5px; }
  .store-mini-actions { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; margin: 8px -8px 0; border-top: 1px solid var(--blue); }
  .store-mini-actions a { display: grid; place-items: center; height: 40px; color: var(--blue); font-size: 14px; font-weight: 700; }
  .store-mini-actions a + a { border-left: 1px solid var(--blue); background: var(--blue); color: #fff; }
  .store-mini-actions .store-mini-gmap { display: flex; justify-content: center; gap: 4px; }
  .store-mini-gmap .gmap-icon { width: 16px; height: 16px; }

  .posts-section { display: block; padding: 64px 16px 56px; }
  /* A pill at the bottom edge instead of a side tab, so it never sits on a card's photo or title. */
  .filter-tab { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: block; padding: 10px 22px; background: var(--blue); border: 2px solid #fff; border-radius: 30px; color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; box-shadow: 0 6px 16px #0003; transform: translate(-50%, 160%); transition: transform .45s var(--ease-spring); }
  .filter-tab.is-visible { transform: translate(-50%, 0); }
  .post-filters { position: fixed; inset: 0; z-index: 70; visibility: hidden; background: #0000; transition: background .35s, visibility 0s .45s; }
  .post-filters.is-open { visibility: visible; background: #0005; transition: background .35s; }
  .filters-card { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); overflow: auto; border-radius: 0 16px 16px 0; transform: translateX(-100%); transition: transform .45s var(--ease-out); }
  .post-filters.is-open .filters-card { transform: none; }
  .filters-close { display: block; position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; font-size: 26px; color: var(--blue); }
  .posts-head { justify-content: center; flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; gap: 20px; }
  .post-cell { padding: 0; border: 0 !important; }
  .post-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto 1fr auto; }
  .card-photo { grid-row: 1 / 4; margin: 8px; aspect-ratio: 1; }
  .card-title { margin: 10px 10px 4px 4px; font-size: 17px; display: block; -webkit-line-clamp: unset; overflow: visible; }
  .card-account { grid-column: 2; justify-content: flex-start; margin: 0 8px 0 4px; }
  .card-account .card-gmap { margin-left: auto; }
  .card-tags { grid-column: 2; margin: 4px 8px 8px 4px; }
  .card-actions { grid-column: 1 / -1; }
  .post-card:hover { transform: none; box-shadow: none; }
  .pager { justify-content: center; }

  .site-footer { padding: 0 0 32px; gap: 32px; }
  .follow-card { grid-template-columns: 150px 1fr; height: auto; min-height: 200px; border: 0; }
  .follow-logo { grid-column: 1; width: 150px; height: 150px; margin-left: 24px; }
  .follow-collage { left: -80px; grid-template-columns: repeat(2, 92px); }
  .follow-body { grid-column: 2; padding: 16px 12px 16px 24px; }
  .follow-band { font-size: 15px; }
  .follow-points { font-size: 10.5px; line-height: 2; }
  .footer-links { grid-template-columns: repeat(3, auto); padding: 0 16px; gap: 20px; }
  .footer-links h2 { font-size: 17px; }
  .footer-links a { font-size: 14px; line-height: 2.4; }
}
@media (max-width: 420px) {
  .follow-card { grid-template-columns: 1fr; justify-items: center; }
  .follow-logo { grid-column: 1; margin: 20px 0 0; }
  .follow-body { grid-column: 1; padding: 0 16px 20px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
