/* Leg Flow Artist LP B案（編集的レイアウト）— design.md 準拠。1120pxの12列グリッドに全部を揃える */
:root {
  --navy: #3d4e6b; --navy-deep: #2b3a51; --white: #fff; --white-alt: #f3f4f7;
  --ink: #22304a; --ink-soft: #5a6678; --line: #c8bfbd; --line-soft: rgba(200, 191, 189, 0.55);
  --yellow: #f2c84b; --yellow-deep: #d9ae2e;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --container: 70rem; --measure: 38rem; --gutter: 1.5rem;
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s7: 6rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.9; letter-spacing: 0.02em; font-feature-settings: "palt"; padding-bottom: 5.5rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
ul, ol { margin: 0; padding: 0; }

/* 見出し */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.03em; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.6rem); line-height: 1.4; margin-bottom: var(--s4); padding-bottom: var(--s2); border-bottom: 1px solid var(--line-soft); }
.navy h2, .navy-deep h2 { border-bottom-color: var(--line-soft); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.6rem); line-height: 1.5; margin: 0 0 var(--s2); }
h4 { font-size: 1.1rem; margin: 0 0 var(--s1); }
.eyebrow { font-size: 0.9rem; letter-spacing: 0.1em; color: var(--line); margin-bottom: var(--s2); }
.lead { font-size: 1.05rem; margin-bottom: var(--s4); }
.narrow { max-width: var(--measure); }
.annotation { font-size: 0.8rem; color: var(--ink-soft); margin: var(--s2) 0 var(--s3); }
.more { font-size: 0.9rem; }

/* 決め文 */
.key { font-weight: 700; font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.45rem); line-height: 1.75; margin: var(--s4) 0; max-width: var(--measure); }
.key span { box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-bottom: 0.1em; border-bottom: 4px solid var(--yellow); }

