/*
  /rakurakucloud/mailmarketing/asset/css/page/p-scene-eightteam-fv.css
  scene/eightteamページFV＋次セクション用CSS
*/

.p-scene-eightteam-fv {
  overflow: hidden;
  padding: 122px 0 160px;
  background-color: var(--gray-bg-02);
  @media screen and (max-width: 1024px) {
    height: 525px;
    padding: 30px 30px 0;
  }
}
.p-scene-eightteam-fv__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 40px;
  width: 1200px;
  gap: 40px;
  @media screen and (max-width: 1280px) {
    width: 100%;
    padding: 0 60px;
  }
  @media screen and (max-width: 1024px) {
    display: block;
    padding: 0;
  }
  &::before {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: -344px;
    right: -276px;
    width: 612px;
    height: 682px;
    background-image: url(/rakurakucloud/mailmarketing/asset/image/common/component/fv-back-component.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    transform: rotate(-10deg);
    @media screen and (max-width: 1280px) {
      right: -194px;
      transform: rotate(-93deg);
    }
    @media screen and (max-width: 1024px) {
      right: -37px;
      bottom: -496px;
      width: 350px;
      height: 500px;
      transform: rotate(-7deg);
    }
    @media screen and (max-width: 600px) {
      transform: rotate(-36deg);
      bottom: -420px;
      right: -125px;
      width: 320px;
      height: 448px;
    }
  }
  &::after {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: -196px;
    left: -346px;
    width: 312px;
    height: 382px;
    background-image: url(/rakurakucloud/mailmarketing/asset/image/common/component/fv-back-component-sub.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-10deg);
    @media screen and (max-width: 1024px) {
      display: none;
    }
  }
}
.p-scene-eightteam-fv__title {
  @media screen and (max-width: 1024px) {
    display: grid;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

.p-scene-eightteam-fv__image-wrap {
  position: absolute;
  right: 82px;
  top: -100px;
  width: 512px;
  z-index: 20;
  @media screen and (max-width: 1280px) {
    right: 0;
  }
  @media screen and (max-width: 1024px) {
    width: 100%;
    top: 182px;
    right: 0;
    text-align: center;
  }
}
.p-scene-eightteam-fv__image {
  @media screen and (max-width: 1024px) {
    width: 440px;
    height: 474px;
  }
  @media screen and (max-width: 840px) {
    width: 310px;
    height: 334px;
  }
}
.p-scene-eightteam-fv-h1 {
  display: block;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  @media screen and (max-width: 600px) {
    font-size: 20px;
  }
  .u-color-rmailmarketing {
    font-size: 46px;
    line-height: 120%;
    @media screen and (max-width: 1280px) {
      font-size: 40px;
    }
    @media screen and (max-width: 600px) {
      font-size: 26px;
    }
  }
}
.p-scene-eightteam-fv-h1__catch {
  font-size: 24px;
  font-weight: 400;
  line-height: 243%;
  @media screen and (max-width: 1280px) {
    font-size: 20px;
  }
  @media screen and (max-width: 600px) {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
  }
}
.p-scene-eightteam-fv__logp-wrap {
  width: 340px;
  height: auto;
  padding: 20px 0;
  @media screen and (max-width: 840px) {
    width: 300px;
    padding: 20px;
    margin: 0 auto;
  }
  @media screen and (max-width: 600px) {
  }
}
.p-scene-eightteam-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: 5px;
    margin: -138px 0 0;
  }
}
.p-scene-eightteam .c-cta {
  &.c-cta--border {
    margin: 0;
  }
  & .c-cta__link {
    padding: 29px 25px 27px;
    @media screen and (max-width: 600px) {
      width: 310px;
      padding: 24px 15px;
    }
  }
}
/* エンブレムの上のテキスト */
.p-scene-eightteam-fv-lead {
  margin: 40px auto 20px;
  text-align: center;
}
.p-scene-eightteam-fv-lead__large {
  color: var(--rmailmarketing-dark);
  font-size: 30px;
  font-weight: 700;
  line-height: 170%;
  @media screen and (max-width: 840px) {
    font-size: 24px;
    line-height: 1.3;
  }
}
.p-scene-eightteam-fv-lead__large-name {
  font-family: "Roboto", sans-serif;
}
.p-scene-eightteam-fv-lead__small {
  font-size: 24px;
  font-weight: 700;
  line-height: 170%;
}
/* 〇〇社超～ */
/* 企業ロゴ */
.p-scene-eightteam-fv-contract {
  width: 100%;
  text-align: center;
  margin: 30px auto 0;
  height: 120px;
  overflow: hidden;
  animation: loop 50s linear infinite;
  background: url(/rakurakucloud/mailmarketing/asset/image/common/figure/company.webp) repeat-x left center / auto 90px;
}
@keyframes loop {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -1920px 0;
  }
}
/* 注釈 */
.p-scene-eightteam-fv-note {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.1;
  @media screen and (max-width: 840px) {
    padding: 0 10px;
  }
}
.p-scene-eightteam-fv-company__text {
  font-size: 24px;
  font-weight: 700;
  text-align: left;
  font-family: "Roboto", sans-serif;
  @media screen and (max-width: 1280px) {
    display: block;
    text-align: center;
  }
}
.p-scene-eightteam-fv-company__text-large {
  font-size: 38px;
  font-weight: 700;
}
.p-scene-eightteam-fv-company__laurel-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  @media screen and (max-width: 600px) {
    gap: 10px;
  }
}
.p-scene-eightteam-fv-company__laurel {
  position: relative;
  padding: 8px 25px 0;
  text-align: center;
  width: 200px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  @media screen and (max-width: 600px) {
    flex: 0 0 50%;
    height: 100px;
    padding: 35px 15px 0;
  }
  &::before {
    content: "";
    position: absolute;
    width: 45px;
    height: 100px;
    top: 20%;
    left: 0;
    background: url(/rakurakucloud/mailmarketing/asset/image/common/figure/figure-laurel-left.svg) center / contain no-repeat;
    z-index: -10;
  }
  &::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 100px;
    top: 20%;
    right: 0;
    background: url(/rakurakucloud/mailmarketing/asset/image/common/figure/figure-laurel-right.svg) center / contain no-repeat;
    z-index: -10;
  }
  &.p-scene-eightteam-fv-company__laurel--small {
    width: 180px;
    @media screen and (max-width: 600px) {
      width: auto;
    }
  }
  &.p-scene-eightteam-fv-company__laurel--large {
    width: 230px;
    @media screen and (max-width: 600px) {
      width: auto;
    }
  }
}

.p-scene-eightteam-fv-company__text-xl {
  font-size: 38px;
  font-weight: bold;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  @media screen and (max-width: 840px) {
    font-size: 33px;
    line-height: 1.1;
  }
  @media screen and (max-width: 600px) {
    font-size: 28px;
  }
}
.p-scene-eightteam-fv-company__text-normal {
  font-size: 16px;
  font-weight: bold;
  line-height: 0.9;
  @media screen and (max-width: 840px) {
    font-size: 14px;
    line-height: 1;
  }
}
.p-scene-eightteam-fv-company__text-small {
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}
.p-scene-eightteam-fv-note {
  padding: 20px 0 0;
  line-height: 1.1;
}
