@charset "UTF-8"; /* ReviCo トップ（レビューランキング／新着レビュー）表示調整 */

:root {
    --rvs-green: #34b558;
    --rvs-arrow: #22ab37;
    --rvs-name: #3b4043;
    --rvs-text: #444;
    --rvs-text-sp: #595959;
    --rvs-muted: #8a858c;
    --rvs-rank1: #f2b01e;
    --rvs-rank2: #a7adb2;
    --rvs-rank3: #c58b55;
    --rvs-rankn: #6b6f72;
    --rvs-gap: 32px;
    --rvs-side: 50px;
    --rvs-img: 200px;
}

/* レビューランキング */
#revico-review-ranking-zone .revico-ranking-inner {
    box-sizing: border-box;
    max-width: 1200px;
    margin: 16px auto 40px;
    padding: 0 var(--rvs-side);
}

#revico-review-ranking-zone .revico-ranking-list {
    display: flex;
    overflow-x: auto;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#revico-review-ranking-zone .revico-ranking-list::-webkit-scrollbar { display: none; }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content {
    display: block;
    flex: 0 0 auto;
    width: 20%;
    min-width: 192px;
    padding: 0 calc(var(--rvs-gap) / 2);
    overflow: visible;
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info { width: 100%; }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--ranking-ribbon {
    z-index: 1;
    width: 32px;
    height: 42px;
    padding-top: 8px;
    background: var(--rvs-rankn);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
    font-family: 'Noto Sans JP', sans-serif;    
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--ranking-ribbon::after { display: none; }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--ranking-ribbon[data-ranking="1"] { background: var(--rvs-rank1); }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--ranking-ribbon[data-ranking="2"] { background: var(--rvs-rank2); }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--ranking-ribbon[data-ranking="3"] { background: var(--rvs-rank3); }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-image {
    width: 100%;
    height: var(--rvs-img);
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-image img {
    max-width: 100%;
    max-height: 100%;
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-name {
    padding: 10px 0 6px;
    font-size: 14px;
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-name a { color: var(--rvs-name); }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-name p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
    color: var(--rvs-name);
    font-weight: 700;
    line-height: 1.5;
    font-family: 'Noto Sans JP', sans-serif;
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-title-wrapper { display: none; }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper {
    align-items: center;
    gap: 6px;
    font-family: 'Noto Sans JP', sans-serif;    
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper .star-rating {
    top: 0;
    width: 83px;
    height: 20px;
    margin-right: 0;
    transform: scale(0.55);
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper .star-rating--caption {
    margin: 0;
    color: var(--rvs-name);
    font-size: 16px;
    font-weight: 700;
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper .star-rating--caption span{
    display: inline-block;
    margin-left: 6px;
    font-size: 15px;
    vertical-align: middle;
    margin-bottom: 2px;        
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--review-info {
    width: 100%;
    margin-left: 0;
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--review-info--review-pickup { display: none; }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .pickup-star-rating-wrapper { display: none; }

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--review-info--review-comment-wrapper {
    height: auto;
    margin: 8px 0 0;
    padding: 0;
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--review-info--review-comment {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--rvs-text);
    font-size: 14px;
    line-height: 1.8;
    font-family: 'Noto Sans JP', sans-serif;     
}

#revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--review-info--review-detail-link-wrapper { display: none; }

#revico-review-ranking-zone .revico-ranking--slide-btn {
    z-index: 1;
    top: calc(var(--rvs-img) / 2);
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--rvs-arrow);
    border-radius: 50%;
    background: #fff !important;
    line-height: 0;
    opacity: 1;
    transform: translateY(-50%);
}

#revico-review-ranking-zone .revico-ranking--prev-btn { left: 0; }

#revico-review-ranking-zone .revico-ranking--next-btn { right: 0; }

#revico-review-ranking-zone .revico-ranking--slide-btn span {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
}

#revico-review-ranking-zone .revico-ranking--slide-btn span::before {
    top: 50%;
    bottom: auto;
    left: 50%;
    width: 9px;
    height: 9px;
    margin: 0;
    border: 0 solid var(--rvs-arrow);
}

#revico-review-ranking-zone .revico-ranking--prev-btn span::before {
    border-bottom-width: 1.8px;
    border-left-width: 1.8px;
    transform: translate(-30%, -50%) rotate(45deg);
}

#revico-review-ranking-zone .revico-ranking--next-btn span::before {
    border-top-width: 1.8px;
    border-right-width: 1.8px;
    transform: translate(-70%, -50%) rotate(45deg);
}

#revico-review-ranking-zone .revico--slider-wrapper { display: none; }

#revico-review-ranking-zone .revico-ranking--slide-btn.rvs-is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

#revico-review-ranking-zone .revico-logo {
    top: 0;
    margin: 16px calc(var(--rvs-side) * -1) 0 0 !important;
    color: var(--rvs-muted);
}

/* 新着レビュー */
#revico-review-slide-zone .revico-multicomment-slider-top {
    max-width: 1200px;
    margin: 16px auto 40px;
    background: transparent;
}

#revico-review-slide-zone .revico-multicomment-inner {
    position: relative;
    box-sizing: border-box;
    padding-bottom: 28px;
    border-radius: 0;
    background: transparent;
}

