/* ========================================
   Legal Pages — Privacy Policy & Terms
   ======================================== */

.legal-page {
  padding: 0 0 100px;
  min-height: 100vh;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border-light);
}

.legal-page__title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-page__updated {
  font-size: 13px;
  color: var(--color-text-dim);
  margin-top: 12px;
}

.legal-page__body {
  max-width: 800px;
  margin: 0 auto;
}

/* --- Section --- */
.legal-section {
  margin-bottom: 40px;
}

.legal-section__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
  line-height: 1.4;
  padding-left: 14px;
  border-left: 3px solid var(--color-blue);
}

.legal-section p {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.legal-section ul li {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.9;
  padding: 4px 0 4px 20px;
  position: relative;
}

.legal-section ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-blue);
  opacity: 0.5;
}

/* --- Contact Table --- */
.legal-contact {
  margin-top: 16px;
  padding: 24px;
  background: var(--color-bg-surface);
  border-radius: var(--radius-md);
}

.legal-contact p {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 16px;
}

.legal-contact__table {
  width: 100%;
  border-collapse: collapse;
}

.legal-contact__table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-dim);
  padding: 8px 16px 8px 0;
  white-space: nowrap;
  width: 120px;
  vertical-align: top;
}

.legal-contact__table td {
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 0;
  line-height: 1.6;
}

/* --- Info Table (特商法) --- */
.legal-info-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.legal-info-table tr + tr {
  border-top: 1px solid var(--color-border-light);
}

.legal-info-table th {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  background: var(--color-bg-surface);
  padding: 20px 24px;
  width: 200px;
  vertical-align: top;
  white-space: nowrap;
}

.legal-info-table td {
  font-size: 14px;
  color: var(--color-text);
  padding: 20px 24px;
  line-height: 1.8;
}

.legal-info-table td ul {
  list-style: none;
  padding: 0;
}

.legal-info-table td ul li {
  padding: 4px 0 4px 16px;
  position: relative;
}

.legal-info-table td ul li::before {
  content: '・';
  position: absolute;
  left: 0;
}

/* --- Note --- */
.legal-page__note {
  margin-top: 40px;
  padding: 16px 20px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--radius-sm);
}

.legal-page__note p {
  font-size: 13px;
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .legal-page {
    padding: calc(var(--header-height) + 40px) 0 80px;
  }
  .legal-page__title {
    font-size: 28px;
  }
  .legal-info-table th,
  .legal-info-table td {
    display: block;
    width: 100%;
    padding: 12px 20px;
  }
  .legal-info-table th {
    background: transparent;
    padding-bottom: 0;
    font-size: 13px;
  }
  .legal-info-table td {
    padding-top: 4px;
  }
  .legal-contact__table th,
  .legal-contact__table td {
    display: block;
    width: 100%;
    padding: 4px 0;
  }
  .legal-contact__table th {
    padding-bottom: 0;
  }
}
