/*
  /rakurakucloud/jinjiroumu/asset/css/page/p-top-fv.css
  topページFV＋次セクション用CSS
*/
.p-top-fv {
  overflow: hidden;
  /* padding: 36px 0 86px; */
  background-color: var(--gray-bg-02);
  height: 400px;
  display: flex;
  align-items: center;
  @media screen and (max-width: 1024px) {
    height: 360px;
  }
  @media screen and (max-width: 840px) {
    height: 470px;
    padding: 30px 30px 0;
    display: block;
  }
  @media screen and (max-width: 600px) {
    padding: 25px 20px 105px;
  }
}
.p-top-fv__inner {
  position: relative;
  margin: 0 auto;
  padding: 0 60px;
  width: 1180px;
  &::before {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: -210px;
    right: -630px;
    width: 800px;
    height: 786px;
    background-image: url(/rakurakucloud/jinjiroumu/asset/image/common/component/fv-back-component.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    transform: rotate(-76deg);
    @media screen and (max-width: 1280px) {
      width: 370px;
      height: 830px;
      bottom: -620px;
      right: -130px;
      transform: rotate(0deg);
    }
    @media screen and (max-width: 1024px) {
      width: 370px;
      height: 830px;
      bottom: -620px;
      right: -130px;
      transform: rotate(0deg);
    }
    @media screen and (max-width: 840px) {
      right: -195px;
      bottom: -520px;
      width: 350px;
      height: 500px;
      transform: rotate(-20deg);
    }
    @media screen and (max-width: 600px) {
      bottom: -480px;
      right: -100px;
      width: 320px;
      height: 448px;
      transform: rotate(0);
    }
  }
  &::after {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: -310px;
    left: -520px;
    width: 496px;
    height: 550px;
    background-image: url(/rakurakucloud/jinjiroumu/asset/image/common/component/fv-back-component-sub.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(110deg);
    @media screen and (max-width: 1024px) {
      display: none;
    }
  }
  @media screen and (max-width: 1280px) {
    width: 100%;
  }
  @media screen and (max-width: 1024px) {
  }
  @media screen and (max-width: 840px) {
    padding: 0;
  }
}
.p-top-fv__title {
  transform: translateY(-20px);
  @media screen and (max-width: 1024px) {
    transform: translateY(0);
  }
  @media screen and (max-width: 840px) {
    display: grid;
    justify-content: center;
    text-align: center;
    width: 100%;
    transform: translateY(0);
  }
}
.p-top-fv-h1 {
  display: block;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.025em;
}
.p-top-fv__title-label {
  display: inline-block;
  max-width: 500px;
  font-size: 20px;
  font-weight: 500;
  background: var(--rjinjiroumu-primary);
  color: var(--white);
  text-align: center;
  padding: 10px 25px 7px;
  border-radius: 25px;
  line-height: 1.2;
  @media screen and (max-width: 1024px) {
    padding: 8px 25px 5px;
    font-size: 20px;
  }
  @media screen and (max-width: 600px) {
    font-size: 16px;
  }
}
.p-top-fv__title-text {
  display: block;
  margin: 15px 0 0 0;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: .39px;
  @media screen and (max-width: 1024px) {
    margin: 25px 0 0 0;
    font-size: 38px;
  }
  @media screen and (max-width: 840px) {
    font-size: 26px;
  }
  @media screen and (max-width: 600px) {
    margin: 20px 0 0 0;
    font-size: 20px;
  }
  em {
    @media screen and (max-width: 840px) {
      display: inline-block;
      font-size: 34px;
      line-height: 1.2;
      padding-top: 5px;
    }
    @media screen and (max-width: 600px) {
      font-size: 30px;
    }
  }
}

.p-top-fv__check {
  width: calc(100% - 380px);
  margin: 16px 0 0 0;
  @media screen and (max-width: 1024px) {
    width: calc(100% - 330px);
  }
  @media screen and (max-width: 840px) {
    margin: 10px auto;
    font-size: 16px;
    width: max-content;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
    margin: 10px 0 0;
  }
}
.p-top-fv__image-wrap {
  position: absolute;
  right: 120px;
  /* top: -22px; */
  top: -66px;
  width: 290px;
  z-index: 20;
  @media screen and (max-width: 1280px) {
    right: 0;
  }
  @media screen and (max-width: 1024px) {
    top: 0;
  }
  @media screen and (max-width: 840px) {
    width: 100%;
    top: auto;
    text-align: center;
    transform: translateY(20px);
  }
}
.p-top-fv__image {
  @media screen and (max-width: 1024px) {
    width: 270px;
  }
  @media screen and (max-width: 840px) {
    width: 186px;
  }
}
.p-top-fv-cta {
  top: -42px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto -42px;
  position: relative;
  width: 940px;
  z-index: 30;
  @media screen and (max-width: 1024px) {
    width: 97%;
    margin: 0 auto;
  }
  @media screen and (max-width: 840px) {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
    /* top: -132px;
    margin: 0 auto -132px; */
    margin: 10px auto;
  }
  @media screen and (max-width: 600px) {
    /* top: -120px; */
    top: -30px;
    margin: 0 auto -110px;
  }
}
