/* ============================================================
   CloudTech 講義動画ページ 固有
   前提: tokens.css → base.css を先に読んでいること。
   ============================================================ */

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

.video-hero {
  background:
    radial-gradient(600px 400px at 80% 20%, rgba(14, 165, 233, 0.10), transparent 60%),
    linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 40%, #fff 100%);
  padding-block: 80px 64px;
}

.video-hero-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
  max-width: 1480px;
}

.video-hero-text h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
}

.video-hero-btn-row { justify-content: flex-start; }

.video-hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 28px;
  line-height: 1.8;
}

.video-hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}


/* ---------- Sprint Accordion ---------- */

.sprint-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.sprint-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}

.sprint-item[open] {
  box-shadow: var(--shadow);
}

.sprint-item summary {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  gap: 12px;
}

.sprint-item summary::-webkit-details-marker { display: none; }
.sprint-item summary::marker { content: ""; }

.sprint-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.sprint-free {
  display: inline-block;
  padding: 2px 8px;
  background: var(--success-tint);
  color: var(--success);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  margin-left: auto;
}

.sprint-body {
  padding: 0 20px 20px 60px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
}

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

.curriculum-timeline {
  position: relative;
  padding-left: 32px;
  margin: 32px 0;
}

.curriculum-timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.curriculum-phase {
  position: relative;
  padding: 0 0 32px;
}

.curriculum-phase:last-child { padding-bottom: 0; }

.curriculum-phase::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--brand);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--brand);
}

.curriculum-phase h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.curriculum-phase p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.curriculum-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.curriculum-services span {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Role Split ---------- */

.role-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 28px 0;
}

.role-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.role-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

.role-card .role-ability {
  font-size: 15px;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px;
}

.role-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
}

.role-combined {
  background: var(--brand-tint);
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: -8px;
}

/* ---------- Voice cards: align person icons ---------- */

.page-video .voice-card {
  display: flex;
  flex-direction: column;
}

.page-video .voice-card > p {
  flex: 1;
}

/* ---------- Sprint service icons (Academy準拠) ---------- */

.sprint-services {
  margin-top: 12px;
}

.sprint-services-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 6px;
}

.service-icons {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
  flex-shrink: 0;
  padding: 8px 6px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(234,124,28,.08);
}

.service-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234,124,28,.12);
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.08));
}

.service-icon span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
}

.sprint-phase {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

/* ---------- Pricing trio (3-column → stack) ---------- */

.pricing-trio {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .pricing-trio { grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .video-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .video-hero-img-mobile { display: block !important; }
  .video-hero-inner > div:last-child { display: none; }
  .video-hero-text h1 { text-align: center; }
  .video-hero-text .section-eyebrow { text-align: center; }
  .video-hero-sub { text-align: left; }
  .video-hero .laurel-row { justify-content: center; }
  .video-hero-btn-row { justify-content: center; }
  .role-split { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .video-hero { padding-block: 48px 40px; }
  .curriculum-timeline { padding-left: 24px; }
}
