/* Meguri 紹介ページ 共通スタイル */

:root {
  --bg: #fffaf7;
  --surface: #ffffff;
  --text: #2b2420;
  --muted: #6b605a;
  --line: #eadfd8;
  --accent: #d9576b;
  --accent-soft: #fdeef0;
  --warn-bg: #fff4e0;
  --warn-line: #e8a33d;
  --warn-text: #7a4a00;
  --radius: 14px;
  --max: 960px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}

a { color: var(--accent); }

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

/* 18歳未満の注意帯（全ページ最上部） */
.age-banner {
  background: var(--text);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 16px;
  letter-spacing: 0.02em;
}
.age-banner .mark {
  display: inline-block;
  background: var(--accent);
  border-radius: 999px;
  padding: 0 10px;
  margin-right: 8px;
  font-size: 13px;
}

/* ヘッダー */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-block: 14px;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14px;
}
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

/* ヒーロー */
.hero {
  padding-block: 64px 56px;
  text-align: center;
  background: linear-gradient(180deg, var(--accent-soft), var(--bg));
}
.hero h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.4;
  margin: 16px 0;
}
.hero p.lead {
  color: var(--muted);
  max-width: 36em;
  margin: 0 auto;
}
.badge-soon {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 18px;
  font-size: 14px;
}
.soon-box {
  margin: 32px auto 0;
  max-width: 520px;
  background: var(--surface);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.soon-box strong { font-size: 18px; }
.soon-box p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

/* セクション */
section.block { padding-block: 56px; }
section.block + section.block { border-top: 1px solid var(--line); }
h2 {
  font-size: 24px;
  margin: 0 0 24px;
  text-align: center;
}
h2 small {
  display: block;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.15em;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 0 8px;
  margin-bottom: 8px;
}

ul.checks { list-style: none; padding: 0; margin: 0; }
ul.checks li {
  padding-left: 1.6em;
  position: relative;
  margin-bottom: 6px;
}
ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* 料金 */
.free-note {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  margin-bottom: 24px;
  font-weight: 700;
}
.free-note span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 30px; font-weight: 800; margin: 6px 0 2px; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan ul { margin: 12px 0 0; }
.plan.featured { border: 2px solid var(--accent); }
.fine { font-size: 13px; color: var(--muted); margin-top: 16px; }

/* 18歳未満の注意ボックス */
.age-box {
  background: var(--warn-bg);
  border: 2px solid var(--warn-line);
  color: var(--warn-text);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
}
.age-box strong { display: block; font-size: 20px; margin-bottom: 4px; }
.age-box p { margin: 0; font-size: 14px; }

/* 下書き表示 */
.draft-note {
  background: var(--warn-bg);
  border-left: 4px solid var(--warn-line);
  color: var(--warn-text);
  padding: 10px 16px;
  font-size: 14px;
  margin-bottom: 28px;
  border-radius: 0 8px 8px 0;
}

/* 規約などの文書ページ */
.doc { padding-block: 40px 64px; max-width: 800px; }
.doc h1 { font-size: 26px; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc h2 { text-align: left; font-size: 19px; margin: 36px 0 10px; }
.doc h2 small { display: none; }
.doc ol, .doc ul { padding-left: 1.4em; }

.table-scroll { overflow-x: auto; }
table.law {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  font-size: 15px;
}
table.law th, table.law td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
table.law th {
  background: #faf3ef;
  width: 30%;
  min-width: 9em;
  font-weight: 700;
}

.placeholder {
  background: #fff1a8;
  padding: 0 4px;
  border-radius: 3px;
}

/* フッター */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding-block: 32px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-bottom: 12px;
}
.site-footer nav a { color: var(--muted); }
.site-footer p { margin: 4px 0; }
