/* 記事一覧エリア（スライダー用） */

/* 記事カード */
.note-list {
  background: #fff;
  border-radius: 14px;           /* 角を丸くする */
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* ホバー時に浮き上がるアニメーション */
.note-list:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* リンクのスタイルをリセット */
.note-list a {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* サムネイル画像 */
.note-list img {
  width: 100%;
  height: 180px;
  object-fit: cover;  /* 画像をはみ出さずに表示 */
}

/* 日付 */
.note-list .date {
  font-size: 0.82rem;
  color: #888;
  padding: 12px 16px 4px;
}

/* タイトル */
.note-list .title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 0 16px 8px;
  line-height: 1.5;
}

/* 概要文 */
.note-list .description {
  font-size: 0.85rem;
  color: #555;
  padding: 0 16px 16px;
  line-height: 1.6;
}

/* スライダー全体のコンテナ */
#note-rss {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* カードを横一列に並べるレール */
.note-slider-wrapper {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;  /* スライド時のアニメーション */
}

/* スライダー版カードは固定幅に */
.note-list {
  width: 300px;
  min-width: 300px;
  flex-shrink: 0;
}

/* スマホ対応：スライダー内でのカード幅調整（必ず後に記述して上書きする） */
@media screen and (max-width: 768px) {
  .note-list {
    width: 260px;
    min-width: 260px;
  }
}

/* 前へ・次へボタン */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30,64,175,0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
}
.slider-btn:hover { background: #1e40af; }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

main.container.one-column h2,
main.container.one-column h3 {
  text-align: left !important;
}
