:root {
  color: #202a39;
  background: #fff;
  font-family: "BIZ UDPGothic", "Yu Gothic", sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  line-height: 1.85;
}
a {
  color: #205096;
}
a:focus-visible {
  outline: 3px solid #5897e6;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -5rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: #fff;
  z-index: 5;
}
.skip:focus {
  top: 1rem;
}
.site-header {
  border-bottom: 1px solid #dce6f3;
}
.header-inner,
.site-footer,
.page-intro,
.page-layout {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  color: #205096;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.header-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.header-link:hover,
.legal-nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}
.page-intro {
  padding: 60px 0 32px;
  border-bottom: 1px solid #dce6f3;
}
.eyebrow {
  margin: 0 0 8px;
  color: #316bb8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
h1,
h2 {
  font-family: "Zen Kaku Gothic New", "BIZ UDPGothic", sans-serif;
}
h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.35;
}
.updated {
  margin: 14px 0 0;
  color: #617084;
  font-size: 13px;
}
.page-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  padding-block: 40px 100px;
}
.legal-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 20px;
  border-radius: 16px;
  background: #f4f8fe;
}
.legal-nav h2 {
  margin: 0 0 12px;
  color: #205096;
  font-size: 14px;
}
.legal-nav ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.legal-content li {
  padding-left: 0.25em;
  margin: 0.45em 0;
}
.legal-nav li {
  break-inside: avoid;
}
.legal-nav li + li {
  margin-top: 8px;
}
.legal-nav a {
  color: #40516b;
  font-size: 12px;
  text-decoration: none;
  line-height: 1.5;
}
.legal-content {
  min-width: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.legal-content h2 {
  scroll-margin-top: 24px;
  margin: 46px 0 14px;
  padding-top: 4px;
  font-size: clamp(21px, 2.4vw, 26px);
  line-height: 1.5;
}
.legal-content h2:first-of-type {
  margin-top: 0;
}
.legal-content p {
  margin: 0 0 20px;
}
.legal-content ol,
.legal-content ul {
  margin: 0 0 20px;
  padding-left: 1.6em;
}
.legal-content li > ul {
  margin-top: 0.4em;
}
.legal-content hr {
  border: 0;
  border-top: 1px solid #dce6f3;
  margin: 28px 0;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 24px;
  font-size: 14px;
}
.legal-content th,
.legal-content td {
  border-bottom: 1px solid #dce6f3;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.legal-content th {
  background: #f4f8fe;
  white-space: nowrap;
}
.legal-content code {
  font: inherit;
  overflow-wrap: anywhere;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 26px 40px;
  border-top: 1px solid #dce6f3;
  color: #617084;
  font-size: 12px;
}
.site-footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer a {
  color: #205096;
  text-decoration: none;
}
.site-footer p {
  margin: 0;
}
@media (max-width: 760px) {
  .header-inner,
  .site-footer,
  .page-intro,
  .page-layout {
    width: min(100% - 32px, 620px);
  }
  .header-inner {
    min-height: 68px;
  }
  .brand {
    font-size: 20px;
  }
  .page-intro {
    padding: 38px 0 24px;
  }
  .page-layout {
    display: block;
    padding-block: 24px 64px;
  }
  .legal-nav {
    position: static;
    max-height: none;
    margin-bottom: 28px;
  }
  .legal-nav ol {
    columns: 2;
    column-gap: 20px;
  }
  .legal-content {
    font-size: 14px;
  }
  .legal-content h2 {
    margin-top: 34px;
  }
  .legal-content table {
    font-size: 12px;
  }
  .legal-content th,
  .legal-content td {
    padding: 8px;
  }
}
@media (max-width: 380px) {
  .legal-nav ol {
    columns: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
