@charset "UTF-8";
/*
  /rakurakucloud/jugyoinportal/asset/css/page/p-top-fv.css
  topページFV＋次セクション用CSS
*/

/* =================================================
 * FV（m-fv の調整）
 * ================================================= */
.p-top {
  .m-fv {
    padding: 72px 0 104px;
    background-color: var(--rcloud-bg-sub-03);
    @media screen and (max-width: 840px) {
      padding: 30px 20px 190px;
    }
  }
  .m-fv__inner {
    padding: 0 48px;
    @media screen and (max-width: 840px) {
      padding: 0;
    }
    /* SP用のコンポーネント：PCは非表示、SPはモックの左下（CTAより上）に小さく、半分画面外に出して控えめに配置 */
    &::before {
      display: none;
      @media screen and (max-width: 840px) {
        display: block;
        top: auto;
        right: auto;
        bottom: 20px;
        left: -35px;
        width: 120px;
        height: 166px;
        background-image: url(/rakurakucloud/jugyoinportal/asset/image/common/component/fv-back-component.svg);
        transform: rotate(-13deg);
      }
      @media screen and (max-width: 600px) {
        bottom: 20px;
        left: -30px;
        width: 90px;
        height: 124px;
      }
    }
    /* 左下のコンポーネント（色付きに差し替え、画面幅1700px時の位置でコンテンツに対して固定） */
    /* 1280px以下はインナーが画面幅いっぱいになり、PC用サイズのままだとテキストに被るため、小さくしてFVの左下（画面左端からはみ出す位置）に配置 */
    /* SPは::beforeで表示するので非表示 */
    &::after {
      top: 180px;
      bottom: auto;
      left: -227px;
      width: 219px;
      height: 302px;
      background-image: url(/rakurakucloud/jugyoinportal/asset/image/common/component/fv-back-component.svg);
      transform: rotate(-13deg);
      @media screen and (max-width: 1280px) {
        display: block;
        top: auto;
        bottom: -140px;
        left: -35px;
        width: 110px;
        height: 152px;
      }
      @media screen and (max-width: 840px) {
        display: none;
      }
    }
  }
  .m-fv-h1 {
    margin: 23px 0 0;
    line-height: 1.25;
    @media screen and (max-width: 1024px) {
      margin: 25px 0 0;
    }
    @media screen and (max-width: 600px) {
      margin: 20px 0 0;
    }
  }
  .m-fv__check {
    margin: 10px 0 0;
    @media screen and (max-width: 840px) {
      margin: 10px auto 0;
    }
    @media screen and (max-width: 600px) {
      margin: 10px 0 0;
    }
  }
  .c-check-fv-item {
    padding: 3px 0 0 32px;
    font-size: 20px;
    line-height: 1.4;
    @media screen and (max-width: 1024px) {
      font-size: 18px;
    }
    @media screen and (max-width: 840px) {
      font-size: 16px;
    }
    @media screen and (max-width: 600px) {
      padding: 3px 0 0 28px;
      font-size: 14px;
    }
  }
  .m-fv__title-label {
    background: var(--rcloud-bg-main-02);
    font-size: 22px;
    padding: 10px 18px 7px 25px;
    @media screen and (max-width: 600px) {
      font-size: 14px;
      padding: 10px 15px 8px;
    }
  }
}

/* =================================================
 * FVのモック画像（トップ固有）
 * ================================================= */
.p-top-fv-visual {
  position: absolute;
  top: 26px;
  right: 123px;
  z-index: 20;
  width: 449px;
  @media screen and (max-width: 1280px) {
    right: 10%;
  }
  @media screen and (max-width: 1024px) {
    top: 50%;
    right: 12vw;
    width: 36vw;
    transform: translateY(-50%);
  }
  @media screen and (max-width: 840px) {
    position: relative;
    top: auto;
    right: auto;
    width: 68%;
    max-width: 449px;
    margin: 40px auto 0;
    transform: none;
  }
  /* 背面の楕円 */
  &::before {
    content: "";
    position: absolute;
    top: 2%;
    left: -12%;
    z-index: -10;
    width: 127%;
    height: 96%;
    border-style: solid;
    border-width: 4px 10px 10px 4px;
    border-color: transparent;
    border-radius: 50%;
    background: linear-gradient(to bottom right, var(--rcloud-bg-sub-02) 30%, var(--rcloud-bg-sub-01) 70%) border-box;
    /* 内側をくり抜いて、線の部分だけグラデーションを見せる */
    -webkit-mask:
      linear-gradient(var(--black) 0 0) padding-box,
      linear-gradient(var(--black) 0 0);
    -webkit-mask-composite: xor;
    mask:
      linear-gradient(var(--black) 0 0) padding-box,
      linear-gradient(var(--black) 0 0);
    mask-composite: exclude;
    transform: rotate(-28deg);
  }
}
.p-top-fv-visual__image {
  width: 100%;
  height: auto;
}

