/* --- 共通ラッパー --- */
.column-archive {
  max-width: 1000px;
  margin: 150px auto;
  padding: 2rem 1rem;
}


.news-title {
  font-size: 24px;
  font-weight: bold;
  color: #7DBE55;
  margin-bottom: 60px;
  text-align: center;
}

.heading-7 {
    display: block;
    position: relative;
}
.heading-7:before {
    content: '';
    display: inline-block;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-bottom: 3px dotted #9ac57b;
    background-color: #ffffff;
}

/* --- グリッドレイアウト --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch; 
}

/* --- カードボックス --- */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  height: 100%;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.card a {
  color: #444;
  text-decoration: none;
}

.card a:hover {
  color: #000; /* hover時に少し濃くしてもOK（任意） */
}
/* --- ホバーアニメーション --- */
.card:hover {
  transform: translateY(-5px);
}

/* --- サムネイル画像（16:9比率固定） --- */
.card-thumbnail {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- カード内コンテンツ --- */
.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.card-title {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  
}

.card-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.card-excerpt {
  font-size: 0.95rem;
  color: #333;
}

/* --- レスポンシブ対応 --- */
@media screen and (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}