/* p5recruit */

.p5recruit {
  margin-top: 100px;
  line-height: 1.8;
}

.p5recruit h2 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 70px;
}

.p5recruit h3 {
  font-size: 30px;
}

.p5recruit-boxes {
  display: flex;
  margin-top: 70px;
  justify-content: space-between;
}

.p5recruit-box {
  padding: 20px 15px;
  box-shadow: 0px 10px 20px #00000029;
  max-width: 280px;
  width: 30%;
  text-align: center;
  border-radius: 15px;
}

.p5recruit-boxes .p5recruit-box:nth-child(2) {
  margin-left: 20px;
  margin-right: 20px;
}

.p5recruit-box:hover {
  background-color: #f5f5f5;
}

.p5recruit-box-num {
  background-color: #ff9933;
  padding: 10px;
  width: 30px;
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 20px;
}

.p5point {
  width: 100px;
  height: auto;
}

.p5recruit-box-txt {
  margin-top: 20px;
  font-size: 16px;
}

/* .p5position */

.p5position {
  line-height: 1.7;
  margin-top: 70px;
}

.p5position h2 {
  font-size: 30px;
}

.p5position-boxes {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
}

.p5position-box {
  padding: 20px 15px;
  box-shadow: 0px 10px 20px #00000029;
  max-width: 280px;
  width: 30%;
  border-radius: 15px;
}

.p5position-boxes .p5position-box:nth-child(2) {
  margin-left: 20px;
  margin-right: 20px;
}

.p5position-box:hover {
  background-color: #f5f5f5;
}

.p5position-box h3 {
  font-size: 25px;
  color: #ff7166;
}

.p5position-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 20px;
}

.p5position-box-txt {
  margin-top: 20px;
  font-size: 16px;
}

.p5position-box-txt span {
  background-color: #f5f5f5;
}

.p5contact-box {
  margin-top: 70px;
  text-align: center;
}

.p5contact-txt {
  margin-bottom: 30px;
  font-size: 20px;
}

.p5contact {
  border: 2px solid #ff7166;
  padding: 10px 20px;
  border-radius: 30px;
  color: #ff7166;
}

.p5contact:hover {
  color: #ffffff;
  background-color: #ff7166;
}

@media screen and (max-width: 767px) {
  /* p5recruit */

  .p5recruit {
    margin-top: 50px;
  }

  .p5recruit h2 {
    font-size: 30px;
  }

  .p5recruit h3 {
    font-size: 25px;
    text-align: center;
  }

  .p5recruit-boxes {
    flex-direction: column;
    margin-top: 40px;
  }

  .p5recruit-box {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    max-width: 300px;
    width: 90%;
  }

  .p5recruit-boxes .p5recruit-box:nth-child(2) {
    margin-left: auto;
    margin-right: auto;
  }

  /* .p5position */

  .p5position h2 {
    font-size: 25px;
    text-align: center;
  }

  .p5position-boxes {
    flex-direction: column;
    margin-top: 40px;
  }

  .p5position-box {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    max-width: 300px;
    width: 90%;
  }

  .p5position-boxes .p5position-box:nth-child(2) {
    margin-left: auto;
    margin-right: auto;
  }
}
