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

:root {
  --sky-top: #D7E3F4;
  --sky-mid: #DFE4F4;
  --lavender: #E4E2F3;
  --pink-soft: #F6E3EE;
  --section-light: #F2F1F8;
  --white: #FFFFFF;

  --ink: #3A4257;
  --ink-navy: #33456B;
  --blue: #6B87C8;
  --blue-soft: #93A9D9;
  --pink: #D78BB4;
  --line: rgba(107, 135, 200, 0.35);

  --grad-accent: linear-gradient(90deg, #6B87C8 0%, #9B7FD4 55%, #C77FD0 100%);
  --grad-pink: linear-gradient(90deg, #C77FD0 0%, #E58FB6 100%);

  /* キャラカラー */
  --tsumugi: #EBA4C3;
  --kureha: #A08CC0;
  --luna: #D9646E;
  --himari: #6FC3B8;
  --hinata: #8FD36B;
  --rina: #B07A4A;

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

  --radius-card: 18px;
  --section-pad: clamp(80px, 11vw, 150px);
  --side-pad: clamp(20px, 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-size: clamp(14.5px, 1.05vw, 16.5px);
  line-height: 2;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: rgba(155, 127, 212, 0.25); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sparkle, .hero-bubbles span, .marquee-track, .scroll-hint::after, .hero-char { animation: none !important; }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--side-pad);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.site-header.is-scrolled { background: rgba(242, 241, 248, 0.85); backdrop-filter: blur(10px); box-shadow: 0 4px 24px rgba(51, 69, 107, 0.08); }
.site-header .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 14px; letter-spacing: 0.16em; color: var(--ink-navy); }
.site-header .brand img { width: 34px; height: 34px; }
.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: 9px 22px; 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); }
.sec-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 6vw, 70px); 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: 8px; margin-bottom: clamp(36px, 5vw, 64px); }
.lead { max-width: 42em; font-size: clamp(14px, 1.15vw, 16px); line-height: 2.2; color: var(--ink); }
.lead + .lead { margin-top: 1.2em; }
.grad { background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.arch-top { 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; }

/* ---------- CTA pill ---------- */
.cta-button {
  display: inline-flex; align-items: center; gap: 16px;
  font-weight: 500; font-size: clamp(14px, 1.2vw, 16px); letter-spacing: 0.24em; color: var(--ink-navy);
  background: var(--white); border: 1.5px solid var(--blue); border-radius: 999px;
  padding: 13px 16px 13px 34px; 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: none; stroke-width: 2.2; }
.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); }
.cta-button:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }

