@charset "utf-8";
/* CSS Document */
.pagevisual {
  background: url("../img/page_visual.webp")no-repeat center;
  background-size: cover;
}
/*img-flex*/
.img-flex {
  margin: 72px 0 160px;
}
.img-flex .container {
  background: url("../img/recruit_img01.webp")no-repeat center;
  background-size: cover;
  height: 563px;
  display: block;
  position: relative;
}
.img-flex .container div{
  background: #fff;
  width: 100%;
  max-width: 450px;
  height: 149px;
  position: absolute;
  top: 36.5%;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-flex .sec_title{
  font-size: 2.4rem;
  line-height: 1.7;
  letter-spacing: 2px;
}
.img-flex p{
  width: 100%;
  max-width: 880px;
  position: absolute;
  bottom: -15%;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}
/*content*/
.content {
  margin-bottom: 128px;
}
.content_box {
  background: #ECEEEE;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 100px;
  gap: 0 100px;
  padding-bottom: 40px;
  height: 355px;
}
.content_box:last-child {
  margin-bottom: 0;
}
.content_box li{
  position: relative;
  top: 45px;
}
.content_box li:first-child,
.content_box.rev li:last-child{
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px 0;
}
.content_box li:last-child,
.content_box.rev li:first-child{
  width: 100%;
  max-width: 500px;
}
.content_box h3{
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: 2.4px;
  line-height: 1.5;
  border-bottom: 1px solid #0959E2;
  width: 100%;
  max-width: 420px;
  padding: 15px 0;
  color: #0959E2;
}
@media screen and (orientation: portrait) and (min-width: 768px){
  .img-flex p {
    bottom: -20%;
    white-space: nowrap;
  }
}
@media screen and (max-width: 767px) {
  /*img-flex*/
  .img-flex {
    margin-top: 0;
  }
  .img-flex .container {
    background: url("../img/recruit_img01_sp.webp")no-repeat center;
  }
  .img-flex .container div {
    max-width: 187px;
    height: 188px;
    top: 33.5%;
  }
  .img-flex .sec_title {
    font-size: 1.8rem;
    padding: 0 5%;
  }
  .img-flex p{
    width: 90%;
    bottom: -30%;
    height: 160px;
  }
  
  /*content*/
  .content_box {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 0 5%;
    gap: 35px;
  }
  .content_box.rev {
    flex-direction: column-reverse;
  }
  .content_box li:last-child,
  .content_box.rev li:first-child{
    max-width: 420px;
  }
  .content_box h3{
    font-size: 2rem;
    padding: 10px 0
  }
}
@media screen and (max-width: 550px) {
  .img-flex {
    margin-bottom: 250px;
  }
}
@media screen and (max-width: 550px) {
  .img-flex {
    margin-bottom: 210px;
  }
}
@media screen and (max-width: 300px) {
  .img-flex {
    margin-bottom: 375px;
  }
  .content_box h3 {
    font-size: 1.8rem;
  }
  .entry_box a{
    font-size: 1.6rem;
  }
}