
.header-bg{
    height: 650px;  
    background-image:linear-gradient(180deg, rgba(35, 86, 157, 0.5) 0%, rgba(35, 86, 157, 0.225) 52.6%, rgba(35, 86, 157, 0.5) 100%), url(../img/index-hero.jpg) ;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-position: -10px 0px; */
}
.indexhero-title{
    position: absolute;
    top:300px;
    right: 20%;
    /* left: 50%;  */ 
}
.indexhero-title h1{
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.6);
    font-weight: 400;
}
@media screen and (max-width: 1440px){
    .indexhero-title{
     right: 10%;
    }
}
@media screen and (max-width: 767px){
    .header-bg{
        background-position: 20% 0;
        height: 500px;
        /* background-size: 200%; */
    }
    .header .container-lg{
        display: flex;
        justify-content: center;
    }
    .indexhero-title{
        top: 200px;
        text-align: center;
        right:auto;
        margin: auto;
        padding: 0 10px;
    }
    .indexhero-title h1{
        font-size: 30px;
    }

}

  
.class-intro h2,.teacher-intro h2{
    color:#23569d;
    font-size: 30px;
    padding: 50px 0px  80px ;
}

.classtitle{
 margin-left: 12%;
}
@media screen and (min-width: 1680px){
    .classtitle{
        margin-left: 3%;
       }
}

.classtitle h3{
    font-size: 30px;
    display: inline-block;
    line-height: 30px;
    margin-bottom: 0; 
}
.classtitle p{
   font-size: 20px;
}
.classtitle img{
    height: 30px;
    width: 30px;
}
.class-content > img{
   display: none;
}
.deco-redline{
    width: 60px;
    height: 4px;
    background-color: #d81159;
    margin-bottom: 8px;
}
.deco-redline-h{
   border-left: #d81159 3px solid;
   height: 60px;
   padding-left: 10px;
}


.manner .classtitle,.complaint .classtitle{
    padding-right: 8%;
}

@media screen and (min-width: 991px) and (max-width: 1440px){
   
    .manner .classtitle,.complaint .classtitle{
        padding-right: 15%;
    }

}
@media screen and (max-width: 991px){
    .classtitle{
        display: block;  
        top: 0;
        margin: 0px 30px;
    }
    .classtitle h3{
        font-size: 24px;
    }
    .classtitle p{
       margin-bottom: 0;
       font-size: 16px;
    }
    .classtitle .d-flex img{
        display: none;
    }
    .class-content{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 15px;
        padding-bottom: 20px;
    }
    .class-content img{
       display: inline-block;
       width: 40px;
       height: 40px;
       margin-right: 15px;
    }
    .service .classtitle,.appearance .classtitle{
        padding-left: 0px;
    }
}
@media screen and (max-width: 768px){
    .class-intro{
        margin-top: 250px;
    }
    .service .classtitle,.appearance .classtitle{
        padding-left: 0px;
    }

}




/* 服務區塊 */
.service{
    position: relative;
    height: 350px;
}
.class-intro .servicebg{
    position: absolute;
    height: 350px;
    width: 0;
    clip-path: polygon(0 15%, 100% 50%, 100% 100%, 0% 100%);
    background-color: #23569d;
    /* display: none; */   
}
.servicebgshow{
    display: block;
    width: 100% !important;
    transition: 1s;
}


.service-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
}
.service .classimg img{
    position: absolute  ;
    height: 350px;
    right: 15%;
    bottom: 0;
}
.service .classtitle{
    position: absolute;
    color: #FFffff;
    top: 150px;
    margin-top: 15px;
}

@media screen and (max-width: 991px){
    .service{
        position: relative;
        height: auto;
    }
    .service-content{
        position: relative;
        width: 100%;
        /* border: #d81159 2px solid; */
    }
    .service .classtitle{
        color: #23569d;
        top: 0;
        position: relative;
    }
    .class-intro .servicebg{
        position: relative;
    }
    .service .classimg{
      width: 100%;
      text-align: center;
      margin: auto;
      position: absolute;
      max-width:1000px;
    }
    .service .classimg img{
        position: relative;
        top: -350px;
        height: 350px;
        right: auto;
    }
}
@media screen and (max-width: 576px){
    .service .classimg img{
        top: -270px;
        height: 270px;
    }
    .class-intro .servicebg{
       height: 250px;
    }


}


