/* Leg Flow Artist 1day講座 LP D案 — design-plan.md に従う。角丸はボタンだけ、影はボタンだけ */
:root {
  --navy: #3d4e6b;
  --navy-deep: #2b3a51;
  --white: #ffffff;
  --white-alt: #f3f4f7;
  --ink: #22304a;
  --ink-soft: #5b6678;
  --line: #c8bfbd;
  --line-dim: rgba(200, 191, 189, 0.45);
  --yellow: #f2c84b;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --measure: 42rem;
  --wide: 70rem;
  --gutter: 1.25rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: 0.02em; font-feature-settings: "palt"; padding-bottom: 5.25rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.wrap { width: min(100% - var(--gutter) * 2, var(--measure)); margin-inline: auto; }
.wrap-wide { width: min(100% - var(--gutter) * 2, var(--wide)); margin-inline: auto; }
.pc { display: none; }
.nw { white-space: nowrap; }

/* セクションのリズム: 情緒はネイビーで余白大、情報は白で密度高 */
.sec { padding: 4.5rem 0; }
.sec.navy { background: var(--navy); color: #fff; }
.sec.navy-deep { background: var(--navy-deep); color: #fff; }
.sec.white { background: var(--white); color: var(--ink); }

/* 見出し: 太い明朝、本文の2.4倍以上 */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.02em; margin: 0; word-break: keep-all; overflow-wrap: anywhere; }
h2 { font-size: 1.875rem; line-height: 1.4; margin-bottom: 1.5rem; }
h3 { font-size: 1.375rem; line-height: 1.5; margin: 2.75rem 0 1rem; }
.h3-lg { font-size: 1.625rem; margin-top: 0; }
.lead { margin-bottom: 1.75rem; }

/* 決め文: 太字、文字の下にイエローの太い下線 */
.key { font-weight: 700; font-size: 1.25rem; line-height: 1.8; margin: 1.75rem 0; }
.key span { box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-bottom: 0.1em; border-bottom: 6px solid var(--yellow); }
.key.big { font-family: var(--serif); font-size: 1.5rem; }

/* ボタン: イエローのピル、ネイビー文字。影はここだけ */
.cta { margin-top: 2.25rem; }
.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.05rem; line-height: 1.4; padding: 1.1em 1.5em; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.btn:hover { background: #f5d36a; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.white .btn:focus-visible { outline-color: var(--navy); }
.note { font-size: 0.8125rem; line-height: 1.7; text-align: center; margin: 0.9rem auto 0; max-width: 30rem; color: var(--ink-soft); }
.navy .note, .navy-deep .note, .fv .note { color: rgba(255, 255, 255, 0.82); }
.disclaimer { font-size: 0.8125rem; color: var(--ink-soft); margin: 0.75rem 0 1.5rem; }
.navy .disclaimer, .navy-deep .disclaimer { color: rgba(255, 255, 255, 0.75); }

/* 固定ボタン（スマホのみ） */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--navy-deep); padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dim); }
.sticky .btn { box-shadow: none; padding: 0.85em 1em; font-size: 1rem; }

