/* =====================================================================
   style.css — つみたてNISA 積立シミュレーター ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 結果値・内訳はタブ幅数字で桁を揃える */
.sg-result__value,
.sg-result-row__value {
  font-variant-numeric: tabular-nums;
}

/* 入力直下の補助ラベルを詰める */
.sg-field .sg-help {
  margin-top: var(--sg-space-1);
}

/* 年次推移テーブル */
.nisa-table-wrap {
  margin-top: var(--sg-space-3);
  overflow-x: auto;
}

.nisa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.nisa-table th,
.nisa-table td {
  padding: var(--sg-space-2) var(--sg-space-2);
  text-align: right;
  white-space: nowrap;
  border-bottom: 1px solid var(--sg-border, #e2e6ef);
}

.nisa-table thead th {
  text-align: right;
  font-weight: 600;
  color: var(--sg-muted, #6b7280);
}

.nisa-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 600;
}
