/* WhisperHUB 販売ページ 共通スタイル(外部依存なし・システムフォント) */
:root {
  --bg: #0d1117;
  --bg2: #161b22;
  --card: #1c2128;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #9198a1;
  --accent: #2f81f7;
  --accent2: #3fb950;
  --danger: #f85149;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); text-decoration: none; }

header.site { padding: 18px 0; border-bottom: 1px solid var(--border); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 700; font-size: 18px; color: var(--text); }
nav.top a { color: var(--muted); margin-left: 20px; font-size: 14px; }
nav.top a:hover { color: var(--text); }

.hero { text-align: center; padding: 88px 0 64px; }
.hero h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 800; letter-spacing: .02em; }
.hero .sub { color: var(--muted); font-size: clamp(15px, 2.5vw, 19px); margin: 20px auto 0; max-width: 640px; }
.hero .os { color: var(--muted); font-size: 13px; margin-top: 10px; }
.cta-row { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 10px; font-size: 16px;
  font-weight: 700; border: 1px solid var(--border); color: var(--text); cursor: pointer;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.1); }
.btn.ghost:hover { background: var(--bg2); }
.trial-note { color: var(--muted); font-size: 13px; margin-top: 12px; }

section { padding: 56px 0; border-top: 1px solid var(--border); }
section h2 { font-size: 26px; text-align: center; margin-bottom: 36px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; }
.feature h3 { font-size: 17px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 14px; }
.feature .badge { font-size: 22px; margin-bottom: 12px; display: block; }

table.compare { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--card); border-radius: 14px; overflow: hidden; }
table.compare th, table.compare td { padding: 12px 14px; border: 1px solid var(--border); text-align: center; }
table.compare th:first-child, table.compare td:first-child { text-align: left; }
table.compare thead th { background: var(--bg2); }
table.compare td.good { color: var(--accent2); font-weight: 700; }
.table-scroll { overflow-x: auto; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px 24px; text-align: center; display: flex; flex-direction: column; position: relative;
}
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.price-card .plan { font-size: 15px; color: var(--muted); font-weight: 700; }
.price-card .price { font-size: 34px; font-weight: 800; margin: 12px 0 2px; }
.price-card .per { color: var(--muted); font-size: 13px; }
.price-card ul { list-style: none; margin: 18px 0 24px; text-align: left; font-size: 13.5px; color: var(--muted); }
.price-card li { padding: 4px 0 4px 22px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent2); }
.price-card .btn { margin-top: auto; }
.ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 700;
  padding: 3px 14px; border-radius: 999px;
}

.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.faq p { color: var(--muted); font-size: 14px; margin-top: 10px; }

footer.site { border-top: 1px solid var(--border); padding: 30px 0 50px; color: var(--muted); font-size: 13px; }
footer.site .links { margin-bottom: 10px; }
footer.site a { color: var(--muted); margin-right: 18px; }
footer.site a:hover { color: var(--text); }

/* thanks.html */
.thanks { max-width: 620px; margin: 70px auto; padding: 0 20px; text-align: center; }
.thanks h1 { font-size: 26px; margin-bottom: 14px; }
.keybox {
  background: var(--card); border: 1px solid var(--accent2); border-radius: 12px;
  font-size: 22px; font-weight: 800; letter-spacing: .06em; padding: 22px; margin: 26px 0 10px;
  user-select: all; word-break: break-all;
}
.thanks .status { color: var(--muted); }
.thanks .error { color: var(--danger); }
.steps { text-align: left; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px 26px; margin-top: 30px; font-size: 14.5px; }
.steps ol { margin-left: 20px; }
.steps li { margin: 8px 0; }

/* 法務ページ */
.legal { max-width: 760px; margin: 50px auto; padding: 0 20px; font-size: 14.5px; }
.legal h1 { font-size: 24px; margin-bottom: 24px; }
.legal h2 { font-size: 17px; margin: 28px 0 10px; text-align: left; }
.legal p, .legal li { color: var(--muted); }
.legal table { border-collapse: collapse; width: 100%; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.legal th { background: var(--bg2); white-space: nowrap; }
.todo { color: var(--danger); font-weight: 700; }