/* セクションとグリッド */
.section { padding: var(--s6) 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.navy { background: var(--navy); color: #fff; }
.navy-deep { background: var(--navy-deep); color: #fff; }
.navy + .navy-deep, .navy-deep + .navy, .navy + .section, .navy-deep + .section { border-top: 0; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.split { display: grid; gap: var(--s4); }
@media (min-width: 900px) {
  .section { padding: var(--s7) 0; }
  .split { grid-template-columns: 7fr 5fr; gap: var(--s6); align-items: start; }
  .split-reverse { grid-template-columns: 5fr 7fr; }
}

/* ヒーロー: PCは左右分割、スマホは縦 */
.hero { display: grid; background: var(--navy-deep); color: #fff; }
.hero-body { padding: var(--s5) var(--gutter) var(--s5); order: 1; }
.hero-photo { order: 2; margin: 0 var(--gutter) var(--s5); }
h1 { font-size: clamp(1.7rem, 1rem + 2.6vw, 2.5rem); line-height: 1.4; margin-bottom: var(--s3); }
h1 span { display: block; }
h1 br { display: none; }
.hero-copy { font-size: 1.08rem; line-height: 1.95; margin-bottom: var(--s2); }
.hero-copy strong { white-space: nowrap; padding-bottom: 0.1em; border-bottom: 3px solid var(--yellow); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero-target { font-weight: 700; margin-bottom: var(--s3); }
.hero-facts { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 0.8rem 0; font-size: 0.95rem; line-height: 1.8; margin-bottom: var(--s3); max-width: none; }
.hero-facts span { display: block; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 54fr 46fr; min-height: clamp(560px, 82vh, 760px); }
  .hero-body { order: 1; align-self: center; padding: var(--s7) var(--s6) var(--s7) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
  .hero .hero-photo { order: 2; margin: 0; aspect-ratio: auto; height: 100%; min-height: 100%; border: 0; border-left: 1px solid var(--line-soft); }
  .hero-facts { font-size: 1rem; }
  .hero-facts { display: flex; flex-wrap: wrap; gap: 0 1.5em; }
  .hero-facts span { white-space: nowrap; }
}

/* ボタン */
.cta { margin-top: var(--s4); max-width: 30rem; }
.button { display: block; width: 100%; background: var(--yellow); color: var(--navy-deep); text-decoration: none; text-align: center; font-weight: 700; font-size: 1.08rem; padding: 1.1em 1.4em; border-radius: 999px; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.outline .button:focus-visible, .voices-first .button:focus-visible { outline-color: var(--navy); }
.note { font-size: 0.85rem; line-height: 1.7; margin: 0.9rem 0 0; color: var(--ink-soft); max-width: none; }
.navy .note, .navy-deep .note { color: rgba(255, 255, 255, 0.85); }
.sticky.is-hidden { transform: translateY(110%); }
.sticky { transition: transform 0.25s ease; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(43, 58, 81, 0.96); padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom)); }
.sticky .button { box-shadow: none; padding: 0.9em 1em; font-size: 1rem; max-width: 30rem; margin: 0 auto; }
@media (min-width: 900px) { .sticky { display: none; } body { padding-bottom: 0; } }

/* 写真枠 */
.photo { position: relative; border: 1px solid var(--line); background: var(--white-alt); overflow: hidden; }
.photo-wide { aspect-ratio: 16 / 10; }
.photo > span { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 0.85rem; line-height: 1.6; color: var(--ink-soft); background: repeating-linear-gradient(135deg, #eef0f4 0 14px, #f6f7f9 14px 28px); }
.photo-dark { border-color: var(--line-soft); }
.photo-dark > span { color: rgba(255, 255, 255, 0.85); background: repeating-linear-gradient(135deg, #46587a 0 14px, #3f5071 14px 28px); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.problem .photo { margin-top: var(--s3); }
.forest .photo { margin-bottom: var(--s3); }

/* 受講者の声 */
.heading-row { margin-bottom: var(--s3); }
.voice-scroll { display: flex; gap: var(--s2); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.25rem 0 var(--s2); -webkit-overflow-scrolling: touch; }
.voice-card { flex: 0 0 17rem; scroll-snap-align: start; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--yellow); padding: var(--s3) var(--s3) var(--s3); }
.voice-card p { font-size: 0.95rem; line-height: 1.85; max-width: none; margin: 0; }
.person { display: flex; align-items: center; gap: 0.75rem; margin-bottom: var(--s2); line-height: 1.4; }
.person b { display: block; }
.person small { display: block; font-size: 0.78rem; color: var(--ink-soft); }
.avatar { flex: 0 0 3rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; }
@media (min-width: 900px) { .voice-scroll { display: grid; grid-template-columns: repeat(5, 1fr); overflow: visible; } .voice-card { flex: initial; } }
.voice-stack { display: grid; gap: var(--s2); margin: var(--s3) 0 var(--s2); }
@media (min-width: 720px) { .voice-stack { grid-template-columns: 1fr 1fr; } }
.single-voice { flex: initial; }

/* チェックリスト・引用 */
.check-list { list-style: none; margin: 0 0 var(--s3); }
.check-list li { position: relative; padding: 0.9rem 0 0.9rem 2rem; border-bottom: 1px solid var(--line-soft); font-weight: 500; line-height: 1.75; }
.check-list li:first-child { border-top: 1px solid var(--line-soft); }
.check-list li::before { content: ""; position: absolute; left: 0.1rem; top: 1.25rem; width: 0.95rem; height: 0.95rem; border: 2px solid var(--yellow); }
.check-list li::after { content: ""; position: absolute; left: 0.42rem; top: 1.3rem; width: 0.3rem; height: 0.6rem; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(45deg); }
blockquote { margin: var(--s4) 0; padding: var(--s3) 0.2rem; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-size: 1.08rem; line-height: 2; max-width: var(--measure); }
blockquote cite, .signature { display: block; font-style: normal; font-family: var(--serif); font-weight: 700; text-align: right; margin-top: 0.6em; }

/* 3つの理由 */
.reason-grid { display: grid; gap: var(--s2); margin: var(--s4) 0; }
@media (min-width: 720px) { .reason-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
.reason-grid article { border-top: 3px solid var(--yellow); padding-top: var(--s2); }
.reason-grid h3 { font-size: 1.25rem; margin-bottom: var(--s1); }
.reason-grid p { font-size: 0.95rem; line-height: 1.8; }

/* 講座の中身 */
.content-block { padding: var(--s4) 0; border-top: 1px solid var(--line-soft); }
.content-block:first-of-type { border-top: 0; padding-top: 0; }
.discard-list { list-style: none; counter-reset: d; display: grid; gap: var(--s1); margin: 0 0 var(--s3); max-width: var(--measure); }
.discard-list li { counter-increment: d; display: flex; gap: 0.8rem; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 700; }
.discard-list li::before { content: counter(d); font-family: var(--serif); color: var(--navy); min-width: 1.2em; }
.diagram-layout { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .diagram-layout { grid-template-columns: 5fr 7fr; gap: var(--s5); align-items: start; } }
figure { margin: 0; }
figure img { width: 100%; border: 1px solid var(--line); }
figcaption { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.5em; }
.point-figure { margin-bottom: var(--s3); }
.finish-grid { display: grid; gap: var(--s3); }
@media (min-width: 900px) { .finish-grid { grid-template-columns: 7fr 5fr; gap: var(--s5); } }
.takeaway { border: 1px solid var(--line); padding: var(--s3); background: var(--white-alt); align-self: start; }
.takeaway h3 { font-size: 1.15rem; }
.takeaway ul { list-style: none; }
.takeaway li { padding: 0.5rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 700; }
.takeaway li:last-child { border-bottom: 0; }

/* 講師 */
.profile-grid { display: grid; gap: var(--s3); margin-bottom: var(--s4); }
@media (min-width: 720px) { .profile-grid { grid-template-columns: 14rem 1fr; gap: var(--s5); align-items: start; } }
.portrait { aspect-ratio: 3 / 4; width: min(100%, 14rem); background: var(--navy-deep); border-color: var(--line-soft); }
.profile-name { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; line-height: 1.3; margin-bottom: 0.2rem; }
.profile-title { font-size: 0.95rem; opacity: 0.9; margin-bottom: var(--s2); }
.timeline { list-style: none; border-left: 1px solid var(--line-soft); padding-left: var(--s2); margin-bottom: var(--s3); }
.timeline li { font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.4em; }
.timeline b { font-family: var(--serif); display: inline-block; width: 3.2em; }
.instructor-lower { display: grid; gap: var(--s3); border-top: 1px solid var(--line-soft); padding-top: var(--s4); }
@media (min-width: 900px) { .instructor-lower { grid-template-columns: 7fr 5fr; gap: var(--s5); align-items: start; } }
.achievement { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.6; }

/* 向き不向き・年2回 */
.suit-grid { display: grid; gap: var(--s2); margin-bottom: var(--s3); }
@media (min-width: 720px) { .suit-grid { grid-template-columns: 1fr 1fr; gap: var(--s3); } }
.suit-grid article { border: 1px solid var(--line-soft); padding: var(--s3); }
.suit-grid h3 { font-size: 1.2rem; }
.suit-grid ul { list-style: disc; padding-left: 1.2em; }
.suit-grid li { margin-bottom: 0.5em; line-height: 1.75; }
.capacity { border-top: 1px solid var(--line-soft); margin-top: var(--s4); padding-top: var(--s3); }

/* 料金・表 */
.price-grid { display: grid; gap: 0; border: 1px solid var(--line); margin: var(--s3) 0 var(--s3); max-width: var(--measure); }
.price-grid > div { display: grid; grid-template-columns: 6.5em 1fr; align-items: baseline; gap: 0.3rem 1rem; padding: 1rem 1.2rem; }
.price-grid > div + div { border-top: 1px solid var(--line); }
.price-grid span { font-weight: 700; }
.price-grid strong { font-size: 1.5rem; letter-spacing: 0; white-space: nowrap; }
.price-grid small { font-size: 1rem; margin-left: 0.1em; }
.price-grid p { grid-column: 2; font-size: 0.85rem; color: var(--ink-soft); margin: 0; }
.table-wrap { margin: var(--s3) 0; }
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 0.8em 0.7em; border-bottom: 1px solid var(--line); line-height: 1.7; word-break: break-word; }
th { width: 28%; font-weight: 700; background: var(--white-alt); }
tr:first-child th, tr:first-child td { border-top: 1px solid var(--line); }
.venue-photo { margin: var(--s3) 0; max-width: 44rem; }

/* 申込ステップ・FAQ */
.outline h3 { margin-top: var(--s5); }
.steps { list-style: none; counter-reset: s; display: grid; gap: var(--s1); max-width: 30rem; margin: var(--s2) 0 var(--s3); }
.steps li { display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; background: var(--white-alt); border: 1px solid var(--line); font-weight: 700; }
.steps b { flex: 0 0 1.7rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); text-align: center; line-height: 1.7rem; font-size: 0.95rem; }
.faq { margin: var(--s2) 0 0; max-width: var(--measure); }
.faq > div { border-top: 1px solid var(--line); padding: var(--s2) 0; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq dt { font-weight: 700; }
.faq dt::before { content: "Q."; font-family: var(--serif); color: var(--navy); margin-right: 0.5em; }
.faq dd { margin: 0.3em 0 0 1.6em; }

/* 追伸・特商法 */
.closing-grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .closing-grid { grid-template-columns: 7fr 5fr; gap: var(--s6); align-items: start; } }
.legal { font-size: 0.8rem; opacity: 0.9; }
.legal h3 { font-size: 1rem; margin-bottom: var(--s1); }
.legal table { font-size: 0.78rem; color: #fff; }
.legal th { background: rgba(255, 255, 255, 0.06); color: #fff; width: 34%; }
.legal th, .legal td { border-color: var(--line-soft); }
footer { background: var(--navy-deep); color: var(--line); text-align: center; font-family: var(--serif); letter-spacing: 0.12em; font-size: 0.85rem; padding: var(--s3) 0 var(--s4); }
