/*
  /rakurakucloud/mailmarketing/asset/css/page/p-solution-marketing-automation-fv.css
  /solution/marketing-automation/ページFV＋次セクション用CSS
*/
.l-header__inner {
  width: 98%;
  margin: 16px 20px;
  @media screen and (max-width: 840px) {
    width: 100%;
    margin: 16px auto;
  }
  @media screen and (max-width: 1240px) {
    width: 100%;
    padding: 0;
    margin: 16px auto 12px;
  }
  @media screen and (max-width: 600px) {
    margin: 10px auto 8px;
  }
}
.l-header-gnavi {
  margin: 0 30px;
  @media screen and (max-width: 1200px) {
    margin: 0 0 0 20px;
  }
  @media screen and (max-width: 1240px) {
    display: none;
  }
}
.l-header-gnavi-item__link {
  padding: 29px 12px;
}
.l-header.is-scroll {
  transform: none;
}
/* 
sp 
*/
.l-header {
  @media screen and (max-width: 1240px) {
    padding: 0 11px;
    z-index: var(--z-index-header);
  }
}
.l-header__inner {
  margin: 0;
  @media screen and (max-width: 1240px) {
    margin: 0 auto 8px;
  }
}
.l-header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  @media screen and (max-width: 1240px) {
    margin: 0 75px 0 0;
  }
  @media screen and (max-width: 840px) {
    display: none;
  }
}
.l-header-cta__button {
  @media screen and (max-width: 1240px) {
    padding: 6px 20px;
  }
}
.l-header-logo__image-wrap {
  @media screen and (max-width: 1240px) {
    padding: 5px 0;
  }
}
.l-header-logo__image {
  width: 340px;
  @media screen and (max-width: 1375px) {
    width: 200px;
  }
}
.l-header-sp-tagline {
  display: none;
  @media screen and (max-width: 1240px) {
    display: block;
    font-size: 10px;
    color: var(--black);
    font-weight: 700;
    padding: 0 0 0 15px;
  }
}
.l-header-sp-menu {
  display: none;
  @media screen and (max-width: 1240px) {
    display: block;
    width: 50px;
    height: 50px;
    background-color: var(--rmailmarketing-primary);
    position: fixed;
    top: 0;
    right: 0;
    z-index: var(--z-index-header);
  }
}
.l-header-sp-menu__line {
  @media screen and (max-width: 1240px) {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    border-radius: 2px;
    background-color: var(--white);
    width: 25px;
    &:nth-last-of-type(1) {
      top: 15px;
    }
    &:nth-last-of-type(2) {
      top: 25px;
    }
    &:nth-last-of-type(3) {
      top: 35px;
    }
  }
}
.l-header-sp-menu.is-active {
  background-color: var(--gray-bg-02);
}
.l-header-sp-menu.is-active .l-header-sp-menu__line {
  &:nth-of-type(1) {
    top: 25px;
    left: 13px;
    transform: rotate(45deg);
    background-color: var(--rmailmarketing-primary);
  }
  &:nth-of-type(2) {
    display: none;
  }
  &:nth-of-type(3) {
    top: 25px;
    left: 13px;
    transform: rotate(-45deg);
    background-color: var(--rmailmarketing-primary);
  }
}
.l-header-sp-gnavi {
  display: none;
  position: fixed;
  width: 100%;
  top: 50px;
  left: 0;
  background-color: var(--gray-bg-02);
  @media screen and (max-width: 1240px) {
    display: none;
  }
}
.l-header-sp-gnavi__inner {
  display: none;
  width: 100%;
  height: 100vh;
  overflow: auto;
  @media screen and (max-width: 1240px) {
    display: block;
  }
}
.l-header-sp-gnavi-item {
  border-bottom: 1px solid var(--gray-bg-01);
  position: relative;
}
.l-header-sp-gnavi-item__link {
  display: block;
  padding: 20px 20px 17px;
  font-size: 14px;
  color: var(--black);
}
.l-header-sp-cta {
  padding: 20px 20px 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.l-header-sp-cta__button {
  display: block;
  width: 100%;
  background-color: var(--rmailmarketing-cta);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  border-radius: 25px;
  padding: 15px 15px 12px;
  line-height: 1;
  text-align: center;
}

.l-common-main {
  padding: 80px 0 0 0;
  @media screen and (max-width: 1240px) {
    padding: 50px 0 0 0;
  }
}
.p-solution-marketing-automation-fv {
  overflow: hidden;
  padding: 100px 0;
  background-color: var(--gray-bg-02);
  @media screen and (max-width: 840px) {
    height: 500px;
    padding: 30px 30px 0;
  }
  @media screen and (max-width: 600px) {
    height: 400px;
    padding: 25px 20px 105px;
  }
}
.p-solution-marketing-automation-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: 840px) {
    display: block;
    padding: 0;
  }
  &::before {
    content: "";
    position: absolute;
    z-index: 10;
    bottom: -290px;
    right: -357px;
    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) {
      width: 370px;
      height: 830px;
      bottom: -412px;
      right: 63px;
      transform: rotate(11deg);
    }
    @media screen and (max-width: 840px) {
      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-solution-marketing-automation-fv__title {
  @media screen and (max-width: 840px) {
    display: grid;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
}

.p-solution-marketing-automation-fv__image-wrap {
  position: absolute;
  right: 82px;
  top: -70px;
  width: 512px;
  z-index: 20;
  @media screen and (max-width: 1240px) {
    right: -50px;
    top: 0;
  }
  @media screen and (max-width: 1024px) {
    right: -110px;
  }
  @media screen and (max-width: 840px) {
    width: 100%;
    top: auto;
    right: 0;
    text-align: center;
  }
}
.p-solution-marketing-automation-fv__image {
  @media screen and (max-width: 1024px) {
    width: 440px;
    height: 474px;
  }
  @media screen and (max-width: 840px) {
    width: 310px;
    height: 334px;
  }
}
.p-solution-marketing-automation-fv-h1 {
  display: block;
  font-size: 55px;
  font-weight: 700;
  line-height: 1.3;
  @media screen and (max-width: 1240px) {
    font-size: 50px;
    margin: 25px 0 0 0;
  }
  @media screen and (max-width: 1024px) {
    font-size: 35px;
    margin: 25px 0 0 0;
  }
  @media screen and (max-width: 840px) {
    margin: 0;
    font-size: 35px;
  }
  @media screen and (max-width: 600px) {
    font-size: 27px;
  }
}
.p-solution-marketing-automation-fv__logo-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-solution-marketing-automation-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;
  }
  .c-cta {
    & .c-cta__link {
      padding: 28px 25px 27px;
      @media screen and (max-width: 840px) {
        padding: 20px 15px 18px;
        font-size: 16px;
      }
    }
  }
}

