/* =========================================================
   CocoAcademy 養成講座LP  共通スタイル
   色を変えたいときは、下の :root の値だけを書き換えてください。
   ========================================================= */
:root {
  --mist: #F1F5F4;      /* 背景 */
  --paper: #FFFFFF;     /* カード・フォーム */
  --ink: #1E2B2F;       /* 文字 */
  --ink-soft: #4E5E62;  /* 補足の文字 */
  --teal: #2E6E68;      /* メインの色・ボタン */
  --teal-deep: #1F524D; /* ボタンを押したとき */
  --mint: #D3E8E1;      /* 薄い強調 */
  --line: #C9D8D4;      /* 区切り線 */
  --line-green: #06C755;/* LINEボタン */

  --font-head: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --measure: 34em;
  --radius-lg: 28px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
  letter-spacing: 0.03em;
}

p { margin: 0 0 1em; }

/* ---------- レイアウトの土台 ---------- */
.wrap {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow { max-width: 760px; }

.block { padding: 88px 0; }
.block + .block { border-top: 1px solid var(--line); }
.block--paper { background: var(--paper); }
.block--teal { background: var(--teal); color: #fff; }

.block h2 {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem);
  margin-bottom: 28px;
  max-width: 22em;
}

.lead {
  font-size: 1.06rem;
  color: var(--ink-soft);
  max-width: var(--measure);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 60px;
  padding: 14px 34px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 0 var(--teal-deep);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { background: var(--teal-deep); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--teal-deep); }

.btn--line { background: var(--line-green); box-shadow: 0 6px 0 #04913E; }
.btn--line:hover { background: #05B04B; }
.btn--line:active { box-shadow: 0 2px 0 #04913E; }

.btn-note {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--ink-soft);
}

.cta-row { margin-top: 36px; }

/* ---------- 写真の仮置き(本番の写真に差し替える) ---------- */
.photo {
  border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, #E3ECE9 0 12px, #EAF1EF 12px 24px);
  border: 2px dashed #A9C3BD;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  font-size: .9rem;
  padding: 24px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   1. ファーストビュー
   ========================================================= */
.hero {
  position: relative;
  padding: 56px 0 96px;
  overflow: hidden;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--teal);
  margin-bottom: 56px;
  display: inline-block;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 48px;
  align-items: center;
}

.hero__sub {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.4rem, .6rem + 2.6vw, 2.7rem);
  line-height: 1.38;
  margin-bottom: 26px;
}
.hero h1 span { display: block; }

.hero__text {
  font-size: 1.06rem;
  max-width: 28em;
  color: var(--ink-soft);
}

.assure {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.assure li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .92rem;
  font-weight: 500;
}

/* 呼吸する円(ページで唯一の自動アニメーション) */
.breath {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
.breath__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, #FFFFFF 0%, var(--mint) 62%, #BFDDD4 100%);
  animation: breathe 9s ease-in-out infinite;
}
.breath__ring--outer {
  inset: -6%;
  background: none;
  border: 1px solid #A9C9C1;
  animation-delay: -.6s;
}
.breath__axis {
  position: absolute;
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 2px;
  background: var(--teal);
  transform: translateX(-50%);
  border-radius: 2px;
}
.breath__axis::before,
.breath__axis::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal);
  transform: translateX(-50%);
}
.breath__axis::before { top: -6px; }
.breath__axis::after { bottom: -6px; }
.breath__label {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  font-size: .88rem;
  color: var(--ink-soft);
  white-space: nowrap;
}
.breath__label::after { content: "吸って"; animation: breathWord 9s steps(1) infinite; }

@keyframes breathe {
  0%, 100% { transform: scale(.86); }
  45%, 55% { transform: scale(1); }
}
@keyframes breathWord {
  0% { content: "吸って"; }
  50% { content: "吐いて"; }
}
@media (prefers-reduced-motion: reduce) {
  .breath__ring { animation: none; transform: scale(.95); }
  .breath__label::after { animation: none; content: "姿勢と呼吸から"; }
}

/* =========================================================
   2. こんな方に
   ========================================================= */
.who {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.who li {
  padding: 20px 4px 20px 40px;
  border-bottom: 1px solid var(--line);
  position: relative;
  font-weight: 500;
}
.who li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 27px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--teal);
  background: radial-gradient(circle, var(--teal) 0 4px, transparent 5px);
}
.who-after {
  margin-top: 36px;
  font-family: var(--font-head);
  font-size: 1.2rem;
  max-width: 28em;
}

/* =========================================================
   3. 先輩たちの声(いちばん大きく扱う)
   ========================================================= */
.voices {
  display: grid;
  gap: 40px;
  margin-top: 16px;
}
.voice {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
}
.voice .photo { aspect-ratio: 1; border-radius: 50%; padding: 18px; font-size: .8rem; }
.voice__name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  margin-bottom: 2px;
}
.voice__who { color: var(--ink-soft); font-size: .92rem; margin-bottom: 20px; }

