/* ============================================================
   BGM Girls VOCAL AUDITION 2026 — style.css (v2)
   トーン：bgmgirls.com 公式準拠
   パステル空色→ラベンダー / 白い角丸カード / 青アウトラインチップ
   曲線のセクション区切り / ふんわり発光 / 明朝×丸みのあるサンズ
   ============================================================ */

:root {
  /* base — 公式サイトの空とラベンダー */
  --sky-top: #D7E3F4;
  --sky-mid: #DFE4F4;
  --lavender: #E4E2F3;
  --section-light: #F2F1F8;
  --white: #FFFFFF;

  --ink: #3A4257;          /* 本文：ダークネイビーグレー */
  --ink-navy: #33456B;     /* 見出し・強調：ネイビー */
  --blue: #6B87C8;         /* セクションENタイトル・チップ・線 */
  --blue-soft: #93A9D9;
  --line: rgba(107, 135, 200, 0.35);

  /* gradient accent（公式の「ドラマの連続だ」の紫グラデ） */
  --grad-accent: linear-gradient(90deg, #6B87C8 0%, #9B7FD4 55%, #C77FD0 100%);

  /* 6 character colors（HEXは仮／公式パレット確定後に差し替え） */
  --misaki: #33456B;   /* 山下美咲 … ネイビー */
  --miyu: #A5714F;     /* 早瀬美優 … ウォームブラウン */
  --kureha: #A08CC0;   /* 坂井くれは … ラベンダー */
  --shione: #E3BE3D;   /* 宮坂汐音 … レモンイエロー */
  --shia: #7FB5D5;     /* 風月詩愛 … スカイブルー */
  --rina: #7BC489;     /* 片山莉奈 … グリーン（仮） */

  --serif: "Shippori Mincho B1", serif;
  --sans: "Noto Sans JP", sans-serif;

  --radius-card: 18px;
  --section-pad: clamp(88px, 13vw, 170px);
  --side-pad: clamp(24px, 6vw, 80px);
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--section-light);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 2;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(155, 127, 212, 0.25); }

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

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }
.reveal[data-delay="4"] { transition-delay: 0.48s; }
.reveal[data-delay="5"] { transition-delay: 0.6s; }

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

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--side-pad);
}
.site-header .brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--ink-navy);
}
.header-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-navy);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--blue);
  padding: 10px 24px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  transition: background 0.4s ease, color 0.4s ease;
}
.header-cta:hover { background: var(--ink-navy); border-color: var(--ink-navy); color: #fff; }

/* ============================================================
   sections
   ============================================================ */
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

/* 公式スタイルのセクションタイトル：
   大きく字間の開いた薄青のEN + 小さな太字のJP */
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 76px);
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--blue);
}
.sec-sub {
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink-navy);
  margin-top: 10px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

/* 曲線のセクション区切り（公式のアーチ） */
.curve {
  display: block;
  width: 100%;
  height: clamp(48px, 9vw, 120px);
}

/* ---------- CTA pill button（公式の PLAY BGM 型） ---------- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.26em;
  color: var(--ink-navy);
  background: var(--white);
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  padding: 14px 18px 14px 36px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(107, 135, 200, 0.18);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.cta-button .cta-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: background 0.4s ease;
}
.cta-button .cta-icon svg {
  width: 16px; height: 16px;
  stroke: #fff; fill: #fff;
  margin-left: 2px;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(107, 135, 200, 0.3);
}
.cta-button:hover .cta-icon { background: var(--ink-navy); }

/* ---------- chips（公式の「好きなドリンク」型） ---------- */
.chip {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 3px 12px;
  background: var(--white);
  white-space: nowrap;
}

