/* ============================================================
   動画内製化支援プログラム - LP Styles
   Palette: Red #C8102E / Navy #0B1E3F / Off-white #F4F6FA
============================================================ */

:root {
  --red: #C8102E;
  --red-dark: #A40D24;
  --red-soft: #FDECEF;
  --navy: #0B1E3F;
  --navy-2: #14274A;
  --navy-soft: #E8ECF4;
  --ink: #0F172A;
  --ink-2: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-2: #F4F6FA;
  --bg-3: #ECF0F7;
  --shadow-sm: 0 1px 2px rgba(11,30,63,0.06), 0 2px 8px rgba(11,30,63,0.04);
  --shadow-md: 0 4px 16px rgba(11,30,63,0.08), 0 1px 4px rgba(11,30,63,0.04);
  --radius: 18px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; letter-spacing: 0.02em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}
.section--alt { background: var(--bg-2); }
.section--navy { background: var(--navy); color: #E6ECF4; }
.section--navy .eyebrow { color: #FFB3BD; }
.section--navy .section-title { color: #fff; }
.section--navy .section-lede { color: #C4CDE0; }

/* ============================================================
   Section heading
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-en);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}
.section-title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.35;
  text-wrap: pretty;
}
.section-lede {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-2);
  max-width: 720px;
  margin-bottom: 56px;
}

/* ============================================================
   Buttons
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  text-align: center;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(200,16,46,0.28);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(200,16,46,0.34); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(11,30,63,0.18);
}
.btn--ghost:hover { border-color: var(--navy); background: #fff; }
.btn--on-dark {
  background: #fff;
  color: var(--navy);
}
.btn--on-dark:hover { background: #F4F6FA; }
.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn .arrow { font-size: 18px; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Top utility bar
============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.topbar.is-scrolled {
  background: rgba(255,255,255,0.95);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 14px rgba(11,30,63,0.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height .25s ease;
}
.topbar.is-scrolled .topbar__inner { height: 60px; }
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--red);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform .1s linear;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 900;
  color: var(--navy);
  font-size: 15px;
  letter-spacing: 0.04em;
}
.brand__mark {
  width: 30px; height: 30px;
  background: var(--red);
  border-radius: 7px;
  position: relative;
  display: grid;
  place-items: center;
}
.brand__mark::after {
  content: "";
  width: 0; height: 0;
  border-left: 8px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 3px;
}
.brand__name span { color: var(--red); }
.topbar__cta { font-size: 13px; padding: 10px 18px; }

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 60% at 0% 100%, rgba(200,16,46,0.25) 0%, transparent 60%),
    linear-gradient(180deg, #0B1E3F 0%, #102648 100%);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 30%, #000 50%, transparent 85%);
  mask-image: radial-gradient(120% 80% at 50% 30%, #000 50%, transparent 85%);
  pointer-events: none;
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  color: rgba(255,255,255,0.12);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.hero__grid-overlay .tc {
  position: absolute;
  top: 22px;
  display: flex;
  gap: 28px;
  width: 100%;
  padding: 0 var(--pad);
  overflow: hidden;
  white-space: nowrap;
}
.hero__grid-overlay .tc span { opacity: 0.7; }
.hero__grid-overlay .shortcut {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(2px);
}
.hero__grid-overlay .shortcut.s1 { top: 18%; right: 6%; transform: rotate(-3deg); }
.hero__grid-overlay .shortcut.s2 { top: 60%; left: 4%; transform: rotate(2deg); }
.hero__grid-overlay .shortcut.s3 { bottom: 22%; left: 36%; transform: rotate(-1deg); opacity: 0.7; }
@media (max-width: 1024px) {
  .hero__grid-overlay .shortcut { display: none; }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, #000 55%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 50%, #000 0%, #000 55%, transparent 90%);
  pointer-events: none;
}
.hero__grid-thirds {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1180px;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}
.hero__grid-thirds::before,
.hero__grid-thirds::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.5);
}
.hero__grid-thirds::before {
  left: 33.33%; right: 33.33%;
  top: 0; bottom: 0;
  border-left: 1px dashed rgba(255,255,255,0.35);
  border-right: 1px dashed rgba(255,255,255,0.35);
  background: transparent;
}
.hero__grid-thirds::after {
  top: 33.33%; bottom: 33.33%;
  left: 0; right: 0;
  border-top: 1px dashed rgba(255,255,255,0.35);
  border-bottom: 1px dashed rgba(255,255,255,0.35);
  background: transparent;
}
.hero__shortcuts {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.12);
}
.hero__shortcuts span {
  position: absolute;
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 5px;
  white-space: nowrap;
}
.hero__shortcuts span:nth-child(1) { top: 12%; left: 4%; }
.hero__shortcuts span:nth-child(2) { top: 30%; left: 8%; }
.hero__shortcuts span:nth-child(3) { bottom: 30%; left: 3%; }
.hero__shortcuts span:nth-child(4) { bottom: 14%; left: 14%; }
.hero__shortcuts span:nth-child(5) { top: 8%; right: 3%; }
@media (max-width: 1024px) {
  .hero__shortcuts { display: none; }
  .hero__grid-thirds { opacity: 0.12; }
}

/* Timecode strip */
.timecode-strip {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  opacity: 0.7;
}
.timecode-strip::before {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: var(--red);
}
.timecode-strip__ticks {
  flex: 1;
  height: 10px;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0, var(--line) 1px,
    transparent 1px, transparent 12px
  );
  background-position: 0 50%;
  background-repeat: repeat-x;
  background-size: auto 6px;
}
.section--navy .timecode-strip { color: rgba(255,255,255,0.45); }
.section--navy .timecode-strip__ticks {
  background-image: repeating-linear-gradient(
    to right,
    rgba(255,255,255,0.2) 0, rgba(255,255,255,0.2) 1px,
    transparent 1px, transparent 12px
  );
}

/* Steps timeline background (V1/V2/A1 tracks) */
.section--program { position: relative; overflow: hidden; }
.tracks-bg {
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  mask-image: linear-gradient(to top, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 30%, transparent 100%);
}
.tracks-bg svg { width: 100%; height: 100%; display: block; }
.section--program > .container { position: relative; z-index: 1; }

/* Waveform background for deliverables */
.section--waves { position: relative; overflow: hidden; }
.waveform-bg {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 120px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
}
.waveform-bg svg { width: 100%; height: 100%; }
.section--waves > .container { position: relative; z-index: 1; }
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 100px);
}
.hero__copy { max-width: 580px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.04);
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(200,16,46,0.25);
}
.hero__title {
  font-size: clamp(30px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}
.hero__title .accent {
  color: #fff;
  background: linear-gradient(transparent 70%, rgba(200,16,46,0.55) 70%);
  padding: 0 2px;
}
.hero__title .red { color: #FF5A6E; }
.hero__sub {
  font-size: clamp(14px, 1.2vw, 16px);
  color: #C4CDE0;
  line-height: 1.95;
  margin-bottom: 36px;
}
.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
}
.hero__meta > div {
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.hero__meta > div:last-child { border-right: none; }
.hero__meta dt {
  font-size: 11px;
  color: #FFB3BD;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 6px;
}
.hero__meta dd {
  margin: 0;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}
.hero__meta dd .unit { font-size: 0.7em; font-weight: 600; color: #C4CDE0; margin-left: 4px; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}
.hero__visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.hero__tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(11,30,63,0.85);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
}
.hero__tag::before {
  content: "●";
  color: var(--red);
}
.hero__ticker {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 1;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding: 14px 0;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__ticker__track {
  display: inline-flex;
  flex-shrink: 0;
  animation: ticker 26s linear infinite;
}
.hero__ticker__track span {
  padding: 0 28px;
  position: relative;
  flex-shrink: 0;
}
.hero__ticker__track span::after {
  content: "／";
  position: absolute;
  right: -6px;
  opacity: 0.5;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ============================================================
   Problem section
============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.problem-card {
  padding: 32px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  position: relative;
}
.problem-card__num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.problem-card__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.5;
}
.problem-card__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
}
.problem-message {
  background: var(--navy);
  color: #fff;
  padding: 40px clamp(28px, 4vw, 56px);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.85;
  position: relative;
}
.problem-message::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 24px;
  background: var(--red);
}
.problem-message strong {
  color: #FF7A8C;
  font-weight: 900;
}

/* ============================================================
   Concept section (内製化とは)
============================================================ */
.concept {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.concept__visual {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.concept-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 22px 0;
  align-items: flex-start;
}
.concept-row + .concept-row { border-top: 1px solid var(--line); }
.concept-row__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.concept-row__tag.bad {
  background: var(--bg-3);
  color: var(--muted);
  text-decoration: line-through;
}
.concept-row__tag.good {
  background: var(--red);
  color: #fff;
}
.concept-row__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.7;
}

/* ============================================================
   Themes cards
============================================================ */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1200px) {
  .themes-grid { grid-template-columns: repeat(3, 1fr); }
}
.theme-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.theme-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.theme-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-3);
}
.theme-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.theme-card:hover .theme-card__media img { transform: scale(1.04); }
.theme-card__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,30,63,0.35), transparent 55%);
  pointer-events: none;
}
.theme-card__num {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.16em;
  padding: 5px 10px;
  background: var(--red);
  border-radius: 4px;
  z-index: 1;
}
.theme-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.theme-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.theme-card__desc {
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 16px;
}
.theme-card__use {
  border-top: 1px dashed var(--line);
  padding-top: 12px;
  margin-top: auto;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.75;
}
.theme-card__use-label {
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

/* ============================================================
   Why 2 months
============================================================ */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reason-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--line);
  position: relative;
}
.reason-card__no {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.reason-card__no::before {
  content: "REASON";
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.2em;
  font-weight: 700;
  align-self: center;
}
.reason-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.45;
}
.reason-card__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.85;
}

