.work-list .item {
    width: 25%;
    padding: 0;
    box-sizing: border-box;
    border: 1px solid #000;
    border-left-width: 0;
    position: relative;
    margin-bottom: 30px;
    padding: 10px;
    padding-bottom: 20px;
    min-height: 305px;
}

.work-list .item:after {
    content: '';
    display: block;
    height: 7px;
    background: #ededed;
    width: 100%;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 0;
}

.work-list .item:nth-child(4n+1) {
    border-left: solid 1px #000;
    clear: left;
}

.work-list .name {
    color: #000;
    font-size: 17px;
    font-weight: bold;
    margin: 10px auto;
    box-sizing: border-box;
    padding: 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 50px;
    min-height: 50px;
    line-height: 1.55;
}

.work-list .description {
    background: url(../../images/common/footer_bg.jpg) repeat;
    box-sizing: border-box;
    padding: 15px;
}

.work-list .txt {
    color: #454c59;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: clip;
    overflow: hidden;
    max-height: 64px;
    min-height: 21px;
    line-height: 1.45;
}

@media screen and (max-width: 1000px) {
    .work-list {
        max-width: 767px;
        margin: 0 auto;
    }
    .work-list .item {
        width: 50%;
    }
    .work-list .item:nth-child(4n+1) {
        border-left: none;
    }
    .work-list .item:nth-child(2n+1) {
        border-left: solid 1px #000;
        clear: left;
    }
}

@media screen and (max-width: 600px) {
    .work-list .item {
        width: 100%;
    }
    .work-list .item:nth-child(2n+1) {
        border-left: none;
    }
    .work-list .item:nth-child(1n+1) {
        border-left: solid 1px #000;
    }
}
