@charset "utf-8";
/* ============================================================================
 * プライバシーポリシーのページ（「設定 → プライバシー」で選んだ固定ページ）だけのスタイル
 *   読み込み: functions-woocommerce.php の ats_enqueue_privacy_policy_style()
 *   管理画面のブロック（段落・見出し・リスト・テーブル）を、既存の固定ページの見た目に合わせる。
 *   F&I CREATE Shop デザインシステム準拠：罫線 #e5e7e8、見出しセル #f6f7f8、文字 #444 / #6b7177
 * ========================================================================== */

/* 本文：既存の固定ページより少し小さく、行間を詰めて読みやすく */
#contents article .contentMain p,
#contents article .contentMain li {
  font-size: 15px;
  line-height: 1.9;
}
#contents article .contentMain h2 {
  margin-top: 56px;
}

/* テーブル（事業者情報・取得する情報・委託先・Cookie・窓口） */
#contents article .contentMain figure.wp-block-table {
  margin: 0;
  overflow-x: auto;
}
#contents article .contentMain table {
  width: 100%;
  margin: 0 0 28px; /* 表のすぐ下に文章が続くときに詰まらないように（クラシックエディターの表にも効く） */
  border-collapse: collapse;
  border-top: 1px solid #e5e7e8;
  font-size: 14px;
  line-height: 1.7;
  table-layout: auto;
}
#contents article .contentMain table th,
#contents article .contentMain table td {
  padding: 14px 18px;
  border: none;
  border-bottom: 1px solid #e5e7e8;
  text-align: left;
  vertical-align: top;
  color: #444;
}
/* 見出し行（項目・内容 など） */
#contents article .contentMain table thead th,
#contents article .contentMain table thead td {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: .04em;
  color: #6b7177;
  background: none;
}
/* 1列目（項目名）は見出しセルとして、幅を取り、淡い地にする */
#contents article .contentMain table tbody td:first-child,
#contents article .contentMain table tbody th:first-child {
  width: 30%;
  min-width: 9em;
  font-weight: bold;
  background: #f6f7f8;
}
#contents article .contentMain .wp-block-table thead {
  border-bottom: 1px solid #e5e7e8;
}
#contents article .contentMain .wp-block-table figcaption {
  font-size: 12px;
  color: #6b7177;
}

/* 文中のリンク */
#contents article .contentMain a {
  color: #0f7bb0;
  text-decoration: underline;
  word-break: break-all;
}

/* スマホ：表を縦に積む（項目名の下に内容） */
@media screen and (max-width: 600px) {
  #contents article .contentMain table thead {
    display: none;
  }
  #contents article .contentMain table,
  #contents article .contentMain table tbody,
  #contents article .contentMain table tr,
  #contents article .contentMain table td,
  #contents article .contentMain table th {
    display: block;
    width: 100%;
  }
  #contents article .contentMain table tr {
    border-bottom: 1px solid #e5e7e8;
  }
  #contents article .contentMain table th,
  #contents article .contentMain table td {
    border-bottom: none;
    padding: 10px 14px;
  }
  #contents article .contentMain table tbody td:first-child,
  #contents article .contentMain table tbody th:first-child {
    width: 100%;
    min-width: 0;
  }
}
