/*====================================
スクロールボックス
=====================================*/
.comment {
    color: var(--koozaCP-colorText2);
    padding: 0 calc(16 / 375 * 100%);
    max-width: 1200px;
    margin: 0 auto 40px;
    padding-bottom: 20px;
}

.comment .comment-area {
    display: block;
    height: 400px;
    align-items: stretch;
    justify-content: flex-start;
    overflow-y: auto;
    padding-right: 6px;
}

.comment-area .comment-box {
    display: grid;
    grid-template-rows: 1fr auto;
    width: auto;
    background-color: #fff;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    line-height: 1.7em;
    margin-bottom: 24px;
    padding: 24px;
}

.comment-box .comment-text {
    text-align: left;
    margin-bottom: 8px;
    font-size: clamp(12px, 2.5vw, 14px);
}

.comment-box .comment-name {
    font-size: clamp(12px, 2.5vw, 14px);
    font-weight: bold;
    text-align: right;
    color: #b48a3c;
}

.comment-box .comment-names {
    font-size: clamp(14px, 2.5vw, 16px);
}

.comment-area::-webkit-scrollbar {
    width: 5px;
}

.comment-area::-webkit-scrollbar-track {
    background: #f5f0e5;
    border-radius: 999px;
}

.comment-area::-webkit-scrollbar-thumb {
    background: #b48a3c;
    border-radius: 3px;
}

.comment-area::-webkit-scrollbar-track {
    background: #f4efe3;
}

.comment-note {
    color: var(--koozaCP-colorText2);
    text-align: center;
    font-size: 14px;
    color: #333333;
}


@media screen and (min-width:768px) {
    .comment {
        padding-bottom: 60px;
    }

    .comment .comment-area {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        height: 600px;
        padding-right: 10px;
    }

    .comment .comment-area {
        column-gap: 24px;
    }

    .comment-box .comment-text {
        margin-bottom: 16px;
    }

}

@media (min-width: 768px) and (max-width: 1024px) {
    .comment .comment-area {
        max-width: 960px;
        grid-template-columns: repeat(2, 1fr);
    }

}


