/* Leg Flow Artist LP C案（画像LP）— brand.md / design.md 準拠。主要セクションの見出しと図版はCodex生成画像（assets/*.webp）、本文・表・声・FAQはHTML */
:root {
  --navy: #3d4e6b;
  --navy-deep: #2b3a51;
  --white: #ffffff;
  --white-alt: #f3f4f7;
  --ink: #22304a;
  --ink-soft: #5a6678;
  --line: #c8bfbd;
  --line-soft: rgba(200, 191, 189, 0.55);
  --yellow: #f2c84b;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --measure: 40rem;   /* 本文の幅 */
  --band: 64rem;      /* 画像バンドの最大幅（PC） */
}
* { 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; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.wrap { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }

/* 画像バンド: スマホは全幅、PCは中央に最大64rem */
.band { width: 100%; margin: 0 auto; }
.band .art { width: 100%; height: auto; }
@media (min-width: 900px) { .band { width: min(100% - 4rem, var(--band)); } }
.band + .wrap { margin-top: 2.25rem; }
.wrap + .band { margin-top: 1.5rem; }
.sec.white .band + .wrap { margin-top: 1.75rem; }

/* 背景のリズム。画像セクション（.img-*）の背景色は img-colors.css が画像の縁の色で上書きする */
.sec { padding: 3.5rem 0 4rem; }
.sec.navy, .sec.img-problem, .sec.img-forest { background: var(--navy); color: #fff; }
.sec.navy-deep, .sec.img-fv, .sec.img-question { background: var(--navy-deep); color: #fff; }
.sec.white { background: var(--white); color: var(--ink); }
.sec.white + .sec.white { border-top: 1px solid var(--line); }
.sec[class*="img-"] { padding-top: 0; }
.sec.white .band { background: var(--white); }

/* 見出し */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.03em; margin: 0; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.25rem); line-height: 1.45; margin-bottom: 1.4rem; }
h3 { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.5rem); line-height: 1.5; margin: 2.4rem 0 0.9rem; }
.lead { font-size: 1.02rem; margin-bottom: 1.5rem; }

/* 決め文: 太字＋文字の下に太い下線 */
.key { font-weight: 700; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.35rem); line-height: 1.75; margin: 1.6rem 0; }
.key span { box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-bottom: 0.12em; border-bottom: 4px solid var(--yellow); }

/* ボタン */
.btn { display: block; width: 100%; max-width: 30rem; margin: 0 auto; 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; border: 0; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); transition: transform 150ms ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.white .btn:focus-visible { outline-color: var(--navy); }
.note { font-size: 0.85rem; line-height: 1.7; text-align: center; margin: 0.9rem auto 0; max-width: 30rem; color: var(--ink-soft); }
[class*="img-"] .note, .navy .note, .navy-deep .note { color: rgba(255, 255, 255, 0.85); }
.cta { margin-top: 2.5rem; }