/* ============================================================
   Steps timeline
============================================================ */
.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 130px 1fr 1fr;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step__num-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.step__num-value {
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.step__num-value::first-letter { color: var(--red); }
.step__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
}
.step__body {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.95;
}
.step__chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--navy-soft);
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}
.step__chip.red {
  background: var(--red-soft);
  color: var(--red);
}

/* ============================================================
   Two columns: 1本目 / 2本目
============================================================ */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.duo-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.duo-card--red {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.duo-card--navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.duo-card__no {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.2em;
  opacity: 0.85;
  margin-bottom: 12px;
}
.duo-card__title {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.4;
}
.duo-card__lead {
  font-size: 15px;
  line-height: 1.95;
  opacity: 0.92;
  margin-bottom: 24px;
}
.duo-card__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.duo-card__list li {
  font-size: 13px;
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
  opacity: 0.92;
}
.duo-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 2px;
  background: currentColor;
  opacity: 0.7;
}
.duo-card__role {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ============================================================
   Deliverables grid (残るもの)
============================================================ */
.deliverables {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.deliverable {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: flex-start;
  transition: border-color .2s ease, transform .15s ease;
}
.deliverable:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
}
.deliverable__no {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.1em;
  padding-top: 2px;
  min-width: 32px;
}
.deliverable__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.45;
}
.deliverable__title .badge {
  display: inline-block;
  font-size: 10px;
  background: var(--red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  letter-spacing: 0.08em;
  vertical-align: middle;
  font-weight: 800;
}
.deliverable__body {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
}

/* ============================================================
   Price block
============================================================ */
.price {
  background: linear-gradient(135deg, #0B1E3F 0%, #14274A 100%);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 72px);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.price::before {
  content: "";
  position: absolute;
  top: -100px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(200,16,46,0.4) 0%, transparent 60%);
  border-radius: 50%;
}
.price__left { position: relative; z-index: 1; }
.price__label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #FFB3BD;
  margin-bottom: 18px;
}
.price__value {
  font-family: var(--font-en);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.price__value .yen {
  font-family: var(--font-jp);
  font-size: 0.35em;
  font-weight: 700;
  color: #C4CDE0;
}
.price__value .tax {
  font-family: var(--font-jp);
  font-size: 0.2em;
  font-weight: 600;
  color: #C4CDE0;
  margin-left: 4px;
}
.price__caption {
  font-size: 15px;
  color: #C4CDE0;
  line-height: 1.9;
  margin-bottom: 20px;
}
.price__includes {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px;
  position: relative; z-index: 1;
}
.price__includes-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #FFB3BD;
  margin-bottom: 16px;
}
.price__includes-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.price__includes-list li {
  font-size: 13px;
  padding-left: 22px;
  position: relative;
  color: #E6ECF4;
  line-height: 1.8;
}
.price__includes-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 12px; height: 2px;
  background: var(--red);
}

