﻿.index-news-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding-bottom: 150px;
}
.index-news-all-box{
    width: 1560px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    box-sizing: border-box;
}
.index-news-info-box{
    box-sizing: border-box;
    padding: 50px 0;
}
.index-news-info{
    width: 480px;
    display: inline-block;
    vertical-align: top;
    margin-right: 60px;
}
.index-news-info:nth-child(3n){
    margin-right: 0;
}
.index-news-info:nth-child(n + 4){
    margin-top: 60px;
}
.index-news-info-img{
    width: 100%;
    height: calc((320 / 480) * 480px);
    display: block;
    overflow: hidden;
    position: relative;
}
.index-news-info-text-date{
    font-family: "IBM Plex Sans";
    font-weight: 700;
    font-size: 16px;
    line-height: 36px;
    color: #888;
    letter-spacing: 0.01em;
    margin-top: 10px;
}
.index-news-info-text-date span{
    font-weight: 700;
    color: #e60012;
}
.index-news-info-text-date>span{
    margin-right: 10px;
}
.index-news-info-text{
    font-family: "IBM Plex Sans";
    font-weight: 700;
    font-size: 18px;
    color: #000;
    letter-spacing: 0.06em;
    line-height: 26px;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.index-news-more-box{
    margin-top: 60px;
}
.index-news-more{
    width: 200px;
    display: block;
    margin: 0 auto;
    border-bottom: 1px solid #d1d1d1;
    box-sizing: border-box;
    position: relative;
    transition: all .3s linear;
}
.index-news-more p{
    font-family: "IBM Plex Sans";
    font-size: 20px;
    line-height: 40px;
    color: #000;
    letter-spacing: 0.06em;
    position: relative;
    z-index: 1;
    transition: all .3s linear;
}
.index-news-more span{
    position: absolute;
    right: 0;
    top: calc(50% - 3px);
    transition: all .3s linear;
    z-index: 1;
}
.index-news-more span::before{
    content: "";
    width: 15px;
    height: 1px;
    background-color: #e60012;
    display: inline-block;
    vertical-align: bottom;
    transition: all .3s linear;
}
.index-news-more span::after{
    content: "";
    width: 1px;
    height: 6px;
    background-color: #e60012;
    display: inline-block;
    vertical-align: bottom;
    transform: rotateZ(-45deg);
    position: relative;
    left: -4px;
    transition: all .3s linear;
}



@media only screen and (max-width: 1560px){
    .index-news-all-box{
        width: 1200px;
    }
    .index-news-info{
        width: 380px;
        margin-right: 30px;
    }
    .index-news-info-img{
        height: calc((320 / 480) * 380px);
    }
}
@media only screen and (max-width: 1200px){
    .index-news-all-box{
        width: 1000px;
    }
    .index-news-info{
        width: 320px;
        margin-right: 20px;
    }
    .index-news-info-img{
        height: calc((320 / 480) * 320px);
    }
    .index-news-info-text{
        line-height: 22px;
    }
    .index-news-info:nth-child(n + 4){
        margin-top: 20px;
    }
}
@media only screen and (max-width: 1000px){
    .index-news-all-box{
        width: 750px;
    }
    .index-news-info{
        width: 240px;
        margin-right: 15px;
    }
    .index-news-info-img{
        height: calc((320 / 480) * 240px);
    }
    .index-news-info-text{
        line-height: 22px;
    }
}
@media only screen and (max-width: 768px){
    .index-news-box{
        padding-bottom: 50px;
    }
    .index-news-all-box{
        width: 550px;
    }
    .index-news-info-box{
        padding: 20px 0;
    }
    .index-news-info:nth-child(n){
        width: 265px;
        margin-right: 20px;
        margin-top: 0;
    }
    .index-news-info:nth-child(2n){
        margin-right: 0;
    }
    .index-news-info:nth-child(n + 3){
        margin-top: 20px;
    }
    .index-news-info-img{
        height: calc((320 / 480) * 265px);
    }

    
    #index .index-news-info:nth-child(n){
        width: 100%;
        margin-right: 10px;
        margin-top: 0;
    }
    #index .index-news-info:nth-child(n + 2){
        margin-top: 20px;
    }
    #index .index-news-info-img{
        height: calc((320 / 480) * (100vw - 40px));
    }

    .index-news-more-box{
        margin-top: 20px;
    }
}
@media only screen and (max-width: 550px){
    .index-news-box{
        padding-bottom: 50px;
    }
    .index-news-all-box{
        width: calc(100% - 40px);
    }
    .index-news-info:nth-child(n){
        width: calc((100vw - 40px - 10px) / 2);
        margin-right: 10px;
        margin-top: 0;
    }
    .index-news-info:nth-child(2n){
        margin-right: 0;
    }
    .index-news-info:nth-child(n + 3){
        margin-top: 20px;
    }
    .index-news-info-img{
        height: calc((320 / 480) * ((100vw - 40px - 10px) / 2));
    }
    .index-news-info-text{
        font-size: 16px;
        line-height: 20px;
    }
    .index-news-info-text-date{
        font-size: 14px;
        line-height: 26px;
        margin-top: 5px;
    }
}
@media only screen and (max-width: 400px){
    .index-news-info:nth-child(n){
        width: 100%;
        margin-right: 10px;
        margin-top: 0;
    }
    .index-news-info:nth-child(n + 2){
        margin-top: 20px;
    }
    .index-news-info-img{
        height: calc((320 / 480) * (100vw - 40px));
    }
}
@media only screen and (min-width: 769px){
    .index-news-info:hover .main-bg{
        transform: scale(1.1);
    }
    .index-news-more:hover{
        box-sizing: border-box;
        padding: 0 5px;
        background-color: #e60012;
    }
    .index-news-more:hover p{
        color: #fff;
    }
    .index-news-more:hover span{
        right: 5px;
    }
    .index-news-more:hover span:before,
    .index-news-more:hover span:after{
        background-color: #fff;
    }

    .index-news-more,
    .index-news-info{
        opacity: 0;
    }
    .index-news-title-box.anima .index-works-title-en{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-news-title-box.anima .index-works-title-ch{
        animation: fadeInDown 1s ease .4s 1 both;
    }
    .index-news-info.anima{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .index-news-more.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
}

