:root {
  --ink: #f9f9ff;
  --muted: #c6c8ea;
  --night: #0a0c24;
  --night-deep: #060717;
  --violet: #9d74ff;
  --aqua: #55e5ec;
  --pink: #ff8dbd;
  --gold: #ffd66d;
  --line: rgba(219, 220, 255, .16);
  --card: rgba(25, 28, 73, .72);
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --display: "Arial Rounded MT Bold", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --body: Inter, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 81% 8%, rgba(95, 82, 214, .38), transparent 23rem),
    radial-gradient(circle at 16% 31%, rgba(40, 190, 230, .16), transparent 25rem),
    radial-gradient(circle at 52% 74%, rgba(166, 85, 231, .15), transparent 29rem),
    var(--night-deep);
}
body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: .13;
  pointer-events: none;
  background: url("img/background.webp") center top / cover;
  mix-blend-mode: screen;
}
body::after {
  position: fixed;
  z-index: -1;
  top: 10vh;
  left: -18rem;
  width: 42rem;
  height: 42rem;
  content: "";
  border: 1px solid rgba(109, 221, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 6rem rgba(102, 122, 255, .025), 0 0 0 12rem rgba(154, 93, 255, .02);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: #13102c; background: var(--aqua); }

.shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid rgba(219, 220, 255, .08);
  background: linear-gradient(to bottom, rgba(6, 7, 23, .86), rgba(6, 7, 23, .55));
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .64rem; flex: 0 0 auto; font-family: var(--display); font-size: 1.07rem; letter-spacing: -.04em; }
.brand-mark {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(217, 195, 255, .65);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #8063e9, #41dce8);
  box-shadow: 0 0 22px rgba(120, 104, 255, .46);
  transform: rotate(-8deg);
}
.brand-mark span { font-size: 1rem; transform: rotate(8deg); }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(.8rem, 2.5vw, 1.55rem); color: #e7e6fa; font-size: .83rem; font-weight: 700; }
.nav > a:not(.nav-cta) { opacity: .78; transition: opacity .2s ease, color .2s ease; }
.nav > a:not(.nav-cta):hover { color: var(--aqua); opacity: 1; }
.nav-cta,
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-cta { padding: .62rem .92rem; border: 1px solid rgba(129, 235, 241, .42); border-radius: 999px; color: #112339; background: var(--aqua); box-shadow: 0 6px 22px rgba(81, 225, 235, .22); }
.nav-cta:hover { box-shadow: 0 9px 28px rgba(81, 225, 235, .4); transform: translateY(-2px); }

.page-hero { position: relative; padding: clamp(4.2rem, 8vw, 6.6rem) 0 3.8rem; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin: 0; color: var(--aqua); font-size: .71rem; font-weight: 800; letter-spacing: .15em; line-height: 1.4; }
.eyebrow::before { width: .52rem; height: .52rem; content: ""; border-radius: 50%; background: currentColor; box-shadow: 0 0 13px currentColor; }
.page-title { max-width: 13ch; margin: .8rem auto 0; font-family: var(--display); font-size: clamp(2.25rem, 5.5vw, 4.15rem); letter-spacing: -.08em; line-height: 1.15; text-wrap: balance; }
.page-title strong { color: transparent; font-style: normal; background: linear-gradient(100deg, #a5ffff 8%, #c7a1ff 45%, #ffb0d0 93%); background-clip: text; -webkit-background-clip: text; }
.page-lead { max-width: 44rem; margin: 1.15rem auto 0; color: #d3d4ee; font-size: .97rem; line-height: 1.9; }
.content { padding: 1rem 0 6.4rem; }

.surface {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(41, 45, 104, .78), rgba(20, 21, 59, .78));
  box-shadow: inset 0 1px rgba(255,255,255,.1), var(--shadow);
}
.policy-layout { display: grid; grid-template-columns: 215px 1fr; gap: 1.6rem; align-items: start; }
.side-nav { position: sticky; top: 94px; padding: .7rem; }
.side-nav p { padding: .55rem .7rem; margin: 0 0 .28rem; color: #9ea2cc; font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.side-nav a { display: block; padding: .66rem .7rem; border-radius: 10px; color: #d9daf1; font-size: .8rem; font-weight: 700; line-height: 1.45; transition: background .2s ease, color .2s ease; }
.side-nav a:hover { color: #102a45; background: var(--aqua); }
.policy-content { padding: clamp(1.3rem, 4vw, 2.7rem); }
.policy-section { scroll-margin-top: 100px; }
.policy-section + .policy-section { margin-top: 2.8rem; padding-top: 2.8rem; border-top: 1px solid rgba(219, 220, 255, .14); }
.policy-section h2 { margin: 0; font-family: var(--display); font-size: clamp(1.18rem, 2.4vw, 1.55rem); letter-spacing: -.05em; line-height: 1.35; }
.policy-section h2 .num { margin-right: .5rem; color: var(--aqua); font-family: var(--body); font-size: .72rem; letter-spacing: .1em; vertical-align: .2em; }
.policy-section p, .policy-section li { color: #d1d2ea; font-size: .88rem; line-height: 1.85; }
.policy-section p { margin: .85rem 0 0; }
.policy-section ul { margin: .85rem 0 0; padding-left: 1.25rem; }
.policy-section li + li { margin-top: .38rem; }
.policy-section a { color: var(--aqua); text-decoration: underline; text-decoration-color: rgba(85,229,236,.45); text-underline-offset: .18em; }
.notice { margin-top: 1.1rem; padding: 1rem 1.1rem; border-left: 2px solid var(--aqua); border-radius: 0 12px 12px 0; color: #c9d4f1; background: rgba(129, 240, 243, .06); font-size: .8rem; line-height: 1.75; }
.updated { display: inline-flex; margin-top: .9rem; padding: .38rem .58rem; border: 1px solid rgba(196, 205, 255, .2); border-radius: 99px; color: #afb2d4; font-size: .68rem; font-weight: 700; }

.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 1rem; align-items: start; }
.contact-guide { padding: clamp(1.35rem, 3vw, 2.2rem); }
.contact-guide h2, .form-card h2 { margin: .75rem 0 0; font-family: var(--display); font-size: 1.42rem; letter-spacing: -.05em; line-height: 1.38; }
.contact-guide p { margin: .8rem 0 0; color: #c7cae7; font-size: .84rem; line-height: 1.82; }
.contact-steps { display: grid; gap: .7rem; margin-top: 1.4rem; }
.contact-step { display: grid; grid-template-columns: 26px 1fr; gap: .65rem; align-items: start; }
.contact-step b { display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid rgba(166, 237, 246, .55); border-radius: 50%; color: #112944; background: var(--aqua); box-shadow: 0 0 14px rgba(88,226,239,.35); font-size: .68rem; }
.contact-step span { padding-top: .15rem; color: #c5c8e4; font-size: .78rem; line-height: 1.6; }
.contact-link { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.5rem; padding: .72rem .9rem; border: 1px solid rgba(129, 235, 241, .42); border-radius: 13px; color: #112339; background: var(--aqua); box-shadow: 0 6px 20px rgba(81,225,235,.18); font-size: .8rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.contact-link:hover { box-shadow: 0 10px 25px rgba(81,225,235,.32); transform: translateY(-2px); }
.form-card { padding: clamp(1.35rem, 3vw, 2.2rem); }
.form-card .eyebrow { color: #e6bbff; }
.form-card .eyebrow::before { box-shadow: 0 0 13px currentColor; }
.form-note { margin: .65rem 0 1.35rem; color: #b8bcda; font-size: .75rem; line-height: 1.7; }
.form-row + .form-row { margin-top: 1rem; }
.form-row label, .check-row { display: block; color: #e9e9fb; font-size: .79rem; font-weight: 800; }
.optional { color: #a6aacd; font-size: .68rem; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  margin-top: .48rem;
  border: 1px solid rgba(208, 211, 255, .22);
  border-radius: 11px;
  outline: none;
  color: #f6f6ff;
  background: rgba(5, 7, 32, .38);
  box-shadow: inset 0 1px rgba(255,255,255,.05);
  font-size: .85rem;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-row input, .form-row select { min-height: 44px; padding: .65rem .75rem; }
.form-row textarea { min-height: 145px; padding: .75rem; resize: vertical; }
.form-row select option { color: #1b1e4d; background: #f4f4ff; }
.form-row input::placeholder, .form-row textarea::placeholder { color: #8e93bb; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--aqua); background: rgba(8, 14, 50, .62); box-shadow: 0 0 0 3px rgba(85,229,236,.12); }
.check-row { display: flex; align-items: flex-start; gap: .55rem; margin-top: 1.05rem; color: #c4c7e2; font-size: .73rem; font-weight: 600; line-height: 1.65; }
.check-row input { width: 1rem; height: 1rem; flex: 0 0 auto; margin: .14rem 0 0; accent-color: var(--aqua); }
.form-button { width: 100%; min-height: 50px; margin-top: 1.25rem; border: 0; border-radius: 14px; cursor: pointer; color: #171336; background: linear-gradient(115deg, #77f2f2, #d4a4ff 57%, #ff9ac7); box-shadow: 0 12px 30px rgba(156,118,255,.28), inset 0 1px rgba(255,255,255,.5); font-size: .86rem; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.form-button:hover { box-shadow: 0 17px 36px rgba(156,118,255,.42); transform: translateY(-2px); }
.form-button:focus-visible, .contact-link:focus-visible, .nav-cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.form-status { min-height: 1.4rem; margin: .85rem 0 0; color: #bfc4e4; font-size: .75rem; line-height: 1.6; }
.form-status.is-success { color: #94f5ef; }
.form-status.is-error { color: #ffb8cf; }

.back-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; margin-top: 1.35rem; padding: 1.1rem 1.25rem; }
.back-panel p { margin: 0; color: #c8cbe8; font-size: .81rem; line-height: 1.6; }
.button-primary { min-height: 48px; padding: .75rem .96rem; border-radius: 14px; color: #171336; background: linear-gradient(115deg, #77f2f2, #d4a4ff 57%, #ff9ac7); box-shadow: 0 12px 30px rgba(156,118,255,.28), inset 0 1px rgba(255,255,255,.5); font-size: .82rem; white-space: nowrap; }
.button-primary:hover { box-shadow: 0 17px 36px rgba(156,118,255,.42); transform: translateY(-2px); }
.site-footer { padding: 1.8rem 0 2.35rem; border-top: 1px solid rgba(204, 207, 255, .13); }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem 2rem; color: #9396bd; font-size: .7rem; line-height: 1.7; }
.footer-inner p { margin: 0; }
.footer-inner p:last-child { text-align: right; }
.footer-inner a { color: #c5c8e9; text-decoration: underline; text-decoration-color: rgba(197,200,233,.35); text-underline-offset: .17em; }

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 580px); }
  .header-inner { min-height: 64px; }
  .nav { gap: .85rem; }
  .nav > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .53rem .72rem; font-size: .73rem; }
  .page-hero { padding: 3.7rem 0 2.7rem; }
  .page-title { font-size: clamp(2rem, 10vw, 3rem); }
  .page-lead { font-size: .9rem; }
  .content { padding-bottom: 4.5rem; }
  .policy-layout, .contact-grid { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: .2rem; padding: .45rem; white-space: nowrap; }
  .side-nav p { display: none; }
  .side-nav a { flex: 0 0 auto; padding: .55rem .66rem; font-size: .72rem; }
  .policy-content { padding: 1.35rem; }
  .policy-section + .policy-section { margin-top: 2rem; padding-top: 2rem; }
  .back-panel { display: block; }
  .back-panel .button-primary { margin-top: .9rem; }
  .footer-inner { display: block; }
  .footer-inner p:last-child { margin-top: .45rem; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; }
}
