:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1d2330;
  --muted: #5b6475;
  --line: #e2e6ec;
  --accent: #0a7c66;
  --accent-ink: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12151b;
    --surface: #1b2029;
    --text: #e8ebf0;
    --muted: #9aa3b2;
    --line: #2c333f;
    --accent: #3fbfa2;
    --accent-ink: #0c1512;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.7;
}
a { color: var(--accent); }
main { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
h1 { font-size: 1.6rem; line-height: 1.4; margin: 0 0 16px; }
h2 { font-size: 1.15rem; margin: 0 0 8px; }

.pr-notice {
  margin: 0; padding: 6px 16px; font-size: .78rem;
  background: var(--surface); color: var(--muted);
  border-bottom: 1px solid var(--line); text-align: center;
}
.site-header {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  max-width: 760px; margin: 0 auto; padding: 14px 16px;
}
.logo { font-weight: 700; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.logo span { font-size: .75rem; color: var(--muted); font-weight: 400; }
.site-header nav a { margin-left: 14px; font-size: .9rem; text-decoration: none; }

.hero { padding: 24px 0 8px; }
.hero p { color: var(--muted); }
.btn {
  display: inline-block; padding: 12px 22px; border: 0; border-radius: 8px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
}
.btn.small { padding: 8px 14px; font-size: .85rem; white-space: nowrap; }

.features { display: grid; gap: 12px; margin-top: 32px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px;
}
.card p { margin: 0; color: var(--muted); font-size: .9rem; }

.sim-form {
  display: grid; gap: 14px; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 18px;
}
.sim-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.sim-form select, .sim-form input {
  font: inherit; padding: 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}

.result { margin-top: 20px; display: grid; gap: 10px; }
.result-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px;
}
.rank { font-size: 1.4rem; font-weight: 700; color: var(--accent); width: 28px; text-align: center; }
.info { flex: 1; min-width: 0; }
.price { font-size: 1.1rem; font-weight: 700; }
.price small { font-weight: 400; color: var(--muted); }
.checked { font-size: .75rem; color: var(--muted); }
.empty { color: var(--muted); }
.note { font-size: .8rem; color: var(--muted); }

.updates { list-style: none; padding: 0; display: grid; gap: 10px; }
.updates li { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.updates time { font-size: .8rem; color: var(--muted); }

.site-footer {
  border-top: 1px solid var(--line); padding: 20px 16px; text-align: center;
  font-size: .8rem; color: var(--muted);
}
.site-footer nav a { margin: 0 8px; }

/* 記事 */
.tag {
  display: inline-block; font-size: .72rem; padding: 1px 8px; border-radius: 99px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
}
.article-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.article-list a {
  display: grid; gap: 4px; padding: 14px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
}
.article-list time, .article-meta time { font-size: .8rem; color: var(--muted); }
.latest { margin-top: 32px; }
.article h1 { margin-top: 8px; }
.article h2 { margin-top: 32px; padding-bottom: 6px; border-bottom: 2px solid var(--accent); }
.article h3 { margin-top: 24px; }
.article li { margin: 4px 0; }
.article-cta { margin: 32px 0 12px; text-align: center; }
.table-wrap { overflow-x: auto; }
.price-table, .article table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.price-table th, .price-table td, .article table th, .article table td {
  border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top;
}
.price-table thead th, .article table thead th { background: var(--surface); }
.site-footer .sns a { margin: 0 8px; font-weight: 700; }
