/* 初期契約解除についてページ（/contract_initial_cancel） 専用 */
/* 初期契約解除とは？ */
.initial-contract-wrap {
  margin: 50px auto 0;
  width: fit-content;
}
.initial-contract-wrap .main-text {
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 15px;
}
.initial-contract-wrap .main-text a {
  text-decoration: underline;
}

/* 初期契約解除の利用方法 */
.how-to-apply-wrap {
  display: flex;
  gap: 50px;
  flex-direction: column;
  margin-top: 50px;
}
.step-content .step-number {
  font-size: 3rem;
  font-weight: bold;
  color: var(--fuji-po-blue-1);
  text-align: center;
}
.step-content .step-number span {
  font-size: 3.8rem;
}
.step-content {
  border: 1px solid #ddd;
  padding: 30px 40px;
  position: relative;
}
.step-content::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -43px;
  transform: translateX(-50%);
  border-top: 30px solid var(--fuji-po-yellow);
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
}
.step-content:last-child::before {
  display: none;
}
.step-content h3 {
  font-size: 3rem;
  text-align: center;
}
.step-content .step-main-text {
  font-size: 1.9rem;
  font-weight: bold;
  line-height: 1.5;
}
.step-content .step-main-text a {
  text-decoration: underline;
}
.step-content .step-flex {
  display: flex;
  margin: 15px auto 0;
}
.step-content .step-flex .step-box-left {
  width: calc(100% - 260px);
}
.step-content .step-flex .step-box-right img {
  width: 260px;
}
.step-content .step-flex .step-box-left .list-text {
  font-size: 1.8rem;
  font-weight: bold;
}
.step-content .step-flex .step-box-left ul {
  list-style: none;
  margin: 0;
  margin-top: 10px;
}
.step-content .step-flex .step-box-left ul li {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.3;
}
.step-content.step1-box .default-btn-wrap {
  margin-top: 20px;
}
.step-content .step-img {
  text-align: center;
  margin-top: 20px;
}
.step-content .step-img img {
  height: 120px;
}
.step-content .coution-box {
  position: relative;
  border: 2px solid var(--fuji-po-red);
  padding: 40px 20px 20px;
  margin-top: 40px;
}
.step-content .coution-box .coution-icon {
  width: 50px;
  position: absolute;
  left: 50%;
  top: -25px;
  transform: translateX(-50%);
}
.step-content .coution-box p {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1280px) {
  /* ページ内スクロールボタン */
  .page-nav-flex a.fuji-default-button {
    width: 180px;
  }
  /* 初期契約解除とは？ */
  .initial-contract-wrap {
    margin: 40px auto 0;
  }
  .initial-contract-wrap .main-text {
    font-size: 1.6rem;
  }
  /* 初期契約解除の利用方法 */
  .how-to-apply-wrap {
    margin-top: 30px;
  }
  .step-content {
    padding: 30px 20px;
  }
  .step-content .step-main-text {
    font-size: 1.6rem;
  }
  .step-content .step-flex .step-box-left .list-text {
    font-size: 1.6rem;
  }
  .step-content .step-flex .step-box-left ul li {
    font-size: 1.6rem;
  }
  .step-content .step-flex .step-box-left {
    width: calc(100% - 230px);
  }
  .step-content .step-flex .step-box-right img {
    width: 230px;
  }
  .step-content .step-img img {
    height: 160px;
  }
  .step-content .coution-box p {
    font-size: 1.5rem;
  }
  .step-content .coution-box {
    padding: 30px 11px 15px;
  }
}

@media screen and (max-width: 767px) {
  /* 初期契約解除とは？ */
  .initial-contract-wrap {
    margin: 20px auto 0;
    width: fit-content;
  }
  .initial-contract-wrap .main-text {
    font-size: 1.5rem;
  }
  /* 初期契約解除の利用方法 */
  .how-to-apply-wrap {
    margin-top: 20px;
  }
  .step-content {
    padding: 20px 10px;
  }
  .step-content .step-number {
    font-size: 2.4rem;
  }
  .step-content .step-number span {
    font-size: 3rem;
  }
  .step-content h3 {
    font-size: 2.2rem;
  }
  .step-content .step-main-text {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
  }
  .step-content .step-flex {
    margin: 15px auto;
  }
  .step-content .step-flex .step-box-left {
    width: 100%;
  }
  .step-content .step-flex .step-box-left .list-text {
    font-size: 1.6rem;
  }
  .step-content .step-flex .step-box-left ul li {
    font-size: 1.6rem;
  }
  .step-content .step-flex .step-box-right {
    width: calc(100% - 200px);
    text-align: center;
    position: relative;
  }
  .step-content .step-flex .step-box-right img {
    width: 100%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    max-width: 200px;
    min-width: 150px;
  }
  .step-content.step1-box .default-btn-wrap .fuji-default-button.normal {
    width: 240px;
  }
  .step-content.step2-box .step-img img {
    height: 70px;
  }
  .step-content.step3-box .step-img img {
    height: 80px;
  }
  .step-content .coution-box p {
    font-size: 1.5rem;
  }
  .step-content .coution-box {
    padding: 25px 10px 10px;
    margin-top: 30px;
  }
  .step-content .coution-box .coution-icon {
    width: 40px;
    left: 50%;
    top: -20px;
  }
}
