:root {
  --fg: #1f1f1f;
  --muted: #5f6368;
  --line: #e0e3e7;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --accent: #0b57d0;
  --accent-fg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #e8eaed;
    --muted: #9aa0a6;
    --line: #3c4043;
    --bg: #202124;
    --soft: #2a2b2e;
    --accent: #8ab4f8;
    --accent-fg: #202124;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.8 system-ui, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }

header.site { border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 700; font-size: 18px; color: var(--fg); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.brand img { width: 24px; height: 24px; }
.lang { font-size: 14px; }

.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(26px, 5vw, 40px); line-height: 1.3; margin: 0 0 16px; }
.hero p { color: var(--muted); margin: 0 auto 28px; max-width: 600px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  text-decoration: none;
}
.note { font-size: 13px; color: var(--muted); }

section { padding: 40px 0; }
section h2 { font-size: 22px; margin: 0 0 20px; }
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); padding: 0; list-style: none; }
.steps li { background: var(--soft); border-radius: 12px; padding: 20px; }
.steps b { display: block; font-size: 14px; color: var(--accent); }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }
.price-table td:nth-child(n+2), .price-table th:nth-child(n+2) { text-align: right; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

.legal h1 { font-size: 26px; margin: 40px 0 8px; }
.legal h2 { font-size: 18px; margin: 32px 0 8px; }
.legal th { width: 32%; background: var(--soft); }
.legal .updated { color: var(--muted); font-size: 14px; }
.google-disclaimer { font-size: 13px; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }

footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
footer.site a { color: var(--muted); }

/* 言語の切り替え（ページ右上） */
.lang-menu { position: relative; font-size: 14px; }
.lang-menu summary { cursor: pointer; list-style: none; color: var(--accent); }
.lang-menu summary::before { content: "🌐 "; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu ul {
  position: absolute;
  right: 0;
  top: 28px;
  z-index: 10;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  min-width: 180px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}
.lang-menu li a { display: block; padding: 6px 14px; color: var(--fg); text-decoration: none; }
.lang-menu li a:hover { background: var(--soft); }
.lang-menu li a[aria-current="true"] { font-weight: 600; color: var(--accent); }

/* お問い合わせページのメールアドレス */
.contact-email { font-size: 20px; font-weight: 600; margin: 20px 0; }
