﻿.index-service-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 40px;
    font-size: 0;
    overflow: hidden;
}
.index-service-info-box{
    width: 100%;
    display: block;
    box-sizing: border-box;
    position: relative;
    box-sizing: border-box;
    padding: 150px 0;
    top: -115px;
}
.index-service-info-all-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    z-index: 1;
}
.index-service-info{
    width: 300px;
    height: 300px;
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    vertical-align: top;
    background-color: #fff;
    text-align: center;
    box-sizing: border-box;
    padding: 20px;
    margin-right: 25px;
    transition: all .3s linear;
}
.index-service-info:last-child{
    margin-right: 0;
}
.index-service-info-img{
    font-size: 48px;
    color: #c4932a;
}
.index-service-info-text-box{
    margin-top: 40px;
}
.index-service-info-text{
    font-family: "Noto Sans TC";
    font-weight: 300;
    font-size: 18px;
    color: #666;
    letter-spacing: 0.06em;
}
.index-service-info-bg-box{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #f5f5f5;
}
.index-service-info-bg-box .main-bg{
    opacity: 0.03;
}


@media only screen and (max-width: 1280px){
    .index-service-info-all-box{
        width: 1000px;
    }
    .index-service-info{
        width: 230px;
        height: 230px;
        margin-right: 20px;
        padding: 15px;
    }
}
@media only screen and (max-width: 1000px){
    .index-service-info-all-box{
        width: 750px;
    }
    .index-service-info{
        width: 180px;
        height: 180px;
        margin-right: 10px;
        padding: 10px;
    }
    .index-service-info-text-box {
        margin-top: 10px;
    }
    .index-service-info-text{
        height: 56px;
    }
    .index-service-info-box{
        padding: 80px 0;
    }
}
@media only screen and (max-width: 768px){
    .index-service-box{
        padding-bottom: 0;
    }
    .index-service-info-all-box{
        width: 550px;
    }
    .index-service-info{
        width: 270px;
        height: 270px;
        margin-right: 10px;
        padding: 10px;
    }
    .index-service-info:nth-child(2n){
        margin-right: 0px;
    }
    .index-service-info:nth-child(n + 3){
        margin-top: 10px;
    }
    .index-service-info-text-box {
        margin-top: 10px;
    }
    .index-service-info-text{
        height: 56px;
    }
    .index-service-info-box{
        padding-top: 20px;
        padding-bottom: 60px;
        top: 0;
        position: static;
    }
    .index-service-box .index-interviewed-title-box{
        padding-top: 20px;
    }
}
@media only screen and (max-width: 550px){
    .index-service-info-all-box{
        width: calc(100vw - 40px);
    }
    .index-service-info-box{
        padding-bottom: 40px;
    }
    .index-service-info{
        width: calc((100vw - 40px - 10px) / 2);
        height: calc((100vw - 40px - 10px) / 2);
        margin-right: 10px;
        padding: 10px;
    }
    .index-service-info-img{
        font-size: 24px;
    }
    .index-service-info-text{
        height: 40px;
        font-size: 14px;
        line-height: 20px;
    }
}



@media only screen and (min-width: 769px){
    .index-service-info{
        opacity: 0;
    }
    .index-service-info.anima:nth-child(1){
        animation: fade 1s linear 0s 1 both;
    }
    .index-service-info.anima:nth-child(2){
        animation: fade 1s linear 0.15s 1 both;
    }
    .index-service-info.anima:nth-child(3){
        animation: fade 1s linear 0.3s 1 both;
    }
    .index-service-info.anima:nth-child(4){
        animation: fade 1s linear 0.45s 1 both;
    }

    .index-service-info:hover{
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    }
}