@charset "UTF-8";

/* =====================
  Recruit
===================== */
.main {
  /* =====================
    MV
  ===================== */
  .u-mv {
    background-image: unset;

    &::before {
      content: '';
      display: block flow;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center top;
      background-image: url('../img/recruit/mv_bg.png');
      inline-size: 100%;
      block-size: 1370px;
      position: absolute;
      left: 0;
      top: 0;
      z-index: -1;
      pointer-events: none;
    }

    @media (width <= 768px) {
      &::before {
        background-image: url('../img/recruit/mv_bg_2x.png');
        inline-size: 100%;
        block-size: calc((100 / 390) * 1594 * 1vw);
      }
    }

    .u-inner {
      &::before {
        background-image: url('../img/recruit/mv.png');
      }

      @media (width <= 768px) {
        &::before {
          background-image: url('../img/recruit/mv_2x.png');
        }
      }

      &::after {
        content: '';
        display: block flow;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        background-image: url('../img/recruit/message.png');
        inline-size: 243px;
        block-size: 200px;
        pointer-events: none;
        position: absolute;
        bottom: -346px;
        right: 40px;
      }

      @media (width <= 768px) {
        &::after {
          background-image: url('../img/recruit/message_2x.png');
          width: 271px;
          height: 221px;
          inline-size: calc((100 / 390) * 135.5 * 1vw);
          block-size: calc((100 / 390) * 110.5 * 1vw);
          pointer-events: none;
          position: absolute;
          bottom: calc((100 / 390) * -177 * 1vw);
          right: calc((100 / 390) * 16 * 1vw);
        }
      }
    }
  }
  /* =====================
      message
    ===================== */
  .message {
    position: relative;
    padding-block-start: 23px;
    overflow: hidden;

    @media (width <= 768px) {
      padding-block-start: 0;
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }

    .u-inner {
      display: block flex;
      align-items: start;
      gap: 136px;

      @media (width <= 768px) {
        flex-direction: column;
        gap: calc((100 / 390) * 48 * 1vw);
      }

      .wrap {
        position: relative;
        margin-block-start: 56px;

        @media (width <= 768px) {
          margin-block-start: 0;
        }

        .catch {
          background-image: linear-gradient(97deg, #22327e 34%, #5d69a1 54%, #0f1b53 79%);
          font-family: var(--shippori);
          font-size: 24px;
          line-height: 1.3;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 20 * 1vw);
          }
        }

        .description {
          line-height: 1.9;
          margin-block-start: 44px;

          @media (width <= 768px) {
            line-height: 1.88;
            margin-block-start: calc((100 / 390) * 38 * 1vw);
          }
        }
      }
    }

    /* loop */
    .loop {
      position: relative;
      inline-size: fit-content;
      pointer-events: none;
      display: block flex;
      gap: 32px;
      margin-block-start: 96px;

      @media (width <= 768px) {
        gap: calc((100 / 390) * 24 * 1vw);
        margin-block-start: calc((100 / 390) * 54 * 1vw);
      }

      .loop-box {
        display: block flex;
        animation: loop-list 60s linear infinite;
        gap: 32px;
        flex-shrink: 0;

        @media (width <= 768px) {
          gap: calc((100 / 390) * 24 * 1vw);
        }
        .loop-item {
          width: fit-content;
          display: block;
          flex-shrink: 0;
          & img {
            @media (width <= 768px) {
              inline-size: calc((100 / 390) * 280 * 1vw);
            }
          }
        }
      }
    }
  }

  /* =====================
      requirement
  ===================== */
  .requirement {
    position: relative;
    padding-block-start: 104px;
    padding-block-end: 120px;

    @media (width <= 768px) {
      padding-block-start: calc((100 / 390) * 65 * 1vw);
      padding-block-end: calc((100 / 390) * 88 * 1vw);
    }

    .u-inner {
      .wrap {
        .u-table {
          margin-block-start: 32px;

          @media (width <= 768px) {
            margin-block-start: calc((100 / 390) * 25 * 1vw);
          }
        }
      }

      .entry_btn {
        position: relative;
        display: block flow;
        margin-block-start: 118px;
        padding-block: 80px;
        padding-inline: 80px;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        background-image: url('../img/recruit/entry_btn_bg.png');
        inline-size: 100%;

        @media (width <= 768px) {
          margin-block-start: calc((100 / 390) * 87 * 1vw);
          padding-block: calc((100 / 390) * 49 * 1vw);
          padding-inline: calc((100 / 390) * 24 * 1vw);
          background-image: url('../img/recruit/entry_btn_bg_2x.png');
          inline-size: calc((100 / 390) * 357 * 1vw);
          block-size: calc((100 / 390) * 284 * 1vw);
        }

        .u-hgroup {
          & h2.title {
            &::before {
              background-image: url('../img/recruit/icon_logo.png');
              inline-size: 23px;
              block-size: 18px;
            }
          }
        }

        .arrow {
          background-repeat: no-repeat;
          background-size: contain;
          background-position: center;
          background-image: url('../img/_common/icon_ellipse.svg');
          inline-size: 78px;
          block-size: 63px;
          display: block grid;
          place-content: center;
          position: absolute;
          top: 50%;
          right: 90px;
          transform: translateY(-50%);

          @media (width <= 768px) {
            inline-size: calc((100 / 390) * 63 * 1vw);
            block-size: calc((100 / 390) * 51 * 1vw);
            top: unset;
            right: unset;
            bottom: calc((100 / 390) * 58 * 1vw);
            left: 50%;
            transform: translate(-50%, 0);
          }

          &::after {
            content: '';
            display: block flow;
            inline-size: 19px;
            aspect-ratio: 19 / 14;
            mask-repeat: no-repeat;
            mask-size: contain;
            mask-position: center;
            mask-image: var(--icon-arrow);
            background: linear-gradient(139deg, #22327e 34.75%, #5d69a1 55.2%, #0f1b53 81.5%);
          }

          @media (width <= 768px) {
            &::after {
              inline-size: calc((100 / 390) * 19 * 1vw);
            }
          }
        }
      }
    }
  }
}
