/* ==========================================================
   Bloom＋ LP
   配色: Maiの衣装のマゼンタ × DONの黒 × 撮影スタジオの白
   ========================================================== */

:root {
  --ink: #241b20;
  --paper: #ffffff;
  --blush: #fbeff3;
  --blush-deep: #f7dce6;
  --rose: #d6246e;
  --rose-deep: #ad1457;
  --mist: #6b5f66;
  --line: #eadde2;
  --grad: linear-gradient(100deg, var(--rose) 0%, var(--rose-deep) 100%);
  /* LINE誘導ボタンはLINEの緑で統一する */
  --line-green: #06c755;
  --line-green-deep: #049c45;
  --grad-line: linear-gradient(100deg, var(--line-green) 0%, var(--line-green-deep) 100%);

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* 文字サイズ（PCでは一段大きくする） */
  --fs-xs: 0.75rem;
  --fs-s: 0.8125rem;
  --fs-m: 0.9375rem;
  --fs-base: 1rem;
  --fs-l: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.05rem + 1vw, 1.625rem);
  --fs-h2: clamp(1.5rem, 1.1rem + 2vw, 2.25rem);

  --narrow: 800px;
  --gutter: 20px;
  --section: clamp(56px, 9vw, 112px);
  --header-h: 60px;
  --sticky-h: 0px;
}

@media (min-width: 768px) {
  :root {
    --gutter: 40px;
    --fs-xs: 0.8125rem;
    --fs-s: 0.9375rem;
    --fs-m: 1rem;
    --fs-base: 1.0625rem;
    --fs-l: 1.1875rem;
    --header-h: 68px;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.85;
  letter-spacing: 0.04em;
  /* 語の途中で折り返さない。文節の区切りは Chrome なら auto-phrase、Safari などは js/phrase.js が入れる */
  word-break: keep-all;
  overflow-wrap: anywhere; /* 狭い画面で長い語がはみ出さないように */
  padding-bottom: var(--sticky-h);
}
@supports (word-break: auto-phrase) {
  body { word-break: auto-phrase; }
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--paper);
}
.skip:focus { top: 12px; }

/* 語句をひとかたまりで折り返す */
.nw { display: inline-block; }
.sp { display: inline; }
.pc { display: none; }
@media (min-width: 768px) {
  .sp { display: none; }
  .pc { display: inline; }
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

/* ---------- Type ---------- */

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}
.heading__num {
  font-size: 1.4em;
  line-height: 1;
  color: var(--rose-deep);
  margin-inline: 0.05em;
}

.section { padding-block: var(--section); }

.section__lead {
  margin-top: -0.75rem;
  margin-bottom: 1.5rem;
  color: var(--mist);
  font-size: var(--fs-m);
}

.note {
  margin-top: 1.25rem;
  font-size: var(--fs-s);
  color: var(--mist);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75em;
  width: 100%;
  max-width: 440px;
  min-height: 60px;
  margin-inline: auto;
  padding: 0.8em 2.75em 0.8em 1.5em;
  border-radius: 999px;
  background: var(--grad-line);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.8125rem, calc((100vw - 40px) / 23), 1.0625rem); /* 画面幅に合わせて1行に収まる大きさ */
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 70, 30, 0.25);
  box-shadow: 0 6px 18px rgba(4, 120, 55, 0.28);
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(4, 120, 55, 0.36); }
.btn:active { transform: translateY(1px); }

/* 320px前後の狭い画面でもボタン文言を1行に収める */
@media (max-width: 359px) {
  .btn {
    gap: 0.5em;
    padding-inline: 1em 2.25em;
    font-size: 0.8125rem;
    letter-spacing: 0;
  }
  .btn__chevron { right: 0.9em; }
}

/* LINE公式アイコン */
.btn__line {
  flex: none;
  width: 1.75em;
  height: 1.75em;
  border-radius: 0.4em;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.9);
}

