@charset "UTF-8";
/*
  /asset/css/object/module/m-cta.css
  CTAモジュール用CSS
*/
.m-cta {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--rsaikenkanri-bg-main);
  &::before {
    display: block;
    content: "";
    position: absolute;
    bottom: -150px;
    left: -20px;
    width: 321px;
    height: 450px;
    background: url(/asset/image/common/component/cta-back-component.svg) center/contain no-repeat;
    transform: rotate(131deg);
    z-index: 0;
    @media screen and (max-width: 1024px) {
      bottom: -190px;
      left: -125px;
      transform: rotate(160deg) scale(0.8);
    }
    @media screen and (max-width: 840px) {
      bottom: -190px;
      left: -125px;
      transform: rotate(160deg) scale(0.8);
    }
    @media screen and (max-width: 600px) {
      bottom: -70px;
      left: -55px;
      width: 150px;
      height: 211px;
      transform: rotate(135deg);
    }
  }
  &::after {
    content: "";
    position: absolute;
    top: -150px;
    right: -20px;
    width: 321px;
    height: 450px;
    background: url(/asset/image/common/component/cta-back-component.svg) center/contain no-repeat;
    transform: rotate(-72deg);
    z-index: 0;
    @media screen and (max-width: 1024px) {
      top: -180px;
      right: -110px;
      transform: rotate(-20deg) scale(0.8);
    }
    @media screen and (max-width: 840px) {
      top: -180px;
      right: -110px;
      transform: rotate(-20deg) scale(0.8);
    }
    @media screen and (max-width: 600px) {
      top: -71px;
      right: -55px;
      width: 150px;
      height: 211px;
      transform: rotate(-26deg);
    }
  }
}
/* ボタンが一つの場合 */
.m-cta--button1 {
  .m-cta__inner {
    height: 330px;
    padding: 60px 0 50px;
    @media screen and (max-width: 840px) {
      padding: 60px 10px 50px;
      height: auto;
    }
  }
  .m-cta-title {
    max-width: 800px;
    margin: 0 auto;
    @media screen and (max-width: 1280px) {
      font-size: 25px;
    }
  }
}

.m-cta__inner {
  position: relative;
  width: 1200px;
  height: 440px;
  margin: 0 auto;
  padding: 40px 0 50px;
  @media screen and (max-width: 1200px) {
    width: 100%;
    height: auto;
  }
  @media screen and (max-width: 840px) {
    width: 100%;
    padding: 35px 10px 60px;
  }
}
.m-cta-title {
  position: relative;
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  z-index: 10;
  @media screen and (max-width: 1280px) {
    font-size: 28px;
  }
  @media screen and (max-width: 600px) {
    position: relative;
    text-align: center;
    font-size: 22px;
    z-index: 10;
    .m-cta__title-sp {
      display: block;
    }
  }
}
.m-cta-talent {
  position: absolute;
  bottom: 20px;
  z-index: 20;
  @media screen and (max-width: 1024px) {
    display: none;
  }
}
.m-cta-talent--left {
  width: 350px;
  height: 345px;
  left: -40px;
}
.m-cta-talent--right {
  width: 370px;
  height: 321px;
  right: -50px;
}
.m-cta__column {
  position: relative;
  display: grid;
  gap: 40px;
  place-items: center;
  padding: 30px 0 0;
  z-index: 10;
  @media screen and (max-width: 840px) {
    gap: 20px;
    margin: 0 auto;
    position: relative;
    width: 95%;
    z-index: 20;
  }
  @media screen and (max-width: 600px) {
    gap: 15px;
  }
}
.m-cta__textlink {
  text-align: center;
  margin: 30px 0 0;
  position: relative;
  z-index: 10;
  .c-textlink {
    color: var(--white);
    &::before {
      background-color: var(--rsaikenkanri-primary);
    }
  }
}
.m-cta__note {
  position: absolute;
  left: 33%;
  margin: 10px 0 0;
  color: var(--white);
  @media screen and (max-width: 840px) {
    left: 25%;
    margin: 10px 0 0;
  }
  @media screen and (max-width: 600px) {
    left: 0;
    text-align: left;
    margin: 10px 0 0 30px;
  }
}
