/* voice.css — お客様の声 一覧ページ専用スタイル */

.voiceArchive__body {
    background: var(--colorOrange100);
    padding: 80px 0 104px;
}

/* ---------- 子カテゴリーの絞り込み ---------- */
.voiceArchive__heading {
    font-family: var(--fontNotoSans);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
}

.voiceFilter {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
}

.voiceFilter__link {
    background-color: var(--colorWhite);
    border: 1px solid var(--colorGray500);
    border-radius: 100vw;
    color: var(--colorBlack);
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    padding: 8px 24px;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.voiceFilter__link:hover,
.voiceFilter__link.is-current {
    background-color: var(--colorBlue);
    border-color: var(--colorBlue);
    color: var(--colorWhite);
}

/* ---------- カード一覧 ---------- */
.voiceList {
    display: grid;
    gap: 48px 32px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 48px;
}

.voiceList__link {
    color: var(--colorBlack);
    display: block;
}

.voiceList__thumb {
    aspect-ratio: 4 / 3;
    background-color: var(--colorWhite);
    border-radius: 16px;
    overflow: hidden;
}

.voiceList__thumb img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    width: 100%;
}

.voiceList__thumb.is-empty img {
    box-sizing: border-box;
    object-fit: contain;
    padding: 40px 64px;
}

.voiceList__link:hover .voiceList__thumb img {
    transform: scale(1.05);
}

/* 肩書き・年代 */
.voiceList__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.voiceList__tags li {
    border: 1px solid var(--colorGray500);
    border-radius: 100vw;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    padding: 4px 16px;
}

.voiceList__title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-family: var(--fontNotoSans);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    margin-top: 12px;
    overflow: hidden;
}

.voiceList__link:hover .voiceList__title {
    color: var(--colorBlue);
}

.voiceList__name {
    color: var(--colorGray500);
    font-size: 13px;
    line-height: 1.6;
    margin-top: 4px;
}

.voiceList__text {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    font-family: var(--fontNotoSans);
    font-size: 13px;
    line-height: 1.8;
    margin-top: 8px;
    overflow: hidden;
}

.voiceArchive__empty {
    margin-top: 48px;
    text-align: center;
}

.voiceArchive .newsPager {
    margin-top: 64px;
}

/* ---------- Tablet / SP ---------- */
@media screen and (max-width: 1024px) {
    .voiceArchive__body {
        padding: 48px 0 64px;
    }

    .voiceList {
        gap: 40px 24px;
        grid-template-columns: repeat(2, 1fr);
        margin-top: 32px;
    }
}

@media screen and (max-width: 767px) {
    .voiceArchive__heading {
        font-size: 18px;
    }

    .voiceFilter {
        gap: 8px;
        margin-top: 16px;
    }

    .voiceFilter__link {
        font-size: 13px;
        padding: 8px 16px;
    }

    .voiceList {
        gap: 32px 16px;
    }

    .voiceList__thumb {
        border-radius: 10px;
    }

    .voiceList__thumb.is-empty img {
        padding: 24px 16px;
    }

    .voiceList__tags {
        gap: 4px;
        margin-top: 12px;
    }

    .voiceList__tags li {
        padding: 4px 12px;
    }

    .voiceList__title {
        font-size: 15px;
    }

    .voiceList__text {
        font-size: 12px;
    }

    .voiceArchive .newsPager {
        margin-top: 40px;
    }
}