/* ============================================================
   S1 hero — 空のグラデ、そっと漂う光
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px var(--side-pad) 110px;
  background:
    radial-gradient(ellipse 90% 60% at 80% 100%, rgba(228, 226, 243, 0.9), transparent),
    linear-gradient(to bottom, var(--sky-top) 0%, var(--sky-mid) 55%, var(--lavender) 100%);
  overflow: hidden;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-copy {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.8vw, 68px);
  line-height: 1.75;
  letter-spacing: 0.08em;
  color: var(--ink-navy);
}
.hero-copy .grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero-sub {
  font-family: var(--serif);
  font-size: clamp(15px, 1.9vw, 22px);
  letter-spacing: 0.22em;
  color: var(--ink-navy);
  opacity: 0.75;
  margin-top: clamp(18px, 2.6vw, 28px);
}
.hero-title-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(40px, 6vw, 64px);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(107, 135, 200, 0.4);
  border-radius: 999px;
  padding: 10px 26px;
  backdrop-filter: blur(6px);
}
.hero-title-badge .txt {
  font-size: clamp(12px, 1.3vw, 15px);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--ink-navy);
}
.hero-title-badge .year {
  font-family: var(--serif);
  font-size: clamp(14px, 1.5vw, 18px);
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  margin-top: 20px;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--ink);
  opacity: 0.85;
  max-width: min(30em, 40vw);
  line-height: 2.1;
}
@media (max-width: 900px) {
  .hero-lead { max-width: none; }
}
.hero .cta-button { margin-top: clamp(36px, 5vw, 52px); }

/* sparkles ✦ */
.sparkle {
  position: absolute;
  pointer-events: none;
  color: #fff;
  opacity: 0.8;
  animation: twinkle 4s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(199, 127, 208, 0.6));
}
.sparkle svg { width: 100%; height: 100%; fill: currentColor; }
.sparkle.s1 { width: 22px; height: 22px; top: 18%; left: 58%; animation-delay: 0s; color: #E8D9F5; }
.sparkle.s2 { width: 14px; height: 14px; top: 34%; left: 78%; animation-delay: -1.2s; color: #fff; }
.sparkle.s3 { width: 18px; height: 18px; top: 62%; left: 68%; animation-delay: -2.2s; color: #D9E4F8; }
.sparkle.s4 { width: 12px; height: 12px; top: 26%; left: 10%; animation-delay: -3s; color: #fff; }
.sparkle.s5 { width: 16px; height: 16px; top: 72%; left: 22%; animation-delay: -1.8s; color: #EAD9F0; }

@keyframes twinkle {
  0%, 100% { transform: scale(0.7) rotate(0deg); opacity: 0.35; }
  50% { transform: scale(1.15) rotate(20deg); opacity: 0.95; }
}

/* 浮かぶドリンクの円（キャラカラー） */
.hero-bubbles { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-bubbles span {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(0.5px);
  box-shadow: 0 0 24px 6px rgba(255, 255, 255, 0.5);
  animation: drift 16s ease-in-out infinite alternate;
}
.hero-bubbles span:nth-child(1) { width: 16px; height: 16px; background: var(--misaki); top: 24%; right: 16%; animation-delay: 0s; }
.hero-bubbles span:nth-child(2) { width: 12px; height: 12px; background: var(--miyu); top: 58%; right: 8%; animation-delay: -3s; }
.hero-bubbles span:nth-child(3) { width: 14px; height: 14px; background: var(--kureha); top: 40%; right: 28%; animation-delay: -6s; }
.hero-bubbles span:nth-child(4) { width: 11px; height: 11px; background: var(--shione); top: 76%; right: 34%; animation-delay: -9s; }
.hero-bubbles span:nth-child(5) { width: 13px; height: 13px; background: var(--shia); top: 16%; right: 40%; animation-delay: -12s; }
.hero-bubbles span:nth-child(6) { width: 11px; height: 11px; background: var(--rina); top: 66%; right: 22%; animation-delay: -14s; }

@keyframes drift {
  from { transform: translateY(-16px); }
  to   { transform: translateY(20px); }
}

/* 6人の集合ビジュアル（右下・丘の上に立つ） */
.hero-girls {
  position: absolute;
  right: clamp(-24px, -1vw, 0px);
  bottom: 0;
  width: clamp(460px, 54vw, 920px);
  z-index: 1;
  pointer-events: none;
}
.hero-girls img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 44px rgba(51, 69, 107, 0.28));
}

@media (max-width: 900px) {
  .hero { padding-bottom: 0; }
  .hero-girls {
    position: static;
    width: min(92vw, 480px);
    margin: 40px auto 0;
  }
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--ink-navy);
  opacity: 0.6;
  z-index: 2;
}
.scroll-hint::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  margin: 10px auto 0;
  background: linear-gradient(to bottom, var(--ink-navy), transparent);
  animation: scrollline 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollline {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   S2 ABOUT — 白の丘（曲線で空から降りてくる）
   ============================================================ */
.about {
  background: var(--section-light);
  border-radius: 100% 100% 0 0 / clamp(48px, 9vw, 120px) clamp(48px, 9vw, 120px) 0 0;
  margin-top: calc(-1 * clamp(48px, 9vw, 120px));
  position: relative;
  z-index: 3;
  padding: var(--section-pad) 0;
}
.about-copy {
  max-width: 680px;
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 2.4;
}
.about-copy p + p { margin-top: 1.8em; }
.about-copy .catch {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 2.6vw, 30px);
  line-height: 1.9;
  color: var(--ink-navy);
  margin-bottom: 1.4em;
}
.about-copy .catch .grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* characters — 発光するサークル */
.characters {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(14px, 2.4vw, 32px);
  margin-top: clamp(64px, 8vw, 100px);
}
.character { text-align: center; }
.character .swatch {
  position: relative;
  width: clamp(72px, 8.5vw, 110px);
  height: clamp(72px, 8.5vw, 110px);
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--white);
  overflow: hidden;
  box-shadow:
    0 0 0 3px var(--white),
    0 0 22px 4px rgba(160, 140, 192, 0.35);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}
.character .swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.character:hover .swatch {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 3px var(--white),
    0 0 30px 8px rgba(160, 140, 192, 0.5);
}
.character .name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(12.5px, 1.25vw, 15.5px);
  letter-spacing: 0.1em;
  color: var(--ink-navy);
}
.character .drink {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-top: 6px;
}

/* ============================================================
   S3 MESSAGE — ラベンダーの手紙
   ============================================================ */
.message {
  background: linear-gradient(to bottom, var(--section-light), var(--lavender) 20%, var(--lavender) 80%, var(--section-light));
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.message .sec-title, .message .sec-sub { text-align: center; }
.message-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3.8vw, 42px);
  letter-spacing: 0.1em;
  color: var(--ink-navy);
  margin-bottom: clamp(44px, 6vw, 72px);
}
.message-body {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(14.5px, 1.55vw, 18.5px);
  line-height: 2.7;
  letter-spacing: 0.09em;
  color: var(--ink-navy);
}
.message-body p + p { margin-top: 2.4em; }

