:root {
  --paper: #fffdfb;
  --soft: #f2fbf9;
  --ink: #15171c;
  --muted: #58656d;
  --mint: #23b7a8;
  --mint-dark: #177c74;
  --pink: #f13783;
  --blue: #255df0;
  --yellow: #ffc928;
  --red: #e7375f;
  --line: #d7eeea;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fffdfb 0%, #f8fffd 100%);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.78;
}

img {
  max-width: 100%;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(780px, calc(100% - 32px));
}

.section {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
}

.section::before {
  display: none;
}

.section.alt {
  background:
    url("../ui/shapes/dot-grid-mint.svg") no-repeat calc(100% + 24px) 42px / 120px,
    var(--soft);
}

h1,
h2,
h3 {
  margin: 0 0 18px;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 900;
  line-height: 1.26;
  letter-spacing: 0;
}

h1 {
  font-size: 3.85rem;
}

h2 {
  font-size: 2.55rem;
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 14px;
}

.num {
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 900;
}

.center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(215, 238, 234, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: auto;
  height: 40px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 16px;
  color: #fff;
  background: var(--mint);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.06rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-stack {
  display: grid;
  gap: 12px;
  align-items: center;
}

.hero-cta-stack {
  justify-items: center;
}

.final-cta-stack {
  justify-items: center;
}

.image-cta {
  position: relative;
  display: block;
  width: min(100%, 640px);
  transform-origin: center;
  transition: transform 0.18s ease;
}

.image-cta::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 20%;
  right: 7%;
  bottom: 13%;
  left: 3.5%;
  border-radius: 999px;
  background: linear-gradient(115deg, transparent 0%, transparent 39%, rgba(255, 255, 255, 0.42) 47%, transparent 55%, transparent 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-115%);
  animation: ctaShine 4.8s ease-in-out infinite;
}

.image-cta:hover {
  transform: translateY(-2px) scale(1.02);
}

.image-cta img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  transform-origin: center;
  animation: ctaPulse 3s ease-in-out infinite;
}

.image-cta--final {
  width: min(100%, 720px);
}

