﻿.index-insights-box{
    width: 100%;
    display: block;
    position: relative;
    background-color: #fafafa;
    box-sizing: border-box;
    /* padding: 100px 0; */
    overflow: hidden;
    padding-bottom: 45px;
}
.index-insights-all-box{
    width: 1600px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
}
.index-insights-title-box{
    width: 100%;
    display: block;
    text-align: center;
}
.index-title-box h2{
    font-size: 24px;
    color: #000;
    line-height: 40px;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.1em;
}
.index-title-box h3{
    font-size: 24px;
    color: #666;
    line-height: 40px;
    font-family: 'Roboto';
    font-weight: 300;
    letter-spacing: 0.06em;
}
.index-insights-info-box{
    margin-top: 100px;
}
.index-insights-l-box,
.index-insights-r-box{
    width: calc((100% - 60px) / 2);
    display: inline-block;
    vertical-align: top;
}
.index-insights-r-box{
    margin-left: 60px;
}
.index-insights-info{
    width: 100%;
    display: block;
    margin-bottom: 60px;
    background-color: #fff;
    position: relative;
    transition: all .3s linear;
}
.index-insights-info:last-child{
    margin-bottom: 0;
}
.index-insights-info-img-box{
    width: 370px;
    height: 370px;
    display: inline-block;
    vertical-align: top;
    position: relative;
    overflow: hidden;
}
.index-insights-info-text-box{
    width: calc(100% - 370px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding: 20px 25px;
    padding-bottom: 10px;
}
.index-insights-info-class-box p{
    width: 150px;
    display: inline-block;
    vertical-align: middle;
    line-height: 50px;
    background-color: #104a7b;
    font-size: 16px;
    color: #fff;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.1em;
    text-align: center;
}
.index-insights-info-class-box span{
    width: 150px;
    display: inline-block;
    vertical-align: middle;
    line-height: 50px;
    background-color: #f5f5f5;
    font-size: 16px;
    color: #000;
    font-family: 'Roboto';
    letter-spacing: 0.1em;
    text-align: center;
    margin-left: 10px;
}
.index-insights-info-name{
    line-height: 40px;
    font-size: 24px;
    color: #000;
    font-family: 'Noto Sans TC';
    letter-spacing: 0.1em;
    margin-top: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.index-insights-info-text{
    width: 100%;
    height: 180px;
    font-size: 16px;
    color: #666;
    font-family: 'Noto Sans TC';
    font-weight: 300;
    letter-spacing: 0.1em;
    line-height: 30px;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}
.index-insights-info-more-box{
    width: 100%;
    display: block;
    margin-top: 15px;
}
.index-insights-info-more {
    display: inline-block;
}
.index-insights-info-more span{
    display: inline-block;
    vertical-align: middle;
    width: 127px;
    height: 1px;
    background-color: #104a7b;
    position: relative;
}
.index-insights-info-more span::after{
    content: '';
    width: 7px;
    height: 7px;
    background-color: #104a7b;
    position: absolute;
    right: 0;
    top: -3px;
    transition: all .3s linear;
}
.index-insights-info-more p{
    display: inline-block;
    vertical-align: middle;
    font-size: 14px;
    color: #104a7b;
    font-family: 'Roboto';
    letter-spacing: 0.1em;
    line-height: 30px;
    margin-left: 15px;
}


.index-insights-l-box .index-insights-info-img-box{
    width: 100%;
    /* height: 800px; */
    height:auto;
    box-sizing: border-box;
    padding-bottom: 45px;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    flex-direction: column;
}
.index-insights-l-box .index-insights-info-img-box>img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.index-insights-l-box .index-insights-info-text-box{
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    background-color: #fff;
    padding: 30px 30px;
    padding-bottom: 15px;
}
.index-insights-l-box .index-insights-info-name{
    margin-top: 35px;
}
.index-insights-l-box .index-insights-info-text{
    height: 150px;
    -webkit-line-clamp: 5;
}

.imagebox{
    padding-top: 100%;
    position: relative;
    width: 100%;
}




@media only screen and (max-width: 1600px){
    .index-insights-all-box{
        width: 1400px;
    }
    .index-insights-l-box .index-insights-info-img-box{
        height: 700px;
    }
    .index-insights-info-text-box{
        width: calc(100% - 320px);
        padding: 15px 20px;
        padding-bottom: 10px;
    }
    .index-insights-info-class-box p,
    .index-insights-info-class-box span{
        width: 125px;
    }
    .index-insights-info-img-box{
        width: 320px;
        height: 320px;
    }
    .index-insights-info-name{
        margin-top: 10px;
    }
    .index-insights-info-text{
        -webkit-line-clamp: 5;
        height: 150px;
    }
}
@media only screen and (max-width: 1400px){
    .index-insights-all-box{
        width: 1200px;
    }
    .index-insights-l-box .index-insights-info-img-box{
        height: 600px;
    }
    .index-insights-info-text-box{
        width: calc(100% - 270px);
        padding: 10px;
    }
    .index-insights-info-class-box p,
    .index-insights-info-class-box span{
        width: 120px;
    }
    .index-insights-info-img-box{
        width: 270px;
        height: 270px;
    }
    .index-insights-info-name{
        margin-top: 0px;
    }
    .index-insights-info-text{
        -webkit-line-clamp: 4;
        height: 115px;
    }
}
@media only screen and (max-width: 1200px){
    .index-insights-all-box{
        width: 1000px;
    }
    .index-insights-l-box, 
    .index-insights-r-box{
        width: calc((100% - 30px) / 2);
    }
    .index-insights-r-box {
        margin-left: 30px;
    }
    .index-insights-info{
        margin-bottom: 55px;
    }
    .index-insights-l-box .index-insights-info-img-box{
        height: 515px;
        /* padding: 25px; */
    }
    .index-insights-info-text-box{
        width: calc(100% - 230px);
        padding: 10px;
    }
    .index-insights-info-class-box p{
        font-size: 14px;
        line-height: 40px;
    }
    .index-insights-info-class-box span{
        width: 100px;
        font-size: 14px;
        line-height: 40px;
    }
    .index-insights-info-img-box{
        width: 230px;
        height: 230px;
    }
    .index-insights-info-name{
        font-size: 20px;
        line-height: 34px;
        margin-top: 5px;
    }
    .index-insights-info-text{
        height: 100px;
        font-size: 14px;
        line-height: 1.8;
    }
    .index-insights-info-more-box{
        margin-top: 0;
    }
    .index-insights-l-box .index-insights-info-text-box{
        padding: 20px;
    }
    .index-insights-l-box .index-insights-info-name{
        margin-top: 15px;
    }
    .index-insights-l-box .index-insights-info-text {
        height: 100px;
        -webkit-line-clamp: 4;
    }
}
@media only screen and (max-width: 1000px){
    .index-insights-box{
        padding: 60px 0;
    }
    .index-insights-all-box{
        width: 750px;
    }
    .index-insights-info-box{
        margin-top: 60px;
    }
    .index-insights-l-box, 
    .index-insights-r-box{
        width: 100%;
    }
    .index-insights-r-box{
        margin-top: 60px;
        margin-left: 0;
    }
    .index-insights-l-box .index-insights-info-img-box{
        height: initial;
        padding: 0;
        display: block;
    }
    .index-insights-l-box .index-insights-info-img-box>span{
        width: 230px;
        height: 230px;
        display: inline-block;
        vertical-align: middle;
        position: static;
    }
    .index-insights-l-box .index-insights-info-text-box{
        width: calc(100% - 230px);
        padding: 10px;
        display: inline-block;
        vertical-align: middle;
    }
}
@media only screen and (max-width: 768px){
    .index-insights-box{
        padding: 40px 0;
    }
    .index-insights-all-box{
        width: 550px;
    }
    .index-insights-info-box{
        margin-top: 40px;
    }
    .index-insights-r-box{
        margin-top: 40px;
        margin-left: 0;
    }
    .index-insights-info{
        margin-bottom: 40px;
    }
    .index-title-box h2{
        font-size: 20px;
        line-height: 30px;
    }
    .index-title-box h3{
        font-size: 20px;
        line-height: 30px;
    }
    .index-insights-info-name{
        font-size: 18px;
    }
}
@media only screen and (max-width: 550px){
    .index-insights-box{
        padding: 20px 0;
    }
    .index-insights-all-box{
        width: 400px;
    }
    .index-title-box h2{
        font-size: 18px;
        line-height: 28px;
    }
    .index-title-box h3{
        font-size: 18px;
        line-height: 28px;
    }
    .index-insights-info-box{
        margin-top: 20px;
    }
    .index-insights-r-box{
        margin-top: 20px;
        margin-left: 0;
    }
    .index-insights-info{
        margin-bottom: 20px;
    }
    .index-insights-info-name{
        font-size: 16px;
    }
    .index-insights-info-text{
        font-size: 12px;
        height: 85px;
    }
    .index-insights-info-img-box{
        width: 100%;
        height: 400px;
    }
    .index-insights-info-text-box{
        width: 100%;
    }
    .index-insights-l-box .index-insights-info-img-box>span{
        width: 100%;
        height: 400px;
    }
    .index-insights-l-box .index-insights-info-text-box{
        width: 100%;
    }
    .index-insights-l-box .index-insights-info-text{
        height: 85px;
    }
}
@media only screen and (max-width: 400px){
    .index-insights-all-box{
        width: 300px;
    }
    .index-insights-info-img-box{
        height: 300px;
    }
    .index-insights-l-box .index-insights-info-img-box>span{
        height: 300px;
    }
}




/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
	.index-title-box h2,
    .index-title-box h3,
    .index-insights-info{
        opacity: 0;
    }
    .index-title-box.anima h2{
        animation: fade 1s ease 0s 1 both;
    }
    .index-title-box.anima h3{
        animation: fadeInDown 1s ease .3s 1 both;
    }
    .index-insights-l-box .index-insights-info.anima{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .index-insights-r-box .index-insights-info.anima{
        animation: fadeInRight 1s ease 0s 1 both;
    }
    .index-insights-info:hover{
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
    }
    .index-insights-info:hover .main-bg{
        transform: scale(1.1);
    }
    .index-insights-info:hover .index-insights-info-more span::after{
        opacity: 0;
    }
    .index-insights-info-more span::before{
        content: '\e800';
        font-family: "fontello";
        font-size: 21px;
        line-height: 21px;
        color: #104a7b;
        position: absolute;
        top: -10px;
        right: 50%;
        opacity: 0;
    }
    .index-insights-info:hover .index-insights-info-more span::before{
        right: -2px;
        opacity: 1;
        transition: all .3s linear;
    }
}

