/* スマホ・タブレット: 計算前の案内を入力欄より先に表示する。 */
@media (max-width: 960px) {
  .tedori-simulator__shell:not(.is-calculated) > .tedori-stage { order: -1; }
  .tedori-simulator__shell.is-calculated > .tedori-stage { order: 1; }
  #tedori-simulator-result { scroll-margin-top: 24px; }
}

/* サービス別ハブ10件: カードの読みやすい幅を確保する。 */
.hub-guide__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-guide-card--merpay { --hub-accent: #a5daf8; }
.hub-guide-card--famipay { --hub-accent: #b5e48c; }
.hub-guide-card__title-tail { white-space: nowrap; }
.hub-guide-card__more {
  width: 100%;
  justify-content: space-between;
  white-space: nowrap;
}
@media (min-width: 1200px) {
  .hub-guide > .wrap { max-width: 1200px; }
  .hub-guide__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hub-guide__all { max-width: none; }
}
@media (max-width: 620px) {
  .hub-guide__grid { grid-template-columns: 1fr; }
}
