/* 検索向けの静的ページ（/ja/・/en/・404.html）の見た目。地図アプリの style.css とは別 */
:root{--ink:#1F1D1A;--paper:#F6F2EA;--paper2:#ECE4D6;--accent:#B23A28;--muted:#6E665A;--line:#DDD3C2;--white:#FFFDF9}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI","Hiragino Sans","Yu Gothic UI",Meiryo,sans-serif;line-height:1.8;font-size:16px}
html[lang="en"] body{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;line-height:1.65}
a{color:#8E2B1D;overflow-wrap:anywhere}
img{max-width:100%;height:auto;display:block}
.g-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;background:var(--white);border-bottom:1px solid var(--line)}
.g-brand{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:700;min-width:0}
.g-brand span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.g-mark{width:32px;height:32px;flex:none;border-radius:50%;background:var(--accent);color:#fff;display:grid;place-items:center;font-size:17px}
.g-lang{flex:none;border:1px solid var(--line);border-radius:18px;padding:4px 14px;text-decoration:none;color:var(--ink);font-weight:700;background:var(--paper)}
.g-nav{display:flex;flex-wrap:wrap;gap:4px 16px;padding:8px 16px;border-bottom:1px solid var(--line);font-size:14px}
.g-main{max-width:820px;margin:0 auto;padding:12px 16px 40px}
.g-crumbs{font-size:13px;color:var(--muted);margin:4px 0 12px}
.g-hero h1{font-size:clamp(24px,5vw,34px);line-height:1.3;margin:6px 0 6px}
.g-title{display:flex;align-items:center;gap:12px}
.g-kicker{margin:0;font-size:14px}
.g-sub{margin:0 0 14px;color:var(--muted)}
.g-lead{font-size:17px}
h2{font-size:22px;margin:32px 0 10px;padding-bottom:4px;border-bottom:2px solid var(--line)}
h3{font-size:18px;margin:0 0 4px}
.g-stamp{flex:none;width:44px;height:44px;border-radius:10px;color:#fff;display:inline-grid;place-items:center;font-size:24px;font-weight:700}
.g-stamp.big{width:64px;height:64px;font-size:34px}
.g-photo{margin:12px 0}
.g-photo picture,.g-card-img picture{display:block}
.g-photo img{border-radius:10px;width:100%}
.g-photo figcaption{font-size:13px;color:var(--muted);margin-top:4px}
.g-facts{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:12px 16px;margin:14px 0}
.g-facts dt{font-weight:700;color:var(--muted)}
.g-facts dd{margin:0}
.g-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.g-btn{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:22px;border:1px solid var(--line);background:var(--white);color:var(--ink);text-decoration:none;font-weight:700}
.g-btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.g-muted{color:var(--muted);font-size:14px}
.g-note{background:#FFF6D6;border-left:4px solid #C9A227;padding:8px 12px;border-radius:6px}
.g-kanji{display:flex;gap:14px;align-items:center}
.g-list{padding-left:1.3em}
.g-list li{margin:4px 0}
.g-list.inline{display:flex;flex-wrap:wrap;gap:4px 16px;padding:0;list-style:none}
.g-card{display:grid;grid-template-columns:120px 1fr;gap:14px;padding:14px 0;border-bottom:1px solid var(--line)}
.g-card-img img{border-radius:8px;width:120px;height:90px;object-fit:cover}
.g-card p{margin:2px 0}
.g-stops{padding-left:1.6em}
.g-stops>li::marker{font-weight:700;color:var(--accent)}
.g-next{font-size:14px;color:var(--accent);font-weight:700}
.g-courses{list-style:none;padding:0}
.g-courses li{padding:10px 0;border-bottom:1px solid var(--line)}
.g-courses p{margin:2px 0}
.g-faq{background:var(--white);border:1px solid var(--line);border-radius:8px;padding:8px 14px;margin:8px 0}
.g-faq summary,.g-orig summary{cursor:pointer;font-weight:700}
.g-orig{margin:8px 0;color:var(--muted)}
.g-foot{border-top:1px solid var(--line);background:var(--white);padding:16px;font-size:14px}
.g-foot p{max-width:820px;margin:6px auto}
@media (max-width:560px){
  .g-card{grid-template-columns:84px 1fr;gap:10px}
  .g-card-img img{width:84px;height:64px}
  .g-facts{grid-template-columns:1fr;gap:0 0}
  .g-facts dd{margin-bottom:6px}
}
