@charset "UTF-8";
/*
  /rakurakucloud/jidootai/asset/css/object/module/m-cta.css
  CTAモジュール用CSS
*/
.m-cta {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--rjidootai-bg-main);
  &::before {
    display: block;
    content: "";
    position: absolute;
    bottom: -225px;
    left: -20px;
    width: 321px;
    height: 450px;
    background: url(/rakurakucloud/jidootai/asset/image/common/component/cta-back-component.svg)
      center / contain no-repeat;
    transform: rotate(-30deg);
    z-index: 0;
    @media screen and (max-width: 840px) {
      width: 150px;
      height: 155px;
      bottom: -45px;
      left: -30px;
    }
  }
  &::after {
    content: "";
    position: absolute;
    top: -150px;
    right: -20px;
    width: 321px;
    height: 450px;
    background: url(/rakurakucloud/jidootai/asset/image/common/component/cta-back-component.svg)
      center / contain no-repeat;
    transform: rotate(-210deg);
    z-index: 0;
    @media screen and (max-width: 840px) {
      width: 150px;
      height: 155px;
      top: -50px;
      right: -30px;
    }
  }
  &.m-cta--mailmarketing {
    background: var(--rmailmarketing-bg-main);
    &::before {
      background: url(/rakurakucloud/jidootai/asset/image/form/rmailmarketing/figure-cta-document-mailmarket.webp)
        center/contain no-repeat;
    }
  }
  &.m-cta--blastengine {
    background: #17181b;
    &::before {
      display: none;
    }
  }
  &.m-cta--document {
    &::before {
      display: block;
      content: "";
      position: absolute;
      top: 68%;
      transform: translateY(-50%);
      left: -290px;
      width: clamp(300px, 50vw, 781px);
      height: auto;
      aspect-ratio: 781 / 823;
      background: url(/rakurakucloud/jidootai/asset/image/common/figure/figure-cta-document.webp)
        center/contain no-repeat;
      z-index: 0;
    }
  }
}
/* ボタンが一つの場合 */
.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__column {
    grid-template-columns: 1fr;
  }
}

.m-cta__inner {
  position: relative;
  width: 1200px;
  height: auto;
  min-height: 320px;
  margin: 0 auto;
  padding: 70px 20px;
  @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;
  grid-template-columns: repeat(2, minmax(300px, 425px));
  gap: 40px;
  place-items: center;
  padding: 30px 0 0;
  z-index: 10;
  justify-content: center;
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    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(--rjidootai-primary);
    }
  }
}
/* blastengine セクション */
.m-cta-blastengine-note__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin: 30px 0 0;
  @media screen and (max-width: 840px) {
    flex-direction: column;
    gap: 20px;
  }
}
.m-cta-blastengine-note__text {
  position: relative;
  font-size: 16px;
  color: var(--white);
  &:before {
    content: "";
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--blastmail-sub);
    border-radius: 100%;
  }
  &:after {
    content: "";
    position: absolute;
    top: 50%;
    left: -21px;
    width: 12px;
    height: 6px;
    background-color: var(--blastmail-sub);
    transform: translateY(-70%) rotate(-45deg);
    border-bottom: 2px solid var(--white);
    border-left: 2px solid var(--white);
  }
}
