@charset "UTF-8";

/*
  /rakurakucloud/seisan/base/css/page/p-top-0002-fv.css
  topページFV＋次セクション用CSS
*/

main {
  font-family: 'Noto Sans JP', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, Meiryo, YuGothic, 'Yu Gothic medium', 'Hiragino Sans', Meiryo, sans-serif;
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* -------------------------------------------------------------------------
  FV（p-top-fv）
------------------------------------------------------------------------- */
.p-top-fv {
  position: relative;
  padding: 55px 0 24px;
  overflow: hidden;
  /* グラデーションの重ね合わせ */
  background: radial-gradient(circle farthest-corner at 100% 0%, #55d7f5 0%, transparent 40%), linear-gradient(135deg, var(--rseisan-primary) 0%, var(--rseisan-primary) 25%, #1e50c3 70%);
  @media screen and (max-width: 840px) {
    padding: 70px 0 0;
    background: radial-gradient(circle farthest-corner at 100% 0%, #55d7f5 0%, transparent 17%), linear-gradient(135deg, var(--rseisan-primary) 0%, var(--rseisan-primary) 50%, #1e50c3 80%);
    &:after {
      top: 80px;
      right: -90px;
      width: 382px;
    }
  }
  @media screen and (max-width: 600px) {
    padding: 24px 0 0;
  }
}
.p-top-fv__inner {
  position: relative;
  max-width: var(--contents-width-1200px);
  margin: 0 auto;
  &:after {
    content: '';
    position: absolute;
    top: -160px;
    right: -50px;
    aspect-ratio: 1 / 1;
    width: 707px;
    background: url('/rakurakucloud/seisan/base/image/top/image-fv-bg.webp') no-repeat center center/contain;
  }
  @media screen and (max-width: 1280px) {
    max-width: 100%;
    padding: 0 20px;
    &:after {
      right: 0px;
    }
  }
  @media screen and (max-width: 840px) {
    max-width: 80%;
    padding: 0 20px 24px;
    &:after {
      right: -50px;
    }
  }
  @media screen and (max-width: 600px) {
    max-width: 100%;
    &:after {
      content: none;
    }
  }
}
.p-top-fv__body {
  position: relative;
  z-index: 10;
  color: var(--white);
  @media screen and (max-width: 840px) {
    width: 100%;
    max-width: 100%;
  }
}
/* FVの見出し */
.p-top-fv-heading {
  font-size: 65px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-3percent);
  color: var(--white);
  @media screen and (max-width: 1100px) {
    font-size: 5.3vw;
  }
  @media screen and (max-width: 970px) {
    font-size: 3.8vw;
  }
  @media screen and (max-width: 840px) {
    font-size: 38px;
  }
  @media screen and (max-width: 600px) {
    font-size: 34px;
    text-align: left;
  }
}
/* FVのステータス */
.p-top-fv-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin: 38px 0 36px;
  @media screen and (max-width: 1024px) {
    gap: 16px 20px;
  }
  /* SP：縦に並べ、右側にデバイス画像を重ねる */
  @media screen and (max-width: 840px) {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 50%;
    max-width: 230px;
    margin: 24px 0 32px;
  }
}
.p-top-fv-stats__item {
  color: var(--white);
  @media screen and (max-width: 840px) {
    padding: 10px 0 12px;
    border-bottom: 1px solid color-mix(in srgb, var(--white) 40%, transparent);
    &:first-child {
      padding: 0 0 12px;
    }
    &:last-child {
      border-bottom: none;
      padding: 12px 0 0;
    }
  }
}
/* FVのステータスのラベル */
.p-top-fv-stats__term {
  position: relative;
  padding: 0 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-5percent);
  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 10px;
    height: 16px;
    background: url('/rakurakucloud/seisan/base/image/top/icon-stats.svg') no-repeat center/contain;
  }
  @media screen and (max-width: 840px) {
    padding: 0 0 0 22px;
    font-size: 14px;
    line-height: 1.2;
    &::before {
      width: 14px;
      height: 20px;
    }
  }
}
.p-top-fv-stat__term-small {
  @media screen and (max-width: 840px) {
    font-size: 10px;
  }
}
.p-top-fv-stats__desc {
  display: flex;
  align-items: baseline;
  margin: 6px 0 0;
  font-weight: 700;
  line-height: 1;
  @media screen and (max-width: 840px) {
    margin: 0;
  }
}
.p-top-fv-stats__num {
  font-size: 48px;
  @media screen and (max-width: 1024px) {
    font-size: 40px;
  }
  @media screen and (max-width: 600px) {
    font-size: 32px;
  }
}
.p-top-fv-stats__unit {
  font-size: 28px;
  @media screen and (max-width: 1024px) {
    font-size: 24px;
  }
  @media screen and (max-width: 600px) {
    font-size: 18px;
  }
}
.p-top-fv-stats__suffix {
  font-size: 38px;
  @media screen and (max-width: 1024px) {
    font-size: 30px;
  }
  @media screen and (max-width: 600px) {
    font-size: 24px;
  }
}
.p-top-fv-stats__note {
  align-self: flex-end;
  font-size: 10px;
  font-weight: normal;
}
/* FVのCTA */
.p-top-fv-cta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  @media screen and (max-width: 840px) {
    flex-direction: column;
  }
}
.p-top-fv-cta-item {
  flex: 0 1 316px;
  .c-cta {
    width: 100%;
  }
  &.p-top-fv-cta-item--border {
    flex-basis: 276px;
  }
  @media screen and (max-width: 840px) {
    flex-basis: auto;
    &.p-top-fv-cta-item--border {
      flex-basis: auto;
    }
  }
}
/* タレント画像ラップ（Figma 1400px幅：left 723 / top 27 / width 500 を inner 基準の割合で指定） */
.p-top-fv__talent-wrap {
  position: absolute;
  top: -28px;
  left: 60.25%;
  z-index: 10;
  width: 41.67%;
  @media screen and (max-width: 1280px) {
    left: 63.25%;
  }
  @media screen and (max-width: 1024px) {
    top: 8px;
    left: 68.25%;
    width: 36%;
  }
  @media screen and (max-width: 840px) {
    top: 120px;
    right: 0;
    left: auto;
    width: 288px;
  }
  @media screen and (max-width: 600px) {
    top: 45px;
    right: 0;
    left: auto;
    width: min(79%, 390px);
  }
}
.p-top-fv__talent-image {
  display: block;
  width: 100%;
  height: auto;
}
.p-top-fv__note {
  position: relative;
  z-index: 10;
  margin: 40px 0 0;
  color: var(--white);
  @media screen and (max-width: 840px) {
    margin: 25px 0 0;
  }
}

