/* support
-------------------------------------- */

main#main.under_layer {
  padding-bottom: 0;
}
#support {
  padding-bottom: 135px;
  width: 100%;
  margin: 0 auto;
  background: url("../../img/recruit/hoyo01.jpg") no-repeat 50% 50% / cover;
  position: relative;
  z-index: 1;
}

#support::before {
  content: "";
  display: block;
  width: 100%;
  height: 15vw;
  background: linear-gradient(to bottom left, #fff 50%, transparent 50%) top
      left/ 50% 100% no-repeat,
    linear-gradient(to bottom right, #fff 50%, transparent 50%) top right / 50%
      100% no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  z-index: -1;
}

#support .sec_ttl {
  margin-bottom: 75px;
}
#support .inner {
  max-width: 1200px;
}
#support .gar_head {
  padding: 50px 0 20px;
  font-size: 2rem;
  font-weight: 600;
}
#support .gar_head::before {
  content: "●";
  color: #002c76;
  padding-right: 0.5em;
}
#support .supp_box {
  width: 100%;
  margin-bottom: 80px;
}
#support .supp_box:last-of-type {
  margin-bottom: 0;
}

#support .txt {
  width: 100%;
  background-color: #002c76;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 5%;
}
#support .blo_ttl {
  text-align: center;
}
#support .blo_ttl .ja {
  color: #fff;
  padding-top: 0;
  line-height: 1.3;
  font-size: 2.6rem;
}
#support .comm {
  color: #fff;
  line-height: 2;
}

#support .supp_img {
  display: flex;
  flex-wrap: wrap;
}
#support .supp_img figure {
  flex-basis: 25%;
  position: relative;
  padding-top: 16%;
  height: 0;
  overflow: hidden;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}
@media all and (min-width: 901px) {
  #support .supp_img figure:hover {
    opacity: 0.7;
  }
}
#support .supp_img figure img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 110%;
  min-width: 100%;
  min-height: 100%;
  height: auto;
}

@media all and (max-width: 600px) {
  #support {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  #support .sec_ttl {
    margin-bottom: 60px;
  }
  #support .inner {
    display: block;
  }
  #support .supp_box {
    width: 100%;
  }
  #support .blo_ttl .ja {
    font-size: 1.9rem;
  }

  #support .gar_head {
    padding-top: 30px;
    font-size: 1.6rem;
  }

  #support .supp_box:not(:first-of-type) {
    margin-top: 60px;
  }
  #support .supp_img figure {
    flex-basis: 50%;
    padding-top: 33%;
  }
}

.swiper-slide figure {
  width: calc(100% - 120px);
  margin: 0 auto;
  height: 0;
  padding-top: 60%;
  position: relative;
  overflow: hidden;
}
@media all and (max-width: 600px) {
  .swiper-slide figure {
    width: calc(100% - 70px);
  }
}

.swiper-slide figure img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 110%;
  max-height: 110%;
}
.swiper-slide figure figcaption {
  padding: 10px 20px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 2;
}
.swiper-button-prev {
  right: calc(100% - 50px);
}
.swiper-button-next {
  left: calc(100% - 50px);
}
.swiper-button-prev::before,
.swiper-button-next::before {
  background-color: #e49a1b;
}

@media all and (max-width: 600px) {
  .swiper-button-prev {
    right: calc(100% - 30px);
  }
  .swiper-button-next {
    left: calc(100% - 30px);
  }
}

.close-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  z-index: 3;
}
