/*
  案 I: 案 H（公式サイト準拠・やわらかい）をベースに、先方の要望を反映したもの。

  写真・余白・角丸は H のまま。変えたのは **読ませ方と導線**。
  この案だけの決まりごとは、ファイル末尾の「案 I」の節にまとめてある。

  **色は H 案のピンクのまま。** 飾りも強調もピンクで、押すものは
  「ベタ塗りの丸いボタン」という形で見分ける（色ではなく塗りで分ける）。
*/
:root {
  /* lp-studio:tokens:start */
  --bg: #fbf9fa;
  --surface: #ffffff;
  --ink: #111111;
  --ink-dim: #5a5a5a;
  --accent: #c23d7d;
  --accent-ink: #ffffff;
  --line: #e3e3e3;
  --font: Inter, "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", sans-serif;
  /* lp-studio:tokens:end */
  --maxw: 880px;
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  /* 支給バナーから取った色。帯＝最終メッセージの地、tone＝バナーの青紫 */
  --band: #23252b;
  --tone: #5e75bb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 2;
  font-feature-settings: "palt";
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.02em;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- ヘッダー ---------------------------------------------------------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
  padding-inline: max(20px, calc((100% - var(--maxw)) / 2 + 20px));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.logo img {
  height: 22px;
  width: auto;
  display: block;
}

@media (min-width: 560px) {
  .logo img {
    height: 26px;
  }
}

.logo {
  margin: 0;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.08em;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar .btn-sm {
  flex: 0 0 auto;
}

/* --- 01 FV｜支給バナー -----------------------------------------------------
   Meta 広告・PR TIMES と同じクリエイティブをそのまま貼る（要件）。
   画像なので、**幅だけ合わせて中身には手を入れない**。 */
.fv {
  padding: 0 0 8px;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.fv-cta {
  margin: 0;
  padding: 20px 16px 4px;
  text-align: center;
}

@media (min-width: 900px) {
  /* 広い画面では、バナーの左右を本文の柱に合わせる */
  .banner-img {
    max-width: 840px;
    margin: 16px auto 0;
  }
}

/* --- 節: 余白で分ける。地の色は替えない --------------------------------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 20px;
}

.section + .section {
  padding-top: 0;
}

.section h2 {
  font-size: clamp(1.3125rem, 5.6vw, 1.875rem);
  margin: 0 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.body-text {
  margin: 0 0 20px;
  font-size: 1rem;
}

.body-text strong {
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.note {
  margin: 24px 0 0;
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--ink-dim);
}

.section-cta {
  margin: 40px 0 0;
  text-align: center;
}

.sub-h {
  margin: 44px 0 16px;
  font-size: 1.0625rem;
}

/* --- 02 課題: 余白を大きく取ったカード（罫は 1 本だけ） -------------------- */
.issues,
.learns {
  display: grid;
  gap: 12px;
}

.issue,
.learn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 20px;
  background: var(--bg);
  border: 1px solid var(--line);
}

.issue h3,
.learn h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.ico {
  flex: 0 0 auto;
  color: var(--accent);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
}

@media (min-width: 700px) {
  .issues {
    grid-template-columns: repeat(3, 1fr);
  }

  .issue {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 22px;
  }

  .learns {
    grid-template-columns: repeat(2, 1fr);
  }

  .learn {
    padding: 24px 22px;
  }
}

/* --- 03 数字: 明朝の数字を大きく置く -------------------------------------- */
.stats {
  display: grid;
  gap: 28px;
}

.stat {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
}

.stat-num {
  margin: 0;
  font-size: clamp(1.5rem, 7vw, 1.875rem);
  font-weight: 600;
  line-height: 1.3;
}

.stat-num em {
  font-style: normal;
  font-size: 1.7em;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.stat-label {
  margin: 4px 0 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.stat-src {
  margin: 6px 0 0;
  font-size: 0.6875rem;
  line-height: 1.7;
  color: var(--ink-dim);
}

@media (min-width: 760px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.redefine {
  margin-top: 40px;
  font-size: 1rem;
}

.redefine p {
  margin: 0 0 16px;
}

.redefine p:last-child {
  margin-bottom: 0;
}

.redefine strong {
  font-weight: 600;
  color: var(--accent);
}

/* 循環図: 線を細く、余白を広く */
.loop {
  margin: 40px 0 0;
  padding: 30px 20px 24px;
  border: 1px solid var(--line);
}

.loop-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 30px;
}

.loop-steps li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--surface);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.loop-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -26px;
  width: 1px;
  height: 22px;
  background: var(--accent);
}

.loop-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -26px;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: translateX(-50%) rotate(45deg);
  z-index: 1;
}

.loop-no {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.8125rem;
  line-height: 1;
}

.loop-back {
  margin: 10px 0 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
}

/* 4 本目の矢印。**4 から 1 まで実際に線をつなぐ**（コの字）。
   線が途中で切れていると「どこへ戻るのか」が読めない。
   狭い画面では縦積みなので左側を回し、広い画面では横並びなので下を回す。 */
.loop-steps {
  position: relative;
  padding-left: 30px;
  /* 縦積みのときは内容に合った幅にして中央へ。幅いっぱいのままだと
     箱の中央（＝矢印の位置）と左のテキストが離れて見える */
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
}

.loop-steps::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 16px;
  border: 1px dashed var(--accent);
  border-right: 0;
}

