:root {
  color-scheme: light;
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  color: #242735;
  background: #faf9fc;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(ellipse at 90% 0%, #eae7f5 0%, transparent 38%);
}

main {
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 32px 0;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #ded9e9;
}

.brand {
  color: #242735;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}

nav { display: flex; gap: 24px; }

nav a[aria-current="page"] {
  color: #242735;
  font-weight: 600;
}

.hero { padding: 88px 0 80px; }

.eyebrow {
  margin: 0 0 20px;
  color: #6b6882;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 6.5vw, 68px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.intro {
  max-width: 560px;
  margin: 28px 0 24px;
  color: #626275;
  font-size: 15px;
  line-height: 1.9;
}

.topics { display: flex; flex-wrap: wrap; gap: 10px; }

.topics span {
  padding: 6px 12px;
  border: 1px solid #ded9e9;
  border-radius: 999px;
  color: #575b86;
  font-size: 12px;
}

section { scroll-margin-top: 24px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

h2 { margin: 0; font-size: 24px; font-weight: 500; }

.slide-date { margin: 8px 0 0; color: #777587; font-size: 13px; }

a {
  color: #575b86;
  font-size: 14px;
  text-underline-offset: 4px;
  white-space: nowrap;
}

a:hover { color: #242735; }

a:focus-visible {
  outline: 2px solid #575b86;
  outline-offset: 6px;
  border-radius: 2px;
}

iframe {
  display: block;
  width: 100%;
  height: max(520px, 75svh);
  border: 1px solid #ded9e9;
  border-radius: 8px;
  background: #fff;
}

footer {
  margin-top: 32px;
  color: #777587;
  font-size: 12px;
}

@media (max-width: 600px) {
  main {
    width: calc(100% - 32px);
    padding: 24px 0;
  }

  header { padding-bottom: 20px; }
  nav { gap: 18px; }
  .hero { padding: 56px 0; }
  .section-heading { gap: 12px; }
  h2 { font-size: 20px; }

  iframe { height: max(420px, 70svh); }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
