:root {
  --brown: #2b1d17;
  --brown-soft: #5d493f;
  --olive: #6b705c;
  --rose: #d8a6a1;
  --clay: #a85d4e;
  --gold: #b89b5e;
  --cream: #f2e8dc;
  --cream-light: #fbf4ea;
  --paper: #fffaf4;
  --border: rgba(43, 29, 23, 0.13);
  --shadow: rgba(43, 29, 23, 0.10);
  --title: "Cormorant Garamond", Georgia, serif;
  --body: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background:
    radial-gradient(circle at 8% 5%, rgba(216, 166, 161, 0.16), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(184, 155, 94, 0.14), transparent 27%),
    var(--cream-light);
  font-family: var(--body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--border);
}

.legal-hero::before,
.legal-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.legal-hero::before {
  width: 420px;
  height: 420px;
  top: -250px;
  right: -100px;
  border: 1px solid rgba(184, 155, 94, 0.24);
}

.legal-hero::after {
  width: 250px;
  height: 250px;
  bottom: -170px;
  left: -70px;
  border: 1px solid rgba(107, 112, 92, 0.18);
}

.legal-hero-inner {
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--brown);
}

h1,
h2 {
  font-family: var(--title);
}

h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 7vw, 5.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(43, 29, 23, 0.7);
  font-size: clamp(0.98rem, 1.8vw, 1.08rem);
}

.legal-section {
  padding: 88px 0 108px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.74fr) minmax(0, 1.8fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: 112px;
}

.aside-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 250, 244, 0.62);
  box-shadow: 0 24px 70px var(--shadow);
}

.aside-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.aside-card h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.05;
}

.aside-card p {
  margin: 18px 0 0;
  color: rgba(43, 29, 23, 0.68);
  font-size: 0.88rem;
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--clay);
  font-size: 0.86rem;
  font-weight: 700;
}

.disclosure-list {
  margin: 0;
  border-top: 1px solid var(--border);
}

.disclosure-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1.15fr);
  gap: 34px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.disclosure-row dt {
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.65;
}

.disclosure-row dd {
  margin: 0;
  color: rgba(43, 29, 23, 0.76);
  font-size: 0.93rem;
  overflow-wrap: anywhere;
}

.disclosure-row dd strong {
  color: var(--brown);
  font-weight: 700;
}

.disclosure-row dd a {
  color: var(--clay);
  text-decoration: underline;
  text-decoration-color: rgba(168, 93, 78, 0.3);
  text-underline-offset: 3px;
}

.muted {
  color: rgba(43, 29, 23, 0.58);
  font-size: 0.88em;
}

.compact-list {
  margin: 0;
  padding-left: 1.2em;
}

.compact-list li + li {
  margin-top: 7px;
}

.policy-block + .policy-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed rgba(43, 29, 23, 0.14);
}

.policy-block h3 {
  margin-bottom: 8px;
  font-family: var(--body);
  font-size: 0.93rem;
  font-weight: 700;
}

.policy-block p {
  margin: 0;
}

.policy-block p + p {
  margin-top: 8px;
}

.notice-card {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  padding: 22px 24px;
  border: 1px solid rgba(184, 155, 94, 0.28);
  border-radius: 20px;
  background: rgba(184, 155, 94, 0.09);
}

.notice-mark {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--title);
  font-size: 1.5rem;
  line-height: 1;
}

.notice-card strong {
  display: block;
  margin-bottom: 5px;
  font-size: 0.88rem;
}

.notice-card p {
  margin: 0;
  color: rgba(43, 29, 23, 0.65);
  font-size: 0.84rem;
}

.updated {
  margin: 22px 0 0;
  color: rgba(43, 29, 23, 0.48);
  font-size: 0.75rem;
  text-align: right;
}

@media (max-width: 860px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
  }

  .aside-card {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .legal-hero {
    padding: 64px 0 54px;
  }

  .legal-section {
    padding: 58px 0 74px;
  }

  .disclosure-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 23px 0;
  }

  .disclosure-row dt {
    color: var(--olive);
  }

  .notice-card {
    padding: 19px 18px;
  }

}

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