:root {
  color-scheme: light;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  line-height: 1.85;
  background: #f6f2fc;
  color: #332b43;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  overflow-wrap: anywhere;
  background: linear-gradient(145deg, #fcfaff, #eee8f8);
  min-height: 100vh;
}
header,
main,
footer {
  width: min(100% - 48px, 840px);
  margin-inline: auto;
}
header {
  padding-block: 30px 24px;
}
.brand {
  display: inline-block;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.035em;
  text-decoration: none;
  margin: 0 0 12px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
}
a {
  color: #695098;
  text-underline-offset: 0.2em;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8c6ec0;
  outline-offset: 4px;
  border-radius: 5px;
}
main {
  padding: 46px 52px 50px;
  border: 1px solid #fff;
  border-radius: 32px;
  background: #ffffffb8;
  box-shadow: 0 18px 65px #8d74ac0b;
}
h1 {
  font-size: clamp(27px, 5vw, 38px);
  line-height: 1.45;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
h2 {
  font-size: 21px;
  line-height: 1.5;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
p {
  max-width: 65ch;
  margin: 0 0 18px;
}
section {
  margin-top: 38px;
}
.lead {
  color: #776b87;
  font-size: 17px;
  line-height: 1.9;
}
.eyebrow {
  font-size: 12px;
  color: #8b72b6;
  letter-spacing: 0.12em;
  font-weight: 650;
}
.topic-nav {
  padding-block: 16px;
  border-bottom: 1px solid #e7deef;
}
details {
  border-bottom: 1px solid #e7deef;
}
summary {
  cursor: pointer;
  padding: 20px 2px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.8;
}
details p {
  font-size: 14px;
  color: #70667d;
  padding: 0 4px 7px;
}
.notice {
  padding: 24px;
  border: 1px solid #ddd1ed;
  border-radius: 20px;
  background: #f0eaf9;
  font-size: 14px;
}
.notice p {
  margin-top: 10px;
}
.notice p:last-child {
  margin-bottom: 0;
}
.facts {
  margin: 0;
}
.facts div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  border-bottom: 1px solid #e7deef;
  padding-block: 18px;
}
dt {
  color: #776b87;
  font-size: 14px;
}
dd {
  margin: 0;
}
.checklist {
  padding-left: 1.3em;
}
.checklist li {
  padding-block: 8px;
}
.guide-action {
  margin-top: 32px;
}
.guide-action a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #ddd1ed;
  border-radius: 14px;
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
footer {
  padding-block: 28px max(36px, env(safe-area-inset-bottom));
  color: #887b98;
  font-size: 12px;
}
footer p {
  margin-top: 16px;
}
@media (max-width: 600px) {
  header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  header {
    padding: max(22px, env(safe-area-inset-top)) 6px 20px;
  }
  main {
    padding: 28px 22px 34px;
    border-radius: 24px;
  }
  nav {
    gap: 2px 18px;
  }
  section {
    margin-top: 32px;
  }
  h2 {
    font-size: 19px;
  }
  .notice {
    padding: 18px;
  }
  .facts div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}
@media (prefers-color-scheme: dark) {
  /* Keep the adopted light glass appearance readable in dark OS settings. */
  :root {
    color-scheme: light;
  }
}
