@charset "UTF-8";
/*
  /asset/css/object/module/m-cta.css
  CTAモジュール用CSS
*/
.m-cta {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--rdenshihozon-bg-main);
  &::before {
    display: block;
    content: "";
    position: absolute;
    bottom: -175px;
    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: 840px) {
      bottom: -190px;
      left: -140px;
      transform: rotate(122deg) scale(0.8);
    }
    @media screen and (max-width: 600px) {
      bottom: -50px;
      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: 840px) {
      top: -210px;
      right: -140px;
      transform: rotate(290deg) scale(0.8);
    }
    @media screen and (max-width: 600px) {
      top: -61px;
      right: -55px;
      width: 150px;
      height: 211px;
      transform: rotate(-26deg);
    }
  }
}
/* ボタンが一つの場合 */
.m-cta--button1 {
  .m-cta__inner {
    min-height: 330px;
    padding: 60px 0 50px;
    @media screen and (max-width: 840px) {
      padding: 60px 10px 50px;
      min-height: 300px;
    }
  }
  .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: auto;
  min-height: 420px;
  margin: 0 auto;
  padding: 40px 0 50px;
  @media screen and (max-width: 1280px) {
    width: 100%;
  }
  @media screen and (max-width: 840px) {
    width: 100%;
    padding: 35px 10px;
    min-height: auto;
  }
}
.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: 1024px) {
    font-size: 28px;
  }
  @media screen and (max-width: 600px) {
    position: relative;
    text-align: center;
    font-size: 25px;
    z-index: 10;
    .m-cta__title-sp {
      display: block;
    }
  }
}
.m-cta-talent__image-wrap {
  position: absolute;
  bottom: 0;
  z-index: 20;
  @media screen and (max-width: 1024px) {
    display: none;
  }
  &.m-cta-talent__image-wrap--left {
    width: 350px;
    height: 345px;
    left: -10px;
  }
  &.m-cta-talent__image-wrap--right {
    width: 370px;
    height: 321px;
    right: -40px;
  }
}
.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(--rdenshihozon-primary);
    }
  }
}
