@charset "utf-8";

.career-container {
  width: 100%;
  height: 100vh;
  background: url(../img/careers.jpg) no-repeat center/cover;
  position: relative;
}

.career-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.career-text {
  margin-bottom: 10px;
}

.career-title {
  font-size: clamp(1.125rem, 1.037rem + 0.376vw, 1.375rem);
  margin-bottom: 100px;
  text-align: center;
  position: relative;
}

.career-title::after {
  content: "";
  width: 247px;
  height: 20px;
  background: url(../img/wave2.png) no-repeat center/cover;
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.welcome-box {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 480px);
  place-items: center;
  gap: 20px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.welcome-item {
  width: 480px;
  height: 170px;
  padding: 20px 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  color: #222;
  background-color: #fff;
  border-radius: 30px;

  width: 100%;
  max-width: 480px;
  min-width: 0;
  height: 170px;
  padding: 20px 30px;
  display: flex;
  gap: 30px;
  align-items: center;
  color: #222;
  background-color: #fff;
  border-radius: 30px;
}

.welcome-img {
  width: 110px;
  flex-shrink: 0;
}

.welcome-img img {
  width: 100%;
  display: block;
}

.welcome-text {
  flex: 1;
}

.welcome-text h3 {
  min-height: 70px;
  font-size: 22px;
  font-weight: bold;
}
.welcome-text-h3 {
  margin-bottom: 5px;
}

/* 募集一覧 */
.career-container2 {
  margin-bottom: 100px;
  display: flex;
  justify-content: space-between;
}

.requirements-box {
  background-color: #fff;
  border-radius: 30px;
}

.requirements-img {
  position: relative;
}

.requirements dt,
.requirements dl {
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}

.img-title {
  position: absolute;
  right: 20px;
  bottom: 20px;

  width: 250px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);

  margin: 0;
}

.requirements-img::after {
  content: "";
  width: 247px;
  height: 20px;
  background: url(../img/wave2.png) no-repeat center/cover;
  position: absolute;
  bottom: 10px;
  right: 25px;
}

.requirements-img img {
  width: 490px;
  object-fit: cover;
  border-radius: 30px 30px 0 0;
}

.requirements {
  width: 490px;
  padding: 20px;
  background-color: #fff;
  border-radius: 30px;
  color: #222;
}

.requirements h3 {
  margin-bottom: 30px;
  font-size: clamp(1rem, 0.824rem + 0.751vw, 1.5rem);
  text-align: center;
}
.requirements p {
  width: 320px;
  margin: 0 auto 40px;
  padding: 1em 0;
  font-size: clamp(0.875rem, 0.831rem + 0.188vw, 1rem);
}

.requirements dl {
  margin: 0;
}

.dl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  column-gap: 30px;
  margin-bottom: 18px;
  align-items: start;
}

.dl-item dt,
.dl-item dd {
  margin: 0;
  line-height: 1.8;
}

.dl-item dt {
  font-weight: bold;
}

/* スタッフインタビュー */
.interview-container {
  display: flex;
  color: #222;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 30px;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.interview-lft h3 {
  margin-bottom: 10px;
}

.interview-lft p:first-of-type {
  margin-bottom: 30px;
  text-indent: 1em;
}

.interview-rgh {
  width: 100%;
  max-width: 400px;
  display: block;
  border-radius: 30px;
}

.interview-rgh img {
  border-radius: 30px;
}

/* 応募方法 */
.apply-container {
  margin: 0 auto 100px;
  padding: 45px 25px;
  display: flex;
  align-items: center;
  gap: 50px;
  background-color: #fff;
  border-radius: 30px;
  color: #222;
}

.apply-container span {
  text-decoration: underline;
  text-underline-offset: 18%;
}
.apply-lft p:nth-child(2) {
  margin-bottom: 1.5em;
}

/* デコレーション */
.wrap-item7,
.wrap-item8,
.wrap-item9,
.wrap-item10,
.wrap-item11,
.wrap-item12,
.wrap-item13 {
  animation: anm-float 2s ease infinite;
}

