/* 会議同席AI の説明ページ・規約類（about / terms / privacy / tokushoho）で共通の見た目。
   アプリ本体（index.html）は暗い画面だが、初めて来た人が読むページは明るく読みやすく。 */
:root {
  --bg: #f7f8fb; --panel: #ffffff; --line: #e3e7ef; --fg: #1b2230; --muted: #5d6879;
  --accent: #3f6fe8; --accent-soft: #eaf0ff; --ok: #1f9d6f; --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1218; --panel: #171b24; --line: #2b3342; --fg: #e7ecf3; --muted: #9aa6b6;
    --accent: #6f98ff; --accent-soft: #1e2940; --ok: #38d39f;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
/* 説明ページの中では左端をほかの段とそろえ、文の幅だけ狭くする */
section .wrap.narrow { max-width: 960px; }
section .wrap.narrow > * { max-width: 760px; }

/* ヘッダー */
.top { border-bottom: 1px solid var(--line); background: var(--panel); position: sticky; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 56px; flex-wrap: wrap; }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; letter-spacing: .02em; }
.top nav { display: flex; gap: 14px; flex-wrap: wrap; margin-left: auto; font-size: 14px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

/* ボタン */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: 1px solid var(--accent); line-height: 1.4;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.small { padding: 8px 16px; font-size: 14px; }

/* 見出しまわり */
.hero { padding: 64px 0 48px; }
.hero h1 { font-size: clamp(28px, 5vw, 42px); line-height: 1.35; margin: 0 0 16px; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 40em; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
section { padding: 40px 0; }
section h2 { font-size: 24px; margin: 0 0 8px; }
section .sub { color: var(--muted); margin: 0 0 24px; }

/* カード */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .ic { font-size: 24px; display: block; margin-bottom: 6px; }

/* 料金 */
.plans { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; display: flex; flex-direction: column; }
.plan.pick { border: 2px solid var(--accent); }
.plan .tag { font-size: 12px; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; align-self: flex-start; margin-bottom: 8px; }
.plan h3 { margin: 0; font-size: 18px; }
.plan .price { font-size: 32px; font-weight: 800; margin: 8px 0 0; }
.plan .price small { font-size: 14px; font-weight: 400; color: var(--muted); }
.plan .hours { margin: 4px 0 16px; color: var(--muted); }
.plan .hours b { color: var(--fg); }
.plan .btn { margin-top: auto; text-align: center; }
.notes { margin: 20px 0 0; padding-left: 1.2em; color: var(--muted); font-size: 14px; }
.notes li { margin: 4px 0; }

/* 始め方 */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 16px 60px; position: relative; }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-weight: 700; line-height: 1;
}
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 15px; }

/* よくある質問 */
details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

/* 規約類 */
.doc { padding-top: 40px; padding-bottom: 56px; }
.doc h1 { font-size: 26px; margin: 0 0 6px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 18px; margin: 32px 0 8px; }
.doc p, .doc li { font-size: 15px; }
.doc ol, .doc ul { padding-left: 1.4em; }
table.kv { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
table.kv th, table.kv td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 15px; }
table.kv th { width: 30%; background: var(--accent-soft); font-weight: 700; }
table.kv tr:last-child th, table.kv tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) {
  table.kv th, table.kv td { display: block; width: 100%; }
  table.kv th { border-bottom: 0; padding-bottom: 4px; }
}

/* フッター */
.foot { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
.foot .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.foot a { color: var(--muted); }
