/**
 * 法務・概要用 テーブルスタイル
 * privacy, law, company ページで使用
 */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-sans);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 2rem;
}

.legal-table th,
.legal-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-border);
}

.legal-table th {
  font-weight: 600;
  color: var(--c-dark);
  width: 25%;
  background-color: var(--c-bg-alt);
}

.legal-table td {
  font-weight: 400;
  color: #333;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
    padding: 1rem;
  }

  .legal-table th {
    border-bottom: none;
    padding-bottom: 0.25rem;
  }

  .legal-table td {
    border-top: none;
    padding-top: 0;
    padding-bottom: 1.25rem;
  }

  .legal-table tr:last-child td {
    padding-bottom: 1rem;
  }
}
