﻿.index-news-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    background-color: #fff;
    box-sizing: border-box;
    padding: 14.0625rem 0;
}
.index-news-all-box{
    width: 1360px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.index-news-title-box{
    text-align: center;
    box-sizing: border-box;
    padding-bottom: 1.875rem;
}
.index-news-info{
    width: 420px;
    display: inline-block;
    vertical-align: top;
    margin-right: 50px;
    margin-top: 50px;
}
.index-news-info:nth-child(3n){
    margin-right: 0;
}
.index-news-info-img{
    width: 100%;
    height: 280px;
    display: block;
    position: relative;
    overflow: hidden;
}
.index-news-info-date{
    font-family: "Noto Serif TC";
    font-size: 1rem;
    color: #666;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-top: 1.25em;
}
.index-news-info-text{
    font-family: "Noto Serif TC";
    font-size: 1rem;
    color: #000;
    letter-spacing: 0.1em;
    line-height: 1.625rem;
    margin-top: 0.625rem;
    transition: all 0.3s linear;
}




@media only screen and (max-width: 1360px){
    .index-news-box{
        padding: 10rem 0;
    }
    .index-news-all-box{
        width: 1200px;
    }
    .index-news-info{
        width: 380px;
        margin-right: 30px;
        margin-top: 30px;
    }
    .index-news-info-img{
        height: calc((280 / 420) * 380px)
    }
}
@media only screen and (max-width: 1200px){
    .index-news-box{
        padding: 7.5rem 0;
    }
    .index-news-all-box{
        width: 1000px;
    }
    .index-news-info{
        width: 320px;
        margin-right: 20px;
        margin-top: 20px;
    }
    .index-news-info-img{
        height: calc((280 / 420) * 320px)
    }
}
@media only screen and (max-width: 1000px){
    .index-news-box{
        padding: 3.75rem 0;
    }
    .index-news-all-box{
        width: 750px;
    }
    .index-news-info{
        width: 240px;
        margin-right: 15px;
        margin-top: 15px;
    }
    .index-news-info-img{
        height: calc((280 / 420) * 240px)
    }
    .index-news-info-date{
        font-size: 0.875rem;
        margin-top: 0.675rem;
    }
    .index-news-info-text{
        line-height: 1.4;
        margin-top: 0.3125rem;
    }
}
@media only screen and (max-width: 768px){
    .index-news-box{
        padding: 2.5rem 0;
        margin-top: 1.25rem;
    }
    .index-news-all-box{
        width: 550px;
    }
    .index-news-info{
        width: 100%;
        margin-right: 0;
        margin-top: 15px;
    }
    .index-news-info-img{
        height: calc((280 / 420) * 550px)
    }
    .index-news-title-box{
        padding-bottom: 0;
    }
}
@media only screen and (max-width: 550px){
    .index-news-box{
        padding: 1.25rem 0;
    }
    .index-news-all-box{
        width: calc(100vw - 40px);
    }
    .index-news-info{
        width: 100%;
        margin-right: 0;
        margin-top: 15px;
    }
    .index-news-info-img{
        height: calc((280 / 420) * (100vw - 40px))
    }
    .index-news-info-date{
        font-size: 0.75rem;
        margin-top: 0.3125rem;
    }
    .index-news-info-text{
        font-size: 0.875rem;
        line-height: 1.2;
        margin-top: 0.3125rem;
    }
}




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

    .index-news-title-box.index-title-box.anima p{
        animation: fadeInDown 1.4s ease 0s 1 both;
    }
    .index-news-title-box.index-title-box.anima h2,
    .index-news-title-box.index-title-box.anima h3{
        animation: fadeInUp 1.4s ease .4s 1 both;
    }
    .index-news-info{
        opacity: 0;
    }
    .index-news-info.anima{
        animation: fadeInUp 1.4s ease 0s 1 both; 
    }
}