/* 〇〇社超～ */
.p-solution-marketing-automation-fv-company {
  margin: 20px 10px 20px;
  @media screen and (max-width: 1024px) {
    margin: 0 10px 20px;
  }
  @media screen and (max-width: 600px) {
    margin: 0 10px 50px;
  }
}
.p-solution-marketing-automation-fv-company__laurel-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  @media screen and (max-width: 600px) {
    gap: 10px;
  }
}
.p-solution-marketing-automation-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) {
    height: 100px;
    padding: 35px 35px 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-solution-marketing-automation-fv-company__laurel--small {
    width: 200px;
    @media screen and (max-width: 600px) {
      width: 150px;
    }
  }
  &.p-solution-marketing-automation-fv-company__laurel--large {
    width: 260px;
    @media screen and (max-width: 600px) {
      flex: 0 0 58%;
      padding: 35px 20px 0;
    }
  }
}

.p-solution-marketing-automation-fv-company__text-xl {
  font-size: 50px;
  font-weight: bold;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  @media screen and (max-width: 840px) {
    font-size: 30px;
    line-height: 1.1;
  }
}
.p-solution-marketing-automation-fv-company__text-normal {
  font-size: 16px;
  font-weight: bold;
  line-height: 0.9;
  @media screen and (max-width: 840px) {
    font-size: 13px;
    line-height: 1.2;
  }
}
/* 企業ロゴ */
.p-solution-marketing-automation-fv-contract {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  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;
  @media screen and (max-width: 840px) {
    margin: 0 auto;
  }
}

@keyframes loop {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -1920px 0;
  }
}
/* 注釈 */
.p-solution-marketing-automation-fv-note {
  max-width: 1200px;
  margin: 20px auto 0;
  line-height: 1.1;
  display: flex;
  gap: 20px;
  @media screen and (max-width: 1024px) {
    padding: 0 20px;
  }
  @media screen and (max-width: 840px) {
    padding: 0 10px;
  }
}
/* 「楽楽メールマーケティング」の特徴 */
.p-solution-marketing-automation-feature-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 30px 0 0;
  @media screen and (max-width: 1024px) {
    grid-template-columns: 1fr;
  }
}
.p-solution-marketing-automation-feature-card__box {
  position: relative;
  background-color: var(--white);
  border-radius: 10px;
  padding: 50px 20px 30px;
}
.p-solution-marketing-automation-feature-card__box-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
}
.p-solution-marketing-automation-feature-card-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 20px 0 0;
  @media screen and (max-width: 600px) {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
.p-solution-marketing-automation-feature-card-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  background-color: var(--gray-bg-02);
  border-radius: 10px;
  @media screen and (max-width: 600px) {
    grid-template-columns: 60px 1fr;
    padding: 10px 20px;
  }
}
.p-solution-marketing-automation-feature-card-item__icon-wrap {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 40px;
  background-color: var(--white);
  @media screen and (max-width: 600px) {
    width: 60px;
    height: 60px;
  }
}
.p-solution-marketing-automation-feature-card-item__icon {
  width: 60px;
  height: 60px;
  @media screen and (max-width: 600px) {
    width: 40px;
    height: 40px;
  }
}
.p-solution-marketing-automation-feature-card__box__text {
  display: flex;
  align-items: center;
  color: var(--rmailmarketing-dark);
  font-size: 18px;
  font-weight: 700;
  word-break: break-all;
  @media screen and (max-width: 600px) {
    font-size: 16px;
  }
}
