@import "/assets/css/_lib";

.sales_ranking_card {
    position: relative;

    &.scroll {
        position: relative;
        display: inline-block;
        padding: 0 10px;
        width: calc(50vw - 30px);
        vertical-align: top;

        @include pc {
            width: 14%;
            box-sizing: border-box;
        }
    }
    & > .ranking{
        position: absolute;
        top: 10%;
        left: 20%;
        width: 12%;
        aspect-ratio: 1;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: #fff;
        z-index: 1;
        font-family: 'HelveticaNeue', 'Helvetica', arial, 'sans-serif' !important;
    }
}

.card_wrap {
    position: relative;
    overflow: hidden;
    padding-bottom: 40px;
    border-radius: 16px;
    background-color: #fff;
    box-sizing: border-box;

    &>.thumb_area {
        padding: 14%;

        &>.thumb {
            border-radius: 50%;
            width: 100%;
            aspect-ratio: 1;
            height: auto;
        }
    }

    &>.info_area {
        text-align: center;
        font-size: large;

        &>.name {}

        &>.total {
            font-size: 14px;
            font-weight: 400;
            line-height: 20px;
            color: #888;
            cursor: pointer;
        }
    }
}