/* FVモックの吹き出し */
.p-top-fv-balloon {
  position: absolute;
  top: 42%;
  left: 63%;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  width: 232px;
  padding: 15px;
  border: 1px solid var(--gray-08);
  border-radius: 10px;
  background-color: var(--white);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  @media screen and (max-width: 1024px) {
    width: 190px;
    padding: 10px;
    gap: 8px;
  }
  /* SPは右端がコンテンツ幅（左右padding 20pxの内側）に収まるよう、モックの右端から23%外側を基準に右寄せ */
  @media screen and (max-width: 840px) {
    top: 38%;
    right: -23%;
    left: auto;
    gap: 6px;
    width: 145px;
    padding: 8px 7px;
  }
}
.p-top-fv-balloon__icon-wrap {
  display: grid;
  place-items: center;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  background-color: var(--rcloud-bg-sub-03);
  @media screen and (max-width: 1024px) {
    width: 44px;
    height: 44px;
  }
  @media screen and (max-width: 840px) {
    width: 30px;
    height: 30px;
  }
}
.p-top-fv-balloon__icon {
  width: 46px;
  height: auto;
  @media screen and (max-width: 1024px) {
    width: 34px;
  }
  @media screen and (max-width: 840px) {
    width: 24px;
  }
}
.p-top-fv-balloon__text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  @media screen and (max-width: 1024px) {
    font-size: 11px;
  }
  @media screen and (max-width: 840px) {
    font-size: 12px;
  }
}
.p-top-fv-balloon__accent {
  color: var(--rcloud-bg-main-02);
}

/* =================================================
 * FV CTA
 * ================================================= */
.p-top-fv-cta {
  top: -47px;
  display: flex;
  justify-content: space-around;
  margin: 0 auto -47px;
  position: relative;
  width: 940px;
  z-index: 30;
  @media screen and (max-width: 1024px) {
    width: 97%;
  }
  @media screen and (max-width: 840px) {
    flex-wrap: wrap;
    width: 95%;
    top: -132px;
    margin: 0 auto -132px;
  }
  @media screen and (max-width: 600px) {
    top: -120px;
    margin: 0 auto -110px;
  }
}

/* =================================================
 * 汎用注釈（FV直下でも使うためFV用CSSに記述）
 * ================================================= */
.p-top-note-list {
  margin: 20px 0 0;
}
.p-top-note-item {
  line-height: 1.4;
  & + .p-top-note-item {
    margin: 2px 0 0;
  }
}

/* =================================================
 * ラクスのクラウドサービス累計導入社数
 * （楽楽精算サイトTOPの累計導入社数エリアをベースに、円の中の文字は読みやすさを優先して調整）
 * ================================================= */
.p-top-achievement {
  padding: 74px 0 0;
  @media screen and (max-width: 840px) {
    padding: 50px 0 0;
  }
}
.p-top-achievement__inner {
  max-width: 1000px;
  margin: 0 auto;
  @media screen and (max-width: 1024px) {
    padding: 0 20px;
  }
}
.p-top-achievement__column {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 30px;
  @media screen and (max-width: 840px) {
    grid-template-columns: auto;
    gap: 20px;
  }
}
.p-top-achievement-title {
  font-size: 22px;
  font-weight: 700;
  @media screen and (max-width: 840px) {
    text-align: center;
  }
  @media screen and (max-width: 600px) {
    font-size: 18px;
  }
}
.p-top-achievement-title__number {
  font-size: 38px;
  color: var(--rcloud-bg-main-02);
  @media screen and (max-width: 600px) {
    font-size: 24px;
  }
}
.p-top-achievement-title__unit {
  font-size: 24px;
  @media screen and (max-width: 600px) {
    font-size: 18px;
  }
}
.p-top-achievement-list {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: center;
  gap: 14px;
}
.p-top-achievement-item {
  display: grid;
  align-content: center;
  width: 145px;
  height: 145px;
  padding: 8px 0 0;
  border-radius: 50%;
  background-color: var(--rcloud-bg-sub-03);
  font-size: 18px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  @media screen and (max-width: 600px) {
    width: 120px;
    height: 120px;
    padding: 4px 0 0;
    font-size: 15px;
    line-height: 18px;
  }
}
.p-top-achievement-item__label {
  display: block;
  font-size: 16px;
  line-height: 20px;
  @media screen and (max-width: 600px) {
    font-size: 13px;
    line-height: 16px;
  }
}
.p-top-achievement-item__number {
  display: block;
  margin: 4px 0 0;
  color: var(--rcloud-bg-main-02);
  font-size: 30px;
  line-height: 36px;
  white-space: nowrap;
  @media screen and (max-width: 600px) {
    font-size: 24px;
    line-height: 28px;
  }
  &.p-top-achievement-item__number--large {
    font-size: 48px;
    line-height: 48px;
    @media screen and (max-width: 600px) {
      font-size: 38px;
      line-height: 40px;
    }
  }
}
.p-top-achievement-item__unit {
  font-size: 18px;
  @media screen and (max-width: 600px) {
    font-size: 14px;
  }
}
/* （税抜）※3 は金額の下の行に表示 */
.p-top-achievement-item__tax {
  display: block;
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 14px;
  @media screen and (max-width: 600px) {
    font-size: 11px;
    line-height: 12px;
  }
}
