
/* CSS Document */

/*==================================================

news-contents
=================================================*/

#news {
    width: 100%;
    position: relative;
    padding-top: 160px;
}
#news .inner {
    width: 90%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    z-index: 2;
}

#news img {
    width: 100%;
	max-width: 100%;
	height: auto;
}

#news .news-list {
    width: 100%;
    position: relative;
    background: linear-gradient(90deg, #759bea, #81dd97);
    margin-top: 50px;
    padding: 0 5% 60px;
}
#news .news-list::before {
    content: " ";
	display: block;
    position: absolute;
    width: 100%;
    height: 80px;
    top: 0;
    left: 0;
    background-color: #FFF;
    z-index: 1;
}
#news .news-list ul {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    
    margin: 0 auto;
    z-index: 3;
}
#news .news-list ul li {
    width: 30.33%;
    max-width: 380px;
    overflow: hidden;
    background-color: #FFF;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    margin: 0 1.5% 40px;
}
#news .news-list ul li a {
    display: block;
    font-size: 1.5rem;
    line-height: 180%;
    color: #000;
    text-decoration: none;
    padding: 8% 8% 10%;
}
#news .news-head {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    
    margin-bottom: 10px;
}
#news .news-head .date {
    width: 120px;
    font-size: 1.5rem;
    color: #FFF;
    text-align: center;
    line-height: 120%;
    background-color: #17539e;
    border-radius: 4px;
    margin-right: 1em;
    padding: .5em 1em;
}
#news .news-list ul li a:hover {
    opacity: 1;
}
#news .button {
    position: relative;
    top: 50%;
    left: 0;
    -webkit-transform: translate(0, -50%); 
    transform: translate(0, -50%);
    margin: 0 auto;
}


@media only screen and (min-width:1px) and (max-width: 768px) {
	
    #news {
        width: 100%;
        position: relative;
        padding-top: 12%;
    }
	#news .news-list {
        margin-top: 6%;
        padding: 6% 5%;
    }
    #news .news-list::before {
        content: " ";
        display: none;
    }
    #news .news-list ul {
        width: 100%;
        max-width: 1200px;
        position: relative;
        display: block;

        margin: 0 auto;
        z-index: 3;
    }
    #news .news-list ul li {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        background-color: #FFF;
        border-radius: 12px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        margin: 0 0 6%;
    }
    #news .news-list ul li a {
        display: block;
        font-size: 1.4rem;
        line-height: 180%;
        color: #000;
        text-decoration: none;
        padding: 5% 5%;
    }
    #news .news-head {
        width: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;

        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;

        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;

        margin-bottom: 10px;
    }
    #news .news-head .date {
        width: 120px;
        font-size: 1.2rem;
        padding: .5em 1em;
    }
    #news .news-list ul li a p {
        font-size: 1.2rem;
        line-height: 160%;
    }
    
}

@media only screen and (min-width:1px) and (max-width: 568px) {
	

}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}

