@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #111111;
  --muted: #5e5e5e;
  --line: #e5e7eb;
  --soft: #fafaf8;
  --white: #ffffff;
  --gold: #cfa547;
  --gold-soft: #f8f2df;
  --content: 960px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

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

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

.legal-header,
.legal-footer {
  background: var(--ink);
  color: var(--white);
}

.legal-header-inner,
.legal-footer-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-size: 18px;
  font-weight: 900;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #d2d2cd;
  font-size: 12px;
  font-weight: 800;
}

.legal-nav a:hover {
  color: var(--gold);
}

.legal-hero {
  padding-block: 54px 32px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: #966c20;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.4;
}

.lead {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.legal-panel {
  margin-bottom: 64px;
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-panel h2 {
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--gold);
  font-size: 20px;
}

.legal-panel h2:first-child {
  margin-top: 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.8;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.legal-table th {
  width: 30%;
  background: var(--gold-soft);
  text-align: left;
  font-weight: 900;
}

.note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.contact-card {
  min-height: 112px;
  padding: 16px;
  background: var(--gold-soft);
  border: 1px solid #ead8a7;
  border-radius: var(--radius);
}

.contact-card strong,
.contact-card span {
  display: block;
}

.contact-card strong {
  font-size: 14px;
}

.contact-card span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.status {
  color: #966c20;
  font-weight: 900;
}

.legal-footer {
  padding-block: 22px;
  color: #a8a8a3;
  font-size: 11px;
}

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

  .legal-header-inner,
  .legal-footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 16px;
  }

  h1 {
    font-size: 28px;
  }

  .legal-panel {
    padding: 20px;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }
}
