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

.link-list {
    margin: 0 -15px;
}

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

.link-list li {
    width: 20%;
    padding: 0 15px;
    margin-bottom: 50px;
}

.link-list li a {
    margin-bottom: 20px;
    max-width: 260px;
    margin: 0 auto;
}

.link-list .pic {
    height: 100%;
    position: relative;
    margin-bottom: 8px;
    width: 100%;
    border: solid #eee 1px;
    transition: all .2s;
}

.link-list a:hover .pic {
    opacity: .65;
    transition: all .2s;
}

.link-list .link-name {
    font-weight: bold;
    color: #333333;
    line-height: 1.2;
    transition: all .2s;
    margin: 0 0 5px;
}

.link-list a:hover .link-name {
    color: #820815;
    transition: all .2s;
}


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

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

@media screen and (max-width:767px) {
    .link-list li {
        width: 50%;
    }
    .link-list li:nth-child(3n+1) {
        clear: none;
    }
    .link-list li:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width:400px) {
    .link-list {
        margin: 0;
    }
    .link-list li {
        width: 100%;
        padding: 0;
    }
}
