﻿.index-news-box{
    width: 100%;
    display: block;
    position: relative;
    background-color: #f5f5f5;
    box-sizing: border-box;
    padding: 0 20px;
}
.index-news-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
    padding: 40px 0;
}
.index-news-title-box{
    text-align: center;
    margin-bottom: 70px;
}
.index-news-title-en{
    font-size: 26px;
    font-family: "Roboto";
    font-weight: 700;
    letter-spacing: 0.1em;
}
.index-news-title-ch{
    display: inline-block;
    width: 210px;
    font-size: 24px;
    font-family: "Noto Sans TC";
    color: #000;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-top: 10px;
    position: relative;
}
.index-news-title-ch:after{
    content: '';
    width: 1px;
    height: 11px;
    display: block;
    background-color: #000;
    position: absolute;
    bottom: calc(50% - 6px);
    left: 0;
}
.index-news-title-ch:before{
    content: '';
    width: 1px;
    height: 11px;
    display: block;
    background-color: #000;
    position: absolute;
    bottom: calc(50% - 6px);
    right: 0;
}
.index-news-info-box{
    display: grid;
    grid-template-columns: repeat(3 , minmax(0, 1fr));
    column-gap: 60px;
    row-gap: 70px;
}
.index-news-info{
    border-top: 1px solid #d1d1d1;
    border-bottom: 1px solid #d1d1d1;
    box-sizing: border-box;
    padding: 30px 0;
}
.index-news-info-tag{
    width: 60px;
    font-size: 14px;
    font-family: "Roboto";
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    background-color: #000;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    line-height: 30px;
    margin-right: 8px;
}
.index-news-info-data{
    font-size: 14px;
    color: #888;
    font-family: "Roboto";
    font-weight: 300;
    letter-spacing: 0.06em;
    display: inline-block;
    vertical-align: middle;
}
.index-news-info-title-ch{
    font-size: 18px;
    color: #000;
    font-family: "Roboto","Noto Sans TC";
    font-weight: 700;
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 10px;
}
.index-news-info-title-en{
    font-size: 18px;
    color: #a62a32;
    font-family: "roboto","Noto Sans TC";
    font-weight: 700;
    letter-spacing: 0.06em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 5px;
}
.index-news-info-text-box{
    font-size: 14px;
    font-family: "Noto Sans TC";
    color: #555;
    letter-spacing: 0.06em;
    margin-top: 10px;
    line-height: 1.8;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: all .3s linear;
}
.index-news-info-more-box{
    text-align: center;
    margin-top: 70px;
}
.index-news-info-more-box a{
    font-size: 18px;
    font-family: "Roboto";
    font-weight: 700;
    color: #000;
    transition: all .3s linear;
}
.index-news-info-more-box a span{
    font-weight: 700;
    letter-spacing: 0.06em;
    margin: 0 20px;
    color: #000;
    transition: all .3s linear;
}

@media only screen and (max-width: 1280px){
    .index-news-all-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .index-news-all-box{
        width: 750px;
    }
    .index-news-info{
        padding: 20px 0;
    }
    .index-news-info-tag{
        font-size: 12px;
        width: 50px;
        line-height: 24px;
    }
    .index-news-info-data{
        font-size: 12px;
    }
    .index-news-info-title-ch{
        font-size: 16px;
        margin-top: 5px;
    }
    .index-news-info-title-en{
        font-size: 16px;
    }
    .index-news-info-text-box{
        font-size: 12px;
        margin-top: 5px;
    }
    .index-news-title-box{
        margin-bottom: 50px;
    }
    .index-news-info-more-box{
        margin-top: 40px;
    }
}
@media only screen and (max-width: 750px){
    .index-news-all-box{
        width: 550px;
        padding: 20px 0;
    }
    .index-news-info-box{
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0px;
    }
    .index-news-info{
        width: 100%;
        padding: 20px 0;
        border-bottom: none;
    }
    .index-news-info:last-child{
        border-bottom: 1px solid #d1d1d1;
    }
    .index-news-title-en{
        font-size: 22px;
    }
    .index-news-title-ch{
        font-size: 20px;
        width: 160px;
        margin-top: 10px;
    }
    .index-news-title-box{
        margin-bottom: 30px;
    }
    .index-news-info-more-box{
        margin-top: 20px;
    }
}
@media only screen and (max-width: 550px){
    .index-news-all-box{
        width: 95%;
    }
    .index-news-title-en{
        font-size: 18px;
    }
    .index-news-title-ch{
        font-size: 16px;
        width: 130px;
        margin-top: 0;
    }
    .index-news-title-ch:before,
    .index-news-title-ch:after{
        display: none;
    }
    .index-news-title-box{
        margin-bottom: 15px;
    }
    .index-news-info-title-ch{
        font-size: 14px;
    }
    .index-news-info-title-en{
        font-size: 14px;
        margin-top: 0;
    }
    .index-news-info-text-box{
        margin-top: 0;
    }
    .index-news-info{
        padding: 10px 0;
    }
    .index-news-info-more-box{
        font-size: 16px;
        margin-top: 15px;
    }
}


/*hover*/
.index-news-info:hover{
    color: #a62a32;
}
.index-news-info:hover .index-news-info-text-box{
    color: #a62a32;
}
.index-news-info-more-box a:hover{
    color: #a62a32;
}
.index-news-info-more-box a:hover span{
    margin: 0 30px;
    letter-spacing: 2px;
    color: #a62a32;
}

@media only screen and (min-width: 1001px){
    .index-news-title-en,
    .index-news-title-ch,
    .index-news-title-ch:before,
    .index-news-title-ch:after,
    .index-news-info,
    .index-news-info-more-box,
    .index-about-follow-title,
    .index-about-follow-btn{
        opacity: 0;
    }
    .index-news-title-en.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-news-title-ch.anima{
        animation: fade 1s ease .4s 1 both;
    }
    .index-news-title-ch.anima:before{
        animation: title_b_fadeInLeft 1s ease .5s 1 both;
    }
    .index-news-title-ch.anima:after{
        animation: title_b_fadeInRight 1s ease .5s 1 both;
    }
    .index-news-info.anima:nth-child(1){
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-news-info.anima:nth-child(2){
        animation: fadeInRight 1s ease .3s 1 both;
    }
    .index-news-info.anima:nth-child(3){
        animation: fadeInRight 1s ease .6s 1 both;
    }
    .index-news-info-more-box.anima{
        animation: pulseS 1s ease 0s 1 both;
    }
    .index-about-follow-title.anima{
        animation: fadeInDown 1s ease .4s 1 both;
    }
    .index-about-follow-btn.anima{
        animation: fade 1s ease .4s 1 both;
    }
}