.loop-steps::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 21px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid var(--accent);
}

/* 広い画面では 4 つを横に並べる。縦積みのままだと右が大きく空いて間延びする。
   **横に並べるのは 900px から。** 768px（iPad 縦）で 4 つ並べると、番号と余白に
   取られて 1 箱に 5 文字ほどしか残らず、「外部チャネルへ費用を支払う」が 3 行に折れる */
@media (min-width: 900px) {
  .loop-steps {
    max-width: none;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 40px;
    padding-left: 0;
    padding-bottom: 34px;
  }

  .loop-steps li {
    align-items: flex-start;
    padding: 14px 14px;
    font-size: 0.875rem;
  }

  .loop-steps li:not(:last-child)::after {
    left: auto;
    right: -33px;
    bottom: 50%;
    width: 26px;
    height: 2px;
    transform: translateY(50%);
  }

  .loop-steps li:not(:last-child)::before {
    left: auto;
    right: -30px;
    bottom: 50%;
    top: auto;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid var(--accent);
    border-right: 0;
    transform: translateY(50%);
  }

  /* 4 本目は下を回して 1 の下から上へ */
  .loop-steps::before {
    left: 12.5%;
    right: 12.5%;
    top: auto;
    bottom: 0;
    width: auto;
    height: 18px;
    border: 2px dashed var(--accent);
    border-top: 0;
  }

  .loop-steps::after {
    left: calc(12.5% - 5px);
    top: auto;
    bottom: 27px;
    border-top: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 7px solid var(--accent);
  }

  .loop-back {
    margin-top: 4px;
  }
}

/* --- 04 3 要素 ---------------------------------------------------------- */
.flow {
  margin: 40px 0 0;
  display: grid;
  gap: 26px;
}

.flow-item {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  text-align: center;
}

.flow-item p {
  margin: 0;
  font-weight: 600;
  font-size: 1.0625rem;
}

.flow-item.is-goal {
  border-color: var(--accent);
  color: var(--accent);
}

.flow-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  transform: translateX(-50%) rotate(45deg);
}

@media (min-width: 700px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .flow-item:not(:last-child)::after {
    left: auto;
    right: -21px;
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
  }
}



/* --- 06 登壇者 ---------------------------------------------------------- */
.speaker {
  display: grid;
  gap: 24px;
}

.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-photo {
  /* **切り出しと同じ比率にする。** ずれると object-fit: cover が差のぶんを切り、
     中央に置いたはずの顔がまた寄る（支給バナーからの切り出しは 341×546） */
  aspect-ratio: 341 / 546;
  /* 狭い画面で写真が画面の半分を占めないよう、幅を決めて中央に置く */
  width: min(210px, 58%);
  margin-inline: auto;
  display: grid;
  place-items: center;
  background: var(--surface);
}

.speaker-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  letter-spacing: 0.06em;
}

.speaker-roman {
  font-size: 0.6875rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
}

.speaker-role {
  margin: 10px 0 16px;
  font-size: 0.875rem;
  color: var(--accent);
}

.speaker-bio {
  margin: 0;
  font-size: 0.9375rem;
}

