/* assets/legal-table.css
   特定商取引法に基づく表記（tokushoho.php）とプライバシーポリシー（privacy.php）の共通の見た目（SPEC-099）。
   ユーザー「特商法みたいな表にして」→ 2つのページで同じ表を使う。**指定はここ1か所だけ**（ページごとに書かない）
   インクルード:
     <link rel="stylesheet" href="<?= SITE_URL ?>/assets/legal-table.css">
*/

/* SPEC-140: ほかの公開ページ（料金表・問い合わせ・ログイン）と同じく body の余白を0にして、ヘッダー（メニューのボタン）の位置をそろえる。
   本文が画面の端にくっつかないよう、左右の余白はほかのページの .page-wrap と同じ 16px */
body { margin: 0; }
.page-wrap { padding: 0 16px; }
.page-wrap h1 {
  font-size: 22px;
  margin: 24px 0 16px;
}
.ts-note {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 16px;
}
.ts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.ts-table th,
.ts-table td {
  border: 1px solid #dee2e6;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.ts-table th {
  width: 220px;
  background: #f8f9fa;
  font-weight: 600;
  white-space: nowrap;
}
/* 表の中の箇条書き（プライバシーポリシーの利用目的など） */
.ts-table ul {
  margin: 4px 0 0;
  padding-left: 1.5em;
}
/* ★ユーザーが埋める空欄。埋まっていないことが見て分かるようにしてある */
.ts-blank {
  display: inline-block;
  min-width: 8em;
  border-bottom: 1px solid #adb5bd;
}
.ts-sub {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #dee2e6;
}
.ts-sub-title {
  font-weight: 600;
  margin-bottom: 4px;
}
.ts-contact {
  font-size: 14px;
  margin-bottom: 24px;
}
/* 画面が狭いときは見出しを上に積む（表が潰れないように） */
@media (max-width: 600px) {
  .ts-table th,
  .ts-table td {
    display: block;
    width: auto;
    white-space: normal;
  }
  .ts-table th {
    border-bottom: none;
  }
}
