﻿.news-box{
    width: 1920px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    min-height: calc(100vh - 100px);
}
.news-banner-box{
    width: 100%;
    height: calc(100vw * 0.3125);
    display: block;
}
.news-banner-box span{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.news-all-box{
    width: 1280px;
    max-width: 100%;
    position: relative;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.news-title-box{
    margin-top: 25px;
}
.news-title-top-box span,
.news-title-bottom-box span{
    font-size: 28px;
    font-family: 'Noto Serif TC';
    font-weight: 900;
    letter-spacing: 0.4em;
    line-height: 40px;
}
.news-title-dots-box span{
    font-size: 40px;
    line-height: 22px;
}
.news-class-box{
    margin: 40px 0;
}
.news-class{
    font-size: 16px;
    color: #555;
    letter-spacing: 0.06em;
    width: 160px;
    line-height: 50px;
    display: inline-block;
    vertical-align: top;
    background-color: #eee;
    text-align: center;
    margin-left: 20px;
    transition: all .3s linear;
}
.news-class:nth-child(7n + 1){
    margin-left: 0;
}
.news-class:nth-child(n + 8){
    margin-top: 20px;
}
.news-info-box{
    box-sizing: border-box;
    padding-bottom: 30px;
}
.news-info{
    width: 610px;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 30px;
    position: relative;
}
.news-info:nth-child(odd){
    margin-right: 60px;
}
.news-info-img{
    width: 500px;
    height: 360px;
    display: inline-block;
    vertical-align: bottom;
    overflow: hidden;
}
.news-info-img span{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
}
.news-info-data-box{
    width: calc(100% - 500px);
    display: inline-block;
    vertical-align: bottom;
    box-sizing: border-box;
    padding-left: 8px;
}
.news-info-data{
    font-size: 22px;
    color: #017cc2;
    display: block;
    letter-spacing: 0.2em;
    line-height: 30px;
    font-family: "roboto";
    box-sizing: border-box;
    padding-right: 30px;
}
.news-info-data span{
    display: block;
    text-align: right;
    font-style: italic;
}
.news-info-year-box{
    display: block;
    width: 100%;
    position: relative;
    margin-top: 20px;
}
.news-info-year{
    font-size: 14px;
    color: #333;
    letter-spacing: 0.2em;
    font-family: "roboto";
    text-align: center;
    font-weight: 700;
    line-height: 30px;
    position: relative;
    z-index: 1;
    transition: all .3s linear;
}
.news-info-year-border-box{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
.news-info-year-border-all-box:after{
    content: '';
    width: 100%;
    height: 100%;
    background-color: #83c327;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: scaleX(0);
    transition: all .3s linear;
}
.news-info-year-border-all-box{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.news-info-year-border{
    position: absolute;
    background-color: #d1d1d1;
    transition: all .3s linear;
}
.border-tlw{
    width: 15px;
    height: 1px;
    top: 0;
    left: 0;
}
.border-tlh{
    width: 1px;
    height: 15px;
    top: 0;
    left: 0;
}
.border-brw{
    width: 15px;
    height: 1px;
    bottom: 0;
    right: 0;
}
.border-brh{
    width: 1px;
    height: 15px;
    bottom: 0;
    right: 0;
}
.news-info-news_tag-box{
    position: absolute;
    right: 50px;
    top: 0;
}
.news-info-news_tag{
    position: relative;
    display: inline-block;
    width: 40px;
    text-align: center;
}
.news-info-news_tag span{
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    font-family: "roboto";
    letter-spacing: 0.2em;
    line-height: 14px;
    position: relative;
    z-index: 1;
}
.news-info-news_tag:after{
    content: '';
    width: 100%;
    height: 4px;
    display: block;
    background-color: #f9c300;
    position: absolute;
    bottom: 0px;
    left: 0;
    z-index: 0;
}
.news-info-title{
    font-size: 18px;
    font-weight: bold;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .3s linear;
}
.news-info-text{
    width: 500px;
    font-size: 14px;
    color: #555;
    letter-spacing: 0.06em;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 44px;
    text-align: justify;
}






@media only screen and (max-width: 1280px){
    .news-all-box{
        width: 1200px;
    }
    .news-info{
        width: 570px;
    }
    .news-info-img{
        width: 460px;
        height: 331.2px;
    }
    .news-info-text{
        width: 460px;
    }
    .news-info-data-box {
        width: calc(100% - 460px);
    }
}
@media only screen and (max-width: 1200px){
    .news-box{
        margin-top: 79px;
        min-height: calc(100vh - 79px);
    }
    .news-all-box{
        width: 1000px;
    }
    .news-info{
        width: 480px;
    }
    .news-info:nth-child(odd) {
        margin-right: 40px;
    }
    .news-info-img{
        width: 380px;
        height: 273.6px;
    }
    .news-info-text{
        width: 380px;
    }
    .news-info-data-box {
        width: calc(100% - 380px);
    }
    .news-info-news_tag-box{
        right: 40px;
    }
}
@media only screen and (max-width: 1000px){
    .news-all-box{
        width: 750px;
    }
    .news-title-top-box span, 
    .news-title-bottom-box span{
        font-size: 24px;
        line-height: 32px;
    }
    .news-title-dots-box span{
        font-size: 34px;
        line-height: 14px;
    }
    .rwd-news-class-list{
        width: 100%;
        color: #555;
        height: 46px;
        font-size: 16px;
        letter-spacing: 0.06em;
        text-align: center;
        display: block;
        line-height: 46px;
        position: relative;
        box-sizing: border-box;
        background-color: #eee;
        transition: all .3s linear;
    }
    .rwd-news-class-list:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 10px solid transparent;
        border-top: 10px solid #017cc2;
        border-left: 10px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 5%;
        box-sizing: border-box;
    }
    .news-class-all-box{
        width: 100%;
        position: absolute;
        display: none;
        z-index: 5;
        border: 1px solid #ddd;
        box-sizing: border-box;
        box-shadow: 0px 6px 5px rgba(0,0,0,0.3);
    }
    .news-class{
        width: 100%;
        display: block;
        margin-left: 0;
    }
    .rwd-news-class-list.open{
        box-shadow: 0px 6px 5px rgba(0,0,0,0.3);
    }
    .news-info{
        width: 360px;
    }
    .news-info:nth-child(odd) {
        margin-right: 30px;
    }
    .news-info-img{
        width: 280px;
        height: 201.6px;
    }
    .news-info-text{
        width: 280px;
    }
    .news-info-data-box {
        width: calc(100% - 280px);
    }
    .news-info-news_tag-box{
        right: 30px;
    }
    .news-info-data{
        padding-right: 15px;
    }
}
@media only screen and (max-width: 750px){
    .news-all-box{
        width: 550px;
    }
    .news-info{
        width: 100%;
    }
    .news-info:nth-child(odd) {
        margin-right: 0;
    }
    .news-info-img{
        width: 82%;
        height: 324.72px;
    }
    .news-info-text{
        width: 82%;
    }
    .news-info-data-box {
        width: 18%;
    }
}
@media only screen and (max-width: 550px){
    .news-all-box{
        width: 400px;
    }
    .news-banner-box{
        height: 170px;
    }
    .news-box {
        margin-top: 56px;
        min-height: calc(100vh - 56px);
    }
    .news-title-top-box span, 
    .news-title-bottom-box span{
        font-size: 20px;
        line-height: 24px;
        letter-spacing: 0.2em;
    }
    .news-title-dots-box span{
        font-size: 24px;
        line-height: 2px;
    }
    .news-class-box{
        margin: 20px 0;
    }
    .rwd-news-class-list{
        font-size: 14px;
        height: 36px;
        line-height: 36px;
    }
    .news-class{
        font-size: 14px;
        line-height: 40px;
    }
    .rwd-news-class-list:after{
        border-right: 6px solid transparent;
        border-top: 8px solid #017cc2;
        border-left: 6px solid transparent;
    }
    .news-info{
        margin-bottom: 15px;
    }
    .news-info-img{
        height: 236.16px;
    }
    .news-info-news_tag-box{
        right: 20px;
    }
    .news-info-news_tag{
        width: 32px;
    }
    .news-info-news_tag span{
        font-size: 12px;
    }
    .news-info-news_tag:after{
        height: 2px;
        bottom: 2px;
    }
    .news-info-data{
        font-size: 18px;
        line-height: 20px;
    }
    .news-info-year{
        font-size: 12px;
        line-height: 26px;
    }
    .border-tlw,
    .border-brw{
        width: 10px;
    }
    .border-tlh,
    .border-brh{
        height: 10px;
    }
    .news-info-title{
        font-size: 16px;
        line-height: 30px;
    }
    .news-info-text{
        font-size: 12px;
        min-height: 38px; 
    }
    .news-class-box{
        margin: 20px 0;
    }
}
@media only screen and (max-width: 400px){
    .news-all-box{
        width: 300px;
    }
    .news-info{
        margin-bottom: 10px;
    }
    .news-info-img{
        height: 177.12px;
    }
    .news-info-news_tag-box{
        right: 15px;
    }
    .news-info-news_tag{
        width: 32px;
    }
    .news-info-data{
        font-size: 16px;
        padding-right: 10px;
    }
    .news-info-year{
        letter-spacing: 0.1em;
    }
}



/*hover*/
.news-class.active,
.news-class:hover{
    background-color: #017cc2;
    color: #fff;
}
.news-info:hover .news-info-img span{
    transform: scale(1.1);
}
.news-info:hover .news-info-year-border-all-box:after{
    transform: scaleX(1);
}
.news-info:hover .border-tlw,
.news-info:hover .border-brw{
    width: 0;
}
.news-info:hover .border-tlh,
.news-info:hover .border-brh{
    height: 0;
}
.news-info:hover .news-info-year{
    color: #fff;
}
.news-info:hover .news-info-title{
    color: #f9c300;
}





@media only screen and (min-width: 1001px){
    .news-title-top-box,
    .news-title-bottom-box,
    .news-title-dots-box,
    .news-class,
    .news-info{
        opacity: 0;
    }
    .news-title-box.anima .news-title-top-box{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .news-title-box.anima .news-title-bottom-box{
        animation: fadeInRight 1s ease .1s 1 both;
    }
    .news-title-box.anima .news-title-dots-box{
        animation: fadeInRight 1s ease .2s 1 both;
    }
    .news-title-box.anima .news-title-dots-box span{
        animation: letter-spacing_btos 1s ease .2s 1 both;
    }
    .news-class-box.anima .news-class{
        animation: fade 1s ease 0s 1 both;
    }
    .news-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
}