:root {
  color-scheme: light;
  --navy: #102f4a;
  --navy-2: #1e4c6d;
  --blue: #1475aa;
  --sky: #eaf4fa;
  --paper: #ffffff;
  --bg: #f5f8fb;
  --text: #173047;
  --muted: #5b7082;
  --line: #d5e1e9;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

a { color: inherit; }

.container {
  width: calc(100% - 44px);
  max-width: var(--max);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: #fff;
  background: rgba(16, 47, 74, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.site-name { color: #cfe7f4; font-weight: 700; }

.hero {
  padding: 86px 0 70px;
  color: #fff;
  background:
    linear-gradient(115deg, rgba(16, 47, 74, 0.98), rgba(30, 76, 109, 0.93)),
    radial-gradient(circle at 84% 15%, #2c83b1, transparent 32rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: center;
}

.hero-grid > * { min-width: 0; }

.eyebrow,
.step-number {
  margin: 0 0 10px;
  color: #7fd4ff;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

h1, h2 { line-height: 1.25; }

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  letter-spacing: -0.045em;
}

.tagline {
  margin: 17px 0 0;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 750;
}

.version {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #e8f6fc;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-summary {
  width: 100%;
  max-width: 100%;
  margin-top: 28px;
  padding: 24px 26px;
  border-left: 4px solid #77cff8;
  background: rgba(255, 255, 255, 0.09);
  font-size: 1.04rem;
  overflow-wrap: anywhere;
}

.hero-summary p { margin: 0; }

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.22);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.intro-video {
  padding: 64px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.intro-video-inner { max-width: 1000px; }

.intro-video h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  letter-spacing: -0.025em;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #07131d;
  box-shadow: 0 18px 42px rgba(16, 47, 74, 0.14);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-link { margin: 18px 0 0; }

.video-link a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.video-link a:hover,
.video-link a:focus-visible {
  color: #fff;
  background: var(--blue);
}

.philosophy { padding: 76px 0; background: var(--paper); }
.prose { max-width: 900px; }

.prose h2,
.contents h2,
.step-section h2,
.distribution-note h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  letter-spacing: -0.025em;
}

.prose p { margin: 0 0 18px; }

.learning-cycle {
  margin: 30px 0 !important;
  padding: 17px 20px;
  color: var(--navy);
  background: var(--sky);
  border-left: 4px solid var(--blue);
  font-size: 1.08rem;
}

.signature { margin-top: 32px !important; color: var(--navy); }

.requirements {
  padding: 64px 0;
  background: var(--bg);
  border-block: 1px solid var(--line);
}

.requirements h2 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  letter-spacing: -0.025em;
}

.requirements-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 47, 74, 0.07);
}

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

.requirements th,
.requirements td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.requirements thead th {
  color: #fff;
  background: var(--navy);
}

.requirements tbody th {
  width: 220px;
  color: var(--navy);
  background: var(--sky);
}

.requirements tbody tr:last-child th,
.requirements tbody tr:last-child td { border-bottom: 0; }

.requirements ul { margin: 0; padding-left: 1.25em; }
.requirements li + li { margin-top: 4px; }

.requirements-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contents {
  padding: 64px 0;
  background: #e7f0f6;
  border-block: 1px solid var(--line);
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contents-grid a {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid #c8d9e4;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
}

.contents-grid a:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(16, 47, 74, 0.10);
}

.contents-grid span {
  flex: 0 0 auto;
  color: var(--blue);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.step-section {
  scroll-margin-top: 72px;
  padding: 76px 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.step-section.alternate { background: var(--bg); }
.step-number { color: var(--blue); }

.section-intro {
  max-width: 900px;
  margin: -8px 0 28px;
  color: var(--muted);
}

.figure-card {
  width: 100%;
  max-width: 360px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16, 47, 74, 0.09);
}

.figure-card a {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #eef2f5;
}

.figure-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.figure-card figcaption {
  padding: 12px 3px 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.distribution-note {
  padding: 64px 0;
  color: #dcebf4;
  background: var(--navy);
}

.distribution-note h2 { color: #fff; }
.distribution-note p { max-width: 900px; margin: 0 0 12px; }

/* BOOTH download button */
.distribution-note .video-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 14px 24px;
  border: 2px solid #ffffff;
  border-radius: 12px;
  background: #ffffff;
  color: #102f4a;
  font-size: 1rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.distribution-note .video-link a:hover {
  background: #dff3ff;
  color: #102f4a;
}

.distribution-note .video-link a:focus-visible {
  outline: 3px solid #ffe58f;
  outline-offset: 3px;
}
.footer {
  padding: 28px 0 40px;
  color: #6a7d8c;
  background: #e8eff4;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .container { width: calc(100% - 30px); }
  .hero { padding: 64px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .contents-grid { grid-template-columns: 1fr; }
  .philosophy, .step-section { padding: 56px 0; }
  .intro-video { padding: 48px 0; }
  .contents, .distribution-note { padding: 48px 0; }
  .requirements { padding: 48px 0; }
}

@media (max-width: 520px) {
  .header-inner { min-height: 56px; }
  .site-name { font-size: 0.78rem; }
  h1 { font-size: clamp(2.25rem, 10vw, 2.7rem); }
  .hero { padding-top: 52px; }
  .figure-card { padding: 8px; border-radius: 12px; }
  .hero-summary { padding: 18px 20px; }
  .prose p, .section-intro { overflow-wrap: anywhere; }

  .requirements-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .requirements table,
  .requirements tbody,
  .requirements tr,
  .requirements th,
  .requirements td { display: block; width: 100%; }

  .requirements thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .requirements tr {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .requirements th,
  .requirements td { padding: 14px 16px; border-bottom: 0; }
  .requirements tbody th { width: 100%; }
}

@media (max-width: 400px) {
  .site-name { display: none; }
}