.image-cta--hero {
  width: min(92vw, 720px);
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: 24px 0 38px;
  background: linear-gradient(180deg, #fffdfb 0%, #f8fffd 100%);
}

.hero::before {
  display: none;
}

.bg-layer .shape {
  position: absolute;
  pointer-events: none;
}

.shape.pink {
  width: 220px;
  top: -68px;
  left: -68px;
}

.shape.blue {
  width: 210px;
  right: -86px;
  top: 122px;
}

.shape.dots {
  width: 108px;
  left: 8%;
  bottom: 44px;
}

.hero-grid {
  display: block;
}

.hero-image-wrap {
  position: relative;
  display: grid;
  width: min(96vw, 1661px);
  gap: 18px;
  justify-items: center;
}

.hero-fv {
  display: block;
  width: 100%;
}

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

.hero-copy {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-photo {
  display: none;
}

.lead {
  max-width: 560px;
  font-size: 1.16rem;
  font-weight: 700;
}

.badge-list {
  display: grid;
  gap: 10px;
  max-width: 610px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.badge-list li,
.soft-list p {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.badge-list li {
  padding: 12px 16px;
}

.badge-list strong {
  color: var(--pink);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 42px;
  align-items: center;
}

.split.reverse .photo {
  order: 2;
}

.photo,
.mini-photo,
.step-photo {
  margin: 0;
  position: relative;
}

.photo::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 42%;
  height: 42%;
  right: -8%;
  bottom: -8%;
  background: url("../ui/shapes/dot-grid-yellow.svg") center / contain no-repeat;
}

.photo img,
.mini-photo img,
.step-photo img,
.bubble img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo img {
  aspect-ratio: 4 / 3;
  box-shadow: 0 22px 44px rgba(20, 24, 31, 0.15);
}

.mask-organic img {
  border-radius: 43% 57% 49% 51% / 35% 42% 58% 65%;
}

.mask-organic-2 img {
  border-radius: 56% 44% 37% 63% / 42% 57% 43% 58%;
}

.owner-photo img {
  aspect-ratio: 1 / 1.08;
  object-position: center 32%;
}

.tilt-right {
  transform: rotate(2deg);
}

.tilt-left {
  transform: rotate(-2deg);
}

.soft-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.soft-list p {
  margin: 0;
  padding: 15px 18px;
  font-weight: 700;
}

.emphasis {
  display: inline;
  color: var(--mint-dark);
  font-weight: 900;
  background: linear-gradient(transparent 62%, rgba(35, 183, 168, 0.28) 62%);
}

.dash-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.dash-list li {
  position: relative;
  padding-left: 2.2em;
  font-size: 1.18rem;
  font-weight: 900;
}

.dash-list li::before {
  content: "――";
  position: absolute;
  left: 0;
  color: var(--pink);
}

#s3-reframe {
  background:
    url("../ui/shapes/soft-sparkles.svg") no-repeat 94% 16% / 110px,
    var(--soft);
}

#s4-problem {
  background:
    url("../ui/shapes/blob-blue.svg") no-repeat -90px 80% / 210px,
    var(--paper);
}

.three-grid,
.step-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.three-grid article,
.step-grid article {
  position: relative;
  overflow: hidden;
  padding: 14px 14px 18px;
  background: #fff;
  border: 1px solid rgba(215, 238, 234, 0.8);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(21, 23, 28, 0.08);
}

.mini-photo,
.step-photo {
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 6px;
}

.mini-photo {
  aspect-ratio: 4 / 3;
}

.step-photo {
  aspect-ratio: 4 / 3;
}

.icon {
  width: 50px;
  height: 50px;
  margin: 2px 0 10px;
}

.three-grid h3 .num {
  display: inline-block;
  margin-right: 6px;
  color: var(--pink);
  font-size: 1.45rem;
}

.quote-card {
  position: relative;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(21, 23, 28, 0.08);
}

.quote-card::before {
  content: "“";
  position: absolute;
  top: -30px;
  left: 18px;
  color: rgba(35, 183, 168, 0.2);
  font-family: "Montserrat", sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
}

.quote-card h2 {
  position: relative;
  z-index: 1;
  color: var(--ink);
}

.quote-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
  font-size: 1.45rem;
  color: var(--ink);
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.voice-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.voice-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 34px rgba(21, 23, 28, 0.11);
}

.voice-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.voice-card .quote-card {
  min-height: 100%;
}

.bubble-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.bubble {
  position: relative;
  min-height: 360px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 28px rgba(21, 23, 28, 0.08);
}

.bubble img {
  aspect-ratio: 4 / 3;
  height: auto;
  margin-bottom: 14px;
  border-radius: 6px;
  object-position: center 38%;
}

.bubble p {
  font-weight: 900;
}

.bubble small {
  display: block;
  color: var(--muted);
  line-height: 1.65;
}

.promise-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: promise;
}

.promise-list li {
  counter-increment: promise;
  position: relative;
  padding: 20px 20px 20px 70px;
  background: #fff;
  border-radius: 8px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(21, 23, 28, 0.06);
}

.promise-list li::before {
  content: counter(promise, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--mint);
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.lesson-programs {
  background:
    url("../ui/shapes/confetti-pop.svg") no-repeat 7% 18% / 150px,
    url("../ui/shapes/blob-mint.svg") no-repeat calc(100% + 90px) 80% / 260px,
    #fffdfb;
}

.lesson-programs-image {
  margin: 28px auto 0;
  max-width: 820px;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 22px 44px rgba(21, 23, 28, 0.12);
}

.lesson-programs-image img {
  display: block;
  width: 100%;
  height: auto;
}

.step-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-grid h3 .num {
  color: var(--blue);
}

.note {
  color: var(--muted);
  font-size: 0.94rem;
}

.campaign {
  background:
    url("../ui/shapes/confetti-pop.svg") no-repeat 8% 12% / 170px,
    url("../ui/shapes/dot-grid-yellow.svg") no-repeat 96% 78% / 145px,
    #fff7fb;
}

.price-list {
  display: grid;
  gap: 10px;
  margin: 28px 0 18px;
  padding: 0;
  list-style: none;
}

.price-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #ffd8e8;
  border-radius: 8px;
}

.price-list li:last-child {
  align-items: baseline;
  background: var(--ink);
  color: #fff;
}