#revico-review-slide-zone .revico-comment-header {
    position: static;
    height: 0;
}

#revico-review-slide-zone .revico-comment-main {
    margin: 0 var(--rvs-side);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#revico-review-slide-zone .revico-comment-main::-webkit-scrollbar { display: none; }

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper {
    display: block;
    width: 20%;
    min-width: 192px;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0 calc(var(--rvs-gap) / 2);
    background: transparent;
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row { width: 100%; }

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail { font-size: 14px; }

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail > a { pointer-events: auto; }

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--product .revico-review-comment-detail--product-image {
    display: block;
    max-height: none;
    margin: 0;
    padding: 0;
    border-bottom: 0;
    font-size: inherit;
    font-weight: normal;
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--product .revico-review-comment-detail--product-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--star {
    display: flex;
    flex-flow: column;
    align-items: stretch;
    width: 100%;
    padding-left: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--star-date { display: none; }

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--title { display: none; }

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--product-pagebtn { display: none; }

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--product-name {
    display: block;
    order: 1;
    min-height: 42px;
    margin: 10px 0 6px;
    color: var(--rvs-name);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--product-name p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Noto Sans JP', sans-serif;    
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--star-rate {
    order: 2;
    width: 83px;
    height: 20px;
    margin: 0 !important;
    transform: scale(0.55);
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-starability-result {
    position: relative;
    color: var(--rvs-name);
    height: 24px;    
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-starability-result::after {
    content: attr(data-star-rating) ".0";
    position: absolute;
    top: 50%;
    left: 160px;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
    transform: translateY(-50%);
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--comment {
    max-height: none;
    margin-top: 8px;
    color: var(--rvs-text);
    font-size: 14px;
    line-height: 1.8;
}

#revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--comment--content {
    -webkit-line-clamp: 5;
    font-family: 'Noto Sans JP', sans-serif;
}

#revico-review-slide-zone .revico-comment-header .revico-arrow {
    top: calc(var(--rvs-img) / 2);
    bottom: auto;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--rvs-arrow);
    border-radius: 50%;
    background: #fff;
    transition: opacity 0.2s ease-in-out;
    transform: translateY(-50%);
}

#revico-review-slide-zone .revico-comment-header .revico-back { left: 0; }

#revico-review-slide-zone .revico-comment-header .revico-next { right: 0; }

#revico-review-slide-zone .revico-comment-header .revico-arrow img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
}

#revico-review-slide-zone .revico-comment-header .revico-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border: 0 solid var(--rvs-arrow);
    pointer-events: none;
}

#revico-review-slide-zone .revico-comment-header .revico-back::before {
    border-bottom-width: 1.8px;
    border-left-width: 1.8px;
    transform: translate(-30%, -50%) rotate(45deg);
}

#revico-review-slide-zone .revico-comment-header .revico-next::before {
    border-top-width: 1.8px;
    border-right-width: 1.8px;
    transform: translate(-70%, -50%) rotate(45deg);
}

