.legal-page {
  background: #ffffff;
  color: #172224;
  font-family: "SF Pro Display", "Inter", "Noto Sans JP", system-ui, sans-serif;
}

.legal-header {
  border-bottom: 1px solid #dfe8e8;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.legal-header-inner,
.legal-footer-inner {
  width: min(92%, 940px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #172224;
  font-size: 1.04rem;
  font-weight: 760;
}

.legal-brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(15, 159, 154, 0.16);
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #5f6c6f;
  font-size: 0.94rem;
}

.legal-nav a:hover {
  color: #172224;
}

.legal-main {
  width: min(92%, 860px);
  margin-inline: auto;
  padding-block: clamp(48px, 8vw, 84px);
}

.legal-kicker {
  margin-bottom: 12px;
  color: #0f9f9a;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal-main h1 {
  margin: 0 0 10px;
  color: #172224;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.legal-updated {
  margin-bottom: 34px;
  color: #5f6c6f;
}

.legal-notice {
  margin-bottom: 34px;
  padding: 18px;
  border-left: 4px solid #0f9f9a;
  border-radius: 8px;
  background: #eef7f6;
}

.legal-section {
  padding-block: 24px;
  border-top: 1px solid #dfe8e8;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: #172224;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.18;
}

.legal-section p,
.legal-section li,
.legal-notice p {
  color: #5f6c6f;
  font-size: 1rem;
  line-height: 1.72;
}

.legal-section p,
.legal-notice p {
  margin: 0 0 12px;
}

.legal-section p:last-child,
.legal-notice p:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.legal-section strong {
  color: #172224;
}

.legal-section a {
  color: #087b78;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.legal-footer {
  border-top: 1px solid #dfe8e8;
  background: #f5f8f8;
}

.legal-footer-inner p {
  margin: 0;
  color: #5f6c6f;
}

@media (max-width: 700px) {
  .legal-header-inner,
  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
