@charset "UTF-8";
/**************************************************************************************
itokin_ranking.css /  ランキングページ

#PC表示（min-1188px）
#タブレット表示（min-991px）
#スマホ表示（min-767px）

*************************************************************************************/
/*******************
 * ランキング一覧
********************/
#ranking-list .list ul {
    margin: 0 -15px;
}
#ranking-list .list li {
    float: left;
    width: 20%;
    padding: 18px 8px 0;
    margin: 0;
    position: relative;
}
#ranking-list .list li img {
    width: 100%;
}
#ranking-list .list span.date {
    color: #666;
    display: block;
    margin-top: 10px;
    font-style: italic;
}
#ranking-list .list .brand {
    position: relative;
    padding-left: 348px;
    padding-bottom: 0;
    margin-bottom: 40px;
    min-height: 400px;
    border-bottom: 2px solid #e1e1e1;
}
#ranking-list .list .brand.last {
    border: none;
    margin: 0;
}
#ranking-list .list .brand h3 {
    width: 27%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 18px 0 0;
    margin: 0;
}
#ranking-list .list .brand h3 img {
    width: 100%;
}
#ranking-list .list .brand .date {
    position: absolute;
    top: 0;
    left: 0;
    color: #ee0000;
    font-size: 11px;
    font-weight: normal;
    font-style: italic;
}
#ranking-list .list .brand .date span {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    margin: 0 8px;
    color: #000000;
}
#ranking-list .list .brand p.more {
    position: absolute;
    left: 35px;
    bottom: 40px;
    margin: 0;
}
#ranking-list .list .brand p.more a {
    background-color: #525252;
    color: #FFF;
    width: 230px;
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
    text-align: center;
    display: inline-block;
    font-weight: normal;
}
#ranking-list .list .brand p.more a span {
    display: none;
}
#ranking-list .list .brand p.more i {
    visibility: hidden;
}
@media (min-width: 991px) {
    #ranking-list .gender-tab {
        margin-top: -40px;
        margin-bottom: 40px;
        border-bottom: 1px solid #e1e1e1;
    }
}
#ranking-list .gender-tab .tab-nav {
    margin-bottom: 0;
    border-bottom: none;
}
#ranking-list .gender-tab ul {
    display: table;
    width: 100%;
    padding: 0 200px;
}
#ranking-list .gender-tab li {
    width: 20%;
    display: table-cell;
}
#ranking-list .gender-tab li a {
    display: block;
    height: 65px;
    line-height: 65px;
    text-align: center;
    font-family: 'Lato', sans-serif;
    letter-spacing: .01em;
    color: #000;
    font-size: 15px;
    border-bottom: 5px solid #FFF;
}
/* ranking-icon */
#top-ranking #ranking-list .tab-content .list ul li .icon {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: normal;
    width: 24px;
    line-height: 24px;
    height: 24px;
    border-radius: 12px;
    color: #999999;
    background-color: #FFF;
    border: 1px solid #e1e1e1;
    position: absolute;
    top: 21px;
    left: 12px;
    z-index: 10;
}
#top-ranking #ranking-list .tab-content .list ul li .icon.no1 {
    background-color: #d9b340;
    border: none;
    color: #FFF;
}
#top-ranking #ranking-list .tab-content .list ul li .icon.no2 {
    background-color: #6f7b83;
    border: none;
    color: #FFF;
}
#top-ranking #ranking-list .tab-content .list ul li .icon.no3 {
    background-color: #a15326;
    border: none;
    color: #FFF;
}
#top-ranking #ranking-list .tab-content .list ul.mid li .icon {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    width: 25px;
    line-height: 24px;
    height: 25px;
    border-radius: 13px;
    color: #999999;
    background-color: #FFF;
    border: 1px solid #e1e1e1;
    position: absolute;
    top: 4px;
    left: 14px;
    z-index: 10;
}
#ranking-list .tab-content .list ul.mid li .icon {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: normal;
    width: 25px;
    line-height: 25px;
    height: 25px;
    border-radius: 13px;
    color: #999999;
    background-color: #FFF;
    border: 1px solid #e1e1e1;
    position: absolute;
    top: 6px;
    left: -3px;
    z-index: 10;
}
#ranking-list .phrase {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
#ranking-list .phrase:empty {
    overflow: inherit;
}
#ranking-list .name {
    font-size: 12px;
    /* 2行で省略 */
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    /*-webkit-line-clamp: 2;*/
    text-overflow: ellipsis;
    line-height: 1.366em;
}
#ranking-list .price {
    font-size: 13px;
    color: #777777;
    font-style: italic;
    line-height: 1.366em;
}