/* ============================================================
   S4 VOICE — 求める声（白カード）
   ============================================================ */
.voice { padding: var(--section-pad) 0; background: var(--section-light); }
.voice-lead {
  max-width: 640px;
  font-size: clamp(14.5px, 1.25vw, 16.5px);
  line-height: 2.4;
  margin-bottom: clamp(44px, 6vw, 64px);
}
.voice-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.8vw, 22px);
}
.voice-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 28px rgba(107, 135, 200, 0.12);
  padding: clamp(24px, 2.6vw, 36px) clamp(16px, 1.8vw, 24px);
  text-align: center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.voice-card:hover { transform: translateY(-6px); }
.voice-card .v-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c, var(--blue));
  margin: 0 auto 18px;
  box-shadow: 0 0 12px 2px rgba(160, 140, 192, 0.4);
}
.voice-card .v-text {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(13.5px, 1.3vw, 16px);
  line-height: 2;
  letter-spacing: 0.08em;
  color: var(--ink-navy);
}
.voice-close {
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(17px, 2.3vw, 26px);
  line-height: 2;
  letter-spacing: 0.1em;
  color: var(--ink-navy);
  margin-top: clamp(52px, 7vw, 84px);
}
.genre-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin-top: clamp(28px, 4vw, 40px);
}

