.section_ranking_condition_bdc { width: 100%; clear: both;}
.section_ranking_condition_bdc ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.section_ranking_condition_bdc ul li {
    margin-top: 2% !important;
    position: relative;
    margin: 4% 0 0 0;
    width: 32%;
    background-color: #eee;
    padding: 0!important;
    text-align: center!important;
    flex: 1;
    margin-right: 10px;
}
.section_ranking_condition_bdc ul li:last-of-type {
  margin-right: 0px;
}
.section_ranking_condition_bdc ul li  a{
    padding: 6% 0;
    margin: 0!important;
    display: block;
}
.section_ranking_condition_bdc ul li  a.active {
    background-color: #000000!important;
    color: #FFF!important;
}
._items_hal {
    overflow: hidden;
    box-sizing: border-box;
}
._items_hal ul {
    line-height: 1.6;
    margin: 2px 0 2px 0;
    display: none;
}
._items_hal ul.on{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    justify-content: flex-start;
    
}
._items_hal ul li {
    list-style: none;
    margin-top: 8px;
    width: 24%;
    overflow: hidden;
    margin-bottom: 15px;
    margin-right: 4px;
}

@media screen and (min-width: 768px){
._items_hal ul li:nth-child(4n) {
    margin-right: 0px;
}
}

  @media screen and (max-width: 768px){
    ._items_hal ul li {
        list-style: none;
        margin-top: 8px;
        width: 32%;
        overflow: hidden;
        margin-bottom: 15px;
        margin-right: 4px;
    }
    ._items_hal ul li:nth-child(3n) {
        margin-right: 0px;
    }
    
  }
._items_hal ul li  a {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: .2s;
}
._items_hal ul li .p_img{
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
._items_hal ul li img {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 50%;
    right: 50%;
    object-fit: cover;
    transform: translate(50%,50%);
}
._items_hal ul li  figcaption {
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}