/* =====================================================================
   style.css — 給与の源泉所得税（月額表・日額表） ツール固有の微調整のみ（sw-）。
   共通スタイルは /_shared/shirugear.css（結果表示は sg-result）。
   ===================================================================== */
.sg-result__value,
.sg-result-row__value { font-variant-numeric: tabular-nums; }
.sg-result-row__value { text-align: right; overflow-wrap: anywhere; }
.sw-result .sg-result__value.sw-msg { font-size: 1.4rem; color: var(--sg-muted); }
.sg-field .sg-help { margin-top: var(--sg-space-1, 4px); }
#dep-field.is-off { opacity: 0.55; }

.sw-explain { text-align: left; margin: var(--sg-space-3, 12px) 0 0; padding-left: 1.2em; font-size: 0.92rem; line-height: 1.75; }
.sw-explain:empty { display: none; }
.sw-explain li { margin: 0.2em 0; }

/* 横に長い表はこの中だけ横スクロール（スマホ幅でページをはみ出さない） */
.sw-scroll { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: var(--sg-space-3, 12px); }
.sw-scroll[hidden] { display: none; }
.sw-table { border-collapse: collapse; font-size: 0.88rem; font-variant-numeric: tabular-nums; min-width: 100%; }
.sw-table caption { text-align: left; font-size: 0.85rem; color: var(--sg-muted); padding-bottom: 6px; }
.sw-table th,
.sw-table td { border: 1px solid var(--sg-border, #e2e6ee); padding: 6px 8px; text-align: right; white-space: nowrap; }
.sw-table thead th { background: var(--sg-surface-2, #f4f6fb); font-weight: 600; }
.sw-table .is-on { background: #fff3bf; color: #5c3c00; font-weight: 700; }
.sg-dark .sw-table .is-on { background: #5c4a00; color: #fff3bf; }
.sw-table--guide th,
.sw-table--guide td { text-align: left; white-space: normal; }
.sw-table--guide td:first-child { white-space: nowrap; font-weight: 600; }

.sw-list { margin: 0.4em 0; padding-left: 1.2em; line-height: 1.8; }
.sw-list li { margin: 0.3em 0; }

.sw-date { max-width: 14em; }
.sw-dep { max-width: 8em; }
