@-webkit-keyframes scrolldown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
@keyframes scrolldown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
main .contents {
  padding-bottom: 120px;
}
main .contents .mainimg_area {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-height: 700px;
  height: 60vw;
}
main .contents .mainimg_area::before {
  position: absolute;
  content: "";
  background-color: #dc1e37;
  width: 87%;
  height: 100%;
  z-index: -1;
}
main .contents .mainimg_area h1 {
  color: #fff;
  font-size: 70px;
  font-size: clamp(2.5rem, 1.543rem + 4.08vw, 4.375rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
main .contents .mainimg_area .mainimg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  width: 85%;
  height: 630px;
  height: clamp(25.625rem, -3.139rem + 61.28vw, 39.375rem);
}
main .contents .mainimg_area .mainimg img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: 50% 100%;
     object-position: 50% 100%;
  width: 100%;
  height: 100%;
}
main .contents .mainimg_area .maindeco {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 15%;
}
main .contents .mainimg_area .scroll {
  position: absolute;
  bottom: 95px;
  left: 7px;
  line-height: 1;
  transform: rotate(-90deg);
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.05em;
}
main .contents .mainimg_area .arrow {
  position: absolute;
  content: "";
  bottom: 0;
  left: 29px;
  width: 1px;
  height: 70px;
  overflow: hidden;
}
main .contents .mainimg_area .arrow::after {
  position: absolute;
  content: "";
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  -webkit-animation: scrolldown 1.4s ease-in-out infinite;
          animation: scrolldown 1.4s ease-in-out infinite;
}
main .contents section {
  position: relative;
  overflow: hidden;
}
main .contents section#first {
  padding: clamp(7.5rem, 3.355rem + 17.69vw, 15.625rem) 0 clamp(2.5rem, 1.224rem + 5.44vw, 5rem);
  z-index: 2;
}
main .contents section#first::before, main .contents section#first::after {
  position: absolute;
  content: "";
  bottom: 0;
}
main .contents section#first::before {
  right: 0;
  width: 870px;
  height: 320px;
  background-image: url(/jp/about/company/yag/recruit/img/top/first_img02.jpg);
  background-size: cover;
}
main .contents section#first::after {
  left: 0;
  width: 100%;
  height: clamp(12.5rem, 10.906rem + 6.8vw, 15.625rem);
  background-color: #f3f3f3;
  z-index: -1;
}
main .contents section#first .sub_tit_b {
  position: absolute;
  top: 100px;
  left: 0;
  font-size: clamp(5rem, -0.102rem + 21.77vw, 15rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
  color: #a6a6a6;
  opacity: 0.2;
  z-index: 2;
  pointer-events: none;
}
main .contents section#first .sec_area {
  position: relative;
  height: clamp(15rem, 9.26rem + 24.49vw, 26.25rem);
}
main .contents section#first .sec_area .sub_tit_s {
  position: absolute;
  top: -40px;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  color: #dc1e37;
}
main .contents section#first .sec_area a {
  display: block;
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: #fff;
}
main .contents section#first .sec_area a::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(/jp/about/company/yag/recruit/img/top/first_img01.jpg);
  background-size: cover;
  background-position: 0% 50%;
  z-index: -1;
  transition: 0.4s;
}
main .contents section#first .sec_area a:hover::before {
  opacity: 0.7;
  transform: scale(1.05);
}
main .contents section#first .sec_area a h2 {
  color: #fff;
}
main .contents section#first .sec_area a h2 span {
  display: inline-block;
  background-color: #dc1e37;
  padding: 15px 20px 10px;
  font-size: clamp(1.625rem, 0.987rem + 2.72vw, 2.875rem);
  line-height: 1;
  letter-spacing: 0.1em;
}
main .contents section#first .sec_area a .sec_txt {
  color: #fff;
  margin: 40px 0 0 20px;
  font-size: clamp(1rem, 0.872rem + 0.54vw, 1.25rem);
  letter-spacing: 0.1em;
}
main .contents section#sub {
  z-index: 1;
  padding: clamp(5rem, 1.173rem + 16.33vw, 12.5rem) 0 clamp(1.875rem, -0.357rem + 9.52vw, 6.25rem);
}
main .contents section#sub::before {
  position: absolute;
  content: "";
  background-color: #f3f3f3;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
