.news--page {
  padding-bottom: 80px;
  padding-top: 20px;
}

.news__container {
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 944px;
}

.news__container--red {
  margin-top: 0;
  border-radius: 8px;
  border: 2px solid #e1263c;
  padding: 20px 10px;
}

.news-item {
  display: block;
  padding: 0 10px 20px;
  border-bottom: 1px solid #707070;
}

.news-item__date {
  display: flex;
  justify-content: space-between;
}

.news-item__date span {
  display: block;
  color: white;
  background-color: #e1263c;
  font-size: 16px;
  text-align: center;
  width: fit-content;
  height: 24px;
  line-height: 22px;
  font-family: "Noto Sans JP", sans-serif;
  border-radius: 12px;
  padding: 0 10px;
}

.news-item__date::after {
  display: block;
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("../images/news/arrow.png");
  background-size: contain;
}

.news-item__text {
  margin-top: 10px;
  color: black;
}

.news-item__text p {
  font-size: 16px;
  line-height: 24px;
  font-family: "Noto Sans JP", sans-serif;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.result__pagination-link {
  display: flex;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  border: 1px solid #707070;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.15s linear;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
}

.result__pagination-link span {
  margin-right: 0px;
}

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

.result__pagination-link.is-active {
  background-color: #707070;
  color: #ffffff;
  pointer-events: none;
}

.result__pagination-link span {
  position: relative;
  color: #707070;
  padding: 0 1px 3px 0;
}

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

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

.pagination_arrow {
  position: relative;
  background-image: url("../images/news/arrow-left.png");
  display: block;
  width: 15px;
  height: 15px;
}

.pagination_arrow.left {
  right: 10px;
}

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

.news__container .wp-pagenavi {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  padding-bottom: 100px;
  align-items: center;
}

.news__container .wp-pagenavi a.previouspostslink {
  position: relative;
  background-image: url(../images/news/arrow-left.png);
  display: block;
  width: 15px;
  height: 15px;
  text-indent: 100000px;
  border: none;
}

.news__container .wp-pagenavi a.nextpostslink {
  position: relative;
  background-image: url(../images/news/arrow-left.png);
  display: block;
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
  left: 10px;
  text-indent: 100000px;
  border: none;
}

.news__container .wp-pagenavi a {
  color: #707070;
  background-color: #D8D8D8;
}

.news__container .wp-pagenavi a, .news .wp-pagenavi span {
  font-size: 16px;
  margin-right: 10px;
  border-radius: 100px;
  border: solid 1px #707070;
  background-color: #fff;
  border: solid 1px #707070;
}

.news__container .wp-pagenavi a, .news__container .wp-pagenavi span.current {
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  border: 1px solid #707070;
}

.news__container .wp-pagenavi span.current {
  background-color: #707070;
  color: #fff;
  display: flex;
  width: 30px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}
@media (max-width: 360px) {
  .pagination_arrow.left {
    right: 5px;
  }

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

@media (min-width: 768px) {
  .news--page {
    padding-bottom: 126px;
    padding-top: 0;
  }

  .news__container {
    margin: 64px auto 0;
    gap: 30px;
    box-sizing: content-box;
  }

  .news__container--red {
    margin-top: 0;
    padding: 60px 68px;
    border-radius: 16px;
    border: 4px solid #e1263c;
  }

  .news-item {
    padding: 0 20px 30px;
  }

  .news__container--red .news-item {
    padding: 0 24px 30px;
  }

  .news-item__date::after {
    display: none;
  }

  .news-item__text {
    position: relative;
  }

  .news-item__text p {
    font-size: 20px;
    line-height: 29px;
    -webkit-line-clamp: 1;
    width: calc(100% - 60px);
  }

  .news-item__text::after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("../images/news/arrow.png");
    background-size: contain;
    background-repeat: no-repeat;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: right 0.25s ease;
  }

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

  .news__container {
    position: relative;
    overflow: visible;
  }

  .news-decor {
    display: none;
  }

  @media (max-width: 1464px) {
    .news__container {
      width: 80%;
    }
  }

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