/* page-job */

.page-job {
  margin-top: 200px;
  padding-bottom: 353px;
  overflow: hidden;
}

@media only screen and (max-width: 768px) {
  .page-job {
    margin-top: 100px;
    padding-bottom: 160px;
  }
}

.page-job__inner {
  display: flex;
  flex-direction: column;
  gap: 135px;
}

@media only screen and (max-width: 768px) {
  .page-job__inner {
    gap: 80px;
  }
}

.page-job__block {
  position: relative;
  padding: 110px 0;
}

@media only screen and (max-width: 768px) {
  .page-job__block {
    padding: 80px 0 0;
  }
}

.page-job__block::before {
  position: absolute;
  content: "";
  z-index: -1;
  background-color: #fbfbfb;
  width: 100%;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  left: -73px;
}

@media only screen and (max-width: 768px) {
  .page-job__block::before {
    width: 100vw;
    transform: translate(-50%, -50%);
    left: 50%;
  }
}

.page-job__block:nth-child(even)::before {
  right: -120px;
  left: auto;
}

@media only screen and (max-width: 768px) {
  .page-job__block:nth-child(even)::before {
    right: auto;
    left: 50%;
  }
}

.page-job__block::after {
  position: absolute;
  content: "";
  z-index: -1;
  background-color: #fbfbfb;
  width: 100vw;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  right: calc(50% + 100px);
}

.page-job__block:nth-child(even)::after {
  right: auto;
  left: calc(50% + 100px);
}

.page-job__block:nth-child(even) {
  flex-direction: row-reverse;
}

.page-job__block__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 59px;
}

@media only screen and (max-width: 768px) {
  .page-job__block__inner {
    flex-direction: column-reverse;
    gap: 40px;
  }
}

.page-job__block:nth-child(even) .page-job__block__inner {
  flex-direction: row-reverse;
}

@media only screen and (max-width: 768px) {
  .page-job__block:nth-child(even) .page-job__block__inner {
    flex-direction: column-reverse;
  }
}

.page-job__block__inner::before {
  position: absolute;
  top: -136px;
  right: calc(50% - 530px);
  font-size: 12.5rem;
  font-weight: 600;
  font-style: italic;
  font-family: "Roboto", sans-serif;
  letter-spacing: -0.2rem;
  color: #f4f4f4;
  text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
  .page-job__block__inner::before {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    top: -87px;
  }
}

.page-job__block__inner:nth-of-type(1)::before {
  content: "manufacturing";
}

.page-job__block:nth-of-type(2) .page-job__block__inner::before {
  content: "production";
  right: calc(50% - 250px);
  left: auto;
}

@media only screen and (max-width: 768px) {
  .page-job__block:nth-of-type(2) .page-job__block__inner::before {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }
}

.page-job__block:nth-of-type(3) .page-job__block__inner::before {
  content: "sales";
}

.page-job__content {
  flex: 1;
  margin-top: -28px;
}

.page-job__title {
  font-size: 4rem;
  font-weight: 700;
  color: #000;
}

@media only screen and (max-width: 768px) {
  .page-job__title {
    font-size: 2.2rem;
  }
}

.page-job__catch {
  margin-top: 20px;
  font-size: 2.5rem;
  font-weight: 700;
  color: #000;
}

@media only screen and (max-width: 768px) {
  .page-job__catch {
    font-size: 1.8rem;
    margin-top: 20px;
  }
}

.page-job__desc {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 46px;
}

@media only screen and (max-width: 768px) {
  .page-job__desc {
    margin-top: 30px;
    gap: 20px;
  }
}

.page-job__heading {
  position: relative;
  padding-left: 30px;
  font-size: 2.3rem;
  font-weight: 500;
  color: #000;
}

@media only screen and (max-width: 768px) {
  .page-job__heading {
    font-size: 1.6rem;
    padding-left: 25px;
  }
}

.page-job__heading::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 14px;
  height: 14px;
  background-color: #087854;
  border-radius: 50%;
}

.page-job__text {
  margin-top: 14px;
  padding-left: 30px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: calc(32 / 16);
  color: #000;
}

@media only screen and (max-width: 768px) {
  .page-job__text {
    margin-top: 15px;
    font-size: 1.4rem;
    padding-left: 25px;
  }
}

.page-job__image {
  flex: 1;
  max-width: 428px;
}

.page-job__image img {
  aspect-ratio: 428 / 500;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-job__image {
    order: -1;
    margin: 0 auto;
  }
}
