:root {
  --bg: #f6f8f8;
  --surface: #ffffff;
  --text: #13201f;
  --muted: #5b6b69;
  --accent: #0d9488;
  --accent-ink: #0b6f66;
  --line: #e2e8e7;
  --walk: #0a84ff;
  --bike: #30b350;
  --car: #ff9500;
  --fast: #ff3b30;
  --shadow: 0 10px 30px rgba(15, 40, 38, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1515;
    --surface: #172121;
    --text: #e8efee;
    --muted: #9fb1ae;
    --accent: #2dd4bf;
    --accent-ink: #5eead4;
    --line: #253332;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.75;
}
a { color: var(--accent-ink); }
img { max-width: 100%; display: block; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 18px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.site-header nav { margin-left: auto; display: flex; gap: 18px; font-size: 14px; }
.site-header nav a { text-decoration: none; color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--accent-ink); }

/* ヒーロー */
.hero { padding: 56px 0 32px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.25; margin: 0 0 16px; letter-spacing: 0.01em; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 24px; }
.hero .icon { width: 88px; height: 88px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.badges li { font-size: 13px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: var(--accent); color: #fff;
}
.button.disabled { background: var(--line); color: var(--muted); pointer-events: none; }
.phone { border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #1c1c1e; max-width: 300px; margin: 0 auto; }

/* セクション */
section { padding: 48px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; }
section .sub { color: var(--muted); margin: 0 0 28px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .emoji { font-size: 26px; margin-bottom: 6px; }

.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 18px; height: 5px; border-radius: 3px; margin-right: 6px; vertical-align: middle; background: var(--c); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot figure { margin: 0; }
.shot img { border-radius: 26px; border: 5px solid #1c1c1e; box-shadow: var(--shadow); }
.shot figcaption { text-align: center; margin-top: 10px; font-weight: 600; font-size: 15px; }

.privacy-box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); }
.privacy-box ul { margin: 0; padding-left: 1.2em; }

/* 文書ページ */
.doc { padding: 40px 0 56px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 30px; margin: 0 0 6px; }
.doc .date { color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.doc h2 { font-size: 21px; margin: 34px 0 10px; padding-top: 6px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--surface); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .site-header nav { gap: 12px; }
}
@media (max-width: 420px) {
  .site-header nav a.hide-sm { display: none; }
  .shot img { border-radius: 18px; border-width: 4px; }
}
