/* はじめてのチームづくり 販売ページ
   レイアウトの考え方：白と墨の2色で組み、黄緑は「ここを見てほしい」場所だけに置く。角は立て、線は細く。 */
:root {
  color-scheme: light;
  --paper: #fafaf6;
  --card: #ffffff;
  --ink: #161d17;         /* 緑にわずかに寄せた墨 */
  --ink-soft: #5c665e;
  --line: #dcdfd6;
  --lime: #dbe834;        /* ブランドの黄緑 */
  --lime-soft: #f6f9d2;
  --leaf: #5a6b08;        /* 白地の上で読める濃い黄緑 */
  --todo: #ffe98a;
  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-brand: "Cormorant Garamond", "Times New Roman", serif;
  --w: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}
svg { max-width: 100%; }
a { color: var(--leaf); }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.5; letter-spacing: 0.04em; text-wrap: balance; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section.dark { background: var(--ink); color: #f1f3ea; border-top: 0; }
.section.tint { background: var(--lime-soft); border-top: 0; }
.split { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.head { display: grid; gap: 18px; position: sticky; top: 96px; }
.tag { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: var(--leaf); display: flex; align-items: center; gap: 12px; }
.tag::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.dark .tag { color: var(--lime); }
h2 { font-size: clamp(24px, 3vw, 32px); }
.body { display: grid; gap: 28px; min-width: 0; }
.body > p { max-width: 36em; }
mark { background: linear-gradient(transparent 58%, var(--lime) 58%); color: inherit; padding: 0 2px; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 246, 0.94); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--font-brand); font-size: 26px; font-weight: 600; letter-spacing: 0.04em; }
.brand-sub { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.1em; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 700; letter-spacing: 0.1em; padding: 16px 32px; border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn::after { content: "→"; font-family: var(--font-brand); font-size: 20px; line-height: 1; }
.btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.small { padding: 8px 20px; font-size: 13px; }
.btn.lime { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.btn.lime:hover { background: #fff; border-color: #fff; }
.btn.wide { width: 100%; padding: 20px 32px; font-size: 17px; }

/* ファーストビュー */
.hero { padding: 96px 0 104px; position: relative; overflow: hidden; }
.hero-photo {
  position: absolute; top: 0; right: 0; height: 100%; width: 58%; max-width: none;
  object-fit: cover; object-position: 40% top; opacity: 0.5;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-copy { display: grid; gap: 28px; max-width: 640px; }
.hero-name { font-size: 13px; font-weight: 700; letter-spacing: 0.24em; color: var(--leaf); }
.hero h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.55; }
.hero-lead { max-width: 33em; color: var(--ink-soft); }
.hero-lead strong { color: var(--ink); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.steps li { padding: 18px 16px 18px 0; display: grid; gap: 2px; font-weight: 700; line-height: 1.6; }
.steps li + li { border-left: 1px solid var(--line); padding-left: 16px; }
.steps i { font-family: var(--font-brand); font-style: italic; font-size: 26px; color: var(--leaf); line-height: 1; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.hero-cta span { font-size: 13px; color: var(--ink-soft); }
.hero-panel { background: var(--lime); padding: 36px 32px; display: grid; align-content: space-between; gap: 40px; }
.hero-panel .stage-list li { font-family: var(--font-display); font-weight: 800; font-size: 38px; line-height: 1.5; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid rgba(22, 29, 23, 0.3); padding: 8px 0; }
.hero-panel .stage-list i { font-family: var(--font-brand); font-style: italic; font-size: 18px; font-weight: 500; }
.hero-panel .nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13px; font-weight: 700; line-height: 1.5; }
.hero-panel .nums b { display: block; font-family: var(--font-brand); font-size: 60px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; }

/* 悩み */
.checks li { padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 30px; width: 16px; height: 8px; border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg); }

/* このままだと */
.chain { counter-reset: c; display: grid; gap: 0; }
.chain li { counter-increment: c; display: grid; grid-template-columns: 48px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.18); font-size: 17px; }
.chain li::before { content: counter(c, decimal-leading-zero); font-family: var(--font-brand); font-style: italic; color: var(--lime); font-size: 18px; }
.turn { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; line-height: 1.7; }
.turn em { font-style: normal; color: var(--lime); }
.dark p { color: #d5dacd; }

/* 手に入るもの */
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--ink); }
.gets li { padding: 28px 24px; display: grid; gap: 8px; align-content: start; }
.gets li + li { border-left: 1px solid var(--ink); }
.gets i { font-family: var(--font-brand); font-style: italic; font-size: 20px; color: var(--leaf); }
.gets b { font-family: var(--font-display); font-size: 21px; line-height: 1.5; }
.gets span { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* テンプレート */
.templates { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.templates li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(22,29,23,0.2); }
.templates i { font-family: var(--font-brand); font-style: italic; font-size: 22px; color: var(--leaf); }
.templates b { display: block; line-height: 1.6; }
.templates span { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }

/* 講義一覧 */
.cur { display: grid; gap: 40px; }
.cur-block { display: grid; grid-template-columns: 190px 1fr; gap: 24px; border-top: 1px solid var(--ink); padding-top: 20px; }
.cur-block h3 { font-size: 20px; }
.cur-meta { font-size: 13px; color: var(--ink-soft); line-height: 1.7; margin-top: 6px; }
.cur-block ol li { display: grid; grid-template-columns: 3.2em 1fr; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); line-height: 1.7; }
.cur-block ol i { font-family: var(--font-brand); font-style: italic; font-size: 18px; color: var(--leaf); font-variant-numeric: lining-nums tabular-nums; }

/* こんな方に */
.for { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); background: var(--card); }
.for div { padding: 32px; display: grid; gap: 10px; align-content: start; }
.for div + div { border-left: 1px solid var(--line); }
.for h3 { font-size: 20px; }
.for p { font-size: 15px; color: var(--ink-soft); }

