:root {
  --blue: #1268c4;
  --blue-strong: #0b58ad;
  --blue-deep: #092f63;
  --blue-pale: #edf6ff;
  --blue-line: #c8def2;
  --ink: #253445;
  --muted: #5d7186;
  --paper: #fff;
  --yellow: #ffd84d;
  --shadow: 5px 5px 0 #092f63;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Archivo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--blue-pale);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--blue-pale);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue-strong);
  font-weight: 700;
  text-underline-offset: .2em;
}

a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.site-header {
  background: var(--blue-deep);
  color: #fff;
  border-bottom: 5px solid var(--yellow);
}

.header-inner,
.page-shell,
.site-footer-inner {
  width: min(880px, calc(100% - 40px));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy small {
  color: #d3e7fb;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border: 1.5px solid rgba(255, 255, 255, .52);
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
}

.page-shell {
  padding: 56px 0 84px;
}

.document {
  padding: clamp(28px, 5vw, 52px);
  border: 2.5px solid var(--blue-deep);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 5px 9px;
  border: 1.5px solid var(--blue-deep);
  border-radius: 5px;
  background: var(--yellow);
  color: var(--blue-deep);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1.3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: clamp(29px, 5vw, 44px);
  line-height: 1.3;
  letter-spacing: -.035em;
  font-weight: 900;
}

.updated {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.notice {
  margin: 0 0 34px;
  padding: 15px 17px;
  border-left: 5px solid var(--blue);
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-size: 14px;
  line-height: 1.75;
}

.article {
  padding: 29px 0 0;
  border-top: 1px solid var(--blue-line);
}

.article + .article {
  margin-top: 29px;
}

.article h2 {
  margin-bottom: 12px;
  color: var(--blue-deep);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 900;
}

.article p,
.article li,
.legal-value {
  font-size: 15px;
}

.article p:last-child,
.article ul:last-child,
.article ol:last-child {
  margin-bottom: 0;
}

.article ul,
.article ol {
  margin: 9px 0 0;
  padding-left: 1.45em;
}

.article li + li {
  margin-top: 5px;
}

.sentence-block {
  display: block;
}

.sentence-block + .sentence-block {
  margin-top: 5px;
}

.no-break {
  white-space: nowrap;
}

.legal-list {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  border: 2px solid var(--blue-deep);
  border-radius: 8px;
  overflow: hidden;
}

.legal-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.legal-row + .legal-row {
  border-top: 1px solid var(--blue-line);
}

.legal-label,
.legal-value {
  padding: 17px 18px;
}

.legal-label {
  background: var(--blue-pale);
  color: var(--blue-deep);
  font-weight: 900;
}

.legal-value {
  min-width: 0;
  background: #fff;
}

.legal-value p:last-child,
.legal-value ul:last-child {
  margin-bottom: 0;
}

.legal-value ul {
  margin: 0;
  padding-left: 1.35em;
}

.legal-value li + li {
  margin-top: 4px;
}

.document-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--blue-line);
  font-size: 14px;
}

.site-footer {
  background: var(--blue-deep);
  color: #d3e7fb;
}

.site-footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 11px 18px;
}

.footer-links a {
  color: #fff;
}

@media (max-width: 640px) {
  .header-inner,
  .page-shell,
  .site-footer-inner {
    width: min(100% - 28px, 880px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .back-link {
    min-height: 38px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .page-shell {
    padding: 30px 0 58px;
  }

  .document {
    padding: 25px 19px 31px;
    box-shadow: 4px 4px 0 var(--blue-deep);
  }

  h1 {
    font-size: 27px;
  }

  .updated {
    display: grid;
    gap: 1px;
  }

  .notice {
    padding: 13px 14px;
    text-align: left;
  }

  .article {
    padding-top: 24px;
  }

  .article + .article {
    margin-top: 24px;
  }

  .article h2 {
    font-size: 18px;
  }

  .article p,
  .article li,
  .legal-value {
    font-size: 14.5px;
  }

  .legal-row {
    display: block;
  }

  .legal-label,
  .legal-value {
    padding: 13px 14px;
  }

  .legal-value {
    border-top: 1px solid var(--blue-line);
  }

  .document-links {
    display: grid;
    gap: 9px;
  }

  .site-footer-inner {
    min-height: 0;
    padding: 28px 0 32px;
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
