@charset "utf-8";
/* CSS Document */
body {
    padding-top:0;
}

.ranking-update {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
}

.ranking__list {
    display: flex;
    flex-wrap: wrap;
}
.ranking__list >li {
    width: 19%;
    margin-left: 1.25%;
}
.ranking__list >li:first-child {
    margin-left: 0;
}
.ranking__list >li a {
    color: var(--base-color);
    display: block;
}
.ranking__list .rank {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-family: var(--font-en);
    font-weight: 500;
    width: 36px;
    height: 36px;
    padding-top: 2px;
    margin-bottom: 10px;
    background-image: url("../img/rank_base.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.ranking__list .rank01 {
    color: #fff;
    background-image: url("../img/rank_01.png");
}
.ranking__list .rank02 {
    color: #fff;
    background-image: url("../img/rank_02.png");
}
.ranking__list .rank03 {
    color: #fff;
    background-image: url("../img/rank_03.png");
}

.rank-thumb {
    height: 0;
    padding-top: 100%;
    margin-bottom: 10px;
    position: relative;
}
.rank-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.rank-review {
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.rank-review .star {
    display: inline-block;
    font-size: 20px;
    height: 32px;
    overflow: hidden;
    position: relative;
    color: #ccc;
    font-family: "Hind", sans-serif;
    white-space: nowrap;
}
.rank-review .star:after {
    content: '★★★★★';
    width: 0;
    height: 32px;
    color: var(--gold-color);
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}
.rank-review .star05:after {
    width: 10%;
}
.rank-review .star10:after {
    width: 20%;
}
.rank-review .star15:after {
    width: 30%;
}
.rank-review .star20:after {
    width: 40%;
}
.rank-review .star25:after {
    width: 50%;
}
.rank-review .star30:after {
    width: 60%;
}
.rank-review .star35:after {
    width: 70%;
}
.rank-review .star40:after {
    width: 80%;
}
.rank-review .star45:after {
    width: 90%;
}
.rank-review .star50:after {
    width: 100%;
}

.rank-review .review-point {
    font-size: 20px;
    font-weight: 600;
    margin-left: 10px;
}

.rank-title {
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.rank-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--red-color);
    text-align: center;
    margin-top: 10px;
}
.rank-price span {
    font-size: 80%;
    font-weight: 500;
}

@media (max-width: 815px) {

    .ranking-wrap {
        overflow-x: scroll;
        padding-bottom: 30px;
    }
    .ranking-wrap::-webkit-scrollbar {
        background: #eee;
        width: 15px;
        height: 15px;
        border-radius: 20px;
    }
    .ranking-wrap::-webkit-scrollbar-thumb {
        background-color: #333;
        border-radius: 20px;
    }
    .ranking__list {
        display: block;
        white-space: nowrap;
    }
    .ranking__list >li {
        width: 200px;
        margin-left: 20px;
        display: inline-block;
        white-space: normal;
        vertical-align: top;
    }
    .ranking__list >li:first-child {
        margin-left: 0;
    }

}