#revico-review-slide-zone .revico-comment-header .revico-arrow.rvs-is-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

#revico-review-slide-zone .revico-comment-header .revico-logo {
    right: 0;
    bottom: 0;
    color: var(--rvs-muted);
}

#revico-review-slide-zone .revico-multicomment-slider-top .revico-multicomment-inner .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row[data-pickup-review=true] .revico-review-comment-detail::after{
    left: -57px;
    top: 5px;    
}

/* SP */
@media screen and (max-width: 768px) {
    :root {
        --rvs-gap: 26px;
        --rvs-side: 12px;
        --rvs-img: 166px;
    }

    /* レビューランキング */
    body #revico-review-ranking-zone { margin: 0; }

    #revico-review-ranking-zone .revico-ranking-inner {
        max-width: none;
        margin: 10px auto 32px;
        padding: 0;
    }

    #revico-review-ranking-zone .revico-ranking-list {
        overflow-x: auto;
        padding: 0 8px;
        scroll-padding-left: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content {
        width: clamp(116px, calc((100% + var(--rvs-side)) / 2.5), 200px);
        min-width: 0;
        scroll-snap-align: start;
        padding: 0 calc(18px / 2);
    }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--ranking-ribbon {
        width: 28px;
        height: 36px;
        padding-top: 8px;
        font-size: 13px;
    }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-image img {
        max-width: 100%;
        max-height: 100%;
    }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-name { padding: 14px 0 6px; }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--product-info--product-name p {
        display: block;
        overflow: hidden;
        min-height: 0;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper {
        gap: 3px;
        transform: none;
    }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper .star-rating {
        width: 75px;
        height: 18px;
        transform: scale(0.5);
    }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper .star-rating--caption { font-size: 13px; }

    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content--review-info--review-comment {
        -webkit-line-clamp: 4;
        color: var(--rvs-text-sp);
        font-size: 13px;
        line-height: 1.75;
    }

    #revico-review-ranking-zone .revico-logo { margin: 20px 16px 0 0 !important; }

    /* 新着レビュー */
    #revico-review-slide-zone .revico-multicomment-slider-top { margin: 10px auto 32px; }

    #revico-review-slide-zone .revico-comment-main {
        margin: 0;
        padding: 0 8px;
        scroll-padding-left: 8px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper {
        width: clamp(116px, calc((100% + var(--rvs-side)) / 2.5), 200px);
        min-width: 0;
        scroll-snap-align: start;
        padding: 0 calc(18px / 2);
    }

    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--product-name {
        min-height: 0;
        margin: 14px 0 6px;
    }

    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--product-name p {
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--star-rate {
        width: 75px;
        height: 18px;
        transform: scale(0.5);
    }

    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-starability-result::after {
        left: 156px;
        font-size: 26px;
    }

    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--comment {
        color: var(--rvs-text-sp);
        font-size: 13px;
        line-height: 1.75;
    }

    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-review-comment-detail--comment--content { -webkit-line-clamp: 4; }
    #revico-review-slide-zone .revico-comment-header .revico-arrow { display: none; }
    #revico-review-slide-zone .revico-comment-header .revico-logo { right: 16px; }
    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-starability-result::after{transform: translateY(-70%);}
    #revico-review-ranking-zone .revico-ranking-list .revico-ranking-content .star-rating-wrapper .star-rating--caption span{
        margin-left: 4px;
        font-size: 12px;
    }
    #revico-review-slide-zone .revico-comment-main .revico-review-comment-row-wrapper .revico-review-comment-row .revico-starability-result {height: 30px;}    
}