/* 写真: 必ず枠で切る。未入手は斜線の面に小さな文字 */
.photo { position: relative; border: 1px solid var(--line); overflow: hidden; margin: 1.75rem 0; background: var(--white-alt); }
.photo.wide { aspect-ratio: 16 / 10; }
.photo.tall { aspect-ratio: 3 / 4; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-size: 0.8125rem; line-height: 1.6; color: var(--ink-soft); background: repeating-linear-gradient(135deg, #e9ecf1 0 12px, #f3f4f7 12px 24px); }
.navy .photo, .navy-deep .photo { border-color: var(--line-dim); background: var(--navy-deep); }
.navy .photo .ph, .navy-deep .photo .ph { color: rgba(255, 255, 255, 0.85); background: repeating-linear-gradient(135deg, #34466a 0 12px, #2e3d5b 12px 24px); }

/* ===== 1 FV ===== */
.fv { background: var(--navy-deep); color: #fff; }
.fv-photo { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-dim); }
.fv-photo img { width: 100%; height: 100%; object-fit: cover; }
.fv-text { width: min(100% - var(--gutter) * 2, var(--measure)); margin-inline: auto; padding: 2.5rem 0 3rem; }
.fv-label { font-size: 0.875rem; letter-spacing: 0.08em; color: var(--line); margin-bottom: 1rem; }
.fv h1 { font-size: 2.25rem; line-height: 1.35; margin-bottom: 1.5rem; }
.fv-sub { font-size: 1.0625rem; line-height: 2; margin-bottom: 1rem; }
.fv-sub .box { display: inline-block; background: #fff; color: var(--navy-deep); font-weight: 700; padding: 0.05em 0.5em; margin-top: 0.3em; }
.fv-target { font-weight: 700; margin-bottom: 1.5rem; }
.fv-facts { margin: 0 0 1.75rem; padding: 0.25rem 0; border-top: 1px solid var(--line-dim); border-bottom: 1px solid var(--line-dim); }
.fv-facts div { display: grid; grid-template-columns: 4.5em 1fr; gap: 0 0.5rem; padding: 0.55rem 0; font-size: 0.9375rem; line-height: 1.7; }
.fv-facts div + div { border-top: 1px solid var(--line-dim); }
.fv-facts dt { font-weight: 700; color: var(--line); }
.fv-facts dd { margin: 0; }
.fv .cta { margin-top: 0; }

/* ===== 2・7 受講者の声 ===== */
.strip-outer { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 0.25rem 0 1rem; }
.strip { display: flex; gap: 1rem; width: max-content; padding-inline: var(--gutter); }
.voice { flex: 0 0 17.5rem; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); padding: 1.25rem 1.25rem 1.4rem; color: var(--ink); }
.voice .face { width: 4.5rem; aspect-ratio: 1; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #e9ecf1 0 8px, #f3f4f7 8px 16px); display: grid; place-items: center; font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 0.9rem; }
.voice .face img { width: 100%; height: 100%; object-fit: cover; }
.voice .who { margin: 0 0 0.75rem; line-height: 1.4; }
.voice .who b { font-family: var(--serif); font-size: 1.0625rem; display: block; }
.voice .who small { font-size: 0.75rem; color: var(--ink-soft); }
.voice .q { font-size: 0.9375rem; line-height: 1.85; margin: 0; }
.more { text-align: center; font-size: 0.9375rem; }
.grid2 { display: grid; gap: 1rem; margin: 1.5rem 0 0; }
.grid2 .voice { flex: initial; }
.voice.inline { flex: initial; margin-top: 1.75rem; }

/* ===== 3 悩み ===== */
.two { display: grid; gap: 2rem; }
.two .photo { margin: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.checks li { position: relative; padding: 0.9rem 0 0.9rem 2.1rem; border-bottom: 1px solid var(--line-dim); font-weight: 700; line-height: 1.75; }
.checks li:first-child { border-top: 1px solid var(--line-dim); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.25rem; width: 1.05rem; height: 1.05rem; border: 2px solid var(--yellow); }
.checks li::after { content: ""; position: absolute; left: 0.32rem; top: 1.3rem; width: 0.3rem; height: 0.6rem; border-right: 2px solid var(--yellow); border-bottom: 2px solid var(--yellow); transform: rotate(45deg); }
.quote { margin: 1.75rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line-dim); font-family: var(--serif); font-size: 1.0625rem; line-height: 2.05; }
.quote cite { display: block; font-style: normal; font-family: var(--sans); font-size: 0.8125rem; text-align: right; margin-top: 0.8em; color: rgba(255, 255, 255, 0.8); }

/* ===== 4 考え方 ===== */
.h2-xl { font-size: 2rem; }
.cols3 { display: grid; gap: 0; margin: 0.5rem 0 2.5rem; border-top: 1px solid var(--line-dim); }
.cols3 article { padding: 1.5rem 0 1.6rem; border-bottom: 1px solid var(--line-dim); }
.cols3 article::before { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--yellow); margin-bottom: 1rem; }
.cols3 h3 { margin: 0 0 0.6rem; font-size: 1.375rem; }
.cols3 p { margin: 0; font-size: 0.9375rem; line-height: 1.85; }
.forest { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--line-dim); }

/* ===== 5 講座の中身 ===== */
.five { list-style: none; counter-reset: f; padding: 0; margin: 0 0 1.75rem; border-top: 1px solid var(--line); }
.five li { counter-increment: f; position: relative; padding: 0.95rem 0.25rem 0.95rem 2.4rem; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.0625rem; line-height: 1.7; }
.five li::before { content: counter(f); position: absolute; left: 0.25rem; top: 0.95rem; width: 1.6rem; height: 1.6rem; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 0.9rem; text-align: center; line-height: 1.6rem; }
.four { list-style: none; padding: 0; margin: 0 0 1.5rem; border-top: 1px solid var(--line); }
.four li { font-family: var(--serif); font-weight: 700; font-size: 1.1875rem; padding: 0.6em 0.25rem; border-bottom: 1px solid var(--line); }
figure { margin: 1.5rem 0; border: 1px solid var(--line); }
figure img { width: 100%; }
.figrow { display: grid; gap: 1.5rem; }
.figrow figure { margin: 0; }
.takeaway { background: var(--white-alt); border-top: 3px solid var(--navy); padding: 1.5rem 1.5rem 1.6rem; margin-top: 2.5rem; }
.takeaway h3 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.takeaway ul { margin: 0; padding-left: 1.2em; }
.takeaway li { font-weight: 700; margin-bottom: 0.35em; }
.takeaway li small { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--ink-soft); }

/* ===== 6 講師: 生成写真を暗く敷き、切り抜きのポートレートを置く ===== */
.coach { position: relative; overflow: hidden; }
.coach-bg { position: absolute; inset: 0; z-index: 0; opacity: 0.28; }
.coach-bg img { width: 100%; height: 100%; object-fit: cover; }
.coach-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(61, 78, 107, 0.2) 0%, rgba(61, 78, 107, 0.85) 100%); }
.coach-grid { position: relative; z-index: 1; display: grid; gap: 1.5rem; }
.cutout { width: min(100%, 16rem); margin: 0 auto; }
.cutout img { width: 100%; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35)); }
.coach-text .title { font-size: 0.9375rem; color: var(--line); margin: -0.75rem 0 1.5rem; }
.ages { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-dim); border-left: 1px solid var(--line-dim); }
.ages li { padding: 0.75rem 0.9rem; border-right: 1px solid var(--line-dim); border-bottom: 1px solid var(--line-dim); font-size: 0.875rem; line-height: 1.6; }
.ages b { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.3; }
.record { font-family: var(--serif); font-weight: 700; font-size: 1.125rem; margin: 1.75rem 0 0.75rem; }
.ig { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.9); }

