:root {
  /* 新トップページ（2026-09-02版）の色。docs/DECISIONS_2026-09.md §6 */
  --navy: #2d455d;
  --green: #19b24b;
  --green-dark: #14833a;
  --mint: #e6f6ec;
  --steel: #8da0b1;
  --cream: #ffffff;
  --paper: #f8fbfd;
  --white: #fff;
  --ink: #2c343a;
  --muted: #6f7d8b;
  --line: #e5ebef;
  --shadow: 0 24px 70px rgba(45,69,93,.10);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
  --label: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--navy { color: var(--white); background: var(--navy); }
.title {
  margin: 0 0 28px;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.5;
}
.section--navy .title { color: var(--white); }
.marker { background: linear-gradient(transparent 65%, rgba(25,178,75,.22) 65%); }

/* 本文 */
.narrow p { margin: 0 0 20px; font-size: 15.5px; }
.narrow p strong { color: var(--navy); font-weight: 700; }
.section--navy .narrow p { color: rgba(255,255,255,.86); }
.section--navy .narrow p strong { color: var(--white); }
.narrow h3 { margin: 44px 0 14px; color: var(--navy); font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1.55; }
.narrow .title + h3 { margin-top: 8px; }
.exam-em { margin: 30px 0 !important; padding: 22px 26px; border-left: 4px solid var(--green); color: var(--navy); background: var(--mint); font-family: var(--serif); font-size: 19px !important; font-weight: 600; line-height: 1.75; }
.exam-em strong { color: var(--navy) !important; font-weight: 600; }
.section--cream .exam-em { background: var(--paper); }
.narrow ul { display: grid; gap: 11px; margin: 0 0 20px; padding: 0; list-style: none; }
.narrow ul li { position: relative; padding-left: 21px; font-size: 15.5px; }
.narrow ul li::before { content: ""; position: absolute; top: .82em; left: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.narrow ul li strong { color: var(--navy); font-weight: 700; }
.section--navy .narrow ul li { color: rgba(255,255,255,.86); }
.section--navy .narrow ul li strong { color: var(--white); }
code { padding: 2px 7px; border-radius: 4px; background: #eef3f7; color: var(--navy); font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: .92em; }
.label-badge {
  display: inline-block; margin: 0 0 22px; padding: 8px 18px;
  border-radius: 999px; background: #e6f6ec; border: 1.5px solid var(--green);
  color: var(--green-dark, #14833a); font-size: 13px; font-weight: 700; letter-spacing: .02em;
}
@media (max-width: 640px){ .label-badge { font-size: 12px; padding: 7px 14px; } }
.label { margin: 0 0 22px; color: var(--navy); font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .06em; }

/* ヘッダー */
.header { position: sticky; top: 0; z-index: 30; min-height: 72px; display: flex; align-items: center; background: rgba(248,251,253,.94); backdrop-filter: blur(8px); }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo img { width: 168px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.header-nav .header-cta { padding: 11px 20px; border-radius: 999px; color: var(--white); background: var(--green); }

/* ボタン */
.button { min-height: 58px; padding: 0 30px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; border: 2px solid transparent; border-radius: 999px; color: var(--white); background: var(--green); box-shadow: 0 12px 30px rgba(25,178,75,.22); font-size: 15px; font-weight: 700; text-align: center; text-decoration: none; transition: transform .2s ease, filter .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(.96); }
.button--dark { background: var(--navy); box-shadow: 0 12px 30px rgba(45,69,93,.2); }
.button--white { color: var(--navy); background: var(--white); box-shadow: none; }

/* 01 ヒーロー */
.hero { position: relative; overflow: hidden; padding: 0; background: var(--paper); }
.hero-bg { position: absolute; inset: 0; z-index: 0; display: block; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(248,251,253,0) 55%, var(--paper) 100%); }
/* 見出しが人物の顔・髪に重ならないよう、画像の左側に白を重ねる。幅に依存せず効く */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(248,251,253,.94) 0%,
    rgba(248,251,253,.88) 44%,
    rgba(248,251,253,0) 74%);
}
/* .hero-inner は .wrap（1120px・中央寄せ）のまま。ここに max-width を付けると塊ごと中央へ寄って人物に食い込むため、
   幅は子要素側で絞り、左端は .wrap の左端に固定する */
.hero-inner { position: relative; z-index: 1; padding: 96px 0 120px; }
.hero-inner > * { max-width: min(700px, 62%); }
/* 1行目（19字×36px≒684px）は、収まらないときだけ「、」で折る。語の途中で折らない */
.hero h1 { margin: 0; color: var(--navy); font-family: var(--serif); font-size: clamp(28px, 3.3vw, 36px); font-weight: 600; letter-spacing: -.02em; line-height: 1.5; word-break: keep-all; overflow-wrap: normal; }
.hero h1 span { display: block; margin-top: 6px; font-size: .78em; }
.hero-lead { max-width: 560px; margin: 26px 0 0; color: var(--ink); font-size: 16px; line-height: 1.95; }
.hero-lead strong { color: var(--navy); }
.hero-facts { display: grid; gap: 6px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--ink); font-size: 14px; }
.hero-facts strong { display: inline-block; min-width: 3em; color: var(--muted); font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }

/* 08 費用 */
.price-list { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; }
.price-list li { padding: 16px 20px; border: 1px solid var(--line); background: var(--white); font-size: 15px; }
.price-list li strong:first-child { display: inline-block; min-width: 7em; color: var(--muted); font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.price-list li strong:not(:first-child) { color: var(--green-dark); font-size: 22px; font-weight: 700; }

/* 09 説明会 */
.session-actions { margin-top: 30px; }

/* 図 — docs/LP_COPY_2026-09.md 末尾のとおり */
.dgm{margin:26px 0 0;padding:0}
.dgm .canvas{background:#f8fbfd;border:1px solid #e5ebef;padding:18px 14px;overflow-x:auto}
.dgm .canvas svg{display:block;width:100%;min-width:520px;height:auto}
.dgm figcaption{margin:12px 0 0;font-size:12.5px;color:#6f7d8b;line-height:1.85;max-width:46em}
.dgm .tag{display:inline-block;margin:0 0 10px;padding:3px 11px;border-radius:999px;
  background:#eef3f7;border:1px solid #e5ebef;color:#2d455d;
  font-size:10.5px;letter-spacing:.08em;font-weight:700}

/* 写真 */
.photo{margin:26px 0 0;padding:0}
.photo-pair{display:grid;gap:18px;margin:26px 0 0}
@media (min-width:720px){.photo-pair{grid-template-columns:1fr 1fr;gap:22px}}
.photo-pair figure{margin:0;padding:0}
.photo-pair img{display:block;width:100%;height:auto;border-radius:14px}
.photo-pair figcaption{margin:10px 0 0;font-size:12.5px;color:#6f7d8b;line-height:1.8}
.photo-pair figcaption strong{color:#2d455d}
.photo-note{margin:10px 0 0;font-size:11px;color:#8da0b1}
.photo img{display:block;width:100%;height:auto;border-radius:14px}
.photo figcaption{margin:12px 0 0;font-size:12.5px;color:#6f7d8b;line-height:1.85;max-width:46em}

/* FAQ */
.faq { display: grid; gap: 11px; margin-top: 8px; }
.faq details { border: 1px solid var(--line); background: var(--white); }
.faq summary { padding: 21px 55px 21px 23px; position: relative; cursor: pointer; color: var(--navy); font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; right: 22px; color: var(--green); font: 700 23px/1 Georgia, serif; transform: translateY(-50%); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0; padding: 0 23px 22px; color: var(--muted); font-size: 14px; }

/* フッター */
.footer { padding: 31px 0 100px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.58); background: var(--navy); font-size: 11px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; }
.footer a { color: rgba(255,255,255,.82); }
.mobile-cta { display: none; }


:focus-visible { outline: 3px solid rgba(25,178,75,.38); outline-offset: 4px; }

@media (max-width: 780px) {
  /* スマートフォンでは人物なし版。見出しと重ならないよう画像を上に寄せ、本文は下に置く */
  .hero-bg { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-bg::before { display: none; }
  .hero-bg img { object-position: center center; }
  .hero-inner { padding: 34px 0 72px; }
  .hero-inner > * { max-width: none; } /* 人物なし版なので幅を絞る必要がない */
}

@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 36px); }
  .section { padding: 70px 0; }
  .header { min-height: 64px; }
  .logo img { width: 132px; }
  .header-nav a:not(.header-cta) { display: none; }
  .header-nav .header-cta { padding: 9px 14px; font-size: 11px; }
  .hero h1 { font-size: 27px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .title { font-size: 25px; }
  .narrow h3 { font-size: 18px; }
  .exam-em { padding: 18px 20px; font-size: 17px !important; }
  .price-list li strong:first-child { display: block; min-width: 0; margin-bottom: 4px; }
  .footer-inner { flex-direction: column; }
  .footer { padding-bottom: 90px; }
  .mobile-cta { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 20; min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--white); background: var(--green); box-shadow: 0 12px 34px rgba(45,69,93,.28); font-size: 14px; font-weight: 700; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* 説明会の日程（navyセクション内） */
.session-dates li::before { display: none; }
.session-dates { display: grid; gap: 10px; margin: 26px 0 14px; padding: 0; list-style: none; }
.session-dates li { padding-left: 18px; display: flex; align-items: baseline; gap: 12px; padding: 12px 18px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.session-dates strong { font-family: var(--serif, serif); font-size: 21px; font-weight: 600; color: #fff; letter-spacing: .01em; }
.session-dates span { font-size: 14px; color: rgba(255,255,255,.82); }
.section--navy .narrow p.session-note { margin-top: 0; font-size: 13px; color: rgba(255,255,255,.68); }
@media (min-width: 640px) { .session-dates { grid-template-columns: 1fr 1fr; } }
