﻿.news-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}
.news-all-box{
    width: 1360px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding: 12.5rem 0;
}
.news-info-box{
    width: 1010px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
}
.news-info{
    width: 460px;
    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: 90px;
}
.news-info-img-box{
    width: 100%;
    height: 320px;
    display: block;
    overflow: hidden;
    position: relative;
}
.news-info-title{
    font-family: "Noto Serif TC";
    font-weight: 700;
    font-size: 1.25rem;
    color: #000;
    letter-spacing: 0.2em;
    line-height: 1.2;
    margin-top: 25px;
}
.news-info-text-box{
    border-left: 1px solid #ddd;
    box-sizing: border-box;
    padding-left: 15px;
    display: block;
    margin-top: 25px;
}
.news-info-text-date{
    font-family: "Noto Serif TC";
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 6.25rem;
}
.news-info-text{
    font-family: "Noto Serif TC";
    font-size: 0.875rem;
    color: #666;
    line-height: 1.2;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 0 5px;
}
.news-info-text-category{
    font-family: "Noto Serif TC";
    font-size: 0.875rem;
    color: #666;
    line-height: 1.4;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.news-category-box{
    width: 260px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    margin-left: 90px;
}
.news-category-title-box{
    font-family: "Noto Serif TC";
    font-weight: 300;
    font-size: 1.125rem;
    color: #000;
    line-height: 1;
    letter-spacing: 0.2em;
    box-sizing: border-box;
    padding: 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}
.news-category-list-box{
    box-sizing: border-box;
    padding: 0 20px;
}
.news-category-list{
    margin-top: 25px;
}
.news-category-list a{
    font-family: "Noto Serif TC";
    font-weight: 300;
    font-size: 1.125rem;
    color: #666;
    line-height: 1.4;
    letter-spacing: 0.2em;
    transition: all .3s linear;
}


/* pages */
.news-pages-text-box{
    border-left: 1px solid #ddd;
    box-sizing: border-box;
    padding-left: 15px;
    display: block;
    margin-top: 25px;
}
.news-pages-date{
    font-family: "Noto Serif TC";
    font-size: 1rem;
    color: #666;
    line-height: 1.2;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 7.25rem;
}
.news-pages-text{
    font-family: "Noto Serif TC";
    font-size: 1rem;
    color: #ddd;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-left: 5px;
    margin-right: 10px;
}
.news-pages-category{
    font-family: "Noto Serif TC";
    font-size: 1rem;
    color: #666;
    line-height: 1.4;
    letter-spacing: 0.2em;
    position: relative;
    display: inline-block;
    vertical-align: top;
}
.news-pages-title{
    font-family: "Noto Serif TC";
    font-size: 2rem;
    color: #000;
    line-height: 1.4;
    letter-spacing: 0.2em;
    margin-top: 20px;
}
.news-pages-edit{
    font-family: "Noto Serif TC";
    font-size: 1.125rem;
    color: #666;
    line-height: 2;
    letter-spacing: 0.2em;
    margin-top: 30px;
}
.news-pages-arrow-box{
    margin-top: 12.5rem;
}
.news-pages-arrow{
    width: 40%;
    font-family: "Noto Serif TC";
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: #000;
    box-sizing: border-box;
    padding: 0 20px;
    display: inline-block;
    vertical-align: middle;
}
.news-pages-arrow span{
    width: 2rem;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s linear;
}
.news-pages-arrow p{
    max-width: calc(100% - 2rem);
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s linear;
}
.news-pages-arrow-next{
    text-align: right;
}
.news-pages-arrow-back{
    width: 20%;
    font-family: "Noto Serif TC";
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.06em;
    color: #666;
    box-sizing: border-box;
    padding: 0 20px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}
.news-pages-arrow-back>a{
    font-weight: 300;
    transition: all 0.3s linear;
}




@media only screen and (max-width: 1360px){
    .news-all-box{
        width: 1200px;
        padding: 7.5rem 0;
    }
    .news-info-box {
        width: calc(100% - 350px);
    }
    .news-info {
        width: 380px;
    }
    .news-info-img-box{
        height: calc((320 / 460) * 380px);
    }
}
@media only screen and (max-width: 1200px){
    .news-all-box{
        width: 1000px;
    }
    .news-info-box {
        width: calc(100% - 310px);
    }
    .news-info {
        width: 320px;
        margin-right: 50px;
    }
    .news-info-img-box{
        height: calc((320 / 460) * 320px);
    }
    .news-category-box{
        margin-left: 50px;
    }
}
@media only screen and (max-width: 1000px){
    .news-all-box{
        width: 750px;
        padding: 3.75rem 0;
    }
    .news-info-box {
        width: calc(100% - 230px);
    }
    .news-info {
        width: 250px;
        margin-right: 20px;
    }
    .news-info:nth-child(n + 3){
        margin-top: 40px;
    }
    .news-info-img-box{
        height: calc((320 / 460) * 250px);
    }
    .news-info-title{
        font-size: 1rem;
        margin-top: 15px;
    }
    .news-info-text-box{
        margin-top: 10px;
    }
    .news-category-box {
        width: 210px;
        margin-left: 20px;
    }
    .news-category-title-box{
        padding: 0 10px;
        padding-bottom: 15px;
    }
    .news-category-list-box{
        padding: 0 10px;
    }
    .news-category-list{
        margin-top: 15px;
    }
    .news-pages-arrow-box{
        margin-top: 3.75rem;
    }
}
@media only screen and (max-width: 768px){
    .news-all-box{
        width: 550px;
        display: flex;
        display: -webkit-flex;
        flex-direction: column-reverse;
    }
    .news-category-box{
        width: 100%;
        margin-left: 0px;
    }
    .news-category-title-box{
        padding: 0;
        padding-bottom: 20px;
        border-bottom: none;
    }
    .news-category-list-box{
        padding: 0;
        position: relative;
    }
    .rwd-news-category{
        width: 100%;
        height: 40px;
        border: 1px solid #666;
        font-family: "Noto Serif TC";
        font-weight: 300;
        font-size: 1.125rem;
        color: #666;
        line-height: 36px;
        letter-spacing: 0.06em;
        text-align: center;
        display: block;
        position: relative;
        box-sizing: border-box;
    }
    .rwd-news-category:after {
        content: '';
        width: 0px;
        height: 0px;
        margin: 0 auto;
        border-right: 6px solid transparent;
        border-top: 10px solid #666;
        border-left: 6px solid transparent;
        display: block;
        position: absolute;
        bottom: calc(50% - 5px);
        right: 5%;
        box-sizing: border-box;
    }
    .news-category-list-all-box{
        position: absolute;
        width: 100%;
        background-color: #fff;
        border: 1px solid #666;
        border-top: none;
        box-sizing: border-box;
        box-shadow: 0 5px 5px rgba(0, 0, 0, 0.35);
        padding: 5px 0;
        z-index: 3;
        display: none;
    }
    .news-category-list{
        width: 100%;
        margin-top: 0;
    }
    .news-category-list a{
        width: 100%;
        display: block;
        box-sizing: border-box;
        padding: 10px;
    }
    .news-info-box{
        width: 100%;
        display: block;
        margin-top: 40px;
    }
    .news-info {
        width: 265px;
        margin-right: 20px;
    }
    .news-info-img-box{
        height: calc((320 / 460) * 265px);
    }

    .news-pages-text-box{
        margin-top: 0;
    }
    .news-pages-title{
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        margin-top: 10px;
    }
    .news-pages-edit{
        margin-top: 20px;
        letter-spacing: 0.1em;
        font-size: 1rem;
        line-height: 1.6;
    }
    .news-pages-arrow-box{
        margin-top: 2rem;
    }
    .news-category-list a.active{
        background-color: #025785;
        color: #fff;
    }
}
@media only screen and (max-width: 550px){
    .news-all-box{
        width: calc(100vw - 40px);
        padding: 1.25rem 0;    
    }
    .news-category-title-box{
        font-size: 1rem;
        letter-spacing: 0.06em;
        padding-bottom: 10px;
    }
    .rwd-news-category{
        font-size: 1rem;
        line-height: 38px;
    }
    .news-category-list a{
        padding: 5px 10px;
        font-size: 1rem;
        letter-spacing: 0.06em;
    }
    .news-info-box{
        margin-top: 0px;
    }
    .news-info:nth-child(n) {
        width: 100%;
        margin-top: 20px;
    }
    .news-info-img-box{
        height: calc((320 / 460) * (100vw - 40px));
    }
    .news-info-title{
        letter-spacing: 0.06em;
        margin-top: 10px;
    }
    .news-info-text-box{
        padding-left: 10px;
        margin-top: 5px;
    }
    .news-info-text-date{
        width: 70px;
    }
    .news-info-text-date,
    .news-info-text,
    .news-info-text-category{
        letter-spacing: 0.06em;
        font-size: 0.75rem;
    }

    .news-pages-text-box{
        margin-top: 20px;
    }
    .news-pages-date,
    .news-pages-text,
    .news-pages-category{
        font-size: 0.75rem;
        letter-spacing: 0.06em;
    }
    .news-pages-date{
        width: 70px;
    }
    .news-pages-text{
        margin-right: 5px;
    }
    .news-pages-title{
        font-size: 1.125rem;
        letter-spacing: 0.06em;
    }
    .news-pages-edit{
        letter-spacing: 0.06em;
        line-height: 1.4;
        margin-top: 10px;
    }
    .news-pages-arrow-box {
        margin-top: 1.5rem;
    }
    .news-pages-arrow{
        width: calc((100% - 70px) / 2);
        padding: 0;
        font-size: 0.875rem;
    }
    .news-pages-arrow span {
        width: 1.375rem;
    }
    .news-pages-arrow p {
        max-width: calc(100% - 1.375rem);
    }
    .news-pages-arrow-back {
        width: 70px;
        padding: 0 10px;
        font-size: 0.875rem;
    }
}




@media only screen and (min-width: 769px){
    .news-info:hover .main-bg{
        transform: scale(1.1);
    }
    .news-category-list a:hover,
    .news-category-list a.active{
        color: #025785;
    }

    .news-pages-arrow-back>a:hover{
        color: #025785;
    }
    .news-pages-arrow>a:hover p,
    .news-pages-arrow>a:hover span{
        color: #025785;
    }
    .news-pages-arrow>a p{
        position: relative;
    }
    .news-pages-arrow>a p::after{
        content: '';
        width: 0%;
        height: 1px;
        background-color: #025785;
        position: absolute;
        bottom: 0;
        left: 0;
        transition: all .3s linear;
    }
    .news-pages-arrow>a:hover p:after{
        width: 100%;
    }


    .news-info,
    .news-category-box,
    .news-pages-text-box,
    .news-pages-title,
    .news-pages-edit,
    .news-pages-arrow-box{
        opacity: 0;
    }
    .news-info.anima{
        animation: fadeInUp 1.4s ease 0s 1 both;
    }
    .news-category-box.anima{
        animation: fadeInRight 1.4s ease 0s 1 both;
    }
    .news-pages-text-box.anima{
        animation: fadeInRight 1.4s ease 0s 1 both;
    }
    .news-pages-title.anima{
        animation: fade 1.4s ease 0s 1 both;
    }
    .news-pages-edit.anima{
        animation: fade 1.4s ease 0s 1 both;
    }
    .news-pages-arrow-box.anima{
        animation: fadeInUp 1.4s ease 0s 1 both;
    }

    
}