.wrap-item1 {
  width: 500px;
  position: absolute;
  top: 0;
  left: -10px;
  opacity: 0.9;
}
.wrap-item2 {
  width: 500px;
  position: absolute;
  top: 30%;
  right: -120px;
  opacity: 0.9;
}
.wrap-item3 {
  width: 500px;
  position: absolute;
  top: 50%;
  left: -150px;
  opacity: 0.9;
}
.wrap-item4 {
  width: 500px;
  position: absolute;
  top: 70%;
  right: -120px;
  opacity: 0.9;
}
.wrap-item5 {
  width: 500px;
  position: absolute;
  top: 85%;
  left: -120px;
  opacity: 0.9;
}
.wrap-item6 {
  width: 500px;
  position: absolute;
  top: 90%;
  right: -120px;
  opacity: 0.9;
}

.wrap-item7 {
  width: 176px;
  position: absolute;
  top: 1%;
  left: 200px;
  opacity: 0.9;
  animation-delay: 0s;
}
.wrap-item8 {
  width: 224px;
  position: absolute;
  top: 19%;
  right: 150px;
  opacity: 0.9;
}
.wrap-item9 {
  width: 292px;
  position: absolute;
  top: 30%;
  left: -220px;
  opacity: 0.9;
  animation-delay: 0.5s;
}
.wrap-item10 {
  width: 178px;
  position: absolute;
  top: 50%;
  right: -20px;
  opacity: 0.9;
}
.wrap-item11 {
  width: 176px;
  position: absolute;
  top: 73%;
  left: -50px;
  opacity: 0.9;
}
.wrap-item12 {
  width: 211px;
  position: absolute;
  bottom: 10%;
  right: 200px;
  z-index: 1;
  animation-delay: 0.5s;
}
.wrap-item13 {
  width: 275px;
  position: absolute;
  bottom: -150px;
  left: -80px;
  opacity: 0.9;
  animation-delay: 0.8s;
}

/*  レスポンシブ */

@media (width <= 1080px) {
  /* 歓迎 */
  .welcome-box {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .welcome-item {
    width: 100%;
    height: auto;
    padding: 35px 30px;
    gap: 15px;
  }

  .welcome-img {
    width: 80px;
  }

  .welcome-text h3 {
    min-height: auto;
    font-size: 20px;
  }
  /* 募集一覧 */
  .career-container2 {
    flex-direction: column;
    gap: 50px;
    max-width: 490px;
    margin: 0 auto 10px;
  }

  .requirements-box {
    width: 100%;
  }

  .requirements-img img,
  .requirements {
    width: 100%;
  }

  .requirements p {
    width: 100%;
  }
  .pc-br {
    display: none;
  }
  /* デコレーション */
  .wrap-item12 {
    display: none;
  }
}

@media (width <= 875px) {
  .wrap-item8,
  .wrap-item13 {
    display: none;
  }
}

@media (width <= 767px) {
  /* キャリアfv */
  .requirements p {
    padding: 1.5em 0;
  }
  /* スタッフインタビュー */
  .interview-container {
    width: 100%;
    flex-direction: column-reverse;
  }
  .interview-lft h3 {
    font-size: 18px;
    margin: 0 auto 5px;
  }
  .interview-lft p:first-of-type {
    margin-bottom: 30px;
    text-indent: 0;
  }
  .interview-rgh {
    margin-bottom: 20px;
  }

  /* 応募方法 */
  .apply-container {
    flex-direction: column;
  }
  .apply-lft {
    margin-bottom: 30px;
  }
  /* デコレーション */
  .wrap-item1,
  .wrap-item2,
  .wrap-item3,
  .wrap-item4,
  .wrap-item5,
  .wrap-item6,
  .wrap-item7,
  .wrap-item9,
  .wrap-item10,
  .wrap-item11,
  .wrap-item12 {
    display: none;
  }
}

@media (width <= 965px) {
  .interview-lft h3 {
    margin: 0 auto;
  }
  .sp-br2 {
    display: block;
  }
}
