/* ==========================================================================
   marketvista-tokutei.php 専用の暫定スタイル
   style.css 本体を更新せずに反映するための一時ファイルです。
   正式反映の際は、この内容を style.scss / style.css へ移植したうえで
   このファイルと読み込みタグを削除してください。
   ========================================================================== */

/* 1. 一番下の版情報（Vol.4 / 制定・改定日 / 効力発生日）の上に余白を追加 */
.legal .legal-version {
  margin-top: 40px;
}
@media screen and (max-width: 768px) {
  .legal .legal-version {
    margin-top: 28px;
  }
}

/* 2. オプション料金表（出店代行）の可読性改善
   ラベル／内容の左右2カラム構成と幅は他の項目と揃えたまま、
   表組みだけ罫線・配色・文字サイズを調整します。 */

.legal-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
}

.legal-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.7;
}

.legal-table th,
.legal-table td {
  border: 1px solid rgba(17, 51, 102, 0.2);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: #113366;
  word-break: break-word;
}

.legal-table thead th {
  background-color: #113366;
  border: 1px solid rgba(200, 200, 200, 0.5);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.legal-table tbody tr:nth-child(even) {
  background-color: rgba(17, 51, 102, 0.05);
}

.legal-table th:nth-child(1),
.legal-table td:nth-child(1) {
  width: 20%;
}
.legal-table th:nth-child(2),
.legal-table td:nth-child(2) {
  width: 50%;
}
.legal-table th:nth-child(3),
.legal-table td:nth-child(3) {
  width: 30%;
}

@media screen and (max-width: 768px) {
  .legal-table {
    font-size: 12px;
    min-width: 420px;
  }
  .legal-table th,
  .legal-table td {
    padding: 8px 10px;
  }
}
