.customerVoice {
    background-color: var(--background-color-lightgrey);
    padding: 32px 5%;
}



.customerVoice .recordList {
    width: 100%;
    padding: 40px;
    background-color: var(--white);
}

.customerVoice .recordList--top {
    width: 100%;
}

.customerVoice .recordList--date {
    color: var(--secondary-bland-color);
    font-size: 1.3rem;
    font-weight: bold;
    line-height: 1.6;
}

.customerVoice .recordList--title {
    color: var(--font-color-black);
    font-size: 1.5rem;
    line-height: 1.6;
}

.customerVoice .recordList--bottom {
    width: 100%;
    margin-top: 16px;
}

.customerVoice .recordList .media {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.customerVoice .recordList .media--body {
    flex: 1 0;
    display: grid;
    align-items: stretch;
}

.customerVoice .recordList .media--text {
    color: var(--font-color-black);
    font-size: 1.2rem;
    line-height: 2;
    text-align: justify;

    /* 3点リーダーの位置がおかしい場合はaタグの内容をspanで囲む事 */
    /* 例. <a><span>内容</span></a>　*/
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 8;
    line-clamp: 8;
}

.customerVoice .recordList .media--imgBox {
    flex: 0 1 52%;
    line-height: 0;
}

.customerVoice .recordList .media--img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.customerVoice .recordList .arrowBtn {
    font-size: 1.3rem;
    padding: 0.5em;
    margin-top: 1em;
}

.customerVoice .recordList .arrowBtn::after {
    font-size: 1.3rem;
    width: 20px;
    height: 1em;
}

@media screen and (max-width: 1024px) {
    /* 1024pxまでの幅の場合に適応される */
    .customerVoice .recordList {
        padding: 24px;
    }
}

@media screen and (max-width: 599px) {
    /* 599pxまでの幅の場合に適応される */

    .customerVoice .recordList {
        padding: 16px;
    }

    .customerVoice .recordList--title {
        color: var(--font-color-black);
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .customerVoice .recordList--bottom {
        width: 100%;
        margin-top: 12px;
    }

    .customerVoice .recordList .media {
        display: flex;
        flex-direction: column;
        gap: 12px;
        /* justify-content: space-between;
        align-items: flex-start;
        gap: 20px; */
    }

    .customerVoice .recordList .media--imgBox {
        width: 100%;
        line-height: 1;
    }

    .customerVoice .recordList .media--text {
        font-size: 1rem;

        /* 3点リーダーの位置がおかしい場合はaタグの内容をspanで囲む事 */
        /* 例. <a><span>内容</span></a>　*/
        overflow: hidden;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}