/*　資料請求はこちら CTA
--------------------------------------------------------*/
/*____________________ PC */
.cta_mt_140 {
  margin-top: -8.8em;

  @media (min-width: 769px) {
    margin-top: -11em;
  }
}

.cta_mt_150 {
  margin-top: -8.7em;

  @media (min-width: 769px) {
    margin-top: -10.5em;
  }
}

.cta_mt_170 {
  margin-top: -11em;

  @media (min-width: 769px) {
    margin-top: -16em;
  }
}

ul.inner_cta_common {
  background: rgb(229,64,115);
  background: linear-gradient(90deg, rgba(229,64,115,1) 0%, rgba(249,124,161,1) 55%, rgba(229,64,115,1) 100%);
  max-width: 1200px;
  width: 94%;
  margin: auto;
  padding: 20px 0 0;
  position: relative;
  z-index: 1;
  border-radius: 16px;
  display: flow-root;

  @media (min-width: 769px) {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    border-radius: initial;
    padding: 35px 0 0;
    border-radius: 16px;
  }
}

.img_koike_san {
  @media (min-width: 769px) {
    width: 216px;
    margin-left: auto;
    margin-top: -4.4em;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: flex-end;
  }
}

ul.list_cta_common_sub {
  width: 92%;
  margin: auto;
  display: grid;
  grid-template-columns: 51% 49%;

  @media (min-width: 769px) {
    display: none;
  }

  & li img {
    margin-top: -2.5em;
    margin-bottom: -0.25em;
  }
}

.img_koike_san_pc {
  @media (min-width: 769px) {
    width: 241px;
    margin-left: auto;
    margin-top: -4.38em;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: flex-end;
  }
}

/* v1/v4: v2/v3とCTA全体の高さを揃えるため画像を縮小 */
.img_koike_san_pc--sm {
  @media (min-width: 769px) {
    width: 216px;
  }
}

.box_cta_common {
  @media (min-width: 769px) {
    text-align: center;
  }
}

.box_cta_common h2 {
  display: none;

  @media (min-width: 769px) {
    font-size: var(--28px);
    color: #ffffff;
    font-weight: bold;
    line-height: 1.3em;
    display: inline-block;
    margin-bottom: 0.8em;
  }

  @media (min-width: 1185px) {
    font-size: var(--37px);
  }

  & span {
    font-size: var(--24px);
    color: #ffffff;
    font-weight: bold;
    display: block;

    @media (min-width: 1185px) {
      font-size: var(--32px);
    }
  }
}

.js-cta-title {
  color: #ffffff;
  font-weight: bold;
}

.h2_1st {
  font-size: var(--15px);
  color: #ffffff;
  font-weight: bold;
  display: block;
  margin-bottom: 0.7em;
  line-height: 1.4em;

  @media (min-width: 500px) {
    font-size: var(--20px);
    margin-bottom: 0.5em;
  }
}

.h2_2nd {
  width: fit-content;
  font-size: var(--20px);
  color: #CE1E54;
  font-weight: bold;
  line-height: 1.3em;
  display: block;
  background: rgb(248,243,245);
  background: linear-gradient(90deg, rgba(248,243,245,1) 0%, rgba(255,227,242,1) 100%);
  margin-bottom: 0.4em;

  @media (min-width: 500px) {
    font-size: var(--26px);
  }
}

.btn_cta_common {
  position: relative;
  -webkit-transition: 0.1s;
  transition: 0.1s;
  margin-bottom: 1.35em;

  @media (min-width: 769px) {
    margin-bottom: 1.5em;
  }

  &:hover {
    box-shadow: none;
    transform: scale(1.1);
  }
}

/* 中央のボタンを入れ替えたため調整 */
.btn_cta_common_img {
  max-width: 100%;
  margin-top: -14px;
  margin-left: clamp(8px, calc(3.513px + 1.496vw), 15px);

  @media (min-width: 769px) {
    margin-top: unset;
  }
}

.img_documents {
  width: 200px;
  position: absolute;
  top: -3em;
  left: -4.8em;
  z-index: 1;

  @media (min-width: 1195px) {
    width: 220px;
    top: -3.8em;
    left: -4em;
  }
}

.note_cta_common {
  display: none;

  @media (min-width: 769px) {
    font-size: var(--14px);
    color: #ffffff;
    font-weight: bold;
    background: #CE1E54;
    border-radius: 50px;
    padding: 4px 20px 5px 22px;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: block;
  }

  @media (min-width: 990px) {
    font-size: var(--16px);
  }
}

