:root {
  --blue: #0058d8;
  --blue-dark: #003e9a;
  --navy: #071a3d;
  --text: #243757;
  --muted: #65728a;
  --amber: #f5a400;
  --amber-dark: #d97900;
  --bg-blue: #f3f8ff;
  --border: #dce7f5;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(7, 26, 61, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
}

.header-actions,
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 30px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 88, 216, 0.18);
}

.btn-small {
  min-height: 42px;
  padding: 0 20px;
  font-size: 14px;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
}

.btn-secondary {
  color: var(--amber-dark);
  background: #fff;
  border-color: var(--amber-dark);
}

.btn-amber {
  color: #fff;
  background: var(--amber);
}

.btn-light {
  color: var(--navy);
  background: #fff;
}

.play-dot {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  font-size: 11px;
}

.hero {
  padding: 74px 0 66px;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 88, 216, 0.08), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.35;
}

.hero h1 span {
  color: var(--blue);
}

.hero-lead {
  max-width: 560px;
  margin: 22px 0 28px;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.trust-chips span {
  padding: 11px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  width: 100%;
  border-radius: 22px;
  filter: drop-shadow(0 24px 40px rgba(7, 26, 61, 0.12));
}

.section {
  padding: 70px 0;
}

.section h2,
.contents h2,
.support h2,
.curriculum h2,
.audience h2,
.voices h2,
.faq h2,
.profile h2 {
  margin: 0 0 32px;
  color: var(--navy);
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.45;
}

.problem {
  background: #fff;
}

.problem-grid,
.feature-grid,
.support-grid,
.voice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card,
.feature-card,
.support-grid article,
.voice-card {
  min-height: 176px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(7, 26, 61, 0.04);
}

.problem-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  object-fit: cover;
}

.problem-card h3,
.feature-card h3,
.support-grid h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.55;
}

.problem-card p,
.feature-card p,
.support-grid p,
.step-card p,
.timeline p,
.voice-card p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.solution {
  background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  color: var(--amber-dark);
}

.section-heading p {
  margin: -16px 0 0;
  color: var(--text);
  font-weight: 500;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 18px;
}

.step-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border: 2px solid rgba(217, 121, 0, 0.35);
  border-radius: 10px;
  background: #fff;
}

.step-card strong {
  color: var(--amber-dark);
  font-size: 26px;
  line-height: 1;
}

.step-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 18px;
}

.step-arrow {
  align-self: center;
  color: var(--blue);
  font-size: 30px;
  font-weight: 700;
}

.demo-section {
  background: var(--navy);
  color: #fff;
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 34px;
}

.demo-copy {
  position: sticky;
  top: 28px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.demo-copy .eyebrow {
  color: #8bb9ff;
}

.demo-copy h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.45;
}

.demo-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.demo-points {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.demo-points li {
  position: relative;
  padding-left: 28px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.demo-points li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
}

.dify-frame {
  overflow: hidden;
  min-height: 700px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.dify-frame iframe {
  display: block;
  border: 0;
}

.feature-card {
  min-height: 210px;
}

.feature-symbol {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--blue);
  background: var(--bg-blue);
  font-size: 26px;
  font-weight: 800;
}

.contents {
  background: #fbfdff;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: #aac7ec;
}

.timeline article {
  position: relative;
  padding-top: 76px;
  text-align: center;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 36px;
  height: 36px;
  border: 9px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  transform: translateX(-50%);
  box-shadow: 0 0 0 1px var(--border);
}

.timeline span,
.curriculum-row span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}

.timeline h3 {
  margin: 2px 0 8px;
  color: var(--navy);
  font-size: 16px;
}

.support {
  background: linear-gradient(180deg, #edf8ff 0%, #f8fcff 100%);
}

.mini-mascot {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  object-fit: contain;
}

.curriculum-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.curriculum-row article {
  position: relative;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.curriculum-row article:not(:last-child)::after {
  content: "›";
  position: absolute;
  top: 50%;
  right: -15px;
  color: var(--amber-dark);
  font-size: 28px;
  font-weight: 700;
  transform: translateY(-50%);
}

.curriculum-row h3 {
  margin: 4px 0 0;
  color: var(--navy);
  font-size: 15px;
}

.audience {
  padding-top: 12px;
}

.audience-tags {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.audience-tags span {
  padding: 16px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  text-align: center;
  font-weight: 800;
}

.voices {
  padding-top: 26px;
}

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

.voice-card p {
  min-height: 92px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.voice-card div {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.voice-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.voice-card span {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.voice-card small {
  color: var(--muted);
  font-weight: 700;
}

.faq {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 26, 61, 0.04);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 24px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--text);
  font-size: 14px;
}

.final-cta {
  overflow: hidden;
  padding: 34px 0;
  color: #fff;
  background: linear-gradient(90deg, #00306f 0%, var(--blue) 100%);
}

.final-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 38px;
}

.anchor-target {
  position: absolute;
  top: -96px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cta-mascot {
  width: 190px;
  max-height: 170px;
  object-fit: contain;
  object-position: bottom;
}

.final-cta h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1.35;
}

.final-cta p {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.9;
}

.profile {
  padding: 32px 0 54px;
  background: #fff;
}

.profile h2 {
  margin-bottom: 18px;
  font-size: 22px;
}

.profile-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 28px;
  max-width: 930px;
  margin: 0 auto;
  padding: 26px 34px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(7, 26, 61, 0.05);
}

.profile-mark {
  display: grid;
  justify-items: center;
  gap: 4px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
}

.profile-mark img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.profile-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.profile-card p {
  margin: 0;
  font-size: 14px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.profile-badges span {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid,
  .feature-grid,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline,
  .curriculum-row,
  .audience-tags {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline::before,
  .curriculum-row article::after {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .steps-row,
  .demo-grid,
  .voice-grid,
  .profile-card,
  .final-cta-inner {
    grid-template-columns: 1fr;
  }

  .step-arrow {
    display: none;
  }

  .demo-copy {
    position: static;
  }

  .cta-mascot {
    width: 150px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, 1240px);
  }

  .brand {
    font-size: 19px;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    display: none;
  }

  .hero {
    padding-top: 48px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section {
    padding: 52px 0;
  }

  .section h2,
  .contents h2,
  .support h2,
  .curriculum h2,
  .audience h2,
  .voices h2,
  .faq h2,
  .demo-copy h2 {
    font-size: 25px;
  }

  .problem-grid,
  .feature-grid,
  .support-grid,
  .timeline,
  .curriculum-row,
  .audience-tags {
    grid-template-columns: 1fr;
  }

  .profile-card {
    padding: 24px;
  }

  .dify-frame {
    min-height: 620px;
  }

  .dify-frame iframe {
    min-height: 620px !important;
  }
}