/* 講師 */
.teacher-name { font-family: var(--font-display); font-size: 28px; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; }
.teacher-name small { font-family: var(--font-body); font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.08em; }
.record { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.record li { padding: 20px 0; font-size: 14px; font-weight: 700; line-height: 1.6; }
.record li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.record b { font-family: var(--font-brand); font-size: 52px; font-weight: 600; line-height: 1; margin-right: 6px; font-variant-numeric: lining-nums; }
.quote { border-left: 3px solid var(--lime); padding: 4px 0 4px 24px; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.9; }

.teacher-top { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: end; }
.teacher-top img { width: 100%; height: auto; display: block; }
.teacher-id { display: grid; gap: 20px; }
.teacher-id .record { grid-template-columns: 1fr; }
.teacher-id .record li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
.wide-photo { width: 100%; height: auto; display: block; }
.wide-figure { margin: 0; }
.wide-figure figcaption { font-size: 12px; color: var(--ink-soft); text-align: right; margin-top: 6px; }

/* 購入後の流れ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: f; }
.flow li { counter-increment: f; padding: 24px 20px 24px 0; border-top: 1px solid var(--ink); display: grid; gap: 6px; align-content: start; }
.flow li::before { content: counter(f, decimal-leading-zero); font-family: var(--font-brand); font-style: italic; font-size: 30px; color: var(--leaf); line-height: 1; }
.flow b { font-family: var(--font-display); font-size: 18px; }
.flow span { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }

/* 金額 */
.offer { display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: center; }
.offer-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.18); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.offer-list li span { color: var(--lime); font-family: var(--font-brand); font-style: italic; font-size: 18px; }
.price-box { background: #fff; color: var(--ink); padding: 40px 36px; display: grid; gap: 18px; }
.price-box .cap { font-size: 13px; font-weight: 700; letter-spacing: 0.2em; }
.price { font-family: var(--font-brand); font-size: 76px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums; letter-spacing: 0; }
.price small { font-family: var(--font-body); font-size: 15px; font-weight: 700; margin-left: 6px; letter-spacing: 0.04em; }
.fine { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

/* よくある質問 */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; padding: 20px 36px 20px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; top: 20px; color: var(--leaf); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 40em; }

/* 最後に */
.closing { text-align: center; display: grid; gap: 28px; justify-items: center; }
.closing h2 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.8; }
.closing p { max-width: 34em; text-align: left; }

/* 写真の帯 */
.photo { height: clamp(220px, 38vw, 460px); background-color: var(--lime-soft); background-size: cover; background-position: center; display: grid; place-items: center; }

.sprout { width: 150px; height: auto; mix-blend-mode: multiply; }

/* フッター */
.site-footer { background: var(--ink); color: #c9cfc1; padding: 48px 0; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: flex-end; }
.site-footer a { color: #c9cfc1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer .brand-name { color: #fff; }

/* スマホ用の申し込みバー */
.sticky-cta { display: none; }

/* 法務ページ */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(24px, 3.4vw, 32px); margin-bottom: 36px; }
.legal h2 { font-size: 18px; margin: 36px 0 8px; }
.legal .box { border-top: 1px solid var(--ink); max-width: 860px; }
.legal dl { margin: 0; }
.legal .row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
.legal .prose { max-width: 760px; }
.legal .prose p, .legal .prose ul { margin: 0 0 12px; }
.legal .prose ul { list-style: disc; padding-left: 1.4em; }
.back { display: inline-block; margin-top: 32px; }

/* 公開前に埋める場所。公開時にこのクラスが残っていないことを確認する */
.todo { background: var(--todo); padding: 1px 6px; font-weight: 700; color: #4d3f00; font-family: var(--font-body); font-size: 14px; letter-spacing: 0; }

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .split, .offer { grid-template-columns: 1fr; gap: 36px; }
  .hero-photo { width: 78%; opacity: 0.3; }
  .head { position: static; }
  .hero { padding: 56px 0 64px; }
  .cur-block { grid-template-columns: 1fr; gap: 8px; }
  .flow { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .legal .row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 600px) {
  body { padding-bottom: 72px; }
  .brand-sub, .site-header .btn { display: none; }
  .steps, .gets, .for, .templates, .record { grid-template-columns: 1fr; }
  .steps li + li, .gets li + li, .for div + div, .record li + li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .gets li + li { border-top-color: var(--ink); padding-left: 24px; }
  .for div + div { padding-left: 32px; }
  .teacher-top { grid-template-columns: 1fr; gap: 24px; }
  .teacher-top img { max-width: 280px; }
  .price { font-size: 60px; }
  .price-box { padding: 32px 24px; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--ink); padding: 10px 16px; gap: 14px; align-items: center; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 700; }
  .sticky-cta .btn { padding: 10px 18px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