/* 固定ボタン（スマホ） */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(43, 58, 81, 0.96); padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom)); backdrop-filter: blur(6px); }
.sticky .btn { box-shadow: none; padding: 0.9em 1em; font-size: 1rem; }
@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; margin: 1.5rem 0; }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.tall { aspect-ratio: 3 / 4; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--ink-soft); font-size: 0.85rem; line-height: 1.6; background: repeating-linear-gradient(135deg, #eef0f4 0 14px, #f6f7f9 14px 28px); }
.navy .photo, .navy-deep .photo { border-color: var(--line-soft); }
.navy .photo .ph, .navy-deep .photo .ph { background: repeating-linear-gradient(135deg, #46587a 0 14px, #3f5071 14px 28px); color: rgba(255,255,255,0.85); }

/* FV */
.hero { padding-top: 0; }
.hero .sub { font-size: 1.08rem; line-height: 1.95; margin-bottom: 0.9rem; }
.hero .sub .box { display: inline-block; background: #fff; color: var(--navy-deep); font-weight: 700; padding: 0.05em 0.45em; margin: 0.1em 0; }
.hero .target { font-weight: 700; margin-bottom: 1.2rem; }
.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: 1.6rem; }
.hero .facts span { white-space: nowrap; }
.hero .facts .sep { color: var(--line); margin: 0 0.5em; }
@media (min-width: 900px) {
  .hero .band { padding-top: 2rem; }
  .hero .wrap { text-align: center; }
  .hero .facts { font-size: 1rem; }
}

/* 受講者の声（横スクロールカード） */
.voices-row { display: flex; gap: 1rem; overflow-x: auto; padding: 0.25rem 0 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0 -1.25rem; padding-inline: 1.25rem; }
.vcard { flex: 0 0 17rem; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); padding: 1.1rem 1.1rem 1.2rem; border-top: 4px solid var(--yellow); color: var(--ink); }
.vcard.solo { flex: initial; margin-top: 1.5rem; }
.vcard .who { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.8rem; }
.avatar { flex: 0 0 3.25rem; width: 3.25rem; height: 3.25rem; border-radius: 50%; overflow: hidden; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.vcard .name { font-weight: 700; line-height: 1.4; }
.vcard .meta { font-size: 0.8rem; color: var(--ink-soft); line-height: 1.5; }
.vcard .q { font-size: 0.93rem; line-height: 1.8; margin: 0; }
.vcard .tag { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.more { text-align: center; font-size: 0.9rem; margin-top: 0.5rem; }
@media (min-width: 900px) {
  .wrap:has(> .voices-row) { width: min(100% - 4rem, var(--band)); }
  .voices-row { margin: 0; padding-inline: 0; overflow: visible; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; }
  .voices-row .vcard { flex: initial; padding: 1rem 0.9rem 1.1rem; }
  .voices-row .vcard .who { gap: 0.55rem; }
  .voices-row .avatar { flex-basis: 2.6rem; width: 2.6rem; height: 2.6rem; font-size: 0.95rem; }
  .voices-row .vcard .name { font-size: 0.92rem; }
  .voices-row .vcard .meta { font-size: 0.72rem; }
  .voices-row .vcard .q { font-size: 0.86rem; line-height: 1.75; }
  .wrap:has(> .voices-row) .disclaimer, .wrap:has(> .voices-row) .more { width: min(100%, var(--measure)); margin-inline: auto; }
}
.voices-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 720px) { .voices-grid { grid-template-columns: 1fr 1fr; } }
.voices-grid .vcard { flex: initial; }
.disclaimer { font-size: 0.8rem; color: var(--ink-soft); margin: 0.5rem 0 1.5rem; }
[class*="img-"] .disclaimer, .navy .disclaimer, .navy-deep .disclaimer { color: rgba(255,255,255,0.8); }

/* チェックリスト */
.checks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checks li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.9rem 0; border-bottom: 1px solid var(--line-soft); font-weight: 500; line-height: 1.75; }
.checks li:first-child { border-top: 1px solid var(--line-soft); }
.checks svg { flex: 0 0 1.3rem; width: 1.3rem; height: 1.3rem; margin-top: 0.3rem; }

/* 引用: 上下の細い罫線だけ */
.quote { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 1.4rem 0.2rem; margin: 1.8rem 0 0; font-family: var(--serif); font-size: 1.08rem; line-height: 2; }
.quote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 0.82rem; margin-top: 0.9em; text-align: right; opacity: 0.85; }

/* 3カード */
.three { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 720px) { .three { grid-template-columns: repeat(3, 1fr); } }
.three .card { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-soft); border-top: 4px solid var(--yellow); padding: 1.2rem 1.15rem 1.3rem; }
.three .num { font-family: var(--serif); font-size: 1.3rem; color: var(--yellow); line-height: 1; margin-bottom: 0.5rem; }
.three h3 { margin: 0 0 0.6rem; font-size: 1.2rem; }
.three p { font-size: 0.95rem; line-height: 1.8; margin: 0; }
@media (min-width: 900px) { .img-question .wrap:has(.three) { width: min(100% - 4rem, 56rem); } }

/* 5カード・2枠 */
.five { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: 0.6rem; counter-reset: f; }
@media (min-width: 560px) { .five { grid-template-columns: 1fr 1fr; } }
.five li { counter-increment: f; background: var(--white-alt); border: 1px solid var(--line); padding: 0.85rem 1rem; font-weight: 700; line-height: 1.6; display: flex; gap: 0.7rem; align-items: baseline; }
.five li::before { content: counter(f); font-family: var(--serif); color: var(--navy); font-size: 1.15rem; flex: 0 0 1.2em; }
.pair { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 720px) { .pair { grid-template-columns: 1fr 1fr; } }
.pair .box { border: 1px solid var(--line-soft); padding: 1.2rem 1.15rem; background: rgba(255, 255, 255, 0.06); }
.pair .box h3 { margin: 0 0 0.6rem; font-size: 1.15rem; }
.pair .box ul { margin: 0; padding-left: 1.2em; }
.pair .box li { margin-bottom: 0.5em; line-height: 1.75; }

