@font-face {
  font-family: "SUIT";
  src: url("/fonts/SUIT-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --legal-navy: #0b1730;
  --legal-blue: #3182f6;
  --legal-ink: #191f28;
  --legal-copy: #4e5968;
  --legal-muted: #8b95a1;
  --legal-line: #dfe5ec;
  --legal-soft: #f4f8ff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--legal-ink);
  font-family: "SUIT", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  word-break: keep-all;
}
html[lang="ja"] body { font-family: "Noto Sans JP", "SUIT", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; word-break: normal; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  height: 80px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4.4vw, 72px);
  border-bottom: 1px solid rgba(6, 19, 38, .1);
  background: rgba(255, 255, 255, .96);
}
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #08162c;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: -.035em;
}
.site-brand__symbol {
  position: relative;
  display: block;
  width: 27px;
  height: 27px;
}
.site-brand__symbol img {
  display: block;
  width: 100%;
  height: 100%;
}
.site-brand__car {
  position: absolute;
  top: 52.35%;
  left: 61.7%;
  width: 20.3%;
  height: 38.3%;
  border-radius: 999px;
  background: #30c0e0;
  transform-origin: 50% 50%;
  animation: site-brand-car-park 2.1s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes site-brand-car-park {
  from { transform: translate3d(24%, 18%, 0) rotate(-7deg) scale(.97); }
  to { transform: translate3d(-6%, -4%, 0) rotate(-7deg) scale(1.02); }
}
.site-header nav { display: flex; align-items: center; gap: 30px; }
.site-header nav { margin-left: auto; }
.site-header nav a { color: #4e5968; font-size: 14px; font-weight: 720; }
.site-header nav a:last-child {
  padding: 11px 17px;
  border-radius: 999px;
  color: #fff;
  background: var(--legal-blue);
}
.legal-language { display: flex; align-items: center; gap: 4px; margin-left: 22px; }
.legal-language a {
  display: grid;
  min-width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  color: #8b95a1;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .03em;
}
.legal-language a[aria-current="page"] { color: #fff; background: var(--legal-navy); }

.legal-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  overflow: hidden;
  place-items: center;
  padding: 120px 32px 105px;
  background:
    radial-gradient(circle at 82% 18%, rgba(49, 130, 246, .2), transparent 34%),
    radial-gradient(circle at 18% 78%, rgba(113, 190, 255, .11), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, #eef5ff 100%);
}
.legal-hero::after {
  position: absolute;
  right: -6vw;
  bottom: -28%;
  width: min(48vw, 710px);
  aspect-ratio: 1;
  border: 1px solid rgba(49, 130, 246, .15);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(49, 130, 246, .035),
    0 0 0 145px rgba(49, 130, 246, .025);
  content: "";
}
.legal-hero__inner { position: relative; z-index: 1; width: min(1120px, 100%); margin: 0 auto; }
.legal-hero__back { display: inline-flex; color: #6b7684; font-size: 14px; font-weight: 750; }
.legal-hero__eyebrow {
  margin: 68px 0 0;
  color: var(--legal-blue);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: .14em;
}
.legal-hero h1 {
  max-width: 900px;
  margin: 23px 0 0;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1.12;
  font-weight: 860;
  letter-spacing: -.06em;
}
.legal-hero__lead {
  max-width: 780px;
  margin: 30px 0 0;
  color: #596675;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.72;
  font-weight: 520;
  letter-spacing: -.02em;
}
.legal-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 31px;
  color: #6b7684;
  font-size: 13px;
  font-weight: 680;
}
.legal-hero__meta span + span::before { margin-right: 18px; color: #b5bec8; content: "·"; }

.legal-layout {
  display: grid;
  width: min(1120px, calc(100% - 64px));
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
  margin: 0 auto;
  padding: 120px 0 165px;
}
.legal-toc { align-self: start; position: sticky; top: 32px; }
.legal-toc p { margin: 0 0 18px; color: var(--legal-blue); font-size: 12px; font-weight: 820; letter-spacing: .12em; }
.legal-toc ol { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.legal-toc a { display: block; color: #6b7684; font-size: 13px; line-height: 1.45; font-weight: 620; transition: color .2s ease; }
.legal-toc a:hover { color: var(--legal-blue); }

.legal-document { min-width: 0; }
.legal-document > .legal-intro {
  margin: 0 0 50px;
  color: #333d4b;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 550;
}
.legal-document article,
.legal-document > section {
  padding: 51px 0 56px;
  border-top: 1px solid var(--legal-line);
  scroll-margin-top: 28px;
}
.legal-document article:last-of-type,
.legal-document > section:last-of-type { border-bottom: 1px solid var(--legal-line); }
.legal-section__head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin-bottom: 27px;
}
.legal-section__number { padding-top: 7px; color: var(--legal-blue); font-size: 13px; font-weight: 850; letter-spacing: .06em; }
.legal-document h2,
.legal-document h3 {
  margin: 0;
  color: var(--legal-ink);
  font-size: 29px;
  line-height: 1.35;
  font-weight: 820;
  letter-spacing: -.045em;
}
html[lang="en"] .legal-document h2,
html[lang="en"] .legal-document h3 { letter-spacing: -.025em; }
.legal-section__body { padding-left: 80px; color: var(--legal-copy); font-size: 16px; line-height: 1.84; }
.legal-section__body > :first-child { margin-top: 0; }
.legal-section__body > :last-child { margin-bottom: 0; }
.legal-section__body p { margin: 15px 0; }
.legal-section__body strong { color: #243b63; font-weight: 780; }
.legal-section__body ol,
.legal-section__body ul { margin: 15px 0; padding-left: 23px; }
.legal-section__body li { margin: 8px 0; padding-left: 4px; }
.legal-section__body li::marker { color: #7f99bb; font-weight: 760; }

.legal-callout {
  margin: 0 0 52px;
  padding: 25px 28px;
  border: 1px solid #d8e8ff;
  border-radius: 17px;
  color: #415168;
  background: var(--legal-soft);
  font-size: 15px;
  line-height: 1.75;
}
.legal-callout strong { color: var(--legal-blue); }
.legal-highlight {
  margin: 24px 0 0;
  padding: 21px 23px;
  border-left: 3px solid var(--legal-blue);
  border-radius: 0 13px 13px 0;
  color: #415168;
  background: #f6f9fd;
  font-size: 14px;
  line-height: 1.75;
}

.legal-table-wrap { width: 100%; overflow-x: auto; margin: 20px 0 24px; border: 1px solid #dfe7f0; border-radius: 14px; }
.legal-document table { width: 100%; min-width: 690px; border-collapse: collapse; font-size: 13.5px; line-height: 1.62; }
.legal-document th { padding: 15px 16px; color: #fff; background: var(--legal-navy); text-align: left; font-weight: 720; }
.legal-document td { padding: 15px 16px; border-top: 1px solid #e4eaf1; vertical-align: top; }
.legal-document tr:nth-child(even) td { background: #f8faff; }

.legal-related {
  margin-top: 54px;
  padding: 31px 34px;
  border-radius: 18px;
  color: rgba(244, 248, 252, .78);
  background: var(--legal-navy);
  font-size: 14px;
}
.legal-related strong { display: block; margin-bottom: 13px; color: #72aefb; font-size: 12px; letter-spacing: .1em; }
.legal-related nav { display: flex; flex-wrap: wrap; gap: 9px 23px; }
.legal-related a { color: #fff; font-weight: 690; }

.site-footer { padding: 58px 32px 66px; border-top: 1px solid var(--legal-line); background: #f8fafc; }
.site-footer__inner { display: flex; width: min(1120px, 100%); margin: 0 auto; align-items: flex-end; justify-content: space-between; gap: 30px; }
.site-footer strong { color: #253044; font-size: 15px; }
.site-footer p { margin: 10px 0 0; color: #8b95a1; font-size: 12px; line-height: 1.65; }
.site-footer small { color: #8b95a1; font-size: 12px; white-space: nowrap; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: 0; }
  .legal-toc { position: static; margin-bottom: 52px; padding: 25px; border-radius: 16px; background: #f7f9fc; }
  .legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 24px; }
}

@media (max-width: 760px) {
  .site-header { height: 64px; padding: 0 20px; }
  .site-header nav a:not(:last-child) { display: none; }
  .site-header nav a:last-child { padding: 9px 14px; font-size: 12px; }
  .legal-language { gap: 1px; margin-left: 7px; }
  .legal-language a { min-width: 27px; height: 27px; font-size: 9px; }
  .site-brand { font-size: 18px; }
  .site-brand__symbol { width: 23px; height: 23px; }
  .legal-hero { min-height: 560px; padding: 88px 22px 78px; }
  .legal-hero::after { right: -30vw; bottom: -7%; width: 100vw; }
  .legal-hero__eyebrow { margin-top: 53px; font-size: 11px; }
  .legal-hero h1 { margin-top: 18px; font-size: 40px; line-height: 1.2; }
  .legal-hero__lead { margin-top: 23px; font-size: 15px; line-height: 1.7; }
  .legal-hero__meta { display: grid; gap: 4px; margin-top: 25px; font-size: 12px; }
  .legal-hero__meta span + span::before { display: none; }
  .legal-layout { width: calc(100% - 40px); padding: 82px 0 115px; }
  .legal-toc { margin-bottom: 39px; padding: 22px 20px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-toc a { font-size: 12px; }
  .legal-document > .legal-intro { margin-bottom: 38px; font-size: 16px; }
  .legal-document article,
  .legal-document > section { padding: 39px 0 43px; }
  .legal-section__head { grid-template-columns: 42px minmax(0, 1fr); gap: 10px; margin-bottom: 21px; }
  .legal-section__number { padding-top: 5px; font-size: 11px; }
  .legal-document h2,
  .legal-document h3 { font-size: 24px; line-height: 1.38; }
  .legal-section__body { padding-left: 52px; font-size: 14px; line-height: 1.8; }
  .legal-section__body ol,
  .legal-section__body ul { padding-left: 19px; }
  .legal-callout { margin-bottom: 39px; padding: 21px 20px; font-size: 14px; }
  .legal-highlight { padding: 18px; font-size: 13px; }
  .legal-table-wrap { margin-top: 18px; border-radius: 11px; }
  .legal-document table { min-width: 640px; font-size: 12px; }
  .legal-document th,
  .legal-document td { padding: 12px; }
  .legal-related { margin-top: 40px; padding: 26px 23px; }
  .legal-related nav { display: grid; }
  .site-footer { padding: 45px 20px 50px; }
  .site-footer__inner { display: grid; }
  .site-footer small { white-space: normal; }
}

@media print {
  .site-header, .legal-toc, .site-footer { display: none; }
  .legal-hero { min-height: 0; padding: 40px 0; background: none; }
  .legal-layout { display: block; width: 100%; padding: 30px 0; }
  .legal-document article, .legal-document > section { break-inside: avoid; }
}
