
.gallery_list ul{
    width: 100%;
    list-style: none;
}

.gallery_list ul li .gallery_item{
    width: 100%;
    border: 1px solid #ececec;
    border-top: 2px solid #5980ce;
    box-sizing: border-box;
}
.gallery_item .gallery_item_txt{
    padding: 10px 10px 5px 10px;
    color: #5980ce;
    text-overflow:ellipsis;
    white-space:nowrap;
    word-wrap:normal;
    overflow:hidden;
}
.gallery_item .gallery_item_desc{
    padding: 10px;
    color: #989797;
}
/* PC */
@media screen and (min-width:1201px) {
    .gallery_list ul li{
        width: 23.5%;
        display: inline;
        list-style-type: none;
        padding: 11px;
    }
    .gallery_list ul li:nth-child(4n+1){
        padding-right: 0;
        padding-left: 0;
    }

}

@media screen and (min-width:768px) and (max-width:1200px) {
    .gallery_list ul li{
        width: 32%;
        display: inline;
        list-style-type: none;
        padding: 11px;
    }
    .gallery_list ul li:nth-child(3n),
    .gallery_list ul li:nth-child(3n+1){
        padding-right: 0;
        padding-left: 0;
    }
}

/* Mobile */
@media screen and (max-width:767px) {
    .gallery_list ul li{
        width: 100%;
        display: inline;
        list-style-type: none;
        padding: 11px;
    }
    .gallery_list ul li{
        padding-right: 0;
        padding-left: 0;
    }

}