.btn__chevron {
  position: absolute;
  right: 1.1em;
  top: 50%;
  width: 1.1em;
  height: 1.1em;
  transform: translateY(-50%);
}

.btn--invert {
  box-shadow: 0 6px 18px rgba(60, 0, 25, 0.25);
}

.cta-block { margin-top: 2.5rem; }

.cta-how {
  margin-top: 0.75rem;
  text-align: center;
  font-size: var(--fs-s);
  color: var(--mist);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-header__cta { display: none; }

@media (min-width: 768px) {
  .site-header__cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 1.25rem;
    border-radius: 999px;
    background: var(--grad-line);
    color: var(--paper);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
  }
  .site-header__cta:hover { filter: brightness(1.08); }
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.625rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  line-height: 1;
}
.logo__plus { color: var(--rose); }

.menu-btn {
  display: grid;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  place-content: center;
  border: 0;
  background: none;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav {
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.site-nav ul { padding-block: 8px 16px; }
.site-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
}
.site-nav li:last-child a { color: var(--rose-deep); border-bottom: 0; }

@media (min-width: 768px) {
  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 2rem;
    padding-block: 12px;
  }
  .site-nav a { border-bottom: 0; }
}

/* ---------- Hero ---------- */

/* フォトウォール：研磨撮影の写真が列ごとに上下交互に流れる */
.hero__stage {
  position: relative;
  height: clamp(380px, 50svh, 520px);
  overflow: hidden;
  background: var(--ink);
}

.wall {
  position: absolute;
  inset: -12% -10%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  transform: rotate(-6deg);
}
.wall__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 8px; /* ループのつなぎ目をずらさないため、gapと同じ値にする */
}
.wall__col:nth-child(4) { display: none; }
.wall img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

.wall.is-ready .wall__col { animation: wall-up 60s linear infinite; }
.wall.is-ready .wall__col:nth-child(even) { animation-name: wall-down; animation-duration: 70s; }

@keyframes wall-up {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@keyframes wall-down {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.hero__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 27, 32, 0) 60%, rgba(36, 27, 32, 0.45) 100%);
  pointer-events: none;
}

/* 見出しは白いパネルに縦書きで。四隅にカメラのAFフレーム */
.hero__title {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  padding: 1.1rem 0.9rem;
  background: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 9.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.1em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.hero__title span { display: block; white-space: nowrap; } /* 「原石を、」「光らせる。」をそれぞれ1列に保つ */
.hero__title span:last-child { padding-top: 1em; }
.hero__title::after {
  content: "";
  position: absolute;
  inset: -10px;
  pointer-events: none;
  --c: var(--rose);
  --l: 22px;
  --w: 2px;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) top left / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) top right / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) top right / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) bottom left / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) bottom left / var(--w) var(--l),
    linear-gradient(var(--c) 0 0) bottom right / var(--l) var(--w),
    linear-gradient(var(--c) 0 0) bottom right / var(--w) var(--l);
  background-repeat: no-repeat;
}

.hero__content {
  max-width: 560px;
  margin-inline: auto;
  padding: 20px var(--gutter) 56px;
  text-align: center;
}
.hero__eyebrow { font-size: var(--fs-s); letter-spacing: 0.08em; }
.hero__brand {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 5.4vw, 1.75rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  word-break: keep-all;
}
.hero__offer {
  margin-top: 0.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rose-deep);
}
.hero__lead {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.9;
}
.hero__note {
  margin-block: 0.9rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rose-deep);
}
.hero__note span { color: var(--ink); }
.hero__caption {
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  color: var(--mist);
}

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    min-height: min(calc(100svh - var(--header-h)), 820px);
  }
  .hero__stage { height: auto; min-height: 600px; }
  .wall { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .wall__col { gap: 10px; padding-bottom: 10px; }
  .wall__col:nth-child(4) { display: flex; }
  .hero__title { right: 40px; font-size: clamp(2.5rem, 7.5svh, 3.75rem); } /* 低い画面でも写真エリアに収まる大きさ */
  .hero__content {
    align-self: center;
    max-width: 520px;
    margin: 0;
    padding: 48px var(--gutter) 48px 64px;
    text-align: left;
  }
  .hero__content .btn { margin-inline: 0; }
  .hero__content .cta-how { text-align: left; }
  .hero__brand { font-size: 1.5rem; }
}

