@charset "utf-8";

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;

  @media (max-width: 768px) {
    scroll-padding-top: 80px;
  }
}

@media (max-width: 890px) {
  .menu_common {
    display: none;
  }
}

@media (max-width: 768px) {
  .body-bg1.color04 {
    background-image: url(/recruit/assets/img/common/body-bg1-color04_sp.png);
    height: 101%;
  }
}

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: #F7EDFF;
    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 ↑↑↑ */
/* ↓↓↓ intro ↓↓↓ */
.intro {
  max-width: 741px;
  height: fit-content;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow02);
  margin: 40px auto 0;
}

/* ↑↑↑ intro ↑↑↑ */
/* ↓↓↓ what_block ↓↓↓ */
.what_block {
  padding: 55px 48px 48px;
  margin-top: 56px;
  background-color: #fff;
  border-radius: 12px;

  @media (max-width: 890px) {
    padding: 30px 16px 44px;
    margin-top: 32px;
  }

  .ttl_group {
    .en {
      width: fit-content;
      font-size: 12px;
      font-family: var(--lato);
      font-weight: 900;
      color: #553191;
      background-color: #D4BBFF;
      padding: 2px 8px;
      border-radius: 4px;
      margin: 0 auto;

      @media (max-width: 768px) {
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 4px;
      }
    }

    .ttl {
      font-size: 32px;
      font-family: var(--shingoB);
      text-align: center;
      margin-top: 16px;
      line-height: 1.285714;

      @media (max-width: 768px) {
        font-size: 24px;
        margin-top: 15px;
        line-height: 1.3;
      }
    }
  }

  .intro_txt {
    max-width: 675px;
    font-size: 14px;
    text-align: justify;
    word-break: break-all;
    line-height: 1.857142;
    margin: 24px auto 0;
    letter-spacing: 0.05em;

    @media (max-width: 768px) {
      width: 100%;
    }
  }

  .map_group {
    display: flex;
    gap: 24px;
    margin-top: 40px;

    @media (max-width: 1024px) {
      flex-direction: column;
      gap: 24px;
      margin-top: 23px;
    }

    .map {
      flex: 1;
      height: fit-content;
      aspect-ratio: 466 / 290;
      border: 1px solid #F7EDFF;
      border-radius: 12px;
      box-shadow: var(--shadow02);
      overflow: hidden;
      @media (max-width: 1024px) {
        width: 100%;
        aspect-ratio: 279 / 200;
      }
      iframe {
        width: 100%;
        height: 100%;
      }
    }  
  }

  .access_wrap {
    width: 36.612%;

    @media (max-width: 1024px) {
      display: flex;
      gap: 16px;
      width: 100%;
    }

    @media (max-width: 768px) {
      flex-direction: column;
      gap: 0;
    }

    .access {
      position: relative;
      width: 100%;
      margin-top: 22px;
      padding: 37px 24px 13px;
      border-radius: 8px;
      background-color: #FCF4FF;

      @media (max-width: 1024px) {
        width: calc((100% - 16px) / 2);
        margin: 17px auto 0;
        padding: 37px 22px 13px;
      }

      @media (max-width: 768px) {
        width: 100%;
      }

      +.access {
        margin-top: 40px;
        @media (max-width: 1024px) {
          margin-top: 17px;
        }
        @media (max-width: 768px) {
          margin-top: 40px;
        }
      }

      .access_head {
        position: absolute;
        width: max-content;
        top: -17px;
        left: 12px;
        font-size: 14px;
        font-family: var(--shingoB);
        color: #553191;
        background-color: #D4BBFF;
        padding: 5px 24px;
        border-radius: 8px;

        @media (max-width: 1024px) {
          translate: -50% 0;
          left: 50%;
        }
      }

      .access_txt {
        position: relative;
        font-size: 14px;
        font-family: var(--shingoB);
        padding-left: 32px;
        line-height: 1.42857;
        letter-spacing: 0.05em;
        .icon {
          position: absolute;
          top: -3px;
          left: 0;
          width: 24px;
          height: 24px;
        }

        + .access_txt {
          margin-top: 15px;
        }
      }
    }
  }

  .box {
    position: relative;
    margin-top: 48px;
    padding-top: 48px;

    @media (max-width: 768px) {
      margin-top: 35px;
      padding-top: 35px;
    }

    &::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 3px;
      mask-image: url(/recruit/assets/img/environment/location/dots.svg);
      mask-repeat: repeat-x;
      background-color: #EBDCFF;
    }

    .box_ttl {
      width: max-content;
      position: relative;
      font-size: 18px;
      font-family: var(--shingoB);
      padding: 10px 40px;
      color: #553191;
      background-color: #D4BBFF;
      border-radius: 56px;
      margin: 0 auto;
      @media (max-width: 768px) {
        font-size: 16px;
        text-align: center;
        line-height: 1.4;
        padding: 14px 40px;
      }
      &::before {
        content: '';
        position: absolute;
        translate: -50% 0;
        bottom: -14px;
        left: 50%;
        width: 18px;
        height: 21px;
        background: url(/recruit/assets/img/environment/location/triangle.svg) no-repeat;
        background-size: cover;

        @media (max-width: 768px) {
          bottom: -14px;
          width: 18px;
          height: 21px;
        }
      }
    }

    .area_container {
      display: flex;
      gap: 16px;
      margin-top: 32px;
      @media (max-width: 1024px) {
        flex-direction: column;
        gap: 23px;
        margin-top: 26px;
      }
      .card {
        width: calc((100% - 32px) / 3);
        @media (max-width: 1024px) {
          width: 100%;
        }
        .card_image {
          width: 100%;
          box-shadow: var(--shadow02);
          border-radius: 12px;
          overflow: hidden;
        }
        .card_head {
          font-size: 16px;
          font-family: var(--shingoB);
          color: #553191;
          margin-top: 12px;
          text-align: center;
        }
        .card_txt {
          font-size: 14px;
          text-align: justify;
          word-break: break-all;
          line-height: 1.857142;
          margin-top: 6px;
          letter-spacing: 0.05em;
          @media (max-width: 1024px) {
            margin-top: 3px;
          }
        }
      }
    }

    .living_container {
      display: flex;
      flex-wrap: wrap;
      gap: 30px 25px;
      margin-top: 32px;
      @media (max-width: 768px) {
        flex-direction: column;
        gap: 16px;
        margin-top: 26px;
      }
      .card {
        width: calc((100% - 25px) / 2);
        @media (max-width: 768px) {
          width: 100%;
        } 
        .card_head {
          width: fit-content;
          font-size: 14px;
          font-family: var(--shingoB);
          color: #3E167A;
          background-color: #F7EDFF;
          padding: 0 16px;
          border-radius: 50px;
          @media (max-width: 768px) {
            margin: 0 auto;
          }  
        }
        .card_txt {
          font-size: 14px;
          text-align: justify;
          word-break: break-all;
          line-height: 1.857142;
          margin-top: 16px;
          letter-spacing: 0.05em;
        }
      }
    }

    .spot_slide {
      position: relative;
      max-width: 709px;
      margin: 32px auto 0;
      @media (max-width: 1024px) {
        max-width: 100%;
        margin: 32px auto 0;
      }
      .splide__slide{
        .slide_inner {
          display: flex;
          gap: 24px;
          padding: 40px;
          background-color: #FCF4FF;
          border-radius: 12px;

          @media (max-width: 1024px) {
            flex-direction: column;
            gap: 18px;
            height: 100%;
          }

          @media (max-width: 890px) {
            padding: 24px 16px;
          }

          .slide_image {
            width: 58.506%;
            height: fit-content;
            border-radius: 12px;
            box-shadow: var(--shadow02);
            overflow: hidden;
            @media (max-width: 1024px) {
              width: 100%;
            }
          }

          .txt_wrap {
            flex: 1;
            .slide_head {
              font-size: 16px;
              font-family: var(--shingoB);
              letter-spacing: 0.05em;
            }
            .slide_txt {
              position: relative;
              font-size: 12px;
              letter-spacing: 0.01em;
              line-height: 1.5;
              text-align: justify;
              word-break: break-all;
              margin-top: 8px;
              padding-top: 16px;

              &::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 3px;
                mask-image: url(/recruit/assets/img/environment/location/dots.svg);
                mask-repeat: repeat-x;
                background-color: #D4BBFF;
              }
            }
          }
        }
      }
    }
    .splide__arrow {
      position: absolute;
      translate: 0 -50%;
      top: 50%;
      right: -6.771%;
      width: 32px;
      height: 32px;
      border: 1px solid #777777;
      border-radius: 50%;
      background-color: #fff;
      cursor: pointer;
      @media (max-width: 1024px) {
        translate: 40px 0;
        top: unset;
        bottom: -12px;
        right: unset;
        left: 50%;
      }
      svg {
        display: none;
      }

      &::after {
        content: '';
        position: absolute;
        translate: -50% -50%;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 13px;
        background: url(/recruit/assets/img/environment/location/slide_arrow.svg) no-repeat;
      }

      &.splide__arrow--prev {
        left: -6.771%;
        @media (max-width: 1024px) {
          translate: -75px 0;
          left: 50%;
        }
        &::after {
          scale: -1 1;
        }
      }
    }

    .splide__pagination {
      margin-top: 28px;
      gap: 16px;
      @media (max-width: 1024px) {
        margin-top: 24px;
        gap: 12px;
      }
      li {

        .splide__pagination__page {
          width: 12px;
          height: 12px;
          border: 1px solid #553191;
          border-radius: 50%;
          background-color: #FCF4FF;

          @media (max-width: 1024px) {
            width: 8px;
            height: 8px;
          }

          &.is-active {
            background-color: #553191;
          }
        }
      }
    }
  }
}
/* ↑↑↑ what_block ↑↑↑ */
/* ↓↓↓ office_block ↓↓↓ */
.office_block {
  margin-top: 112px;
  @media (max-width: 768px) {
    margin-top: 64px;
  }
  .ttl_group {
    .en {
      width: fit-content;
      font-size: 12px;
      font-family: var(--lato);
      font-weight: 900;
      color: #553191;
      background-color: #D4BBFF;
      padding: 2px 8px;
      border-radius: 4px;
      margin: 0 auto;

      @media (max-width: 768px) {
        font-size: 12px;
        padding: 2px 8px;
        border-radius: 4px;
      }
    }

    .ttl {
      font-size: 32px;
      font-family: var(--shingoB);
      text-align: center;
      margin-top: 16px;
      line-height: 1.285714;

      @media (max-width: 768px) {
        font-size: 24px;
        margin-top: 15px;
        line-height: 1.3;
      }
    }
  }

  .intro_txt {
    max-width: 675px;
    font-size: 14px;
    text-align: justify;
    word-break: break-all;
    line-height: 1.857142;
    margin: 24px auto 0;
    letter-spacing: 0.05em;

    @media (max-width: 768px) {
      width: 100%;
    }
  }

  .box {
    margin-top: 40px;
    background-color: #fff;
    border-radius: 12px;
    @media (max-width: 768px) {
      margin-top: 24px;
    }
    +.box {
      margin-top: 32px;
      @media (max-width: 768px) {
        margin-top: 16px;
      }
    }
    .box_head {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 32px 32px 28px;
      width: 100%;
      border-radius: 12px;
      background-color: #fff;
      cursor: pointer;
      border: 2px solid #fff;
      box-sizing: border-box;
      transition: background-color 300ms ease, border 300ms ease;
      @media (max-width: 890px) {
        padding: 32px 16px 28px;
      }
      @media (min-width: 769px) {
        &:hover {
          background-color: #FCF4FF;
          border: 2px solid #EBDCFF;
        }
      }
      &:active {
        background-color: #EBDCFF;
        border: 2px solid #EBDCFF;
      }
      @media (max-width: 768px) {
        padding: 16px 16px 14px;
      }
      &::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: opacity 300ms 0s ease, border 300ms 0s ease;
        opacity: 0;
        z-index: 1;
      }
      &:focus-visible {
        outline: none;
        &::before {
          opacity: 1;
          border: 4px solid #D4BBFF;
        }
      }
      .box_head_txt {
        font-size: 20px;
        font-family: var(--shingoB);
        letter-spacing: 0.05em;
        color: #1B1B1B;
        @media (max-width: 768px) {
          font-size: 14px;

        }
      }

      .deco {
        position: relative;
        width: 32px;
        height: 32px;
        border: 1px solid #777777;
        border-radius: 50%;
        background-color: #fff;

        &::before {
          content: '';
          position: absolute;
          translate: -50% -50%;
          top: 50%;
          left: 50%;
          width: 8px;
          height: 13px;
          background: url(/recruit/assets/img/environment/location/slide_arrow.svg) no-repeat;
          rotate: 90deg;
          transition: rotate 300ms 0s ease;
        }
      }

      &.is-open {
        .deco {
          &::before {
            rotate: 270deg;
          }
        }
      }
    }

    .box_container {
      width: 100%;
      .box_container_inner {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        padding: 0 33px 32px;
        @media (max-width: 890px) {
          padding: 0 16px 16px;
        }
        @media (max-width: 768px) {
          width: 100%;
          display: grid;
          grid-template-columns: repeat(2, calc((100% - 16px) / 2));
          gap: 16px 9px;
        }
        .card {
          position: relative;
          width: calc((100% - 32px) / 3);
          aspect-ratio: 1/1;
          border: unset;
          background-color: unset;
          cursor: pointer;

          @media (min-width: 769px) {
            &:hover {
              .card_image {
                img {
                  scale: 1.1;
                }
              }
              .card_head {
                background-color: #FCF4FF;
              }
            }
          }

          &:active {
            .card_image {
              img {
                scale: 1.1;
              }
            }
            .card_head {
              background-color: #FCF4FF;

              .card_head_txt {
                color: #5F5F5F;
              }
            }
          }
          

          @media (max-width: 768px) {
            display: grid;
            grid-template-rows: subgrid;
            grid-row: span 2;
            width: 100%;
            gap: 4px;
          }

          &::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: opacity 300ms 0s ease, border 300ms 0s ease;
            opacity: 0;
            z-index: 1;
          }

          &:focus-visible {
            outline: none; 
            &::before {
              opacity: 1;
              border: 4px solid #D4BBFF;
            }

            .card_image {
              img {
                scale: 1.1;
              }
            }
            .card_head {
              background-color: #FCF4FF;

              .card_head_txt {
                color: #5F5F5F;
              }
            }
          }
          
          .card_image {
            width: 100%;
            height: 100%;
            overflow: hidden;
            border-radius: 12px;
            box-shadow: var(--shadow02);

            img {
              transition: scale 300ms ease;
            } 

            @media (max-width: 768px) {
              height: fit-content;
            }
          }
          .card_head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: absolute;
            translate: -50% 0;
            bottom: 12px;
            left: 50%;
            width: 90.665%;
            min-height: 44px;
            border-radius: 32px;
            background-color: #fff;
            padding: 4px 8px 4px 16px;

            @media (max-width: 768px) {
              position: initial;
              translate: 0 0;
              width: 100%;
              min-height: unset;
              border: 1px solid #BD99FF;
              padding: 4px 4px 4px 12px;
            }

            .card_head_txt {
              flex: 1;
              text-align: left;
              font-size: 12px;
              font-family: var(--shingoB);
              letter-spacing: 0.01em;
              line-height: 1.4;
              transition: color 300ms ease;
              color: #1B1B1B;

              @media (max-width: 768px) {
                font-size: 10px;
                padding-right: 4px;
              }
            }

            .deco {
              position: relative;
              width: 24px;
              height: 24px;
              background-color: #BD99FF;
              border-radius: 50%;

              &::before,
              &::after {
                content: '';
                position: absolute;
                translate: -50% -50%;
                top: 50%;
                left: 50%;
                width: 2px;
                height: 12px;
                background-color: #553191;
                border-radius: 4px;
              }

              &::after {
                rotate: 90deg;
              }
            }
          }
        }
      }
    }
  }
}
/* ↑↑↑ office_block ↑↑↑ */

