/*
  /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);
  @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: -190px;
    right: -350px;
    width: 650px;
    height: 786px;
    background-image: url(/asset/image/common/component/fv-back-component.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    transform: rotate(-10deg);
    @media screen and (max-width: 1024px) {
      width: 370px;
      height: 830px;
      bottom: -360px;
      right: -20px;
      transform: rotate(14deg);
    }
    @media screen and (max-width: 840px) {
      right: -75px;
      width: 350px;
      height: 500px;
      transform: rotate(90deg);
    }
    @media screen and (max-width: 600px) {
      transform: rotate(40deg);
      bottom: -410px;
      right: -125px;
      width: 320px;
      height: 448px;
    }
  }
  &::after {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: -330px;
    left: -504px;
    width: 496px;
    height: 550px;
    background-image: url(/asset/image/common/component/fv-back-component-sub.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(124deg);
    @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(--rdenshihozon-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;16
    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: -22px;
  width: 512px;
  z-index: 20;
  @media screen and (max-width: 1280px) {
    right: 0;
  }
  @media screen and (max-width: 1024px) {
    right: -110px;
    top: 0;
  }
  @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: 440px;
    height: 474px;
  }
  @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: -132px;
    margin: 0 auto -132px;
  }
  @media screen and (max-width: 600px) {
    top: -120px;
    margin: 0 auto -110px;
  }
}
