﻿.news-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 180px;
    min-height: calc(100vh - 180px);
    background-color: #fafafa;
}
.news-all-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 120px 0;
}
.news-title-box{
    position: relative;
    left: -6px;
}
.news-title-box p{
    font-size: 60px;
    font-family: 'roboto';
    font-weight: 500;
    letter-spacing: 0.06em;
    display: inline-block;
    color: #14213b;
    line-height: 50px;
}
.news-title-box p>span{
    font-size: 16px;
    font-family: '微軟正黑體';
    letter-spacing: 0.06em;
    display: block;
    color: #555555;
    text-align: right;
    padding-right: 5px;
}
.news-info-box{
    margin-top: 60px;
}
.news-info{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 15px 20px;
    border-bottom: 1px solid #d1d1d1;
    transition: all .3s linear;
}
.news-info-date{
    font-size: 16px;
    color: #888;
    letter-spacing: 0.06em;
    font-family: 'roboto';
    font-weight: lighter;
    line-height: 34px;
    transition: all .3s linear;
}
.news-info-text{
    font-size: 18px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all .3s linear;
}


.news-info:hover{
    background-color: #14213b;
}
.news-info:hover .news-info-date{
    color: #6a84b6;
    font-weight: bold;
}
.news-info:hover .news-info-text{
    color: #fff;
    font-weight: bold;
}


/* page */

.news-page-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding: 50px 0;
}
.news-page-path-box{
    width: 100%;
    display: block;
    background-color: #eeeeee;
}
.news-page-path-all-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.news-page-path-all-box .products-page-path,
.news-page-path-all-box .products-page-path::after{
    font-size: 14px;
    line-height: 40px;
}
.news-page-date-box{
    font-size: 16px;
    color: #888;
    letter-spacing: 0.06em;
    font-family: 'roboto';
    font-weight: 300;
    line-height: 36px;
}
.news-page-name-box{
    font-size: 28px;
    color: #14213b;
    font-weight: bold;
    letter-spacing: 0.06em;
    line-height: 36px;
    margin-top: 5px;
}
.news-page-text-box{
    font-size: 16px;
    letter-spacing: 0.06em;
    line-height: 1.6;
    color: #666;
    word-break: break-all;
    box-sizing: border-box;
    padding: 50px 0;
}
.news-page-back-box{
    text-align: center;
    margin-top: 80px;
}
.news-page-back{
    width: 240px;
    line-height: 80px;
    display: inline-block;
    box-sizing: border-box;
    padding: 0 40px;
    border: 1px solid #d1d1d1;
    font-size: 18px;
    color: #888;
    letter-spacing: 0.06em;
    position: relative;
    transition: all .3s linear;
}
.news-page-back::after{
    content: '\f104';
    font-family: 'font awesome 5 free';
    display: block;
    font-weight: bold;
    font-size: 18px;
    color: #14213b;
    position: absolute;
    left: 30px;
    top: 0;
    line-height: 80px;
    transition: all .3s linear;
}



@media only screen and (max-width: 1200px){
    .news-all-box{
        width: 1000px;
        padding: 60px 0;
    }
    .news-page-box,
    .news-page-path-all-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .news-box{
        margin-top: 102px;
        min-height: calc(100% - 102px);
    }
    .news-all-box{
        width: 95%;
        padding: 40px 0;
    }
    .news-info-box{
        margin-top: 40px;
    }
    .news-title-box{
        left: 0;
    }
    .news-title-box p {
        font-size: 50px;
        line-height: 30px;
    }
    .news-title-box p>span {
        font-size: 14px;
    }
    .news-info{
        padding: 10px 15px;
    }
    
    .news-page-box,
    .news-page-path-all-box{
        width: 95%;
    }
}
@media only screen and (max-width: 550px){
    .news-box{
        margin-top: 73px;
        min-height: calc(100% - 73px);
    }
    .news-all-box{
        padding: 20px 0;
    }
    .news-info-box{
        margin-top: 20px;
    }
    .news-title-box p {
        font-size: 30px;
        line-height: 30px;
    }
    .news-title-box p>span {
        font-size: 12px;
        line-height: 20px;
    }
    .news-info{
        padding: 5px 10px;
    }
    .news-info-date{
        font-size: 12px;
        line-height: 26px;
    }
    .news-info-text{
        font-size: 14px;
        line-height: 26px;
    }
    .page{
        margin: 20px 0;
    }
    .page a{
        font-size: 14px;
    }


    .news-page-box{
        padding: 20px 0;
    }
    .news-page-date-box{
        font-size: 14px;
        line-height: 26px;
    }
    .news-page-name-box{
        font-size: 18px;
        line-height: 26px;
        margin-top: 0;
    }
    .news-page-text-box{
        font-size: 14px;
        padding: 20px 0;
    }
    .news-page-back-box{
        margin-top: 20px;
    }
    .news-page-back{
        width: 160px;
        padding: 0 20px;
        font-size: 16px;
        line-height: 40px;
    }
    .news-page-back::after{
        line-height: 40px;
        left: 20px;
        font-size: 16px;
    }
}


.news-page-back:hover{
    background-color: #14213b;
    color: #fff;
}
.news-page-back:hover:after{
    color: #fff;
}



@media only screen and (min-width: 1001px){
    .news-title-box h2 p,
    .news-title-box h2 p>span,
    .news-info,
    .news-other-box,
    .news-page-title-box,
    .products-page-path,
    .news-page-back{
        opacity: 0;
    }
    .news-title-box.anima h2 p{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .news-title-box.anima h2 p>span{
        animation: fade 1s ease .5s 1 both;
    }
    .news-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .news-other-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .news-page-title-box.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .news-page-text-box.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .news-page-path-all-box.anima .products-page-path{
        animation: fade 1s ease 0s 1 both;
    }
    .news-page-back.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
}