@charset "UTF-8";

/* キャンペーン固有の Figma デザイン。PC は 768px 以上、SP は 767px 以下。 */
.chftry-campaign {
  --chftry-line: #0a2954;
  --chftry-accent: #004bbc;
  --chftry-red: #fd0015;
  --chftry-tint: #fff8ec;
}

.chftry-main {
  color: var(--ta-color-text);
}

.chftry-main *,
.chftry-main *::before,
.chftry-main *::after {
  box-sizing: border-box;
}

.chftry-main :where(p, h1, h2, h3, dl, dd, ol, ul, figure) {
  margin: 0;
}

.chftry-main img {
  display: block;
  max-width: 100%;
}

.chftry-main .ta-text-body {
  color: var(--ta-color-text);
}

.chftry-body {
  color: var(--ta-color-text);
  font: var(--ta-type-body-sp);
  line-height: 1.6;
}

.chftry-mainvisual img {
  width: 100%;
  height: auto;
}

.chftry-content.ta-section__inner {
  width: min(calc(100% - 32px), var(--content-width));
  max-width: none;
  margin: 0 auto;
  padding: 0 0 80px;
}

.chftry-intro {
  padding-top: 40px;
  text-align: center;
}

.chftry-intro__title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.chftry-intro__lead {
  color: var(--chftry-line);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.chftry-explain,
.chftry-trade,
.chftry-overview,
.chftry-swap,
.chftry-benefit,
.chftry-notes {
  margin-top: 80px;
}

.chftry-section-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

.chftry-section-heading > img {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 2px;
}

.chftry-section-title {
  flex: 0 1 auto;
  max-width: 100%;
  color: var(--chftry-line);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: anywhere;
}

.chftry-explain__text,
.chftry-trade__text,
.chftry-overview__lead {
  margin-top: 40px;
}

.chftry-panel-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(100%, 700px);
  min-height: 72px;
  margin: 40px auto 0;
  padding: 20px 16px;
  border: 1px solid var(--chftry-red);
  border-left-width: 5px;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
}

.chftry-panel-link .ta-h3 {
  min-width: 0;
  color: var(--chftry-accent);
  line-height: 1.3;
  text-align: center;
}

.chftry-panel-link:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.chftry-panel-link:focus-visible,
.chftry-cta:focus-visible {
  outline: 3px solid var(--chftry-accent);
  outline-offset: 3px;
}

.chftry-arrow-box {
  display: flex;
  flex: 0 0 14px;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 30px;
}

/* SVGの線の張り出しを含む33×17pxを保持。 */
.chftry-arrow-box img {
  flex: 0 0 33px;
  width: 33px;
  max-width: none;
  height: 17px;
  transform: rotate(-90deg);
}

.chftry-simulation {
  width: min(100%, 890px);
  margin: 40px auto 0;
}

.chftry-simulation__title {
  margin-bottom: 20px;
  color: var(--chftry-line);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.chftry-simulation img {
  width: 100%;
  height: auto;
}

.chftry-simulation figcaption {
  margin-top: 12px;
}

.chftry-cards {
  display: grid;
  gap: 10px;
  width: min(100%, 920px);
  margin: 40px auto 0;
}

.chftry-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  background: var(--chftry-tint);
  text-align: center;
}

.chftry-card__name {
  padding: 8px 16px;
  background: var(--chftry-red);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.chftry-card__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  padding: 16px;
}

.chftry-card__label {
  color: var(--chftry-line);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.chftry-cards__note {
  width: min(100%, 920px);
  margin: 12px auto 0;
}

.chftry-card__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--chftry-red);
  white-space: nowrap;
}

.chftry-card__amount strong {
  font-family: var(--ta-font-family-en);
  font-size: 64px;
  font-style: italic;
  line-height: 1;
}

.chftry-card__amount span {
  font-size: 24px;
  font-weight: 700;
}

