@charset "utf-8";

/* +++++++++++++++++++++++++++++++

 style_recruit_main.css

+++++++++++++++++++++++++++++++ */


/* recruit__container
-----------------------------------*/
.recruit__container {
  margin: 0 0 140px;
}
.recruit__container p {
  text-align: center;
  font-size: 2.4rem;
}
.recruit__container ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 80px 0 0;
}
.recruit__container ul a {
  display: block;
  width: 48%;
}
.recruit__container ul li {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.recruit__container ul li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: .3s;
}
.recruit__container ul a:hover li::before {
  transform: scale(1.1,1.1);
}
.recruit__title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  z-index: 10;
}
.recruit__title h3 {
  position: relative;
  display: inline-block;
  text-align: center;
  font-size: 2.0rem;
  line-height: 1;
  color: #fff;
}
.recruit__title h3::before {
  content: '\e89e';
  position: absolute;
  top: -16px;
  right: 0;
  font-size: 1.2rem;
  font-family: 'Material Icons Outlined';
}
@media screen and (max-width: 768px) {
  .recruit__container {
    margin: 0 0 80px;
  }
  .recruit__container p {
    font-size: 2.0rem;
  }
  .recruit__container ul {
    margin: 40px 0 0;
  }
  .recruit__container ul a {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 480px) {
  .recruit__container p {
    text-align: left;
    font-size: 1.6rem;
  }
  .recruit__container ul li {
    align-items: flex-end;
  }
  .recruit__title {
    width: 100%;
    height: 80px;
  }
  .recruit__title h3::before {
    top: 0;
    right: -16px;
  }
}


/* new graduate
-----------------------------------*/
.recruit__container ul a:nth-of-type(1) li::before {
  background-image: url(/common/img/recruit_main/recruit_new.jpg);
}
.recruit__container ul a:nth-of-type(1) li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(230,118,118,0.3);
}
.recruit__container ul a:nth-of-type(1) li .recruit__title {
  background-color: rgba(164,23,18,0.9);
}
.recruit__container ul a:nth-of-type(1) li .recruit__title h3 span {
  color: #E5B9BA;
}
@media screen and (max-width: 768px) {
  .recruit__container ul a:nth-of-type(1) {
    margin-bottom: 40px;
  }
}


/* career
-----------------------------------*/
.recruit__container ul a:nth-of-type(2) li::before {
  background-image: url(/common/img/recruit_main/recruit_career.jpg);
}
.recruit__container ul a:nth-of-type(2) li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(79,149,141,0.3);
}
.recruit__container ul a:nth-of-type(2) li .recruit__title {
  background-color: rgba(79,149,141,0.9);
}
.recruit__container ul a:nth-of-type(2) li .recruit__title h3 span {
  color: #ACDED9;
}
