/*
  /rakurakucloud/jidootai/asset/css/page/p-top-fv.css
  topページFV＋次セクション用CSS
*/
.p-top-fv {
  overflow: hidden;
  padding: 25px 0 105px;
  background-color: var(--gray-bg-02);
  @media screen and (max-width: 840px) {
    height: 570px;
    padding: 30px 30px 0;
  }
  @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: -310px;
    right: -350px;
    width: 555px;
    height: 619px;
    background-image: url(/rakurakucloud/jidootai/asset/image/common/component/fv-back-component.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    transform: rotate(-26deg);
    @media screen and (max-width: 1300px) {
      width: 480px;
      height: 536px;
      bottom: -130px;
      right: -153px;
      transform: rotate(-80deg);
    }
    @media screen and (max-width: 1024px) {
      width: 380px;
      height: 425px;
      bottom: -90px;
      right: -171px;
    }
    @media screen and (max-width: 840px) {
      right: -80px;
      width: 350px;
      bottom: -500px;
      height: 500px;
      transform: rotate(-20deg);
    }
  }
  &::after {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: -200px;
    left: -275px;
    width: 306px;
    height: 342px;
    background-image: url(/rakurakucloud/jidootai/asset/image/common/component/fv-back-component-sub.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-26deg);
    @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 {
  @media screen and (max-width: 840px) {
    display: grid;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}
.p-top-fv__title-label {
  display: inline-block;
  max-width: 500px;
  font-size: 24px;
  font-weight: 500;
  vertical-align: middle;
  background: var(--rjidootai-primary);
  color: var(--white);
  text-align: center;
  padding: 10px 25px 7px;
  border-radius: 25px;
  line-height: 1;
  @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__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: -30px;
  top: 0;
  width: 512px;
  z-index: 20;
  @media screen and (max-width: 1280px) {
    right: 0;
  }
  @media screen and (max-width: 1100px) {
    width: 440px;
    height: 474px;
  }
  @media screen and (max-width: 1024px) {
    right: -110px;
  }
  @media screen and (max-width: 840px) {
    width: 100%;
    top: auto;
    right: 0;
    text-align: center;
  }
}
.p-top-fv__image {
  @media screen and (max-width: 1024px) {
    width: 390px;
  }
  @media screen and (max-width: 840px) {
    width: 310px;
    height: 334px;
  }
}
.p-top-fv-h1 {
  display: block;
  font-size: 50px;
  font-weight: 700;
  margin: 15px 0 0 0;
  line-height: 1.2;
  @media screen and (max-width: 1024px) {
    font-size: 45px;
    margin: 25px 0 0 0;
  }
  @media screen and (max-width: 600px) {
    margin: 20px 0 0 0;
    font-size: 33px;
  }
}
.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: -30px;
    margin: 0 auto;
  }
  @media screen and (max-width: 600px) {
    top: -30px;
    margin: 0 auto;
  }
}
.p-top-fv-movie{
  position: relative;
}
.p-top-fv-movie__btn{
  &::after{
  position: absolute;
  content: "";
  background: url(/rakurakucloud/jidootai/asset/image/common/figure/figure-youtube-play.svg);
  background-size: cover;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  width: 80px;
  height: 59px;
  transition: .3s;
  }
  &:hover:after{
  transform: translate(-50%, -70%) scale(1.1);
  }
}
.p-top-fv__tagline-wrap{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 0 0;
  @media screen and (max-width: 840px) {
    justify-content: center;
  }
}
.p-top-fv__tagline{
  font-size: 20px;
  @media screen and (max-width: 840px) {
    font-size: 16px;
  }
}
.p-top-fv__tagline-ai{
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  background-color: var(--gray-bg-01);
  padding: 10px 20px;
  @media screen and (max-width: 840px) {
    font-size: 14px;
    padding: 5px 15px;
  }
}
.p-top-fv__logo-image-wrap{
  max-width: 300px;
  width: 100%;
  padding:40px 0 0 0;
  @media screen and (max-width: 840px) {
    max-width: 220px;
    padding: 20px;
    margin-inline: auto;
  }
}
/*
ロゴ変わりました
 */
.p-top-fv-box {
  text-align: center;
  border-radius: 10px;
  border: 2px solid var(--gray-bg-02);
  margin: 0 auto;
  max-width: 1000px;
  @media screen and (min-width: 601px) and (max-width: 839px) {
    margin: 0;
  }
}
.p-top-fv-box__text {
  background: var(--gray-bg-02);
  padding: 10px;
  font-size: 18px;
  font-weight: 700;
}
.p-top-fv-box__inner {
  position: relative;
  max-width: 700px;
  margin-inline: auto;
  border-radius: 5px;
  display: flex;
  gap: 0 80px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 62%;
    transform: translate(calc(-50% - 80px), -50%) rotate(-90deg);
    width: 25px;
    height: 34px;
    mask: url(/rakurakucloud/jidootai/asset/image/common/icon/icon_arrow-primary.svg) no-repeat center / contain;
    -webkit-mask: url(/rakurakucloud/jidootai/asset/image/common/icon/icon_arrow-primary.svg) no-repeat center / contain;
    background-color: var(--gray-bg-01);
    @media screen and (max-width: 600px) {
      left: 50%;
      transform: translate(-50%, -50%) rotate(0deg);
    }
  }
  @media screen and (max-width: 600px) {
    display: block;
  }
}
.p-top-fv-box__image-md {
  max-width: 200px;
  width: 100%;
  @media screen and (max-width: 600px) {
    margin: 0 auto;
  }
}
.p-top-fv-box__image-rjidootai {
  max-width: 200px;
  width: 100%;
  @media screen and (max-width: 600px) {
    margin: 70px auto 0;
  }
}