:root {
  --bg: #ffffff;
  --bg-muted: #f8fafc;
  --bg-soft: #eff6ff;
  --text: #1e293b;
  --text-soft: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --blue-strong: #1d4ed8;
  --orange: #f97316;
  --green: #10b981;
  --container: min(1080px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.75;
}

a {
  color: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 62px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0;
}

.back-link {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
}

.mini-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-nav a {
  text-decoration: none;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  letter-spacing: 0.03em;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: #334155;
}

.mini-nav a.is-active {
  border-color: var(--blue);
  color: var(--blue);
  background: #eff6ff;
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--bg-muted);
}

.hero {
  background: linear-gradient(180deg, var(--bg-soft), #ffffff);
  min-height: 80vh;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.35;
}

h1 {
  font-size: clamp(26px, 4.6vw, 42px);
  font-weight: 800;
}

h2 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  margin-bottom: 14px;
}

h3 {
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
  margin-bottom: 8px;
}

p,
li,
td,
th {
  font-size: clamp(15px, 2vw, 16px);
}

.hero-lead {
  margin: 16px 0;
  color: var(--text-soft);
}

.program-title {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0;
}

.program-subtitle {
  margin: 2px 0 20px;
  color: #475569;
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

.btn-primary,
.btn-secondary,
.btn-white {
  display: inline-block;
  min-height: 48px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
  background: var(--blue-strong);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.24);
}

.btn-secondary:hover {
  background: #ea580c;
  transform: translateY(-1px);
}

.btn-white {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.btn-white:hover {
  transform: translateY(-1px);
}

.hero-illustration {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
  padding: 18px;
}

.illustration-panel {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.illustration-panel span {
  background: #dbeafe;
  color: #1e3a8a;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.illustration-cards {
  display: grid;
  gap: 10px;
}

.illustration-cards div {
  background: var(--bg-muted);
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 11px 12px;
  color: #334155;
  font-weight: 600;
}

.challenge-grid,
.reason-grid,
.skill-grid,
.instructor-grid {
  display: grid;
  gap: 14px;
}

.number-card,
.reason-card,
.skill-card,
.instructor-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
}

.number-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.number-card span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ffedd5;
  color: #c2410c;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.reason-card h3 {
  color: #1e3a8a;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  background: #2563eb;
  color: #ffffff;
  padding: 12px;
  text-align: left;
  font-size: 14px;
}

tbody th,
tbody td {
  padding: 12px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}

tbody th {
  width: 24%;
  background: #f8fafc;
  text-align: left;
  font-weight: 700;
}

.skill-card .step {
  display: inline-block;
  margin-bottom: 8px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 11px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

.step-1 .step { background: #2563eb; }
.step-2 .step { background: #3b82f6; }
.step-3 .step { background: #f97316; }
.step-4 .step { background: #10b981; }

.section-lead {
  color: var(--text-soft);
  margin-top: 0;
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 2px;
  bottom: 2px;
  width: 3px;
  background: linear-gradient(180deg, #2563eb, #f97316 60%, #10b981);
}

.timeline-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  position: relative;
}

.node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 8px;
  margin-left: 8px;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.05);
}

.node-blue { background: #2563eb; }
.node-blue2 { background: #3b82f6; }
.node-orange { background: #f97316; }
.node-orange2 { background: #ea580c; }
.node-green { background: #10b981; }

.mindset-track {
  display: grid;
  gap: 10px;
}

.mindset-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mindset-item strong {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Inter", sans-serif;
  color: #ffffff;
  font-size: 13px;
}

.mindset-item:nth-child(1) strong { background: #2563eb; }
.mindset-item:nth-child(2) strong { background: #3b82f6; }
.mindset-item:nth-child(3) strong { background: #f97316; }
.mindset-item:nth-child(4) strong { background: #fb923c; }
.mindset-item:nth-child(5) strong { background: #10b981; }

.metrics {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.metrics div {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 13px;
}

.metrics strong {
  display: block;
  color: #ea580c;
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.1;
}

.metrics span {
  display: block;
  color: #475569;
  font-size: 13px;
}

.small-note {
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.instructor-photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  border: 2px solid #bfdbfe;
  display: block;
  margin-bottom: 12px;
}

.instructor-card h3 {
  font-size: 20px;
}

.instructor-card h3 small {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
}

.instructor-card .role {
  margin-top: 0;
  color: #ea580c;
  font-weight: 700;
  font-size: 14px;
}

.relation-section {
  background: #eff6ff;
}

.relation-grid {
  display: grid;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.relation-card {
  border-radius: 12px;
  padding: 16px;
  border: 1px solid var(--line);
}

.relation-card.dark {
  background: #0d1117;
  color: #f8fafc;
  border-color: #334155;
}

.relation-card.dark h3 {
  color: #e8d48b;
}

.relation-card.light {
  background: #ffffff;
  color: #1e293b;
  border-color: #bfdbfe;
}

.relation-card.light h3 {
  color: #1e3a8a;
}

.relation-plus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #1d4ed8;
  justify-self: center;
}

.final-cta {
  background: #2563eb;
  color: #ffffff;
  text-align: center;
}

.final-cta p,
.final-company,
.final-cta .footer-back {
  color: #ffffff;
}

.final-cta .btn-white {
  color: var(--blue);
}

.final-company {
  margin: 16px 0 8px;
  font-size: 13px;
  opacity: 0.92;
}

.final-company a {
  color: #ffffff;
}

.final-copyright {
  margin: 6px 0 12px;
  font-size: 12px;
  opacity: 0.88;
}

.footer-back {
  display: inline-block;
  font-size: 14px;
  opacity: 0.95;
}

.footer-back:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 769px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .challenge-grid,
  .reason-grid,
  .instructor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mindset-track {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .mindset-item {
    flex-direction: column;
    align-items: flex-start;
    min-height: 102px;
  }

  .metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .relation-grid {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    align-items: flex-start;
  }

  .mini-nav {
    width: 100%;
  }

  .btn-primary,
  .btn-secondary,
  .btn-white {
    width: 100%;
    text-align: center;
  }
}
