@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700&family=Noto+Sans+JP:wght@500&display=swap');

/* SBI VISAクリプトカード 振り分けページ */
.cryptocard_select_page.select_subpage .page_banner {
  display: none;
}

#cryptocard-select-page {
  /* The global header is absolute (70px high), so 110px leaves about 40px below it. */
  padding: 110px 0 140px;
  background: #fff;
  color: #fff;
}

#cryptocard-select-page,
#cryptocard-select-page * {
  box-sizing: border-box;
}

.cryptocard-select-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.cryptocard-select-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0;
  color: #1550ac;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(23px, 2.066667vw, 31px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.cryptocard-select-title strong {
  padding: 0 6px;
  color: #fff;
  background: #1550ac;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .cryptocard-select-title-text {
    white-space: nowrap;
  }
}

.cryptocard-select-title-cards {
  display: flex;
  flex: 0 0 146px;
  width: 146px;
  height: 100px;
  align-items: center;
  gap: 20px;
}

.cryptocard-select-title-cards img {
  width: 63px;
  height: 100px;
}

.cryptocard-select-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.cryptocard-select-option {
  display: flex;
  min-height: 560px;
  padding: 46px 50px 40px;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}

.cryptocard-select-option--personal {
  background: #1550ac;
}

.cryptocard-select-option--business {
  background: #a58d69;
}

.cryptocard-select-option-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.cryptocard-select-option-icon {
  display: block;
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
}

.cryptocard-select-option-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.cryptocard-select-option-heading {
  display: block;
  font-family: 'NHaasGroteskDSPro-65Md', 'Noto Sans JP', sans-serif;
  font-size: clamp(29px, 2.666667vw, 40px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

.cryptocard-select-option-description {
  display: block;
  min-height: 48px;
  margin-top: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
}

.cryptocard-select-option-cta {
  display: flex;
  width: 100%;
  min-height: 70px;
  margin-top: auto;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #fff;
  background: linear-gradient(#4b8ff8, #1961d1);
  box-shadow: 0 2px 2px 2px rgb(0 0 0 / 10%);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 500;
  line-height: 1.458333;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease;
}

.cryptocard-select-option-cta:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.1);
}

#cryptocard-select-page .cryptocard-select-option-cta::after,
#cryptocard-select-page .cryptocard-select-option-cta:hover::after {
  display: none;
  content: none;
}

.cryptocard-select-option-campaign,
.cryptocard-select-option-campaign:hover,
.cryptocard-select-option-campaign:focus {
  display: block;
  width: 194px;
  margin: 16px auto 0;
  color: #fff;
  font-family: 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 24px;
  text-align: center;
  text-decoration: underline;
  white-space: nowrap;
}

#cryptocard-select-page .cryptocard-select-option-campaign::after,
#cryptocard-select-page .cryptocard-select-option-campaign:hover::after {
  display: none;
  content: none;
}

.cryptocard-select-option--business .cryptocard-select-option-cta {
  background: linear-gradient(#c1ad90, #957f5e);
}

.cryptocard-select-sp-break {
  display: none;
}

@media (min-width: 769px) {
  /* B案の1500pxフレームに合わせ、見出し31pxを基準に各寸法を換算する。 */
  .cryptocard-select-title {
    padding-left: 15px;
  }

  .cryptocard-select-title-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }

  .cryptocard-select-title strong {
    display: inline-flex;
    width: 10.645161em;
    height: 1.258065em;
    padding: 0 5px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    line-height: .967742;
    white-space: nowrap;
  }

  .cryptocard-select-title-product {
    font-size: .935484em;
    letter-spacing: -.06em;
  }

  .cryptocard-select-option-icon {
    position: relative;
    left: 5px;
    margin-top: -10px;
    margin-bottom: -6px;
  }

  .cryptocard-select-option-heading > span {
    display: block;
    line-height: 1.5;
  }

  .cryptocard-select-option-heading > span + br {
    display: none;
  }

  .cryptocard-select-option-heading > span:last-child {
    /* Figmaでは高さ60pxのテキストを46px間隔で配置している。 */
    margin-top: -.35em;
  }

  .cryptocard-select-option-campaign {
    position: relative;
    left: 5px;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .cryptocard-select-option {
    padding-right: 30px;
    padding-left: 30px;
  }

  .cryptocard-select-option-icon {
    /* 中間幅ではラベルの直下に置き、横方向に近づいても重ならないようにする。 */
    margin-top: 0;
  }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .cryptocard-select-title-text {
    flex-wrap: wrap;
    justify-content: center;
  }

  .cryptocard-select-title-text > span {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  #cryptocard-select-page {
    /* B案SP（375px）: カード画像y102、最後の枠の下38px。 */
    padding: 102px 0 38px;
  }

  .cryptocard-select-inner {
    width: min(calc(100% - 40px), 560px);
  }

  .cryptocard-select-title {
    display: block;
    font-size: 27px;
    line-height: 39px;
    text-align: left;
  }

  .cryptocard-select-title-cards {
    margin: 0 auto 16px;
    transform: translateX(5.5px);
  }

  .cryptocard-select-title-text {
    display: block;
    width: calc(100% + 18px);
    margin-left: -2px;
  }

  .cryptocard-select-title-text > span {
    display: block;
  }

  .cryptocard-select-title-text > span:last-child {
    margin-left: 1px;
  }

  .cryptocard-select-title strong {
    display: flex;
    width: 287px;
    max-width: 100%;
    min-height: 34px;
    margin: 0 0 -3px 2px;
    padding: 0 5px;
    align-items: flex-start;
    font-size: 29px;
    line-height: 30px;
    white-space: nowrap;
  }

  .cryptocard-select-title-product {
    margin-top: 1px;
    font-size: 24px;
    letter-spacing: -.06em;
  }

  .cryptocard-select-options {
    display: flex;
    gap: 20px;
    margin-top: 13px;
    flex-direction: column;
  }

  .cryptocard-select-option {
    min-height: 480px;
    padding: 20px 30px 29px;
  }

  .cryptocard-select-option--business {
    min-height: 500px;
  }

  .cryptocard-select-option > * {
    flex-shrink: 0;
  }

  .cryptocard-select-option-label {
    font-size: 20px;
  }

  .cryptocard-select-option-icon {
    width: 120px;
    height: 120px;
    margin: 20px auto 21px;
  }

  .cryptocard-select-option-heading {
    font-size: 30px;
  }

  .cryptocard-select-option-heading > span {
    display: block;
    line-height: 45px;
  }

  .cryptocard-select-option-heading > span + br {
    display: none;
  }

  .cryptocard-select-option-heading > span:last-child {
    margin-top: -7px;
  }

  .cryptocard-select-option-description {
    margin-top: 8px;
    font-size: 15px;
    line-height: 24px;
  }

  .cryptocard-select-option--business .cryptocard-select-option-description {
    margin-top: 5px;
  }

  .cryptocard-select-option-cta {
    min-height: 50px;
    margin-top: 17px;
    padding: 12px 10px;
    font-size: 18px;
    line-height: 26px;
  }

  .cryptocard-select-option--business .cryptocard-select-option-cta {
    margin-top: 16px;
  }

  .cryptocard-select-option-campaign,
  .cryptocard-select-option-campaign:hover,
  .cryptocard-select-option-campaign:focus {
    margin-top: 20px;
    line-height: 15px;
  }

  .cryptocard-select-option--business .cryptocard-select-option-campaign {
    margin-top: 24px;
  }

  .cryptocard-select-sp-break {
    display: inline;
  }
}
