/* MIERUMO 公開サイトの共通スタイル。
   目的は「事業内容・料金・運営者が誰かが、迷わず読み取れること」。
   Stripe の審査でも人が読むので、装飾より可読性を優先する。 */

:root {
  --ink: #1c1a17;
  --ink-soft: #55504a;
  --line: #e2ddd6;
  --bg: #fbfaf8;
  --bg-soft: #f4f1ec;
  --accent: #1f6f5c;
  --accent-soft: #eaf2ef;
  --max: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP",
    "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---- ヘッダ ---- */
header.site {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 19px;
  color: var(--ink);
}
header.site nav { display: flex; gap: 20px; font-size: 14px; flex-wrap: wrap; }
header.site nav a { color: var(--ink-soft); }

/* ---- ヒーロー ---- */
.hero { padding: 72px 0 56px; border-bottom: 1px solid var(--line); }
.hero h1 {
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.5;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}
.hero p.lead { font-size: 17px; color: var(--ink-soft); margin: 0 0 28px; max-width: 40em; }
.badge {
  display: inline-block;
  font-size: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid #cfe2db;
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
}
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }

/* ---- セクション ---- */
section { padding: 56px 0; border-bottom: 1px solid var(--line); }
section h2 {
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
section h2 + p.sub { color: var(--ink-soft); margin: 0 0 32px; font-size: 15px; }

.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.card h3 { font-size: 16px; margin: 0 0 10px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---- 料金表 ---- */
table.price {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  background: #fff;
  border: 1px solid var(--line);
}
table.price th, table.price td {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
table.price thead th { background: var(--bg-soft); font-weight: 600; white-space: nowrap; }
table.price td.num { text-align: right; white-space: nowrap; }
table.price tr:last-child td { border-bottom: none; }
.note { color: var(--ink-soft); font-size: 13.5px; margin-top: 16px; }

/* ---- 法務ページ ---- */
.doc { padding: 48px 0 72px; }
.doc h1 { font-size: 26px; margin: 0 0 8px; }
.doc .updated { color: var(--ink-soft); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 18px; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 15px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--line); }
.doc table th, .doc table td { border-bottom: 1px solid var(--line); padding: 13px 16px; text-align: left; vertical-align: top; }
.doc table th { background: var(--bg-soft); width: 30%; font-weight: 600; white-space: nowrap; }
.doc table tr:last-child th, .doc table tr:last-child td { border-bottom: none; }

/* ---- フッタ ---- */
footer.site { padding: 40px 0 64px; font-size: 14px; color: var(--ink-soft); }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
footer.site .company { line-height: 1.8; }

@media (max-width: 640px) {
  .hero { padding: 48px 0 40px; }
  section { padding: 40px 0; }
  header.site .wrap { min-height: 56px; }
  header.site nav { gap: 14px; font-size: 13px; }
  table.price th, table.price td { padding: 11px 12px; font-size: 13.5px; }
  .doc table th { width: 38%; }
}
