:root {
  color-scheme: light;
  --ink: #111a38;
  --muted: #5f6b88;
  --blue: #3d7eff;
  --purple: #6d4aff;
  --lavender: #eee9ff;
  --line: #dce5f5;
  --surface: rgba(255, 255, 255, 0.94);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(61, 126, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 96% 10%, rgba(109, 74, 255, 0.11), transparent 30rem),
    #f7f9fd;
  line-height: 1.72;
}
a { color: #275fd2; text-underline-offset: 3px; }
a:hover { color: var(--purple); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 229, 245, 0.9);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}
.nav {
  width: min(1120px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 8px 22px rgba(61, 126, 255, 0.24);
  font-size: 13px;
  font-weight: 800;
}
.brand-accent { color: var(--blue); }
.nav-links { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.nav-links a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.nav-links a[aria-current="page"] { color: #4e35d1; background: var(--lavender); }
.page-shell { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 64px 0 80px; }
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(61, 126, 255, 0.14);
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 12%, #f0f5ff 58%, #f2edff 100%);
  box-shadow: 0 22px 60px rgba(42, 70, 125, 0.11);
}
.hero::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -90px;
  bottom: -130px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(61, 126, 255, 0.18), rgba(109, 74, 255, 0.14));
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 { margin: 0; max-width: 720px; font-size: clamp(34px, 6vw, 58px); line-height: 1.06; letter-spacing: -0.045em; }
.intro { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 18px); }
.date-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.date-chip {
  padding: 10px 14px;
  border: 1px solid rgba(61, 126, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 14px;
}
.date-chip strong { color: var(--ink); }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; margin-top: 36px; align-items: start; }
.contents {
  position: sticky;
  top: 96px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}
.contents strong { display: block; margin-bottom: 10px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.contents a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; line-height: 1.35; text-decoration: none; }
.contents a:hover { color: var(--blue); }
.legal-content {
  min-width: 0;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 16px 48px rgba(42, 70, 125, 0.08);
}
.legal-content section + section { margin-top: 42px; padding-top: 42px; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 14px; font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: -0.025em; }
.legal-content p { margin: 0 0 16px; color: #34405f; }
.legal-content p, .legal-content li, .contents a { overflow-wrap: anywhere; }
.legal-content ul { margin: 12px 0 18px; padding-left: 22px; color: #34405f; }
.legal-content li { margin: 7px 0; padding-left: 4px; }
.legal-content li::marker { color: var(--blue); }
.notice { margin: 20px 0; padding: 16px 18px; border: 1px solid #d6cfff; border-radius: 14px; background: #f6f3ff; color: #493f76; }
.contact-card { padding: 22px; border-radius: 18px; background: linear-gradient(135deg, #edf4ff, #f2edff); }
.contact-card p:last-child { margin-bottom: 0; }
.site-footer { margin-top: 36px; padding: 28px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
@media (max-width: 760px) {
  .nav { width: min(100% - 28px, 1120px); min-height: 64px; gap: 12px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .nav-links a { padding: 8px; font-size: 12px; }
  .page-shell { width: min(100% - 28px, 960px); padding: 28px 0 56px; }
  .hero { padding: 30px 24px; border-radius: 22px; }
  .legal-layout { grid-template-columns: 1fr; gap: 18px; }
  .contents { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .contents strong { grid-column: 1 / -1; }
  .legal-content { padding: 26px 22px; border-radius: 20px; }
  .legal-content section + section { margin-top: 32px; padding-top: 32px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
  .brand { gap: 8px; font-size: 16px; }
  .nav-links { gap: 0; }
  .nav-links a { padding-inline: 6px; font-size: 0; }
  .nav-links a::after { content: attr(data-short); font-size: 12px; }
  .contents { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
