/* ページネーション全体 */
.pagination {
  display: flex;
  overflow-x: auto;
  justify-content: center; /* 中央揃えを追加 */
  gap: 0.5em;
  margin-top: 50px;
  padding: 0;
  list-style: none;
  -webkit-overflow-scrolling: touch;
  max-width: 1200px;
}
	
/* ページネーションボタン */
.pagination a, .pagination span {
  display: inline-block;
  text-align: center;
  font-size: 10px;
  line-height: 38px;
  width: 40px;
  height: 40px;
  border: 1px solid #d9d9d9;  background: #fff;        /* 白塗りに */
  color: #000;             /* 文字色も黒に明示 */
  white-space: nowrap;
  border-radius: 2px;
  font-weight: 600;
  user-select: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時 */
.pagination a:hover:not(.disabled):not(.active) {
    border: 1px solid #006ca0;
	    background: #f0f4f9;

	}


/* 現在のページ */
.pagination span.active {
    background: #f0f4f9;
    color: #000;
    border: 1px solid #006ca0;
}

/* 無効ボタン（「…」や無効時） */
.pagination a.disabled {
  background: #f2f2f2;
  color: #999;
  border: 1px solid #ccc;
  cursor: default;
  pointer-events: none;
}
	
.l-ranking{
    margin-bottom: 0px;
}
	
/* コンテナ最大幅 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 0px 100px;
}


/* 記事リスト（グリッド配置） */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 16px; */
}

@media screen and (max-width: 900px) {
  .article-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

h2#section1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.01em;
    text-align: center;
    margin-bottom: 10px;
    color: #1b1b1b;
}
	
.article-text {
    line-height: 1.75;
    letter-spacing: 0.16px;
	font-size:14px;
  display: -webkit-box;        /* ボックス表示 */
  -webkit-line-clamp: 3;       /* 最大3行まで表示 */
  -webkit-box-orient: vertical;/* 縦方向にボックスを設定 */
  overflow: hidden;            /* はみ出し部分を非表示 */
  text-overflow: ellipsis;     /* 省略記号を表示 */
  white-space: normal;         /* 折り返し有効 */
}

.article-card {
  display: block;
  transition: filter 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  filter: opacity(0.7);
}

a.article-card {
    margin-top: 20px;
}
    
.article-card a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card img {
  width: 100%;
  display: block;
  height: auto;
  border-radius: 4px;
    margin-bottom: 16px;
}

.article-card .text {
  margin-top: 8px;
  font-size: 14px;
  text-align: left;
}
    
.article-card a:hover {
  opacity: 0.7;
}
