:root {
  color-scheme: dark;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP",
    "Hiragino Sans", sans-serif;
  color: #f7fbff;
  background: #07132c;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #07132c;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(135, 95, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(38, 203, 156, 0.18), transparent 28rem),
    linear-gradient(160deg, #0d1d41 0%, #07132c 48%, #130d31 100%);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  content: "";
  filter: blur(80px);
  opacity: 0.24;
  pointer-events: none;
}

body::before {
  top: 20%;
  left: -8rem;
  background: #ffbd45;
}

body::after {
  right: -7rem;
  bottom: 8%;
  background: #ef4cb6;
}

a {
  color: #9ae7ff;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff3a6;
}

.site-shell {
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 234, 138, 0.72);
  border-radius: 0.9rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.28),
    0 8px 30px rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  width: 2.45rem;
  height: 2.45rem;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.page-link,
.language-switch button {
  min-height: 2.5rem;
  border: 1px solid rgba(190, 220, 255, 0.2);
  border-radius: 999px;
  background: rgba(11, 28, 62, 0.7);
  color: #eef7ff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-link {
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
}

.language-switch {
  display: flex;
  padding: 0.2rem;
  border: 1px solid rgba(190, 220, 255, 0.16);
  border-radius: 999px;
  background: rgba(4, 15, 38, 0.52);
}

.language-switch button {
  min-width: 3.1rem;
  padding: 0 0.75rem;
  border-color: transparent;
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  border-color: rgba(255, 230, 114, 0.42);
  background: linear-gradient(135deg, #ffdf62, #ffae32);
  color: #352000;
  box-shadow: 0 5px 16px rgba(255, 173, 49, 0.22);
}

.hero,
.content-card,
.contact-card {
  border: 1px solid rgba(174, 215, 255, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(7, 22, 52, 0.68);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.18),
    0 24px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.8rem);
  border-radius: 2rem;
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -9rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 236, 145, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.4), transparent 3%),
    linear-gradient(135deg, rgba(255, 88, 153, 0.32), rgba(83, 225, 255, 0.18));
  box-shadow:
    0 0 60px rgba(253, 114, 197, 0.14),
    inset 0 0 50px rgba(255, 255, 255, 0.08);
  content: "";
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #ffe884;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  margin: 1.3rem 0 0;
  color: #cbdcf1;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  line-height: 1.78;
}

.update-chip {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(145, 236, 213, 0.24);
  border-radius: 999px;
  background: rgba(42, 164, 132, 0.13);
  color: #bdf8e8;
  font-size: 0.83rem;
  font-weight: 700;
}

.update-chip::before {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #65e4bc;
  box-shadow: 0 0 12px #65e4bc;
  content: "";
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.34fr);
  gap: 1rem;
  align-items: start;
  margin-top: 1rem;
}

.content-card,
.contact-card {
  border-radius: 1.45rem;
}

.content-card {
  padding: clamp(1.3rem, 4vw, 2.4rem);
}

.contact-card {
  position: sticky;
  top: 1rem;
  padding: 1.35rem;
}

.section + .section {
  padding-top: 1.9rem;
  border-top: 1px solid rgba(180, 215, 255, 0.12);
  margin-top: 1.9rem;
}

.section h2,
.contact-card h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  letter-spacing: -0.025em;
}

.section h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
}

.section p,
.section li,
.contact-card p,
.contact-card li {
  color: #cbd8ea;
  line-height: 1.78;
}

.section p {
  margin: 0.65rem 0;
}

.section ul,
.section ol,
.contact-card ul {
  padding-left: 1.25rem;
}

.section li + li,
.contact-card li + li {
  margin-top: 0.45rem;
}

.data-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
  border: 1px solid rgba(174, 215, 255, 0.13);
  border-radius: 1rem;
}

.data-table {
  width: 100%;
  min-width: 38rem;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(174, 215, 255, 0.1);
  color: #cbd8ea;
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.data-table th {
  background: rgba(118, 164, 219, 0.11);
  color: #f7fbff;
  font-size: 0.82rem;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.notice {
  margin: 1rem 0;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(255, 224, 105, 0.22);
  border-radius: 1rem;
  background: rgba(255, 190, 64, 0.08);
  color: #f5e9bd;
  line-height: 1.7;
}

.contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 230, 114, 0.5);
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #ffdf62, #ffae32);
  box-shadow: 0 9px 24px rgba(255, 173, 49, 0.18);
  color: #352000;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-button:hover {
  color: #352000;
  filter: brightness(1.05);
}

.contact-meta {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.contact-meta strong {
  display: block;
  margin-bottom: 0.12rem;
  color: #f7fbff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.faq details {
  border: 1px solid rgba(174, 215, 255, 0.13);
  border-radius: 1rem;
  background: rgba(3, 14, 35, 0.28);
}

.faq details + details {
  margin-top: 0.65rem;
}

.faq summary {
  padding: 1rem 1.1rem;
  color: #f7fbff;
  font-weight: 750;
  cursor: pointer;
}

.faq details p,
.faq details ul {
  margin-top: 0;
  padding-right: 1.1rem;
}

.faq details p {
  padding-left: 1.1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 0;
  color: #8da3c0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  gap: 1rem;
}

[data-language-panel][hidden] {
  display: none;
}

:focus-visible {
  outline: 3px solid #8fe8ff;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100% - 1rem, 42rem);
    padding-top: 0.5rem;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand {
    max-width: 11rem;
  }

  .page-link {
    display: none;
  }

  .hero {
    padding: 2rem 1.25rem 2.4rem;
    border-radius: 1.4rem;
  }

  .hero::after {
    right: -12rem;
    opacity: 0.65;
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