/* ---------- Pain ---------- */

.pain { background: var(--blush); }

.checks li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-m);
  font-weight: 500;
  line-height: 1.7;
}
.checks svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
  margin-top: calc((1lh - 1.25rem) / 2); /* 1行目の中央にそろえる */
  color: var(--rose-deep);
}

.pain__answer {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-l);
  line-height: 1.8;
}

/* ---------- Statement ---------- */

.statement {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--section);
  text-align: center;
}
.statement__text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.875rem, 1.2rem + 3.4vw, 3.25rem);
  line-height: 1.55;
  letter-spacing: 0.08em;
}
.statement__sub {
  margin-top: 1rem;
  font-size: var(--fs-m);
  color: #e3d6dc;
}
.statement .cta-block { margin-top: 2rem; }

/* ---------- About ---------- */

.about__lead { font-size: var(--fs-m); }

.features { margin-top: 2rem; }
.feature {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--rose-deep);
}
.feature__icon svg,
.effects__who svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-l);
  line-height: 1.5;
  margin-bottom: 0.2rem;
}
.feature p { font-size: var(--fs-s); color: var(--mist); line-height: 1.8; }

@media (min-width: 768px) {
  .feature { gap: 1.75rem; padding-block: 1.5rem; }
  .feature__icon { width: 68px; height: 68px; }
  .feature__icon svg { width: 30px; height: 30px; }
}

/* ---------- Section head（見出し＋スクロール案内） ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.section-head .heading { margin-bottom: 0; }
.swipe-hint {
  flex: none;
  padding-bottom: 0.3rem;
  text-align: right;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  color: var(--rose-deep);
}

/* ---------- Carousel ---------- */

.carousel__track {
  --edge: max(var(--gutter), calc((100vw - var(--narrow)) / 2));
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--edge);
  padding-inline: var(--edge);
  padding-bottom: 4px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { flex: none; scroll-snap-align: start; }
.carousel__track:focus-visible { outline-offset: -3px; }

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 1.25rem;
}
.carousel__btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--rose-deep);
  cursor: pointer;
  transition: opacity 0.2s, background-color 0.2s;
}
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev svg { transform: scaleX(-1); }
.carousel__btn:hover { background: var(--blush); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }

.carousel__dots {
  display: flex;
  gap: 10px;
}
.carousel__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  transition: background-color 0.2s;
}
.carousel__dots span.is-active { background: var(--rose); }

/* ---------- Change（Before / After） ---------- */

.change__legend {
  margin-bottom: 1rem;
  font-size: var(--fs-s);
  color: var(--mist);
}

