.snow-home-cards {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}

.entry-title {
  margin-bottom: 12px !important;
}

.snow-home-section {
  margin-top: 0;
  margin-bottom: 48px;
}

.snow-section-head {
  margin-bottom: 18px;
}

.snow-section-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #222;
}

.snow-section-lead {
  margin: 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.snow-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.snow-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.snow-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.09);
}

.snow-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.snow-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 0 !important;
  background: #f4f6f8;
  overflow: hidden;
}

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

/* 画像なし */
.snow-card-noimage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3f8;
  color: #789;
  font-size: 24px;
  font-weight: 800;
}

/* カード本文 */
.snow-card-body {
  padding: 12px 20px 22px;
}

/* 画像と本文の間に余白が入るテーマ対策 */
.snow-card-thumb + .snow-card-body {
  margin-top: 0 !important;
}

/* バッジ */
.snow-card-badge {
  display: inline-block;
  margin: 0 0 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0f4ff;
  color: #3157c9;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* タイトル */
.snow-card-title {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
  color: #111;

  display: block;
  overflow: visible;
  min-height: 0;
}

/* 抜粋 */
.snow-card-excerpt {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.85;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.snow-card-empty {
  color: #777;
  background: #fafafa;
  border: 1px dashed #ddd;
  border-radius: 12px;
  padding: 18px;
}

.snow-more-wrap {
  text-align: center;
  margin-top: 26px;
}

.snow-more-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  background: #003f52;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

.snow-more-button:hover {
  opacity: 0.86;
  color: #fff;
}

/* タブレット */
@media (max-width: 900px) {
  .snow-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* スマホ */
@media (max-width: 600px) {
  .snow-home-cards {
    padding: 4px 12px 40px;
  }

  .snow-home-section {
    margin-bottom: 40px;
  }

  .snow-section-title {
    font-size: 22px;
  }

  .snow-card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .snow-card-body {
    padding: 10px 18px 20px;
  }

  .snow-card-title {
    font-size: 14px;
  }
}


/* バッジ〜タイトル間の余白を強制的に詰める */
.snow-home-cards .snow-card .snow-card-body {
  padding-top: 10px !important;
}

.snow-home-cards .snow-card .snow-card-badge {
  margin: 0 0 8px 0 !important;
}

.snow-home-cards .snow-card h3.snow-card-title,
.snow-home-cards .snow-card .snow-card-title {
  margin-top: 0 !important;
  margin-bottom: 14px !important;
  padding-top: 0 !important;

  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
}