.btn_wht {
  max-width: 94%;
  margin: auto;
  text-align: center;
  display: block;
  background: #ffffff;
  box-shadow: 0px 0px 34px 0px rgba(79, 30, 30, 0.25);
  border-radius: 4px;
  color: #CE1E54;
  text-decoration: none;
  font-weight: bold;
  line-height: 1.2em;
  position: relative;
  height: 3.75rem;
  max-height: 100%;

  @media (min-width: 500px) {
    height: 70px;
  }

  @media (min-width: 769px) {
    height: 5.9375rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  &:before {
    content: "";
    width: 20px;
    height: 20px;
    background: #CE1E54;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;

    @media (min-width: 769px) {
      width: 38px;
      height: 38px;
    }
  }

  &:after {
    content: "";
    width: 6px;
    height: 6px;
    border: 0;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    position: absolute;
    top: 45%;
    transform: translateY(-45%);
    right: 23px;
    transform: rotate(45deg);

    @media (min-width: 769px) {
      width: 8px;
      height: 8px;
      top: 46%;
      transform: translateY(-46%);
      right: 30px;
      transform: rotate(45deg);
    }
  }
}

.span_free {
  font-size: var(--12px);
  font-weight: bold;
  color: #CE1E54;
  background: #FFE1EA;
  padding: 5px;
  margin-right: 0.4em;
  border-radius: 3px;
  position: relative;
  top: 18px;

  @media (min-width: 500px) {
    font-size: var(--17px);
    top: 24px;
  }

  @media (min-width: 769px) {
    font-size: var(--17px);
    padding: 2px 2px 4px 4px;
    top: initial;
  }
}

.span_doc {
  font-size: var(--17px);
  font-weight: bold;

  @media (min-width: 769px) {
    font-size: var(--24px);
    position: relative;
    top: 3px;
  }
}

.span_note {
  font-size: var(--11px);
  font-weight: bold;
  color: #CE1E54;
  position: relative;
  top: 6px;
  left: 3px;

  @media (min-width: 500px) {
    font-size: var(--16px);
    top: 10px;
  }
}

.cta_txt_sp {
  font-weight: bold;
  margin-top: 0.3em;
  margin-left: 40px;

  @media (min-width: 500px) {
    font-size: var(--21px);
    margin-top: 0.56em;
  }
}

.img_doc_sp {
  width: 110px;
  position: absolute;
  top: -35px;
  left: -20px;

  @media (min-width: 500px) {
    width: 120px;
    top: -40px;
    left: -6px;
  }
}


/*____________________ CTA */
ul.list_cta_common {
  width: 84%;
  margin: auto;
  display: grid;
  grid-template-columns: 50% 48%;
  column-gap: 2%;
  position: relative;
  z-index: 1;

  /* 中央のボタンを入れ替えたため調整 */
  margin-top: -30px;
  margin-bottom: 30px;

  @media (min-width: 500px) {
    width: 64%;
  }

  @media (min-width: 769px) {
    width: 500px;
    grid-template-columns: repeat(2fr,1);
  }

  & li:first-child {
    border-right: solid 1px #ffffff;

    @media (min-width: 769px) {
      border-right: initial;
    }
  }

  & li:last-child {
    text-align: right;
    padding-right: 20%;
  }
}

/* cta text ver. */
.btn_txt a {
  width: fit-content;
  margin: auto;
  font-size: var(--14px);
  text-align: center;
  color: #ffffff;
  position: relative;
  padding-right: 20px;

  @media (min-width: 500px) {
    font-size: var(--16px);
  }

  @media (min-width: 769px) {
    font-weight: bold;
    padding-right: 35px;
  }

  &::before,
  &::after {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    transition: all 0.3s ease-in-out 0s;
  }

  &::before {
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border: 1px solid #CE1E54;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    background: #ffffff;
    top: 2px;
    right: 0;

    @media (min-width: 769px) {
      width: 32px;
      height: 32px;
      top: 2px;
    }
  }

  &::after {
    width: 4px;
    height: 4px;
    border-top: 1px solid #CE1E54;
    border-right: 1px solid #CE1E54;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 2px;
    right: 8px;

    @media (min-width: 769px) {
      width: 8px;
      height: 8px;
      border-top: 2px solid #CE1E54;
      border-right: 2px solid #CE1E54;
      right: 13px;
    }
  }

  &:hover {
    color: #CE1E54;

    &::before {
      border: 1px solid #ffffff;
      background: #CE1E54;
    }

    &::after {
      border-top: 1px solid #ffffff;
      border-right: 1px solid #ffffff;

      @media (min-width: 769px) {
        border-top: 2px solid #ffffff;
        border-right: 2px solid #ffffff;
      }
    }
  }
}

.img_align_center,
.img_align_center_palette {
  display: none;

  @media (min-width: 769px) {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.img_align_center_palette img {
  margin-left: -2.5em;
  margin-top: -2.5em;
}
