@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #183e56;
  --text: #3f5969;
  --muted: #627b8a;
  --blue: #23638c;
  --line: #dce7ed;
  --pale: #edf5fa;
  --surface: #f7fafc;
  --card-radius: 20px;
  --button-radius: 30px;
  --accent: var(--blue);
  --font:
    "Avenir Next", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  touch-action: manipulation;
}

a:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
  border-radius: 2px;
}

::selection {
  color: var(--ink);
  background: #d3e8f5;
}

p,
h1,
h2,
ul,
dl,
dd {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

code {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 0.88em;
  overflow-wrap: anywhere;
}

.container {
  width: min(800px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--button-radius);
  transform: translateY(-180%);
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

.site-header {
  background: var(--pale);
}

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

.brand {
  display: block;
  flex-shrink: 0;
  width: 108px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}

.page-heading {
  margin-block: 56px 12px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--pale);
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px #e0edf5;
  content: "";
}

h1 {
  color: var(--ink);
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.5;
}

.lead {
  margin-top: 22px;
  line-height: 2;
}

.policy-version code {
  display: inline-block;
}

.policy-version {
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.policy-content section {
  padding-block: 36px;
  border-bottom: 1px solid var(--line);
}

h2 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
}

.section-number {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.policy-content p + p {
  margin-top: 16px;
}

.policy-content ul {
  padding-left: 1.4em;
}

.policy-content li + li {
  margin-top: 8px;
}

.policy-content ul + p,
.data-list + p {
  margin-top: 24px;
}

.data-list {
  margin-top: 24px;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.data-list > div,
.operator-list > div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  padding-block: 16px;
}

.data-list > div + div {
  border-top: 1px solid var(--line);
}

dt {
  color: var(--ink);
  font-weight: 600;
}

.data-list dd {
  font-size: 14px;
}

.policy-content .contact-section {
  margin-top: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--pale);
}

.operator-list > div {
  grid-template-columns: 100px minmax(0, 1fr);
  padding-block: 8px;
}

.contact-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.return-nav {
  padding-block: 44px 64px;
}

.return-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid var(--ink);
  border-radius: var(--button-radius);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.return-link .icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
  flex-shrink: 0;
}

.return-link:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 12px;
}

.footer-inner small {
  font-size: inherit;
}

html[data-variant="002"] {
  --ink: #1c2e45;
  --text: #35475b;
  --muted: #657384;
  --blue: #20558a;
  --line: #dce4ec;
  --pale: #eaf2fb;
  --surface: #f4f7fa;
  --card-radius: 5px;
  --button-radius: 5px;
  --accent: #bd473b;
  --font:
    -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic",
    Meiryo, sans-serif;
}

html[data-variant="002"] .site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

html[data-variant="002"] .header-link {
  color: var(--ink);
  font-weight: 700;
}

html[data-variant="002"] .page-heading {
  padding: 8px 0 36px;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: #fff;
}

html[data-variant="002"] .eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 0;
  background: var(--accent);
  box-shadow: none;
  vertical-align: middle;
}

html[data-variant="002"] h1 {
  letter-spacing: 0.01em;
}

html[data-variant="002"] .policy-version {
  padding-left: 12px;
  border-left: 2px solid var(--line);
}

html[data-variant="002"] h2 {
  color: var(--blue);
}

html[data-variant="002"] .section-number {
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: #fff;
}

html[data-variant="002"] .data-list {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

html[data-variant="002"] .data-list > div {
  gap: 0;
  padding: 0;
}

html[data-variant="002"] .data-list dt {
  padding: 16px;
  background: var(--surface);
}

html[data-variant="002"] .data-list dd {
  padding: 16px 20px;
}

html[data-variant="002"] .policy-content .contact-section {
  border-top: 3px solid var(--blue);
  background: var(--surface);
}

html[data-variant="002"] .operator-list > div + div {
  border-top: 1px solid var(--line);
}

html[data-variant="002"] .return-link {
  border-color: var(--accent);
  background: var(--accent);
  font-weight: 700;
}

html[data-variant="002"] .return-link:hover {
  border-color: #ae3f34;
  background: #ae3f34;
}

html[data-variant="002"] .site-footer {
  border-top-color: var(--ink);
  background: var(--ink);
}

html[data-variant="002"] .footer-inner {
  color: #e3ebf3;
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 40px);
  }

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

  .brand {
    width: 96px;
  }

  .page-heading {
    margin-top: 32px;
    padding: 28px 20px;
  }

  .lead {
    font-size: 14px;
  }

  h2 {
    gap: 12px;
    font-size: 18px;
  }

  .data-list {
    padding-inline: 18px;
  }

  .data-list > div,
  .operator-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .policy-content .contact-section {
    padding: 24px 18px;
  }

  .return-link {
    width: 100%;
  }

  html[data-variant="002"] .data-list dt {
    padding: 12px 16px 8px;
  }

  html[data-variant="002"] .data-list dd {
    padding: 12px 16px 16px;
  }
}
