.news {
  padding: 0 min(27px, max(16px, calc(27px + 50vw - 180px))) 80px;
}

.news-container {
  margin: 80px auto 0;
  max-width: 660px;
}

.news-item {
  color: #000000;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 30px 10px 30px 0;
  border-top: 1px dashed #c9c9c9;
}

.news-item__date {
  position: relative;
  font-size: 14px;
  width: 101px;
  min-width: 101px;
  height: 28px;
  line-height: 28px;
  color: #fff;
  text-align: center;
}

.news-item__date::before {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-image: url(../images/news/news.png);
  width: 101px;
  height: 28px;
  z-index: -1;
}

.news-item__title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.news .link-button {
  margin-top: 10px;
}

.recruit::after {
  position: absolute;
  content: "";
  display: block;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 166px;
  height: 150px;
  background-image: url(../images/top/top-news-decor.png);
  background-size: contain;
  background-repeat: no-repeat;
}

body .wp-pagenavi {
  display: flex;
  justify-content: center;
  position: relative;
  width: fit-content;
  margin: 10px auto 0;
}

body .wp-pagenavi a,
body .wp-pagenavi span.current {
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .wp-pagenavi .current {
  color: #ffffff;
  display: flex;
  width: 30px;
  align-items: center;
  justify-content: center;
  background-color: #707070;
  border-radius: 50%;
  margin: 2px 5px;
}

.wp-pagenavi span.current {
  font-weight: 400 !important;
}

body .wp-pagenavi .page {
  border-radius: 50%;
  color: #707070;
  border: 1px solid #707070;
  background-color: white;
  margin: 2px 5px;
}

body .wp-pagenavi a,
body .wp-pagenavi span {
  font-size: 16px;
  text-decoration: none;
  padding: 3px 5px 5px;
}

.wp-pagenavi span {
  display: none;
}

body .wp-pagenavi a.previouspostslink,
body .wp-pagenavi a.nextpostslink {
  position: absolute;
  background-image: url(../images/common/news-arrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  width: 15px;
  height: 15px;

  top: 7px;
}

body .wp-pagenavi a.nextpostslink {
  transform: rotate(180deg);
  right: -30px;
}

body .wp-pagenavi a.previouspostslink {
  left: -30px;
}

body .wp-pagenavi .first,
body .wp-pagenavi .last {
  display: none;
}

@media (min-width: 768px) {
  .news {
    padding-bottom: 200px;
  }

  .news .link-button {
    margin-top: 30px;
  }

  .news-item {
    transition: all 0.3s;
    padding: auto;
  }

  .news-item:hover {
    filter: contrast(1.5);
  }

  .news-container {
    margin: 100px auto 0;
  }

  body .wp-pagenavi {
    margin-top: 30px;
  }
}
