@charset "UTF-8";
@layer utility {
  /* =====================
    u-inner
  ===================== */
  :where(.u-inner) {
    max-inline-size: 1280px;
    margin-inline: auto;

    @media (width <= 768px) {
      padding-inline: calc((100 / 390) * 16 * 1vw);
    }
  }

  /* =====================
    u-hover
  ===================== */
  :where(.u-hover) {
    transition: opacity 0.3s ease-in-out;
    will-change: opacity;

    @media (any-hover: hover) {
      &:hover {
        opacity: 0.7;
      }
    }
  }

  /* =====================
    u-hgroup
  ===================== */
  :where(.u-hgroup) {
    inline-size: fit-content;
    display: block grid;
    justify-items: center;

    @media (width <= 768px) {
      column-gap: calc((100 / 390) * 16 * 1vw);
    }

    & span[lang='en'] {
      font-family: var(--serif);
      background-image: linear-gradient(180deg, rgba(16, 38, 71, 0.3) 0%, rgba(16, 38, 71, 0) 100%);
      font-size: 64px;
      line-height: 1;
      letter-spacing: normal;
      text-align: left;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      text-transform: uppercase;

      &.sdgs-txt {
        text-transform: unset;
      }

      @media (width <= 768px) {
        font-size: calc((100 / 390) * 40 * 1vw);
      }
    }

    & h2.title {
      position: relative;
      font-family: var(--serif);
      font-size: 24px;
      font-weight: bold;
      line-height: 1;
      letter-spacing: 3.36px;
      text-align: center;
      color: #102647;
      margin-block-start: -15px;

      @media only screen and (width <= 768px) {
        font-size: calc((100 / 390) * 15 * 1vw);
        letter-spacing: calc((100 / 390) * 2.1 * 1vw);
        margin-block-start: calc((100 / 390) * -10 * 1vw);
      }
    }

    &[data-color='white'] {
      & span[lang='en'] {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
      }
      & h2.title {
        color: #fff;
      }
    }

    &[data-align='center'] {
      margin-inline: auto;
    }
  }
  /* =====================
    u-anchor
  ===================== */
  :where(.u-anchor) {
    position: relative;
    display: block flow;
    inline-size: fit-content;
    border: solid 1px #102647;
    padding-inline: 74px;
    padding-block: 16px;
    font-weight: 500;
    background: transparent;
    color: #102647;
    transition: all 0.3s ease-in-out;
    isolation: isolate;

    @media only screen and (width <= 768px) {
      padding-inline: calc((100 / 390) * 62 * 1vw);
      padding-block: calc((100 / 390) * 11 * 1vw);
    }

    &::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.2);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s ease;
      z-index: -1;
    }

    &::after {
      content: '';
      inline-size: 50px;
      aspect-ratio: 50 / 8;
      mask-repeat: no-repeat;
      mask-size: contain;
      mask-position: center;
      mask-image: var(--icon-arrow);
      background-color: var(--primary);
      flex-shrink: 0;
      position: absolute;
      top: 50%;
      right: -35px;
      transform: translateY(-50%);
    }

    @media only screen and (width <= 768px) {
      &::after {
        inline-size: calc((100 / 390) * 42 * 1vw);
        right: calc((100 / 390) * -26 * 1vw);
      }
    }

    @media (any-hover: hover) {
      &:hover {
        &::before {
          transform: scaleX(1);
          transform-origin: left;
        }
      }
    }

    &[data-color='white'] {
      border: solid 1px #fff;
      color: #fff;

      &::after {
        background-color: #fff;
      }
    }

    &[data-align='center'] {
      margin-inline: auto;
    }

    &[data-hover='blue'] {
      &::before {
        background: rgba(16, 38, 71, 0.2);
      }
    }
  }

  /* =====================
    u-mv
  ===================== */
  :where(.u-mv) {
    position: relative;
    inline-size: 100%;
    block-size: 544px;
    padding-block-start: 90px;

    @media (width <= 768px) {
      block-size: calc((100 / 390) * 340 * 1vw);
      padding-block-start: calc((100 / 390) * 70 * 1vw);
    }

    &::before {
      content: '';
      position: absolute;
      inline-size: calc(100% - 80px);
      block-size: 344px;
      background-color: #ededed;
      bottom: 0;
      right: 0;
      pointer-events: none;
    }

    &::after {
      content: '';
      position: absolute;
      inline-size: calc(100% - 80px);
      block-size: 390px;
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center;
      top: 90px;
      left: 0;
      pointer-events: none;
    }

    @media (width <= 768px) {
      &::before {
        inline-size: calc(100% - calc((100 / 390) * 16 * 1vw));
        block-size: calc((100 / 390) * 200 * 1vw);
      }
      &::after {
        inline-size: calc(100% - calc((100 / 390) * 16 * 1vw));
        block-size: calc((100 / 390) * 230 * 1vw);
        top: calc((100 / 390) * 70 * 1vw);
      }
    }

    .u-inner {
      position: relative;

      &::before {
        content: '';
        display: block flow;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        background-image: url('../img/_common/mv_bg.png');
        inline-size: 1240px;
        block-size: 568px;
        position: absolute;
        bottom: -240px;
        left: -40px;
        z-index: 10;
        pointer-events: none;
      }

      @media only screen and (width <= 768px) {
        &::before {
          background-image: url('../img/_common/mv_bg_2x.png');
          inline-size: calc((100 / 390) * 349 * 1vw);
          block-size: calc((100 / 390) * 275.5 * 1vw);
          position: absolute;
          bottom: calc((100 / 390) * -120 * 1vw);
          left: 0;
        }
      }

      & > hgroup {
        position: relative;
        display: block grid;
        justify-items: center;
        z-index: 5;
        padding-inline-end: 80px;
        margin-block-start: 148px;

        @media only screen and (width <= 768px) {
          padding-inline-end: calc((100 / 390) * 16 * 1vw);
          margin-block-start: calc((100 / 390) * 80 * 1vw);
        }

        .title {
          position: relative;
          font-size: 24px;
          font-family: var(--serif);
          font-weight: bold;
          line-height: 1.1;
          letter-spacing: 3.36px;
          color: #fff;
          margin-block-start: -16px;

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 18 * 1vw);
            letter-spacing: calc((100 / 390) * 3.36 * 1vw);
          }
        }

        & span[lang='en'] {
          display: block flow;
          background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 100%);
          font-family: var(--serif);
          font-size: 80px;
          line-height: 1;
          -webkit-background-clip: text;
          background-clip: text;
          -webkit-text-fill-color: transparent;
          text-transform: uppercase;

          &.sdgs-txt {
            text-transform: unset;
          }

          @media (width <= 768px) {
            font-size: calc((100 / 390) * 48 * 1vw);
          }
        }
      }
    }
  }

  /* =====================
    bread
  ===================== */
  :where(.breadcrumb) {
    position: relative;
    display: block flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    column-gap: 20px;
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 500;
    padding-block: 13px;
    z-index: 3;
    margin-block-start: 158px;
    margin-inline-end: 80px;

    @media (width <= 768px) {
      font-size: calc((100 / 390) * 13 * 1vw);
      column-gap: calc((100 / 390) * 12 * 1vw);
      margin-block-start: calc((100 / 390) * 98 * 1vw);
      margin-inline-end: calc((100 / 390) * 16 * 1vw);
      padding-block: calc((100 / 390) * 8 * 1vw);
    }

    & > li {
      display: block flex;
      gap: 20px;

      @media (width <= 768px) {
        gap: calc((100 / 390) * 12 * 1vw);
      }
    }

    & li + li {
      &::before {
        content: '/';
        display: inline-block;
        flex-shrink: 0;
      }
    }
  }
  /* =====================
    u-table
  ===================== */
  :where(.u-table) {
    display: block grid;
    grid-template-columns: 240px 1fr;
    inline-size: 960px;
    margin-inline: auto;

    @media (width <= 768px) {
      grid-template-columns: 1fr;
      inline-size: 100%;
    }

    /* ==== tr ==== */
    .tr {
      display: block grid;
      grid-template-columns: subgrid;
      grid-column: 1 / -1;
      align-items: self-start;

      @media (width <= 768px) {
        border-block-end: 1px solid var(--_border-color);
        padding-block: calc((100 / 390) * 16 * 1vw);
        padding-inline: calc((100 / 390) * 16 * 1vw);
      }

      & :where(dt, dd) {
        block-size: 100%;
        padding-block: 31.7px;

        @media (width <= 768px) {
          padding-block: unset;
          word-break: break-all;
        }

        & a:not([href^='tel:']) {
          text-decoration: underline;

          @media (any-hover: hover) {
            &:hover {
              text-decoration: none;
            }
          }
        }

        @media (width <= 768px) {
          & a {
            text-decoration: underline;
          }
        }
      }
    }

    /* ==== dt ==== */
    & dt {
      padding-inline-start: 40px;
      place-content: center;
      font-weight: 500;
      border-block-end: 1px solid var(--_border-color);

      @media (width <= 768px) {
        padding-inline-start: 0;
        border-block-start: 1px solid transparent;
        border-block-end: none;
      }
    }

    /* ==== dd ==== */
    & dd {
      padding-inline-start: 24px;
      padding-inline-end: 40px;
      border-block-end: 1px solid var(--_border-color);

      @media (width <= 768px) {
        border-block-start: 1px solid transparent;
        border-block-end: none;
        margin-block-start: calc((100 / 390) * 8 * 1vw);
        padding-inline: 0;
      }
    }
  }

  /* =====================
    Interview-list
  ===================== */
  :where(.interview-list_wrap) {
    .interview-list {
      .item {
        .anchor {
          position: relative;
          background-repeat: no-repeat;
          background-size: contain;
          background-position: left bottom;
          display: block grid;
          align-items: end;
          justify-content: start;

          .info {
            inline-size: 212px;
            block-size: 112px;
            padding: 16px;
            background-color: #fff;

            @media only screen and (width <= 768px) {
              inline-size: calc((100 / 390) * 212 * 1vw);
              block-size: calc((100 / 390) * 112 * 1vw);
              padding: calc((100 / 390) * 16 * 1vw);
            }

            .name {
              background: linear-gradient(90deg, #61b14b 0%, #288ba2 100%);
              font-family: var(--serif);
              font-size: 36px;
              font-weight: bold;
              line-height: 1.2;
              -webkit-background-clip: text;
              background-clip: text;
              -webkit-text-fill-color: transparent;

              @media only screen and (width <= 768px) {
                font-size: calc((100 / 390) * 36 * 1vw);
              }
            }
            .nyusya {
              line-height: 1.3;
              color: #102647;
              margin-block-start: 8px;

              @media only screen and (width <= 768px) {
                margin-block-start: calc((100 / 390) * 8 * 1vw);
              }
            }
          }
        }
        &[data-id='1'] {
          .anchor {
            background-image: url('../img/recruit/interview/staff_01.png');
          }
        }
        &[data-id='2'] {
          .anchor {
            background-image: url('../img/recruit/interview/staff_02.png');
          }
        }
        &[data-id='3'] {
          .anchor {
            background-image: url('../img/recruit/interview/staff_03.png');
          }
        }
        &[data-id='4'] {
          .anchor {
            background-image: url('../img/recruit/interview/staff_04.png');
          }
        }
        &[data-id='5'] {
          .anchor {
            background-image: url('../img/recruit/interview/staff_05.png');
          }
        }
      }
    }
  }

  /* ==== controller ==== */
  :where(.interview-controller) {
    position: relative;
    margin-block-start: 40px;
    inline-size: fit-content;
    margin-inline: auto;

    @media (width <= 768px) {
      margin-block-start: calc((100 / 390) * 40 * 1vw);
    }

    .controll-btn {
      display: flex;
      align-items: center;
      width: fit-content;
      gap: 40px;

      @media (width <= 768px) {
        justify-content: center;
        gap: calc((100 / 390) * 40 * 1vw);
      }
    }

    & :where(.interview-prev, .interview-next) {
      display: block;
      cursor: pointer;
      position: relative;
      inline-size: 50px;
      aspect-ratio: 1 / 1;
      border: 1px solid var(--primary);
      border-radius: 50rem;

      @media only screen and (width <= 768px) {
        inline-size: calc((100 / 390) * 50 * 1vw);
      }

      &::after {
        content: '';
        display: block flow;
        inline-size: 48px;
        aspect-ratio: 50 / 8;
        mask-repeat: no-repeat;
        mask-size: contain;
        mask-position: center;
        mask-image: var(--icon-arrow);
        background-color: currentColor;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translateY(-50%);
      }

      @media only screen and (width <= 768px) {
        &::after {
          inline-size: calc((100 / 390) * 40 * 1vw);
        }
      }
    }

    .interview-prev {
      &::after {
        left: unset;
        right: 50%;
        transform: translateY(-50%) scale(-1, 1);
      }
    }
  }
}
