@charset "UTF-8";
/* ===== 記事内の表：横幅いっぱい・左揃え・スマホは横スクロール ===== */
table {
  width: 100% !important;
  border-collapse: collapse;
}
table th,
table td {
  text-align: left !important;
  vertical-align: top;
}

/* スマホ（画面幅768px以下）：表を横スクロールさせる */
@media screen and (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table tbody {
    display: table;
    width: 100%;
  }
  table th,
  table td {
    min-width: 7em;
  }
}
/* ===== hikaku-table スマホ表示の修正（2026-11-25）：見出し行と中身の列ずれ・長文列の縦長を防ぐ ===== */
@media screen and (max-width: 768px) {
  .hikaku-table {
    display: table !important;
    width: max-content !important;
    min-width: 100%;
  }
  .hikaku-table tbody {
    display: table-row-group !important;
    width: auto !important;
  }
  .hikaku-table td {
    min-width: 6em;
    max-width: 15em;
  }
  .hikaku-table tbody th {
    white-space: normal !important;
    min-width: 5em;
    max-width: 11em;
  }
}