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

/* ================================
   おすすめのコラム（pickup-card）
   ================================ */

/* li にも flex が必要 */
.c-pickup-card {
    display: flex;
    width: 100%;               /* ビューポートいっぱいではなく親に合わせる */
    max-width: 1200px;         /* サイトのコンテナ幅に合わせて調整 */
    margin: 0 auto;            /* 中央寄せして左右の余白を均等にする */
    padding: 0 32px;           /* 内側の余白はそのまま */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 48px;
    box-sizing: border-box;
}

/* 横並びにするのは a タグ */
.c-pickup-card__link {
    display: flex;
    gap: 48px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    align-items: center; /* ← これが重要 */
}

/* 左の画像（Figma の比率に合わせて幅を指定） */
.c-pickup-card__thumb {
    height: 387.563px;
    flex-shrink: 0;
    align-self: stretch;
    aspect-ratio: 16/9;
}

.c-pickup-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 右のテキストエリア */
.c-pickup-card__body {
    display: flex;
    min-height: 415px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2px;
}

/* pickup 用（既存クラス名に合わせて） */
.c-pickup-card__labels {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0px;
    padding: 4px 8px;
    width: 100%;
    background: #fff;
    box-sizing: border-box;
    width: auto; /* 横幅は内容に合わせて可変 */
}

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

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

/* カテゴリバッジ（右） */
.c-pickup-card__category {
    display: inline-flex;        /* 追加：必須 */
    align-items: center;         /* 追加：必須 */
    justify-content: center;
    line-height: 1;
    box-sizing: border-box;

    /* 既存の見た目を維持 */
    height: 24px;
    padding: 0 10px;
    background: #E2E8F0;
    color: #333;
    font-size: 14px;
    font-weight: 600;

    /* 長い文字対策（任意） */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.c-pickup-card__date {
    color: rgba(51, 51, 51, 0.40);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 15px; /* 107.143% */
    margin-left: auto;
    margin-bottom: 20px;
}

.c-pickup-card__title {
    margin-top: 0px;
    color: #333;
    font-family: "Hiragino Kaku Gothic ProN";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    width: 100%;
    line-height: 40px; /* 166.667% */
    margin: 0 0 8px 0;  
}

.c-pickup-card__subtitle {
    color: #333;
    font-family: "Hiragino Kaku Gothic ProN";
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    width: 100%;
    line-height: 40px; /* 111.111% */
    margin: 0;  
}