/* ちばみっけ：ロゴから組み直した見た目（2026-12-01・見本）
   決まり：形と色はロゴにある物だけ。
   ・虫めがね（太い墨の輪＋黄のレンズ＋取っ手）＝地図をのぞく窓
   ・珊瑚色の点（墨のふち）＝見つけたお店。地図の点とカードの番号は同じ形
   ・✦＝見つけた瞬間
   ・桃・黄・水色・若草の丸＝後ろに置く／小さな札の地
   大きい面は白。写真は切らずに四角のまま。 */
:root{
  --bg:#FAF7EE;--ink:#2F2A26;--sub:#6F665E;--line:#E8E1D3;--white:#fff;
  --pink:#FBD3E0;--yellow:#FFF0B8;--blue:#CFE6F7;--mint:#CFEFD9;--coral:#F2907E;
  --open:#1F7A4D;--line-green:#06C755;
  --round:"M PLUS Rounded 1c","Zen Maru Gothic",sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font:500 15px/1.75 "Zen Maru Gothic","Hiragino Maru Gothic ProN",sans-serif}
a{color:inherit}
img{max-width:100%}
.page{position:relative;max-width:520px;margin:0 auto;overflow:hidden;padding-bottom:48px}
.orb{position:absolute;border-radius:50%;z-index:0;pointer-events:none}
.page>*:not(.orb){position:relative;z-index:1}
.mock{margin:0;background:var(--ink);color:#fff;font-size:12px;line-height:1.5;padding:4px 16px}

/* 上の帯：ロゴは本物と同じ組み方（み・っ・け の後ろに丸） */
.top{display:flex;align-items:center;justify-content:space-between;height:60px;padding:0 16px}
.logo{display:flex;align-items:center;gap:8px;text-decoration:none;min-height:44px}
.logo img{width:36px;height:36px}
.logo b{font-family:var(--round);font-weight:800;font-size:21px;letter-spacing:.02em;display:flex;align-items:center}
.logo b i{font-style:normal;display:inline-flex;align-items:center;justify-content:center;width:1.32em;height:1.32em;border-radius:50%;margin:0 -.04em}
.logo b i:nth-of-type(1){background:var(--pink)}.logo b i:nth-of-type(2){background:var(--yellow);transform:translateY(.12em) scale(.86)}.logo b i:nth-of-type(3){background:var(--blue)}
.top .own{font-size:13px;font-weight:700;text-decoration:none;min-height:44px;display:flex;align-items:center;border-bottom:2.5px solid var(--coral);padding:0 2px}

.crumb{margin:0;padding:0 16px;font-size:12px;color:var(--sub)}
.crumb a{color:var(--sub)}
h1{margin:6px 16px 0;font-size:27px;line-height:1.42;font-weight:900;letter-spacing:.01em}
h1 mark,h2 mark{background:linear-gradient(transparent 58%,var(--pink) 58%);color:inherit;padding:0 2px}
.sub{margin:8px 16px 0;font-size:14px;line-height:1.7;color:#4A423C}

/* 数字はロゴの文字と同じく、パステルの丸の上に */
.stats{display:flex;gap:14px;margin:12px 16px 0;align-items:center;flex-wrap:wrap}
.stat{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:700}
.stat b{font-family:var(--round);font-weight:800;font-size:22px;line-height:1;width:44px;height:44px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--yellow)}
.stat:nth-child(2) b{background:var(--blue)}.stat:nth-child(3) b{background:var(--mint)}

/* 虫めがねの地図 */
.lenswrap{position:relative;margin:14px auto 0;width:min(88vw,360px);padding-bottom:13%}
.lens{display:block;width:100%;height:auto;overflow:visible}
.lens text{font-family:"Zen Maru Gothic",sans-serif}
.lens .num{font-family:var(--round);font-weight:800}
.pin{cursor:pointer}
.pin .dot{transform-box:fill-box;transform-origin:50% 50%;transition:transform .25s cubic-bezier(.3,1.7,.5,1)}
.pin .spark{opacity:0;transform-box:fill-box;transform-origin:50% 50%;transition:opacity .2s,transform .3s cubic-bezier(.3,1.7,.5,1);transform:scale(.3)}
.pin.on .dot{transform:scale(1.38)}
.pin.on .spark{opacity:1;transform:scale(1)}
.pin.dim{opacity:.22}
@keyframes pop{0%{transform:scale(0)}70%{transform:scale(1.25)}100%{transform:scale(1)}}
@keyframes tw{0%,100%{transform:scale(1) rotate(0)}50%{transform:scale(1.25) rotate(12deg)}}
.lens .pop{transform-box:fill-box;transform-origin:50% 50%;animation:pop .5s cubic-bezier(.3,1.5,.5,1) both;animation-delay:calc(var(--i)*65ms + 350ms)}
.lens .twinkle{transform-box:fill-box;transform-origin:50% 50%;animation:tw 2.6s ease-in-out infinite}
@media (prefers-reduced-motion:reduce){.lens .pop,.lens .twinkle{animation:none}.pin .dot,.pin .spark{transition:none}}
.legend{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:2px 16px 0;font-size:12px;color:var(--sub)}
.legend span{display:inline-flex;align-items:center;gap:5px}
.legend i{width:13px;height:13px;border-radius:50%;border:2px solid var(--ink);background:var(--coral);display:inline-block}
.legend i.off{background:#fff;width:9px;height:9px}
.legend i.way{width:22px;height:0;border:0;border-top:3px dotted var(--ink);border-radius:0;background:none}

section{padding:26px 0 0}
h2{margin:0 16px 4px;font-size:20px;line-height:1.45;font-weight:900}
h2 .sp{display:inline-block;width:18px;height:18px;margin-right:4px;vertical-align:-1px}
.h2sub{margin:0 16px 12px;font-size:13px;color:var(--sub)}

/* 点の番号（地図の点と同じ形） */
.no{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--coral);border:2.5px solid var(--ink);color:#fff;font-family:var(--round);font-weight:800;font-size:14px;line-height:1;flex:0 0 auto}
.no.off{background:#fff;color:var(--ink)}

/* 大きなカード（きょうのみっけ） */
.spots{display:flex;flex-direction:column;padding:0 16px}
.spot{background:var(--white);border-radius:20px;box-shadow:0 0 0 1.5px var(--line);overflow:hidden;scroll-margin-top:12px;transition:box-shadow .2s}
.spot.on,.row.on{box-shadow:0 0 0 2.5px var(--ink)}
.pic{position:relative;aspect-ratio:4/3;background:var(--blue)}
.pic img{width:100%;height:100%;object-fit:cover;display:block}
.pic .no{position:absolute;left:12px;top:12px;width:38px;height:38px;font-size:17px;box-shadow:0 2px 0 rgba(47,42,38,.18)}
.nopic{display:flex;align-items:center;justify-content:center;height:100%;font-size:13px;color:var(--sub);text-align:center;padding:0 16px}
.cap{margin:5px 14px 0;font-size:12px;color:var(--sub);text-align:right}
.spot .bd{padding:6px 16px 16px}
.kind{margin:0;font-size:12.5px;font-weight:700;color:var(--sub)}
.kind b{display:inline-block;background:var(--yellow);color:var(--ink);border-radius:6px;padding:0 7px;margin-right:6px}
.spot h3{margin:2px 0 0;font-size:19px;line-height:1.4;font-weight:900}
.spot h3 a{text-decoration:none}
.facts{margin:10px 0 0;border-top:1.5px solid var(--line)}
.facts div{display:grid;grid-template-columns:4.6em 1fr;gap:8px;padding:8px 0;border-bottom:1.5px solid var(--line);font-size:14px;line-height:1.6}
.facts dt{font-size:12.5px;font-weight:700;color:var(--sub);padding-top:1px}
.facts dd{margin:0}
.facts .tbd{color:var(--sub)}
.st-open{color:var(--open);font-weight:900;white-space:nowrap}
.st-open::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--open);margin-right:5px;vertical-align:1px}
.st-off{color:var(--sub);font-weight:700;white-space:nowrap}
.asof{margin:8px 0 0;font-size:12px;color:var(--sub)}
.acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.btn{min-height:48px;border-radius:14px;border:2.5px solid var(--ink);background:#fff;display:flex;align-items:center;justify-content:center;gap:6px;font-weight:900;font-size:15px;text-decoration:none;box-shadow:0 4px 0 var(--blue);transition:transform .1s,box-shadow .1s}
.btn:nth-child(2){box-shadow:0 4px 0 var(--pink)}
.btn:active{transform:translateY(3px);box-shadow:0 1px 0 var(--blue)}
.btn.line{background:var(--line-green);color:#fff;box-shadow:0 4px 0 var(--mint);grid-column:1/-1}
/* 歩く：点の道しるべ */
.walk{display:flex;align-items:center;gap:10px;padding:10px 0 10px 28px;font-size:13.5px;font-weight:700}
.walk::before{content:"";width:0;height:38px;border-left:4px dotted var(--ink);opacity:.55}
.walk small{font-weight:500;color:var(--sub);font-size:12px}
.from{display:flex;align-items:center;gap:10px;padding:0 0 0 14px;font-weight:900;font-size:16px}
.from i{width:30px;height:30px;border-radius:50%;background:var(--ink);display:inline-block;border:5px solid var(--bg);box-shadow:0 0 0 2.5px var(--ink)}
.note{margin:12px 16px 0;font-size:13px;color:var(--sub);line-height:1.7}

/* 札（小さな物はパステル） */
.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 16px 12px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:0 0 auto;min-height:40px;padding:0 13px;border:2.5px solid transparent;border-radius:12px;font:inherit;font-size:14px;font-weight:700;color:var(--ink);background:var(--blue);cursor:pointer;display:inline-flex;align-items:center;gap:6px;text-decoration:none}
.chip:nth-child(4n+2){background:var(--pink)}.chip:nth-child(4n+3){background:var(--mint)}.chip:nth-child(4n+4){background:var(--yellow)}
.chip[aria-pressed=true]{border-color:var(--ink)}
.chip em{font-style:normal;font-family:var(--round);font-weight:800;font-size:13px}

/* 一覧の行 */
.rows{display:flex;flex-direction:column;gap:10px;padding:0 16px}
.row{display:flex;gap:12px;background:#fff;border-radius:16px;box-shadow:0 0 0 1.5px var(--line);padding:10px;text-decoration:none;scroll-margin-top:12px;transition:box-shadow .2s}
.row .th{position:relative;flex:0 0 96px;height:96px;border-radius:12px;background:var(--blue);display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;color:var(--sub)}
.row:nth-child(4n+2) .th{background:var(--pink)}.row:nth-child(4n+3) .th{background:var(--mint)}.row:nth-child(4n+4) .th{background:var(--yellow)}
.row .th img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}
.row .th .no{position:absolute;left:-6px;top:-6px;width:28px;height:28px;font-size:13px}
.row .tx{display:flex;flex-direction:column;gap:2px;min-width:0;padding-top:1px}
.row .k{font-size:12px;font-weight:700;color:var(--sub)}
.row strong{font-size:16px;line-height:1.4;font-weight:900}
.row .l1{font-size:13px}
.row .l1 span+span{margin-left:8px;color:var(--sub)}
.tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:3px}
.tags i{font-style:normal;font-size:12px;font-weight:700;padding:1px 8px;border-radius:6px;background:var(--mint)}
.tags i:nth-child(2){background:var(--yellow)}.tags i:nth-child(3){background:var(--pink)}
.none{margin:0 16px;padding:16px;border-radius:16px;background:#fff;box-shadow:0 0 0 1.5px var(--line);font-size:14px;color:var(--sub)}

/* お店の方へ */
.owner{margin:30px 16px 0;padding:18px 16px;border-radius:20px;background:#fff;box-shadow:0 0 0 2.5px var(--ink)}
.owner h2{margin:0 0 8px;font-size:18px}
.owner p{margin:0 0 12px;font-size:14px;line-height:1.75}
.owner .demo{margin:0 0 12px;padding:12px;border-radius:14px;background:var(--mint);font-size:13px;line-height:1.6}
.owner .demo .btn{margin-bottom:10px;box-shadow:0 4px 0 #fff}
.promise{margin:18px 16px 0;font-size:13.5px;line-height:1.8;color:#4A423C}
footer{margin:26px 16px 0;padding-top:16px;border-top:1.5px solid var(--line);font-size:13px;color:var(--sub);line-height:1.8}

/* お店のページ */
.hero-pic{margin:10px 16px 0;border-radius:22px;overflow:hidden;aspect-ratio:4/3;background:var(--blue);position:relative}
.hero-pic img{width:100%;height:100%;object-fit:cover;display:block}
.name{margin:12px 16px 0}
.name h1{margin:2px 0 0;font-size:25px}
.panel{margin:12px 16px 0;padding:2px 16px 14px;background:#fff;border-radius:20px;box-shadow:0 0 0 1.5px var(--line)}
.panel .facts{border-top:0;margin-top:0}
.bar{position:fixed;left:0;right:0;bottom:0;z-index:30;display:flex;justify-content:center;pointer-events:none}
.bar .in{pointer-events:auto;width:100%;max-width:520px;display:grid;grid-template-columns:1.5fr 1fr 1fr;background:#fff;border-top:2.5px solid var(--ink)}
.bar a{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;font-weight:700;text-decoration:none;line-height:1.35}
.bar a b{font-size:15px;font-weight:900}
.bar a+a{border-left:1.5px solid var(--line)}
.bar a.ln{background:#E9F9EF;color:#0B7A3E}
.has-bar{padding-bottom:110px}

/* トップ */
.cities{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 16px}
.city{display:flex;justify-content:space-between;align-items:center;min-height:48px;padding:0 12px;border-radius:12px;background:#fff;box-shadow:0 0 0 1.5px var(--line);text-decoration:none;font-weight:700}
.city em{font-style:normal;font-family:var(--round);font-weight:800;font-size:13px;color:var(--sub)}
.city.on{box-shadow:0 0 0 2.5px var(--ink);background:var(--yellow)}
.pick{margin:12px 16px 0;padding:14px 16px;border-radius:20px;background:#fff;box-shadow:0 0 0 2.5px var(--ink);display:flex;align-items:center;justify-content:space-between;gap:12px}
.pick b{font-size:19px;font-weight:900;display:block}
.pick span{font-size:13px;color:var(--sub)}
.pick .btn{padding:0 16px;min-height:46px;white-space:nowrap}
.pref a.hw path{fill:#fff;stroke:var(--ink);stroke-width:5;stroke-linejoin:round;transition:fill .15s}
.pref a.hw.on path{fill:var(--pink)}
.pref a.hw.sel path{fill:var(--coral)}
.pref .bgshape path{fill:#FFF8DC;stroke:#D9CFB6;stroke-width:2}

@media (min-width:1000px){
  .page{max-width:1160px;padding:0 28px 60px}
  .top{padding:0;height:72px}
  .cols{display:grid;grid-template-columns:440px 1fr;gap:44px;align-items:start}
  .cols>.side{position:sticky;top:16px}
  .crumb,h1,.sub,.stats,h2,.h2sub,.note{margin-left:0;margin-right:0;padding-left:0;padding-right:0}
  h1{font-size:34px}
  .lenswrap{width:420px;margin-left:0}
  .legend{justify-content:flex-start;margin-left:0}
  .spots{flex-direction:row;align-items:stretch;padding:0;gap:0}
  .spots .spot{flex:1 1 0;min-width:0}
  .spots .walk{flex:0 0 74px;flex-direction:column;justify-content:center;text-align:center;padding:0 4px;gap:6px;font-size:12.5px}
  .spots .walk::before{width:44px;height:0;border-left:0;border-top:4px dotted var(--ink)}
  .spots .from{display:none}
  .rows{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0}
  .chips{padding-left:0;padding-right:0}
  .owner,.promise,footer{margin-left:0;margin-right:0}
  .bar .in{max-width:1160px}
  .cities{grid-template-columns:repeat(3,1fr);padding:0}
  .pick{margin-left:0;margin-right:0}
  .hero-pic,.name,.panel{margin-left:0;margin-right:0}
}
.lenswrap{padding-bottom:0}

.lenswrap{width:min(94vw,380px)}
.stat b{width:40px;height:40px;font-size:20px}
.stats{margin-top:10px}
.found{position:absolute;left:2%;bottom:1%;display:flex}
.fb{position:relative;width:84px;height:84px;border-radius:50%;border:3px solid var(--ink);background:#fff;display:block;box-shadow:0 4px 0 var(--pink);animation:pop .5s cubic-bezier(.3,1.5,.5,1) both;animation-delay:1.3s}
.fb+.fb{margin-left:-14px;margin-top:22px;box-shadow:0 4px 0 var(--blue);animation-delay:1.45s}
.fb img{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block}
.fb .no{position:absolute;left:-4px;top:-4px;width:28px;height:28px;font-size:13px}
@media (prefers-reduced-motion:reduce){.fb{animation:none}}
@media (min-width:1000px){.lenswrap{width:430px}}

section{padding-top:22px}
body{overflow-x:hidden}
@media (min-width:1000px){
  .page{overflow:visible}
  .spots{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start}
  .spots .step{display:flex;flex-direction:column}
  .spots .walk{flex:none;flex-direction:row;justify-content:flex-start;text-align:left;padding:0 0 8px 4px;font-size:13.5px}
  .spots .walk::before{width:34px;height:0;border-left:0;border-top:4px dotted var(--ink)}
  .spots .from{display:none}
}

.mock{position:relative;z-index:5}
@media (min-width:1000px){.spots .spot{flex:none}}

/* いま見ているお店を、虫めがねの中で光らせる */
.pin{transition:opacity .25s}
.lens.focus .pin:not(.on){opacity:.32}
.pin.on .dot{transform:scale(1.75)}
.pin.on .spark{transform:scale(1.5)}
.fline{transition:opacity .25s}
.lenscap{display:flex;align-items:center;gap:10px;min-height:56px;margin:8px 16px 0;padding:8px 12px;border-radius:14px;background:#fff;box-shadow:0 0 0 1.5px var(--line);font-size:13px;line-height:1.5;color:var(--sub)}
.lenscap b{font-size:15px;color:var(--ink);font-weight:900}
@media (max-width:999px){.lenscap{display:none}}
@media (min-width:1000px){.lenscap{margin-left:0;margin-right:0;max-width:430px}}
/* トップ：千葉県の地図をロゴと同じ描き方に（墨の線・桃の市・えらんだ市は珊瑚・虫めがねが動く） */
.maprow{display:grid;grid-template-columns:1fr 108px;gap:8px;align-items:start;margin:12px 16px 0}
.prefbox svg{display:block;width:100%;height:auto;overflow:visible}
.pref>g path{fill:#FFFDF6;stroke:#D9CFB6;stroke-width:2.5;stroke-linejoin:round}
.pref a.hw path,.pref a.hw.on path{fill:var(--pink);stroke:var(--ink);stroke-width:7;stroke-linejoin:round;cursor:pointer;transition:fill .15s}
.pref a.hw.sel path{fill:var(--coral)}
.pref .loupe{transition:transform .45s cubic-bezier(.3,1.3,.5,1);pointer-events:none}
.pref .twinkle{transform-box:fill-box;transform-origin:50% 50%;animation:tw 2.6s ease-in-out infinite}
.pickcol{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.pc-n{font-size:19px;font-weight:900;line-height:1.3;background:linear-gradient(transparent 58%,var(--pink) 58%);padding:0 3px}
.pc-c{font-size:12px;font-weight:700;color:var(--sub);line-height:1.4}
.pc-c em{font-style:normal;font-family:var(--round);font-weight:800;font-size:24px;color:var(--ink)}
.pickcol .fb{width:76px;height:76px;margin:0;animation-delay:0s}
.pickcol .fb+.fb{margin:0;box-shadow:0 4px 0 var(--blue)}
.pickcol .fb:nth-of-type(3){box-shadow:0 4px 0 var(--mint)}
.pick span b{font-size:19px}
.citychips{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px}
.citychips .chip{min-height:44px}
@media (min-width:1000px){.maprow{margin-left:0;margin-right:0;grid-template-columns:1fr 120px}.citychips{padding:0}}

.legend span{display:inline-block}
.legend i{margin-right:5px;vertical-align:-2px}
body{overflow:clip}
html{overflow-x:hidden;overflow-y:auto}
.row .l1 span.blk{display:block;margin-left:0}
/* 虫めがねを大きく：スマホは輪を画面の幅いっぱいに（取っ手は右の外へ）、パソコンは左の列を広げる */
@media (max-width:999px){
  .lenswrap{width:112vw;max-width:none;margin:10px 0 0 -6vw}
  .found{left:9%;bottom:3%}
  .fb{width:92px;height:92px}
  .legend{margin-top:-6px}
}
@media (min-width:1000px){
  .page{max-width:1280px}
  .cols{grid-template-columns:minmax(0,560px) 1fr;gap:40px}
  .lenswrap{width:min(560px,calc(100vh - 300px));min-width:400px}
  .lenscap{max-width:520px}
  .fb{width:104px;height:104px}
}
.pref .loupe circle{r:130px}
/* 虫めがねのふちと取っ手は、黒でなくグレーに（神子さん 12/1） */
.lens>line,.lens>circle,.pref .loupe line,.pref .loupe circle{stroke:#8F8A84}
/* 列は元の幅（お店の紹介を縮めない）。虫めがねだけ、枠の外へはみ出して大きく見せる */
@media (min-width:1000px){
  .page{max-width:1160px}
  .cols{grid-template-columns:440px 1fr;gap:44px}
  .cols>.side{--bleed:min(170px,max(24px,(100vw - 1160px)/2 + 24px))}
  .lenswrap{width:min(calc(440px + var(--bleed) + 40px),calc(100vh - 250px));min-width:440px;max-width:none;margin-left:calc(-1*var(--bleed))}
  .lenscap{max-width:440px}
  .legend{position:relative;z-index:2}
}
@media (min-width:1000px){
  /* 送ったあとは見出しを上へ逃がし、虫めがねと名前の欄が画面に収まるようにする */
  .cols>.side{top:-176px}
  .lenswrap{width:min(calc(440px + var(--bleed) + 40px),calc(100vh - 292px))}
}
/* 虫めがねは真ん中に。輪のふちが、枠の左右に少しはみ出す大きさ（輪の中心は図の幅の 47.5% の位置） */
.lens{pointer-events:none}.lens .pin{pointer-events:auto}
@media (max-width:999px){
  .lenswrap{width:124vw;margin:10px 0 0 calc(50vw - 124vw*0.475)}
  .found{left:12%;bottom:4%}
}
@media (min-width:1000px){
  .cols>.side{z-index:2}
  .side .lenswrap{--w:max(440px,min(584px,calc(100vh - 292px)));width:var(--w);min-width:0;margin-left:calc(220px - var(--w)*0.475)}
}
/* 右の空きを詰める：ページの幅を広げ、お店の2列を左右に広げる（左の列は 440 のまま） */
@media (min-width:1000px){
  .page{max-width:1368px;padding:0 44px 60px}
  .cols{grid-template-columns:440px 1fr;gap:60px}
  .bar .in{max-width:1368px}
}

/* 虫めがねは背景のように大きく。ふちは濃いグレーで細く。見出しの文字のうしろに輪が重なる */
.lens>line,.lens>circle,.pref .loupe line,.pref .loupe circle{stroke:#6E6964}
.side h1,.side .stats,.side .crumb{position:relative;z-index:3}
.side h1{text-shadow:0 0 6px var(--bg),0 0 6px var(--bg)}
.stick{position:relative;z-index:1}
@media (max-width:999px){
  .stick{margin-top:-46px}
  .lenswrap{width:132vw;margin:0 0 0 calc(50vw - 132vw*0.475)}
  .found{left:15%;bottom:5%}
}
@media (min-width:1000px){
  .page{max-width:1640px;padding:0 32px 60px}
  .cols{grid-template-columns:500px 1fr;gap:56px;align-items:stretch}
  .cols>.side{position:static;z-index:auto}
  .cols>.main{position:relative;z-index:2}
  .stick{position:sticky;top:6px;margin-top:-120px}
  .side .lenswrap{--w:max(520px,min(790px,calc((100vh - 112px)/0.98)));width:var(--w);margin-left:calc(250px - var(--w)*0.475)}
  .legend,.lenscap{position:relative;z-index:3}
  .lenscap{max-width:500px;margin-top:-34px}
  .legend{margin-top:-58px;justify-content:flex-start;max-width:330px}
  .found{left:13%;bottom:5%}
}

.side .stat{text-shadow:0 0 4px var(--bg),0 0 4px var(--bg),0 0 5px var(--bg),0 0 6px var(--bg)}
@media (min-width:1000px){
  .side .lenswrap{--w:max(520px,min(790px,calc((100vh - 150px)/0.98)))}
  .legend{margin-top:2px;max-width:500px}
  .lenscap{margin-top:6px}
}

/* 丸い写真：いま見ているお店に入れ替わる */
.found .fl{position:absolute;left:2px;top:-24px;font-size:12px;font-weight:900;background:var(--pink);border-radius:6px;padding:0 8px;white-space:nowrap;line-height:1.7}
.fb.one{width:108px;height:108px;animation-delay:0s;animation-duration:.35s}
.fb.one .no{width:32px;height:32px;font-size:15px}
.fb.nop{background:var(--mint);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:900;color:var(--sub)}
@media (min-width:1000px){.fb.one{width:136px;height:136px}}
/* 左右の余白：32px は窮屈だったので 64px に（170→80→32→64） */
@media (min-width:1000px){.page{max-width:1560px;padding:0 64px 60px}.bar .in{max-width:1560px}}

/* ロゴを大きく。「み・っ・け」が順に跳ねる（開いたときと、そのあと数秒おき） */
.top{height:68px}
.logo{gap:9px}
.logo img{width:44px;height:44px;transform-origin:60% 60%;animation:peek 6s ease-in-out .3s infinite}
.logo b{font-size:27px;position:relative}
.logo b i{animation:hop 6s cubic-bezier(.3,.6,.4,1) infinite}
.logo b i:nth-of-type(1){animation-delay:.55s}
.logo b i:nth-of-type(2){animation-delay:.69s}
.logo b i:nth-of-type(3){animation-delay:.83s}
.logo b::after{content:"✦";position:absolute;right:-.62em;top:-.3em;font-size:.56em;color:var(--coral);line-height:1;scale:0;animation:found 6s ease-out 1.25s infinite}
@keyframes hop{0%{translate:0 0;scale:1 1}3%{translate:0 .05em;scale:1.12 .84}8%{translate:0 -.56em;scale:.93 1.1}13%{translate:0 0;scale:1.14 .84}16.5%{translate:0 -.14em;scale:.98 1.03}20%,100%{translate:0 0;scale:1 1}}
@keyframes peek{0%,22%,100%{rotate:0deg}5%{rotate:-13deg}11%{rotate:9deg}17%{rotate:-4deg}}
@keyframes found{0%{scale:0;rotate:-40deg}4%{scale:1.5;rotate:0deg}8%{scale:1;rotate:12deg}60%{scale:1;rotate:0deg}70%,100%{scale:0;rotate:30deg}}
.logo:hover b i{animation-duration:1.2s}
@media (min-width:1000px){
  .top{height:84px}
  .logo{gap:11px}
  .logo img{width:54px;height:54px}
  .logo b{font-size:35px}
}
@media (prefers-reduced-motion:reduce){.logo img,.logo b i{animation:none}.logo b::after{animation:none;scale:1}}

/* 虫めがねを気持ち小さく（約1割）。大きすぎると可愛さが減るため */
@media (max-width:999px){
  .lenswrap{width:120vw;margin:0 0 0 calc(50vw - 120vw*0.475)}
}
@media (min-width:1000px){
  .side .lenswrap{--w:max(480px,min(720px,calc((100vh - 214px)/0.98)))}
}

/* きょうのみっけ：小さな丸い写真をやめ、「◯軒から選んだ◯軒」と分かる枠にする */
section.kyo{position:relative;margin:26px 8px 0;padding:22px 0 18px;background:var(--yellow);border-radius:28px}
section.kyo.none{background:none;padding:22px 0 0;margin:0}
.kyo h2{font-size:25px;line-height:1.3;margin:0 18px 6px;padding-right:92px}
.kyo h2 .sp{width:26px;height:26px;margin-right:6px;vertical-align:-3px;animation:tw 2.6s ease-in-out infinite}
.kyo .h2sub{margin:0 18px 8px;color:var(--ink);padding-right:84px}
.why{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0 18px 6px;padding:0}
.why li{font-size:12.5px;font-weight:700;background:#fff;border-radius:999px;padding:2px 11px 2px 9px;line-height:1.7}
.why li::before{content:"✓";color:var(--coral);font-weight:900;margin-right:4px}
.seal{position:absolute;right:14px;top:-16px;width:88px;height:88px;border-radius:50%;background:var(--coral);border:3px solid var(--ink);color:#fff;display:flex;flex-wrap:wrap;align-content:center;justify-content:center;align-items:baseline;rotate:8deg;box-shadow:0 4px 0 rgba(47,42,38,.16);font-family:var(--round);font-weight:800;line-height:1;animation:pop .5s cubic-bezier(.3,1.5,.5,1) .5s both;z-index:3}
.seal[hidden]{display:none}
.seal small{flex:0 0 100%;text-align:center;font-size:12.5px;font-family:inherit;font-weight:900;margin-bottom:3px;font-family:"Zen Maru Gothic",sans-serif}
.seal b{font-size:36px}
.seal span{font-size:15px;margin-left:1px;font-family:"Zen Maru Gothic",sans-serif;font-weight:900}
.kyo .spots{padding:0 12px}
.kyo .from{padding-left:10px}
.cw{position:relative}
.rib{position:absolute;left:14px;top:-15px;z-index:2;margin:0;display:inline-flex;align-items:center;background:#fff;border:2.5px solid var(--ink);border-radius:999px;font-size:14px;font-weight:900;line-height:1;padding:0 12px 0 0;height:32px;box-shadow:0 3px 0 rgba(47,42,38,.14)}
.rib b{display:inline-flex;align-items:center;height:100%;background:var(--ink);color:#fff;border-radius:999px 0 0 999px;padding:0 9px 0 12px;margin-right:8px;font-family:var(--round);font-weight:800}
.kyo .pic .no{top:26px}
.kyo .walk{padding-bottom:20px}
.kyo .note{margin:12px 18px 0;color:var(--ink)}
.pin.pick .spark{opacity:1;transform:scale(1.2)}
.pin.pick.on .spark{transform:scale(1.6)}
.legend .lsp{color:var(--coral);font-size:15px;margin-right:4px;line-height:1}
@media (prefers-reduced-motion:reduce){.seal,.kyo h2 .sp{animation:none}}
@media (min-width:1000px){
  section.kyo{margin:20px -22px 0;padding:26px 24px 24px}
  .kyo h2{font-size:32px;margin:0 0 6px}
  .kyo h2 .sp{width:32px;height:32px}
  .kyo .h2sub{margin:0 0 10px;font-size:14px}
  .why{margin:0 0 4px}
  .why li{font-size:13px}
  .kyo .spots{padding:0}
  .seal{width:108px;height:108px;right:26px;top:-24px}
  .seal small{font-size:14px}
  .seal b{font-size:46px}
  .seal span{font-size:18px}
  .kyo .walk{padding-bottom:22px}
  .kyo .note{margin:14px 0 0}
}
@media (min-width:1000px){section.kyo{margin:20px -22px 0 -4px}}
/* 説明の行は、意味のまとまりで折り返す。しるしと箱が重ならないよう右を空ける */
.kyo .h2sub{padding-right:0;margin-right:112px;display:flex;flex-wrap:wrap;gap:2px 14px;font-weight:700}
.kyo .h2sub span{white-space:nowrap}
.kyo h2{padding-right:0;margin-right:112px}
.seal small,.seal b,.seal span{white-space:nowrap}
@media (min-width:1000px){.kyo .h2sub,.kyo h2{margin-right:150px}}
.row .l1 span,.rib{white-space:nowrap}
.row strong,.spot h3,.facts dd,.note,.asof,.lenscap{word-break:auto-phrase;text-wrap:pretty}
.nb{white-space:nowrap}
/* しるしは、上からぽんと押すように出す（大きさを変える動きは、文字の検査を狂わせるので使わない） */
@keyframes stamp{0%{opacity:0;translate:0 -16px}60%{opacity:1;translate:0 4px}100%{opacity:1;translate:0 0}}
.seal{rotate:6deg;animation:stamp .45s ease-out .5s both}
@media (prefers-reduced-motion:reduce){.seal{animation:none}}

/* ── 12/1 夜の直し2 ── */
/* 厳選の枠：虫めがねの中と同じ黄色だと目立たないので、ロゴの「み」のピンクにする */
section.kyo{background:var(--pink)}
.kyo h2 mark{background:linear-gradient(transparent 58%,#fff 58%)}
.kyo .pic{aspect-ratio:3/2}
.say{margin:8px 0 4px;font-size:14.5px;line-height:1.7;font-weight:700;word-break:auto-phrase;text-wrap:pretty}
@media (min-width:1000px){
  /* 1画面めに、写真・名前・一言・きょうの営業までを入れる。くわしい欄は下へ続ける */
  section.kyo{padding:20px 24px 24px}
  .kyo .kh{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;margin:0 150px 12px 0}
  .kyo .kh .h2sub{margin:0}
  .kyo .kh .why{margin:0}
  .kyo .walk{padding:0 4px 8px 0;justify-content:flex-end;min-height:34px}
  .kyo .rib{top:-40px;left:0}
  .kyo .pic .no{top:12px}
}
/* 右上「お店の方へ」：ボタンに見える形と大きさに */
.top .own{font-size:15px;font-weight:900;min-height:44px;padding:0 18px;border:2.5px solid var(--ink);border-radius:999px;background:#fff;box-shadow:0 4px 0 var(--mint);transition:translate .12s,box-shadow .12s}
.top .own::after{content:"→";margin-left:8px;font-family:var(--round)}
.top .own:hover{translate:0 2px;box-shadow:0 2px 0 var(--mint)}
@media (min-width:1000px){.top .own{font-size:17px;min-height:50px;padding:0 24px}}
/* 探偵のキャラクター（仮）：虫めがねの左下に立つ。送ると、見つけたお店の写真を横に出す */
.tantei{position:absolute;left:8%;bottom:1%;width:84px;z-index:2;pointer-events:none;animation:bob 3.2s ease-in-out infinite}
.tantei svg{display:block;width:100%;height:auto;overflow:visible}
@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -5px}}
.found{left:27%;bottom:6%}
@media (min-width:1000px){
  .tantei{left:-1%;bottom:2%;width:124px}
  .found{left:19%;bottom:9%}
}
@media (prefers-reduced-motion:reduce){.tantei{animation:none}}
@media (min-width:1000px){.tantei{left:2%}.found{left:22%}}
.tantei img{display:block;width:100%;height:auto}

/* Clip page decoration at the viewport edges while keeping the centered page and its sticky lens visible. */
.m2-wrap { overflow: clip; }
.m2-hours { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }

/* What kind of page this is, at a glance (owner 2026-12-02: city, station and genre pages looked the same):
   a town photo on a city page, a station name board on a station page, the genre's picture on a genre page. */
.gi .bg { fill: var(--a, #FFF0B8); } .gi .w { fill: #fff; } .gi .a { fill: var(--a, #FFF0B8); }
.ident { position: relative; z-index: 3; margin: 8px 16px 4px; }
.ident-genre { display: block; width: 64px; padding: 5px; border: 3px solid var(--ink); border-radius: 50%; background: #fff; box-shadow: 0 4px 0 var(--mint); }
.ident-genre .gi { display: block; width: 100%; height: auto; }
/* a drawing of the city itself (m2/city_art): beside the heading, large enough to read at a glance */
.ident-art { display: block; float: right; width: 100px; margin: 0 12px 0 8px; padding-top: 54px; shape-outside: inset(54px 0 0 0); }
.ident-art svg { display: block; width: 100%; height: auto; overflow: visible; }
/* the place name in a city page's heading: larger and on a colour (owner 2026-12-02: make the place itself stand out) */
.shi-in { display: inline-block; margin-right: .12em; padding: 0 .3em; border: 3px solid var(--ink); border-radius: .4em; background: var(--blue); box-shadow: 0 4px 0 var(--ink); font-size: 1.24em; line-height: 1.24; letter-spacing: .04em; vertical-align: -.04em; text-shadow: none; }
/* on a phone the larger name and a long genre do not share a line: break after the name on purpose */
@media (min-width: 600px) { .br-sp { display: none; } }
/* station name board, inline in the heading */
.eki-in { position: relative; display: inline-block; margin-right: .12em; padding: .02em .5em .62em; border: 3px solid var(--ink); border-radius: 12px; background: #fff; box-shadow: 0 4px 0 var(--blue); line-height: 1.25; letter-spacing: .06em; vertical-align: -.2em; text-shadow: none; }
.eki-in::before { content: ""; position: absolute; left: 0; right: 0; bottom: .42em; height: .16em; background: var(--coral); }
.eki-in::after { content: attr(data-roman); position: absolute; left: 0; right: 0; bottom: .04em; text-align: center; font-family: var(--round); font-size: .3em; font-weight: 800; letter-spacing: .08em; line-height: 1.2; white-space: nowrap; }
@media (min-width: 1000px) {
  /* beside the lens, under the heading: the left column keeps its height */
  .cols .side .ident { position: absolute; left: 368px; top: 132px; margin: 0; }
  .cols .side .ident-genre { width: 118px; }
  /* to the right of the heading, above the lens (the heading is 347px wide, the main column starts at 556px) */
  .cols .side .ident-art { float: none; left: 370px; top: -30px; width: 172px; padding: 0; }
  /* pages without a lens: the picture sits to the right of the heading */
  :is(.genre-single, .m2-ichiran main, .hub-single) > .ident, .genre-single .side > .ident { float: right; margin: 0 0 8px 16px; }
  :is(.genre-single, .m2-ichiran main) .ident-genre { width: 104px; }
}
/* the way to the shop's own site: one button on every card and shop page (owner 2026-12-02: the link was there but could not be seen) */
.btn.site { grid-column: 1 / -1; background: var(--coral); color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.btn.site::after { content: "↗"; font-family: var(--round); font-size: .9em; }
.btn.site:active { box-shadow: 0 1px 0 var(--ink); }
.shop-site { display: grid; gap: 12px; margin: 16px 0 4px; }
@media (min-width: 700px) { .shop-site { grid-template-columns: repeat(auto-fit, minmax(0, 320px)); } }
.bar a.st { background: var(--coral); color: var(--ink); }
/* in a row of curated cards the site buttons line up at the bottom, whatever the length of the names */
.kyo .spots > .spot:not([hidden]) { display: flex; flex-direction: column; }
.kyo .spots > .spot > .pic, .kyo .spots > .spot > .cap { flex: none; min-height: 0; }
.kyo .spots > .spot > .bd { flex: 1; display: flex; flex-direction: column; }
.kyo .spots > .spot > .bd > .acts:last-child { margin-top: auto; padding-top: 12px; }

.m2-for-shops .shop-main {
  max-width: 840px;
  margin-inline: auto;
  padding: 12px 16px;
}
.m2-for-shops h1,
.m2-for-shops h2 { margin-inline: 0; }
.m2-for-shops h1 { text-wrap: balance; }
.m2-for-shops .lead { margin: 12px 0 22px; }
.m2-for-shops .spot,
.m2-for-shops .owner { margin: 16px 0; padding: 18px; }
.m2-for-shops .spot p,
.m2-for-shops .owner p { margin: 8px 0; }
.m2-for-shops :is(ol, ul) { padding-inline-start: 1.6em; }
.m2-for-shops li + li { margin-top: .35em; }
.m2-for-shops textarea {
  display: block;
  width: 100%;
  padding: 12px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  resize: vertical;
}
.m2-for-shops .btn { padding-inline: 16px; font-family: inherit; cursor: pointer; }
.m2-for-shops .back { display: inline-block; padding-block: 10px; }

/* one button to reach us, and the address in plain sight (owner 2026-12-02) */
.m2-for-shops .fs-direct { margin: 4px 0 18px; }
.m2-for-shops .fs-mail { min-height: 56px; font-size: 17px; background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--ink); }
.m2-for-shops .fs-addr { margin: 12px 0 2px; font-size: 16px; font-weight: 900; }
.m2-for-shops .fs-note { margin: 0; font-size: 13px; color: var(--sub); }
.m2-for-shops .fs-alt { margin: 18px 0 6px; padding-top: 14px; border-top: 1.5px solid var(--line); font-size: 15px; }
.m2-for-shops .fs-top { margin: 14px 0 20px; }
.m2-for-shops .fs-top .fs-mail { max-width: 420px; }

.m2-genre .main, .m2-genre .row,
.m2-genre .genre-panel { min-width: 0; }
.m2-genre .crumb ol { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; margin: 0; padding: 0; }
.m2-genre .crumb li + li::before { content: "›"; margin-right: .4em; }
.m2-genre .row { display: block; }
.m2-genre .genre-shop-link { display: flex; gap: 12px; text-decoration: none; }
.m2-genre .genre-selection { position: relative; z-index: 3; margin-top: 4px; }
.m2-genre .genre-details { margin-top: 4px; font-size: 14px; }
.m2-genre .genre-details > summary { width: fit-content; margin-left: 108px; color: var(--sub); }
.m2-genre .genre-details p { margin-block: 8px; }
.m2-genre .row[hidden] { display: none; }
.m2-genre .wd { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.m2-genre .genre-address-part { display: inline-block; vertical-align: top; max-width: 100%; text-wrap: balance; }
.m2-genre .genre-status { max-width: 100%; }
.m2-genre .genre-panel, .m2-genre .cmp {
  margin: 16px; padding: 14px 16px; background: white;
  border-radius: 16px; box-shadow: 0 0 0 1.5px var(--line);
}
.m2-genre .genre-panel h2, .m2-genre .cmp h2 { margin-inline: 0; }
.m2-genre .genre-panel summary, .m2-genre .genre-details summary { cursor: pointer; font-weight: 700; }
.m2-genre .genre-panel li + li { margin-top: .5em; }
.m2-genre .genre-panel ul, .m2-genre .genre-details dd { padding-left: 1.2em; margin-left: 0; }
.m2-genre .genre-details .why { margin: 8px 0; }
.m2-genre .genre-details .why li { background: var(--pink); }
.m2-genre .genre-details .acts { margin-bottom: 8px; }
.m2-genre .seg { display: block; }
.m2-genre .nw { display: inline-block; max-width: 100%; }
.m2-genre .cmp-scroll { overflow-x: auto; }
.m2-genre .cmp table { border-collapse: collapse; font-size: 14px; }
.m2-genre .cmp th, .m2-genre .cmp td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.m2-genre .cmp td.nw { display: table-cell; white-space: nowrap; }
.m2-genre .cmp th { min-width: 6em; }
.m2-genre .genre-credits img { width: 96px; aspect-ratio: 1; object-fit: cover; vertical-align: middle; }
.m2-genre .genre-single { max-width: 900px; margin-inline: auto; }
@media (min-width: 1000px) {
  .m2-genre .genre-panel, .m2-genre .cmp { margin-inline: 0; }
  .m2-genre .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (min-width: 1000px) and (max-width: 1200px) {
  .m2-genre .rows { grid-template-columns: minmax(0, 1fr); }
}
/* long shop names and addresses without spaces break between phrases, not inside one */
.m2-genre .row strong, .m2-genre .genre-details dt, .m2-genre .genre-details dd, .m2-genre .genre-details li, .m2-genre .genre-panel li { word-break: auto-phrase; }
/* the note under the counts stays readable where the lens passes behind it */
.m2-genre .genre-selection { text-shadow: 0 0 4px var(--bg), 0 0 4px var(--bg), 0 0 6px var(--bg), 0 0 8px var(--bg); }
@media (min-width: 1000px) { .m2-genre .cols .stick { margin-top: -56px; } }

.m2-directory { margin: 12px 16px; }
.m2-directory summary { cursor: pointer; }
.m2-directory .wd, .m2-hour-part { display: inline-block; max-width: 100%; vertical-align: top; }
.m2-hour-part:not(:last-child) { margin-inline-end: .5em; }
@media (max-width: 400px) {
  .station-note { margin-inline-end: 8px; letter-spacing: -.04em; }
}
.m2-hub .hub-list-only { display: block; max-width: 880px; margin-inline: auto; }
.hub-list-only > .side { position: static; }
.hub-photos, .hub-picks .spots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.hub-photos { margin: 0 16px; }
.hub-photos figure { min-width: 0; margin: 0; }
.hub-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; border-radius: 16px; }
.hub-photos figcaption { margin-top: 4px; color: var(--sub); font-size: 13px; }
.hub-districts, .hub-jumps, .hub-about p { margin: 12px 16px; }
.hub-districts details { padding: 6px 0; }
.hub-districts summary, .hub-picks summary { cursor: pointer; }
.hub-districts h3 { margin: 12px 0; }
.hub-districts .citychips { padding: 0; }
.hub-picks .why { margin: 8px 0; }
.hub-picks .wd { display: inline-block; max-width: 100%; }
.hub-picks .pic img { width: 100%; height: 100%; }
.hub-picks .spots { margin-top: 18px; align-items: stretch; }
@media (min-width: 1000px) {
  .hub-photos, .hub-jumps, .hub-districts, .hub-about p { margin-inline: 0; }
}
@media (min-width: 1000px) and (max-width: 1180px) {
  .m2-hub #sts { grid-template-columns: 1fr; }
}
.hub-about h3 { margin: 16px 16px 4px; }
@media (min-width: 1000px) { .hub-about h3 { margin-inline: 0; } }

.m2-ichiran .crumb ol { display: flex; flex-wrap: wrap; gap: 0 .4em; margin: 0; padding: 0; list-style: none; }
.m2-ichiran .crumb li + li::before { content: "›"; margin-right: .4em; }
.m2-ichiran .stat b { min-width: 40px; width: auto; padding-inline: 6px; }
.m2-ichiran .area > h2 { margin-bottom: 12px; }
.m2-ichiran .kyo { margin: 0 8px 12px; padding: 12px 0 16px; }
.m2-ichiran .kyo h3 { margin: 0 16px 8px; }
.m2-ichiran .row { position: relative; min-width: 0; overflow-wrap: anywhere; }
.m2-ichiran .wd { display: inline-block; max-width: 100%; }
.m2-ichiran .row-link::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.m2-ichiran strong a { text-decoration: none; }
.m2-ichiran .map-link { align-self: flex-start; font-size: 13px; }
.m2-ichiran .map-link:not(.row-link) { position: relative; }
.m2-ichiran .today { min-height: 1.75em; white-space: normal; }
.m2-ichiran .hours .seg { display: block; white-space: normal; margin: 0; color: inherit; }
.m2-ichiran .hours .nw { white-space: nowrap; margin: 0; color: inherit; }
.m2-ichiran .back { margin: 22px 16px 0; }
.m2-ichiran .back a { width: fit-content; padding-inline: 16px; }
@media (min-width: 1000px) {
  .m2-ichiran .kyo { margin-inline: 0; padding: 16px; }
  .m2-ichiran .kyo h3, .m2-ichiran .back { margin-inline: 0; }
  .m2-ichiran .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.m2-ichiran .address .addr-unit,
.m2-ichiran .address .building { display: inline-block; max-width: 100%; margin: 0; color: inherit; white-space: normal; vertical-align: top; }

.m2-pan-cafe .lang,
.m2-pan-cafe .trail ol,
.m2-pan-cafe .filter-row,
.m2-pan-cafe .fvb-gen,
.m2-pan-cafe .act {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.m2-pan-cafe .lang { justify-content: flex-end; margin-inline: 16px; }
.m2-pan-cafe .lang > * { padding: 4px; }
.m2-pan-cafe .trail ol { list-style: none; padding: 0; margin: 0; }
.m2-pan-cafe .trail li + li::before { content: "›"; margin-right: 8px; }
.m2-pan-cafe .fvb-main { margin-inline: auto; padding-inline: 16px; }
.m2-pan-cafe :is(h1, h2, h3, .note) { margin-inline: 0; }
.m2-pan-cafe .fvb { padding-top: 8px; }
.m2-pan-cafe .fvb-margin, .m2-pan-cafe .fvb-logo { display: none; }
.m2-pan-cafe .fvb-date { min-height: 1.75em; color: var(--sub); }
.m2-pan-cafe .h1-sub, .m2-pan-cafe .h1-area { display: block; }
.m2-pan-cafe .h1-name { display: inline; background: linear-gradient(transparent 58%, var(--pink) 58%); }
.m2-pan-cafe .h1-sub { margin-block: 6px; font-size: .75em; }
.m2-pan-cafe .h1-area { font-size: .55em; }
.m2-pan-cafe .today-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 4px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: inherit;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.m2-pan-cafe .today-pill i,
.m2-pan-cafe .cn {
  display: inline-grid;
  place-items: center;
  font-family: var(--round);
  font-style: normal;
  background: var(--yellow);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.m2-pan-cafe .today-pill[aria-pressed=true] { background: var(--mint); }
.m2-pan-cafe .bento, .m2-pan-cafe .town-grid { display: grid; gap: 8px; margin-top: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.m2-pan-cafe .bt:first-child { grid-column: 1 / -1; }
.m2-pan-cafe .bt, .m2-pan-cafe figure { position: relative; display: block; margin: 0; min-width: 0; }
.m2-pan-cafe .bt img, .m2-pan-cafe figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
/* Reserve the photo frame before decoding; keep the entire photograph visible. */
.m2-pan-cafe .bt img { aspect-ratio: 4 / 3; object-fit: contain; }
.m2-pan-cafe .ph-credit .nw { display: inline-block; max-width: 100%; }
.m2-pan-cafe .bt-cap { display: block; font-size: 13px; font-weight: 700; }
.m2-pan-cafe .credit, .m2-pan-cafe .list-note, .m2-pan-cafe .swipe, .m2-pan-cafe .hit {
  margin-block: 8px;
  color: var(--sub);
  font-size: 13px;
}
.m2-pan-cafe .fvb-areas { margin-top: 18px; }
.m2-pan-cafe .fvb-go, .m2-pan-cafe .go-areas { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.m2-pan-cafe .go-areas h3 { flex-basis: 100%; }
.m2-pan-cafe .go, .m2-pan-cafe .fvb-gen a {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  background: var(--blue);
  border: 2.5px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}
.m2-pan-cafe .go:nth-of-type(4n+2), .m2-pan-cafe .fvb-gen a:nth-of-type(4n+2) { background: var(--pink); }
.m2-pan-cafe .go:nth-of-type(4n+3), .m2-pan-cafe .fvb-gen a:nth-of-type(4n+3) { background: var(--mint); }
.m2-pan-cafe .go:nth-of-type(4n), .m2-pan-cafe .fvb-gen a:nth-of-type(4n) { background: var(--yellow); }
.m2-pan-cafe .go.on, .m2-pan-cafe .fvb-gen a.on { border-color: var(--ink); }
.m2-pan-cafe .go em { margin-left: 5px; font-style: normal; }
.m2-pan-cafe .go small { display: block; }
.m2-pan-cafe .go img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.m2-pan-cafe .fvb-gen, .m2-pan-cafe .filter-row { margin-block: 8px 16px; }
.m2-pan-cafe .fvb-gen h2 { width: 100%; }
.m2-pan-cafe .grid { display: grid; gap: 12px; }
.m2-pan-cafe .card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  column-gap: 12px;
  align-content: start;
  padding: 12px;
}
.m2-pan-cafe .card > * { grid-column: 2; min-width: 0; }
.m2-pan-cafe .card .card-ph {
  grid-column: 1; grid-row: 1 / span 4;
  position: relative;
  display: grid; place-items: center;
  width: 100%; height: 80px;
  margin: 0; padding: 5px;
  border-radius: 12px;
  background: var(--blue);
  box-shadow: none;
  text-align: center; text-decoration: none;
  color: var(--sub); font-size: 12px; font-weight: 700;
}
.m2-pan-cafe .card-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.m2-pan-cafe .card-ph .ph-src { position: absolute; bottom: 0; background: white; }
.m2-pan-cafe .card:nth-child(4n+2) .card-ph { background: var(--pink); }
.m2-pan-cafe .card:nth-child(4n+3) .card-ph { background: var(--mint); }
.m2-pan-cafe .card:nth-child(4n) .card-ph { background: var(--yellow); }
.m2-pan-cafe .stamp { display: none; }
.m2-pan-cafe .cn { width: 28px; height: 28px; margin-right: 6px; color: white; background: var(--coral); border: 2.5px solid var(--ink); font-size: 13px; }
.m2-pan-cafe .wd, .m2-pan-cafe .hours .nw { display: inline-block; }
.m2-pan-cafe .seg { display: block; }
.m2-pan-cafe .today-st { margin: 0; min-height: 1.75em; font-weight: 700; color: var(--sub); }
.m2-pan-cafe .today-st.on { color: var(--open); }
.m2-pan-cafe .card .act { grid-column: 1 / -1; margin-top: 8px; }
.m2-pan-cafe .btn { padding-inline: 12px; font-family: inherit; cursor: pointer; }
.m2-pan-cafe .act .btn { flex: 1 1 auto; }
.m2-pan-cafe .meta { margin: 4px 0; font-size: 14px; }
.m2-pan-cafe .area-h { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 10px; }
.m2-pan-cafe .area-h span { padding: 2px 8px; background: var(--mint); border-radius: 6px; font-size: 13px; }
.m2-pan-cafe .map-scroll, .m2-pan-cafe .cmp-scroll { max-width: 100%; overflow-x: auto; background: white; border-radius: 16px; }
.m2-pan-cafe .mmap { display: block; width: 100%; min-width: 700px; height: auto; }
.m2-pan-cafe .mm-area, .m2-pan-cafe .mm-road { font-weight: 800; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.m2-pan-cafe .mm-no { font-family: var(--round); }
.m2-pan-cafe .lg-wrap, .m2-pan-cafe .outro-cols > div { margin-block: 12px; padding: 12px 16px; background: white; border-radius: 16px; box-shadow: 0 0 0 1.5px var(--line); }
.m2-pan-cafe .pan-legend ul { margin: 0; padding-inline-start: 1.3em; }
.m2-pan-cafe .lg li a { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 6px; }
.m2-pan-cafe .lg-g { grid-column: 2; }
.m2-pan-cafe .lg b, .m2-pan-cafe .lg-g, .m2-pan-cafe .lg p span { margin-inline: 6px; }
.m2-pan-cafe .cmp-t { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 14px; }
.m2-pan-cafe .cmp-t :is(th,td) { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.m2-pan-cafe .cmp-t td:nth-child(4) { min-width: 12em; text-wrap: balance; }
.m2-pan-cafe .for-shops { margin-inline: 0; }
.m2-pan-cafe [hidden], .m2-pan-cafe + [hidden], .m2-pan-sheet[hidden] { display: none; }
.m2-pan-sheet { position: fixed; inset: 0; z-index: 30; display: grid; align-items: end; justify-items: center; background: rgba(47,42,38,.45); }
.m2-pan-sheet .sheet-in { width: min(100%, 580px); max-height: 90vh; overflow-y: auto; padding: 18px; border-radius: 20px 20px 0 0; background: white; }
.m2-pan-sheet .close { min-height: 44px; padding-inline: 16px; font: inherit; cursor: pointer; }
@media (min-width: 1000px) {
  .m2-pan-cafe .fvb-main { padding-inline: 0; }
  .m2-pan-cafe .fvb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 36px; align-items: start; }
  .m2-pan-cafe .fvb-title { grid-column: 1; grid-row: 1 / span 2; }
  .m2-pan-cafe .bento, .m2-pan-cafe .fvb-credit { grid-column: 2; margin-top: 0; }
  .m2-pan-cafe .bento { grid-template-columns: 2fr 1fr; }
  .m2-pan-cafe .bt:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .m2-pan-cafe .fvb-areas { grid-column: 1 / -1; }
  .m2-pan-cafe .grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .m2-pan-cafe .pan-legend, .m2-pan-cafe .outro-cols { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 16px; }
}

.m2-root [hidden] { display: none; }
.m2-root .root-single { max-width: 640px; margin-inline: auto; }
.m2-root .root-card {
  margin: 12px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1.5px var(--line);
}
.m2-root .root-card :is(h3, h4, p) { margin: 0; }
.m2-root .root-hours, .m2-root .wd { display: inline-block; max-width: 100%; }
.m2-root .root-hours:not(:last-child) { margin-inline-end: .5em; }
.m2-root .root-card .citychips { padding: 0; margin-block: 8px; }
.m2-root .root-directory details { margin-block: 12px; }
.m2-root .root-directory summary { cursor: pointer; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .m2-root .loupe { transition: none; }
  .m2-root .twinkle { animation: none; }
}

.m2-root .kyo :is(h2, .h2sub) { display: block; margin-right: 18px; }
.m2-root .kyo .spots { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.m2-root .spots[hidden] { display: none; }
.m2-root .spot { min-width: 0; }
.m2-root .spot .bd { padding: 10px 12px 14px; }
.m2-root .spot .why { display: block; margin: 8px 0; }
.m2-root .spot .why li { padding: 2px 0; }
.m2-root .spot details { font-size: 13px; }
.m2-root summary { cursor: pointer; }
.m2-root .spot details p { margin: 4px 0; }
.m2-root .root-about { margin: 28px auto 0; max-width: 1000px; padding-inline: 16px; }
.m2-root .root-about h2 { margin-inline: 0; }
.m2-root .root-about h3 { margin: 0 0 6px; font-size: 19px; }
.m2-root .root-info > * { min-width: 0; margin: 12px 0; padding: 0; }
.m2-root .root-info p { margin: 6px 0; }
/* Reserve room for the longest station name, the count and the button padding. */
.m2-root #sts {
  --station-share: calc((100% - 8px) / 2);
  --station-min: calc(var(--station-name-width) + 2.5em + 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(var(--station-min), var(--station-share))), 1fr));
}
.m2-root #sts .city { white-space: nowrap; gap: 6px; }
@media (min-width: 1000px) {
  .m2-root #sts { --station-share: calc((100% - 16px) / 3); }
  .m2-root .kyo { container: root-picks / inline-size; }
  .m2-root .root-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; }
}
/* The map occupies the left column. Use the remaining card space in the right column. */
@container root-picks (min-width: 400px) {
  .m2-root .kyo .spots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container root-picks (min-width: 564px) {
  .m2-root .kyo .spots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* cards in one row share the row's height (the base grid aligns them to the top) */
.m2-root .kyo .spots { align-items: stretch; }
.m2-root .kyo .spots > * { height: 100%; }

/* The prefecture map fills the left column (owner 2026-12-02: the map looked small and the column was empty below
   the selected city). The chosen city's name, count and photos sit in the sea to the lower right, and the heading in
   the open corner at the upper right; the column stays in view while the right side scrolls. */
.m2-root .maprow { display: block; position: relative; }
.m2-root .prefbox { width: 100%; }
.m2-root .pickcol { position: absolute; right: 0; top: 55%; width: 40%; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.m2-root .pickcol .pc-n, .m2-root .pickcol .pc-c { flex: 0 0 100%; }
.m2-root .pickcol .fb { width: min(52px, 29%); height: auto; aspect-ratio: 1; }
@media (min-width: 1000px) {
  .m2-root .cols > .side { position: sticky; top: 8px; align-self: start; }
  .m2-root .side h1 { position: absolute; left: 150px; top: 4px; margin: 0; z-index: 3; }
  .m2-root .side .sub { position: absolute; left: 152px; top: 104px; margin: 0; z-index: 3; max-width: 340px; font-size: 13px; text-shadow: 0 0 4px var(--bg), 0 0 4px var(--bg), 0 0 6px var(--bg); }
  .m2-root .maprow { margin: 0; }
  .m2-root .prefbox { max-height: calc(100vh - 110px); aspect-ratio: 1000 / 1308; width: auto; max-width: 100%; }
  .m2-root .prefbox svg { height: 100%; width: 100%; }
  .m2-root .pickcol { top: 56%; width: 38%; }
  .m2-root .pickcol .fb { width: 54px; }
  .m2-root .pick { position: absolute; right: 0; bottom: 6px; width: 58%; margin: 0; padding: 10px 14px; z-index: 3; }
}
/* second pass: nothing sits on the coloured cities, and the selected city's box keeps its words on one line */
.m2-root .root-lead { display: none; }
.m2-root .pickcol .pc-n { flex: 0 0 auto; }
.m2-root .pickcol::after { content: ""; flex: 0 0 100%; order: 1; height: 0; }
.m2-root .pickcol .pc-c { order: 2; } .m2-root .pickcol .fb { order: 3; }
@media (min-width: 1000px) {
  .m2-root .side .sub { display: none; }
  .m2-root .root-lead { display: inline; }
  .m2-root .pick { width: 66%; gap: 10px; }
  .m2-root .pick .btn { flex: none; }
  .m2-root .pick > span { min-width: 0; }
}
.m2-root .pick .btn { flex: none; }
/* the way to the selected city's page, next to the city list (owner 2026-12-02: choosing a city did not seem to go anywhere) */
.m2-root .root-go { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 12px 16px 0; font-size: 12.5px; color: var(--sub); }
.m2-root .root-go .btn { flex: none; min-height: 46px; padding: 0 20px; box-shadow: 0 4px 0 var(--pink); }
.m2-root .root-go .btn::after { content: "→"; margin-left: 6px; font-family: var(--round); }
@media (min-width: 1000px) { .m2-root .root-go { margin-inline: 0; } }
.m2-root .root-go .btn { gap: 0; }

.m2-shop { padding-bottom: 100px; }
.m2-shop .shop-single { max-width: 760px; margin-inline: auto; }
.shop-bar .in { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; }
.m2-shop .hero-pic.ph-x::after {
  content: '写真を読み込めませんでした'; display: grid; place-items: center; height: 100%; color: var(--sub); font-size: 13px;
}
.m2-shop .shop-source, .m2-shop .shop-walk, .m2-shop .facts small { color: var(--sub); }
.m2-shop .shop-source { font-size: 12px; }
.m2-shop .shop-qa h3 { font-size: 16px; margin: 14px 0 4px; }
.m2-shop .shop-qa p { margin: 0; font-size: 14px; }
.m2-shop .seg, .m2-shop .mi { display: block; }
.m2-shop .nw, .m2-shop .wd { display: inline-block; max-width: 100%; vertical-align: top; }
.m2-shop .mi b { margin-inline-start: .5em; }
.m2-shop .facts dd, .m2-shop .main, .m2-shop .side { min-width: 0; overflow-wrap: anywhere; }
.m2-shop .trail ol { display: flex; flex-wrap: wrap; gap: .25em .5em; list-style: none; padding: 0; }
.m2-shop .trail li + li::before { content: '› '; }
.m2-shop .trail { font-size: 12px; color: var(--sub); margin: 20px 16px 0; }
.m2-shop .trail a { color: inherit; }
.m2-shop .kyo h2 { margin-right: 0; padding-right: 0; }
@media (min-width: 1000px) {
  .m2-shop .trail { margin-inline: 0; }
}
.m2-shop > .shop-bar { position: fixed; z-index: 30; }
.m2-shop .tags i { white-space: nowrap; }
@media (min-width: 1000px) {
  .m2-shop .rows { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); }
}
@media (max-width: 999px) {
  .m2-shop section.kyo { padding-inline: 18px; }
  .m2-shop .kyo h2, .m2-shop .kyo .note { margin-inline: 0; }
}

.m2-station [hidden] { display: none; }
.m2-station .wd { display: inline-block; max-width: 100%; }
.m2-station .main, .m2-station .step { min-width: 0; }

.m2-station .walk small, .m2-station .btn, .m2-station .tags i { white-space: nowrap; }
.m2-station .station-hours, .m2-station .hour-period { display: block; }
.m2-station .hour-separator { display: none; }
@media (max-width: 599px) {
  .m2-station .hour-session { display: block; }
}
.m2-station .say-part { display: inline-block; max-width: 100%; }

@media (min-width: 1000px) and (max-width: 1399px) {
  /* The fixed lens column leaves very little room for two cards on smaller laptops. */
  .m2-station .spots { grid-template-columns: repeat(auto-fill, minmax(min(100%, 295px), 1fr)); }
  .m2-station .rows { grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr)); }
}
