﻿.news-page-box{
    width: 1000px;
    max-width: 100%;
    margin: 0 auto;
    display:block; 
    position: relative;
    font-size: 0;
    padding: 40px 0;
}
.news-page-line-box{
    position: relative;
}
.news-page-line{
    width: 1px;
    height: 160px;
    display: block;
    position: absolute;
    left: 0;
    top: 30px;
    background-color: #ccc;
}
.news-page-top-box{
    box-sizing: border-box;
    padding-left: 25px;
    position: relative;
}
.news-page-top-box>span{
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #888;
}
.news-page-title-box{
    text-align: left;
    position: relative;
}
.news-page-title-box:before{
    content: '';
    width: 9px;
    height: 9px;
    display: block;
    position: absolute;
    top: calc(50% - 3px);
    left: -29px;
    background-color: #bf1925;
}
.news-page-title-ch{
    display: inline-block;
    font-size: 36px;
    color: #555;
    font-weight: lighter;
    letter-spacing: 1px;
}
.news-page-title-ch span{
    color: #bf1925;
    font-weight: lighter;
}
.news-page-title-en{
    margin-left: 5px;
    display: inline-block;
    font-size: 16px;
    font-weight: lighter;
    color: #333;
    letter-spacing: 1px;
}

.news-page-path-box{
    box-sizing: border-box;
    padding-top: 5px;
    padding-bottom: 15px;
}
.news-page-path{
    display: inline-block;
    font-size: 14px;
    font-family: "微軟正黑體";
    letter-spacing: 1px;
    color: #888888;
    transition: all .5s ease;
    position: relative;
    padding: 0 10px;
}
.news-page-path:after{
    content: '>';
    font-size: 14px;
    color: #888;
    position: absolute;
    top: 0;
    right: -5px;
}
.news-page-path:nth-child(1){
    padding-left: 0;
}
.news-page-path:nth-child(3){
    color: #000;
    font-weight: bold;
}
.news-page-path:nth-child(3):after{
    content: '';
}
.news-page-article-box{
    display: block;
    padding-left: 25px;
    padding-top: 25px;
    box-sizing: border-box;
}
.news-page-article-list{
    width: 100%;
    margin-bottom: 40px;
    display: block;
    position: relative;
    transition: all .3s linear;
}
.news-page-article-list:before{
    content: '';
    width: 9px;
    height: 9px;
    display: block;
    position: absolute;
    top: 100px;
    left: -29px;
    background-color: #bf1925;
}
.news-page-article-img{
    width: 100%;
    height: 100%;
    display: block;
    margin-top: 15px;
    margin-bottom: 20px;
    transition: all .3s linear;
}
.news-page-article-text-box{
    width: 100%;
    display: block;
}
.news-page-article-text-data{
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: bold;
    color: #bf1925;
    transform: skewX(-10deg);
}
.news-page-article-text-title{
    font-size: 26px;
    color: #000;
    margin: 5px 0;
    width: 100%;
    letter-spacing: 1px;
    font-weight: bold;
}
.news-page-article-text-edit{
    font-size: 14px;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 50px;
}
.news-page-article-info-button{
    width: 160px;
    height: 60px;
    text-align: center;
    display: block;
    margin: 0 auto;
    font-size: 16px;
    color: #888;
    border: 1px solid #ccc;
    padding: 15px 0;
    box-sizing: border-box;
    letter-spacing: 3px;
    font-weight: lighter;
    transition: all .3s linear;
}
/*<---------------------hover----------------------->*/
.news-page-article-info-button:hover{
    background-color: #bf1925;
    color: #fff;
}


@media only screen and (max-width: 1100px){
    .news-page-box{
        margin: 0 auto;
    }
}
@media only screen and (max-width: 1000px){
    .news-page-title-box:before,
    .news-page-article-list:before,
    .news-page-line{
        display: none;
    }
    .news-page-top-box,
    .news-page-article-box{
        padding-left: 0;
    }
    .news-page-box{
        width: 800px;
    }
    .news-page-path-box{
        display: none;
    }
}
@media only screen and (max-width: 800px){
    .news-page-box{
        width: 600px;
    }
}
@media only screen and (max-width: 600px){
    .news-page-box{
        width: 95%;
        padding: 20px 0;
    }
    .news-page-article-box{
        padding-top: 10px;
    }
    .news-page-article-text-title{
        font-size: 22px;
    }
    .news-page-article-text-data{
        font-size: 12px;
    }
    .news-page-article-img{
        margin-top: 0;
        margin-bottom: 10px;
    }
    .news-page-article-info-button{
        width: 100px;
        height: 36px;
        padding: 5px 0;
    }
    .news-page-title-ch{
        font-size: 32px;
    }
    .news-page-title-en{
        font-size: 14px;
    }
}

@media only screen and (max-width: 400px){
    .news-page-title-ch{
        font-size: 28px;
    }
    .news-page-title-en{
        font-size: 12px;
    }

    .news-page-article-text-title{
        font-size: 18px;
    }

}



/*animation*/
/*<-------------動畫------------->*/

@keyframes news_page_title_ch_all {
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes news_page_title_en_all {
    0%{
        transform: translateX(200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes news_page_cube {
    0%{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes news_page_path_all {
    0%{
        transform: translateX(200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes news_page_article_frombottom{
    0%{
        transform: translateY(200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes news_page_leftline_all {
    0%{
        height: 0;
    }
    to {

    }
}
@keyframes news_page_topline_all {
    0%{
        width: 0;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes news_page_title_all {
    0%{
        transform: translateX(200px);
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@media only screen and (min-width: 1001px){
    .news-page-title-ch{
        animation: news_page_title_ch_all 1s ease both;
    }
    .news-page-title-en{
        animation: news_page_title_en_all 1s ease both;
    }
    .news-page-path-box{
        animation: news_page_path_all 1s ease .2s both;
    }
    .news-page-line{
        animation: news_page_leftline_all 1s ease 1s both;
    }
    .news-page-top-box>span{
        animation: news_page_topline_all 1s ease 1s both;
    }
    .news-page-article-text-data{
        animation: news_page_title_all 1s ease .4s both;
    }
    .news-page-article-text-title{
        animation: news_page_title_all 1s ease .8s both;
    }
    .news-page-article-img{
        animation: news_page_article_frombottom 1s ease 1s both;
    }
    .news-page-article-text-edit,
    .news-page-article-info-button{
        opacity: 0;
    }
    .news-page-article-text-edit.anima,
    .news-page-article-info-button.anima{
        animation: news_page_article_frombottom 1s ease both;
    }
    .news-page-title-box:before{
        animation: news_page_cube .8s ease 1s both;
    }
    .news-page-article-list:before{
        animation: news_page_cube .8s ease 2s both;
    }
}