/*******************
 * ランキングから探す
********************/
.p-ranking-search-parts #page-title {
    margin: 0;
    border-bottom: none;
}
.p-ranking-search-parts .p-contents-tab-switch {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    padding: 15px 10px;
}
.p-ranking-search-parts .p-contents-tab-switch__item {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #0071e3;
    border-right: 1px solid #b1b1b1;
}
.p-ranking-search-parts .p-contents-tab-switch__item:last-child {
    padding-right: 0;
    border-right: none;
}
.p-ranking-search-parts .p-contents-tab-switch__item:hover {
    color: #1462b1;
}
.p-ranking-search-parts .p-contents-tab-switch__item.active {
    color: #b4b4b4;
}
.p-ranking-search-parts .p-contents-tab-switch__item:not(.active) {
    cursor: pointer;
}
@media (max-width: 991px) {
    .p-ranking-search-parts .p-contents-tab-switch {
        padding: 0 0 20px;
    }
    .p-ranking-search-parts .p-contents-tab-switch__item {
        width: 50%;
        text-align: center;
    }
    .p-ranking-search-parts .p-contents-tab-switch__item:last-child {
        padding-right: 12px;
    }
}
.p-ranking-search-parts .icon {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: normal;
    width: 30px;
    height: 30px;
    border-radius: 18px;
    color: #999999;
    background-color: #FFF;
    border: 1px solid #e1e1e1;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}
@media (max-width: 991px) {
    .p-ranking-search-parts .icon {
        top: 10px;
        left: 10px;
    }
}
@media (min-width: 767px) {
    .p-ranking-search-parts .icon {
        top: 15px;
        left: 15px;
    }
}
.p-ranking-search-parts .icon.no1 {
    background-color: #d9b340;
    border: none;
    color: #FFF;
}
.p-ranking-search-parts .icon.no2 {
    background-color: #6f7b83;
    border: none;
    color: #FFF;
}
.p-ranking-search-parts .icon.no3 {
    background-color: #a15326;
    border: none;
    color: #FFF;
}
.p-ranking-search-parts__sidebar .search-menu {
    margin-top: 80px;
}
.p-ranking-result-parts li {
    padding: 10px;
    flex-basis: calc(100% / 3);
    width: calc(100% / 3);
}
@media (max-width: 767px) {
    .p-ranking-result-parts li {
        padding: 2.5px;
        flex-basis: calc(100% / 2);
        width: calc(100% / 2);
    }
}
.p-ranking-result-parts__list {
    display: flex;
    flex-wrap: wrap;
}
.p-ranking-result-parts__error {
    width: 100%;
    margin-top: 40px;
    padding: 0 0 30px;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid #e1e1e1;
}

#ranking-list .brand #brand-thumbnail-banner {
    height: 30%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.65);
}
#ranking-list .brand #brand-thumbnail-banner img {
    width: auto;
    max-width: 100%;
    height: 65%;
}
/**************************************************
 *
 * タブレット
 *
**************************************************/
@media ( max-width: 991px ) {
    /*******************
     * ランキング一覧
    ********************/
    #ranking-list .tab-content {
        /* margin-bottom: 20px; */
    }
    #ranking-list .list {
        margin: 0;
    }
    #ranking-list .list .icon {
        left: 10px;
    }
    #ranking-list .list ul {
        padding: 0;
        margin: 0 -5px;
    }
    #ranking-list .list li {
        width: 33.333%;
        padding: 0 10px;
        margin: 0 0 10px;
    }
    #ranking-list .list li:nth-child(3n+1) {
        clear: both;
    }
    #ranking-list .list li:nth-child( 6 ) {
        display: block;
    }
    #ranking-list .list .brand {
        padding: 0;
        margin-bottom: 10px;
        min-height: 0;
        border: none;
    }
    #ranking-list .list .brand h3 {
        position: static;
        text-align: center;
        margin: 0 0 25px 10px;
    }
    #ranking-list .list .brand h3 img {
        width: 100px;
        margin: 0 auto;
    }
    #ranking-list .list .brand .date {
        position: static;
        margin: 10px 0 0;
        white-space: nowrap;
    }
    #ranking-list .list .brand p.more {
        position: inherit;
        left: inherit;
        bottom: inherit;
        margin: 0;
        text-align: center;
    }
    #ranking-list .list .brand p.more a {
        width: inherit;
        min-width: 230px;
        max-width: 99%;
    }
    #ranking-list .list .brand p.more a span {
        display: inline-block;
        margin-right: 5px;
    }
    /* tab */
    #ranking-list .gender-tab {
        margin-bottom: 15px;
    }
    #ranking-list .gender-tab ul {
        padding: 0;
    }
    #ranking-list .gender-tab li a {
        height: 45px;
        line-height: 45px;
        border-bottom: none;
    }

    /*******************
     * ランキングトップ
    ********************/
    #top-ranking #ranking-list .tab-content .list ul li .icon {
        display: block;
        text-align: center;
        font-size: 12px;
        font-weight: normal;
        width: 25px;
        line-height: 25px;
        height: 25px;
        border-radius: 13px;
        color: #999999;
        background-color: #FFF;
        border: 1px solid #e1e1e1;
        position: absolute;
        top: 21px;
        left: 15px;
        z-index: 10;
    }
    #top-ranking #ranking-list .tab-content .list ul.mid li .icon {
        display: block;
        text-align: center;
        font-size: 12px;
        font-weight: normal;
        width: 25px;
        line-height: 25px;
        height: 25px;
        border-radius: 13px;
        color: #999999;
        background-color: #FFF;
        border: 1px solid #e1e1e1;
        position: absolute;
        top: -10px;
        left: 0;
        z-index: 10;
    }
}

/* horizontal-ranking-item-block配下は、itokin_common.cssで指定。*/

/* --- ランキング：商品画像上部のアイコン2行表示対応  */
#ranking-list .horizontal-ranking-item-block {
    padding-top: 40px !important;
}
#ranking-list .horizontal-ranking-item-block .icon-block {
    position: absolute;
    left: 10px;
    top: 40px;
    transform: translateY(-100%);
    display: flex;
    flex-wrap: wrap-reverse; 
    align-content: flex-end;
    width: calc(100% - 20px);
    height: auto;
    min-height: 18px;
    gap: 2px;
}
#ranking-list .horizontal-ranking-item-block span.icon {
    top: 44px !important;
}
@media (max-width: 991px) {
    #ranking-list .horizontal-ranking-item-block {
        padding-top: 38px !important;
    }
    #ranking-list .horizontal-ranking-item-block .icon-block {
        top: 38px;
    }
}