/*
  /rakurakucloud/mailmarketing/asset/css/page/p-function-ai-html-fv.css
  function/ai-htmlページFV＋次セクション用CSS
*/
/* FV前バー */
.p-function-ai-html-announce {
  background-color: var(--rmailmarketing-bg-sub-03);
}
.p-function-ai-html-announce__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 10px 40px;
  max-width: 1000px;
  width: 100%;
  min-height: 55px;
  gap: 0 30px;
  @media screen and (max-width: 600px) {
    padding: 5px 10px;
  }
}
.p-function-ai-html-announce__image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 50px;
  flex-shrink: 0;
  position: relative;
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 125px;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 29px;
    height: 20px;
    mask: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon_arrow-primary.svg) no-repeat center / contain;
    -webkit-mask: url(/rakurakucloud/mailmarketing/asset/image/common/icon/icon_arrow-primary.svg) no-repeat center / contain;
    background-color: var(--gray-06);
  }
  @media screen and (max-width: 600px) {
    display: none;
  }
}
@supports (-moz-appearance: none) {
  .p-function-ai-html-announce__inner {
    gap: 0 66px;
  }
  .p-function-ai-html-announce__image-wrap::after {
    left: 75px;
  }
}
.p-function-ai-html-announce__image-haihai {
  max-width: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.p-function-ai-html-announce__image-rmailmarketing {
  max-width: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.p-function-ai-html-announce__image {
  display: block;
  width: 100%;
  height: auto;
}
.p-function-ai-html-announce__text {
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.4;
  font-weight: 700;
}
/* FV */
.p-function-ai-html-fv {
  padding: 50px 0 70px;
  overflow: hidden;
  position: relative;
  @media screen and (max-width: 600px) {
    padding: 30px 0 60px;
  }
}
.p-function-ai-html-fv__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 0 30px;
  z-index: 10;
  @media screen and (max-width: 840px) {
    padding: 0 20px;
    flex-direction: column;
  }
}
.p-function-ai-html-fv__medal {
  width: 80px;
  height: auto;
  margin: 0 0 0 10px;
  vertical-align: middle;
  @media screen and (max-width: 840px) {
  }
}
.p-function-ai-html-fv__content {
  flex-basis: 40%;
  @media screen and (max-width: 840px) {
    text-align: center;
    width: 100%;
  }
}
.p-function-ai-html-fv__label {
  flex-grow: 0;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  background-color: var(--rmailmarketing-bg-sub-03);
  padding: 4px 10px;
  border-radius: 4px;
}
.p-function-ai-html-fv__title {
  font-size: clamp(36px, 5vw, 50px);
  font-weight: 700;
  position: relative;
  line-height: 1.3;
  @media screen and (max-width: 840px) {
    text-align: center;
  }
  @media screen and (max-width: 600px) {
  }
}
.p-function-ai-html-fv__title-sub {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  color: var(--black);
  display: block;
  line-height: 1.2;
  padding: 30px 0 0;
}
.p-function-ai-html-fv__title-sub + br {
  display: none;
}
.p-function-ai-html-fv-cta {
  top: 0;
  display: flex;
  justify-content: space-around;
  margin: -30px auto -42px;
  position: relative;
  width: 940px;
  z-index: 20;
  @media screen and (max-width: 1024px) {
    width: 97%;
    margin: 0 auto;
    top: -38px;
  }
  @media screen and (max-width: 840px) {
    display: flex;
    flex-wrap: wrap;
    width: 95%;
  }
  @media screen and (max-width: 600px) {
    top: -35px;
    margin: 0 auto -60px;
    .c-cta {
      .c-cta__link {
        width: 330px;
      }
    }
  }
}
.p-function-ai-html-fv-cta + .l-common-section {
  @media screen and (max-width: 840px) {
    padding: 80px 10px 50px;
  }
  @media screen and (min-width: 841px) {
    padding-top: 100px;
  }
}
/* 動画 */
.p-function-ai-html-fv__movie-wrap {
  position: relative;
  flex: 0 1 55%;
  width: min(55%, 660px);
  @media screen and (max-width: 840px) {
    flex-basis: auto;
    width: min(80%, 560px);
    margin: 20px 0 0;
  }
  @media screen and (max-width: 600px) {
    width: 100%;
  }
}
.p-function-ai-html-fv__movie {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}
