﻿.index-service-box{
    width: 100%;
    display: block;
    position: relative;
    box-sizing: border-box;
    padding-right: 60px;
    font-size: 0;
}

.index-service-info{
    background-color: #f5f5f5;
}
.index-service-info-img{
    width: 60.417vw;
    height: calc((653 / 1160) * 60.417vw);
    display: inline-block;
    vertical-align: middle;
}
.index-service-info-text-box{
    width: calc(100% - 60.417vw);
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    padding: 0 3%;
}
.index-service-info-text-name{
    font-family: 'Noto Sans TC';
    color: #000;
    letter-spacing: 0.06em;
    line-height: 36px;
    font-size: 24px;
    margin-bottom: 20px;
}
.index-service-info-text{
    font-family: 'Noto Sans TC';
    font-weight: 300;
    color: #666;
    letter-spacing: 0.06em;
    line-height: 36px;
    font-size: 16px;
    margin-bottom: 35px;
}
.index-service-info-text:last-child{
    margin-bottom: 0;
}
.index-service-menu-box{
    width: 100%;
    display: block;
}
.index-service-dots{
    width: 60.417vw;
    display: inline-block;
    vertical-align: middle;
    background-color: #3f3735;
    position: relative;
}
.index-service-more{
    width: calc(100% - 60.417vw);
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    flex-direction: row;
    vertical-align: middle;
    box-sizing: border-box;
    padding-left: 3%;
    padding-right: 20px;
    background-color: #aea2a2;
    transition: all .3s linear;
}
.index-service-more p{
    font-family: 'Noto Sans TC';
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    line-height: 60px;
    font-size: 16px;
}
.index-service-more span{
    color: #fff;
    line-height: 60px;
    font-size: 16px;
}
.index-service-info-box.slick-dotted.slick-slider{
    margin-bottom: 0;
}

.index-service-dots .slick-dots{
    position: static;
    box-sizing: border-box;
    padding: 0 60px;
}
.index-service-dots .slick-dots li{
    width: 60px;
    height: 60px;
    margin: 0;
    display: inline-flex;
    display: -webkit-inline-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
}
.index-service-dots .slick-dots li button{
    width: 10px;
    height: 10px;
    padding: 0;
}
.index-service-dots .slick-dots li button:before{
    content: '';
    width: 10px;
    height: 10px;
    background-color: #fff;
    opacity: 0.5;
    transform: rotateZ(45deg);
    position: static;
    display: block;
    transition: opacity .3s linear;
}
.index-service-dots .slick-dots li:hover button:before{
    opacity: 0.75;
}
.index-service-dots .slick-dots li.slick-active button:before{
    opacity: 1;
}
.index-service-dots .slick-prev, 
.index-service-dots .slick-next{
    width: 60px;
    height: 100%;
    z-index: 2;
}
.index-service-dots .slick-prev{
    left: 0;
}
.index-service-dots .slick-next{
    right: 0;
}
.index-service-dots .slick-prev:before{
    content: '\f060';
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    color: #fff;
}
.index-service-dots .slick-next:before{
    content: '\f061';
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    color: #fff;
}




@media only screen and (max-width: 1280px){
    .index-service-info-text{
        margin-bottom: 10px;
    }
}
@media only screen and (max-width: 1200px){
    .index-service-info-text-name{
        font-size: 20px;
        line-height: 30px;
    }
    .index-service-info-text{
        line-height: 26px;
        margin-bottom: 5px;
        font-size: 14px;
    }
}
@media only screen and (max-width: 1000px){
    .index-service-info-img{
        width: 100%;
        height: calc((653 / 1160) * 100vw);
    }
    .index-service-info-text-box{
        width: 100%;
        padding: 5% 3%;
    }
    .index-service-info-box{
        background-color: #f5f5f5;
    }
    .index-service-dots .slick-prev, 
    .index-service-dots .slick-next{
        width: 50px;
    }
    .index-service-dots .slick-dots{
        padding: 0 50px;
    }
    .index-service-dots .slick-dots li{
        width: 50px;
        height: 50px;
    }
    .index-service-more p,
    .index-service-more span{
        line-height: 50px;
    }
}
@media only screen and (max-width: 768px){
    .index-service-box{
        padding-right: 0;
    }
    .index-service-dots .slick-prev, 
    .index-service-dots .slick-next{
        width: 40px;
    }
    .index-service-dots .slick-dots{
        padding: 0 40px;
    }
    .index-service-dots .slick-dots li{
        width: 40px;
        height: 40px;
    }
    .index-service-more p,
    .index-service-more span{
        line-height: 40px;
    }
}
@media only screen and (max-width: 550px){
    .index-service-info-text-box{
        padding: 20px;
    }
    .index-service-info-text-name{
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 10px;
    }
    .index-service-info-text{
        line-height: 22px;
        margin-bottom: 5px;
        font-size: 14px;
    }
    .index-service-dots{
        width: 100%;
    }
    .index-service-more{
        width: 100%;
    }
    .index-service-dots .slick-dots li{
        width: 30px;
    }
    .index-service-dots .slick-dots li button,
    .index-service-dots .slick-dots li button:before{
        width: 8px;
        height: 8px;
    }
    .index-service-more p{
        font-size: 14px;
    }
}





/*animation*/
/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .index-service-info-img,
    .index-service-info-text-name,
    .index-service-info-text,
    .index-service-dots .slick-dots,
    .index-service-more{
        opacity: 0;
    }
	.index-service-box.anima .index-service-info-img{
        animation: fade 1s ease 0s 1 both;
    }
	.index-service-box.anima .index-service-info-text-name{
        animation: fadeInDown 1s ease 0s 1 both;
    }
	.index-service-box.anima .index-service-info-text{
        animation: fadeInUp 1s ease 0s 1 both;
    }
    .index-service-box.anima .index-service-dots .slick-dots{
        animation: fade 1s ease 0s 1 both;
    }
    .index-service-box.anima .index-service-more{
        animation: fade 1s ease 0s 1 both;
    }
    .index-service-box.anima .index-service-more p{
        animation: fadeInRight 1s ease .4s 1 both;
    }
    .index-service-box.anima .index-service-more span{
        animation: fadeInLeft 1s ease .4s 1 both;
    }


    .index-service-more:hover{
        background-color: #000;
    }
    .index-service-dots .slick-prev:before, 
    .index-service-dots .slick-next:before{
        opacity: 0.75;
    }
    .index-service-dots .slick-prev:hover:before, 
    .index-service-dots .slick-next:hover:before{
        opacity: 1;
    }

}