/* ============================================================
   S5 OUTLINE — 募集概要（白カードの表）
   ============================================================ */
.outline { padding: var(--section-pad) 0; background: var(--section-light); }
.outline-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 36px rgba(107, 135, 200, 0.14);
  padding: clamp(12px, 2vw, 28px) clamp(20px, 3.4vw, 48px);
}
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: clamp(20px, 2.6vw, 28px) 10px;
  border-bottom: 1px solid rgba(107, 135, 200, 0.18);
  text-align: left;
  vertical-align: top;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 2.1;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table th {
  width: 30%;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-navy);
  white-space: nowrap;
}
.spec-table td { font-weight: 400; color: var(--ink); }
.spec-table .note {
  display: block;
  font-size: 11.5px;
  color: var(--blue);
  margin-top: 4px;
}

/* ============================================================
   WORKS — 動画埋め込み＋メディア実績
   ============================================================ */
.works { padding: var(--section-pad) 0; background: var(--section-light); }
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.4vw, 28px);
}
.work-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 36px rgba(107, 135, 200, 0.14);
  padding: clamp(12px, 1.4vw, 16px) clamp(12px, 1.4vw, 16px) clamp(18px, 2vw, 24px);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover { transform: translateY(-6px); }
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: var(--lavender);
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.work-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(13.5px, 1.3vw, 16px);
  letter-spacing: 0.06em;
  color: var(--ink-navy);
  margin-top: 14px;
  padding: 0 6px;
}
.work-sub {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-top: 4px;
  padding: 0 6px;
  line-height: 1.8;
}
.works-cta { text-align: center; margin-top: clamp(36px, 5vw, 52px); }

.media-card {
  margin-top: clamp(48px, 7vw, 72px);
  background: linear-gradient(120deg, rgba(51,69,107,0.05), rgba(155,127,212,0.08), rgba(127,181,213,0.07));
  border: 1px solid rgba(107, 135, 200, 0.25);
  border-radius: var(--radius-card);
  padding: clamp(28px, 3.6vw, 44px);
}
.media-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 3px 14px;
  margin-bottom: 16px;
  background: var(--white);
}
.media-text {
  font-size: clamp(13px, 1.2vw, 14.5px);
  line-height: 2.3;
}
.media-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-navy);
  border-bottom: 1px solid var(--blue);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}
.media-link:hover { opacity: 0.7; }

@media (max-width: 860px) {
  .works-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* 応募条件カード */
.req-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(24px, 3.4vw, 40px);
  align-items: start;
}
.req-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 36px rgba(107, 135, 200, 0.14);
  padding: clamp(28px, 3.4vw, 44px);
}
.req-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 19px);
  letter-spacing: 0.1em;
  color: var(--ink-navy);
  margin-bottom: clamp(18px, 2.4vw, 26px);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(107, 135, 200, 0.2);
}
.req-list li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(13px, 1.2vw, 14.5px);
  line-height: 2.1;
}
.req-list li + li { margin-top: 12px; }
.req-list li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 12px;
  top: 1px;
}
.req-note {
  display: block;
  font-size: 11.5px;
  color: var(--blue);
}
.req-message {
  margin-top: clamp(20px, 2.6vw, 28px);
  font-family: var(--serif);
  font-size: clamp(12.5px, 1.15vw, 14px);
  line-height: 2.3;
  color: var(--ink-navy);
}

