/* 表格與按鈕沿用全站元件；這裡只調整五十音格內排列。 */
.kc-table { table-layout: fixed; }
.kc-table caption { font-weight: 700; font-size: 1.15rem; margin: 12px 0 8px; }
.kc-table th, .kc-table td { text-align: center; vertical-align: middle; padding: 5px 2px; }
.kc-table tbody th, .kc-table thead th:first-child { width: 2.7em; }
.kc-table .kc-kana { display: block; width: 100%; padding: 0 2px; font-size: 1.3rem; min-height: 38px; border-color: transparent; }
.kc-r { display: block; font-size: .95rem; }
.kc-table .kc-listen { padding: 0 3px; width: 100%; min-height: 32px; font-size: .85rem; }
[data-script=h] .kc-k, [data-script=k] .kc-h, .kc-hide-r .kc-r { display: none !important; }
.kc-question { font-size: 3rem; text-align: center; margin: 12px 0; }
#kc-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  .site-header, .site-footer, .breadcrumb, main > *:not(#kc-chart), #kc-chart > *:not(#kc-tables), .kc-listen { display: none !important; }
  body { background: white; font-size: 11pt; line-height: 1.2; }
  main.wrap { max-width: none; padding: 0; }
  #kc-chart { border: 0; padding: 0; margin: 0; box-shadow: none; }
  .kc-panel { break-inside: avoid; }
  .kc-table { margin: 0 0 4mm; }
  .kc-table caption { margin: 0 0 3mm; }
  .kc-table th, .kc-table td { border-color: #555; padding: 1mm; }
  .kc-table .kc-kana { min-height: 0; height: auto; border: 0; background: none; color: black; font-size: 13pt; line-height: 1.2; }
  .kc-r { font-size: 10pt; }
}
