/*----採用情報スペース----*/
.recruit-info {
  text-align: center;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
  background-color: rgba(255, 255, 255, 0.6);
}

.recruit-info::before {
  content: '';
  width: 100%;
  height: 100%;
  display: block;
  background-image: url(../img/toprecruitback.jpg);
  background-position: center 30%;
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.recruit-info h2 {
  margin-bottom: 20px;
  font-weight: bold;
}

.recruit-info p {
  margin-bottom: 50px;
}

.recruit-info ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
}


.recruit-info ul li a {
  background-color: #FFFFE6;
  width: 180px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 2px solid #707070;
  transition: all 0.3s ease;
}

.recruit-info ul li a::before {
  content:'\f054';
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
}

.recruit-info ul li a:hover {
  background-color: #FFCC99;
  color: white;
}


/*スマホ*/
@media (max-width: 768px) {

  .recruit-info {
    padding-bottom: 20px;
  }

  .recruit-info::before {
    background-size: cover;
    background-position: center;
  }

  .recruit-info ul li{
    margin: 0 auto 30px;
  }

}