/* ===== 8a 向き・向かない ===== */
.pair { display: grid; gap: 0; border-top: 1px solid var(--line-dim); margin-bottom: 1.75rem; }
.pair > div { padding: 1.5rem 0; border-bottom: 1px solid var(--line-dim); }
.pair h3 { margin: 0 0 0.75rem; font-size: 1.375rem; }
.pair ul { margin: 0; padding-left: 1.2em; }
.pair li { margin-bottom: 0.5em; line-height: 1.75; }

/* ===== 8b 受講料・募集要項 ===== */
.price { border-top: 1px solid var(--line); margin: 0 0 1rem; }
.price .row { display: grid; grid-template-columns: 6em 1fr; align-items: baseline; gap: 0 1rem; padding: 1.1rem 0.25rem; border-bottom: 1px solid var(--line); }
.price .k { font-weight: 700; }
.price .v { font-family: var(--serif); font-weight: 700; font-size: 2rem; line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
.price .v small { font-size: 1.125rem; margin-left: 0.15em; }
.price .d { grid-column: 2; font-size: 0.8125rem; color: var(--ink-soft); line-height: 1.6; margin-top: 0.2rem; }
table.spec { width: 100%; border-collapse: collapse; font-size: 0.9375rem; margin: 2.25rem 0 0.75rem; border-top: 1px solid var(--line); }
table.spec th, table.spec td { text-align: left; vertical-align: top; padding: 0.8em 0.5em; border-bottom: 1px solid var(--line); line-height: 1.7; }
table.spec th { width: 28%; font-weight: 700; background: var(--white-alt); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; position: relative; padding: 1rem 0.25rem 1rem 3.25rem; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 1.0625rem; line-height: 1.6; }
.steps li::before { content: counter(s); position: absolute; left: 0.25rem; top: 0.95rem; width: 1.9rem; height: 1.9rem; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 1rem; text-align: center; line-height: 1.9rem; }
.faq { margin: 0; border-top: 1px solid var(--line); }
.faq dt { font-weight: 700; padding: 1rem 0 0.35rem; line-height: 1.7; }
.faq dt::before { content: "Q"; font-family: var(--serif); color: var(--navy); margin-right: 0.6em; }
.faq dd { margin: 0; padding: 0 0 1rem 1.5em; border-bottom: 1px solid var(--line); }

/* ===== 9 追伸・特商法 ===== */
.ps p { font-size: 1.0625rem; }
.sign { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; text-align: right; margin: 1.5rem 0 0.5rem; }
.legal { margin-top: 3.5rem; border-top: 1px solid var(--line-dim); padding-top: 1.5rem; }
.legal h3 { font-size: 1rem; margin: 0 0 0.75rem; }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.78rem; color: rgba(255, 255, 255, 0.88); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 0.55em 0.4em; border-bottom: 1px solid var(--line-dim); line-height: 1.6; }
.legal th { width: 32%; font-weight: 700; white-space: nowrap; }
footer { background: var(--navy-deep); color: var(--line); text-align: center; font-family: var(--serif); letter-spacing: 0.14em; font-size: 0.8125rem; padding: 1.25rem 0 1.75rem; border-top: 1px solid var(--line-dim); }