@media (min-width: 700px) {
  .speaker-photo {
    width: auto;
    margin-inline: 0;
  }

  .speaker {
    grid-template-columns: 250px 1fr;
    align-items: center;
    gap: 32px;
  }
}

/* --- 07 おすすめ -------------------------------------------------------- */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checks li {
  position: relative;
  padding: 18px 0 18px 40px;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.checks li:first-child {
  border-top: 1px solid var(--line);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 27px;
  width: 15px;
  height: 8px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* --- 08 開催概要 -------------------------------------------------------- */
.dates {
  display: grid;
  gap: 16px;
}

.date {
  border: 1px solid var(--line);
  padding: 24px;
  text-align: center;
}

.date-no {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.date-main {
  margin: 12px 0 0;
  font-weight: 600;
  line-height: 1.2;
}

.date-md {
  font-size: clamp(1.5rem, 7vw, 2rem);
  letter-spacing: 0.02em;
}

.date-dow {
  font-size: 0.9375rem;
}

.date-time {
  margin: 8px 0 0;
  font-size: 1.0625rem;
}

@media (min-width: 620px) {
  .dates {
    grid-template-columns: repeat(2, 1fr);
  }
}

.outline {
  margin: 24px 0 0;
  border-top: 1px solid var(--line);
}

.outline div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 8px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}

.outline dt {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
}

.outline dd {
  margin: 0;
  font-size: 0.9375rem;
}

.program {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prog;
}

.program li {
  counter-increment: prog;
  position: relative;
  padding: 16px 0 16px 44px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
}

.program li:first-child {
  border-top: 1px solid var(--line);
}

.program li::before {
  content: counter(prog, decimal-leading-zero);
  position: absolute;
  left: 4px;
  top: 16px;
  color: var(--accent);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

/* --- 09 FAQ ------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 20px 44px 20px 32px;
  font-size: 1rem;
  font-weight: 600;
  min-height: 44px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q";
  position: absolute;
  left: 4px;
  color: var(--accent);
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 27px;
  width: 10px;
  height: 10px;
  border-right: 1px solid var(--ink-dim);
  border-bottom: 1px solid var(--ink-dim);
  transform: rotate(45deg);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 31px;
}

.faq details p {
  margin: 0;
  padding: 0 16px 22px 32px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--ink-dim);
}

.faq details p::before {
  content: "A";
  position: absolute;
  left: 4px;
}

/* --- 10 最終メッセージ --------------------------------------------------- */
.last {
  /* 中央に文字用の余白を持つ濃紺のイラスト。薄いベタで可読性を保つ。 */
  background-image:
    linear-gradient(rgba(13, 29, 55, 0.28), rgba(13, 29, 55, 0.28)),
    url("../img/closing-illustration-20260910.png");
  background-size: cover;
  background-position: center;
  margin-top: 24px;
  padding: 72px 20px;
  background-color: #23252b;
  color: #fff;
  text-align: center;
}

.last h2 {
  margin: 0 auto 20px;
  max-width: 24em;
  font-size: clamp(1.3125rem, 5.6vw, 1.875rem);
  border: 0;
  padding: 0;
}

.last p {
  margin: 0 auto;
  max-width: 32rem;
  color: #cbd7e8;
  font-size: 0.9375rem;
}

.last .btn {
  background: #fff;
  color: #23252b;
}

/* --- 11 フォーム -------------------------------------------------------- */
.form-lead {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: var(--ink-dim);
}

.form {
  display: grid;
  gap: 22px;
}

.form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select {
  font-family: system-ui, -apple-system, "Hiragino Sans", sans-serif;
  /* iOS は 16px 未満の入力欄にフォーカスすると画面ごと拡大する */
  font-size: 16px;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: inherit;
  width: 100%;
}

.form input:focus-visible,
.form select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-dates {
  margin: 0;
  padding: 0;
  border: 0;
  /* **fieldset は既定で min-width: min-content。** 日程の行は途中で折れないので、
     320px の端末ではフォームからはみ出し、ページ全体が横に動いた */
  min-width: 0;
}

.field-dates legend {
  padding: 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.radio {
  display: flex !important;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 12px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  font-weight: 400 !important;
  font-size: 0.9375rem !important;
  cursor: pointer;
}

.radio input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.radio:has(input:checked) {
  border-color: var(--accent);
}

.req {
  display: inline-block;
  margin-left: 8px;
  padding: 0 6px;
  border: 1px solid #a8352b;
  color: #a8352b;
  font-size: 0.6875rem;
  font-weight: 600;
  vertical-align: 2px;
  letter-spacing: 0.04em;
}

.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  font-weight: 400 !important;
  font-size: 0.9375rem !important;
  cursor: pointer;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 5px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.policy {
  border: 1px solid var(--line);
}

.policy summary {
  padding: 14px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.policy-body {
  padding: 0 14px 14px;
  font-size: 0.8125rem;
  line-height: 1.9;
  color: var(--ink-dim);
}

.policy-body p {
  margin: 0 0 12px;
}

.form button {
  width: 100%;
}

.form-status {
  margin: 0;
  min-height: 1.75em;
  font-size: 0.9375rem;
  text-align: center;
}

.form-status[data-state="error"] {
  color: #a8352b;
  font-weight: 600;
}

/* --- ボタン: 角を落とさず、字間を空けて静かに ------------------------------ */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border: 0;
  padding: 16px 30px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
  min-height: 44px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s var(--ease);
}

.btn:hover {
  background: color-mix(in srgb, var(--accent) 82%, #000);
}

.btn-sm {
  display: none;
  padding: 10px 16px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  min-height: 44px;
}

@media (min-width: 560px) {
  .btn-sm {
    display: inline-block;
  }
}

.btn-lg {
  /* 字間を空けている書体なので、狭い画面では左右の余白を削って 1 行に収める */
  padding: 18px 16px;
  font-size: 1rem;
  letter-spacing: 0.04em;
  width: 100%;
  max-width: 26rem;
}

@media (min-width: 480px) {
  .btn-lg {
    padding: 19px 36px;
    font-size: 1.0625rem;
    letter-spacing: 0.08em;
  }
}

/* フォームの内側は左右の余白ぶん狭いので、送信ボタンだけ左右を詰める。
   ここを詰めないと「無料オンラインセミナーに申し込む」が 2 行に折れる */
.form button.btn-lg {
  padding-left: 12px;
  padding-right: 12px;
  margin-inline: auto;
}

/* --- フッター ------------------------------------------------------------ */
.foot {
  padding: 40px 20px 32px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.9;
}

.foot-links {
  margin: 0 0 8px;
}

.foot-links a {
  color: inherit;
  /* 指で押す的は 44px 確保する */
  display: inline-block;
  padding: 12px 10px;
}

.sources {
  margin: 0 auto 14px;
  max-width: 46rem;
}

/* 明朝で読ませる案なので、地の文はとくに行長を抑える */
.body-text,
.redefine,
.note,
.form-lead,
.speaker-bio {
  max-width: 40em;
}

/* --- この案だけの見せ方: 節ごとの写真 -------------------------------------- */
.shot {
  margin: 26px 0 8px;
}

.shot img {
  width: 100%;
  /* **img の height 属性は presentational hint として効いてしまう。**
     読み込み中に場所を取らせるために寸法を書いているので、
     ここで打ち消さないと 16:9 ではなく画像の原寸の高さで伸びる */
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* 02 の写真は右にホワイトボードが写り込むので、人物側を見せる */
#issues .shot img {
  object-position: 32% center;
}

.section h2 {
  margin-bottom: 8px;
}

.issues,
.learns {
  margin-top: 22px;
}

@media (min-width: 700px) {
  .shot {
    margin: 30px 0 10px;
  }

  .shot img {
    aspect-ratio: 21 / 9;
  }
}

/* --- 公式サイト（school）から借りた作法 ------------------------------------
   小さな英字のラベル、細い罫、広い余白、直角の写真。 */
.sec-label {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}

.shot {
  margin: 26px 0 8px;
}

.shot img {
  width: 100%;
  /* **img の height 属性は presentational hint として効いてしまう。**
     読み込み中に場所を取らせるために寸法を書いているので、
     ここで打ち消さないと 16:9 ではなく画像の原寸の高さで伸びる */
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

#issues .shot img {
  object-position: 32% center;
}

/* --- 案 H: 公式サイトの淡いピンクのぼかしを主役に --------------------------- */
body {
  background: var(--bg);
}

.section {
  position: relative;
  padding: 56px 20px;
}

/* フッター前にある淡いぼかしを、節の隅にも置く */
.section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 61, 125, 0.13), rgba(194, 61, 125, 0) 70%);
  pointer-events: none;
}

/* ぼかしは節の内側に置く。外へはみ出させて overflow で切ると、
   同じ節の中の本文（プライバシーポリシーなど）まで切れてしまう */
#issues::before {
  top: 0;
  right: 0;
}

#learn::before {
  top: 40px;
  left: 0;
}

