/* ========================================
   ブログ一覧 サムネイル付きカードスタイル
   ======================================== */

/* リスト全体: 2カラムグリッド */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 4%;
}

/* 各カード */
.blog-list li.up-w-48\% {
  width: 30%;
  list-style: none;
}

.blog-list li a {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.blog-list li a:hover {
  opacity: 0.75;
}

/* サムネイル */
.blog-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background-color: #e9edf1;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-list li a:hover .blog-thumb img {
  transform: scale(1.05);
}

/* 日付 */
.blog-date {
  margin-top: 12px;
  font-size: 13px;
  color: #1a3a6b;
  font-weight: 600;
}

/* ----------------------------------------
   タブレット（1024px以下）
   ---------------------------------------- */
@media screen and (max-width: 1024px) {
  .blog-list {
    gap: 20px 4%;
  }

  .blog-ttl {
    font-size: 14px;
  }
}

/* ----------------------------------------
   スマートフォン（599px以下）
   ---------------------------------------- */
@media screen and (max-width: 599px) {
  .blog-list li.up-w-48\% {
    width: 100%;
  }

  .blog-list {
    gap: 20px 0;
  }

  .blog-thumb {
    aspect-ratio: 16 / 9;
  }

  .blog-date {
    margin-top: 10px;
    font-size: 12px;
  }

  .blog-ttl {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* ============================================
   コース説明タグセクション
   既存タグの下に配置
   ============================================ */
 
.course-legend {
  margin-top: 8px;
  padding: 0;
}
 
.course-legend__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
 
.course-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
}
 
.course-legend__label {
  display: inline-block;
  background-color: #989898;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 2px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
 
.course-legend__text {
  white-space: nowrap;
  font-size: 13px;
  font-weight: bold;
}
 
/* ---- BP: 1024px以下 ---- */
@media screen and (max-width: 1024px) {
  .course-legend__list {
    gap: 5px 12px;
  }
 
  .course-legend__label {
    font-size: 10px;
    padding: 2px 8px;
  }
 
  .course-legend__text {
    font-size: 12px;
  }
}
 
/* ---- BP: 599px以下 ---- */
@media screen and (max-width: 599px) {
  .course-legend__list {
    gap: 4px 10px;
  }
 
  .course-legend__item {
    gap: 4px;
  }
 
  .course-legend__label {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
  }
 
  .course-legend__text {
    font-size: 11px;
  }
}
