
@charset "utf-8";
/* CSS Document */

/* ================================
   新着とすべてのコラム（card）
   ================================ */

.c-card {
    display: flex;
    width: 384px;
    min-height: 405px;
    padding: 6px;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;

    /* ← 本来ここに背景と影をつける */
    border-radius: 2px;
    background: #FFF;
    box-shadow: 0 4px 4px 0 rgba(51, 51, 51, 0.15);
}

.c-card__thumb {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 16/9;
}

.c-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    margin: 0 auto;
}

.c-card__body {
    width: 318px;
    flex-shrink: 0;
    margin: 0 auto;
}

/* 一覧カードのラベル */
.c-card__labels {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: #fff;
    margin-bottom: 2px;
    box-sizing: border-box;
}

/* 共通の四角スタイル（高さを揃える） */
.c-card__labels > * {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 20px;               /* ここで高さを統一（必要なら調整） */
    padding:2px 8px;          /* 横の余白は可変、縦は固定高さで中央寄せ */
    white-space: nowrap;
}

/* ブランド（左） */
.c-card__brand {
    background: transparent;
    color: #333;
    border: 1px solid #E2E8F0;
    font-size: 10px;
    font-weight: 600;
    height: 20px;
}

/* カテゴリバッジ（右） */
.c-card__category {
    height: 20px;
    padding: 0 10px;
    line-height: 1;
    background: #E2E8F0;
    color: #333;
    font-size: 10px;
    font-weight: 600;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-card__date {
    margin-top: 0;
    color: rgba(51, 51, 51, 0.40);
    font-family: Inter;
    font-size: 10px;
    font-weight: 500;
    line-height: 15px; /* 150% */
    text-align: right;
    width: 100%;
    margin-bottom: 8px;
}

.c-card__title {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}  

.c-card__subtitle {
    color: #333;
    font-size: 20px;
    font-weight: 600;
    line-height: 24.5px; /* 122.5% */
}

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

/* .c-column__items {
    display: flex;
    flex-direction: row;
    gap: 24px;
} */

/* タグ全体の並び */
.c-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 8px 0 0;
    list-style: none;
}

/* タグ1つ1つのデザイン */
.c-card__tags li {
    display: inline-block;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 500;
    color: #666;
    border-radius: 2px;
    border: 1px solid #D1D5DB;
    line-height: 15px; /* 150% */
    white-space: nowrap;
}
