/*
VOICE  : 韓国のカフェのメニュー表みたいに、静かで、余白が多くて、やさしい
IDEA   : 白い紙にのった旅のしおり。色は3色まで：無彩色（白・グレー・チャコール）＋淡いラベンダー＋黄色を一点だけ
PICTURE: 白いカード、細い線、やわらかい影。黄色は「選んだもの」と「今いちばん押してほしいもの」だけ
COLOUR : 背景 #F7F6F3／面 #FFFFFF／文字 #2B2A2E／淡色 #EEEAF7（ラベンダー）／アクセント #FFE36E（面積1割以下）
TYPE   : Pretendard JP 一本。見出しは800、本文は500
*/
:root {
  color-scheme: light;
  --bg: #F7F6F3;
  --card: #FFFFFF;
  --ink: #2B2A2E;
  --ink2: #57555C;
  --muted: #8C8992;
  --line: #E6E3DE;
  --pale: #EEEAF7;
  --pale2: #F4F2FA;
  --accent: #FFE36E;
  --shadow: 0 1px 2px rgba(43,42,46,.04), 0 6px 20px rgba(43,42,46,.06);
  --r: 20px;
  --font: 'Pretendard JP Variable', 'Pretendard JP', 'Hiragino Sans', 'Noto Sans JP', system-ui, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 500 16px/1.7 var(--font); letter-spacing: .01em; overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px max(4vw, 16px); background: rgba(247,246,243,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.logo svg { width: 32px; height: 32px; }
.topnav { display: flex; gap: 20px; font-size: 14px; color: var(--ink2); }
.topnav a { text-decoration: none; }
.topnav a:hover { color: var(--ink); }

/* ---------- buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 22px;
  border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer;
  transition: background .15s, color .15s, transform .1s; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #423F47; }
.btn:active { transform: scale(.98); }
.btn.big { min-height: 56px; font-size: 17px; padding: 12px 30px; }
.btn.sm { min-height: 40px; padding: 6px 15px; font-size: 14px; }
.btn.ghost, .btn.yellow, .btn.lav, .btn.mint { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.ghost:hover, .btn.lav:hover, .btn.mint:hover { background: var(--pale2); border-color: #D9D5E6; }
.btn.yellow { background: var(--accent); border-color: var(--accent); }
.btn.yellow:hover { background: #FFDB4A; border-color: #FFDB4A; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; flex: none; }
.icon svg { width: 20px; height: 20px; }
.link { background: none; border: 0; padding: 8px 0; color: var(--ink2); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: #C9C5D3; text-underline-offset: 5px; cursor: pointer; min-height: 44px; }
.link:hover { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 15px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--card); color: var(--ink2); font-weight: 600; font-size: 14.5px; cursor: pointer; white-space: nowrap; transition: .15s; }
.chip:hover { border-color: #CFCBD9; color: var(--ink); }
.chip .dot { display: none; }
.chip[aria-pressed="true"] { background: var(--pale); border-color: #D6CFEC; color: var(--ink); }
.chip small { font-weight: 500; opacity: .6; font-size: 12.5px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 6vw, 80px) max(5vw, 18px) clamp(32px, 5vw, 64px); max-width: 1200px; margin: 0 auto; }
.kicker { display: inline-flex; gap: 10px; align-items: center; margin: 0 0 18px; color: var(--ink2); font-size: 13.5px; font-weight: 600; }
.kicker > span { padding: 4px 12px; border-radius: 999px; background: var(--pale); color: var(--ink); font-weight: 700; }
.kicker i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
h1 { font-size: clamp(32px, 5vw, 50px); line-height: 1.25; font-weight: 800; margin: 0 0 16px; text-wrap: balance; letter-spacing: -.01em; }
h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%); }
.lead { font-size: 16.5px; color: var(--ink2); margin: 0 0 28px; max-width: 32em; }
.start { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); }
.field { position: relative; display: grid; gap: 6px; }
.lbl, .likes legend { font-weight: 700; font-size: 13.5px; color: var(--ink2); }
.field input, .field select, .bar select { width: 100%; min-height: 52px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); font-size: 16.5px; transition: .15s; }
.field input:focus, .field select:focus { background: #fff; border-color: #BDB8CC; outline: none; box-shadow: 0 0 0 4px var(--pale2); }
.likes { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.start .btn.big { grid-column: 1 / -1; }
.start .link { grid-column: 1 / -1; justify-self: center; }
.suggest { position: absolute; z-index: 20; top: 100%; left: 0; right: 0; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.suggest li { padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.suggest li small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--pale2); }

.hero-art { position: relative; min-height: 420px; display: grid; place-items: center; }
.halo { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: var(--pale); }
.ticket { position: relative; width: min(88%, 320px); padding: 22px 22px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 20px 50px rgba(43,42,46,.10); transform: rotate(-3deg); }
.tk-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.tk-h b { font-size: 22px; font-weight: 800; letter-spacing: .02em; }
.tk-h span { font-size: 13px; color: var(--muted); font-weight: 600; }
.tk-day { margin: 12px 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.ticket ol { list-style: none; margin: 0; padding: 0; }
.ticket li { display: grid; grid-template-columns: 48px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; font-size: 14px; }
.ticket li + li { border-top: 1px solid #F0EEEA; }
.ticket time { font-weight: 800; font-variant-numeric: tabular-nums; }
.ticket em { font-style: normal; font-size: 11.5px; color: var(--ink2); padding: 2px 9px; border-radius: 999px; background: var(--pale2); font-weight: 700; }
.ticket em.hi { background: var(--accent); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .ticket { animation: float 7s ease-in-out infinite; }
  @keyframes float { 50% { translate: 0 -6px; } }
}

/* ---------- bands ---------- */
.band { padding: clamp(36px, 6vw, 80px) max(5vw, 18px); max-width: 1200px; margin: 0 auto; }
h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.35; font-weight: 800; margin: 0 0 20px; letter-spacing: -.01em; }
.howto { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.howto li { counter-increment: s; display: grid; gap: 6px; align-content: start; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.howto li::before { content: "0" counter(s); font-size: 13px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.howto b { font-size: 17px; }
.howto span { color: var(--ink2); font-size: 15px; }
.placelist { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.place { display: grid; gap: 2px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-decoration: none; transition: .15s; }
.place:hover { border-color: #D3CFE0; background: var(--pale2); }
.place b { font-size: 18px; font-weight: 800; }
.place small { color: var(--muted); font-weight: 500; font-size: 13px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 44px; }
.faq p { margin: 0 0 16px; color: var(--ink2); }
.seo .areaguide { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.seo .areaguide li { display: grid; gap: 4px; align-content: start; padding: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.seo .areaguide b { font-size: 17px; }
.seo .areaguide small { color: var(--muted); }
.seo .areaguide p { margin: 0 0 8px; color: var(--ink2); font-size: 14.5px; }
.seo .areaguide .btn { justify-self: start; }
.seo > p { color: var(--ink2); }
.foot { border-top: 1px solid var(--line); padding: 32px max(5vw, 18px) calc(32px + env(safe-area-inset-bottom)); font-size: 13.5px; color: var(--ink2); }
.foot p { margin: 0 auto 8px; max-width: 1200px; }
.credit { color: var(--muted); }

/* ---------- app ---------- */
body.in-app .hero, body.in-app .seo, body.in-app .how, body.in-app .places, body.in-app .faq { display: none; }
.app { max-width: 1400px; margin: 0 auto; padding: 16px max(2vw, 12px) 112px; }
.bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.dest { flex: 1 1 160px; display: grid; line-height: 1.3; }
.dest b { font-size: 22px; font-weight: 800; }
.dest small { color: var(--muted); font-size: 13px; }
.bar select { width: auto; min-height: 44px; font-weight: 700; background: var(--card); }
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 999px; background: #ECEAE6; }
.steps button { min-height: 42px; border: 0; border-radius: 999px; background: none; font-weight: 700; color: var(--ink2); cursor: pointer; }
.steps button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(43,42,46,.10); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.mapwrap { position: sticky; top: 80px; height: calc(100vh - 210px); min-height: 360px; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: #EFEDE8; }
#map { position: absolute; inset: 0; }
.here { position: absolute; z-index: 5; left: 50%; top: 12px; transform: translateX(-50%); box-shadow: var(--shadow); }
.nomap { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); }
.areas { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.areas .chip { scroll-snap-align: start; flex: none; }
.genres { margin-bottom: 14px; }
.genres .chip { min-height: 36px; padding: 4px 13px; font-size: 13.5px; background: transparent; }
.genres .chip[aria-pressed="true"] { background: var(--card); border-color: var(--ink); color: var(--ink); }
.status { color: var(--ink2); font-size: 14px; }
.status:not(:empty) { margin: 4px 0 14px; padding: 12px 16px; border-radius: 14px; background: var(--pale2); }
.status .retry { margin-left: 8px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.card:hover { box-shadow: var(--shadow); }
.card.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.card .ph { aspect-ratio: 16/10; background: var(--pale2); display: grid; place-items: center; overflow: hidden; cursor: pointer; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .ph.noimg { aspect-ratio: auto; height: 0; }
.card .ph .sticker { display: none; }
.card .bd { display: grid; gap: 4px; align-content: start; padding: 12px 14px 14px; }
.card .ph.noimg + .bd { padding-top: 14px; padding-right: 60px; }
.card h3 { margin: 0; font-size: 15.5px; line-height: 1.45; font-weight: 700; cursor: pointer; }
.card .sub { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: 999px; background: var(--pale2); color: var(--ink2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.tag.mine { background: var(--accent); color: var(--ink); }
.tag.top { background: var(--accent); color: var(--ink); }
.tag.pop { background: var(--ink); color: #fff; }
.hint-i { font-size: 11.5px; color: var(--muted); }
.cards.sections { display: block; }
.sec { margin: 0 0 26px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 10px; }
.sec-h h3 { margin: 0; font-size: 17px; font-weight: 800; }
.sec-h .link { min-height: 32px; padding: 0; font-size: 13.5px; }
.hrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 44%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.hrow .card { scroll-snap-align: start; }
@media (max-width: 600px) { .hrow { grid-auto-columns: 72%; } }
.tag.chain { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.add { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.95); cursor: pointer; display: grid; place-items: center; transition: .15s; }
.add:hover { border-color: var(--ink); }
.add svg { width: 18px; height: 18px; }
.card.on .add { background: var(--accent); border-color: var(--accent); }
.more { width: 100%; margin-top: 16px; }
.skel { height: 190px; border-radius: var(--r); background: linear-gradient(90deg, #fff 0, #F1EFEB 40%, #fff 80%); background-size: 200% 100%; border: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) { .skel { animation: shine 1.3s linear infinite; } @keyframes shine { to { background-position: -200% 0; } } }
.empty { padding: 28px 20px; text-align: center; color: var(--ink2); border: 1px dashed #D6D2CC; border-radius: var(--r); }

.mine { margin: 0 0 16px; padding: 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.mine h3 { margin: 0 0 10px; font-size: 15px; }
.mine ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mine li { display: flex; gap: 8px; align-items: center; justify-content: space-between; padding: 8px 12px; background: var(--bg); border-radius: 12px; font-size: 14px; }
.mine li.ng { background: #FBF3F1; }
.mine li span { overflow-wrap: anywhere; }
.mine li button { flex: none; }
.mine li .btn svg { width: 16px; height: 16px; }

.dock { position: fixed; z-index: 40; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 20px;
  width: min(620px, calc(100% - 20px)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px rgba(43,42,46,.12); }
.dock .sel { flex: 1; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.dock .sel b { font-size: 20px; font-weight: 800; color: var(--ink); margin-right: 2px; }
.dock #makePlan { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.dock #makePlan:hover { background: #FFDB4A; }

.dests { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: -4px 0 14px; }
.dchip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 4px 6px 4px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.dchip small { font-size: 11px; color: var(--muted); font-weight: 600; }
.dchip button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; cursor: pointer; color: var(--ink2); }
.dchip button svg { width: 12px; height: 12px; }
.dchip:not(:has(button)) { padding-right: 14px; }
.dadd { min-height: 34px; padding: 4px 14px; border-radius: 999px; border: 1px dashed #CFCBD9; background: transparent; font-weight: 700; font-size: 13.5px; color: var(--ink2); cursor: pointer; }
.dadd:hover { border-color: var(--ink); color: var(--ink); }
.dsug { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.dsug .btn { width: 100%; justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 0; min-height: 52px; white-space: normal; text-align: left; }
.dsug small { font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* 体験モード */
.gpromo { display: grid; gap: 2px; width: 100%; margin: 0 0 16px; padding: 14px 18px; text-align: left; border: 1px solid #D9D2EE; border-radius: var(--r); background: var(--pale); cursor: pointer; }
.gpromo b { font-size: 16px; }
.gpromo b::after { content: " →"; }
.gpromo span { font-size: 13.5px; color: var(--ink2); }
.gpromo:hover { background: #E7E1F5; }
.sheet-in.guide { width: min(680px, 100%); }
.ghead { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 48px 8px 0; }
.ghead b { font-size: 13px; font-weight: 800; letter-spacing: .08em; padding: 3px 10px; border-radius: 999px; background: var(--pale); }
.gof { font-size: 12.5px; color: var(--muted); }
.gdots { display: flex; gap: 4px; margin-left: auto; }
.gdot { font-size: 11.5px; padding: 2px 8px; border-radius: 999px; color: var(--muted); background: var(--bg); }
.gdot.done { color: var(--ink2); background: var(--pale2); }
.gdot.now { color: var(--ink); background: var(--accent); font-weight: 800; }
.ghere { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.gq { margin: 18px 0 8px; font-size: 16px; }
.gtimes, .gchips { margin: 10px 0 12px; }
.glist { display: grid; gap: 8px; }
.gitem { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 8px 12px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: var(--card); cursor: pointer; transition: .15s; }
.gitem:hover { border-color: var(--ink); }
.gitem img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex: none; }
.gt { display: grid; flex: 1; gap: 2px; }
.gt b { font-size: 15px; line-height: 1.4; }
.gt small { font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gplus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.gplus svg { width: 16px; height: 16px; }
.gwait { padding: 18px; border-radius: 14px; background: var(--pale2); color: var(--ink2); text-align: center; font-size: 14px; }
.gpicked { margin: 12px 0 0; font-size: 14px; font-weight: 700; }
.grow { display: flex; justify-content: space-between; gap: 8px; margin-top: 16px; position: sticky; bottom: 0; padding-top: 10px; background: linear-gradient(transparent, var(--card) 30%); }
.gsearch { display: flex; gap: 8px; margin-top: 10px; }
.gsearch input { flex: 1; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-size: 15px; }

/* ---------- plan ---------- */
.plan-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.plan-head h2 { margin: 0 auto 0 0; font-size: 24px; }
.plan-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.day { margin: 0 0 16px; border: 1px solid var(--line); border-radius: 24px; background: var(--card); overflow: hidden; }
.day-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.day-h b { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .1em; padding: 4px 12px 4px 10px; border-radius: 999px; background: var(--pale); }
.day-h b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dc); }
.day-h span { flex: 1; font-weight: 600; font-size: 14px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.stops { list-style: none; margin: 0; padding: 4px 16px 10px; }
.stop { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px 0; }
.stop + .stop { border-top: 1px solid #F0EEEA; }
.stop time { font-size: 15px; font-weight: 800; padding-top: 1px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stop .nm { font-weight: 700; font-size: 15.5px; line-height: 1.45; cursor: pointer; }
.stop .nm small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.stop .mv { grid-column: 2 / -1; font-size: 12.5px; color: var(--muted); margin-top: -4px; }
.stop .ops { display: flex; gap: 4px; }
.stop .ops button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink2); cursor: pointer; display: grid; place-items: center; }
.stop .ops button:hover { color: var(--ink); border-color: #CFCBD9; }
.stop .ops svg { width: 16px; height: 16px; }
.num { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--pale); font-size: 11.5px; font-weight: 800; vertical-align: 1px; }
.leftover { padding: 18px; border: 1px dashed #D6D2CC; border-radius: 20px; }
.leftover h3 { margin: 0 0 6px; font-size: 15px; }
.leftover ul { margin: 8px 0 0; padding-left: 1.2em; color: var(--ink2); }
.readonly-note { padding: 14px 16px; margin-bottom: 14px; border-radius: 16px; background: var(--pale); font-weight: 700; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }

/* 地図の印：候補は白い点、選んだものは黄色、旅程は日ごとの落ち着いた色 */
.mk { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; background: var(--c, var(--ink)); box-shadow: 0 2px 6px rgba(43,42,46,.25); cursor: pointer; padding: 0; }
.mk.dot { width: 14px; height: 14px; background: #fff; border: 3px solid var(--ink); }
.mk.on { width: 26px; height: 26px; background: var(--accent); border-color: var(--ink); color: var(--ink); z-index: 2; }
.mk svg { width: 14px; height: 14px; }
.maplibregl-popup-content { border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; font: 600 14px/1.4 var(--font); }

/* ---------- sheet (spot detail / import / share) ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; align-items: end; justify-items: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(43,42,46,.35); backdrop-filter: blur(2px); }
.sheet-in { position: relative; width: min(600px, 100%); max-height: 88vh; overflow: auto; background: var(--card); border-radius: 28px 28px 0 0; padding: 22px 22px calc(26px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) { .sheet { align-items: center; } .sheet-in { border-radius: 28px; box-shadow: 0 30px 80px rgba(43,42,46,.2); } }
.sheet h2 { font-size: 21px; margin: 6px 0 2px; padding-right: 48px; }
.sheet .x { position: absolute; top: 14px; right: 14px; }
.sheet .ph { margin: 12px 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16/9; background: var(--pale2); }
.sheet .ph img { width: 100%; height: 100%; object-fit: cover; }
.sheet .desc { margin: 10px 0; color: var(--ink2); }
.sheet .facts { display: grid; gap: 4px; margin: 8px 0 14px; font-size: 14px; }
.sheet .facts div { display: flex; gap: 8px; } .sheet .facts dt { color: var(--muted); flex: none; width: 5.5em; } .sheet .facts dd { margin: 0; overflow-wrap: anywhere; }
.linkgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.linkgrid .btn { white-space: normal; text-align: center; line-height: 1.3; font-size: 14px; }
.sheet textarea { width: 100%; min-height: 160px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; font: 500 15px/1.6 var(--font); background: var(--bg); }
.sheet textarea:focus { outline: none; border-color: #BDB8CC; background: #fff; }
.sheet .hint { font-size: 13px; color: var(--muted); }
.sheet .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.drop { display: grid; place-items: center; gap: 4px; padding: 18px; margin-top: 10px; border: 1px dashed #CFCBD9; border-radius: 16px; background: var(--pale2); text-align: center; cursor: pointer; font-weight: 700; font-size: 14.5px; }
.drop.over { background: var(--pale); }
.storyprev { width: min(240px, 70%); margin: 12px auto; border-radius: 16px; box-shadow: var(--shadow); }
.attrib { font-size: 12px; color: var(--muted); margin-top: 10px; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  padding: 11px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; box-shadow: 0 8px 24px rgba(43,42,46,.2); transition: .2s; max-width: calc(100% - 24px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- narrow ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-art { display: none; }
  .grid { grid-template-columns: minmax(0, 1fr); }
  .mapwrap { position: relative; top: 0; order: -1; height: 36vh; min-height: 240px; }
  .howto { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .topnav { display: none; }
  .start { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .dock { padding-left: 16px; gap: 6px; }
  .dock .sel { font-size: 12.5px; } .dock .sel b { font-size: 18px; }
  .dock .btn { padding: 8px 13px; font-size: 13.5px; min-height: 44px; }
  .stop { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .linkgrid { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card h3 { font-size: 14.5px; }
  .card .bd { padding: 10px 12px 12px; }
}
