.news {
  padding-top: 140px;
}

.news-container {
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
}

.news-item * {
  color: #484848;
}

.news-item {
  position: relative;
  border-bottom: 1px solid #707070;
  padding: 16px 7px;
}

.news-item::after {
  position: absolute;
  display: block;
  content: "";
  width: 24px;
  height: 21px;
  background-image: url(../images/common/news-arrow.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
}

.news-item:first-child {
  border-top: 1px solid #707070;
}

.news-item__date {
  font-size: 12px;
  line-height: 2;
  font-weight: 500;
}

.news-item__text {
  width: calc(100% - 40px);
}

.news-item__text p {
  font-size: 14px;
  line-height: 20px;
}

.news .link-button {
  margin-top: 24px;
}

.result__pagination-box {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin-top: 32px;
}

.result__pagination-link {
  display: flex;
  width: 30px;
  height: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.15s linear;
  color: #707070;
  border: 1px solid #707070;
  border-radius: 2px;
  background-color: #ffffff;
}

.result__pagination-link span {
  margin-right: 0px;
  position: relative;
  top: -1px;
}

.result__pagination-link-icon {
  margin: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.result__pagination-link.is-active {
  color: #707070;
  pointer-events: none;
  height: 30px;
  width: 30px;

  background-color: #707070;
}

.result__pagination-link span {
  position: relative;
  color: #707070;
}

.result__pagination-link.is-active span {
  color: #ffffff;
}

.result__pagination-box > * + * {
  margin-left: 10px;
}

.pagination_arrow {
  position: relative;
  background-image: url("/images/common/pagination-arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  width: 15px;
  height: 15px;
}

.pagination_arrow.left {
  right: 10px;
  transform: rotate(180deg);
}

.pagination_arrow.right {
  left: 10px;
}

body .wp-pagenavi {
  display: flex;
  justify-content: center;
  position: relative;
  width: fit-content;
  margin: 32px 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: 2px;
  margin: 2px 5px;
}

.wp-pagenavi span.current {
  font-weight: 400 !important;
}

body .wp-pagenavi .page {
  border-radius: 2px;
  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/pagination-arrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: block;
  width: 15px;
  height: 15px;
  transform: rotate(-180deg);
  top: 7px;
}

body .wp-pagenavi a.nextpostslink {
  transform: rotate(0);
  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-top: 200px;
  }

  .news-container {
    max-width: 888px;
    margin: 64px auto 0;
  }

  .news .link-button {
    margin-top: 64px;
  }

  .news-item {
    position: relative;
    border-bottom: 1px solid #707070;
    padding: 32px 120px 32px 24px;
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .news-item__date,
  .news-item__text p {
    font-size: 16px;
    line-height: 24px;
  }

  .news-item::after {
    position: absolute;
    display: block;
    content: "";
    width: 24px;
    height: 21px;
    background-image: url(../images/common/news-arrow.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    right: 72px;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.3s ease;
  }

  .news-item:hover::after {
    right: 24px;
  }

  .result__pagination-box {
    margin-top: 64px;
  }

  body .wp-pagenavi {
    margin: 64px auto 0;
  }
}
