/* Text-based purchase cards, shared by the standard and LINE coupon checkout. */
.secure-checkout-page .secure-checkout-plan-grid--compact {
  width: min(520px, 100%);
  gap: clamp(8px, 2.5vw, 14px);
}

.secure-checkout-page .secure-checkout-plan-grid--compact .secure-checkout-plan-card--text {
  display: block;
  min-width: 0;
  min-height: 0;
  padding: 5px;
  border: 2px solid #e0e5e9;
  border-radius: 10px;
  background: #fff;
  color: #19232d;
  box-shadow: 0 3px 12px rgb(25 35 45 / 5%);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif;
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.secure-checkout-page .secure-checkout-plan-grid--compact .secure-checkout-plan-card--text:hover {
  transform: none;
  border-color: #d79c9c;
}

.secure-checkout-page .secure-checkout-plan-grid--compact .secure-checkout-plan-card--text.is-selected {
  border-color: #c92323;
  box-shadow: 0 0 0 3px rgb(201 35 35 / 10%), 0 4px 14px rgb(25 35 45 / 6%);
}

.secure-checkout-page .secure-checkout-plan-grid--compact .secure-checkout-plan-card--text:focus-visible {
  outline: 3px solid #245b85;
  outline-offset: 3px;
}

.secure-checkout-plan-card--text span,
.secure-checkout-plan-card--text small {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: normal;
}

.secure-checkout-plan-card--text .checkout-plan__body {
  display: grid;
  width: 100%;
  justify-items: stretch;
  gap: 7px;
  padding: 8px clamp(5px, 1.6vw, 12px) 9px;
  border: 1px solid #e4c898;
  border-radius: 4px;
}

.secure-checkout-plan-card--text .checkout-plan__title {
  padding-bottom: 7px;
  border-bottom: 1px solid #f0dfc2;
  font-size: clamp(18px, 5vw, 26px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.secure-checkout-plan-card--text .checkout-plan__title b {
  margin-right: 2px;
  font-family: "Times New Roman", serif;
  font-size: 1.4em;
  font-weight: 700;
}

.secure-checkout-plan-card--text .checkout-plan__regular {
  display: grid;
  gap: 1px;
  color: #5e6268;
  line-height: 1.2;
}

.secure-checkout-plan-card--text .checkout-plan__regular small {
  font-family: sans-serif;
  font-size: 10px;
}

.secure-checkout-plan-card--text .checkout-plan__regular del {
  font-size: clamp(16px, 4.5vw, 20px);
  text-decoration-color: #ca7777;
  text-decoration-thickness: 1px;
}

.secure-checkout-plan-card--text .checkout-plan__price {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2px;
  color: #c50913;
  white-space: nowrap;
}

.secure-checkout-plan-card--text .checkout-plan__amount {
  color: inherit;
  font-family: "Times New Roman", serif;
  font-size: clamp(28px, 9.8vw, 56px);
  font-weight: 700;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: none;
}

.secure-checkout-plan-card--text .checkout-plan__unit {
  display: grid;
  gap: 2px;
  padding-bottom: 2px;
  font-size: clamp(14px, 3.8vw, 19px);
  font-weight: 700;
  line-height: 1;
}

.secure-checkout-plan-card--text .checkout-plan__unit small {
  color: #5e6268;
  font-family: sans-serif;
  font-size: 8px;
  font-weight: 400;
}

.secure-checkout-plan-card--text .checkout-plan__saving {
  display: block;
  padding: 4px 2px;
  border-radius: 3px;
  background: #c50913;
  color: #fff;
  font-size: clamp(15px, 4.2vw, 21px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