/* ============================================================
   Comparison table
============================================================ */
.compare {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
}
.compare__cell {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  display: flex;
  align-items: center;
}
.compare__cell--head {
  background: var(--bg-2);
  font-weight: 800;
  color: var(--navy);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.compare__cell--axis {
  font-weight: 700;
  color: var(--navy);
  background: var(--bg-2);
  font-size: 13px;
}
.compare__cell--ours {
  background: #FFF7F9;
  font-weight: 600;
  color: var(--ink);
  border-left: 1px solid var(--line);
}
.compare__cell:nth-last-child(-n+3) { border-bottom: none; }
.compare__title-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  margin-bottom: 6px;
}
.compare__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--navy);
  display: block;
}

/* ============================================================
   Fit / Unfit
============================================================ */
.fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.fit-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
}
.fit-card.unfit {
  border-top-color: var(--muted);
  background: var(--bg-2);
}
.fit-card__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--red);
  margin-bottom: 12px;
}
.fit-card.unfit .fit-card__chip { color: var(--muted); }
.fit-card__title {
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 24px;
}
.fit-card__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
.fit-card__list li {
  font-size: 15px;
  padding-left: 32px;
  position: relative;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 500;
}
.fit-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}
.fit-card.unfit .fit-card__list li { color: var(--ink-2); }
.fit-card.unfit .fit-card__list li::before {
  content: "—";
  background: #fff;
  color: var(--muted);
  border: 1px solid var(--line);
  font-size: 14px;
}

