@charset "UTF-8";
/*
 * recruit index
 */


.main-visual {
  padding-top: 50px;
  height: 100vh;
  @media screen and (min-width: 768px) {
    padding-top: 100px;
  }

  .splide__slide {
    position: relative;

    picture {
      display: block;
      height: 100%;

      &.center_sentence {
        position: absolute;
        inset: 0;
        margin: auto;

        aspect-ratio: 670 / 456;
        width: calc(670% / 7.50);
        img {
          object-fit: contain;
        }

        @media screen and (min-width: 768px) {
          aspect-ratio: 917 / 390;
          width: 917px;
          height: auto;
        }
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}

#Message {
  background-color: #d2f7d6;
  position: relative;

  .container {
    @media screen and (min-width: 768px) {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }
  }

  .sentence {
    @media screen and (min-width: 768px) {
      width: 515px;
    }
  }


  .icon_doctor_wrapper {
    @media screen and (max-width: 767px) {
      display: none;
    }
    @media screen and (min-width: 768px) {
      display: block;
      position: absolute;
      top: -95px;
      left: 0;
      right: 0;
      margin: auto;
      max-width: 1200px;
      width: calc(670% / 7.50);
    }

    .icon_doctor {
      @media screen and (min-width: 768px) {
        display: block;
        aspect-ratio: 157 / 190;
        width: 157px;
        height: auto;
        margin-left: auto;
      }
    }
  }

  .md-left {
    width: 573px;
    position: relative;



    picture {
      display: block;
      width: 541px;
      margin-left: auto;
    }
  }


  picture {
    &.w96 {
      @media screen and (max-width: 767px) {
        width: 96%;
        display: block;
        margin-top: 25px;
      }
    }
    &.icon_person {
      display: block;
      position: absolute;
      bottom: -50px;
      left: -20px;
      width: 100px;
      height: 114px;
      z-index: 1;

      @media screen and (min-width: 768px) {
        width: 175px;
        height: 200px;
        left: -40px;
        bottom: -100px;
      }
    }
  }




  .shadow {
    position: relative;
    z-index: 1;

    &:before {
      content: "";
      display: block;
      width: 100%;
      height: 100%;
      background-color: #33a947;

      position: absolute;
      bottom: -.85em;
      right: -.85em;
      z-index: -1;

      border-radius: 0 10px 0 10px;
      display: block;
      overflow: hidden;
      @media screen and (min-width: 768px) {
        border-radius: 0 18px 0 18px;
      }
    }
  }
}
/* Message */


/* ATTRACTIVE */
#ATTRACTIVE {
  .attractive_list {
    list-style: none;

    &.scrollIn {
      opacity: 1;
      transform: translateY(0);
    }

    &.is-active li {
      opacity: 1;
      transform: translateY(0);

      &:nth-child(1) { transition-delay: 0.1s;}
      &:nth-child(2) { transition-delay: 0.2s;}
      &:nth-child(3) { transition-delay: 0.3s;}
      &:nth-child(4) { transition-delay: 0.4s;}
      &:nth-child(5) { transition-delay: 0.5s;}
    }

    li {
      opacity: 0;
      transform: translateY(10%);
      transition: opacity 0.8s ease, transform 0.8s ease;

      picture {
        display: block;
        aspect-ratio: 1;
        width: 157.5px;
        height: auto;

        @media screen and (min-width: 768px) {
          width: 262px;
        }
      } /* pic */

      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;

      .list_header {
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        color: #33a947;
        margin-top: 0.5em;

        @media screen and (min-width: 768px) {
          font-size: 3rem;
        }
      }

      .sentence {
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 1.5;
        color: #333;
        margin-top: .75em;

        letter-spacing: 1px;

        @media screen and (min-width: 768px) {
          font-size: 1.8rem;
          line-height: 1.6;
        }
      }
    }
  }
}
/* ATTRACTIVE */


/* INTERVIEW */
#INTERVIEW {
  background-image: radial-gradient(circle, color-mix(in srgb, #f7931e 40%, transparent) 1.75px, transparent 1.75px);

  background-size: 10px 15px;
  position: relative;

  @media screen and (max-width: 767px) {padding-top: 120px;}


  .splide.interview {

    @media screen and (min-width: 768px) {
      max-width: 1700px;
      width: calc(1700% / 19.20);
      margin-left: auto;
      margin-right: auto;
    }


    .splide__slide {

      .profile__card {
        position: relative;
        picture {
          aspect-ratio: 324 / 477;
          display: block;
          overflow: hidden;
          border-radius: 7.5px;
          @media screen and (min-width: 768px) {
            border-radius: 20px;
          }
        }
        img {object-fit: cover;}

        a {
          display: inline-block;
          width: 100%;
          height: 100%;
          transition: opacity .4s;
          &:hover {opacity: 0.75;}
        }


        .profile {
          padding: 25px 1em;
          font-size: 1.5rem;
          font-weight: 500;
          background-color: #fff;
          border-radius: 5px;

          position: absolute;
          left: 0;
          right: 0;
          bottom: 18px;
          margin: auto;

          width: calc(284% / 3.24);
          height: fit-content;

          @media screen and (min-width: 768px) {
            min-height: 145px;
            min-height: 130px;
            padding: 18px 1em;
            font-size: 1.6rem;
            border-radius: 7px;
            bottom: 20px;
          }
        }

        .categories {
          background-color: #33a947;
          color: #fff;

          font-size: 1.25rem;
          font-weight: 500;
          text-align: center;

          width: fit-content;
          margin-left: auto;
          margin-right: auto;
          padding: 0.35em .5em;
          line-height: 1.15;
          border-radius: 4px;

          @media screen and (min-width: 768px) {
            font-size: 1.4rem;
            line-height: 1.15;
            padding: 0.285em .5em;
            border-radius: 6px;
          }
        }

        .joinIn {
          color: #ed4f09;
          text-align: center;
          font-size: 1.5rem;
          font-weight: 500;
          line-height: 1;
          margin-top: .85em ;
          @media screen and (min-width: 768px) {
            font-size: 1.6rem;
          }
        }
        .job {
          font-size: 2.7rem;
          font-weight: bold;
          color: #333;
          text-align: center;
          line-height: 1;
          margin-top: 0.25em;

          @media screen and (min-width: 768px) {
            font-size: 2.4rem;
          }
        }
      }
      /* profile__card */

    }
  }
  /* .splide.interview */
  .upper_right_wrapper {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    margin: auto;
    width: calc(670% / 7.50);
    @media screen and (min-width: 768px) {
      left: 0;
      right: 0;
      top: -76px;

      max-width: 1200px;
    }
  }
  .upper_right {
    display: block;
    aspect-ratio: 150 / 360;
    width: 75px;
    margin-left: auto;

    @media screen and (min-width: 768px) {
      width: 150px;
    }
  }
}
/* INTERVIEW */



/* BENEFITS */
#BENEFITS {
  .grid.col-1-2  {
    @media screen and (min-width: 768px) {
      gap: 100px;
    }
  }
}



/* loading animation */
#loading {
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background-color: #3ba147;
  z-index: 9999;
  top: 0;
  left: 0;
}


