@charset "UTF-8";
.contents-view {
  background-image: url(../img/news.webp);
}
.page-contents-h2.page-fadeIn {
    margin-bottom:0;
}
.news-list ul{
  padding:0;
}
.news-list li {
    list-style: none;
    border-bottom: solid 1px #c5baba;
}
.news-list li:first-child{
    border-top: solid 1px #c5baba;
}
.news-list a {
    padding: 40px 20px;
    display: flex;
    width: 100%;
    text-decoration: none;
    transition:0.5s;
}
.news-list a:hover{
  opacity:0.5;
}
.new-label {
  display: inline-block;
  background: #ce3333;
  color: white;
  font-size: 14px;
  padding: 2px 7px;
  margin-right: 10px;
  border-radius: 3px;
  vertical-align: middle;
}
span.date {
    margin-right: 90px;
    color: #8f8787;
    font-size: 15px;
}
.news-list div {
    display: flex;
    flex-direction: column;
}

span.title {
    margin-bottom: 10px;
    color: #332b2b;
    font-weight: bold;
    font-size: 20px;
    align-items: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1; /* 表示行数 */
    overflow: hidden;
}
span.summary {
    color: #8f8787;
    font-size: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 表示行数 */
    overflow: hidden;
}
.pagination {
  text-align: center;
  margin-top: 2em;
}
.pagination.hidden {
  display: none;
}
#news-container {
    min-height: 600px;
}

div.pagination {
  text-align: center;
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.pagination .page-numbers {
  /* display: inline-block; */
  margin: 0 5px;
  padding: 8px;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagination .current {
  background: #582626;
  color: #fff;
}
.prev.page-numbers,.next.page-numbers {
    width: auto;
}
@media screen and (max-width: 1200px){
.news-list a {
  max-width: 1200px;
    width: auto;
  }
}
@media screen and (max-width: 600px){

  .news-list a {
      padding: 20px;
      width: auto;
      flex-direction: column;
  }
  span.date {
      margin-right: 0;
      margin-bottom: 5px;
  }
  span.title {
      margin-bottom: 5px;
  }
  .new-label {
      margin-right: 3px;
  }

  .pagination .page-numbers {
      height: 15px;
      width: 15px;
  }

  .prev.page-numbers, .next.page-numbers {
      width: auto;
  }
}
