@charset "utf-8";

/* ----------------------------------------
	recruit
---------------------------------------- */

.h1-wrapper {
  padding-top: 12rem;
  position: relative;
}

.h1-wrapper::before {
  content: attr(data-en);
  position: absolute;
  top: 34%;
  left: -2%;
  z-index: -2;
  color: #e1f3e2;
  font-family: "ZCOOL XiaoWei", sans-serif;
  font-size: clamp(4rem, 20vw, 15rem);
  font-weight: 400;
  line-height: 0;
  white-space: nowrap;
}

.h1-ttl {
  margin: 0 20% 2rem 20%;
}

.h1-ttl h1 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 1.5rem;
}

.slider-container {
  width: 100%;
  height: 40vh;
  overflow: hidden;
  position: relative;
}

.slider-track {
  height: 40vh;
  display: flex;
  animation: scroll-left 20s linear infinite;
  font-size: 0;
  gap: 0;
}

.slide {
  flex: 0 0 calc(100% / 4);
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: initial;
}

.slide img {
  width: 100.2%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* アニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.h1-content {
  width: 50%;
  background-color: #39b54a;
  padding: 4rem;
  position: absolute;
  bottom: -30%;
  right: 5%;
}

.h1-content p {
  color: #fff;
}

.h1-content-ttl {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 2rem;
}

#job-description {
  margin: 16rem 15% 8rem 15%;
}

h2 {
  position: relative;
  display: inline-block;
  margin: 4rem 2rem;
}

h2:before {
  content: "";
  position: absolute;
  background: #e1f3e2;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

.staff {
  background-color: #e1f3e2;
  font-size: 1.2rem;
  font-weight: 400;
  padding: 1rem;
}

#recruit dl {
  display: flex;
  flex-flow: row wrap;
  gap: 2%;
  width: 100%;
  position: relative;
  margin-bottom: 8rem;
}

#recruit dt {
  flex-basis: 19%;
  padding: 2rem;
  border-bottom: 1px solid #39b54a;
}

#recruit dd {
  flex-basis: 79%;
  padding: 2rem;
  border-bottom: 1px solid #ccc;
}

.recruit-text-en {
  font-size: 0.8rem;
  text-align: center;
}

.recruit-text-ja {
  color: #39b54a;
  font-size: 1.2rem;
  text-align: center;
}

/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
  .h1-wrapper {
      padding-top: 8rem;
    }

  .h1-wrapper::before {
    /* font-size: 11rem; */
    /* top: 32%; */
    top: 28%;
  }

  .h1-content {
    width: 60%;
    bottom: -50%;
    right: 5%;
  }

  #job-description {
    margin: 20rem 6% 8rem 6%;
  }
}

@media screen and (max-width:1024px) {
  .h1-wrapper::before {
    /* font-size: 11rem; */
    /* top: 32%; */
    top: 31%;
  }
}
/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  .h1-wrapper::before {
    /* font-size: 8rem; */
    /* top: 35%; */
    top: 31%;
  }

  .h1-ttl {
    margin: 0 10% 2rem 10%;
  }

  .h1-content {
    width: 90%;
    bottom: -60%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
  }

  .slide {
    flex: 0 0 calc(100% / 3);
  }

  #job-description {
    margin: 25rem 6% 4rem 6%;
  }

  .h1-content-ttl {
    text-align: left;
  }

  #recruit dl {
    flex-flow: column;
  }

  #recruit dt {
    border-bottom: none;
  }

  #recruit dt {
    padding-bottom: 0;
  }
}

/* 画面幅575px以下：スマホ対応 */
@media screen and (max-width:575px) {
  .h1-wrapper {
    padding-top: 4rem;
  }

  .h1-wrapper::before {
    /* font-size: 6rem; */
    /* top: 24%; */
  }

  .h1-ttl {
    margin: 0 1rem 2rem 1rem;
  }

  .h1-ttl h1 {
    font-size: 1.2rem;
  }

  .h1-content {
    padding: 2rem;
  }

  .h1-content-ttl {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }

  .slide {
    flex: 0 0 calc(100% / 1.5);
  }

  #job-description {
        margin: 20rem 1rem 4rem 1rem;
  }

  .recruit-text-en {
    font-size: 0.7rem;
  }

  .recruit-text-ja {
    font-size: 1rem;
  }
}

/* 画面幅375px以下：スマホ対応 */
@media screen and (max-width:375px) {
  .h1-wrapper::before {
    /* font-size: 4rem; */
    /* top: 30%; */
  }

  .h1-content {
      padding: 1rem;
      bottom: -100%;
    }

  #job-description {
    margin: 28rem 1rem 4rem 1rem;
  }

  .recruit-text-en {
    text-align: left;
  }

  .recruit-text-ja {
    text-align: left;
  }
}