/* news */
.hero {
  padding: 80px 0px;
}

/* =========================
NEWS一覧
========================= */

.news-archive {
  padding: 35px 0;
  background: #f0f0f0;
}

.news-archive-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.news-archive-heading {
  margin-bottom: 35px;
  text-align: center;
}

.news-archive-heading h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: #222;
}

.news-archive-heading p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #666;
}

/* =========================
年月フィルター
========================= */


.news-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 35px;
}

.news-filter-current {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
}

.news-filter-btn {
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;

  -webkit-tap-highlight-color: transparent;
}

/* フォーカス解除 */

.news-filter-btn:focus,
.news-filter-btn:focus-visible {
  outline: none;
  background: #fff;
  color: #222;
}

/* 押してる瞬間だけ */

.news-filter-btn:active {
  background: #222;
  color: #fff;
}



#news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

#news-list li {
  margin-bottom: 24px;
}

.news-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
   box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-3px);
}

.news-card-image {
  background: #c0c0c0;
  border-bottom: 2px solid #e5e5e5;
}

.news-card-image img {
  width: 100%;
aspect-ratio: 4 / 3;
  object-fit: contain;
  display: block;
}

.news-card-content {
  padding: 20px;
}

.news-card-date {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #888;
}

.news-card-title {
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 12px;
}

.news-card-link {
  font-size: 0.9rem;
  color: #555;
}

/* =========================
NEWS未投稿メッセージ
========================= */

.news-empty {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 220px;

  padding: 40px 20px;

  text-align: center;
  line-height: 1.8;
  color: #666;
}

/* =========================
NEWバッジ
========================= */

.news-new {
  display: inline-block;

  margin-left: 8px;
  padding: 3px 8px;

  border-radius: 999px;

  background: #ff3b30;
  color: #fff;

  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;

  animation: newsBlink 1.8s infinite;
}

/* =========================
NEW点滅アニメーション
========================= */

@keyframes newsBlink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 768px) {


  .news-archive-heading {
    margin-bottom: 50px;
  }

  .news-archive-heading h2 {
    font-size: 2rem;
  }

  /* =========================
年月フィルター
========================= */

.news-filter {
  margin-bottom: 45px;
}

.news-filter-current {
  font-size: 1.5rem;
}

.news-filter-btn {
  width: 48px;
  height: 48px;
}

  #news-list li {
    margin-bottom: 30px;
  }

  .news-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: stretch;
  }

  .news-card-content {
    padding: 28px;
  }

  .news-card-title {
    font-size: 1.1rem;
  }

  .news-card-image {
  border: none;
  border-right: 2px solid #e5e5e5;
  
}
}

@media screen and (min-width: 1024px) {
  .news-archive {
    padding: 40px 0;
  }

}