/* 全ページ共通の読みやすさ調整（2026-10 追加、tools/build_site.py が各ページに読み込ませる）。
   元のデザインは変えず、画面からのはみ出しと、スマホでの読みにくさだけを直す。 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { overflow-wrap: anywhere; }
img, video, iframe, embed, object { max-width: 100%; height: auto; }
pre { white-space: pre-wrap; }

@media (max-width: 760px) {
  body { margin: 8px 12px; line-height: 1.7; }
  /* 「幅1369」などの固定幅を外し、表は横にスクロールできるようにする */
  table, td, th, col { width: auto !important; }
  table { display: block; max-width: 100%; overflow-x: auto; }
  blockquote { margin-left: 8px; margin-right: 0; }
}

/* 更新を終えた区分のページ先頭に付ける帯（2026-10-25 追加） */
.qmss-archive-note {
  margin: 0 0 12px; padding: 6px 10px;
  background: #fff6d6; border: 1px solid #e0c060; color: #4a3b00;
  font-size: 90%; line-height: 1.6;
}
.qmss-archive-note a { color: #0645ad; }

/* 旧 <center> の置き換え（2026-10-25 追加）。中の表も中央に寄せる */
.qmss-center { text-align: center; }
.qmss-center table { margin-left: auto; margin-right: auto; }
