@charset "utf-8";

@media (max-width: 768px) {
  .body-bg1.color03 {
    background-image: url(/recruit/assets/img/common/body-bg1-color03_sp.png);
  }
}

@media (max-width: 890px) {
  .menu_common {
    display: none;
  }
}

header .h_logo-group {
  .h_logo_link {
    .h_name {
      @media (max-width: 890px) {
        color: #15479E;
      }
    }
  }
}

/* ↓↓↓ main_wrap ↓↓↓ */
.main_wrap {
  display: flex;
  justify-content: center;
  width: calc(100vw - 230px);
  padding-block: 96px 120px;
  margin-left: auto;
  padding-right: 40px;
  padding-left: 20px;

  @media (max-width: 1024px) {
    padding-right: 30px;
    padding-left: 10px;
  }

  @media (max-width: 890px) {
    width: 100%;
    padding-inline: 16px;
  }

  @media (max-width: 768px) {
    width: 100%;
    padding: 80px 16px 96px
  }

  .container {
    position: relative;
    width: calc(869px + 48px * 2);
    max-width: 100%;
    background-color: #FFECED;
    border-radius: 12px;
    box-shadow: var(--shadow02);
    transform: translateZ(0px);
    overflow: clip;
    padding: 56px 48px 136px;


    @media (max-width: 1024px) {
      width: 100%;
    }

    @media (max-width: 890px) {
      width: 100%;
      max-width: 730px;
      border-radius: 12px;
      padding: 56px 16px 77px;
      margin: 0 auto;
    }

    @media (max-width: 768px) {
      width: 100%;
      border-radius: 12px;
      padding: 32px 16px 77px;
      margin: 0 auto;
    }

    .en_deco {
      position: absolute;
      width: 100%;
      left: 0;

      @media (max-width: 768px) {
        gap: 8px;
      }

      &.top {
        top: max(-0.75rem, (var(--vw) * -12));

        @media (max-width: 768px) {
          top: -8px;
        }
      }

      &.bottom {
        bottom: max(-0.625rem, (var(--vw) * -10));

        @media (max-width: 768px) {
          bottom: -8px;
        }
      }

      .splide__list {
        display: flex;
        will-change: transform;
        transition-timing-function: linear;
        transform: translateZ(0);
      }

      .en {
        /* width: fit-content; */
        font-size: 80px;
        font-family: var(--lato);
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
        color: rgba(255, 255, 255, .56);

        @media (max-width: 768px) {
          font-size: 48px;
        }
      }
    }

    .container_ttl {
      position: relative;
      margin: 0 auto;
      z-index: 1;

      .sub {
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 0.05em;
        text-align: center;

        @media (max-width: 768px) {
          font-size: 14px;
        }

        .num {
          font-family: var(--lato);
          letter-spacing: 0;
          margin-right: min(0.5rem, (var(--vw) * 8));

          @media (max-width: 768px) {
            margin-right: 8px;
          }
        }
      }

      .ttl {
        /* font-size: min(2.5rem, (var(--vw) * 40)); */
        font-size: 40px;
        font-family: var(--shingoB);
        line-height: 1.2857142857142858;
        letter-spacing: 0;
        text-align: center;

        @media (max-width: 768px) {
          font-size: 28px;
          margin-top: 6px;
        }
      }
    }
  }
}

/* ↑↑↑ main_wrap ↑↑↑ */

/* ↓↓↓ search_box ↓↓↓ */
.search_box {
  width: 100%;
  margin-top: 40px;

  @media (max-width: 890px) {
    margin-top: 40px;
  }
}