#outline::before {
  bottom: 0;
  right: 0;
}

.section h2 {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 22px;
}

.issue,
.learn,
.date,
.loop,
.flow-item,
.faq details,
.form,
.shot img {
  border-radius: 20px;
}

.issue,
.learn,
.date,
.faq details {
  background: #fff;
  border: 0;
  box-shadow: 0 2px 14px rgba(180, 120, 150, 0.1);
}

.form {
  background: #fff;
  box-shadow: 0 2px 20px rgba(180, 120, 150, 0.12);
  padding: 26px 22px;
}

.btn {
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.shot {
  overflow: hidden;
}

/* フォームは幅を絞る。柱いっぱいに伸ばすと 1 行が長すぎて入力しづらい */
.form {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

/* 申込の節はフォームに合わせて柱を絞る。フォームだけ中央に置くと、
   見出しと左端がずれて「箱だけ浮いた」ように見える */
#form {
  max-width: 36rem;
}

.form {
  max-width: none;
}

/* --- 動き: ゆっくり浮かび上がる -------------------------------------------
   **隠すのは `lp-anim` が付いている間だけ。** これを付けずに隠すと、
   assets/js/lp.js が届かなかったとき（通信の失敗・ブロック）に本文が
   最後まで見えないままになる。印は head の script が付け、lp.js の
   読み込みが失敗したらその場で外す。 */
.lp-anim [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.lp-anim [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.lp-anim .issues [data-reveal]:nth-child(2),
.lp-anim .stats [data-reveal]:nth-child(2),
.lp-anim .learns [data-reveal]:nth-child(2) {
  transition-delay: 0.08s;
}

.lp-anim .issues [data-reveal]:nth-child(3),
.lp-anim .stats [data-reveal]:nth-child(3),
.lp-anim .learns [data-reveal]:nth-child(3) {
  transition-delay: 0.16s;
}

.lp-anim .learns [data-reveal]:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .lp-anim [data-reveal],
  .lp-anim [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}

[id] {
  scroll-margin-top: 76px;
}


/* ==========================================================================
   案 I: 先方の要望
   ========================================================================== */

/* --- 見出しの改行位置（スマホ） ---------------------------------------------
   **日本語は文字単位で折り返す。** 放っておくと「同時に進んでいま / す。」の
   ように語の途中で割れる。見出しは最初に読まれるので、意味の切れ目に改行を置く。
   広い画面では 1 行に収まるので、その改行は消す。 */
@media (min-width: 760px) {
  .br-sp {
    display: none;
  }
}

/* --- 見出しは中央揃え ------------------------------------------------------
   本文は左のまま。長い日本語を中央に置くと、行頭がそろわず読みにくい。 */
.section h2,
.sec-label,
.sub-h {
  text-align: center;
}

.sub-h {
  margin-top: 48px;
}

/* 見出しが中央なので、本文の柱も中央に置く。左寄せのままだと
   広い画面で見出しと本文の重心がずれる。
   **注記（.note）は入れない** —— 文字が小さいぶん柱が半分の幅になり、
   中央に寄せると本文より内側に入ってしまう */
.body-text,
.redefine,
.form-lead,
.speaker-bio {
  margin-inline: auto;
}

.form-lead {
  text-align: center;
}

/* --- 結論を、大きな文字と前後の余白で独立させる -----------------------------
   要望は「**色や太字だけでなく**、大きな文字と前後の余白で独立して見せたい」。
   **色（ピンク）と太字は H のまま残し、そこに大きさと余白を足す。**
   原稿は要件のままで、前後の文を小さく添えているだけ。 */
.pull {
  margin: 44px auto;
  /* 行の長さは rem で決める。em にすると .pull の 16px が基準になり、
     中の 24〜30px の文字にはずっと狭い柱になってしまう */
  max-width: 36rem;
  text-align: center;
}

.pull-lead {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--ink-dim);
}

.pull-main {
  margin: 0;
  font-size: clamp(1.375rem, 6.2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--accent);
}

/* 意味の切れ目でだけ折り返す。日本語はどこでも折れるので、
   放っておくと「設計する」が「設」と「計する」に、
   「集まりにくくなっている」が「なっ」と「ている」に割れる。

   **`<br>` ではなく inline-block を使う。** カードは幅が画面ごとに変わるので、
   改行を固定すると広い画面で不自然に切れる。塊にしておけば、
   入る幅なら 1 行、入らなければ塊の境目で折れる。
   **塊は狭いほうの幅に収まる長さにする**（はみ出すと折り返せない）。 */
.nb {
  display: inline-block;
}

/* 文末の「ことです。」まで含めて 1 文。大きさだけ落として続ける。
   **間を空ける。** 30px の太字にそのまま続けると、字面が詰まって
   同じ語の続きに見えてしまう */
.pull-tail {
  margin-left: 0.5em;
  font-size: 0.56em;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}

.redefine .pull {
  margin-block: 40px;
}

/* --- 03 数字: A 案の大小に寄せる -------------------------------------------
   **変えるのは大きさの取り方だけ。** 並べ方・罫・出典の位置は H のまま。
   A 案は「単位の字も大きめに取り、数字はその 1.5 倍」という組み方をしている
   （H は単位を小さく、数字を 1.7 倍）。3 つ横並びのまま収まる範囲で寄せる。 */
.stat-num {
  font-size: clamp(1.75rem, 8.5vw, 2rem);
}

.stat-num em {
  font-size: 1.5em;
}

.stat-src a {
  color: inherit;
  text-underline-offset: 0.15em;
}

/* --- 04 3 要素: 写真は残したまま、図を絵で読めるものにする -------------------
   **写真は外さない**（節の頭に残す）。図のほうを、名前だけの箱から
   「何が出ていき、何が積み上がるか」が絵で分かるものに描き直す。
   「自社に残る資産」は行き先なので、地を淡く敷いて他の 2 つより大きく置く。 */
.flow-item {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 26px 18px;
  background: #fff;
  box-shadow: 0 2px 14px rgba(180, 120, 150, 0.1);
}

.flow-ico {
  color: var(--accent);
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
}

/* 絵は枠いっぱいまで描く（HTML 側の width / height は下限として残す）。
   線が細いと薄く見えるので少しだけ太らせる */
.flow-ico svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}

.flow-item.is-goal {
  border-color: var(--accent);
  /* 行き先だと分かるように地を淡く敷く。ボタンのベタ塗りとは濃さで分ける */
  background: color-mix(in srgb, var(--accent) 7%, #fff);
}

.flow-item.is-goal .flow-ico {
  width: 76px;
  height: 76px;
}

.flow-item.is-goal .flow-ico svg {
  stroke-width: 1.7;
}

/* 他の 2 つ（PC で 18px）よりはっきり大きく、かつ **1 行に収まる**大きさ。
   28px まで上げると 768px の列で「自社に残る資 / 産」と割れる */
.flow-item.is-goal p {
  font-size: clamp(1.375rem, 5.6vw, 1.5rem);
  line-height: 1.5;
}

/* --- PC の本文は 18px 前後。スマホは今のまま ------------------------------- */
@media (min-width: 760px) {
  .body-text,
  .redefine,
  .issue h3,
  .learn h3,
  .checks li,
  .flow-item p {
    font-size: 1.125rem;
  }

  .stat-label,
  .form-lead {
    font-size: 1rem;
  }

  .outline dt,
  .outline dd,
  .program li,
  .faq summary,
  .faq details p,
  .speaker-bio,
  .last p {
    font-size: 1.0625rem;
  }

  .pull {
    margin-block: 56px;
  }

  .redefine .pull {
    margin-block: 52px;
  }
}

/* --- スマホの下部追尾 CTA（A 案と同じ作り） --------------------------------
   **広い画面では出さない。** ヘッダーの申し込みボタンが常に見えているので、
   下にもう 1 つ置くと同じ文言のボタンが 2 つ並ぶ。
   出す幅は、そのヘッダーのボタンが隠れる幅（560px 未満）にそろえてある。

   **色は H のピンクのまま。本文の装飾と分けるのは「塗り・影・大きさ」。**
   本文のピンクは細い線と文字（塗りも影も無い）。ここだけは帯ごと淡いピンクを
   敷き、その上にベタ塗りのボタンを濃い影で浮かせる。
   **節ごとの CTA より一回り大きく**して、常に出ている 1 本だと分かるようにする。 */
.sticky-cta {
  display: none;
}

@media (max-width: 559.98px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    inset: auto 0 0 0;
    z-index: 30;
    align-items: center;
    justify-content: center;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    /* 地は淡いピンクのベタ。透かすと後ろの本文が透けてボタンのピンクが濁る */
    background: color-mix(in srgb, var(--accent) 6%, #fff);
    border-top: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    box-shadow: 0 -8px 24px rgba(194, 61, 125, 0.18);
    transform: translateY(130%);
    transition: transform 0.25s var(--ease);
  }

  .sticky-cta.is-on {
    transform: none;
  }

  .sticky-cta .btn {
    /* 帯の中でボタンだけが浮いて見えるようにする。
       本文のピンク（線・文字）には影を付けていないので、押すものと区別が付く */
    box-shadow: 0 6px 18px rgba(194, 61, 125, 0.45);
    width: 100%;
    max-width: 26rem;
    /* 節ごとの CTA と同じ厚み（18px）まで上げる。常設の帯なのに
       節の CTA より小さいと、ついでに置いたものに見える */
    padding: 18px 12px;
    font-size: 1rem;
    letter-spacing: 0.06em;
  }

  /* 追尾 CTA がフッターの最後の行に重ならないようにする */
  .foot {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
}

/* --- FV: PC / スマホでバナーを差し替えられるようにする ----------------------
   picture はインライン要素なので、img と同じように扱えるよう block にする */
.fv picture {
  display: block;
}

/* --- ヘッダーは FV を過ぎてから出す -----------------------------------------
   **支給バナーの左上にも M&C Creation のロゴが入っている。** ヘッダーを
   最初から出すと、同じロゴが上下に 2 つ並んで「二重に貼った」ように見える。

   `sticky` のままで隠すと、元の場所に白い帯が残る（流れの中に席がある）ので
   `fixed` にして席ごと外す。FV が画面から出たら滑り込ませる。 */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  transform: translateY(-100%);
  transition: transform 0.25s var(--ease);
  box-shadow: 0 2px 10px rgba(180, 120, 150, 0.1);
}

.bar.is-on {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .bar {
    transition: none;
  }
}

/* --- Turnstile の置き場 -----------------------------------------------------
   **サイトキーが入るまでは空**。空の div が余白を作らないように、
   中身が入ったときだけ場所を取る（:empty は中身が無い間だけ当たる） */
/* **Turnstile のウィジェットは 300px 固定。** 342px より狭い端末では
   ページ全体が横に動く（実測 320px で 22px）。**動く幅だけを直す** ——
   それより広い端末は先方が見ている見た目のままにしておく。
   グリッドの列も器に合わせる（中身の 300px に引きずられないように）。 */
@media (max-width: 341.98px) {
  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .turnstile {
    transform: scale(0.78);
    transform-origin: left top;
  }
}

/* **入力に不備があるとブラウザがその欄まで自動で飛ばす。**
   ヘッダーは画面に貼り付いているので、そのままだと欄がヘッダーの裏に潜り込み、
   「参加希望日」などの見出しは画面の外に出て、何を直せばよいか分からなくなる。
   ヘッダー（43px）と見出しのぶんを空けてから止める。 */
.form input,
.form select,
.form textarea {
  scroll-margin-top: 112px;
}

.turnstile:empty {
  display: none;
}

.turnstile {
  display: flex;
  justify-content: center;
}

/* --- 画面には出さないが、読み上げには渡す -----------------------------------
   **`display: none` にしない。** それだと読み上げソフトからも消える。
   面積を 1px に潰して切り抜くことで、見えないまま読み上げの対象に残す。 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
