/*
  /rakurakucloud/jidootai/asset/css/page/p-lp-about_maildealer.css
  about_maildealerページ後読み込み用CSS
*/
/* リセット */
.c-cta-floating {
    &.c-cta-floating--button2 {
        top: 40%;
        width: 53px;
    }
}
.p-about-point{
  @media screen and (max-width: 840px) {
    order: 3;
  }
}
.p-about-point__wrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 20px;
  background-color: var(--white);
  border-radius: 10px;
  &::after {
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: 110px;
    width: 1px;
    height: calc(100% - 40px);
    background-color: var(--gray-bg-01);
  }
  @media screen and (max-width: 840px) {
    grid-template-columns: 1fr;
    gap: 20px;
    &::after {
      display: none;
    }
  }
}
.p-about-point__point {
  font-size: 18px;
  font-weight: bold;
  color: var(--rjidootai-primary);
  text-align: center;
  padding: 10px;
  @media screen and (max-width: 840px) {
    padding: 5px;
    font-size: 16px;
    padding: 0 10px 20px;
    border-bottom: 1px solid var(--gray-bg-01);
  }
}
.p-about-point-item {
  position: relative;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  padding: 0 0 0 35px;
  &::before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 20px;
    background: var(--rjidootai-primary);
    display: block;
    position: absolute;
    top: 2px;
    left: 0;
  }
  &::after {
    content: "";
    width: 9px;
    height: 6px;
    border-radius: 0;
    background: none;
    border-top: solid 2px var(--white);
    border-right: solid 2px var(--white);
    display: block;
    position: absolute;
    top: 8px;
    left: 6px;
    transform: rotate(135deg);
  }
  &:not(:last-child) {
    margin: 0 0 10px;
  }
  @media screen and (max-width: 840px) {
    font-size: 14px;
    padding: 0 0 0 20px;
    &::before {
      width: 16px;
      height: 16px;
    }
    &::after {
      width: 7px;
      height: 5px;
      top: 7px;
      left: 5px;
    }
  }
}
.c-cta-bottom-item__link {
@media screen and (max-width: 840px) {
    font-size: 13px;
    border: none;
}
}

/* 導入企業様の声（ロゴ＋一文コメント形式。lp/md02 と同じ） */
.p-casestudy-item__image-wrap{
  aspect-ratio:  16 / 9;
}
.p-casestudy-item__text{
  font-size: 20px;
}
.p-voice-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 0 0 16px;
}
.p-voice-logo {
  display: block;
  width: auto;
  max-width: 160px;
  height: auto;
  max-height: 100%;
}
.p-voice-body {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

/* よくあるご質問（セクション背景グレー／質問白・回答グレー。TOPと同じ） */
.p-top {
  .m-faq-item {
    background-color: var(--white);
  }
  .m-faq-item__answer-inner {
    background-color: var(--gray-bg-02);
  }
}
/* CTA */
.p-cta {
  position: relative;
  width: 100%;
  background-color: var(--rjidootai-bg-main);
  overflow: hidden;
  &::before {
    display: block;
    content: "";
    position: absolute;
    bottom: -108px;
    left: -31px;
    width: 321px;
    height: 450px;
    background: url(/rakurakucloud/jidootai/asset/image/common/component/cta-back-component.svg) center / contain no-repeat;
    transform: rotate(6deg);
    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;
    }
  }
}
.p-cta .m-cta-section__wrap {
  display: block;
  max-width: 875px;
  margin: 0 auto;
  background-color: inherit;
}
.p-cta .m-cta-section__content {
  padding: 84px 20px;
}
.p-cta .m-cta-section-headline {
  position: relative;
  font-size: 36px;
  font-weight: bold;
  color: var(--white);
  line-height: 1.2;
  z-index: 10;
  @media screen and (max-width: 840px) {
    font-size: 24px;
  }
}
.p-cta .m-cta-section__cta {
  &.m-cta-section__cta--button2 {
    gap: 25px;
  }
}