#loading .graph {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 10px;
  background-color: #f0ff49;
  z-index: 3;
}

#loading .loading-container {
  /*aspect-ratio: 600 / 468;*/
  position: absolute;
  inset: 0;
  margin: auto;
  width: 90%;
  height: auto;
  max-width: 300px;
  padding: 0;
  top: 50%;
  transform: translateY(-50%);

  transition: all 0.3s ease;
  z-index: 2;

  @media screen and (min-width: 768px) {
    width: 50%;
    max-width: 910px;
  }
}

#loading .loading-container.end {
  opacity: 0;
  visibility: hidden;
}

#loading .loading-catch-wrap {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
}

#loading .loading-main-text {
  margin: 0;
}

#loading .loading-main-text img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
}

#loading .loading-copy,
#loading .loading-logo-box {
  box-sizing: border-box;
}

#loading .loading-copy {
  display: block;
  margin: 8px auto 10px;
  padding: 12px 12px;
  background-color: #133391;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}

#loading .loading-copy span {
  color: #f0ff49;
}

#loading .loading-logo-box {
  /* display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  padding: 7px 12px;
  background-color: #fff; */
}

#loading .loading-logo {
  margin: 0;
  flex-shrink: 0;
}

#loading .loading-logo img {
  display: block;
  width: 100%;
  height: auto;
}

#loading .loading-site-name {
  margin: 0;
  color: #0b4670;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 767px) {
  #loading .graph {
    height: 6px;
  }

  #loading .loading-container {
    width: 92%;
    max-width: 300px;
  }




  #loading .loading-copy {
    margin: 8px auto 8px;
    padding: 5px 8px;
    font-size: 11px;
    line-height: 1.25;
    letter-spacing: 0.02em;
  }

  #loading .loading-logo-box {
    gap: 6px;
    padding: 6px 8px;
  }

  #loading .loading-logo {
    width: 130px;
  }

  #loading .loading-site-name {
    font-size: 12px;
  }
}

@media (max-width: 374px) {
  #loading .loading-container {
    max-width: 300px;
  }
}





/* MV Animation */
.home-hero {
  overflow: hidden;
  width: 100%;
  height: 100vh;
  /* スマホのアドレスバーを除いた高さ */
  height: 100svh;

  position: relative;

  picture {
    &.center_sentence {
      position: absolute;
      inset: 0;
      margin: auto;
      display: block;
      height: auto;
      
      aspect-ratio: 670 / 456;
      width: calc(670% / 7.50);

      top: calc(50% - 10rem);
      transform: translateY(-50%);
      img {
        object-fit: contain;
      }

      @media screen and (min-width: 768px) {
        aspect-ratio: 917 / 390;
        max-width: 917px;
        width: 50%;
        height: auto;
        top: calc(50%);
      }
    }

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.home-hero__wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.home-hero__row {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.home-hero__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: loop-slide 150s linear infinite;
  will-change: transform;
}

/* 下段は少し速度を変えると動きに表情が出る（同じでもOK） */
.home-hero__row--lower .home-hero__track {
  animation-duration: 150s;
}

.home-hero__group {
  display: flex;
  flex-shrink: 0;
  height: 100%;
}

.home-hero__item {
  flex-shrink: 0;
  height: 100%;
  /* width: clamp(600px, 80vw, 1200px); */
}

.home-hero__item img {
  display: block;
  height: 100%;
  width: auto;
}

/* 左→右：-50%（=1グループ分）から0へ */
@keyframes loop-slide {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__track { animation: none; }
}

.home-hero__row--lower .home-hero__track {
  animation-direction: reverse;
}