.search_filters {
  width: 100%;

  .types {
    display: flex;
    gap: min(0.25rem, (var(--vw) * 4));

    @media (max-width: 890px) {
      gap: 4px;
    }

    .type {
      display: block;
      position: relative;
      width: 116px;
      aspect-ratio: 116/43;
      border: 0;
      background-color: #FFD9DC;
      border-radius: 8px 8px 0 0;
      font-family: var(--shingoB);
      font-size: 16px;
      letter-spacing: 0.05em;
      line-height: 1;
      color: #1B1B1B;
      cursor: pointer;
      transition: border 300ms ease, background-color 300ms ease, color 300ms ease;
      border: 2px solid transparent;
      box-sizing: border-box;

      @media (max-width: 768px) {
        width: 90px;
        height: 40px;
        aspect-ratio: unset;
        border-radius: 8px 8px 0 0;
        font-size: 14px;
      }

      &[data-type="all"] {
        font-family: var(--lato);
        font-weight: 900;
      }

      &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        width: calc(100% + 8px);
        height: calc(100% + 10px);
        border: 4px solid transparent;
        border-radius: 8px 8px 0 0;
        transition: border 300ms 0s ease, opacity 300ms ease;
        opacity: 0;
        z-index: 2;
      }

      @media (min-width: 769px) {
        &:hover {
          background-color: #FFD9DC;
          border: 2px solid #FFB2BB;
        }
      }


      &.is-active {
        background-color: #fff;
        pointer-events: none;
      }

      &:active {
        border: 2px solid #FFB2BB;
        color: #5F5F5F;
      }

      &:focus-visible {
        outline: none;

        &::before {
          border: 4px solid #FFB2BB;
          opacity: 1;
        }
      }
    }
  }

  .jobs {
    width: 100%;
    padding: 24px 28px 14px;
    background-color: #fff;
    border-radius: 0 12px 12px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    @media (max-width: 768px) {
      padding: 18px 16px;
      border-radius: 0 12px 12px 12px;
      gap: 10px;
    }

    .job {
      width: fit-content;
      padding: 10px 14px 10px 9px;
      font-family: var(--shingoB);
      font-size: 16px;
      letter-spacing: 0.05em;
      line-height: 1;
      border: 1px solid #000;
      border-radius: 8px;
      background-color: #fff;
      position: relative;
      display: flex;
      align-items: center;
      cursor: pointer;
      transition: background-color 300ms ease, color 300ms ease;

      @media (max-width: 768px) {
        padding: 8px 10px;
        font-size: 16px;
        border-radius: 8px;
      }

      &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        width: calc(100% + 8px);
        height: calc(100% + 8px);
        border: 4px solid transparent;
        border-radius: 8px;
        transition: border 300ms 0s ease, opacity 300ms ease;
        opacity: 0;
      }

      .icon {
        display: block;
        width: 20px;
        aspect-ratio: 1/1;
        margin-right: 8px;
        background-color: #000;
        border-radius: 100%;
        position: relative;
        transition: background-color 300ms ease;

        @media (max-width: 768px) {
          width: 20px;
          margin-right: 8px;
        }

        &::before {
          content: '';
          position: absolute;
          top: 50%;
          left: 50%;
          translate: -50% -50%;
          width: 20px;
          aspect-ratio: 1/1;
          background-color: #fff;
          mask-image: url(/recruit/assets/img/job_person/interview/index/icon_check.svg);
          mask-size: contain;
          transition: background-color 300ms ease;

          @media (max-width: 768px) {
            width: 20px;
          }
        }
      }

      &[data-job="all"] {
        border-color: #0026D5;
        color: #0026D5;

        .icon {
          background-color: #0026D5;
        }
      }

      &[data-job="planning"] {
        border-color: #CAFFBB;
        color: #00530A;

        .icon {
          background-color: #CAFFBB;

          &::before {
            background-color: #00530A;
          }
        }
      }

      &[data-job="artist"] {
        border-color: #FFD9DC;
        color: #910032;

        .icon {
          background-color: #FFD9DC;

          &::before {
            background-color: #910032;
          }
        }
      }

      &[data-job="engineer"] {
        border-color: #DAE2FF;
        color: #37466C;

        .icon {
          background-color: #DAE2FF;

          &::before {
            background-color: #37466C;
          }
        }
      }

      &[data-job="sound"] {
        border-color: #EBDCFF;
        color: #553191;

        .icon {
          background-color: #EBDCFF;

          &::before {
            background-color: #553191;
          }
        }
      }

      &[data-job="management"] {
        border-color: #D0E4FF;
        color: #00497B;

        .icon {
          background-color: #D0E4FF;

          &::before {
            background-color: #00497B;
          }
        }
      }

      &[data-job="operations"] {
        border-color: #FFE331;
        color: #514700;

        .icon {
          background-color: #FFE331;

          &::before {
            background-color: #514700;
          }
        }
      }

      &[data-job="interview"] {
        border-color: #FFEDE7;
        color: #802A00;
        font-family: var(--lato);
        font-weight: 900;

        .icon {
          background-color: #FFEDE7;

          &::before {
            background-color: #802A00;
          }
        }
      }

      &[data-job="qa"] {
        border-color: #FFEDE7;
        color: #802A00;
        font-family: var(--lato);
        font-weight: 900;

        .icon {
          background-color: #FFEDE7;

          &::before {
            background-color: #802A00;
          }
        }
      }

      &.is-active {
        &[data-job="all"] {
          background-color: #0026D5;
          color: #fff;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #0026D5;
            }
          }
        }

        &[data-job="planning"] {
          background-color: #CAFFBB;

          .icon {
            background-color: #fff;
          }
        }

        &[data-job="artist"] {
          background-color: #FFD9DC;

          .icon {
            background-color: #fff;
          }
        }

        &[data-job="engineer"] {
          background-color: #DAE2FF;

          .icon {
            background-color: #fff;
          }
        }

        &[data-job="sound"] {
          background-color: #EBDCFF;

          .icon {
            background-color: #fff;
          }
        }

        &[data-job="management"] {
          background-color: #D0E4FF;

          .icon {
            background-color: #fff;
          }
        }

        &[data-job="operations"] {
          background-color: #FFE331;

          .icon {
            background-color: #fff;
          }
        }

        &[data-job="interview"] {
          background-color: #FFEDE7;

          .icon {
            background-color: #fff;
          }
        }

        &[data-job="qa"] {
          background-color: #FFEDE7;

          .icon {
            background-color: #fff;
          }
        }
      }

      @media (min-width: 769px) {
        &:hover {
          &[data-job="all"] {
            background-color: #0026D5;
            color: #fff;

            .icon {
              background-color: #fff;

              &::before {
                background-color: #0026D5;
              }
            }
          }

          &[data-job="planning"] {
            background-color: #CAFFBB;

            .icon {
              background-color: #fff;
            }
          }

          &[data-job="artist"] {
            background-color: #FFD9DC;

            .icon {
              background-color: #fff;
            }
          }

          &[data-job="engineer"] {
            background-color: #DAE2FF;

            .icon {
              background-color: #fff;
            }
          }

          &[data-job="sound"] {
            background-color: #EBDCFF;

            .icon {
              background-color: #fff;
            }
          }

          &[data-job="management"] {
            background-color: #D0E4FF;

            .icon {
              background-color: #fff;
            }
          }

          &[data-job="operations"] {
            background-color: #FFE331;

            .icon {
              background-color: #fff;
            }
          }

          &[data-job="interview"] {
            background-color: #FFEDE7;

            .icon {
              background-color: #fff;
            }
          }

          &[data-job="qa"] {
            background-color: #FFEDE7;

            .icon {
              background-color: #fff;
            }
          }
        }
      }

      &:active {
        &[data-job="all"] {
          background-color: #0026D5;
          color: #CBD0EA;

          .icon {
            background-color: #CBD0EA;

            &::before {
              background-color: #0026D5;
            }
          }
        }

        &[data-job="planning"] {
          background-color: #CAFFBB;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }

        &[data-job="artist"] {
          background-color: #FFD9DC;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }

        &[data-job="engineer"] {
          background-color: #DAE2FF;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }

        &[data-job="sound"] {
          background-color: #EBDCFF;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }

        &[data-job="management"] {
          background-color: #D0E4FF;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }

        &[data-job="operations"] {
          background-color: #FFE331;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }

        &[data-job="interview"] {
          background-color: #FFEDE7;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }

        &[data-job="qa"] {
          background-color: #FFEDE7;
          color: #5F5F5F;

          .icon {
            background-color: #fff;

            &::before {
              background-color: #5F5F5F;
            }
          }
        }
      }

      &:focus-visible {
        outline: none;

        &::before {
          opacity: 1;
        }

        &[data-job="all"] {
          &::before {
            border: 4px solid #4395DF;
          }
        }

        &[data-job="planning"] {
          &::before {
            border: 4px solid #87FC7A;
          }
        }

        &[data-job="artist"] {
          &::before {
            border: 4px solid #FFB2BB;
          }
        }

        &[data-job="engineer"] {
          &::before {
            border: 4px solid #B7C5F3;
          }
        }

        &[data-job="sound"] {
          &::before {
            border: 4px solid #D4BBFF;
          }
        }

        &[data-job="management"] {
          &::before {
            border: 4px solid #9CCAFF;
          }
        }

        &[data-job="operations"] {
          &::before {
            border: 4px solid #FFE331;
          }
        }

        &[data-job="interview"] {
          &::before {
            border: 4px solid #FFB59A;
          }
        }

        &[data-job="qa"] {
          &::before {
            border: 4px solid #FFB59A;
          }
        }
      }
    }
  }
}

.search_list {
  width: 100%;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  @media (max-width: 1255px) {
    width: calc(279px * 2 + 16px);
    margin: 40px auto 0;
  }

  @media (max-width: 940px) {
    width: 100%;
  }

  @media (max-width: 890px) {
    width: calc(279px * 2 + 16px);
  }

  @media (max-width: 768px) {
    width: 100%;
    margin-top: 40px;
    gap: 10px 11px;
  }
}

.search_item {
  position: relative;
  width: 279px;
  aspect-ratio: 279/292;
  display: block;
  transition: opacity .3s ease;

  @media (max-width: 940px) {
    width: calc((100% - 16px)/2);
  }

  @media (max-width: 890px) {
    width: 279px;
  }

  @media (max-width: 768px) {
    width: calc((100% - 11px)/2);
    aspect-ratio: unset;
  }

  &::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border: 4px solid transparent;
    border-radius: 12px;
    transition: border 300ms 0s ease, opacity 300ms ease;
    opacity: 0;
  }

  &.card-enter-transition {
    transition: opacity 300ms ease, visibility 300ms ease;
  }

  &.card-leave-transition {
    transition: opacity 0ms 0s ease, visibility 0ms 0s ease;
  }

  &.card-hidden {
    opacity: 0;
    visibility: hidden;
  }

  &.card-visible {
    opacity: 1;
    visibility: visible;
  }

  .image {
    width: 100%;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;

    @media (max-width: 768px) {
      border-radius: 12px 12px 0 0;
    }

    picture {
      display: block;

      img {
        transition: scale 300ms ease;
      }
    }

    .label {
      position: absolute;
      top: 16px;
      left: 16px;
      padding: 4px 8px;
      font-family: var(--lato);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.01em;
      line-height: 1;
      color: #802A00;
      border-radius: 4px;
      background-color: #FFEDE7;

      @media (max-width: 768px) {
        top: 8px;
        left: 8px;
        padding: 3px 4px;
        font-size: 10px;
        border-radius: 4px;
      }
    }

    .job {
      position: absolute;
      bottom: 0;
      left: 0;
      padding: 8px 16px;
      font-family: var(--shingoB);
      font-size: 16px;
      letter-spacing: 0.05em;
      line-height: 1;
      color: #000;
      background-color: #fff;
      border-top-right-radius: 8px;

      @media (max-width: 768px) {
        padding: 6px;
        font-size: 10px;
        line-height: 1.2;
        border-top-right-radius: 8px;
      }
    }
  }

  .text_wrap {
    width: 100%;
    padding: 15px 20px;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 0 0 12px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 300ms ease;

    @media (max-width: 768px) {
      flex-wrap: wrap;
      padding: 10px 10px;
      border-radius: 0 0 12px 12px;
    }

    .group {
      display: flex;
      flex-direction: column;

      @media (max-width: 768px) {
        width: 100%;
        flex-direction: row;
      }

      .year,
      .type {
        font-family: var(--shingoB);
        font-size: 16px;
        letter-spacing: 0.05em;
        line-height: 1;

        @media (max-width: 768px) {
          font-size: 12px;
          letter-spacing: 0;
        }
      }

      .type {
        margin-top: min(0.25rem, (var(--vw) * 4));

        @media (max-width: 768px) {
          margin-top: 0;
          margin-left: 1em;
        }
      }
    }

    .name {
      font-family: var(--lato);
      font-weight: 900;
      font-size: 28px;
      letter-spacing: 0.04em;
      line-height: 1;

      @media (max-width: 768px) {
        margin-top: 4px;
        font-size: 16px;
      }

      &.-jp {
        font-family: var(--shingoB);
        font-weight: unset;
      }
    }
  }

  &[data-job*="planning"] {
    .job {
      color: #00530A;
      background-color: #CAFFBB;
    }

    .text_wrap {
      border-color: #CAFFBB;
    }
  }

  &[data-job*="artist"] {
    .job {
      color: #910032;
      background-color: #FFD9DC;
    }

    .text_wrap {
      border-color: #FFD9DC;
    }
  }

  &[data-job*="engineer"] {
    .job {
      color: #37466C;
      background-color: #DAE2FF;
    }

    .text_wrap {
      border-color: #DAE2FF;
    }
  }

  &[data-job*="sound"] {
    .job {
      color: #553191;
      background-color: #EBDCFF;
    }

    .text_wrap {
      border-color: #EBDCFF;
    }
  }

  &[data-job*="management"] {
    .job {
      color: #00497B;
      background-color: #D0E4FF;
    }

    .text_wrap {
      border-color: #D0E4FF;
    }
  }

  &[data-job*="operations"] {
    .job {
      color: #514700;
      background-color: #FFE331;
    }

    .text_wrap {
      border-color: #FFE331;
    }
  }

  @media (min-width: 769px) {
    &:hover {
      .image {
        img {
          scale: 1.1;
        }
      }

      &[data-job*="planning"] {
        .text_wrap {
          background-color: #E1FFD6;
        }
      }

      &[data-job*="artist"] {
        .text_wrap {
          background-color: #FFF4F4;
        }
      }

      &[data-job*="engineer"] {
        .text_wrap {
          background-color: #F6F6FF;
        }
      }

      &[data-job*="sound"] {
        .text_wrap {
          background-color: #FCF4FF;
        }
      }

      &[data-job*="management"] {
        .text_wrap {
          background-color: #F3F6FF;
        }
      }

      &[data-job*="operations"] {
        .text_wrap {
          background-color: #FFF6D7;
        }
      }
    }
  }

  &:active {
    .image {
      img {
        scale: 1.1;
      }
    }

    .text_wrap {
      color: #5F5F5F;
    }

    &[data-job*="planning"] {
      .text_wrap {
        background-color: #E1FFD6;
      }
    }

    &[data-job*="artist"] {
      .text_wrap {
        background-color: #FFF4F4;
      }
    }

    &[data-job*="engineer"] {
      .text_wrap {
        background-color: #F6F6FF;
      }
    }

    &[data-job*="sound"] {
      .text_wrap {
        background-color: #FCF4FF;
      }
    }

    &[data-job*="management"] {
      .text_wrap {
        background-color: #F3F6FF;
      }
    }

    &[data-job*="operations"] {
      .text_wrap {
        background-color: #FFF6D7;
      }
    }
  }

  &:focus-visible {
    outline: none;

    &::before {
      opacity: 1;
    }

    .image {
      img {
        scale: 1.1;
      }
    }

    &[data-job*="planning"] {
      &::before {
        border: 4px solid #87FC7A;
      }

      .text_wrap {
        background-color: #E1FFD6;
      }
    }

    &[data-job*="artist"] {
      &::before {
        border: 4px solid #FFB2BB;
      }

      .text_wrap {
        background-color: #FFF4F4;
      }
    }

    &[data-job*="engineer"] {
      &::before {
        border: 4px solid #B7C5F3;
      }

      .text_wrap {
        background-color: #F6F6FF;
      }
    }

    &[data-job*="sound"] {
      &::before {
        border: 4px solid #D4BBFF;
      }

      .text_wrap {
        background-color: #F3F6FF;
      }
    }

    &[data-job*="management"] {
      &::before {
        border: 4px solid #9CCAFF;
      }

      .text_wrap {
        background-color: #F3F6FF;
      }
    }

    &[data-job*="operations"] {
      &::before {
        border: 4px solid #FFE331;
      }

      .text_wrap {
        background-color: #FFF6D7;
      }
    }
  }
}

.no_results {
  width: 100%;
  padding: 20px 30px;
  text-align: center;
  background-color: #fff;
  border-radius: 12px;

  @media (max-width: 768px) {
    padding: 11px 30px;
    border-radius: 12px;
  }

  .no_results_text {
    font-family: var(--shingoB);
    font-size: 16px;
    letter-spacing: 0.05em;
    line-height: 1.5;

    @media (max-width: 768px) {
      font-size: 16px;
    }
  }
}

/* ↑↑↑ search_box ↑↑↑ */

/* ↓↓↓ global_box ↓↓↓ */
.global_box {
  width: 100%;
  margin-top: min(5rem, (var(--vw) * 80));
  padding-top: min(3rem, (var(--vw) * 48));
  position: relative;

  @media (max-width: 890px) {
    margin-top: 77px;
    padding-top: 40px;
  }

  &::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #FFB2BB;
    mask-image: url(/recruit/assets/img/common/dot-repeat.svg);
    mask-repeat: repeat-x;
  }

  .glb_ttl {
    font-family: var(--lato);
    font-weight: 900;
    font-size: 40px;
    letter-spacing: 0;
    line-height: 1;

    @media (max-width: 768px) {
      font-size: 32px;
      line-height: 1.25;
    }
  }

  .glb_read {
    margin-top: 16px;
    font-family: var(--shingoR);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.05em;
    line-height: 2;
    text-align: justify;
    word-break: break-all;

    @media (max-width: 768px) {
      margin-top: 16px;
      font-size: 14px;
    }
  }

  .glb_group {
    width: 100%;
    margin-top: min(2.5rem, (var(--vw) * 40));

    @media (max-width: 890px) {
      margin-top: 22px;
    }


    .caption {
      width: fit-content;
      padding: 4px 0;
      font-family: var(--shingoB);
      font-size: 24px;
      letter-spacing: 0.05em;
      line-height: 1;
      color: #000;
      border-radius: 4px;

      @media (max-width: 768px) {
        padding: 4px 10px;
        font-size: 16px;
        border-radius: 4px;
      }
    }

    .wrap {
      width: 100%;
      margin-top: 24px;
      display: flex;
      flex-wrap: wrap;
      gap: 16px;

      @media (max-width: 1255px) {
        width: calc(279px * 2 + 16px);
        margin: 40px auto 0;
      }

      @media (max-width: 940px) {
        width: 100%;
      }

      @media (max-width: 890px) {
        width: calc(279px * 2 + 16px);
      }

      @media (max-width: 768px) {
        width: 100%;
        margin-top: 40px;
        gap: 10px 11px;
      }

      @media (max-width: 768px) {
        margin-top: 16px;
        gap: 10px 11px;
      }
    }

    .glb_item {
      position: relative;
      width: 279px;
      aspect-ratio: 279 / 292;
      display: block;
      border: 0;
      background-color: unset;
      cursor: pointer;

      @media (max-width: 940px) {
        width: calc((100% - 16px)/2);
      }

      @media (max-width: 890px) {
        width: 279px;
      }

      @media (max-width: 768px) {
        width: calc((100% - 11px) / 2);
        aspect-ratio: unset;
      }

      &::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        width: calc(100% + 8px);
        height: calc(100% + 8px);
        border: 4px solid transparent;
        border-radius: 12px;
        transition: border 300ms 0s ease, opacity 300ms ease;
        opacity: 0;
      }

      .image {
        width: 100%;
        border-radius: 12px 12px 0 0;
        overflow: hidden;
        position: relative;

        @media (max-width: 768px) {
          border-radius: 12px 12px 0 0;
        }

        picture {
          display: block;

          img {
            transition: scale 300ms ease;
          }
        }

        .country {
          position: absolute;
          bottom: 0;
          left: 0;
          padding: 5px 8px;
          font-family: var(--shingoB);
          font-size: 16px;
          letter-spacing: 0.05em;
          line-height: 1;
          color: #000;
          background-color: #fff;
          border-top-right-radius: 8px;
          display: flex;
          align-items: center;
          gap: 4px;

          @media (max-width: 768px) {
            padding: 5px 8px;
            font-size: 11px;
            border-top-right-radius: 8px;
            gap: 4px;
          }

          .flag {
            display: block;
            width: 38px;

            @media (max-width: 768px) {
              width: 26px;
            }
          }
        }
      }

      .text_wrap {
        width: 100%;
        padding: 15px 30px 15px 20px;
        background-color: #fff;
        border: 2px solid #000;
        border-radius: 0 0 12px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: #1B1B1B;
        transition: color 300ms ease, background-color 300ms ease;

        @media (max-width: 768px) {
          padding: 10px 16px;
          border-radius: 0 0 12px 12px;
          flex-direction: column;
          align-items: flex-start;
          gap: 4px;
        }

        .group {
          display: flex;
          flex-direction: column;

          @media (max-width: 768px) {
            gap: 4px;
          }

          .year,
          .type {
            font-family: var(--shingoB);
            font-size: 16px;
            letter-spacing: 0.05em;
            line-height: 1;
            text-align: left;

            @media (max-width: 768px) {
              font-size: 12px;
            }
          }

          .year {
            margin-top: 4px;

            @media (max-width: 768px) {
              margin-top: 0;
            }
          }
        }

        .name {
          font-family: var(--lato);
          font-weight: 900;
          font-size: 28px;
          letter-spacing: 0.04em;
          line-height: 1;

          @media (max-width: 768px) {
            font-size: 16px;
          }
        }
      }
    }

    &.-toJp {
      .caption {
        color: #514700;
      }

      .glb_item {
        .image {
          .country {
            color: #514700;
            background-color: #FFF1B3;
          }
        }

        .text_wrap {
          border-color: #FFF1B3;
        }

        @media (min-width: 769px) {
          &:hover {
            .image picture img {
              scale: 1.1;
            }

            .text_wrap {
              background-color: #FFF6D7;
            }
          }
        }

        &:active {
          .image picture img {
            scale: 1.1;
          }

          .text_wrap {
            background-color: #FFF6D7;
            color: #5F5F5F;
          }
        }

        &:focus-visible {
          outline: none;

          &::before {
            border: 4px solid #FFE331;
            opacity: 1;
          }

          .text_wrap {
            background-color: #FFF6D7;
          }
        }
      }
    }

    &.-toWold {
      .caption {
        color: #910032;
      }

      .glb_item {
        .image {
          .country {
            color: #910032;
            background-color: #FFD9DC;
          }
        }

        .text_wrap {
          border-color: #FFD9DC;
        }

        @media (min-width: 769px) {
          &:hover {
            .image picture img {
              scale: 1.1;
            }

            .text_wrap {
              background-color: #FFF4F4;
            }
          }
        }

        &:active {
          .image picture img {
            scale: 1.1;
          }

          .text_wrap {
            background-color: #FFF4F4;
            color: #5F5F5F;
          }
        }

        &:focus-visible {
          outline: none;

          &::before {
            border: 4px solid #FFB2BB;
            opacity: 1;
          }

          .text_wrap {
            background-color: #FFF4F4;
          }
        }
      }
    }
  }
}

/* ↑↑↑ global_box ↑↑↑ */

/* ↓↓↓ modal ↓↓↓ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 30;


  .modal__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
  }

  .modal-close-btn {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 56px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #1B1B1B;
    border: unset;
    cursor: pointer;
    transition: background-color 300ms ease;

    @media (max-width: 768px) {
      top: -12px;
      right: -8px;
      width: 40px;
    }

    &::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      translate: -50% -50%;
      width: calc(100% + 5px);
      height: calc(100% + 5px);
      border: 3px solid transparent;
      border-radius: 50%;
      transition: opacity 300ms 0s ease, border 300ms 0s ease;
      opacity: 0;
    }

    &::after {
      content: '';
      position: absolute;
      translate: -50% -50%;
      top: 50%;
      left: 50%;
      width: 14px;
      height: 14px;
      background: url(/recruit/assets/img/common/modal-close-icon_pc.svg) no-repeat;
      background-size: cover;

      @media (max-width: 768px) {
        width: 10px;
        height: 10px;
        background: url(/recruit/assets/img/common/modal-close-icon_sp.svg) no-repeat;
        background-size: cover;
      }
    }

    @media (min-width: 769px) {
      &:hover {
        background-color: #5F5F5F;
      }
    }

    &:active {
      background-color: #464646;
    }

    &:focus-visible {
      outline: none;

      &::before {
        border: 3px solid #919191;
        opacity: 1;
      }
    }
  }

  .modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 906px;
    max-width: 80vw;
    height: 80vh;
    background: #fff;
    z-index: 1;
    padding: 64px 32px 55px 64px;
    border-radius: 12px;

    @media (max-width: 768px) {
      width: calc(100% - 32px);
      height: 90svh;
      padding: 32px 12px 23px 24px;
      border-radius: 12px;
    }

    .scroll_wrap {
      width: 100%;
      height: 100%;
      padding-right: 32px;

      @media (max-width: 768px) {
        padding-right: 12px;
      }

      .simplebar-track.simplebar-horizontal {
        display: none !important;
        visibility: hidden !important;
      }

      .simplebar-track.simplebar-vertical {
        width: 3px;
        background-color: #F1F1F1;
        border-radius: 3px;
      }

      .simplebar-scrollbar {
        width: 100%;
        background-color: #0026D5;

        &::before {
          width: 100%;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          background-color: transparent;
        }
      }

      .modal__content_inner {
        width: 100%;

        .head_block {
          display: flex;
          gap: 32px;

          @media (max-width: 1024px) {
            flex-direction: column;
          }

          @media (max-width: 768px) {
            flex-direction: column;
            gap: 32px;
          }

          .image {
            display: block;
            width: 249px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow01);

            @media (max-width: 1024px) {
              width: 100%;
            }

            @media (max-width: 768px) {
              width: 100%;
              border-radius: 12px;
            }
          }

          .group {
            flex: 1;

            @media (max-width: 768px) {
              width: 100%;
            }

            .caption {
              width: fit-content;
              padding: 4px 0;
              font-family: var(--shingoB);
              font-size: 16px;
              letter-spacing: 0.05em;
              line-height: 1;
              color: #fff;
              border-radius: 4px;

              @media (max-width: 768px) {
                padding: 4px 0;
                font-size: 16px;
                border-radius: 4px;
              }

              &.-toJp {
                color: #514700;
              }

              &.-toWold {
                color: #910032;
              }
            }

            .mdl_ttl {
              margin-top: 20px;
              font-family: var(--shingoB);
              font-size: 24px;
              letter-spacing: 0;
              line-height: 1.33333;

              @media (max-width: 768px) {
                margin-top: 16px;
                font-size: 24px;
                line-height: 1.5;
              }
            }

            .info {
              margin-top: 5px;
              display: flex;
              align-items: center;
              gap: 16px;

              @media (max-width: 768px) {
                margin-top: 10px;
                gap: 16px;
                align-items: flex-start;
              }

              .set {
                flex: 1;
              }

              .flag {
                display: block;
                width: auto;
                height: 44px;

                @media (max-width: 768px) {
                  height: 44px;
                }

                img {
                  width: auto;
                  height: 100%;
                }
              }

              .set {
                flex: 1;

                .text {
                  font-family: var(--shingoR);
                  font-weight: 400;
                  font-size: 14px;
                  letter-spacing: 0.01em;
                  line-height: 1;

                  @media (max-width: 768px) {
                    font-size: 14px;
                    line-height: 1.4;
                  }
                }

                .name {
                  margin-top: 5px;
                  font-family: var(--lato);
                  font-weight: 900;
                  font-size: 18px;
                  letter-spacing: 0.01em;
                  line-height: 1;
                  color: #00497B;

                  &.-r {
                    color: #910032;
                  }


                  @media (max-width: 768px) {
                    margin-top: 5px;
                    font-size: 18px;
                  }
                }
              }
            }
          }
        }

        .body_block {
          width: 100%;
          margin-top: 48px;

          @media (max-width: 768px) {
            margin-top: 27px;
          }

          .txt1 {
            width: 100%;
            padding: 70px 32px 23px;
            background-color: #FFF4F4;
            border-radius: 8px;
            position: relative;

            @media (max-width: 768px) {
              padding: 56px 16px 15px;
              border-radius: 8px;
            }

            .cap {
              position: absolute;
              top: 0;
              left: 50%;
              translate: -50% 0;
              font-family: var(--shingoB);
              font-size: 18px;
              letter-spacing: 0.01em;
              line-height: 1;
              color: #1A1A1A;
              background-color: #FFD9DC;
              border-radius: 0 0 8px 8px;
              width: 316px;
              aspect-ratio: 316/37;
              display: grid;
              place-content: center;

              @media (max-width: 768px) {
                font-size: 16px;
                border-radius: 0 0 8px 8px;
                width: 100%;
                max-width: 256px;
                height: 32px;
                aspect-ratio: unset;
              }
            }

            .text {
              font-family: var(--shingoR);
              font-weight: 400;
              font-size: 14px;
              letter-spacing: 0.05em;
              line-height: 2;
              text-align: justify;
              word-break: break-all;

              @media (max-width: 768px) {
                font-size: 14px;
                line-height: 1.8571;
              }
            }
          }

          .txt2 {
            width: 100%;
            margin-top: 42px;
            position: relative;

            @media (max-width: 768px) {
              margin-top: 32px;
            }

            .body_ttl {
              font-family: var(--shingoB);
              font-size: 20px;
              letter-spacing: 0.05em;
              line-height: 1.4;

              @media (max-width: 768px) {
                font-size: 20px;
              }
            }

            .text {
              margin-top: 14px;
              font-family: var(--shingoR);
              font-weight: 400;
              font-size: 14px;
              letter-spacing: 0.05em;
              line-height: 1.85714;
              text-align: justify;
              word-break: break-all;

              @media (max-width: 768px) {
                margin-top: 12px;
                font-size: 14px;
              }
            }

            + .txt2 {
              margin-top: 36px;
              padding-top: 44px;

              @media (max-width: 768px) {
                margin-top: 15px;
                padding-top: 24px;
              }

              &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 3px;
                background-color: #FFB2BB;
                mask-image: url(/recruit/assets/img/common/dot-repeat.svg);
                mask-repeat: repeat-x;
              }
            }
          }
        }
      }
    }
  }
}

[x-cloak] {
  display: none !important;
}

/* ↑↑↑ modal ↑↑↑ */