:root {
  --navy: #0b1230;
  --ink: #0b1230;
  --blue: #0a4dff;
  --cobalt: #2563eb;
  --mist: #e6f0ff;
  --mist-2: #eef5ff;
  --white: #fff;
  --muted: #536079;
  --line: rgba(11, 18, 48, 0.1);
  --shadow: 0 24px 70px rgba(11, 18, 48, 0.16);
  --shadow-soft: 0 16px 46px rgba(11, 18, 48, 0.1);
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --sans: "Avenir Next", "Inter", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(230, 240, 255, 1), transparent 31rem),
    radial-gradient(circle at 90% 3%, rgba(37, 99, 235, 0.12), transparent 30rem),
    linear-gradient(180deg, #f7fbff 0%, #fff 42%, #eef5ff 100%);
  font-family: var(--sans);
  letter-spacing: 0.02em;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page-wrap { overflow: hidden; position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; position: relative; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 0;
  border-bottom: 1px solid rgba(11, 18, 48, 0.06);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; }
.brand__image { width: 174px; height: auto; flex: 0 0 auto; }
.footer .brand__image { width: 154px; }
.nav { display: flex; align-items: center; gap: 26px; color: #24325a; font-size: 13px; font-weight: 700; }
.nav a { position: relative; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-button {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--white); color: var(--navy);
}
.menu-button span { display: block; width: 17px; height: 2px; margin: 4px auto; background: currentColor; }

/* Button */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 14px;
  background: var(--blue); box-shadow: 0 12px 26px rgba(10, 77, 255, 0.28);
  color: var(--white); font-size: 14px; font-weight: 800; letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.button:hover { transform: translateY(-2px); background: #0043df; box-shadow: 0 18px 32px rgba(10, 77, 255, 0.32); }

/* Page (subpage content) */
.page { flex: 1; padding: 72px 0 96px; }
.page__back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 32px;
  color: var(--muted); font-size: 13px; font-weight: 800;
  transition: color 0.2s ease;
}
.page__back:hover { color: var(--blue); }
.page__back svg { width: 16px; height: 16px; }

.page__head { margin-bottom: 56px; padding-bottom: 36px; border-bottom: 1px solid rgba(11,18,48,0.08); }
.kicker { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.page__head h1 { margin: 14px 0 18px; color: var(--navy); font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); line-height: 1.3; letter-spacing: 0.04em; }
.page__head .lead { margin: 0; color: #354365; font-size: 15px; line-height: 2; }
.page__updated { margin-top: 22px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; }

.page__body { display: grid; gap: 40px; }
.page__section h2 { margin: 0 0 16px; color: var(--navy); font-family: var(--serif); font-size: 22px; line-height: 1.5; letter-spacing: 0.03em; }
.page__section p { margin: 0 0 14px; color: #3d4b6c; font-size: 14px; line-height: 1.95; }
.page__section p:last-child { margin-bottom: 0; }
.page__section ul { margin: 0 0 14px; padding-left: 1.4em; color: #3d4b6c; font-size: 14px; line-height: 1.95; }
.page__section ul li { margin-bottom: 6px; }
.page__section a { color: var(--blue); text-decoration: underline; }
.page__section a:hover { text-decoration: none; }

/* Legal: definition list */
.page__dl { display: grid; gap: 0; margin: 0; border-top: 1px solid rgba(11,18,48,0.12); }
.page__dl-row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 22px 4px; border-bottom: 1px solid rgba(11,18,48,0.08); }
.page__dl-row dt { margin: 0; color: var(--navy); font-size: 14px; font-weight: 900; letter-spacing: 0.04em; }
.page__dl-row dd { margin: 0; color: #3d4b6c; font-size: 14px; line-height: 1.95; }
.page__dl-row dd a { color: var(--blue); text-decoration: underline; }

/* Contact: card */
.page__contact-card {
  margin-bottom: 32px; padding: 28px 32px;
  border: 1px solid rgba(11,18,48,0.08); border-radius: 24px;
  background: rgba(255,255,255,0.84); box-shadow: var(--shadow-soft);
}
.page__contact-label { color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.page__contact-value { margin-top: 10px; font-family: var(--serif); font-size: 24px; font-weight: 800; letter-spacing: 0.02em; }
.page__contact-value a { color: var(--navy); text-decoration: none; }
.page__contact-value a:hover { color: var(--blue); }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid rgba(11,18,48,0.08); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand { display: flex; flex-direction: column; gap: 8px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; color: #465475; font-size: 12px; font-weight: 800; }
.footer__links a { transition: color 0.2s ease; }
.footer__links a:hover { color: var(--blue); }
.copyright { color: var(--muted); font-size: 12px; }

/* Responsive */
@media (max-width: 1040px) {
  .nav {
    position: fixed; inset: 74px 20px auto;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px;
    border: 1px solid var(--line); border-radius: 18px;
    background: rgba(255,255,255,0.96); box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 14px; border-radius: 10px; }
  .nav a:hover { background: var(--mist-2); }
  .nav a::after { display: none; }
  .menu-button { display: inline-block; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1120px); }
  .header__actions .button { display: none; }
  .brand__image { width: 148px; }
  .page { padding: 48px 0 72px; }
  .page__head { margin-bottom: 36px; padding-bottom: 28px; }
  .page__dl-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .page__contact-card { padding: 22px 24px; }
  .page__contact-value { font-size: 20px; }
  .footer__inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 430px) {
  .button { width: 100%; }
}