/* ===== PC ===== */
@media (min-width: 900px) {
  body { font-size: 17px; line-height: 2; padding-bottom: 0; }
  .pc { display: inline; }
  .sp { display: none; }
  .sticky { display: none; }
  .sec { padding: 6rem 0; }
  h2 { font-size: 2.625rem; margin-bottom: 2rem; }
  h3 { font-size: 1.625rem; margin-top: 3.25rem; }
  .h3-lg { font-size: 1.875rem; margin-top: 0; }
  .key { font-size: 1.375rem; }
  .key.big { font-size: 1.875rem; }
  .btn { font-size: 1.125rem; }

  /* FV: Z型。左に見出し、右に写真を画面右端まで抜く */
  .fv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 46%); min-height: 40rem; }
  .fv-photo { order: 2; aspect-ratio: auto; height: 100%; border-bottom: 0; border-left: 1px solid var(--line-dim); }
  .fv-text { order: 1; width: auto; max-width: none; padding: 5rem clamp(2rem, 6vw, 5rem) 5rem; display: flex; flex-direction: column; justify-content: center; }
  .fv-text > * { max-width: 34rem; }
  .fv h1 { font-size: clamp(3rem, 4.2vw, 3.5rem); line-height: 1.3; }
  .fv-sub { font-size: 1.125rem; }
  .fv .btn { margin-left: 0; }
  .fv .note { text-align: left; margin-left: 0; }

  /* 声: 横スクロールのまま、1枚を少し広く */
  .strip { padding-inline: max(var(--gutter), (100vw - var(--wide)) / 2); }
  .voice { flex-basis: 19rem; }
  .grid2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  /* 2カラム（悩み・森） */
  .two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .two .photo-col { position: sticky; top: 2rem; }
  .forest .photo-col { order: 1; }
  .forest .text-col { order: 2; }

  /* 3列 */
  .h2-xl { font-size: 3rem; }
  .cols3 { margin: 1.5rem 0 3rem; }
  .cols3 article { padding: 2rem 0 2.25rem; }
  .cols3 h3 { font-size: 1.625rem; }
  .cols3 p { font-size: 1.0625rem; }

  /* 5列・図版の横並び */
  .five li { font-size: 1.125rem; }
  .figrow { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; }

  /* 講師 */
  .coach-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4rem; align-items: start; }
  .cutout { width: 100%; max-width: 22rem; position: sticky; top: 2rem; }
  .ages b { font-size: 1.5rem; }

  /* 向き・向かない: 左右に並べ、中央に1本の縦罫 */
  .pair { grid-template-columns: 1fr 1fr; gap: 0 3rem; }
  .pair > div:first-child { border-right: 1px solid var(--line-dim); padding-right: 3rem; }

  .price .row { grid-template-columns: 7em 1fr; }
  .price .v { font-size: 2.5rem; }
}