@media (max-width: 860px) {
  .req-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   S6 PROCESS — 選考の流れ（線と点のタイムライン）
   ============================================================ */
.flow-section { padding: var(--section-pad) 0; background: var(--section-light); }
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 32px);
}
.flow--three { grid-template-columns: 1.4fr 1fr 1fr; }
.flow-step .step-desc strong {
  font-weight: 700;
  color: var(--ink-navy);
}
.flow-step {
  position: relative;
  padding-top: 34px;
}
.flow-step::before {
  content: "";
  position: absolute;
  top: 10px; left: 0;
  width: 100%; height: 2px;
  background: rgba(107, 135, 200, 0.25);
}
.flow-step::after {
  content: "";
  position: absolute;
  top: 4px; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--step-color, var(--blue));
  box-shadow: 0 0 0 4px var(--section-light), 0 0 14px 2px rgba(160, 140, 192, 0.45);
}
.flow-step .step-num {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.1em;
  color: var(--step-color, var(--blue));
}
.flow-step .step-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 18px);
  letter-spacing: 0.12em;
  color: var(--ink-navy);
  margin: 12px 0 10px;
}
.flow-step .step-desc {
  font-size: clamp(12.5px, 1.1vw, 14px);
  line-height: 2.1;
  color: var(--ink);
}
.flow-note {
  margin-top: clamp(36px, 5vw, 52px);
  font-size: 12.5px;
  color: var(--blue);
  line-height: 2.1;
}

/* ============================================================
   S7 FAQ — 白カードのアコーディオン
   ============================================================ */
.faq-section { padding: var(--section-pad) 0; background: var(--section-light); }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(107, 135, 200, 0.1);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: clamp(20px, 2.4vw, 26px) clamp(20px, 2.6vw, 32px);
  background: none;
  border: none;
  font: inherit;
  color: var(--ink-navy);
  text-align: left;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(14px, 1.3vw, 16px);
  letter-spacing: 0.06em;
}
.faq-q .q-mark {
  font-family: var(--serif);
  color: var(--blue);
  flex: 0 0 auto;
}
.faq-q .toggle {
  margin-left: auto;
  flex: 0 0 auto;
  width: 12px; height: 12px;
  position: relative;
  top: -1px;
}
.faq-q .toggle::before,
.faq-q .toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 1.5px;
  background: var(--blue);
  transition: transform 0.4s ease;
}
.faq-q .toggle::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q .toggle::after { transform: rotate(0deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-a-inner {
  padding: 0 clamp(20px, 2.6vw, 32px) clamp(20px, 2.4vw, 26px) clamp(48px, 5vw, 64px);
  font-size: clamp(12.5px, 1.15vw, 14px);
  color: var(--ink);
  line-height: 2.2;
}

/* ============================================================
   S8 ENTRY — 空へ還るクロージング＋フォーム
   ============================================================ */
.closing {
  position: relative;
  padding: var(--section-pad) 0 clamp(100px, 14vw, 180px);
  background:
    radial-gradient(ellipse 70% 50% at 20% 10%, rgba(215, 227, 244, 0.9), transparent),
    linear-gradient(to bottom, var(--section-light) 0%, var(--lavender) 30%, var(--sky-mid) 100%);
  text-align: center;
  overflow: hidden;
  border-radius: 100% 100% 0 0 / clamp(48px, 9vw, 120px) clamp(48px, 9vw, 120px) 0 0;
}
.closing .sec-title, .closing .sec-sub { text-align: center; }
.closing-heading {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 4.2vw, 46px);
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: var(--ink-navy);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.closing-heading .grad {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.closing-deadline {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--ink-navy);
  border: 1px solid var(--blue);
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 8px 24px;
  margin-bottom: clamp(48px, 7vw, 72px);
}

/* エントリー導入文 */
.entry-lead {
  font-family: var(--serif);
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 2.4;
  letter-spacing: 0.08em;
  color: var(--ink-navy);
  margin-bottom: clamp(36px, 5vw, 52px);
}

/* 課題曲カード */
.song-card {
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 14px 44px rgba(107, 135, 200, 0.18);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  z-index: 2;
  text-align: center;
}
.song-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  padding: 3px 14px;
  margin-bottom: 16px;
}
.song-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 26px);
  letter-spacing: 0.08em;
  color: var(--ink-navy);
}
.song-desc {
  font-size: clamp(12px, 1.15vw, 13.5px);
  color: var(--ink);
  line-height: 2.1;
  margin-top: 14px;
}
.song-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: clamp(20px, 2.6vw, 28px);
}
.song-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-navy);
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  padding: 8px 20px 8px 10px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.song-link .cta-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.song-link .cta-icon svg {
  width: 11px; height: 11px;
  stroke: #fff; fill: #fff;
  margin-left: 1px;
}
.song-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(107, 135, 200, 0.25);
}

