﻿.news-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding-top: 80px;
    min-height: 100vh;
    overflow: hidden;
}
.news-all-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding: 120px 0;
    font-size: 0;
}
.news-left-box{
    width: 930px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.news-info{
    width: 420px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    margin-right: 90px;
}
.news-info:nth-child(2n){
    margin-right: 0;
}
.news-info:nth-child(n + 3){
    margin-top: 50px;
}
.news-info-img-box{
    width: 100%;
    height: calc((320 / 420) * 420px);
    display: block;
    position: relative;
    overflow: hidden;
}
.news-info-text{
    font-family: 'Noto Sans TC';
    font-size: 18px;
    color: #000;
    line-height: 1.4;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding-top: 10px;
    padding-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-right-box{
    width: 280px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    margin-left: 90px;
}
.news-categroy-title{
    font-family: 'Noto Sans TC';
    font-size: 18px;
    color: #000;
    line-height: 1;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.news-categroy{
    display: block;
    position: relative;
    margin-top: 20px;
}
.news-categroy>i{
    font-size: 16px;
    color: #c30d23;
    line-height: 20px;
    letter-spacing: 0.06em;
    width: 25px;
    position: relative;
    transition: all .3s linear .3s;
}
.news-categroy>p{
    width: calc(100% - 25px);
    font-size: 16px;
    color: #000;
    line-height: 20px;
    letter-spacing: 0.06em;
    display: inline-block;
    vertical-align: top;
    font-family: 'Noto Sans TC';
    position: relative;
    transition: all .3s linear;
}
.news-otherNews-box{
    margin-top: 50px;
}
.news-otherNews-info{
    display: block;
    position: relative;
    margin-top: 20px;
    transition: all .3s linear;
}
.news-otherNews-info-img-box{
    width: 60px;
    height: 60px;
    display: inline-block;
    vertical-align: top;
}
.news-otherNews-info-text-box{
    width: calc(100% - 60px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.news-otherNews-info-text{
    font-family: 'Noto Sans TC';
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    letter-spacing: 0.06em;
    box-sizing: border-box;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}



.news-pages-info-title>h2{
    font-family: 'Noto Sans TC';
    font-size: 28px;
    color: #000;
    line-height: 30px;
    letter-spacing: 0.06em;
}
.news-pages-info{
    margin-top: 30px;
    margin-bottom: 40px;
}
.news-pages-info-date-box>span {
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    font-family: 'Noto Sans TC','Roboto';
    font-weight: 300;
    line-height: 26px;
    color: #000;
    letter-spacing: 0.06em;
    margin-right: 10px;
}
.news-pages-info-date-box>p {
    display: inline-block;
    vertical-align: bottom;
    font-size: 16px;
    font-family: 'Roboto';
    font-weight: 300;
    line-height: 20px;
    color: #000;
    letter-spacing: 0.06em;
}
.news-pages-info-categroy{
    font-family: 'Noto Sans TC';
    font-weight: 300;
    font-size: 16px;
    color: #666;
    line-height: 26px;
    letter-spacing: 0.06em;
}
.news-pages-info-text{
    font-family: 'Noto Sans TC','Roboto';
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: #000;
    line-height: 2;
    margin-top: 30px;
}
.news-pages-arrow-box{
    text-align: center;
    margin-top: 100px;
}
.news-pages-arrow{
    display: inline-block;
    vertical-align: middle;
    margin: 0 30px;
    position: relative;
}
.news-pages-arrow>p{
    font-size: 16px;
    color: #000;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.1em;
    line-height: 40px;
    display: inline-block;
    vertical-align: middle;
}
.news-pages-arrow>i{
    font-size: 16px;
    color: #c30d23;
    letter-spacing: 0.1em;
    line-height: 40px;
    display: inline-block;
    vertical-align: middle;
}
.news-pages-arrow-prev>p{
    margin-left: 10px;
}
.news-pages-arrow-next>p{
    margin-right: 10px;
}
.news-pages-arrow-back>p{
    color: #666;
    transition: all .3s linear;
}






@media only screen and (max-width: 1300px){
    .news-all-box{
        width: 1200px;
    }
    .news-left-box{
        width: 830px;
    }
    .news-info{
        width: 390px;
        margin-right: 50px;
    }
    .news-info-img-box {
        height: calc((320 / 420) * 390px);
    }
}
@media only screen and (max-width: 1200px){
    .news-all-box{
        width: 1000px;
    }
    .news-left-box{
        width: 700px;
    }
    .news-info{
        width: 325px;
        margin-right: 50px;
    }
    .news-info-img-box {
        height: calc((320 / 420) * 325px);
    }
    .news-right-box{
        width: 250px;
        margin-left: 50px;
    }
}
@media only screen and (max-width: 1000px){
    .news-all-box{
        width: 750px;
        padding: 60px 0;
    }
    .news-left-box{
        width: 530px;
    }
    .news-info{
        width: 255px;
        margin-right: 20px;
    }
    .news-info:nth-child(n + 3) {
        margin-top: 20px;
    }
    .news-info-img-box {
        height: calc((320 / 420) * 255px);
    }
    .news-info-text{
        font-size: 16px;
        padding-bottom: 0;
    }
    .news-right-box{
        width: 200px;
        margin-left: 20px;
    }
    .news-otherNews-info-img-box {
        width: 50px;
        height: 50px;
    }
    .news-otherNews-info-text-box{
        width: calc(100% - 50px);
        padding: 0;
        padding-left: 15px;
    }
    .news-otherNews-info-text{
        line-height: 20px;
        font-size: 14px;
    }
}
@media only screen and (max-width: 768px){
    .news-all-box{
        width: 550px;
        padding: 40px 0;
        display: flex;
        flex-direction: column-reverse;
    }
    .news-right-box{
        width: 100%;
        margin-left: 0;
    }
    .news-categroy-title{
        display: none;
    }
    .rwd-news-categroy{
        position: relative;
        font-family: 'Noto Sans TC','Roboto';
        font-size: 18px;
        letter-spacing: 0.06em;
        color: #000;
        line-height: 20px;
        text-align: center;
        box-sizing: border-box;
        padding: 10px 0;
    }
    .rwd-news-categroy::before {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 6px solid transparent;
        border-top: 8px solid #000;
        border-left: 6px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 5%;
        box-sizing: border-box;
    }
    .rwd-news-categroy::after {
        content: '';
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background-color: #000;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .news-categroy-all-box{
        width: 100%;
        display: none;
        box-sizing: border-box;
        padding: 5px 0;
        border: 1px solid #000;
        position: absolute;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
        background-color: #fff;
        transform: translateY(-2px);
        z-index: 9;
    }
    .news-categroy {
        width: 100%;
        margin: 0;
        font-size: 16px;
        padding: 10px 5px;
        box-sizing: border-box;
        text-align: center;
    }
    .news-otherNews-box{
        display: none;
    }
    .news-left-box{
        width: 100%;
        display: block;
        margin-top: 40px;
    }
    .news-info {
        width: 265px;
    }
    .news-info-img-box {
        height: calc((320 / 420) * 265px);
    }

    .news-pages-arrow-box{
        margin-top: 60px;
    }
}
@media only screen and (max-width: 550px){
    .news-box{
        padding-top: 60px;
    }
    .news-all-box{
        width: calc(100vw - 20px);
        padding: 20px 0;
    }
    .news-left-box{
        margin-top: 20px;
    }
    .news-info {
        width: calc((100vw - 30px) / 2);
        margin-right: 10px;
    }
    .news-info-img-box {
        height: calc((320 / 420) * ((100vw - 30px) / 2));
    }
    .news-info-text{
        font-size: 14px;
        padding-top: 5px;
    }
    .news-info:nth-child(n + 3) {
        margin-top: 10px;
    }

    .news-pages-info-title>h2{
        font-size: 20px;
        line-height: 1.2;
    }
    .news-pages-info {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    .news-pages-info-date-box>span{
        font-size: 14px;
        line-height: 18px;
        margin-right: 5px;
    }
    .news-pages-info-date-box>p{
        font-size: 14px;
        line-height: 14px;
    }
    .news-pages-info-categroy{
        font-size: 14px;
        line-height: 20px;
    }
    .news-pages-info-text{
        line-height: 1.4;
        margin-top: 5px;
    }
    .news-pages-arrow-box{
        margin-top: 40px;
    }
    .news-pages-arrow{
        margin: 0 15px;
    }
    .news-pages-arrow>i{
        font-size: 14px;
        line-height: 30px;
    }
    .news-pages-arrow>p{
        font-size: 14px;
        line-height: 30px;
        letter-spacing: 0.06em;
    }
    .news-pages-arrow-prev>p {
        margin-left: 5px;
    }
    .news-pages-arrow-next>p {
        margin-right: 5px;
    }
}
@media only screen and (max-width: 350px){
    .news-info:nth-child(n) {
        width: calc(100vw - 20px);
        margin-right: 0;
        margin-top: 10px;
        display: block;
    }
    .news-info:nth-child(1) {
        margin-top: 0;
    }
    .news-info-img-box {
        height: calc((320 / 420) * (100vw - 20px));
    }
    .news-pages-arrow-box{
        margin-top: 20px;
    }
}



@media only screen and (min-width: 769px){
    .news-info:hover .main-bg{
        transform: scale(1.1);
    }
    .news-info .main-bg::after{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.2);
        opacity: 0;
        transition: all .3s ease;
    }
    .news-info:hover .main-bg::after{
        opacity: 1;
    }
    .news-categroy::before{
        content: '';
        position: absolute;
        top: -20%;
        left: 0;
        width: 0%;
        height: 140%;
        background-color: #c30d23;
        transform-origin: left;
        pointer-events: none;
        transition: all .3s linear;
    }
    .news-categroy:hover::before,
    .news-categroy.active::before{
        width: 100%;
    }
    .news-categroy:hover>i,
    .news-categroy.active>i{
        transform: translateX(-10px);
        opacity: 0;
        transition: all 0s linear;
    }
    .news-categroy:hover>p,
    .news-categroy.active>p{
        color: #fff;
    }
    .news-otherNews-info:hover{
        background-color: #efefef;
        box-shadow: 0 0 10px rgba(0,0,0,0.3);
    }
    .news-pages-arrow-prev::after,
    .news-pages-arrow-back::after,
    .news-pages-arrow-next::after{
        content: '';
        width: 0%;
        height: 1px;
        background-color: #c30d23;
        position: absolute;
        bottom: 7px;
        right: 0;
        transition: all .3s linear;
    }
    .news-pages-arrow-back::after{
        width: 100%;
        transform: scaleX(0);
    }
    .news-pages-arrow-next::after{
        right: initial;
        left: 0;
    }
    .news-pages-arrow-prev:hover::after,
    .news-pages-arrow-next:hover::after{
        width: 100%;
    }
    .news-pages-arrow-back:hover p{
        color: #c30d23;
    }
    .news-pages-arrow-back:hover::after{
        transform: scaleX(1);
    }

    /* .news-info,
    .news-page-info-box,
    .news-pages-arrow-box,
    .news-categroy-box,
    .news-otherNews-box,
    .news-pages-info-box{
        opacity: 0;
    }
    .news-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .news-page-info-box.anima,
    .news-pages-arrow-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .news-categroy-box.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .news-otherNews-box.anima{
        animation: fadeInLeft 1s ease 0.3s 1 both;
    }
    .news-pages-info-box.anima{
        animation: fade 1s ease 0s 1 both;
    } */
    
}