/* Ikaho Pilgrimage Guide — free map page (preview)
   Mobile-first, no build step. Palette: warm hot-spring / stone tones. */

:root {
  --ink: #2b2622;
  --ink-soft: #5c5349;
  --paper: #faf6f0;
  --card: #ffffff;
  --line: #e6ddd0;
  --accent: #b4532a;      /* onsen terracotta */
  --accent-dark: #8f3d1c;
  --accent-soft: #f3e2d6;
  --stone: #7c8a86;       /* mossy stone-step green */
  --shadow: 0 2px 10px rgba(60, 44, 30, 0.08);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Noto Sans JP", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 1.7rem; margin: 0.2em 0 0.4em; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }

a { color: var(--accent-dark); }

/* Header */
.site-header {
  background: linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: saturate(1.1) blur(4px);
}
.header-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-dark);
  letter-spacing: -0.01em;
}
.tagline { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }

.preview-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--stone);
  padding: 2px 7px;
  border-radius: 999px;
  vertical-align: middle;
}

/* Hero */
.hero { padding-top: 22px; }
.lede { font-size: 1.02rem; color: var(--ink-soft); }
.top-disclaimer { margin-top: 0; }

.disclaimer {
  font-size: 0.8rem;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 10px 14px;
  border-radius: 6px;
}

.getting-there {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  margin-top: 18px;
}
.getting-there h2 { margin-top: 0; font-size: 1.05rem; }
.getting-there p { margin-bottom: 0; }

/* Map */
.map-section { margin-top: 26px; }
#map {
  height: 62vh;
  min-height: 320px;
  max-height: 520px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 1;
}
.map-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 8px; }

/* Spot list */
.spot-list { list-style: none; margin: 0; padding: 0; }
.spot-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px 14px 52px;
  margin-bottom: 12px;
  position: relative;
  box-shadow: var(--shadow);
}
.spot-list .num {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spot-list .name { font-weight: 700; display: block; }
.spot-list .name .jp { font-weight: 500; color: var(--ink-soft); font-size: 0.92em; }
.spot-list .match { font-size: 0.92rem; color: var(--ink-soft); margin: 4px 0 0; }
.spot-list .note { font-size: 0.9rem; margin: 6px 0 0; }
.spot-list .tag {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--stone);
  border: 1px solid var(--stone);
  border-radius: 4px;
  padding: 0 5px;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* CTA */
.cta {
  margin-top: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 20px 24px;
  box-shadow: var(--shadow);
}
.cta-list { padding-left: 1.15em; }
.cta-list li { margin-bottom: 4px; }
.cta-price { font-weight: 600; color: var(--accent-dark); }

.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  transition: transform 0.06s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 3px 0 var(--accent-dark);
}
.btn-primary .soon {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.85;
  margin-left: 4px;
}
.btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 2px solid var(--accent);
}

/* Email */
.email { margin-top: 26px; }

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.fineprint {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Leaflet popup tweaks */
.leaflet-popup-content { font-size: 0.9rem; line-height: 1.45; }
.leaflet-popup-content strong { color: var(--accent-dark); }

@media (min-width: 640px) {
  h1 { font-size: 2.1rem; }
  #map { height: 460px; }
}