/* 接待禮儀區塊 */
.manner{
    position: relative;
    height: 420px;
}
.manner .classtitle{
  position: absolute;
  top: 180px;
}
.manner .classimg{
    height: 100%;
    width: 55%;
    background-image: linear-gradient(90deg, rgba(245, 248, 253, 0) 0%, rgba(255, 255, 255, 0.1) 72.78%, rgba(245, 248, 253, 1) 85%, #F5F8FD 100%),url(../img/index-class-2.png);
    background-repeat: no-repeat;
    margin-left: -800px;
}
.mannerimgshow{
    margin-left: 0 !important;
    transition: 1.5s;

}

.manner-content{
    display: flex;
    flex-direction: row-reverse;
    padding-right: 20px;
}

@media screen and (max-width: 991px){
    .manner{
        height: auto;
    }
    .manner .classimg{
        position: relative;
        width: 100%;
        height: 350px;
        background-image: url(../img/index-class-2.png);
        background-position:15% 0;
        margin-bottom: 15px;
    }
    .manner-content{
        flex-direction: row;
        padding-right: 0;
        padding-bottom: 30px;
        
    }
    .manner .classtitle{
        position: relative;
        top: 0;
       
    }  
}


/* 形象與客訴的漸層背景 */
.class-gradientbg{
    position: relative;
    width: 100%;
    height: 880px;
    background:linear-gradient(112.35deg, #E8F8FF 8.5%, #FFE4F0 89.39%);
}
@media screen and (max-width: 991px){
    .class-gradientbg{
        height: auto;   
    }

}



/* 形象區塊 */
.appearance{
    position: relative;
    right: 0;
    height: 400px;
    /* display: flex; */
}
.appearance-content .classtitle{
    position: absolute;  
    top: 200px;
}
.appearance .classimg {
    background: linear-gradient(88.85deg, #F1F0F9.74%, rgba(241, 239, 248, 0) 20%, rgba(253, 230, 242, 0) 78.59%, #FFE4F0 98%),url(../img/index-class-3.png);
    position: absolute;
    height: 100%;
    width: 50%;
    right: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-right: -800px;
}
.appearanceshowimg{
    transition: 1.5s;
    margin-right: 0 !important;
}



@media screen and (max-width: 991px){
    .appearance{
        height: auto;
    }
    .appearance .classimg{
        height: 350px;
        background: url(../img/index-class-3.png);
        width: 100%;
        position: relative; 
        background-size: cover;
        background-position: center;
    }
    .appearance-content{
        /* display: block; */
        position: relative;  
        padding-top: 30px;
        /* height: 110px; */
        padding-bottom: 30px;
    
        /* border: #23569d 5px solid; */
    }
    .appearance .classtitle{
        position: relative;
        top: 0;
    }
}


/* 客訴區塊 */
.complaint{
    margin-top: 70px;
}
.complaint .classtitle{
    position: absolute;  
    top: 620px;
}
.complaint .classimg{
    position: absolute;
    width: 38%;
    height: 380px;
    background-image: url(../img/index-class-4.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-left: 12%;
    z-index: 10;
    margin-top: -155px;
    opacity: 0;
}

.complaintshowimg{
    margin-top:0 !important;
    opacity: 1 !important;
    transition: 1.5s;
}
.complaint-content{
    display: flex;
    flex-direction: row-reverse;
    padding-right: 20px;
    /* display: none; */

}
@media screen and (max-width: 1024px){
    .complaint .classimg{
        background-position: left;
    } 
}
@media screen and (max-width: 991px){
    .complaint{
        position: relative;
        height: auto;
        margin-top: 0;
    }
    .complaint .classimg{
        position: relative;  
        height: 350px;
        width: 100%;
        margin-left: 0;
    }
     .complaint-content{
        position: relative;  
        flex-direction: row;
        padding-right: 0;
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .complaint .classtitle{
        position: relative;
        display: block;
        top: 0;
    }
   
}




.others{
    position: relative;
}
.others .classimg{
    width: 100%;
    height: 440px;
    background-image: url(../img/index-class-5.png);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
}
.othersshowimg{
    opacity: 1 !important;
    transition: 1.5s;
}
.others .classtitle{
    position: absolute;
    top: 180px;
    z-index:2  ;
    /* border: #d81159 1px solid; */
    padding-left: 120px;
    padding-left: 10%;
    left: 11%;
}
@media screen and (max-width: 1680px){
    .others .classtitle{
        padding-left: 0;
    }
}


.others-classtitlebg{
    position: absolute;
    width: 38%;
    left: 11%;
    background-color: #FFffff;
    height: 820px;
    /* z-index: 0; */
    top: -440px;
}
@media screen and (max-width: 1280px){
    .others .classimg{
        background-position:60% 0;
        width: 100%;
    }
}
@media screen and (max-width: 991px){
    .others-classtitlebg{
        display: none;
    }
    .others-content{
        position: relative;  
        padding-top: 30px;
        padding-bottom: 30px;
        background-color: #fff;
    }
    .others .classtitle{
        position: relative;
        display: block;
        top: 0;
        left: 0;
    }
    .others .classimg{
        background-position: right;
        height: 350px;
    }

}
@media screen and (max-width: 576px){
    .others .classimg{
       background: url(../img/index-class-5-576.png);
       background-position: center;
       /* background-size: cover; */

    }
}

/* 空訓師資 */
.teacher-intro{
    overflow: hidden;

    /* position: absolute; */
}
.window-bg{
    width: 120%;
    margin-left: -10%;
    display: flex;
    justify-content: space-around;
    height: 420px;
    /* border: #d81159 2px solid; */
    align-items: center;
    position: absolute;
    /* padding-bottom: 140px; */
    margin-bottom: 20px;
}
.window{
    position: relative;
    background: #FFFFFF;
    border-radius: 130px;
    width: 250px;
    height: 380px;
}




.teacher-introarea{
    /* height: 415px; */
    display: flex;
    position: relative;
    width: 80%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    /* z-index: 10; */
    justify-content: space-around;
    /* border: #23569d 2px solid; */
}
.teacher-index-window{
    width: 340px;
    padding: 20px;
    margin-top: 25px;
    /* border: #23569d 3px solid; */
 }

 .windowmove{
    margin-top: 0 !important;
    transition: 1.5s;
 }

.teacher-last-item{
    display: block;
    /* height: 350px; */
}
.teacher-index-window .content{
    position: relative;
   border-radius: 140px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: 430px;
   
} 
.teacher-index-window .content .teacher-index-introtext img{
    width: 100%;
    height: auto;
    transition: 0.3s;
    cursor: pointer;
} 
.teacher-index-window .content .teacher-index-introtext img:hover{
    width: 103%;
    transition: 0.3s;
} 
.teacher-index-introtext{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 15px;
}
.teacher-index-introtext h3{
    font-size: 24px;
    margin-bottom: 0;
}
.teacher-last-item{
    background: rgba(139, 159, 187, 0.66);
    width: 100%;
    height: 100%;
    text-align: center;
}

.teacher-last-item{
    display: flex;
    justify-content: center;
    align-items: center;
}

.teacher-last-item h3{
    font-size: 24px;
    margin-bottom: 0;
}
.teacher-last-item img{
    width: 30px;    
}
.teacher-index-introtext p{
    font-size: 18px;
}


@media screen and (max-width: 1280px){
    .window-bg{
        height: 350px;
    }
    .window{
        border-radius: 100px;
        width: 200px;
        height: 320px;
    }
    .teacher-introarea{
        /* height: 360px; */
        width: 90%; 
    }

    .teacher-index-window{
       width: 300px;
       /* border: 1px solid #000; */
    }
     .teacher-index-window .content{
       height: 360px;     
       border-radius: 120px;
    }

  
}

@media screen and (max-width: 991px){
    .window-bg{
        height: 250px;
        align-items: flex-start;
        padding-top: 30px;
    }
    .window{
        border-radius: 80px;
        width: 160px;
        height: 240px;
    }
   
    .teacher-index-window{
        width: 250px;
    }
    .teacher-index-window .content{
        width: 200px;
        height: 280px;
    }
   


    .teacher-index-introtext p{
        font-size: 15px;
        margin-bottom: 0;
    }
    .teacher-index-introtext{
       padding-bottom: 25px;
       padding-top: 5px;
    }
    .teacher-index-introtext h3{
        font-size: 20px;
    }
   
   

}
@media screen and (max-width: 768px){
    .window-bg{
        height: 420px;
    }
    .window{
        border-radius: 120px;
        width: 230px;
        height: 320px;
    }
    .window:last-child{
        display: none;
    }
    



    .teacher-introarea{
        height: auto;
        display: flex !important;
    }
    .teacher-index-window{
        width: 500px;
        padding:0  120px;
    }
    .teacher-index-window .content{
        width: 100%;
        height: 370px;
        border-radius: 120px;
    }
    .teacher-index-introtext {
         height: 120px;
    }
    .teacher-index-introtext h3{
        margin-top: 10px;
    }
    .teacher-index-introtext p:nth-of-type(1){
        margin-bottom: 10px;
    }
   

}
@media screen and (max-width: 480px){
    .window-bg{
        height: 320px;
        padding-bottom: 30px;
    }
    .window{
        border-radius: 90px;
        width: 140px;
        height: 210px;
    }
    

    .teacher-index-window{
        width: 280px;
        padding: 0 40px;
    }
    .teacher-index-window .content{
        height: 285px;
    }
    .teacher-index-introtext {
        height: 110px;
   }
   .teacher-index-introtext h3{
    margin-top: 5px;
}
   .teacher-index-introtext p:nth-of-type(1){
    margin-bottom: 0px;
}
   

 
}








/* 可客製課程Banner */
.custom-made-banner{
    margin-top: 150px;
    height: 640px;
    background:linear-gradient(92.23deg, rgba(43, 71, 145, 0.7) 14.9%, rgba(98, 16, 53, 0.6) 98.24%),url(../img/index-custom-made-bg.png);
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.custom-banner-content{
    margin: auto;
    position: absolute;
    display: flex;
    width: 85%;
    align-items: center;
    justify-content: space-around   ;
    bottom: 0;
    letter-spacing: 1.4px; 
}
.custom-banner-content textarea{
    width: 500px;
}
.custom-made-banner img{
    width: 500px;
    margin-left: 20px;
}
@media screen and (max-width: 991px){
    .custom-banner-content{
        flex-direction: column;
        bottom: auto;
        padding-top: 50px;  
    }
}
@media screen and (max-width: 576px){

    .custom-made-banner{
        height: 600px;
        align-items: flex-end;
    }
    .custom-banner-content{
        /* border: #23569d 2px solid; */
        /* padding-top: 50px;  */
        width: 80%;
        justify-content: space-between;
    }
    .custom-banner-content .textarea{
        margin-bottom: 30px;
    }
    .custom-made-banner img{
        width: 300px;
    }
}




/* 改 slick的class */
.slick-slider{
    display: flex;
    align-items: center;
}

.slick-arrow{
    border:none;
    background:none ;
}

button.slick-arrow:focus{
    outline: none;
}


/* applyBanner */
.applybanner{
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 380px;
    background: linear-gradient(0deg, rgba(245, 250, 255, 0.8), rgba(224, 238, 255, 0.9)), url(/img/index-applyBner.png);;
    background-size: cover;
    background-position: center;
}
.applybanner-content {
  text-align: center;
}
.applybanner-content p{
    font-size: 26px;
    color: #23569d;  
}


