.recruit-post {
  padding: 0 1.35rem 10rem;
  background-color: #2b2b2b;
}

.recruit-post * {
  color: #fff;
}

.breadcrumb__list::before {
  filter: invert(1);
}

.breadcrumb__item:not(:first-child)::before {
  filter: invert(1);
}

.recruit-post__wrapper {
  margin-top: 4rem;
  max-width: 830px;
}

.recruit-post__title {
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 3rem;
  font-family: "Noto Sans JP", sans-serif;
}

.recruit-post__table {
  display: flex;
  flex-direction: column;
}

.recruit-post__row {
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem;
  position: relative;
}

.recruit-post__row::before {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  width: 100%;
  background-image: url(../images/common/dotted-line.svg);
  background-size: auto 1px;
  background-position: center;
  filter: invert(1);
  top: 0;
  left: 0;
}

.recruit-post__row:last-child::after {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  width: 100%;
  background-image: url(../images/common/dotted-line.svg);
  background-size: auto 1px;
  background-position: center;
  filter: invert(1);
  bottom: 0;
  left: 0;
}

.recruit-post__label {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 2rem;
  margin-bottom: 0.8rem;
}

.recruit-post__value {
  font-size: 1.4rem;
  line-height: 2;
  font-family: "Noto Sans JP", sans-serif;
}

.recruit-post__value p {
  margin: 0;
}

.post__nav {
  margin: 4rem auto 2rem;
  width: 100%;
  max-width: 418px;
  display: flex;
  justify-content: center;
}

.post__nav-button {
  width: 50%;
  height: 40px;
  line-height: 40px;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: 1px solid #fff;
}

.post__nav-button + .post__nav-button {
  border-left: none;
}

.post__link {
  width: 166px;
  height: 40px;
  color: #212121;
  background-color: #ffffff;
  font-size: 1.6rem;
  display: flex;
  justify-content: center;
  line-height: 40px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .recruit-post {
    padding: 0 2rem 14rem;
    background-color: #fff;
  }

  .recruit-post * {
    color: #000;
  }

  .breadcrumb__list::before {
    filter: none;
  }

  .breadcrumb__item:not(:first-child)::before {
    filter: none;
  }

  .recruit-post__wrapper {
    margin: 5.2rem auto 0;
  }

  .recruit-post__title {
    font-size: 2.8rem;
    margin-bottom: 4rem;
  }

  .recruit-post__row {
    flex-direction: row;
    padding: 2rem 0;
  }

  .recruit-post__row::before {
    filter: none;
  }

  .recruit-post__row:last-child::after {
    filter: none;
  }

  .recruit-post__label {
    min-width: 141px;
    font-size: 1.6rem;
    line-height: 2.3rem;
    margin-bottom: 0;
  }

  .recruit-post__value {
    font-size: 1.6rem;
    line-height: 2;
  }

  .post__nav {
    margin: 6rem auto 4rem;
  }

  .post__nav-button {
    border: 1px solid #000;
  }

  .post__link {
    color: #fff;
    background-color: #000;
  }
}