/* ↓↓↓ 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__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 904px;
    max-width: 80vw;
    height: 655px;
    max-height: 80dvh;
    background: #fff;
    z-index: 1;
    padding: 58px 32px 55px 64px;
    border-radius: 12px;

    @media (max-width: 768px) {
      width: calc(100% - 32px);
      max-width: calc(100% - 32px);
      height: 436px;
      max-height: 80dvh;
      padding: 32px 12px 32px 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 {
        .modal_head {
          width: fit-content;
          font-size: 18px;
          font-family: var(--shingoB);
          color: #553191;
          background-color: #D4BBFF;
          padding: 1px 24px;
          margin: 0 auto;
          border-radius: 8px;
          @media (max-width: 768px) {
            font-size: 16px;
            line-height: 1.4;
            padding: 4px 24px;
          }
        }
        .modal_image {
          width: 100%;
          margin-top: 17px;
          box-shadow: var(--shadow02);
          border-radius: 12px;
          overflow: hidden;
        }
        .modal_txt {
          font-size: 14px;
          line-height: 1.857142;
          letter-spacing: 0.05em;
          margin-top: 20px;
        }
      }
    }
  }

  .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;
      }
    }
  }
}

[x-cloak] {
  display: none !important;
}

/* ↑↑↑ modal ↑↑↑ */

/* ↓↓↓ work_block ↓↓↓ */

/* ↑↑↑ work_block ↑↑↑ */

/* ↓↓↓ training_block ↓↓↓ */

/* ↑↑↑ training_block ↑↑↑ */

/* ↓↓↓ event_block ↓↓↓ */

/* ↑↑↑ event_block ↑↑↑ */