/* 過去資料のデスクトップ表示を保ち、狭い画面だけ幅を調整する。 */
.archive-page img { max-width: 100%; height: auto; }
.archive-page iframe { max-width: 100%; box-sizing: border-box; }
.archive-page hr { max-width: 100%; box-sizing: border-box; }
.archive-page [id], .archive-page a[name] { scroll-margin-top: 16px; }
@media (max-width: 768px) {
  .archive-page { margin: 0; padding: 8px; box-sizing: border-box; overflow-wrap: anywhere; }
  .archive-page table { width: 100% !important; max-width: 100%; table-layout: fixed; box-sizing: border-box; }
  .archive-page td, .archive-page th { width: auto !important; min-width: 0; overflow-wrap: anywhere; box-sizing: border-box; }
  .archive-page td[height] { height: auto !important; }
  .archive-page img { object-fit: contain; }
  .archive-page pre { white-space: pre-wrap; overflow-wrap: anywhere; }
  .archive-page iframe { width: 100%; }
  .archive-page table:has(> tbody > tr > td[rowspan="6"]),
  .archive-page table:has(> tbody > tr > td[rowspan="6"]) > tbody,
  .archive-page table:has(> tbody > tr > td[rowspan="6"]) > tbody > tr,
  .archive-page table:has(> tbody > tr > td[rowspan="6"]) > tbody > tr > td { display: block; width: 100% !important; }
}
