:root{font-family:system-ui,-apple-system,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;color:#26312c;background:#efe9df;font-size:16px;--teal:#177e6c;--teal-dark:#0f5f51;--cream:#fff8ef;--ink:#26312c;--muted:#71807a;--line:#e7ded2}*{box-sizing:border-box}body{margin:0}.phone{max-width:440px;min-height:100vh;margin:auto;background:var(--cream);box-shadow:0 0 24px #7a6a4d26;padding-bottom:88px}button,select,input{font:inherit}button{cursor:pointer;min-height:48px}button:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #e8a13a;outline-offset:2px}.top{display:flex;align-items:center;gap:12px;padding:16px;background:linear-gradient(135deg,#1b8a74,#0f5f51);color:#fff;border-bottom:none;border-radius:0 0 20px 20px;min-height:82px}.top small{display:block;color:#ffffffd9;font-size:12px}.top h1{font-size:22px;margin:2px 0 0;line-height:1.25}.icon-btn{border:1px solid #ffffff59;border-radius:12px;background:#ffffff2e;color:#fff;width:48px;padding:0;font-size:24px}.intro,.pad{padding:16px;margin:0}.intro p{margin:0 0 6px}.origin-card{margin:14px 14px 2px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 8px #7a6a4d14}.origin-head{display:flex;gap:10px;align-items:flex-start}.origin-head .pin{font-size:20px;line-height:1.3}.origin-head h2{font-size:15px;margin:0 0 2px}.origin-label{font-weight:700;margin:0}.origin-card .muted{margin-top:10px}.muted,.footnote{color:var(--muted);font-size:13px;line-height:1.55}.footnote{padding:0 16px}.intent-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:12px 16px 16px}.intent{border:1px solid var(--line);border-radius:18px;background:#fff;display:flex;align-items:flex-start;gap:8px;flex-direction:column;padding:16px 12px 14px;min-height:118px;box-shadow:0 3px 10px #7a6a4d1a;text-align:left}.intent .ic{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;font-size:23px;background:#eef2f0}.intent .ic-toilet{background:#e3effa}.intent .ic-rest{background:#fdf0da}.intent .ic-eat{background:#fce7df}.intent .ic-nursing{background:#fae3ef}.intent .ic-diaper{background:#e9e5fa}.intent .ic-kids{background:#e2f3e6}.intent .ic-work{background:#e6ecfa}.intent .ic-storage{background:#f3e8d8}.tagline{padding:18px 16px 4px}.tagline .catch{font-size:21px;font-weight:800;line-height:1.4;margin:0 0 8px;color:var(--teal-dark)}.tagline .sub{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.intent strong{font-size:16px}.intent small{color:var(--muted);font-size:11px;line-height:1.4}section{padding:14px 16px}section h2{font-size:17px;margin:0 0 12px}.result-head{display:flex;align-items:center;justify-content:space-between;background:transparent;padding:13px 16px}.result-head small{display:block;color:var(--muted);font-size:12px}.secondary{background:#fff;border:1px solid #b9c8c2;border-radius:999px;padding:0 17px;color:var(--teal-dark);font-weight:700}.secondary.main{background:var(--teal);border-color:var(--teal);color:#fff}.chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px 16px;border-bottom:1px solid var(--line)}.chip{white-space:nowrap;border:1px solid #cfe4dc;background:#eaf4f0;color:var(--teal-dark);border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.chip.relaxed{background:#fdf1e0;border-color:#f0ddba;color:#8a5a16}.quick-conditions{padding:12px 16px;background:transparent;border-bottom:1px solid var(--line)}.quick-conditions h2{margin:0 0 4px;font-size:15px}.quick-conditions p{margin:0 0 10px}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.quick-button{min-width:0;min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:6px;text-align:left;border:1px solid #cfd8d3;border-radius:12px;background:#fff;padding:7px 9px;font-size:13px}.quick-button strong{min-width:0;overflow-wrap:anywhere}.quick-button span{flex:none;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:700}.quick-button.mode-must{border-width:2px;border-color:var(--teal)}.quick-button.mode-must span{background:var(--teal-dark);color:#fff}.quick-button.mode-prefer{border-color:#d9b96a;background:#fff9eb}.quick-button.mode-prefer span{background:#f3dfad;color:#5e471e}.quick-button.mode-off span{background:#edf0f2;color:#5b646d}.evidence-summary{font-size:13px;font-weight:700;margin:8px 0 3px}.evidence-unknown{font-size:13px;color:#a5761f;margin:4px 0 8px;line-height:1.45}.card-row{display:flex;gap:12px}.card-text{flex:1;min-width:0}.card-photo{flex:none;width:86px}.card-photo img{width:86px;height:86px;object-fit:cover;border-radius:12px;display:block;background:#e8e2d4}.photo-credit{display:block;font-size:9px;color:var(--muted);line-height:1.35;margin-top:3px;overflow-wrap:anywhere}.spot-photo{margin:0}.spot-photo img{width:100%;height:230px;object-fit:cover;display:block;background:#e8e2d4}.spot-photo figcaption{font-size:11px;color:var(--muted);padding:6px 16px 0}
.card{border:1px solid var(--line);border-left:5px solid var(--teal);border-radius:18px;padding:14px;background:#fff;margin-bottom:13px;box-shadow:0 3px 10px #7a6a4d14;outline:3px solid transparent;outline-offset:2px;transition:outline-color var(--dur-med) var(--ease-out),box-shadow var(--dur-med) var(--ease-out)}.card.state-B{border-left-color:#e8a13a}.card.state-C{border-left-color:#546ba1;background:#f7f8fb}.badge{display:inline-block;border-radius:999px;background:#e3f2ec;color:var(--teal-dark);padding:5px 10px;font-size:12px;font-weight:700}.state-B .badge,.badge.state-B{background:#fdf1e0;color:#8a5a16}.state-C .badge,.badge.state-C{background:#e5ebf8;color:#324d85}.card h3{margin:10px 0 2px;font-size:20px}.facility{margin:0;color:var(--muted)}.facts{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}.fact{font-size:12px;background:#eef5f1;border:1px solid #d5e6dd;border-radius:6px;padding:5px}.fact.unknown,.fact.conditional{background:#fdf3df;border-color:#ead3a4}.fact.no{background:#fce9e7;border-color:#e3c1ba}.meta{font-size:13px;margin:8px 0}.meta .dist{display:block;font-size:17px;font-weight:800;color:var(--teal-dark);margin-bottom:2px}.meta .checked{color:var(--muted);font-size:12px}.alert{font-weight:700;color:#84520f;background:#fff5e5;padding:8px;border-radius:7px}.card .primary,.sticky .primary{width:100%}.primary{background:var(--teal);border:1px solid var(--teal);color:#fff;border-radius:12px;font-weight:700;padding:11px 14px}.zero{background:#fdf3dd;border-top:1px solid #e8d2a9;border-bottom:1px solid #e8d2a9}.zero h2{line-height:1.5}.zero p{font-size:13px}.options{display:grid;gap:8px}.option{background:#fff;border:1px solid #cfd8d3;border-radius:12px;text-align:left;padding:9px 12px;font-size:14px}.relax-block{border-top:1px solid var(--line)}.filter-section{border-bottom:1px solid var(--line);background:#fff}.radio-row{display:grid;gap:9px}.radio-row label{display:flex;align-items:center;gap:9px;min-height:42px}.radio-row input{width:20px;height:20px}.filter-row{display:flex;align-items:center;justify-content:space-between;min-height:60px;border-top:1px solid #f0e9dc;gap:10px}.filter-row select{min-width:133px;min-height:42px;border:1px solid #b9c8c2;background:#fff;border-radius:8px;padding:5px}.sticky{position:sticky;bottom:0;background:linear-gradient(transparent,var(--cream) 30%);border-top:none;padding:12px 16px;z-index:2}.detail-title{padding:18px 16px;background:transparent}.detail-title h2{font-size:24px;margin:12px 0 2px}.detail-title p{margin:0;color:var(--muted)}.status-list{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.status-row{padding:11px 12px;display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #f0e9dc}.status-row:last-child{border-bottom:0}.status-row span{text-align:right}.status-row .fact-copy{text-align:left}.status-row .unknown,.status-row .conditional{color:#916019;font-weight:700}.status-row .no{color:#9b352a}.evidence-status{padding:8px 0;border-bottom:1px solid #e1e4e7;font-size:14px}details{margin-top:14px;border:1px solid #cfd8d3;border-radius:12px;padding:12px;background:#fff}summary{font-weight:700;cursor:pointer;min-height:30px}.source{border-top:1px solid #e0e4e8;padding:10px 0;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.source a{color:var(--teal-dark)}.source small{color:#66717b}.confirm{text-align:center}.confirm h2{margin:14px 0}.choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice button,.reason-grid button{border:1px solid #b9c8c2;border-radius:12px;background:#fff;padding:8px}.followup,.done{margin-top:22px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:12px}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.reason-grid button{min-height:58px}.done{text-align:left}@media(max-width:320px){.intent-grid{gap:8px}.intent strong{font-size:14px}.fact{font-size:11px}}@media(min-width:600px){.phone{margin:24px auto;min-height:calc(100vh - 48px);border-radius:16px;overflow:hidden}}

.origin-actions{display:flex;flex-wrap:wrap;gap:8px}.origin-actions .secondary{padding:9px 14px;min-height:44px}.origin-message{color:var(--teal-dark);font-weight:700;font-size:14px}.map{height:250px;width:100%;background:#e2e8e3}.origin-map{height:350px}.map-attribution-note{font-size:12px;color:var(--muted);margin:0;padding:6px 16px 12px;background:transparent}.leaflet-container{font-family:inherit}.leaflet-control-attribution{font-size:11px!important}.map-spot{display:block;width:100%;text-align:left;background:#fff;border:1px solid #b9c4ce;border-radius:6px;padding:6px;margin-top:5px;font-size:12px}.card-actions{display:flex;gap:8px;flex-wrap:wrap}.card-actions .secondary{padding:7px 14px}.selected-card{outline-color:var(--teal);box-shadow:0 6px 18px #177e6c2e}
@keyframes selected-pulse{0%{box-shadow:0 0 0 0 rgba(23,126,108,.35)}100%{box-shadow:0 0 0 14px rgba(23,126,108,0)}}
.card.pulse{animation:selected-pulse var(--dur-slow) var(--ease-out) 1}.route-link{display:block;text-align:center;text-decoration:none;margin:14px 0;min-height:48px;line-height:26px}.route-confirm{width:100%;margin-top:12px}.result-head .origin-actions{flex:none}.result-head .secondary{padding:0 14px;min-height:44px}@media(max-width:430px){.phone{max-width:100%}.result-head strong{font-size:14px}.result-head small{max-width:185px;overflow-wrap:anywhere}.origin-actions .secondary{font-size:14px}}
.results-map{height:38vh;min-height:220px}.candidate-sheet{position:relative;margin-top:-1px;border-radius:18px 18px 0 0;background:var(--cream);box-shadow:0 -3px 10px #0002;overflow:hidden}.candidate-sheet::before{content:"";display:block;width:44px;height:5px;margin:9px auto 0;border-radius:4px;background:#cfd8d3}

/* slim v3: caution note + tap feedback */
.caution{background:#fdf3d7;border-radius:14px;padding:11px 14px;font-size:13.5px;line-height:1.65;color:#5c4a12;margin:6px 0 2px}

/* P0 interactions (2026-11-07) */
:root{--dur-fast:120ms;--dur-med:220ms;--dur-slow:300ms;--ease-out:cubic-bezier(0.2,0,0,1)}
*{-webkit-tap-highlight-color:transparent}
button,.intent,a.route-link{transition:transform var(--dur-fast) var(--ease-out),filter var(--dur-fast) var(--ease-out),background-color var(--dur-fast) var(--ease-out)}
button:active,.intent:active{transform:scale(.97);filter:brightness(.94)}
a.route-link:active{filter:brightness(.92)}
@keyframes yasumiru-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
#app>section,#app>.detail-title,#app>.result-head,#app>.intent-grid,#app>.footnote{animation:yasumiru-in var(--dur-med) var(--ease-out)}
details summary{min-height:44px;padding:10px 0;box-sizing:border-box;cursor:pointer}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.fact-grid{display:flex;flex-wrap:wrap;gap:8px}
.fact-tile{background:#fff;border:1px solid #e9dec6;border-radius:12px;padding:9px 13px;font-size:14px;font-weight:600;color:#24312c;box-shadow:0 2px 6px rgba(90,70,20,.06)}

.home-tools{margin:14px 0 4px;padding:0 16px;display:flex;gap:8px;flex-wrap:wrap}.home-tools a.secondary{display:inline-flex;align-items:center;min-height:48px;text-decoration:none}.report-row{margin:2px 0}.report-row a{color:var(--teal-dark);font-weight:700}.privacy{margin:16px 0 10px;font-size:14px;line-height:1.7}.privacy summary{min-height:44px;display:flex;align-items:center;color:var(--teal-dark);font-weight:700;cursor:pointer}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}.setting-row .secondary{min-height:44px}

/* 検索結果画面UX（決定16・17、2026-11-09）: 地図主画面＋上部オプション＋下部シート＋2種類ピン */
.results-stage{position:relative;height:calc(100dvh - 72px);overflow:hidden;background:#dfe8e2}
body:has(.results-stage) .phone{padding-bottom:0}
body:has(.results-stage){overflow:hidden;overscroll-behavior:none}
.results-stage .results-map{position:absolute;inset:0;height:100%;width:100%;z-index:1}
.options-bar{position:absolute;top:8px;left:8px;right:8px;z-index:500;background:#fffdf8f5;border:1px solid var(--line);border-radius:14px;padding:8px;box-shadow:0 2px 10px #7a6a4d26}
.intent-chip{min-height:40px;padding:6px 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:14px;white-space:nowrap}
.intent-chip.active{background:var(--teal);border-color:var(--teal);color:#fff;font-weight:700}
.results-top{position:relative;flex-direction:row;align-items:center;gap:8px;padding:12px 16px;min-height:0}
.top-controls{flex:1;display:flex;gap:8px;align-items:center;min-width:0}
.intent-select{flex:1;min-width:0;min-height:44px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:999px;border:1px solid #ffffff59;background:#ffffff2e;color:#fff;font-weight:700;font-size:15px;padding:6px 12px;white-space:nowrap}
.intent-select .caret{font-size:12px}
.top-btn{flex:none;min-height:44px;border-radius:999px;border:1px solid #ffffff59;background:#ffffff2e;color:#fff;font-weight:700;padding:0 16px}
.intent-menu{position:absolute;top:calc(100% + 6px);left:8px;right:8px;z-index:700;display:grid;grid-template-columns:1fr 1fr;gap:6px;background:#fffdf8;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px #26312c33;padding:8px}
.intent-menu[hidden]{display:none}
.intent-menu .intent-chip{min-height:44px;border-radius:12px;text-align:left}
.chips-strip{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;align-items:center;flex-wrap:nowrap;overscroll-behavior:contain}
.chips-strip .chips{display:flex;flex-wrap:nowrap;gap:6px;padding:0;border-bottom:none;flex:0 0 auto}
.chips-strip .chip{flex:0 0 auto}
.chips-strip .quick-button{flex:0 0 auto;min-height:36px;white-space:nowrap;font-size:12px;padding:5px 8px}
.sheet{position:absolute;left:0;right:0;bottom:0;z-index:600;height:76px;background:var(--cream);border-radius:18px 18px 0 0;box-shadow:0 -4px 18px #26312c33;display:flex;flex-direction:column;transition:height .25s ease}
.sheet.open{height:88%}
.sheet.dragging{transition:none}
.sheet-handle{display:flex;flex-direction:column;align-items:center;gap:2px;width:100%;min-height:56px;padding:8px 12px 6px;background:none;border:none;border-radius:18px 18px 0 0;touch-action:none;cursor:grab;color:var(--ink)}
.sheet-handle .grip{width:44px;height:5px;border-radius:3px;background:#c9bcab}
.sheet-count{font-weight:700;font-size:15px}
.sheet-toggle{color:var(--teal);font-size:13px;font-weight:700}
.sheet-body{flex:1;overflow-y:auto;padding:0 14px 20px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.sheet-body .result-head{padding:2px 0 8px}
.pin-note{color:#71807a;font-size:12px}
@media (min-width:900px){
  body:has(.results-stage) .phone{max-width:1120px}
  .results-stage{display:flex;flex-wrap:wrap;align-content:stretch}
  .options-bar{position:static;flex:1 1 100%;margin:8px 8px 0}
  .results-stage .results-map{position:relative;flex:1 1 50%;height:auto;min-height:300px}
  .sheet{position:relative;flex:0 0 400px;height:auto;border-radius:0;box-shadow:none;border-left:1px solid var(--line)}
  .sheet.open{height:auto}
  .sheet-handle{cursor:default}
}