/* 左に参加前（小）、右に研磨撮影（大）。間の矢印で変化を示す */
.ba__card {
  position: relative;
  width: min(84vw, 380px);
  display: grid;
  grid-template-columns: 36fr 64fr;
  gap: 14px;
  align-items: end;
  padding: 12px 12px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(36, 27, 32, 0.12);
}
.ba { counter-reset: ba; }
.ba__card { counter-increment: ba; }
.ba__card::before {
  content: counter(ba, decimal-leading-zero);
  position: absolute;
  top: 12px;
  left: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--rose-deep);
}
.ba__card::after {
  content: "一期生";
  position: absolute;
  top: calc(12px + 2.75rem);
  left: 15px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.ba--gen2 .ba__card::after { content: "二期生"; }
.ba__card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.ba__card figcaption {
  height: 1.9rem;
  padding-top: 0.4rem;
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  color: var(--mist);
}
.ba__after figcaption {
  font-family: var(--font-display);
  font-size: var(--fs-s);
  color: var(--rose-deep);
  letter-spacing: 0.06em;
}

.ba__before { position: relative; }
.ba__arrow {
  position: absolute;
  z-index: 1;
  right: -22px; /* gap(14px)の中央 */
  top: calc((100% - 1.9rem) / 2);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--grad);
  color: var(--paper);
  transform: translateY(-50%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.ba__arrow svg { width: 16px; height: 16px; }

.change .carousel__track { gap: 16px; padding-block: 4px 12px; }

/* ---------- Results ---------- */

.results {
  background: var(--ink);
  color: var(--paper);
}
.results .swipe-hint { color: #f4b9cf; }
.results .carousel__btn { background: transparent; border-color: #4a3d44; color: var(--paper); }
.results .carousel__btn:hover { background: #3a2f35; }
.results .carousel__dots span { background: #4a3d44; }
.results .carousel__dots span.is-active { background: var(--rose); }

/* 写真を大きく、名前と実績は写真の下部に重ねる */
.result {
  position: relative;
  width: min(74vw, 300px);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.result img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; }

.result__chip {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: var(--grad);
  color: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 12px rgba(173, 20, 87, 0.35);
}

.result__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.5rem 1rem 1rem;
  background: linear-gradient(180deg, rgba(36, 27, 32, 0) 0%, rgba(36, 27, 32, 0.82) 45%, rgba(36, 27, 32, 0.95) 100%);
}
.result__name {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xl);
  line-height: 1.3;
}
.result__name small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-xs);
  color: #e7d7de;
}
.result__main {
  position: relative;
  overflow-wrap: anywhere; /* 長い英字の作品名でもカード幅に収める */
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  font-size: var(--fs-s);
  font-weight: 700;
  line-height: 1.6;
}
.result__main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--rose);
}

.results .carousel__track { gap: 16px; padding-block: 4px 16px; }

/* 主な実績：スマホは項目名と結果を左右に、PCは3列で縦に並べる */
.highlights {
  margin: 1.25rem 0 1.75rem;
  border-top: 1px solid #4a3d44;
}
.highlights li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0.25rem;
  border-bottom: 1px solid #4a3d44;
}
.highlights__label {
  min-width: 0;
  font-size: var(--fs-m);
  font-weight: 700;
  line-height: 1.5;
}
.highlights__value {
  flex: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xl);
  line-height: 1.2;
  color: #f4b9cf;
}

@media (min-width: 768px) {
  .highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 0;
    margin-block: 1.5rem 2.25rem;
  }
  .highlights li {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-bottom: 0;
    text-align: center;
  }
  .highlights li + li { border-left: 1px solid #4a3d44; }
  .highlights__value { font-size: 2.25rem; }
}

/* ---------- Learn ---------- */

.learn__list { counter-reset: learn; }
.learn__list li {
  counter-increment: learn;
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  align-items: baseline;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.learn__list li::before {
  content: counter(learn, decimal-leading-zero);
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-xl);
  line-height: 1;
  color: var(--rose-deep);
}
.learn__list h3 {
  font-weight: 700;
  font-size: var(--fs-base);
  line-height: 1.6;
}
.learn__list p {
  grid-column: 2;
  font-size: var(--fs-s);
  color: var(--mist);
  line-height: 1.7;
}

/* ---------- Voices（受講生と保護者の声） ---------- */

.voices__list { display: grid; gap: 2.5rem; }

/* スマホ：名前とひと言 → 動画（大きめ・中央） → Q&A の順に縦に並べる。PC：動画を左、文章を右 */
.voice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: 16px;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.voice:last-child { padding-bottom: 0; border-bottom: 0; }
.voice__body { display: contents; }

.voice__media {
  grid-row: 4;
  justify-self: center;
  width: min(82%, 320px);
  margin-top: 1.25rem;
}
.voice__media video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--ink);
}

.voice__term {
  grid-row: 1;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mist);
}
.voice__name {
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-xl);
  line-height: 1.4;
}
.voice__name small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-xs);
  color: var(--mist);
}
.voice__lead {
  grid-row: 3;
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 2px solid var(--rose);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-m);
  line-height: 1.6;
  color: var(--rose-deep);
}