.chftry-terms {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.chftry-terms__term.ta-h2 {
  padding-left: 20px;
  border-left: 4px solid var(--chftry-line);
  color: var(--chftry-line);
}

.chftry-terms__description {
  margin-top: 20px;
}

.chftry-terms__emphasis {
  margin-top: 24px;
}

.chftry-conditions {
  margin-top: 24px;
  padding-left: 1.5em;
}

.chftry-conditions li + li,
.chftry-examples li + li {
  margin-top: 12px;
}

.chftry-examples {
  padding: 0;
  list-style: none;
}

.chftry-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: min(100%, 526px);
  min-height: 77px;
  margin: 80px auto 0;
  padding: 14px 20px;
  border-radius: 71px;
  background: linear-gradient(180deg, #c18c2f 0%, #d7aa57 30%, #b57c20 60.096%, #8f5e16 100%);
  color: #fff;
  text-decoration: none;
}

.chftry-cta__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.chftry-cta__arrow {
  flex: 0 0 auto;
}

.chftry-notes__body {
  margin-top: 40px;
}

.chftry-notes__body ol {
  padding-left: 1.5em;
}

.chftry-notes__body li + li {
  margin-top: 12px;
}

.chftry-notes__steps {
  margin-top: 24px;
}

.chftry-notes__swap {
  margin-top: 40px;
}

.chftry-notes__swap-title {
  font-weight: 700;
}

.chftry-notes__swap ol {
  margin-top: 16px;
}

.chftry-swap__card {
  width: min(100%, 700px);
  margin: 40px auto 0;
  padding: 24px 12px;
  border: 2px solid #ff1950;
  border-radius: 10px;
  background: var(--chftry-tint);
}

.chftry-swap__product,
.chftry-swap__flags,
.chftry-swap__value {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chftry-swap__product {
  flex-wrap: wrap;
  gap: 12px;
}

.chftry-swap__flags {
  gap: 5px;
}

.chftry-swap__flags img {
  width: 72px;
  height: auto;
}

.chftry-swap__pair {
  color: var(--chftry-line);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.chftry-swap__value {
  flex-wrap: wrap;
  gap: 0 12px;
  margin-top: 10px;
}

.chftry-swap__label {
  color: var(--chftry-line);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.chftry-swap__amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--chftry-red);
  white-space: nowrap;
}

.chftry-swap__amount strong {
  font-family: var(--ta-font-family-en);
  font-size: 64px;
  font-style: italic;
  line-height: 1;
}

.chftry-swap__amount span {
  font-size: 28px;
  font-weight: 700;
}

.chftry-swap__caption {
  width: min(100%, 700px);
  margin: 12px auto 0;
}

.chftry-explain {
  padding: 40px 20px;
  border-radius: 10px;
  background: var(--chftry-tint);
}

.chftry-explain__title {
  color: #777;
}

.chftry-explain .chftry-explain__text {
  line-height: 1.2;
}

.chftry-formula {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

.chftry-formula__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 268px);
  min-height: 177px;
  margin-top: 54px;
  padding: 52px 10px 10px;
  border: 1.5px solid #000a4a;
  border-radius: 14px;
  color: #000a4a;
  font-size: 20px;
  line-height: 1.35;
  text-align: center;
}

.chftry-formula__item strong {
  font-size: 25px;
}

.chftry-formula__icon {
  position: absolute;
  top: -54px;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: #000a4a;
  transform: translateX(-50%);
}

.chftry-formula__icon span {
  position: absolute;
  top: 42%;
  left: 62%;
  color: #08294c;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  line-height: 31px;
  transform: translateX(-50%);
}

.chftry-formula__multiply {
  color: #08294c;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 768px) {
  .chftry-swap .chftry-panel-link {
    gap: 12px;
  }

  .chftry-swap .chftry-panel-link .ta-h3 {
    white-space: nowrap;
  }

  .chftry-body {
    font-size: 20px;
    line-height: 1.5;
  }

  .chftry-content.ta-section__inner {
    width: min(calc(100% - 80px), var(--content-width));
    padding-bottom: 120px;
  }

  .chftry-intro {
    padding-top: 80px;
  }

  .chftry-intro__lead {
    font-size: 40px;
    line-height: 1.3;
  }

  .chftry-section-heading {
    gap: 24px;
  }

  .chftry-section-title {
    font-size: 40px;
  }

  .chftry-card {
    flex-direction: row;
    min-height: 145px;
  }

  .chftry-card__name {
    display: flex;
    flex: 0 0 32.6%;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    font-size: 40px;
  }

  .chftry-card__content {
    flex: 1 1 auto;
    justify-content: space-evenly;
  }

  .chftry-card__label {
    font-size: 24px;
    text-align: left;
  }

  .chftry-card__amount strong {
    font-size: 96px;
  }

  .chftry-card__amount span {
    font-size: 40px;
  }

  .chftry-swap__card {
    padding: 35px 15px;
  }

  .chftry-swap__flags img {
    width: 100px;
  }

  .chftry-swap__pair {
    font-size: 32px;
  }

  .chftry-swap__label {
    font-size: 24px;
  }

  .chftry-swap__value {
    margin-top: 45px;
  }

  .chftry-swap__amount strong {
    font-size: 128px;
  }

  .chftry-swap__amount span {
    font-size: 48px;
  }

  .chftry-explain {
    padding: 40px;
  }

  .chftry-cta {
    padding: 14px 32px;
  }

  .chftry-cta__text {
    font-size: 26px;
  }
}

@media (min-width: 1000px) {
  .chftry-card__label {
    font-size: 30px;
    line-height: 1.33;
  }

  .chftry-card__amount span {
    font-size: 52px;
  }

  .chftry-formula {
    flex-direction: row;
    justify-content: center;
    padding: 50px 0;
  }

  .chftry-formula__item {
    flex: 1 1 0;
    max-width: 268px;
    font-size: 22px;
  }

  .chftry-formula__item strong {
    font-size: 30px;
  }

  .chftry-formula__multiply {
    flex: 0 0 52px;
    padding-top: 54px;
    text-align: center;
  }
}

@supports (zoom: 1) {
  @media not all and (min-width: 1000px) {
    .chftry-formula-wrap {
      container-type: inline-size;
    }

    .chftry-formula {
      width: 932px;
      margin: 0 auto;
      padding: 50px 0;
      flex-direction: row;
      justify-content: center;
      zoom: 0.2;
    }

    .chftry-formula__item {
      flex: 1 1 0;
      max-width: 268px;
      font-size: 22px;
    }

    .chftry-formula__item strong {
      font-size: 30px;
    }

    .chftry-formula__multiply {
      flex: 0 0 52px;
      padding-top: 54px;
      text-align: center;
    }
    @media (min-width: 320px) { .chftry-formula { zoom: 0.25; } }
    @media (min-width: 360px) { .chftry-formula { zoom: 0.3; } }
    @media (min-width: 420px) { .chftry-formula { zoom: 0.35; } }
    @media (min-width: 480px) { .chftry-formula { zoom: 0.4; } }
    @media (min-width: 560px) { .chftry-formula { zoom: 0.48; } }
    @media (min-width: 640px) { .chftry-formula { zoom: 0.56; } }
    @media (min-width: 720px) { .chftry-formula { zoom: 0.6; } }
    @media (min-width: 768px) { .chftry-formula { zoom: 0.68; } }
    @media (min-width: 850px) { .chftry-formula { zoom: 0.77; } }
    @media (min-width: 950px) { .chftry-formula { zoom: 0.86; } }
  }

  @supports (zoom: min(1, calc(100cqw / 932px))) and (container-type: inline-size) {
    @media not all and (min-width: 1000px) {
      .chftry-formula {
        zoom: min(1, calc(100cqw / 932px));
      }
    }
  }
}