/* 持ち帰るもの */
.takeaway { background: var(--white-alt); border: 1px solid var(--line); padding: 1.3rem 1.2rem; margin: 1.5rem 0 0; }
.takeaway h3 { margin: 0 0 0.7rem; font-size: 1.15rem; }
.takeaway ul { margin: 0; padding-left: 1.2em; }
.takeaway li { font-weight: 700; margin-bottom: 0.4em; }
.takeaway li small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--ink-soft); }

/* 講師 */
.profile { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 720px) { .profile { grid-template-columns: 13rem 1fr; align-items: start; } }
.profile .photo { margin: 0; width: min(100%, 14rem); background: var(--navy-deep); }
.profile .name { font-family: var(--serif); font-weight: 700; font-size: 1.6rem; line-height: 1.3; margin: 0 0 0.2rem; }
.profile .title { font-size: 0.92rem; opacity: 0.9; margin-bottom: 1rem; }
.timeline { list-style: none; padding: 0 0 0 1rem; margin: 0 0 1.2rem; border-left: 1px solid var(--line-soft); }
.timeline li { position: relative; padding-left: 0.7rem; margin-bottom: 0.45em; line-height: 1.7; font-size: 0.95rem; }
.timeline li::before { content: ""; position: absolute; left: -1rem; top: 0.85em; width: 0.5rem; height: 1px; background: var(--line); }
.timeline .age { font-family: var(--serif); font-weight: 700; display: inline-block; width: 3.2em; }
.stat { display: flex; gap: 1.5rem; flex-wrap: wrap; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 0.9rem 0; margin: 1.5rem 0; }
.stat div { font-size: 0.85rem; }
.stat b { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; }
.ig { font-size: 0.9rem; opacity: 0.9; }

/* 表 */
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 0.95rem; margin: 1.25rem 0; background: var(--white); }
th, td { text-align: left; vertical-align: top; padding: 0.8em 0.7em; border-bottom: 1px solid var(--line); line-height: 1.7; overflow-wrap: anywhere; }
th { width: 28%; font-weight: 700; background: var(--white-alt); }
tr:first-child th, tr:first-child td { border-top: 1px solid var(--line); }

/* 申込ステップ */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.25rem 0; display: grid; gap: 0.6rem; max-width: 30rem; }
.steps li { counter-increment: s; background: var(--white-alt); border: 1px solid var(--line); padding: 0.95rem 1rem 0.95rem 3.4rem; position: relative; font-weight: 700; line-height: 1.6; }
.steps li::before { content: counter(s); position: absolute; left: 1rem; top: 0.95rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif); text-align: center; line-height: 1.6rem; font-size: 0.95rem; }

/* FAQ */
.faq { margin: 1rem 0 0; }
.faq dt { font-weight: 700; padding: 1rem 0 0.3rem; border-top: 1px solid var(--line); }
.faq dt::before { content: "Q."; font-family: var(--serif); color: var(--navy); margin-right: 0.5em; }
.faq dd { margin: 0 0 1rem; padding-left: 1.6em; color: var(--ink); }

/* 追伸・特商法・フッター */
.sign { font-family: var(--serif); font-weight: 700; text-align: right; margin: 1.2rem 0 2rem; }
.legal { margin-top: 3rem; border-top: 1px solid var(--line-soft); padding-top: 1.5rem; font-size: 0.8rem; opacity: 0.9; }
.legal h3 { font-size: 1rem; margin: 0 0 0.6rem; }
.legal table { background: transparent; font-size: 0.78rem; color: #fff; }
.legal th, .legal td { border-color: var(--line-soft); }
.legal th { background: rgba(255,255,255,0.06); color: #fff; width: 32%; }
footer { background: var(--navy-deep); color: var(--line); text-align: center; font-family: var(--serif); letter-spacing: 0.12em; font-size: 0.85rem; padding: 1.5rem 0 2rem; }