/* -------------------------------------------------------------------------
  目的別リンク集
------------------------------------------------------------------------- */
.p-top-purpose {
  padding: 24px 0;
}
.p-top-purpose__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.p-top-purpose__heading {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: var(--letter-spacing-3percent);
  @media screen and (max-width: 840px) {
    padding: 0 20px;
    font-size: 20px;
  }
}
.p-top-purpose-list {
  margin: 10px 0 0;
  /* slick初期化前はPC3列で表示（レイアウトシフト防止） */
  &:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    @media screen and (max-width: 1024px) {
      display: block;
    }
  }
  @media screen and (max-width: 1024px) {
    margin: 24px 0 0;
  }
  /* 前後の矢印（PC） */
  .slick-prev,
  .slick-next {
    top: 50%;
    bottom: auto;
    width: 45px;
    height: 45px;
    transform: translateY(-50%);
    transition: var(--transition);
    &::before {
      top: 0;
      bottom: auto;
      width: 45px;
      height: 45px;
    }
    &::after {
      width: 11px;
      height: 11px;
    }
    @media screen and (max-width: 1280px) {
      top: auto;
      bottom: -50px;
      width: 25px;
      height: 25px;
      &::before {
        width: 25px;
        height: 25px;
      }
    }
  }
  .slick-prev {
    left: -64px;
    &:hover {
      transform: translate(-3px, -50%);
    }
    &::after {
      left: 19px;
    }
    @media screen and (max-width: 1280px) {
      left: 70px;
      &::after {
        left: 10px;
      }
    }
  }
  .slick-next {
    right: -64px;
    &:hover {
      transform: translate(3px, -50%);
    }
    &::after {
      right: 19px;
    }
    @media screen and (max-width: 1280px) {
      right: 70px;
      &::after {
        right: 10px;
      }
    }
  }
}
.p-top-purpose-item {
  padding: 10px 6px;
  @media screen and (max-width: 1280px) {
    padding: 0 5px;
    &:not(.slick-active) {
      opacity: 0.5;
      pointer-events: none;
    }
  }
}
.p-top-purpose-item__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 16px 42px 16px 16px;
  background-color: var(--white);
  border-radius: var(--border-radius-12px);
  color: var(--black);
  &::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
    transition: right 0.3s ease;
    border-top: 2px solid var(--rseisan-primary);
    border-right: 2px solid var(--rseisan-primary);
  }
  &:hover::after {
    right: 15px;
  }
  &:hover {
    box-shadow: var(--card-new-shadow-hover);
    &::after {
      right: 15px;
    }
  }
}
.p-top-purpose-item__illust {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 100%;
  background-color: var(--rseisan-bg-sub-03);
}
.p-top-purpose-item__illust-image {
  display: block;
  width: 78px;
  height: 78px;
}
.p-top-purpose-item__body {
  flex: 1;
  min-width: 0;
}
.p-top-purpose-item__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing-3percent);
  color: var(--rseisan-primary);
}
.p-top-purpose-item__text {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing-3percent);
}
/* 停止・再生ボタン */
.p-top-purpose__inner .slick-pause {
  display: block;
  margin: 0 auto;
  left: -70px;
  bottom: 4px;
}

/* -------------------------------------------------------------------------
  企業ロゴ帯
------------------------------------------------------------------------- */
.p-top-fv-logo {
  padding: 10px 0;
  overflow: hidden;
  background-color: var(--white);
}
.p-top-fv-logo__image {
  width: 100%;
  height: 120px;
  background: url(/rakurakucloud/seisan/base/image/top/logo_beside-set.webp) repeat-x left center/auto 120px;
  animation: loop 60s linear infinite;
  @media screen and (max-width: 840px) {
    height: 60px;
    background: url(/rakurakucloud/seisan/base/image/top/logo_beside-set.webp) repeat-x left center/auto 60px;
  }
}
@keyframes loop {
  0% {
    background-position: 0 0;
  }
  100% {
    /* 画像の横幅と同じ数値 */
    background-position: -4300px 0;
  }
}
