.result-summary {
  margin-top: 0.5rem;
  color: var(--ink-soft);
  font-size: var(--step--1);
  line-height: 1.6;
}

/* 資料ごとの結果。左に資料名、右にW数。その下に表の記載と前提。 */
.maker-results {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.maker-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 1rem;
  align-items: baseline;
  padding-block: 0.7rem;
  border-bottom: 1px solid var(--line);
}

.maker-name {
  font-weight: 600;
}

.maker-name span {
  display: block;
  color: var(--ink-soft);
  font-size: var(--step--1);
  font-weight: 400;
  line-height: 1.5;
}

.maker-watts {
  font-family: var(--font-head);
  font-size: var(--step-1);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.maker-detail,
.maker-cond {
  grid-column: 1 / -1;
  font-size: var(--step--1);
  line-height: 1.6;
}

.maker-detail {
  margin-top: 0.3rem;
}

.maker-cond {
  color: var(--ink-soft);
}

.result-sub {
  margin-top: 1.5rem;
  font-size: var(--step-0);
}

.cost-table thead th,
.heater-table thead th,
.heater-table caption {
  white-space: normal;
}

.cost-table tbody th {
  font-weight: 600;
}

.heater-table .product {
  white-space: normal;
  text-align: left;
  min-width: 11rem;
}

.heater-table td:nth-child(3) {
  white-space: normal;
  max-width: 14em;
}

.heater-table thead th:last-child {
  text-align: left;
}

@media (max-width: 40rem) {
  .cost-table,
  .heater-table {
    font-size: var(--step--1);
  }

  .cost-table th,
  .cost-table td,
  .heater-table th,
  .heater-table td {
    padding: 0.45rem 0.4rem;
  }
}
