/* ============================================================
   みやうち塾 LP 共通スタイル（全LP共通。LPごとの調整は lp.css に書く）
   デザイン方針：「AIが作ったLPに見せない」
   カード乱用・角丸・アイコン・グラデーション・均等3カラムは使わない
   ============================================================ */

:root {
  --ink: #1b1a17;
  --ink-soft: #55514a;
  --ink-mute: #6c665b;

  /* 公式ロゴの深緑・黄 */
  --green: #006535;
  --green-mid: #2b7a4f;
  --green-dark: #10392a;
  --green-pale: #e7ede8;
  --accent: #edd634;

  --ivory: #f6f2e9;
  --paper: #fffdf8;
  --line: #ded7c7;

  --line-green: #06c755; /* LINEボタン */

  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
    "BIZ UDPGothic", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP",
    "MS PMincho", serif;

  --pad: 20px;
  --maxw: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.02em;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 72px; /* スマホ固定CTAぶん */
}
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.serif { font-family: var(--font-serif); }
.note { font-size: 12px; color: var(--ink-mute); line-height: 1.7; }
.marker { background: linear-gradient(transparent 62%, var(--accent) 62%); }

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.site-header .logo { font-family: var(--font-serif); font-weight: 700; font-size: 18px; color: var(--green); text-decoration: none; }
.site-header .logo small { display: block; font-family: var(--font-sans); font-size: 10px; color: var(--ink-mute); font-weight: 400; line-height: 1.2; }
.site-header .head-cta { display: none; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; background: var(--green-dark); color: #fff; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0.9; }
.hero-body { padding: 28px var(--pad) 36px; }
.hero-kicker { display: inline-block; font-size: 13px; letter-spacing: 0.12em; color: var(--accent); border-bottom: 1px solid var(--accent); margin-bottom: 14px; }
.hero h1 { font-family: var(--font-serif); font-size: 30px; line-height: 1.45; letter-spacing: 0.04em; }
.hero-lead { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,0.88); }
.hero .cta { margin-top: 24px; }

/* ---------- セクション ---------- */
.sec { padding: 64px 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.ivory { background: var(--ivory); border-top: 0; }
.sec.green { background: var(--green-dark); color: #fff; border-top: 0; }
.sec-label { font-size: 12px; letter-spacing: 0.2em; color: var(--green); margin-bottom: 10px; }
.sec.green .sec-label { color: var(--accent); }
.sec h2 { font-family: var(--font-serif); font-size: 24px; line-height: 1.55; letter-spacing: 0.04em; margin-bottom: 24px; }
.sec h3 { font-size: 18px; line-height: 1.6; margin-bottom: 8px; }
.sec p + p { margin-top: 1em; }

/* 番号つきの縦並び（3カラムの代わり） */
.points > li { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; padding: 24px 0; border-top: 1px solid var(--line); }
.points > li:last-child { border-bottom: 1px solid var(--line); }
.points .num { font-family: var(--font-serif); font-size: 34px; line-height: 1; color: var(--green); }
.sec.green .points > li { border-color: rgba(255,255,255,0.2); }
.sec.green .points .num { color: var(--accent); }

/* 写真と文章を左右交互に */
.split { display: grid; gap: 20px; }
.split img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* 大きな数字 */
.figure-row { display: flex; flex-wrap: wrap; gap: 28px 40px; }
.figure-row .fig { font-family: var(--font-serif); font-size: 44px; line-height: 1.1; color: var(--green); }
.figure-row .fig small { font-size: 16px; margin-left: 2px; }
.figure-row .cap { font-size: 13px; color: var(--ink-soft); }

/* 表（料金・日程） */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; }
.table th { width: 34%; font-weight: 600; color: var(--green-dark); background: var(--green-pale); }

/* 声 */
.voice { border-left: 3px solid var(--green); padding: 4px 0 4px 18px; margin-bottom: 28px; }
.voice cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; color: var(--ink-mute); }

/* 流れ */
.flow > li { position: relative; padding: 0 0 24px 28px; border-left: 2px solid var(--green-pale); margin-left: 8px; }
.flow > li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--green); }
.flow > li:last-child { border-left-color: transparent; }

/* よくある質問 */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::before { content: "Q. "; color: var(--green); font-family: var(--font-serif); }
.faq details p { margin-top: 10px; color: var(--ink-soft); }

/* ---------- CTA（問い合わせは必ず公式LINE） ---------- */
.cta { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 10px 28px; background: var(--line-green); color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: 0.06em; }
.cta small { font-size: 11px; font-weight: 400; opacity: 0.9; }
.cta:hover { filter: brightness(0.95); }
.cta-block { text-align: center; padding: 48px 0; background: var(--green-pale); }
.cta-block p { margin-bottom: 16px; font-family: var(--font-serif); font-size: 19px; }
.floating-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 12px; background: rgba(255,253,248,0.96); border-top: 1px solid var(--line); }
.floating-cta .cta { display: flex; width: 100%; min-height: 52px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,0.8); font-size: 13px; padding: 36px 0 28px; }
.site-footer a { color: #fff; }

/* ---------- PC ---------- */
@media (min-width: 768px) {
  :root { --pad: 32px; }
  body { padding-bottom: 0; }
  .floating-cta { display: none; }
  .site-header .head-cta { display: inline-flex; min-height: 40px; padding: 6px 18px; font-size: 14px; }
  .hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
  .hero-img { height: 100%; aspect-ratio: auto; order: 2; }
  .hero-body { padding: 72px 48px 72px max(var(--pad), calc((100vw - var(--maxw)) / 2 + var(--pad))); align-self: center; }
  .hero h1 { font-size: 42px; }
  .hero-lead { font-size: 16px; }
  .sec { padding: 96px 0; }
  .sec h2 { font-size: 32px; margin-bottom: 36px; }
  .split { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .split.reverse > :first-child { order: 2; }
  .points > li { grid-template-columns: 80px 1fr; padding: 32px 0; }
  .points .num { font-size: 44px; }
  .figure-row .fig { font-size: 56px; }
}