/* ============================================================
   FAQ (accordion)
============================================================ */
.faq {
  display: grid;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
}
.faq-item__q {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  padding: 24px 60px 24px 70px;
  position: relative;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s ease;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { background: var(--bg-2); }
.faq-item__q::before {
  content: "Q";
  position: absolute;
  left: 28px; top: 22px;
  width: 26px; height: 26px;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 13px;
}
.faq-item__q::after {
  content: "";
  position: absolute;
  right: 28px; top: 50%;
  width: 14px; height: 14px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease, border-color .2s ease;
}
.faq-item[open] .faq-item__q::after {
  transform: translateY(-30%) rotate(-135deg);
  border-color: var(--red);
}
.faq-item__a {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.95;
  padding: 0 32px 26px 70px;
  position: relative;
  margin: 0;
  animation: faqOpen .3s ease both;
}
.faq-item__a::before {
  content: "A";
  position: absolute;
  left: 28px; top: 2px;
  width: 26px; height: 26px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 13px;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Final CTA
============================================================ */
.final-cta {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  padding: clamp(64px, 9vw, 120px) 0;
}
.final-cta__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.final-cta__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  position: relative;
}
.final-cta__image img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,30,63,0.5), transparent 50%);
}
.final-cta__title {
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 24px;
  color: #fff;
}
.final-cta__title .red {
  background: linear-gradient(transparent 70%, rgba(200,16,46,0.55) 70%);
  padding: 0 3px;
}
.final-cta__body {
  font-size: 15px;
  color: #C4CDE0;
  line-height: 2;
  margin-bottom: 32px;
}
.final-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Aside (leader program note)
============================================================ */
.aside-note {
  background: var(--bg-2);
  border-radius: var(--radius);
  border-left: 4px solid var(--red);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  max-width: 900px;
  margin: 48px auto 0;
}
.aside-note__chip {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--red);
  padding: 6px 12px;
  border: 1px solid var(--red);
  border-radius: 999px;
  white-space: nowrap;
}
.aside-note__text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.85;
}
.aside-note__text strong { color: var(--navy); font-weight: 800; }

/* ============================================================
   Footer
============================================================ */
.footer {
  background: var(--navy);
  color: #C4CDE0;
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer__brand {
  color: #fff;
  font-weight: 900;
  font-size: 16px;
}
.footer__brand span { color: var(--red); }
.footer__nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
}
.footer__nav a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8B95A8;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   Section background motifs (timeline / waveform / timecode)
============================================================ */
.has-motif { position: relative; overflow: hidden; }
.motif {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.has-motif > .container { position: relative; z-index: 1; }

/* Timecode ruler at top */
.motif-tc {
  top: 0; left: 0; right: 0;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--navy);
  opacity: 0.18;
  overflow: hidden;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}
.section--alt .motif-tc { opacity: 0.22; }
.section--navy .motif-tc { color: #fff; opacity: 0.28; }
.motif-tc__tick {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 22px;
  position: relative;
  flex-shrink: 0;
}
.motif-tc__tick::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 1px; height: 10px;
  background: currentColor;
}
.motif-tc__tick:nth-child(odd) { opacity: 0.55; }

