/* ===== 基本 ===== */
:root {
  --main: #1f5fbf;
  --main-dark: #164a96;
  --main-light: #eef4fc;
  --text: #1d2433;
  --sub: #5b6475;
  --line: #dde3ec;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--main); }
img { max-width: 100%; display: block; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* 入力が必要な箇所（差し替え後は消える） */
.todo { background: #fff3b0; color: #7a5a00; padding: 0 4px; border-radius: 3px; font-weight: 700; }

/* ===== ヘッダー ===== */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.logo { white-space: nowrap; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text); text-decoration: none; font-size: 14px; white-space: nowrap; }
.nav a:hover { color: var(--main); }
@media (max-width: 960px) { .nav { display: none; } }
@media (max-width: 420px) { .logo { font-size: 15px; } }

/* ===== ファーストビュー ===== */
.hero { background: var(--main-light); padding: 88px 0 80px; }
.hero h1 { font-size: 40px; line-height: 1.45; letter-spacing: .02em; }
.hero .lead { margin-top: 20px; font-size: 18px; color: var(--sub); }
.hero .actions { margin-top: 36px; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 28px; }
  .hero .lead { font-size: 16px; }
}

/* ===== ボタン ===== */
.btn { display: inline-block; padding: 16px 32px; border-radius: 6px; font-weight: 700; text-decoration: none; text-align: center; }
.btn-primary { background: var(--main); color: #fff; }
.btn-primary:hover { background: var(--main-dark); }
.btn-outline { border: 2px solid var(--main); color: var(--main); background: #fff; }

/* ===== セクション共通 ===== */
section { padding: 80px 0; }
section.soft { background: var(--bg-soft); }
.sec-label { color: var(--main); font-weight: 700; font-size: 13px; letter-spacing: .15em; }
.sec-title { font-size: 28px; margin: 4px 0 32px; }
@media (max-width: 720px) { section { padding: 56px 0; } .sec-title { font-size: 22px; } }

/* ===== サービス ===== */
.service-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px; margin-bottom: 24px; }
.service-item h3 { font-size: 21px; margin-bottom: 4px; }
.service-item .meta { color: var(--sub); font-size: 14px; margin-bottom: 16px; }
.service-item ul { padding-left: 1.2em; }

/* ===== カリキュラム ===== */
.purpose { background: #fff; border-left: 4px solid var(--main); padding: 16px 20px; margin-bottom: 28px; }
.timeline { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.timeline .month { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px; }
.timeline .month h3 { color: var(--main); font-size: 18px; margin-bottom: 12px; }
.timeline ul { padding-left: 1.2em; }
@media (max-width: 720px) { .timeline { grid-template-columns: 1fr; } }

/* ===== 表（料金・会社概要・特商法） ===== */
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border: 1px solid var(--line); padding: 16px 18px; text-align: left; vertical-align: top; }
.table th { background: var(--main-light); width: 28%; font-weight: 700; }
.table thead th { width: auto; }
.price { font-size: 22px; font-weight: 700; }
.note { font-size: 14px; color: var(--sub); margin-top: 12px; }
@media (max-width: 720px) {
  .table.stack th, .table.stack td { display: block; width: 100%; }
  .table.stack th { border-bottom: none; }
}
.price-table-wrap { overflow-x: auto; }

/* ===== 流れ ===== */
.flow { list-style: none; counter-reset: step; }
.flow li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; border-bottom: 1px solid var(--line); background: #fff; }
.flow li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 28px; height: 28px; border-radius: 50%; background: var(--main); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* ===== よくある質問 ===== */
.faq dt { font-weight: 700; margin-top: 24px; }
.faq dt::before { content: "Q. "; color: var(--main); }
.faq dd { margin-top: 6px; color: var(--sub); }
.faq dd::before { content: "A. "; font-weight: 700; color: var(--text); }

/* ===== 申込み ===== */
.cta { text-align: center; background: var(--main); color: #fff; }
.cta h2 { font-size: 26px; }
.cta p { margin-top: 12px; }
.cta .actions { margin-top: 28px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--main); }
.cta .btn-outline { background: transparent; color: #fff; border-color: #fff; }

/* ===== 下層ページ ===== */
.page { padding: 56px 0 80px; }
.page h1 { font-size: 28px; margin-bottom: 32px; }
.page h2 { font-size: 19px; margin: 32px 0 8px; }
.page p, .page li { margin-bottom: 8px; }
.page ul, .page ol { padding-left: 1.4em; }

/* ===== フッター ===== */
.site-footer { background: #1d2433; color: #c9cfda; padding: 40px 0; font-size: 14px; }
.site-footer .links { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
