/* p-jobs
---------------------------------------------------------------------------- */
.p-jobs {
  margin-block: 9.21875vw 11.71875vw;
}

.p-jobs-blocks {
  display: flex;
  flex-direction: column;
  gap: 10.4166666667vw;
}

.p-jobs-block:not(:last-child) {
  padding-bottom: 14.0625vw;
  border-bottom: 1px solid #3B3B3B;
}

.p-jobs-block-ttl._01 {
  width: 12.2395833333vw;
  aspect-ratio: 235/35.5;
}
.p-jobs-block-ttl._02 {
  width: 10.2473958333vw;
  aspect-ratio: 196.75/35.75;
}
.p-jobs-block-ttl._03 {
  width: 18.3203125vw;
  aspect-ratio: 351.75/35.75;
}
.p-jobs-block-ttl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-jobs-block-img {
  width: 100%;
  aspect-ratio: 1200/400;
  margin-block: 1.5625vw 4.9479166667vw;
}
.p-jobs-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.p-jobs-block-txt {
  font-size: 1.9rem;
  line-height: 1.9473684211;
  font-weight: 500;
  font-size: 0.9895833333vw;
}

.p-jobs-block-items {
  display: flex;
  flex-direction: column;
  gap: 4.9479166667vw;
  margin-top: 3.4895833333vw;
}

.p-jobs-block-item-ttl {
  font-size: 3.5rem;
  line-height: 1.4571428571;
  font-weight: 400;
  font-size: 1.8229166667vw;
  color: #E85400;
  margin-bottom: 0.7291666667vw;
}

.p-jobs-block-item-read {
  font-size: 2rem;
  line-height: 1.85;
  font-weight: 700;
  font-size: 1.0416666667vw;
}

.p-jobs-block-item-list {
  font-size: 1.9rem;
  line-height: 1.9473684211;
  font-weight: 500;
  font-size: 0.9895833333vw;
  padding-left: 1em;
  text-indent: -1em;
}

.p-jobs-block-item-txt {
  font-size: 1.9rem;
  line-height: 1.9473684211;
  font-weight: 500;
  font-size: 0.9895833333vw;
}

.p-jobs-block-item-wrap {
  width: 22.9166666667vw;
}

.p-jobs-block-item-wrap-link {
  display: block;
}
@media (any-hover: hover) {
  .p-jobs-block-item-wrap-link:hover .p-jobs-block-item-wrap-img img {
    transform: scale(1.05);
  }
  .p-jobs-block-item-wrap-link:hover .p-jobs-block-item-wrap-box-arrow {
    background-color: #fff;
    color: #E85400;
    border-radius: 0.5208333333vw 0 0.5208333333vw 0;
  }
}

.p-jobs-block-item-wrap-imgBox {
  padding-inline: 0.5208333333vw;
}

.p-jobs-block-item-wrap-img {
  width: 100%;
  aspect-ratio: 420/220;
  border-radius: 1.0416666667vw 0 1.0416666667vw 0;
  overflow: hidden;
}
.p-jobs-block-item-wrap-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease 0s;
}

.p-jobs-block-item-wrap-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0 0.5208333333vw;
  position: relative;
  z-index: 1;
  margin-top: -2.6041666667vw;
}

.p-jobs-block-item-wrap-box-ttl._01 {
  width: 8.8541666667vw;
  aspect-ratio: 170/61;
}
.p-jobs-block-item-wrap-box-ttl._02 {
  width: 7.5520833333vw;
  aspect-ratio: 145/61;
}
.p-jobs-block-item-wrap-box-ttl._03 {
  width: 12.65625vw;
  aspect-ratio: 243/61;
}
.p-jobs-block-item-wrap-box-ttl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-jobs-block-item-wrap-box-arrow {
  width: 2.6041666667vw;
  aspect-ratio: 1;
  border: 1px solid #E85400;
  background-color: #E85400;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  font-size: 0.78125vw;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease 0s, color 0.3s ease 0s, border-radius 0.3s ease 0s;
}

@media screen and (max-width: 767px) {
  .p-jobs {
    margin-block: 33.3333333333vw 50.6666666667vw;
  }
  .p-jobs-blocks {
    gap: 53.3333333333vw;
  }
  .p-jobs-block:not(:last-child) {
    padding-bottom: 53.8666666667vw;
  }
  .p-jobs-block-ttl._01 {
    width: 47vw;
  }
  .p-jobs-block-ttl._02 {
    width: 39.3333333333vw;
  }
  .p-jobs-block-ttl._03 {
    width: 70.3333333333vw;
  }
  .p-jobs-block-img {
    aspect-ratio: 325/160;
    margin-block: 5.3333333333vw 10.1333333333vw;
  }
  .p-jobs-block-txt {
    font-size: 4vw;
    line-height: 2;
  }
  .p-jobs-block-items {
    gap: 13.3333333333vw;
    margin-top: 13.3333333333vw;
  }
  .p-jobs-block-item-ttl {
    font-size: 6.6666666667vw;
    line-height: 1.44;
    margin-bottom: 1.3333333333vw;
  }
  .p-jobs-block-item-read {
    font-size: 4.2666666667vw;
    line-height: 1.875;
  }
  .p-jobs-block-item-list {
    font-size: 4vw;
    line-height: 2;
  }
  .p-jobs-block-item-txt {
    font-size: 4vw;
    line-height: 2;
  }
  .p-jobs-block-item-wrap {
    width: 100%;
  }
  .p-jobs-block-item-wrap-imgBox {
    padding-inline: 2.1333333333vw;
  }
  .p-jobs-block-item-wrap-img {
    border-radius: 5.3333333333vw 0 5.3333333333vw 0;
  }
  .p-jobs-block-item-wrap-box {
    gap: 0 2.6666666667vw;
    margin-top: -9.8666666667vw;
  }
  .p-jobs-block-item-wrap-box-ttl._01 {
    width: 32.5333333333vw;
  }
  .p-jobs-block-item-wrap-box-ttl._02 {
    width: 28vw;
  }
  .p-jobs-block-item-wrap-box-ttl._03 {
    width: 45.8666666667vw;
  }
  .p-jobs-block-item-wrap-box-arrow {
    width: 9.8666666667vw;
    font-size: 4vw;
  }
}
