﻿.index-news-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    font-size: 0;
    box-sizing: border-box;
    padding-top: 85px;
}
.index-news{
    display: block;
    width: 1560px;
    max-width: 100%;
    background-color: #f5f5f5;
    text-align: right;
    box-sizing: border-box;
    padding: 85px 0;
    position: relative;
}
.index-news-all{
    width: 1380px;
    max-width: 100%;
    display: inline-block;
    text-align: left;
}
.index-news-left{
    width: calc(100% - 1200px);
    display: inline-block;
    vertical-align: top;
}
.index-news-title-box{
    margin-bottom: 35px;
}
.index-news-title{
    font-size: 28px;
    font-weight: bold;
    transform: skewX(-10deg);
    letter-spacing: 5px;
    color: #333;
}
.index-news-more-box{
    display: block;
    box-sizing: border-box;
    padding: 8px 0;
    border-bottom: 1px solid #d1d1d1;
}
.index-news-more{
    width: calc(100% - 14px);
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #555;
    letter-spacing: 4px;
    transition: all .3s linear;
}
.index-news-more-arrow{
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #555;
    font-weight: lighter;
    transition: all .3s linear;
}
.index-news-right{
    width: 1200px;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 10px 100px;
}
.index-news-info-box{
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #d1d1d1;
    padding: 20px 0;
    display: block;
}
.index-news-info-data{
    width: 96px;
    font-size: 14px;
    color: #333;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 2px;
    font-family: 'Poppins', "微軟正黑體";
    font-weight: 200;
    margin-right: 40px;
}
.index-news-info-text{    
    width: calc(100% - 143px);
    font-size: 14px;
    color: #333;
    display: inline-block;
    vertical-align: middle;
    letter-spacing: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.index-news-info-text span{
    position: relative;
    transition: all .3s linear; 
}
.index-news-info-text span:after{
    content: '';
    width: 100%;
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 1px;
    background-color: #64bcc1;
    opacity: 0;
    transition: all .3s linear; 

}
.index-news-info-arrow{
    font-size: 14px;
    color: #64bcc1;
    display: inline-block;
    vertical-align: middle;
}
.index-news-topline{
    width: 360px;
    height: 2px;
    display: block;
    background-color: #64bcc1;
}
.index-news-bottomline{
    width: 100%;
    height: 2px;
    display: block;
    background-color: #61942d;
    position: absolute;
    bottom: 0;
    left: 0;
}
.rwd-news-more-box{
    display: none;
}
/*----------hover----------*/
.index-news-more-box:hover .index-news-more{
    color: #61942d;
}
.index-news-more-box:hover .index-news-more-arrow{
    color: #61942d;
    animation: arrow_rtol .8s ease infinite alternate;
}
.index-news-info-box:hover .index-news-info-text{
    color: #64bcc1;
    transform: skewX(-10deg);
}
.index-news-info-box:hover .index-news-info-text span:after{
    opacity: 1;
}

@keyframes arrow_rtol {
    0%{
        transform: translateX(0);
    }
    to {
        transform: translateX(5px);
    }
}



@media only screen and (max-width: 1560px){
    .index-news{
        width: 1380px;
    }
    .index-news-all{
        width: 1200px;
    }
    .index-news-right{
        width: 1000px;
    }
    .index-news-left{
        width: calc(100% - 1000px);
    }
}
@media only screen and (max-width: 1380px){
    .index-news{
        width: 1200px;
    }
    .index-news-all{
        width: 1000px;
    }
    .index-news-right{
        width: 800px;
    }
    .index-news-left{
        width: calc(100% - 800px);
    }
}
@media only screen and (max-width: 1200px){
    .index-news{
        width: 1000px;
    }
    .index-news-all{
        width: 800px;
    }
    .index-news-right{
        width: 650px;
    }
    .index-news-left{
        width: calc(100% - 650px);
    }
}
@media only screen and (max-width: 1000px){
    .index-news{
        width: 100%;
        border-bottom: none;
    }
    .index-news-all{
        width: 750px;
        display: block;
        margin: 0 auto;
    }
    .index-news-left{
        width: 100%;
        display: block;
    }
    .index-news-title-box{
        margin-bottom: 0;
    }
    .index-news-right{
        width: 100%;
        padding: 10px 0;
    }
    .index-news-more-box{
        width: 180px;
        display: block;
        box-sizing: border-box;
        padding: 8px 0;
        border-bottom: 1px solid #d1d1d1;
    }
    .index-news-more{
        width: calc(100% - 14px);
        display: inline-block;
        vertical-align: middle;
        font-size: 14px;
        color: #555;
        letter-spacing: 4px;
    }
    .index-news-left .index-news-more-box{
        display: none;
    }
    .rwd-news-more-box{
        margin-top: 30px;
    }
    .index-news-box{
        padding: 0;
    }
    .index-news-topline,
    .index-news-bottomline{
        display: none;
    }
}
@media only screen and (max-width: 750px){
    .index-news{
        padding: 55px 0;
    }
    .index-news-all{
        width: 550px;
    }
}
@media only screen and (max-width: 550px){
    .index-news-all{
        width: 400px;
    }
    .index-news{
        padding: 25px 0;
    }
    .index-news-title{
        font-size: 22px;
    }
    .index-news-info-box{
        padding: 10px 0;
    }
    .index-news-info-data{
        font-size: 12px;
        margin-right: 20px;
        width: 75px;
    }
    .index-news-info-text{
        font-size: 12px;
        width: calc(100% - 102px);
        box-sizing: border-box;
        padding-right: 10px;
    }
    .rwd-news-more-box{
        margin-top: 20px;
    }
    .index-news-more-box{
        padding: 5px 0;
        width: 130px;
    }
}
@media only screen and (max-width: 400px){
    .index-news-all{
        width: 300px;
    }
}


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

@keyframes animation_scaleY {
    0%{
        transform:  scaleY(0);
    }
    to {
        transform:  scaleY(1);
        opacity: 1;
    }
}
@keyframes animation_scaleX {
    0%{
        transform:  scaleX(0);
    }
    to {
        transform:  scaleX(1);
        opacity: 1;
    }
}
@keyframes animation_fade {
    0%{
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes animation_rtol {
    0%{
        transform: translateX(50px);
    }
    to {
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes animation_ltor {
    0%{
        transform: translateX(-50px);
    }
    to {
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes animation_ttob {
    0%{
        transform: translateY(-50px);
    }
    to {
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes animation_btot {
    0%{
        transform: translateY(50px);
    }
    to {
        transform: translateX(0px);
        opacity: 1;
    }
}
@keyframes animation_heighttoall {
    0%{
        height: 0;
    }
    to {
        height: 100%;
        opacity: 1;
    }
}
@keyframes animation_widthtoall {
    0%{
        width: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}
@keyframes animation_ch_line {
    0%{
        width: 0;
    }
    to {
        width: 360px;
        opacity: 1;
    }
}
@media only screen and (min-width: 1001px){
    .index-news-title,
    .index-news-more-box,
    .index-news-info-box,
    .index-news-topline,
    .index-news-bottomline{
        opacity: 0;
    }
    .index-news-title.active{
        animation: animation_ltor_skewX 1s ease both;
    }
    .index-news-more-box.active{
        animation: animation_ltor 1s ease both;
    }
    .index-news-info-box.active .index-news-info-arrow{
        animation: animation_ltor 1s ease .1s both ;
    }
    .index-news-info-box.active{
        animation: animation_btot 1s ease both;
    }
    .index-news-box.active .index-news-topline{
        animation: animation_ch_line 1s ease both;
    }
    .index-news-box.active .index-news-bottomline{
        animation: animation_widthtoall 2s ease both;
    }
}