@charset "UTF-8";

#news {
    width: 100%;
    max-width: 640px;
    margin: -50px auto 0;
}
#news ul{
    width: 95%;
    margin: 0 auto;
}
#news li{
    padding: 0 10% 5px;
    margin-bottom: 50px;
    border-bottom: 1px solid #333;
    text-align: left;
}
#news li .newsdate{
    font-size: 0.9em;
    display: inline-block;
    width: 30%;
}
#news li .newstitle{
    display: inline-block;
    width: 70%;
}
#news .btn {
    margin: 0 auto;
    width: 200px;
    height: 50px;
}
#news .btn a {
    overflow: hidden;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 50px;
    color: #333;
    text-align: center;
    /* font-size: 1.3rem; */
    /* font-weight: 550; */
    background-color: #fff;
    text-decoration: none;
    border: solid 1px #666;
    position: relative;
    z-index: 2;
}
#news .btn a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #666;
    transition: all 300ms linear;
}
#news .btn a:hover {
    color: #fff;
}
#news .btn a:hover:before {
    left: 0;
}


@media screen and (max-width: 499px){
    #news{
        margin: 50px auto 100px;
    }
    #news p{
        font-size: 2em;
        color: #06c;
        margin-bottom: 40px;
    }
    #news li{
        margin: 0 5%;
        margin-bottom: 30px;
    }
    #news li .newsdate{
        display: block;
        width: 100%;
        margin-bottom: 5px;
    }
    #news li .newstitle{
        display: block;
        width: 100%;
    }
}