/* entry form — 白の大きなカード */
.entry-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(107, 135, 200, 0.22);
  padding: clamp(32px, 5vw, 64px);
  position: relative;
  z-index: 2;
}
.form-row { margin-bottom: clamp(28px, 3.6vw, 38px); }
.form-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.1em;
  color: var(--ink-navy);
  margin-bottom: 12px;
}
.form-row label .req {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #fff;
  background: var(--blue-soft);
  border-radius: 4px;
  padding: 1px 8px;
}
.form-row label .req.is-required { background: #C77FD0; }
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--section-light);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 16px;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.form-row textarea { min-height: 130px; resize: vertical; line-height: 2; }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
}
.form-row .hint {
  font-size: 11.5px;
  color: var(--blue);
  margin-top: 8px;
  line-height: 1.9;
}
.form-row--captcha {
  display: flex;
  justify-content: center;
  margin-top: clamp(32px, 4.4vw, 44px);
}
.form-submit { text-align: center; margin-top: clamp(36px, 5vw, 48px); }
.form-status {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink);
  min-height: 1.5em;
  text-align: center;
}
.form-status.is-error { color: #B0555E; }
.form-status.is-success { color: var(--ink-navy); }

/* ============================================================
   footer
   ============================================================ */
.site-footer {
  background: var(--sky-mid);
  padding: clamp(48px, 7vw, 72px) var(--side-pad) 36px;
  text-align: center;
}
.footer-colors {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(24px, 4vw, 36px);
}
.footer-colors span {
  width: 8px; height: 8px;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 0 8px 1px rgba(255,255,255,0.8);
}
.site-footer .footer-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink-navy);
}
.site-footer .footer-company {
  font-size: 12px;
  color: var(--ink);
  margin-top: 10px;
  letter-spacing: 0.12em;
  line-height: 2;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px, 3.4vw, 44px);
  margin: clamp(28px, 4.4vw, 44px) 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink-navy);
}
.footer-links a { position: relative; padding-bottom: 4px; }
.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--ink-navy);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.footer-links a:hover::after { transform: scaleX(1); }
.footer-tm {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--ink);
  opacity: 0.65;
  margin-bottom: 14px;
}
.footer-copy {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--ink);
  opacity: 0.7;
}

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 960px) {
  .voice-cards { grid-template-columns: repeat(3, 1fr); }
  .characters { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}

@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow-step { padding: 22px 0 22px 36px; }
  .flow-step::before { top: 0; left: 6px; width: 2px; height: 100%; }
  .flow-step::after { top: 28px; left: 0; }
  .spec-table th { width: 34%; white-space: normal; }
}

@media (max-width: 640px) {
  .voice-cards { grid-template-columns: repeat(2, 1fr); }
  .characters { grid-template-columns: repeat(3, 1fr); }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: none; padding-bottom: 4px; }
  .spec-table td { padding-top: 0; }
  .site-header .brand { font-size: 13px; letter-spacing: 0.1em; }
}

@media (max-width: 420px) {
  .voice-cards { grid-template-columns: 1fr 1fr; }
}
