/*==================================================
section cta
===================================*/
.cta {
  padding-top: 1.7rem;
  padding-bottom: 3.3rem;
  border-top: 1rem solid #00bc8b;
  border-bottom: 1rem solid #00bc8b;
  background: url(../img/cta_bg_sp.png) no-repeat center center/cover;
  color: #2c2c2c;
  position: relative;
}

.cta__title {
  z-index: 1;
  position: relative;
  text-align: center;
  color: #fff;
  background-color: #00bc8b;
  font-size: 2.1rem;
  font-weight: 600;
  text-align: center;
  line-height: 2.8rem;
  letter-spacing: 0.08rem;
  padding: 0.7rem 0;
}

.cta__container {
  position: relative;
  margin-top: -2.5rem;
  margin-inline: auto;
  padding: 3.1rem 1.5rem 8.2rem;
  border: 3px solid #00bc8b;
  background: #fff;
}

.cta__title::after {
  position: absolute;
  background: url(../img/cta_ashirai_sp.png) no-repeat center center/contain;
  content: "";
  top: -0.8rem;
  right: -0.8rem;
  width: 100px;
  height: 100px;
  z-index: 2;
}

.cta__attention {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.8571428571;
  letter-spacing: 0.06em;
  text-align: center;
}

.cta__attention span {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(70%, transparent),
    color-stop(70%, #fff46f)
  );
  background: linear-gradient(transparent 70%, #fff46f 70%);
}

.cta__items {
  display: grid;
  position: relative;
  margin-top: 1.35rem;
  gap: 3.3rem;
}

.cta__items::after {
  position: absolute;
  top: calc(50% + 10px);
  left: 50%;
  width: 100%;
  height: 2px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background: url(../img/cta_border.png) no-repeat center center/contain;
  content: "";
}

.cta__group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 0;
}

.cta__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
}

.cta__item_text {
  display: none;
}

.cta__tel {
  width: 26rem;
  margin: 0 auto;
}

.cta__service01,
.cta__service02,
.cta__mail {
  width: 100%;
  margin: 0 auto;
}

.cta__label {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.cta__label span {
  position: relative;
  padding-right: 2em;
  padding-left: 2em;
}

.cta__label span::before,
.cta__label span::after {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 1px;
  background: #00bc8b;
  content: "";
}

.cta__label span::before {
  left: 0;
  -webkit-transform: translateY(-50%) rotate(60deg);
  transform: translateY(-50%) rotate(60deg);
}

.cta__label span::after {
  right: 0;
  -webkit-transform: translateY(-50%) rotate(-60deg);
  transform: translateY(-50%) rotate(-60deg);
}

.cta__label_mail span::before,
.cta__label_mail span::after {
  background: #ff7e10;
}

.cta__label_service01 span::before,
.cta__label_service01 span::after {
  background: #0497e7;
}
.cta__label_service02 span::before,
.cta__label_service02 span::after {
  background: #013b5c;
}

.cta__links {
  display: grid;
}

.cta__text {
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-align: center;
}

.cta__text-tel {
  font-weight: 500;
  font-size: 1.4rem;
  text-align: center;
}

.cta__link-tel {
  padding: 0 2rem;
}

.cta__free {
  display: grid;
  position: absolute;
  top: -5.4rem;
  left: -0.5em;
  place-items: center;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: #2b2b2b;
  color: #fff;
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3333333333;
  letter-spacing: 0.11em;
  text-align: center;
  z-index: 2;
}

.cta__bottom_image {
  position: absolute;
  right: 0;
  bottom: 3.5rem;
  max-width: 11rem;
}

@media screen and (min-width: 768px) {
  .cta {
    padding-top: 5.4rem;
    padding-bottom: 5rem;
    border-top: 1.5rem solid #00bc8b;
    border-bottom: 1.5rem solid #00bc8b;
    background: url(../img/cta_bg.png) no-repeat center center/cover;
  }

  .cta__title {
    width: 83.5%;
    margin-inline: auto;
  }

  .cta__container {
    width: 83.5%;
    margin-top: -4rem;
    padding: 5.5rem 6.4rem 2.2rem 3.6rem;
    padding: 5.5rem 2rem 2.2rem;
  }

  .cta__title::after {
    background: url(../img/cta_ashirai.png) no-repeat center center/contain;
    top: -110%;
    right: -5%;
    width: 18.8rem;
    height: 13.3rem;
  }

  .cta__attention {
    font-size: 1.4rem;
  }

  .cta__items {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .cta__items::after {
    top: 50%;
    left: 50%;
    width: 28%;
    transform: translate(-50%, -50%) rotate(90deg);
    background: url(../img/cta_border_pc.png) no-repeat contain;
  }

  .cta__service01,
  .cta__service02,
  .cta__mail {
    width: 35rem;
    margin: 0 auto;
  }

  .cta__label {
    font-size: 1.6rem;
  }

  .cta__link-tel {
    margin-top: 0;
  }

  .cta__link-tel img {
    max-width: 30rem;
  }

  .cta__text {
    margin-top: 0;
    text-align: center;
  }

  .cta__free {
    display: grid;
    position: absolute;
    top: -10%;
    left: -5rem;
    place-items: center;
    width: 9.8rem;
    height: 9.8rem;
    border-radius: 50%;
    background: #2b2b2b;
    color: #fff;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1.3333333333;
    letter-spacing: 0.11em;
    text-align: center;
  }

  .cta__bottom_image {
    bottom: 0;
    left: 80%;
    max-width: 17.2rem;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .cta__bottom_image {
    left: unset;
    bottom: 0;
    right: 0;
  }
}

/*==================================================
section cta END
===================================*/
