/* ========== アーカイブ：比較記事一覧 ========== */

.archive-compare .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 16px;
}

.archive-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 32px;
  color: #333;
}

/* カードリスト：レスポンシブ対応の3列グリッド */
.compare-card-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* カード本体 */
.compare-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.compare-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* アイキャッチ画像 */
.compare-card-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

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

/* テキストエリア */
.compare-card-body {
  padding: 16px;
}

.compare-card-title {
  font-size: 1.125rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.compare-card time {
  font-size: 0.85rem;
  color: #777;
}

.compare-card a {
  text-decoration: none;
  color: inherit;
}

.compare-card-title {
  color: #333;
  font-weight: bold;
}

.compare-card-title:hover {
  text-decoration: none;
  opacity: 0.8;
}
