* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Kiwi Maru", "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #111827;
  background: #ffffff;
  line-height: 1.85;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10%;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 6% 8%, rgba(94, 176, 229, 0.55) 0 26px, transparent 27px),
    radial-gradient(circle at 22% 5%, rgba(232, 93, 76, 0.5) 0 9px, transparent 10px),
    radial-gradient(circle at 38% 12%, rgba(249, 115, 22, 0.48) 0 17px, transparent 18px),
    radial-gradient(circle at 52% 7%, rgba(155, 127, 212, 0.5) 0 32px, transparent 33px),
    radial-gradient(circle at 68% 14%, rgba(94, 176, 229, 0.4) 0 11px, transparent 12px),
    radial-gradient(circle at 88% 16%, rgba(249, 115, 22, 0.45) 0 14px, transparent 15px),
    radial-gradient(circle at 46% 24%, rgba(232, 93, 76, 0.45) 0 19px, transparent 20px),
    radial-gradient(circle at 74% 28%, rgba(94, 176, 229, 0.45) 0 24px, transparent 25px);
  animation: legalBgDrift 22s ease-in-out infinite alternate;
}

@keyframes legalBgDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 3%, 0) scale(1.03); }
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 56px;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 20px;
  box-shadow: 0 10px 32px rgba(17, 24, 39, 0.08);
  padding: 32px 28px 36px;
}

.brand {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #0f172a;
  margin-bottom: 8px;
}

.page-title {
  text-align: center;
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 500;
  margin: 0 0 8px;
  line-height: 1.5;
}

.updated {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 28px;
}

.lead {
  font-size: 15px;
  color: #374151;
  margin: 0 0 28px;
}

h2 {
  font-size: 17px;
  font-weight: 500;
  color: #111827;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.95);
}

h2:first-of-type {
  margin-top: 0;
}

p {
  margin: 0 0 14px;
  font-size: 15px;
  color: #374151;
}

ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 15px;
  color: #374151;
}

li {
  margin-bottom: 8px;
}

a {
  color: #d97845;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #d97845;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none !important;
}

.contact-email:hover {
  filter: brightness(1.05);
}

.note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed rgba(209, 213, 219, 0.95);
  line-height: 1.75;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(229, 231, 235, 0.95);
  font-size: 14px;
}

.site-nav a.active {
  color: #111827;
  font-weight: 500;
  pointer-events: none;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  margin-bottom: 16px;
}

.lang-switch a {
  color: #6b7280;
  text-decoration: none;
}

.lang-switch a[aria-current="true"] {
  color: #111827;
  font-weight: 500;
}

.lang-switch a:hover {
  color: #d97845;
}

.lang-switch span {
  color: #d1d5db;
}

.footer {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 0.06em;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 20px 14px 40px;
  }

  .card {
    padding: 24px 18px 28px;
  }
}