.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--mint);
}
.journey li {
  position: relative;
  padding: 0 0 18px 24px;
}
.journey li:last-child { padding-bottom: 0; }
.journey li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
}
.journey li:last-child::before { background: var(--teal); }
.journey b {
  display: block;
  font-size: .85rem;
  color: var(--teal);
  font-weight: 700;
}
.todo {
  background: #FFF4D6;
  border-radius: 4px;
  padding: 0 4px;
  font-size: .92em;
}

.stats {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 1rem;
}
.stats strong {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--teal);
  margin: 0 4px;
}

/* =========================================================
   4. 未経験でも始められる理由
   ========================================================= */
.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 56px;
}
.reason h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  padding-top: 18px;
  border-top: 3px solid var(--teal);
  max-width: 18em;
}
.reason p { color: var(--ink-soft); margin: 0; }

/* =========================================================
   5. マット1枚で教えられる理由(図)
   ========================================================= */
.system {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 40px 0;
}
.system__node {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
}
.system__node--brain {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.system__node strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
.system__node span { font-size: .85rem; opacity: .85; }
.system__arrow {
  width: 36px;
  height: 2px;
  background: var(--teal);
  position: relative;
}
.system__arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  border-left: 9px solid var(--teal);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* =========================================================
   6. 受講から初レッスンまで(本当に順番があるので番号つき)
   ========================================================= */
.path {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
.path::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--line);
}
.path li {
  counter-increment: step;
  position: relative;
  padding: 0 10px;
  text-align: center;
}
.path li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--teal);
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 700;
  position: relative;
}
.path li:first-child::before { background: var(--teal); color: #fff; }
.path strong { display: block; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.5; }
.path span { display: block; font-size: .86rem; color: var(--ink-soft); margin-top: 6px; line-height: 1.7; }
.path__here {
  display: inline-block;
  margin-top: 8px;
  font-size: .78rem;
  background: var(--mint);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 1px 10px;
}

/* =========================================================
   7. 修了後のフォロー
   ========================================================= */
.follow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.checks { list-style: none; padding: 0; margin: 0; }
.checks li {
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--teal);
  border-bottom: 3px solid var(--teal);
  transform: rotate(-45deg);
}
.note-box {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.note-box h3 { font-size: 1.2rem; margin-bottom: 12px; }
.note-box p:last-child { margin-bottom: 0; }

/* =========================================================
   8. 代表より
   ========================================================= */
.founder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}
.founder .photo { aspect-ratio: 3 / 4; }
.founder blockquote {
  margin: 0 0 24px;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  line-height: 1.6;
  font-weight: 700;
}
.founder__sig { margin-top: 28px; font-size: .92rem; color: var(--ink-soft); }
.founder__sig strong { color: var(--ink); font-size: 1.1rem; font-family: var(--font-head); }

/* =========================================================
   9-10. カリキュラム・料金
   ========================================================= */
