/* ===== 発信迷子のためのSNS設計講座 ===== */
:root {
  --navy: #1E3A5F;
  --cta: #F0A04B;
  --ink: #222;
  --gray: #F5F6F8;
  --line: #E2E5EA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.9;
  letter-spacing: 0.03em;
  font-size: 15px;
  padding-bottom: 84px; /* モバイル追従CTAぶんの逃げ */
}

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

strong {
  font-weight: 700;
}

/* 数字の強調 */
.num {
  font-weight: 900;
  font-size: 1.6em;
  line-height: 1;
}

.num--big {
  font-size: 2.4em;
}

/* ---- CTA ---- */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  padding: 18px 40px;
  border-radius: 100px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 4px 14px rgba(240, 160, 75, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(240, 160, 75, 0.45);
}

.cta__note {
  font-size: 12px;
  margin-top: 10px;
  color: #777;
}

/* ---- モバイル追従CTA ---- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.sticky-cta.is-hidden {
  transform: translateY(110%);
}

.btn--sticky {
  padding: 14px 24px;
  font-size: 15px;
  box-shadow: 0 2px 10px rgba(240, 160, 75, 0.4);
}

/* ---- ファーストビュー ---- */
.hero {
  background: linear-gradient(160deg, #FDFBF8 0%, #F2F5F9 100%);
  padding: 56px 24px 48px;
}

.hero__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero__text {
  text-align: center;
}

.hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 100px;
  padding: 4px 18px;
  margin-bottom: 24px;
}

.hero__copy {
  font-size: 23px;
  font-weight: 900;
  line-height: 1.55;
  color: var(--navy);
  margin-bottom: 18px;
}

.hero__copy .num {
  font-size: 1.35em;
}

.hero__sub {
  font-size: 14px;
  font-weight: 500;
  color: #445;
  margin-bottom: 30px;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
}

/* ---- 実績数値 ---- */
.stats {
  padding: 40px 24px 12px;
}

.stats__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.stat {
  flex: 1;
  max-width: 200px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.stat__label {
  margin-bottom: 0;
}

.stat__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.stat__value {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

/* 満足度ドーナツ */
.stat__donut {
  --pct: 94;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: conic-gradient(var(--navy) calc(var(--pct) * 1%), var(--line) 0);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.stat__donut .stat__value {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat__donut .num--big {
  font-size: 1.9em;
}

.stats__caption {
  text-align: center;
  font-size: 11px;
  color: #999;
  margin-top: 12px;
}

/* ---- セクション共通 ---- */
.section {
  padding: 64px 24px;
}

.section__title {
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 40px;
  line-height: 1.6;
}

.section__caption {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #999;
  margin-top: 6px;
}

.section--gray {
  background: var(--gray);
}

/* ---- 課題共感 ---- */
.problems {
  list-style: none;
  max-width: 560px;
  margin: 0 auto;
}

.problems__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
}

.problems__num {
  font-weight: 900;
  font-size: 20px;
  color: var(--navy);
  line-height: 1.4;
}

.problems__lead {
  text-align: center;
  margin-top: 32px;
  font-size: 16px;
}

.problems__lead strong {
  color: var(--navy);
}

/* ---- 特徴 ---- */
.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}

.feature__num {
  display: inline-block;
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
  border-bottom: 3px solid var(--navy);
  line-height: 1.3;
  margin-bottom: 14px;
}

.feature__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature__text {
  font-size: 14px;
  color: #555;
}

/* ---- 90日の流れ ---- */
.steps {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
}

.step {
  position: relative;
  padding: 0 0 36px 28px;
  border-left: 2px solid var(--line);
}

.step:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--navy);
}

.step__period {
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 6px;
}

.step__day {
  font-size: 12px;
  letter-spacing: 0.1em;
  margin-right: 6px;
  vertical-align: 2px;
}

.step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.step__text {
  font-size: 14px;
  color: #555;
}

/* ---- 受講生の変化 ---- */
.cases {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 48px;
}

.case {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
}

.case__head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.case__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.case__who {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}

.case__change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.case__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  border-radius: 100px;
  padding: 2px 14px;
  margin-bottom: 8px;
}

.case__before .case__label {
  background: var(--gray);
  color: #888;
}

.case__after .case__label {
  background: var(--navy);
  color: #fff;
}

.case__before p,
.case__after p {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

.case__before .num {
  color: #aaa;
}

.case__after .num {
  color: var(--navy);
}

.case__arrow {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}

.case__comment {
  font-size: 13px;
  color: #555;
  background: var(--gray);
  border-radius: 8px;
  padding: 14px 16px;
}

/* ---- 講師紹介 ---- */
.teacher {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.teacher__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
}

.teacher__name {
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  text-align: center;
  margin-bottom: 14px;
}

.teacher__role {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #777;
  margin-top: 4px;
}

.teacher__bio {
  font-size: 13px;
  color: #555;
  margin-bottom: 16px;
}

.teacher__message {
  font-size: 14px;
  background: var(--gray);
  border-left: 3px solid var(--navy);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
}

/* ---- FAQ ---- */
.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 14px;
}

.faq__item dt {
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 30px;
  position: relative;
}

.faq__item dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
  color: var(--navy);
}

.faq__item dd {
  font-size: 14px;
  color: #555;
  padding-left: 30px;
}

/* ---- クロージング ---- */
.section--closing {
  text-align: center;
  padding-bottom: 80px;
}

.closing__copy {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
}

.closing__text {
  font-size: 14px;
  color: #555;
  margin-bottom: 32px;
}

/* ---- フッター ---- */
.footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 40px 24px;
}

.footer__brand {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__sample {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.footer__sample a {
  color: #fff;
}

/* ---- 改行制御 ---- */
.pc {
  display: none;
}

/* ---- フェードイン ---- */
.fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- PC ---- */
@media (min-width: 768px) {
  body {
    font-size: 16px;
    padding-bottom: 0;
  }

  .sp {
    display: none;
  }

  .pc {
    display: inline;
  }

  .sticky-cta {
    display: none;
  }

  .hero {
    padding: 96px 40px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }

  .hero__text {
    flex: 1 1 55%;
    text-align: left;
  }

  .hero__text .cta {
    align-items: flex-start;
  }

  .hero__photo {
    flex: 1 1 45%;
  }

  .hero__copy {
    font-size: 36px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .stats {
    padding: 56px 40px 16px;
  }

  .stats__inner {
    gap: 24px;
  }

  .stat {
    padding: 24px 16px;
  }

  .section {
    padding: 96px 40px;
  }

  .section__title {
    font-size: 28px;
    margin-bottom: 56px;
  }

  .features {
    flex-direction: row;
  }

  .feature {
    flex: 1;
  }

  .cases {
    flex-direction: row;
  }

  .case {
    flex: 1;
  }

  .teacher {
    flex-direction: row;
    align-items: flex-start;
  }

  .teacher__photo {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
  }

  .teacher__name {
    text-align: left;
  }

  .closing__copy {
    font-size: 30px;
  }
}