/* ---------- 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; }
.chip.pink { color: var(--pink); border-color: var(--pink); }

/* ---------- cards ---------- */
.card { background: var(--white); border-radius: var(--radius-card); box-shadow: 0 10px 36px rgba(107, 135, 200, 0.14); padding: clamp(22px, 3vw, 34px); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease; min-width: 0; }
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(107, 135, 200, 0.22); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(16px, 1.5vw, 19px); letter-spacing: 0.08em; color: var(--ink-navy); }
.card p { font-size: clamp(13px, 1.15vw, 14.5px); line-height: 2; margin-top: 10px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--side-pad) 120px;
  background:
    radial-gradient(ellipse 80% 55% at 85% 100%, rgba(246, 227, 238, 0.95), transparent),
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(215, 227, 244, 1), 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-badge { display: inline-flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(107, 135, 200, 0.4); border-radius: 999px; padding: 9px 22px; backdrop-filter: blur(6px); }
.hero-badge .txt { font-size: clamp(11px, 1.2vw, 13.5px); font-weight: 700; letter-spacing: 0.26em; color: var(--ink-navy); }
.hero-badge .year { font-family: var(--serif); font-size: clamp(13px, 1.4vw, 17px); background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { margin-top: clamp(24px, 3.5vw, 40px); font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 5.2vw, 62px); line-height: 1.7; letter-spacing: 0.08em; color: var(--ink-navy); }
.hero-sub { font-family: var(--serif); font-size: clamp(14px, 1.7vw, 20px); letter-spacing: 0.2em; color: var(--ink-navy); opacity: 0.75; margin-top: clamp(14px, 2vw, 22px); }
.hero-lead { margin-top: 18px; font-size: clamp(13px, 1.2vw, 15px); color: var(--ink); opacity: 0.85; max-width: min(32em, 44vw); line-height: 2.1; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero .cta-button { margin-top: clamp(30px, 4.5vw, 48px); }
@media (max-width: 900px) { .hero-lead { max-width: none; } }

/* キャラクター（浮遊＋マウスパララックス） */
.hero-chars { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-char { position: absolute; will-change: transform; filter: drop-shadow(0 20px 44px rgba(51, 69, 107, 0.25)); animation: floaty 7s ease-in-out infinite; }
.hero-char.c1 { right: 4%; bottom: 2%; width: clamp(300px, 38vw, 560px); }
.hero-char.c2 { right: 40%; bottom: 0; width: clamp(160px, 17vw, 260px); animation-delay: -3s; opacity: 0.95; display: none; }
@media (min-width: 1180px) { .hero-char.c2 { display: block; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (max-width: 900px) {
  .hero { justify-content: flex-start; padding: 100px var(--side-pad) 0; }
  .hero-chars { position: static; display: flex; justify-content: center; align-items: flex-end; gap: 0; margin: 28px auto -5vw; }
  .hero-char { position: static; }
  .hero-char.c1 { width: min(62vw, 360px); }
  .hero-char.c2 { display: block; width: min(34vw, 200px); margin-left: -8vw; }
  .scroll-hint { display: none; }
}

/* 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)); z-index: 1; }
.sparkle svg { width: 100%; height: 100%; fill: currentColor; }
.sparkle.s1 { width: 22px; height: 22px; top: 16%; left: 56%; color: #E8D9F5; }
.sparkle.s2 { width: 14px; height: 14px; top: 30%; left: 80%; animation-delay: -1.2s; }
.sparkle.s3 { width: 18px; height: 18px; top: 64%; left: 66%; animation-delay: -2.2s; color: #D9E4F8; }
.sparkle.s4 { width: 12px; height: 12px; top: 22%; left: 8%; animation-delay: -3s; }
.sparkle.s5 { width: 16px; height: 16px; top: 74%; left: 20%; animation-delay: -1.8s; color: #EAD9F0; }
.sparkle.s6 { width: 10px; height: 10px; top: 46%; left: 44%; animation-delay: -0.6s; }
@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.55; 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(--tsumugi); top: 22%; right: 14%; }
.hero-bubbles span:nth-child(2) { width: 12px; height: 12px; background: var(--kureha); top: 56%; right: 6%; animation-delay: -3s; }
.hero-bubbles span:nth-child(3) { width: 14px; height: 14px; background: var(--luna); top: 38%; right: 30%; animation-delay: -6s; }
.hero-bubbles span:nth-child(4) { width: 11px; height: 11px; background: var(--himari); top: 78%; right: 36%; animation-delay: -9s; }
.hero-bubbles span:nth-child(5) { width: 13px; height: 13px; background: var(--hinata); top: 14%; right: 42%; animation-delay: -12s; }
.hero-bubbles span:nth-child(6) { width: 11px; height: 11px; background: var(--rina); top: 66%; right: 24%; animation-delay: -14s; }
@keyframes drift { from { transform: translateY(-16px); } to { transform: translateY(20px); } }

.scroll-hint { position: absolute; bottom: 26px; 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; } }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { background: var(--section-light); padding: var(--section-pad) 0; }
.pain-list { display: grid; gap: 14px; max-width: 760px; }
.pain { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 16px; padding: 18px 22px; box-shadow: 0 8px 28px rgba(107, 135, 200, 0.12); font-size: clamp(13.5px, 1.2vw, 15px); line-height: 1.9; }
.pain .q { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-pink); color: #fff; font-family: var(--serif); font-weight: 700; display: grid; place-items: center; font-size: 16px; margin-top: 2px; }
.pain-close { margin-top: 28px; font-family: var(--serif); font-size: clamp(15px, 1.5vw, 19px); color: var(--ink-navy); letter-spacing: 0.06em; }

/* ============================================================
   SOLUTION — ラベンダーの帯
   ============================================================ */
.solution { background: linear-gradient(to bottom, var(--section-light), var(--lavender) 18%, var(--lavender) 82%, var(--section-light)); padding: var(--section-pad) 0; }
.sol-rows { display: grid; gap: 12px; }
.sol-row { display: grid; grid-template-columns: 1fr 44px 1.6fr; gap: 10px; align-items: stretch; }
.sol-from { background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(107, 135, 200, 0.3); border-radius: 14px; padding: 14px 18px; font-size: 13.5px; font-weight: 500; color: var(--ink-navy); display: flex; align-items: center; }
.sol-arrow { display: grid; place-items: center; color: var(--blue); }
.sol-arrow svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }
.sol-to { background: var(--white); border-radius: 14px; padding: 14px 20px; font-size: 14px; display: flex; align-items: center; box-shadow: 0 8px 28px rgba(107, 135, 200, 0.14); }
@media (max-width: 680px) { .sol-row { grid-template-columns: 1fr; } .sol-arrow { transform: rotate(90deg); height: 22px; } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--section-light); 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 .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.2em; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.pillar .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--grad-accent); display: grid; place-items: center; margin-bottom: 14px; }
.pillar .ico svg { width: 20px; height: 20px; stroke: #fff; fill: none; stroke-width: 2; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: var(--white); border-radius: 16px; padding: 22px 14px; text-align: center; box-shadow: 0 8px 28px rgba(107, 135, 200, 0.12); }
.stat .num { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-variant-numeric: tabular-nums; }
.stat .lbl { font-size: 12px; color: var(--ink); margin-top: 8px; line-height: 1.6; }

/* ============================================================
   TIE-UP / MAKING-OF
   ============================================================ */
.tieup { background: var(--section-light); padding: 0 0 var(--section-pad); }
.tieup-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #33456B, #4C4F8E); color: #fff; border-radius: 24px; padding: clamp(26px, 4vw, 44px); overflow: hidden; position: relative; }
.tieup-card::after { content: "✦"; position: absolute; right: 24px; top: 18px; color: rgba(255, 255, 255, 0.35); font-size: 22px; }
.tieup-card .tag { font-size: 11px; letter-spacing: 0.3em; color: #D9C7F0; font-weight: 700; }
.tieup-card h3 { font-family: var(--serif); font-size: clamp(18px, 2.2vw, 26px); letter-spacing: 0.06em; margin-top: 8px; line-height: 1.6; }
.tieup-card p { font-size: 13.5px; line-height: 2; color: rgba(255, 255, 255, 0.85); margin-top: 12px; }
.tieup-card img { border-radius: 14px; }
@media (max-width: 760px) { .tieup-card { grid-template-columns: 1fr; } }
.making { margin-top: clamp(40px, 5vw, 64px); }
.making h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2vw, 24px); color: var(--ink-navy); letter-spacing: 0.08em; }
.timeline { position: relative; margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.tl { position: relative; background: var(--white); border-radius: 16px; padding: 20px 20px 20px 62px; box-shadow: 0 8px 28px rgba(107, 135, 200, 0.12); font-size: 13.5px; line-height: 1.9; }
.tl .n { position: absolute; left: 18px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad-accent); color: #fff; font-family: var(--serif); font-weight: 700; display: grid; place-items: center; font-size: 14px; }
.tl b { display: block; font-family: var(--serif); font-size: 15px; color: var(--ink-navy); margin-bottom: 4px; }
.making-close { margin-top: 20px; font-family: var(--serif); color: var(--ink-navy); font-size: clamp(14px, 1.3vw, 16.5px); }

/* ============================================================
   CREATORS — 発光するサークル
   ============================================================ */
.creators { background: linear-gradient(to bottom, var(--section-light), var(--pink-soft) 20%, var(--pink-soft) 80%, var(--section-light)); padding: var(--section-pad) 0; }
.roles { display: grid; grid-template-columns: 1.6fr 1.8fr 1fr 1fr; gap: 16px; margin-top: 10px; }
@media (max-width: 900px) { .roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }
.role { background: var(--white); border-radius: var(--radius-card); padding: 22px 20px; box-shadow: 0 10px 36px rgba(199, 127, 208, 0.14); min-width: 0; }
.role h3 { font-family: var(--serif); font-weight: 600; font-size: 15.5px; letter-spacing: 0.08em; color: var(--ink-navy); }
.role p { font-size: 12.5px; line-height: 1.9; margin-top: 6px; color: var(--ink); }
.avs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.av { text-align: center; width: 76px; }
.av .sw { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 6px; background: var(--section-light); box-shadow: 0 0 0 3px var(--white), 0 0 18px 4px rgba(160, 140, 192, 0.3); overflow: hidden; transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.av:hover .sw { transform: translateY(-5px) rotate(-4deg); }
.av .sw img { width: 100%; height: 100%; object-fit: cover; }
.av .nm { font-size: 10.5px; letter-spacing: 0.04em; color: var(--ink-navy); line-height: 1.3; }
.role .ai { font-size: 12px; color: var(--blue); margin-top: 14px; font-style: italic; }
.creators-note { margin-top: 24px; font-family: var(--serif); color: var(--ink-navy); font-size: clamp(14px, 1.3vw, 16px); }
.creators-small { font-size: 11.5px; color: var(--ink); opacity: 0.8; margin-top: 8px; }

/* ============================================================
   CHARACTERS — マーキー＋カード
   ============================================================ */
.characters { background: var(--section-light); padding: var(--section-pad) 0; overflow: hidden; }
.marquee { position: relative; margin: 0 calc(-1 * var(--side-pad)) clamp(36px, 5vw, 56px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: clamp(220px, 26vw, 340px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 30px rgba(51, 69, 107, 0.18); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.char-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .char-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .char-grid { grid-template-columns: 1fr; } }
.char { background: var(--white); border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 10px 36px rgba(107, 135, 200, 0.14); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); min-width: 0; }
.char:hover { transform: translateY(-6px); }
.char img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.char .body { padding: 14px 18px 18px; }
.char .name { font-family: var(--serif); font-weight: 600; font-size: 16px; letter-spacing: 0.08em; color: var(--ink-navy); display: flex; align-items: center; gap: 8px; }
.char .name i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.char .songs { font-size: 12px; color: var(--ink); margin-top: 6px; line-height: 1.6; }
.char .chip { margin-top: 10px; }

/* ============================================================
   HOW — 3つの部品 / マトリクス / オプション
   ============================================================ */
.how { background: linear-gradient(to bottom, var(--section-light), var(--lavender) 15%, var(--lavender) 85%, var(--section-light)); padding: var(--section-pad) 0; }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
@media (max-width: 760px) { .parts { grid-template-columns: 1fr; } }
.part { text-align: center; }
.part .big { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); color: var(--ink-navy); letter-spacing: 0.1em; margin-top: 12px; }
.part .ico { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--section-light); box-shadow: 0 0 0 3px var(--white), 0 0 22px 4px rgba(160, 140, 192, 0.35); }
.part .ico svg { width: 28px; height: 28px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.matrix-wrap { margin-top: clamp(44px, 6vw, 72px); }
.matrix-wrap h3, .opts-wrap h3, .ideas h3.sub { font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2vw, 24px); color: var(--ink-navy); letter-spacing: 0.08em; }
.matrix-scroll { overflow-x: auto; margin-top: 18px; }
.matrix { border-collapse: separate; border-spacing: 10px; min-width: 720px; width: 100%; table-layout: fixed; }
.matrix th { font-family: var(--serif); color: var(--blue); text-align: left; padding: 0 6px 4px; font-size: 14px; letter-spacing: 0.08em; }
.matrix th.row { color: var(--ink-navy); vertical-align: middle; width: 130px; font-size: 13px; }
.matrix td { vertical-align: top; border-radius: 16px; padding: 16px; font-size: 13px; line-height: 1.75; background: var(--white); box-shadow: 0 8px 28px rgba(107, 135, 200, 0.12); }
.matrix td b { display: block; font-family: var(--serif); font-size: 19px; color: var(--ink-navy); margin-bottom: 6px; }
.matrix td.goal { background: linear-gradient(135deg, #33456B, #4C4F8E); color: #fff; }
.matrix td.goal b { color: #fff; }
.note { font-size: 12.5px; color: var(--ink); opacity: 0.85; margin-top: 12px; }
.opts-wrap { margin-top: clamp(44px, 6vw, 72px); }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 760px) { .opts { grid-template-columns: 1fr; } }
.opts .card img { border-radius: 12px; margin-top: 14px; }

/* ============================================================
   IDEAS — タブ
   ============================================================ */
.ideas { background: var(--section-light); padding: var(--section-pad) 0; }
.tabs { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.tab { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-navy); background: var(--white); border: 1.5px solid var(--blue); border-radius: 999px; padding: 10px 22px; cursor: pointer; transition: background 0.3s ease, color 0.3s ease; font-family: var(--sans); }
.tab[aria-selected="true"] { background: var(--ink-navy); border-color: var(--ink-navy); color: #fff; }
.tab:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.ideas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 760px) { .ideas-grid { grid-template-columns: 1fr; } }
.idea { background: var(--white); border-radius: 16px; padding: 18px 20px; box-shadow: 0 8px 28px rgba(107, 135, 200, 0.12); min-width: 0; }
.idea h4 { font-family: var(--serif); font-weight: 600; font-size: 15.5px; color: var(--ink-navy); letter-spacing: 0.06em; }
.idea p { font-size: 13px; line-height: 1.8; margin-top: 8px; }
.k { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; margin-right: 8px; padding: 1px 9px; border-radius: 999px; color: #fff; vertical-align: 1px; }
.k1 { background: var(--pink); } .k2 { background: var(--blue); } .k3 { background: #9B7FD4; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: linear-gradient(to bottom, var(--section-light), var(--pink-soft) 15%, var(--pink-soft) 85%, var(--section-light)); padding: var(--section-pad) 0; }
.price { display: grid; grid-template-columns: 1.45fr 0.8fr; gap: 22px; margin-top: 10px; }
@media (max-width: 860px) { .price { grid-template-columns: 1fr; } }
.pgrid { display: grid; grid-template-columns: 96px repeat(3, 1fr); gap: 10px; }
.pgrid .h { font-family: var(--serif); color: var(--blue); text-align: center; font-size: 13px; align-self: end; padding-bottom: 4px; letter-spacing: 0.06em; }
.pgrid .r { font-size: 12.5px; font-weight: 700; color: var(--ink-navy); display: flex; align-items: center; }
.pgrid .v { background: var(--white); border-radius: 14px; padding: 14px 6px 12px; text-align: center; display: grid; gap: 4px; justify-items: center; box-shadow: 0 8px 28px rgba(199, 127, 208, 0.14); }
.pgrid .v s { font-size: 11px; color: var(--ink); opacity: 0.7; }
.pgrid .v b { font-family: var(--serif); font-size: clamp(16px, 1.9vw, 21px); color: var(--ink-navy); line-height: 1.2; font-variant-numeric: tabular-nums; }
.pgrid .v em { font-style: normal; font-size: 10px; font-weight: 700; background: var(--grad-pink); color: #fff; border-radius: 999px; padding: 2px 10px; letter-spacing: 0.06em; }
@media (max-width: 520px) { .pgrid { grid-template-columns: 70px repeat(3, 1fr); } .pgrid .v b { font-size: 13px; } }
.opt-card { background: linear-gradient(135deg, #33456B, #4C4F8E); color: #fff; border-radius: var(--radius-card); padding: 24px; }
.opt-card h3 { font-family: var(--serif); font-size: 15px; letter-spacing: 0.1em; color: #D9C7F0; }
.opt-card dl { margin-top: 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; font-size: 13px; }
.opt-card dt { color: rgba(255, 255, 255, 0.8); }
.opt-card dd { text-align: right; font-weight: 700; white-space: nowrap; }
.opt-card dd s { font-weight: 400; font-size: 11px; opacity: 0.7; margin-right: 4px; }

/* ============================================================
   LICENSE / FLOW
   ============================================================ */
.license { background: var(--section-light); padding: var(--section-pad) 0; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 10px; }
@media (max-width: 860px) { .four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .four { grid-template-columns: 1fr; } }
.flow { background: linear-gradient(to bottom, var(--section-light), var(--lavender) 15%, var(--lavender) 85%, var(--section-light)); padding: var(--section-pad) 0; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 10px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border-radius: 16px; padding: 22px; box-shadow: 0 8px 28px rgba(107, 135, 200, 0.12); min-width: 0; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--serif); font-size: 26px; color: var(--blue); letter-spacing: 0.1em; display: block; }
.step h3 { font-family: var(--serif); font-weight: 600; font-size: 16.5px; color: var(--ink-navy); margin-top: 4px; letter-spacing: 0.06em; }
.step p { font-size: 13px; line-height: 1.9; margin-top: 8px; }

/* ============================================================
   APPLY
   ============================================================ */
.apply { background: var(--section-light); padding: var(--section-pad) 0 60px; }
.apply-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; margin-top: 10px; align-items: start; }
@media (max-width: 860px) { .apply-grid { grid-template-columns: 1fr; } }
.req { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 14px; }
.req dt { color: var(--blue); font-weight: 700; letter-spacing: 0.06em; }
.req dd { color: var(--ink); }
.contact { margin-top: 22px; font-size: 13.5px; line-height: 2.1; }
.contact span { display: inline-block; width: 5em; color: var(--blue); font-weight: 700; letter-spacing: 0.06em; }
.contact a { border-bottom: 1px solid var(--blue); }
form { display: grid; gap: 14px; }
label { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--ink-navy); display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 14.5px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-status { font-size: 13.5px; color: var(--ink-navy); background: var(--white); border-radius: 12px; padding: 14px 16px; border: 1px solid var(--line); }

.site-footer { text-align: center; padding: 30px var(--side-pad) 44px; font-size: 11.5px; letter-spacing: 0.1em; color: var(--ink); opacity: 0.7; }
