/* トップページ専用CSS（BEM & ハイフン統一版） */
@charset "utf-8";


#fv .pc_display {
      display: block;
    }
#fv .sp_display {
    display: none;
}
@media screen and (max-width: 480px) {
    #fv .pc_display {
        display: none;
    }
    #fv .sp_display {
      display: block;
    }
}
/* --------------------------
  Hero
---------------------------*/
.hero__image {
  width: 100vw;
  object-fit: contain;
  object-position: center;
}

/* --------------------------
  Service
---------------------------*/
#service {
  padding-top: 150px;
  padding-bottom: 50px;
  background-color: #F5F5F5;
}

#service .section-title__image {
  width: 610px;
  max-width: 100%;
}
.service-list {
  margin-bottom: 150px;
}
/* Card */
.service-card {
  position: relative;
  height: 800px;
}
.service-card__image {
  position: absolute;
  width: 1100px;
  max-width: 100%;
}
.service-card__background {
  width: 500px;
  height: 500px;
  max-width: 100%;
}
.service-card__body {
  position: absolute;
  bottom: 0;
  width: 500px;
  padding: 50px;
  background-color: #fff;
}
.service-card__body h3 {
  font-size: 32px;
  font-weight: bold;
}
.service-card__body p {
  margin-top: 20px;
}

/* ボタン */
.r-button {
  font-size: 20px;
  font-weight: bold;
  width: 400px;
  text-align: center;
  border: 1px solid #D0A900;
  margin-top: 35px;
  max-width: 100%;
}
.r-button a {
  display: block;
  padding: 28px 0; 
}

/* カード配置差分 */
.service-list--company .service-card__body {
  left: 70px;
}
.service-list--candidate .service-card__body {
  right: 230px;
}

@media screen and (max-width: 480px) {
  #service {
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: #F5F5F5;
}
.service-list {
    margin-bottom: 50px;
}
  .service-card {
    position: unset;
    height: auto;
  }
  .service-card__image {
    position: unset;
    max-width: 100%;
  }
  .service-card__body {
    position: unset;
    bottom: 0;
    max-width: 100%;
    padding: 20px;
    background-color: #fff;
  }
  .service-card__body h3 {
  font-size: 24px;
  font-weight: bold;
}
.service-card__body p {
  margin-top: 15px;
}

  .r-button {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    width: 240px;
    max-width: 100%;
    border: 1px solid #D0A900;
    margin: 0 auto;
    margin-top: 35px;
  } 
  .r-button a {
    display: block;
    padding: 15px 0;
}
}

/* --------------------------
  Feature (Advantage)
---------------------------*/
#advantage {
  padding-top: 150px;
  padding-bottom: 150px;
  background-image: url('../img/top_img/advantage_bg.png');
}
#advantage .section-title__image {
  width: 870px;
  max-width: 100%;
}
.feature__list {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-end;
}
.feature__item {
  width: 370px;
}
.feature__item img {
  max-width: 100%;
}

@media screen and (max-width: 480px) {
  #advantage {
  padding-top: 70px;
  padding-bottom: 70px;
  background-image: url('../img/top_img/advantage_bg.png');
}
.feature__list {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
    flex-direction: column;
  }
  .feature__item {
    width: auto;
  }
}

/* --------------------------
  Testimonial (Voice)
---------------------------*/
#voice {
  background-color: #F5F5F5;
  padding-top: 150px;
  padding-bottom: 150px;
}
#voice .section-title__image {
  width: 610px;
  max-width: 100%;
}
.testimonial {
  position: relative;
  height: 900px;
}
.testimonial__background {
  position: absolute;
  right: 0;
  width: 980px;
  height: 650px;
}
.testimonial__content {
  position: absolute;
  bottom: 160px;
  width: 780px;
  padding: 50px;
  background-color: #fff;
}
.testimonial__content h3 {
  font-size: 32px;
  font-weight: bold;
}
.testimonial__content p {
  margin-top: 30px;

}
@media screen and (max-width: 480px) {
  #voice {
    background-color: #F5F5F5;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .testimonial {
    position: unset;
    height: auto;
  }
  .testimonial__background {
    position: unset;
    width: auto;
    height: auto;
  }
  .testimonial__content {
    position: unset;
    bottom: 0;
    width: auto;
    padding: 20px;
    background-color: #fff;
  }
  .testimonial__content h3 {
    font-size: 24px;
    font-weight: bold;
}
.testimonial__content p {
    margin-top: 15px;
}
}