.price-list strong {
  color: var(--red);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.price-list li:last-child strong {
  color: var(--yellow);
  font-size: 2.35rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  background:
    linear-gradient(90deg, rgba(35, 183, 168, 0.1), transparent 35%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(21, 23, 28, 0.05);
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 900;
  list-style: none;
}

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

.faq-list summary::before {
  content: "Q";
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  color: #fff;
  background: var(--mint);
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 18px 18px 58px;
}

.final-cta {
  text-align: center;
  background:
    url("../ui/shapes/blob-mint.svg") no-repeat calc(100% + 80px) -90px / 300px,
    url("../ui/shapes/confetti-pop.svg") no-repeat 2% 72% / 190px,
    var(--soft);
}

.site-footer {
  padding: 34px 0 38px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  gap: 14px;
  justify-items: center;
  text-align: center;
}

.footer-brand,
.footer-copy {
  margin: 0;
}

.footer-brand {
  color: var(--mint-dark);
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.footer-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
}

.footer-links a,
.legal-back a {
  color: var(--mint-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.legal-back a:hover {
  text-decoration: underline;
}

.legal-main {
  padding: 64px 0 82px;
}

.legal-document {
  padding: 42px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(21, 23, 28, 0.06);
}

.legal-document h1 {
  font-size: 2.2rem;
}

.legal-document pre {
  margin: 26px 0 0;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.96rem;
  line-height: 1.9;
}

.legal-back {
  margin-bottom: 18px;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.025);
  }
}

@keyframes ctaShine {
  0%,
  58% {
    transform: translateX(-115%);
  }

  76%,
  100% {
    transform: translateX(115%);
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .split,
  .three-grid,
  .voice-grid,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .split.reverse .photo {
    order: 0;
  }

  .hero {
    align-items: center;
    min-height: auto;
    padding: 22px 0 34px;
  }

  .hero-image-wrap {
    width: min(98vw, 1200px);
  }
}

@media (max-width: 700px) {
  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .logo {
    height: 34px;
  }

  .hero {
    padding: 6px 0 0;
  }

  #s2-empathy {
    padding-top: 14px;
  }

  .hero-image-wrap {
    width: 100vw;
    gap: 6px;
  }

  .hero-fv {
    width: 100vw;
    max-width: none;
    overflow: hidden;
  }

  .hero-fv img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: translateY(-58px);
  }

  .hero-cta-stack {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 6%;
    width: 100%;
    transform: translateX(-50%);
    justify-items: center;
  }

  .image-cta--hero {
    width: min(88vw, 380px);
  }

  .shape.pink {
    width: 148px;
    top: -46px;
    left: -48px;
  }

  .shape.blue {
    width: 142px;
    right: -54px;
    top: 230px;
  }

  .shape.dots {
    width: 76px;
    left: auto;
    right: 18px;
    bottom: 46px;
  }

  .bubble-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -16px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .three-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    margin-inline: -16px;
    padding: 0 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .three-grid article,
  .bubble {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }

  .quote-card {
    padding: 26px 20px;
  }

  .price-list li {
    display: grid;
  }

  .price-list strong,
  .price-list li:last-child strong {
    font-size: 2rem;
  }

  .site-footer {
    padding: 28px 0 32px;
  }

  .footer-links {
    display: grid;
    gap: 8px;
  }

  .legal-main {
    padding: 34px 0 52px;
  }

  .legal-document {
    padding: 28px 18px;
  }

  .legal-document h1 {
    font-size: 1.72rem;
  }

  .legal-document pre {
    font-size: 0.9rem;
    line-height: 1.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .image-cta,
  .image-cta img,
  .image-cta::after {
    animation: none;
    transition: none;
  }
}

/* ========== B: Identify block (s2 自己同定リスト) ========== */
.identify-block {
  margin: 0 auto 28px;
  padding: 22px 24px 20px;
  background: linear-gradient(180deg, rgba(255, 240, 246, 0.85), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(241, 55, 131, 0.22);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(241, 55, 131, 0.08);
}

.identify-title {
  margin: 0 0 14px;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 1.18rem;
  line-height: 1.4;
  color: var(--ink);
}

.identify-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.identify-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  background: #fff;
  border: 1px solid rgba(241, 55, 131, 0.18);
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.6;
}

.identify-list li::before {
  content: "「";
  position: absolute;
  left: 12px;
  top: 7px;
  color: var(--pink);
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 1.5em;
  line-height: 1;
}

.identify-conclusion {
  margin: 16px 0 0;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1.6;
}

/* ========== C: 特大引用ブロック (s7 感情転換) ========== */
.quote-shift {
  position: relative;
  margin: 8px auto 0;
  padding: 44px 32px 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 251, 249, 0.95));
  border: 2px solid var(--mint);
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 24px 48px rgba(35, 183, 168, 0.13);
}

