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

/* 結果の明細（寸法・区分・選び方） */
.sg-spec {
  display: flex;
  flex-direction: column;
  margin-top: var(--sg-space-3, 12px);
  border-top: 1px solid var(--sg-border, #e5e7eb);
}
.sg-spec-row {
  display: flex;
  align-items: baseline;
  gap: var(--sg-space-3, 12px);
  padding: 8px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-spec-row__key {
  flex: 0 0 6.5em;
  font-weight: 600;
  color: var(--sg-fg, #222);
}
.sg-spec-row__val {
  flex: 1 1 auto;
  color: var(--sg-muted, #555);
  line-height: 1.7;
}

/* 全早見表 */
.sg-chart {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px 20px;
}
.sg-chart-group {
  grid-column: 1 / -1;
  margin-top: var(--sg-space-3, 12px);
  padding-bottom: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sg-primary, #3b5bdb);
  border-bottom: 2px solid var(--sg-border, #e5e7eb);
}
.sg-chart-group:first-child {
  margin-top: 0;
}
.sg-chart-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 5px 0;
  border-bottom: 1px solid var(--sg-border, #e5e7eb);
}
.sg-chart-row__key {
  flex: 0 0 7.5em;
  font-weight: 600;
  text-align: left;
}
.sg-chart-row__key--wide {
  flex-basis: 8.5em;
}
.sg-chart-row__val {
  flex: 1 1 auto;
  color: var(--sg-muted, #555);
}
