/*------------ link ------------*/

.link-list {
    margin: 45px -10px 0;
}

.link-list li {
    width: 20%;
    text-align: center;
    padding: 0 10px 40px;
}

.link-list li:nth-child(5n+1) {
    clear: left;
}

.link-list li .pic {
    position: relative;
    padding: 6px;
    max-width: 252px;
    margin: 0 auto;
    box-sizing: border-box;
}

.link-list li .pic img {
    position: relative;
    z-index: 10;
}

.link-list li .pic:after {
    content: "";
    transition: all .2s;
    width: 100%;
    height: 100%;
    background: url('../../images/common/links/cover2.jpg');
    -webkit-background-size: cover;
    background-size: cover;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
}

.link-list li a:hover .pic:after {
    background: url('../../images/common/links/cover.jpg');
    transition: all .2s;
}

.link-list li .name {
    font-size: 15px;
    color: #878787;
    text-align: center;
    margin: 5px 0 0 0;
}

.link-list li a:hover .name {
    color: #C79D86;
    font-weight: bold;
}


/*------------ rwd ------------*/

@media screen and (max-width:1000px) {
    .link-list li:nth-child(5n+1) {
        clear: none;
    }
    .link-list li:nth-child(3n+1) {
        clear: left;
    }
    .link-list li {
        width: calc((100% / 3) - 0.1px);
    }
}

@media screen and (max-width:600px) {
    .link-list {
        margin: 0;
    }
    .link-list li {
        text-align: center;
        padding: 0 0 40px;
        width: 100%;
    }
}