main .contents section#sub .sub_tit_b {
  position: absolute;
  font-size: clamp(3.75rem, -0.714rem + 19.05vw, 12.5rem);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  mix-blend-mode: overlay;
  line-height: 1;
  opacity: 0.7;
  pointer-events: none;
}
main .contents section#sub > .sub_tit_b {
  bottom: -50px;
  left: 0;
  z-index: 2;
}
main .contents section#sub .sec_area {
  display: flex;
  justify-content: space-between;
  gap: 0 5%;
}
main .contents section#sub .sec_area .sec_box {
  position: relative;
  max-width: 490px;
  width: 50%;
  height: 150px;
}
main .contents section#sub .sec_area .sec_box#recruit a::before {
  background-image: url(/jp/about/company/yag/recruit/img/top/recruit.jpg);
}
main .contents section#sub .sec_area .sec_box#faq {
  z-index: 2;
}
main .contents section#sub .sec_area .sec_box#faq a::before {
  background-image: url(/jp/about/company/yag/recruit/img/top/faq.jpg);
}
main .contents section#sub .sec_area .sec_box .sub_tit_b {
  top: -90px;
  right: -55px;
  z-index: 2;
}
main .contents section#sub .sec_area .sec_box a {
  text-align: center;
  line-height: 1.5;
  letter-spacing: 0.05em;
  position: relative;
  display: block;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: #fff;
  overflow: hidden;
  z-index: 1;
}
main .contents section#sub .sec_area .sec_box a:hover::before {
  transform: scale(1.05);
  opacity: 0.7;
}
main .contents section#sub .sec_area .sec_box a::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: 40% 50%;
  transition: 0.3s;
}
main .contents section#sub .sec_area .sec_box a .sub_tit_s {
  font-size: 24px;
  font-weight: 600;
}
main .contents section#sub .sec_area .sec_box a h2 {
  font-size: 20px;
  color: #fff;
}

@media only screen and (min-width: 0px) and (max-width: 750px) {
  main .contents .mainimg_area {
    height: 420px;
    align-items: normal;
  }
  main .contents .mainimg_area h1 {
    margin-top: 20px;
  }
  main .contents .mainimg_area .mainimg {
    width: 80%;
    height: 380px;
  }
  main .contents .mainimg_area .mainimg img {
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: 70% 50%;
       object-position: 70% 50%;
    height: 100%;
  }
  main .contents .mainimg_area .maindeco {
    width: 20vw;
  }
  main .contents .mainimg_area .scroll {
    left: 0;
    bottom: 70px;
  }
  main .contents .mainimg_area .arrow {
    left: 21px;
    height: 45px;
  }
  main .contents section#first::before {
    width: 95%;
    height: 35vw;
  }
  main .contents section#first .sub_tit_b {
    top: 70px;
  }
  main .contents section#first .sec_area {
    width: 95%;
  }
  main .contents section#first .sec_area .sub_tit_s {
    font-size: 20px;
    top: -22px;
  }
  main .contents section#first .sec_area a h2 span {
    padding: 10px 10px 8px;
  }
  main .contents section#first .sec_area a .sec_txt {
    margin: 25px 0 0 10px;
  }
  main .contents section#sub > .sub_tit_b {
    bottom: -4vw;
  }
  main .contents section#sub .sec_area .sec_box {
    height: 120px;
  }
  main .contents section#sub .sec_area .sec_box .sub_tit_b {
    top: -7.5vw;
    right: 0;
  }
  main .contents section#sub .sec_area .sec_box a .sub_tit_s {
    font-size: 20px;
  }
  main .contents section#sub .sec_area .sec_box a h2 {
    font-size: 17px;
  }
}
/*# sourceMappingURL=style.css.map */