/* v20 — final copy grouping, line breaks and type consistency for the price page */

body.page-price .hero__content {
  width: min(1080px, calc(100vw - max(96px, calc(100vw - 1240px)))) !important;
}

body.page-price .hero__desc span {
  display: block;
}

body.page-price .price-unit-table thead th {
  font-weight: 700;
}

body.page-price .price-unit-notes {
  margin-top: 22px;
}

body.page-price .price-unit-notes p + p {
  margin-top: 5px;
}

body.page-price .compact-head > p {
  max-width: none;
  flex: 0 0 auto;
}

body.page-price .funding .sec-head__note {
  font-family: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", serif !important;
  font-style: normal;
  font-weight: 400;
  font-feature-settings: "palt" 1;
}

@media (min-width: 701px) {
  body.page-price .hero__desc span,
  body.page-price .compact-head > p {
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  body.page-price .hero__content {
    width: calc(100% - (2 * max(28px, calc((100vw - 920px) / 2)))) !important;
  }

  body.page-price .compact-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 700px) {
  body.page-price .hero__content {
    width: calc(100% - 32px) !important;
  }

  body.page-price .hero__desc span,
  body.page-price .compact-head > p {
    white-space: normal;
  }

  body.page-price .compact-head > p {
    font-size: clamp(11px, 3vw, 13px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  body.page-price .price-unit-notes {
    margin-top: 18px;
  }
}
