/* =====================================================================
   style.css — 服装の目安 ツール固有の微調整のみ。
   共通スタイルは /_shared/shirugear.css に任せる（結果表示は sg-result）。
   ===================================================================== */

/* 結果の見出し（服装サマリ）は長い文言が入るので少し小さめに */
.sg-result__value {
  font-size: clamp(1.4rem, 5vw, 2rem);
  line-height: 1.3;
}

/* 内訳の値は左寄せの折り返しを許容 */
.sg-result-row__value {
  text-align: right;
}

/* 気温プリセット（クイック入力）ボタン群 */
.sg-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.sg-presets__label {
  font-size: 0.85rem;
  color: var(--sg-muted, #777);
  margin-right: 2px;
}
.sg-preset {
  font: inherit;
  font-size: 0.85rem;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--sg-border, #d5d8e0);
  background: var(--sg-surface, #fff);
  color: var(--sg-text, #222);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s, border-color 0.12s;
}
.sg-preset:hover {
  border-color: var(--sg-accent, #3b5bdb);
}
.sg-preset:active {
  background: var(--sg-accent-weak, #eef1fb);
}
.sg-preset:focus-visible {
  outline: 2px solid var(--sg-accent, #3b5bdb);
  outline-offset: 2px;
}

/* 体感の補足ブロック */
.sg-feel {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--sg-border, #d5d8e0);
  border-radius: 10px;
  background: var(--sg-surface, #fafbff);
}
.sg-feel__head {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 0.95rem;
}
.sg-feel__list {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--sg-text, #333);
}
.sg-feel__list li + li {
  margin-top: 4px;
}

/* 気温別 服装早見表 */
.sg-guide {
  margin-top: 20px;
}
.sg-guide__head {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 600;
}
.sg-guide__scroll {
  overflow-x: auto;
}
.sg-guide__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.5;
}
.sg-guide__table th,
.sg-guide__table td {
  border: 1px solid var(--sg-border, #d5d8e0);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.sg-guide__table thead th {
  background: var(--sg-accent-weak, #eef1fb);
  white-space: nowrap;
}
.sg-guide__table tbody th {
  white-space: nowrap;
  font-weight: 600;
  background: var(--sg-surface, #fafbff);
}
.sg-guide__note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--sg-muted, #777);
}