.voice__qa {
  grid-row: 5;
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
.voice__qa dt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: var(--fs-s);
}
.voice__who {
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: var(--blush);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--rose-deep);
}
.voice__qa dd {
  margin-top: 0.3rem;
  font-size: var(--fs-s);
  line-height: 1.9;
}

@media (min-width: 768px) {
  .voices__list { gap: 3.5rem; }
  .voice {
    grid-template-columns: 240px minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr;
    column-gap: 40px;
    padding-bottom: 3.5rem;
  }
  .voice__media { grid-column: 1; grid-row: 1 / -1; width: 100%; margin-top: 0; }
  .voice__term { grid-column: 2; grid-row: 1; }
  .voice__name { grid-column: 2; grid-row: 2; }
  .voice__lead { grid-column: 2; grid-row: 3; align-self: start; font-size: var(--fs-l); }
  .voice__qa { grid-column: 2; grid-row: 4; }
}

/* ---------- Curriculum ---------- */

.curriculum { background: var(--blush); padding-bottom: 0; }

.steps {
  counter-reset: step;
  padding: 0.5rem 1rem;
  background: var(--paper);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  column-gap: 0.5rem;
  align-items: center;
  min-height: 48px;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-m);
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--rose-deep);
}
.steps__name { font-weight: 500; line-height: 1.5; }

/* スマホで「面接・オーディション対策」が1行に収まるよう、行の余白と字間を詰める */
@media (max-width: 767px) {
  .steps { padding-inline: 0.75rem; }
  .steps li { grid-template-columns: 1.75rem minmax(0, 1fr) auto; }
  .steps__name { letter-spacing: 0; }
}
/* 幅が狭い端末では、形式のタグを講座名の下に回して講座名を途中で折り返さない */
@media (max-width: 374px) {
  .steps li { grid-template-columns: 1.75rem minmax(0, 1fr); row-gap: 0.25rem; }
  .steps li::before { grid-row: 1 / span 2; }
  .steps .tag { grid-column: 2; justify-self: start; }
}

.tag {
  justify-self: end;
  min-width: 5em;
  white-space: nowrap;
  padding: 0.2em 0.6em;
  border-radius: 999px;
  background: var(--blush);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  color: var(--rose-deep);
}
.tag--live { background: var(--rose-deep); color: var(--paper); }

.curriculum .note { text-align: center; }

@media (min-width: 768px) {
  .steps { padding: 0.75rem 1.75rem; }
  .steps li { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
}

/* ---------- Effects ---------- */

.effects { background: var(--blush); }

.effects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
/* スマホでは2列だと1行が数文字になり、言葉の途中で折り返すので1列にする */
@media (max-width: 559px) {
  .effects__grid { grid-template-columns: minmax(0, 1fr); }
}
.effects__card {
  padding: 1rem 0.9rem 1.1rem;
  border-radius: 8px;
  background: var(--paper);
}
.effects__who {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-l);
  line-height: 1.3;
  color: var(--rose-deep);
}
.effects__who svg { width: 28px; height: 28px; flex: none; }

.dots li {
  position: relative;
  padding-left: 1em;
  font-size: var(--fs-s);
  line-height: 1.7;
}
.dots li + li { margin-top: 0.4rem; }
.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(0.85em - 0.2em);
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: var(--rose);
}

@media (min-width: 768px) {
  .effects__grid { gap: 20px; }
  .effects__card { padding: 1.5rem 1.75rem; }
}

/* ---------- Team ---------- */

/* 二人の2ショット（個別紹介の前に置く） */
.team__pair {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0 auto 2.5rem;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.person__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 0.9rem;
}
.person__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 1.3rem + 1.5vw, 2.25rem);
  line-height: 1.2;
}
.person__role {
  margin-block: 0.3rem 0.6rem;
  font-size: clamp(0.625rem, 3.3vw, var(--fs-xs));
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--rose-deep);
}
.person p:last-child { font-size: var(--fs-s); line-height: 1.8; }