/* Timeline tracks */
.motif-timeline {
  bottom: 0;
  left: 0; right: 0;
  height: 120px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 6px;
  padding: 12px clamp(20px, 4vw, 40px);
  opacity: 0.08;
}
.section--navy .motif-timeline { opacity: 0.14; }
.motif-timeline__track {
  display: flex;
  gap: 4px;
  align-items: stretch;
  position: relative;
}
.motif-timeline__track::before {
  content: attr(data-label);
  position: absolute;
  left: -38px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--navy);
}
.section--navy .motif-timeline__track::before { color: #fff; }
.motif-clip {
  height: 100%;
  border-radius: 3px;
  flex-shrink: 0;
  border: 1px solid rgba(11,30,63,0.5);
}
.section--navy .motif-clip { border-color: rgba(255,255,255,0.5); }
.motif-clip--red { background: var(--red); border-color: var(--red); }
.motif-clip--navy { background: var(--navy); }
.motif-clip--ghost { background: transparent; }

/* Audio waveform */
.motif-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 38px;
  opacity: 0.14;
}
.section--navy .motif-wave { opacity: 0.25; }
.motif-wave__bar {
  width: 2px;
  background: var(--navy);
  border-radius: 2px;
  flex-shrink: 0;
}
.section--navy .motif-wave__bar { background: #fff; }
.motif-wave--top { top: 38px; left: 0; right: 0; padding: 0 clamp(20px, 4vw, 40px); }
.motif-wave--bottom { bottom: 28px; left: 0; right: 0; padding: 0 clamp(20px, 4vw, 40px); }

/* Floating keyboard shortcuts */
.motif-keys {
  inset: 0;
  pointer-events: none;
}
.motif-key {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--navy);
  background: rgba(255,255,255,0.5);
  opacity: 0.16;
}
.section--alt .motif-key { background: rgba(255,255,255,0.7); opacity: 0.22; }
.section--navy .motif-key { color: #fff; background: rgba(255,255,255,0.05); opacity: 0.28; }
.motif-key small {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.7;
  margin-left: 2px;
}

@media (max-width: 1024px) {
  .motif-timeline { display: none; }
  .motif-key { display: none; }
  .motif-wave { display: none; }
}
.floating-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 18px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(200,16,46,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  text-decoration: none;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}
.floating-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.floating-cta:hover { background: var(--red-dark); }
.floating-cta__icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.floating-cta__icon::before {
  content: "";
  width: 0; height: 0;
  border-left: 7px solid #fff;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

/* ============================================================
   Scroll reveal animations
============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .8s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms),
    transform .8s cubic-bezier(.2,.7,.2,1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-28px); }
[data-reveal="right"] { transform: translateX(28px); }
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal].is-revealed {
  opacity: 1;
  transform: translate(0,0) scale(1);
}

/* ============================================================
   Steps progressive activation
============================================================ */
.steps { position: relative; }
.steps::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
  z-index: 0;
}
.steps::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--red);
  transition: height 1.2s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.steps:has(.step:nth-child(1).is-active)::after { height: 12%; }
.steps:has(.step:nth-child(2).is-active)::after { height: 30%; }
.steps:has(.step:nth-child(3).is-active)::after { height: 50%; }
.steps:has(.step:nth-child(4).is-active)::after { height: 70%; }
.steps:has(.step:nth-child(5).is-active)::after { height: 100%; }
.step__num-value {
  position: relative;
  display: inline-block;
}
.step .step__num-value::after {
  content: "";
  position: absolute;
  left: -38px;
  top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
  z-index: 2;
}
.step.is-active .step__num-value::after {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 0 0 5px rgba(200,16,46,0.18);
}

@media (max-width: 1024px) {
  .steps::before, .steps::after { display: none; }
  .step .step__num-value::after { display: none; }
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1024px) {
  .themes-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables { grid-template-columns: repeat(2, 1fr); }
  .reasons-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { aspect-ratio: 16/11; }
  .concept { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .final-cta__inner { grid-template-columns: 1fr; }
  .final-cta__image { aspect-ratio: 16/10; order: -1; }
  .compare { grid-template-columns: 1fr; }
  .compare__cell { padding: 16px 20px; }
  .compare__cell--axis { background: var(--navy); color: #fff; border-radius: 0; }
  .step { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .step__num { flex-direction: row; align-items: baseline; gap: 12px; }
  .step__num-value { font-size: 32px; }
  .duo { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .price__includes-list { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .topbar__cta { display: none; }
  .floating-cta { right: 14px; bottom: 14px; padding: 12px 18px 12px 14px; font-size: 13px; }
  .hero__meta { grid-template-columns: 1fr; }
  .hero__meta > div {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .hero__meta > div:last-child { border-bottom: none; }
  .themes-grid { grid-template-columns: 1fr; }
  .deliverables { grid-template-columns: 1fr; }
  .btn { padding: 16px 22px; font-size: 14px; }
  .hero__ctas .btn { width: 100%; }
  .final-cta__buttons .btn { width: 100%; }
  .problem-message { padding: 28px 20px; font-size: 15px; }
  .fit-card { padding: 28px 22px; }
  .price__includes { padding: 22px; }
  .faq-item { padding: 22px 20px; }
  .aside-note { grid-template-columns: 1fr; padding: 20px; }
}