.quote-shift::before,
.quote-shift::after {
  position: absolute;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 900;
  color: rgba(35, 183, 168, 0.22);
  font-size: 6rem;
  line-height: 1;
}

.quote-shift::before {
  content: "「";
  top: 4px;
  left: 14px;
}

.quote-shift::after {
  content: "」";
  bottom: -16px;
  right: 14px;
}

.quote-shift p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 2.05rem;
  line-height: 1.5;
  color: var(--ink);
}

.quote-shift-em {
  display: inline;
  background: linear-gradient(transparent 62%, rgba(241, 55, 131, 0.28) 62%);
  padding: 0 2px;
}

@media (max-width: 700px) {
  .quote-shift {
    padding: 36px 22px 30px;
  }

  .quote-shift p {
    font-size: 1.42rem;
    line-height: 1.55;
  }

  .quote-shift::before,
  .quote-shift::after {
    font-size: 4rem;
  }
}

/* ========== V1: 区切り下向き矢印 ========== */
.section-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 18px 0 6px;
  color: var(--mint);
  font-size: 1.5rem;
  line-height: 1;
}

.section-arrow::before {
  content: "▼";
  display: inline-block;
  animation: arrowBounce 2.6s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% {
    transform: translateY(-2px);
    opacity: 0.7;
  }

  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-arrow::before {
    animation: none;
  }
}

/* ========== V2: マーカー (キーフレーズ強調) ========== */
.marker {
  display: inline;
  font-weight: 900;
  background: linear-gradient(transparent 64%, rgba(255, 201, 40, 0.5) 64%);
  padding: 0 1px;
}

/* ========== V3: フロー矢印 (s11 体験予約フロー) ========== */
.step-grid {
  position: relative;
  overflow: visible;
}

.step-grid > article {
  overflow: visible;
}

@media (min-width: 981px) {
  .step-grid > article + article::before {
    content: "→";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-65%, -50%);
    color: var(--mint);
    font-family: "Montserrat", "Noto Sans JP", sans-serif;
    font-weight: 900;
    font-size: 1.6rem;
    line-height: 1;
    pointer-events: none;
  }
}

@media (max-width: 980px) {
  .step-grid {
    gap: 38px;
  }

  .step-grid > article + article::before {
    content: "▼";
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--mint);
    font-size: 1.3rem;
    line-height: 1;
    pointer-events: none;
  }
}

/* ========== V5-T1: SP-only break ========== */
.sp-only {
  display: none;
}

@media (max-width: 700px) {
  .sp-only {
    display: inline;
  }
}

/* ========== V5-T2: Key word emphasis ========== */
.key {
  display: inline-block;
  font-size: 1.3em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.key-num {
  display: inline-block;
  font-family: "Montserrat", "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 1.55em;
  line-height: 1;
  color: var(--pink);
  letter-spacing: -0.01em;
  vertical-align: -0.02em;
}

@media (max-width: 700px) {
  .key {
    font-size: 1.2em;
  }

  .key-num {
    font-size: 1.4em;
  }
}

/* ========== s4 図解画像 (.diagram-figure) ========== */
.diagram-figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.diagram-figure img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 22px 44px rgba(20, 24, 31, 0.12);
}

@media (max-width: 980px) {
  .diagram-figure img {
    max-width: 440px;
  }
}

@media (max-width: 700px) {
  .diagram-figure img {
    max-width: 100%;
  }

  .lesson-programs-image {
    margin-top: 22px;
    border-radius: 10px;
  }
}
