/******************
シングルリスト
******************/
/* タイトル */
.s-list-title {
  margin-bottom: 30px;
}
.s-list-title h1 {
  font-size: 22px;
  font-weight: 500;
  text-align: center;
}
/* リスト本体 */
.s-list-item {
  padding: 20px;
  border: solid 1px #ddd;
  background-color: #fff;
  border-bottom: none;
  position: relative;
}
.s-list-item a {
  display: flex;
  gap: 20px;
}
.s-list-item:last-child {
  border-bottom: solid 1px #ddd ;
}
/* 画像 */
.s-list-image {
  width: 100px;
  height: 100px;
  overflow: hidden;
}
.s-list-image img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  transition: 0.5s ease-in-out;
}
.s-list-item a:hover .s-list-image img {
   transform: scale(1.1);
}
/* テキスト */
.s-list-text-box {
  flex: 1;
  padding-top: 40px;
}
.s-list-text-box p {
  font-size: 14px;
}
.s-list-date {
 display: none;
}
/* カテゴリー */
.s-list-category-box {
  position: absolute;
  display: flex;
  top: 20px;
  left: 140px;
}
.s-list-category a {
  background-color: #fbfdff;
  color: #333;
  border: solid 1px #333;
  padding: 5px 15px;
  font-size: 12px;
  border-radius: 20px;
}
/* ページネーション */
.s-list-pagenation {
  margin-top: 40px;
}
.s-list-pagenation .page-numbers {
  display: flex;
  justify-content: center;
}
.s-list-pagenation .page-numbers li {
  margin-right: 5px;  
}
.s-list-pagenation .page-numbers li:last-child {
  margin-right: none;
}
.s-list-pagenation .page-numbers a {
  border: solid 1px #ddd;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  background-color: red;
}
.s-list-pagenation .page-numbers a:hover {
  transition: 0.5s;
  background-color: #ddd;
}
.s-list-pagenation .page-numbers .current {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: aqua;
  color: #fff;
}
.page-numbers .dots {
  height: 100%;
  display: flex;
  align-items: center;
}
/****************************
メディアスクリーン601px以上
****************************/
@media screen and (min-width:601px) {
  .s-list-item {
    padding: 30px;
  }
  .s-list-image {
    width: 200px;
    height: 200px;
  }
  .s-list-image img {
    width: 200px;
    height: 200px;
  }
    .s-list-category-box {
    top: 30px;
    left: 250px;
  }
  .s-list-text-box {
    padding-top: 80px;
  }
  .s-list-text-box p {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
  }
  .s-list-date {
    display: initial;
    font-size: 14px;
    color: #999;
  }
}

/****************************
メディアスクリーン834px以上
****************************/
@media screen and (min-width:834px){
  /* シングルリスト */
  .s-list-title {
    margin-bottom: 50px;
  }
  .s-list-title h1 {
    font-size: 30px;
  }
  .s-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }
  .s-list-item {
    border-bottom: solid 1px #ddd;
    margin-right: -1px;
    margin-bottom: -1px;
  }
  .s-list-item:last-child {
    border-bottom: solid 1px #ddd;
  }
  /* ページネーション */
  .s-list-pagenation .page-numbers a,
  .s-list-pagenation .page-numbers .current {
    width: 50px;
    height: 50px;
  }
}