/* =========================================================
   TOPページ：コラムカード調整
========================================================= */

.top-columns-list {
  display: grid;
  grid-template-columns: repeat(4, 330px);
  gap: 24px;
  justify-content: center;
}

.top-column-card {
  width: 330px;
}

.top-column-card .top-works-card__image {
  width: 330px;
  height: 200px;
  aspect-ratio: auto;
  overflow: hidden;
}

.top-column-card .top-works-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-column-card .top-works-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  padding: 35px 16px;
  box-sizing: border-box;
}

.top-columns-list .top-works-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
}

.top-column-card__category {
  display: inline-block;
  max-width: 100%;
  padding: 5px 10px;
  background: #f08300;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
}

.top-columns-list .top-works-card__date {
  display: block;
  color: #f08300;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.top-column-card .top-works-card__title {
  display: -webkit-box;
  min-height: calc(1.55em * 2);
  margin: 0;
  overflow: hidden;
  color: #222;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* タブレット */
@media (max-width: 1399px) {
  .top-columns-list {
    grid-template-columns: repeat(2, 330px);
  }
}

/* SP */
@media (max-width: 767px) {
  .top-columns-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .top-column-card {
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
  }

  .top-column-card .top-works-card__image {
    width: 100%;
    height: 200px;
  }

  .top-column-card .top-works-card__body {
    padding: 28px 16px;
  }

  .top-column-card .top-works-card__title {
    font-size: 13px;
  }
}