@charset "UTF-8";
/* ---------------------------------------------------------
  カード型パーツ
--------------------------------------------------------- */
.c-card {
  height: 100%;
}

.c-card__inner {
  height: 100%;
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 16px;
}

.c-card__title {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 4px;
}

.c-card__text {
  font-size: 14px;
  line-height: 1.7;
}

.c-card__image img {
  width: 100%;
}

/* タグ */
.c-card__tagList {
  font-size: 10px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.c-card__tag {
  color: var(--color-text-light);
  display: inline-block;
  padding: 4px 8px;
  background-color: var(--color-accent-primary);
  border-radius: 2px;
}

/* 囲みあり */
.c-card--hasBorder .c-card__inner {
  gap: 0;
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  overflow: hidden;
}

.c-card--hasBorder .c-card__textContents {
  padding: 16px;
}

@media screen and (min-width: 768px) {
  .c-card__title {
    font-size: 24px;
  }

  /* タグ */
  .c-card__tagList {
    font-size: 12px;
  }
}