/* スマホ：2列だと紹介文が1行数文字になるので、写真の横に名前と肩書き、その下に紹介文を全幅で置く */
@media (max-width: 559px) {
  .team__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .person {
    display: grid;
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: 1fr auto auto;
    grid-template-areas: "photo name" "photo role" "text text";
    column-gap: 16px;
  }
  .person__photo { grid-area: photo; margin-bottom: 0; }
  .person__name { grid-area: name; align-self: end; }
  .person__role { grid-area: role; margin-bottom: 0; }
  .person p:last-child { grid-area: text; margin-top: 1rem; }
}

@media (min-width: 768px) {
  .team__grid { gap: 40px; }
}

/* ---------- Who ---------- */

.who { padding-top: 0; }
.who__first {
  margin-top: -0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-l);
  color: var(--rose-deep);
}

/* ---------- FAQ ---------- */

.faq { padding-top: 0; }
.faq__list { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}
.faq details[open] { border-color: #e2c3cf; }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0.75rem 3rem 0.75rem 1rem;
  font-size: var(--fs-m);
  font-weight: 500;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  background: var(--rose-deep);
  transition: transform 0.2s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p {
  padding: 0 1rem 1.1rem;
  font-size: var(--fs-s);
  color: var(--mist);
}

@media (min-width: 768px) {
  .faq summary { padding-inline: 1.5rem 3.5rem; }
  .faq details p { padding-inline: 1.5rem; }
}

/* ---------- Closing（申込） ---------- */

.closing {
  background: linear-gradient(170deg, #cf2268 0%, var(--rose-deep) 55%, #95104b 100%);
  color: var(--paper);
  padding-block: var(--section) 3rem;
  text-align: center;
}
.closing__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1875rem, 5.2vw, 2rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
}
.closing__label {
  margin-top: 0.75rem;
  font-weight: 700;
  font-size: var(--fs-m);
}

.closing__info {
  max-width: 420px;
  margin: 1.5rem auto 1.75rem;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  text-align: left;
}
.closing__info div {
  display: grid;
  grid-template-columns: 4.5em 1em 1fr;
  padding-block: 0.25rem;
}
.closing__info div::before {
  content: "：";
  grid-column: 2;
  grid-row: 1;
}
.closing__info dt { grid-column: 1; grid-row: 1; }
.closing__info dd { grid-column: 3; grid-row: 1; font-weight: 700; }

/* 申込の3ステップ：番号の下に説明 */
.flow {
  counter-reset: flow;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 440px;
  margin: 0 auto 2rem;
}
.flow li {
  counter-increment: flow;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-inline: 0.25rem;
  font-size: var(--fs-xs);
  line-height: 1.5;
}
.flow li::before {
  content: counter(flow);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--paper);
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
}
.flow li + li::after {
  content: "";
  position: absolute;
  left: -0.25rem;
  top: 1.125rem;
  width: 0.5rem;
  height: 0.5rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.closing .cta-how { color: #f6d7e3; }

/* ---------- Footer ---------- */

.site-footer {
  background: #95104b;
  color: #f6d7e3;
  padding-block: 0 2.5rem;
  text-align: center;
  font-size: var(--fs-xs);
}
.logo--footer { color: var(--paper); font-size: 1.5rem; }
.logo--footer .logo__plus { color: #f4b9cf; }
.site-footer__copy { margin-top: 0.5rem; }

/* ---------- Sticky CTA（スマホのみ） ---------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s ease;
}
.sticky-cta .btn { min-height: 52px; padding-right: 1.5em; box-shadow: none; }
.sticky-cta.is-visible { transform: none; visibility: visible; }

@media (min-width: 768px) {
  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall.is-ready .wall__col { animation: none; }
  .sticky-cta,
  .btn,
  .menu-btn span { transition: none; }
}
