﻿.news-box{
    width: 100%;
    display: block;
    position: relative;
    background-color: #f5f5f5;
}
.news-all-box {
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    box-sizing: border-box;
    padding-bottom: 40px;
}
.main-page-box{
    width: 100%;
    display: block;
}
.main-page{
    font-size: 14px;
    color: #888;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 0.06em;
    position: relative;
    transition: all .3s linear;
}
a.main-page{
    color: #601986;
    margin-right: 18px;
}
a.main-page::after{
    content: '/';
    display: block;
    font-size: 14px;
    color: #cccccc;
    position: absolute;
    top: 0;
    right: -13px;
}
.news-info-box{
    width: 100%;
    display: block;
    background-color: #fff;
    margin-top: 20px;
}
.news-info-line{
    width: 100%;
    height: 10px;
    display: block;
    background: #c42272;
    position: relative;
}
.news-info{
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 60px 100px;
}
.news-info-date{
    font-size: 14px;
    color: #555;
    letter-spacing: 0.06em;
    font-family: 'roboto';
    font-weight: 300;
}
.news-info-title{
    font-size: 28px;
    font-family: 'Noto Serif TC';
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #c42272;
}
.news-info-edit-box{
    font-size: 16px;
    color: #555;
    letter-spacing: 0.06em;
    line-height: 2;
    display: block;
    margin: 30px 0;
}
.news-info-arrow-box{
    text-align: center;
}
.news-info-arrow{
    display: inline-block;
    vertical-align: middle;
}
.news-info-arrow span{
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
    color: #601986;
    transition: all .3s linear;
}
.news-info-arrow p{
    font-size: 14px;
    display: inline-block;
    vertical-align: middle;
    color: #888;
    margin: 0 5px;
    transition: all .3s linear;
}
.news-info-arrow-back{
    margin: 0 100px;
}
.news-info-arrow-back p{
    color: #601986;
    margin: 0;
}


a.main-page:hover{
    color: #c42272;
}
.news-info-arrow:hover p{
    color: #c42272;
}
.news-info-arrow:hover span{
    color: #c42272;
}

@media only screen and (max-width: 1200px){
    .news-all-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .news-all-box{
        width: 95vw;
    }
}
@media only screen and (max-width: 750px){
    .news-all-box{
        width: 95vw;
    }
    .news-info-title{
        font-size: 22px;
    }
}
@media only screen and (max-width: 550px){
    .news-info{
        padding: 20px;
    }
    .news-info-date{
        font-size: 12px;
    }
    .news-info-title{
        font-size: 18px;
    }
    .news-info-edit-box{
        font-size: 14px;
        margin: 10px 0;
    }
    .news-info-arrow-back{
        margin: 0 40px;
    }
    .news-info-arrow-box{
        margin-top: 30px;
    }
}


/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .news-info-arrow-next:hover span{
        animation: arrow-right .8s linear 0s infinite alternate;
    }
    .news-info-arrow-prev:hover span{
        animation: arrow-left .8s linear 0s infinite alternate;
    }

    .news-info-edit-box,
    .news-info-title,
    .news-info-date,
    .news-info-arrow{
        opacity: 0;
    }
    .main-page-box.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .news-info-line.anima{
        transform-origin: 0% 50%;
        animation: line 1s ease 0s 1 both;
    }
    .news-info-date.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .news-info-title.anima{
        animation: fadeInRight 1s ease 0.2s 1 both;
    }
    .news-info-edit-box.anima{
        animation: fade 1s ease 0s 1 both;
    }
    .news-info-arrow-box.anima .news-info-arrow{
        animation: fade 1s ease 0s 1 both;
    }
    .news-info-arrow-box.anima .news-info-arrow-prev{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .news-info-arrow-box.anima .news-info-arrow-next{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
}