.table-scroll { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: .95rem;
}
th, td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th { background: var(--teal); color: #fff; font-weight: 700; white-space: nowrap; }
tbody th { font-family: var(--font-head); white-space: nowrap; }
td.price { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; white-space: nowrap; }

details {
  margin-top: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
summary {
  cursor: pointer;
  padding: 16px 20px;
  font-weight: 700;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.details-body { padding: 0 20px 18px; }
.details-body ol { margin: 0; padding-left: 1.4em; }

.price-note { margin-top: 20px; color: var(--ink-soft); }

/* =========================================================
   11. セミナー案内とフォーム
   ========================================================= */
.seminar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.block--teal h2, .block--teal h3 { color: #fff; }
.block--teal .lead { color: #DDEDE9; }
.seminar h3 { font-size: 1.1rem; margin: 28px 0 8px; }
.seminar ul { margin: 0; padding-left: 1.2em; }
.seminar li { margin-bottom: 4px; }
.gift {
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.form {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 20px 40px rgba(16, 52, 48, .25);
}
.form h3 { color: var(--ink) !important; font-size: 1.3rem; margin: 0 0 6px; }
.form__intro { color: var(--ink-soft); font-size: .92rem; }
.field { margin-top: 22px; }
.field label, .field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: .98rem;
}
.req {
  font-size: .75rem;
  background: var(--teal);
  color: #fff;
  border-radius: 4px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: 2px;
}
.field input[type="text"],
.field input[type="email"],
.field select {
  width: 100%;
  min-height: 52px;
  padding: 10px 14px;
  font: inherit;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #FAFCFB;
}
.field input:focus, .field select:focus {
  border-color: var(--teal);
  outline: 3px solid var(--mint);
  outline-offset: 0;
}
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; font-weight: 400 !important; }
.agree input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--teal); flex: none; }
.form .btn { width: 100%; margin-top: 28px; }
.hidden { position: absolute; left: -9999px; }
.form__small { margin: 14px 0 0; font-size: .85rem; color: var(--ink-soft); text-align: center; }

/* =========================================================
   12. よくある質問
   ========================================================= */
.faq details { margin-top: 12px; }
.faq summary { font-family: var(--font-head); font-size: 1.05rem; }
.faq summary::before { content: "Q. "; color: var(--teal); }
.faq .details-body p { margin: 0; color: var(--ink-soft); }

/* =========================================================
   13. 最後のCTA
   ========================================================= */
.final { text-align: center; }
.final h2 { margin: 0 auto 28px; max-width: 20em; }

/* ---------- フッター ---------- */
.footer {
  background: var(--ink);
  color: #C8D3D1;
  padding: 40px 0 120px;
  font-size: .88rem;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; }
.footer a { color: #fff; }

/* ---------- スマホ下部の申し込みボタン ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--line);
  display: none;
  z-index: 10;
}
.sticky-cta .btn { width: 100%; min-height: 52px; font-size: 1rem; }

/* =========================================================
   スマホ・タブレット
   ========================================================= */
@media (max-width: 860px) {
  .block { padding: 64px 0; }
  .hero { padding: 32px 0 72px; }
  .brand { margin-bottom: 32px; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .breath { max-width: 280px; }
  .voice { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .voice .photo { width: 140px; }
  .reasons { grid-template-columns: 1fr; gap: 32px; }
  .system { grid-template-columns: 1fr; }
  .system__arrow { width: 2px; height: 28px; margin: 0 auto; }
  .system__arrow::after {
    right: auto; left: -5px; top: auto; bottom: -1px;
    border-left: 6px solid transparent; border-right: 6px solid transparent;
    border-top: 9px solid var(--teal); border-bottom: 0;
  }
  .path { grid-template-columns: 1fr; gap: 20px; }
  .path::before { left: 22px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .path li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; text-align: left; padding: 0; }
  .path li::before { margin: 0; }
  .follow, .founder, .seminar { grid-template-columns: 1fr; gap: 32px; }
  .founder .photo { max-width: 260px; }
  .form { padding: 28px 20px; }
  .sticky-cta { display: block; }

  /* カリキュラム表はスマホでは縦に並べる */
  .curriculum thead { display: none; }
  .curriculum tr, .curriculum th, .curriculum td { display: block; }
  .curriculum tbody th { background: var(--mint); padding: 12px 18px; }
  .curriculum td { border-bottom: 0; padding: 10px 18px 0; }
  .curriculum td:last-child { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .curriculum td::before {
    content: attr(data-label);
    display: block;
    font-size: .8rem;
    font-weight: 700;
    color: var(--teal);
  }
}

/* =========================================================
   写真・素材を入れたあとの追加スタイル
   ========================================================= */
/* ファーストビューの写真(呼吸する輪の中) */
.breath__photo {
  position: absolute;
  inset: 5%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--mint);
}
.breath__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.breath .breath__ring--outer { inset: 0; border-width: 2px; border-color: #9CC4BA; }

/* 受講生のアイコン(イラストの代わり) */
.avatar {
  width: 160px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--teal);
  background: radial-gradient(circle at 50% 40%, #FFFFFF 0%, var(--mint) 70%);
  border: 2px solid #A9C9C1;
  margin: 0 auto;
}
.voice { grid-template-columns: 200px 1fr; }

/* 写真+キャプション */
figure { margin: 0; }
figure img { border-radius: var(--radius-sm); width: 100%; height: auto; }
figcaption { font-size: .86rem; color: var(--ink-soft); margin-top: 10px; }

.materials { margin: 8px 0 56px; }
.materials img { border: 1px solid var(--line); background: #fff; }

.exercise-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 32px;
}
.exercise-pair img { aspect-ratio: 16 / 10; object-fit: cover; }

.founder__photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
}

.legal { padding: 56px 0 96px; }
.legal h1 { font-size: 1.8rem; margin: 24px 0 28px; }
.legal h2 { font-size: 1.12rem; margin: 32px 0 10px; }
.legal dl { margin: 0; border-top: 1px solid var(--line); }
.legal dt { font-weight: 700; padding-top: 18px; }
.legal dd { margin: 4px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal ol, .legal ul { padding-left: 1.4em; }
.legal .table-scroll { margin: 16px 0; }
.legal table { font-size: .86rem; }
.legal .sign { margin-top: 40px; text-align: right; color: var(--ink-soft); }

@media (max-width: 860px) {
  .voice { grid-template-columns: 1fr; }
  .avatar { width: 96px; font-size: 2.2rem; margin: 0; }
  .exercise-pair { grid-template-columns: 1fr; }
  .founder__photo { max-width: 300px; }
}

/* ファーストビューの写真(横長) */
.hero__grid { grid-template-columns: 1.2fr .8fr; }
.hero h1 { font-size: clamp(1.4rem, .6rem + 2.6vw, 2.35rem); }
.hero__photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 55% 50%;
  box-shadow: 0 24px 48px rgba(16, 52, 48, .18);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { order: -1; }
}
