/* =====================================================================
   style.css — 郵便料金の早見 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 料金は大きく見せる */
.sg-result__value {
  line-height: 1.5;
  word-break: break-word;
}

/* 結果の内訳（キー: 値） */
.sg-detail {
  display: flex;
  flex-direction: column;
  margin-top: var(--sg-space-3, 12px);
  border-top: 1px solid var(--sg-border, #e5e7eb);
}
.sg-detail-row {
  display: flex;
  align-items: baseline;
  gap: var(--sg-space-3, 12px);
  padding: 7px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-detail-row__key {
  flex: 0 0 6.5em;
  font-weight: 600;
  color: var(--sg-muted, #555);
  font-size: 0.92rem;
}
.sg-detail-row__val {
  flex: 1 1 auto;
  line-height: 1.65;
}

/* 料金早見表：種別ごとのブロック */
.sg-chart {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px 20px;
}
.sg-chart-block {
  border: 1px solid var(--sg-border, #e5e7eb);
  border-radius: 10px;
  padding: 10px 12px;
}
.sg-chart-block__name {
  font-weight: 700;
  margin-bottom: 4px;
}
.sg-chart-block__note {
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--sg-muted, #777);
  line-height: 1.5;
}
.sg-chart-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  border-bottom: 1px dashed var(--sg-border, #e5e7eb);
}
.sg-chart-row:last-of-type {
  border-bottom: none;
}
.sg-chart-row__key {
  flex: 0 0 auto;
  color: var(--sg-muted, #555);
}
.sg-chart-row__val {
  flex: 0 0 auto;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
