﻿
/*過場動畫*/

.dt-loading-2 {
    width: 100%;
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    z-index: 99999;
    transition: all .4s linear;
    background-color: #FFF;
}

.laying-2 {
   display: table-cell;
   vertical-align: middle;
}

.loading-logo-box{
    width: 300px;
    max-width: 100%;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    animation: fadeInUp .8s ease 0s 1 both;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
    font-size: 0;
}
.loading-logo-img{
    width: 55px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}
.loading-logo-img-text{
    width: calc(100% - 60px);
    display: inline-block;
    vertical-align: middle;
}
.loading-logo-img-text p{
    font-size: 28px;
    font-weight: 700;
    color: #083388;
    letter-spacing: 0.01em;
    line-height: 1;
    margin-bottom: 7px;
}
.loading-logo-img-text span{
    font-size: 18px;
    font-weight: 700;
    color: #083388;
    line-height: 1;
    letter-spacing: 12px;
}
.loading-log2{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 2s linear 0s 1 forwards;
}

.index-info-box{
    width: 1300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    font-size: 0;
    top: -100px;
}
.index-news-box{
    width: 800px;
    max-width: 100%;
    position: relative;
    height: 600px;
    display: inline-block;
    vertical-align: top;
    background-color: #008ea6;
}
.index-news-box{
    padding: 25px;
    box-sizing: border-box;
}
.index-news-title{
     font-size: 14px;
    color: #FFF;
    display: block;
    float: left;
}
.index-news-link{
    display: block;
    float: right;
    font-size: 14px;
    color: #FFF;
}
.index-news-link-p,
.index-news-link-icon{
    display: inline-block;
    vertical-align: middle;
}
.index-news-info-box{
    text-align: center;
    width: 100%;
    position: relative;
    height: calc(100% - 22px);

}
.index-news-info-title-box{
    font-size: 24px;
    display: inline-block;
    color: #FFF;
    letter-spacing: 1px;
    margin-top: 10px;
    position: relative;
    z-index: 1;
    padding: 0 10px;
    background-color: #008ea6;
}
.index-news-info-border-box{
    width: 100%;
    height: calc(100% - 30px);
    position: absolute;
    bottom: 0;
    left: 0;
    pointer-events: none;
}
.index-news-info-border-top1{
    width: 50%;
    height: 1px;
    display: block;
    background: #FFF;
    position: absolute;
    top: 0;
    left: 0;
}
.index-news-info-border-top2{
    width: 50%;
    height: 1px;
    display: block;
    background: #FFF;
    position: absolute;
    top: 0;
    right: 0;
}
.index-news-info-border-left{
    width: 1px;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFF;
}
.index-news-info-border-right{
    width: 1px;
    height: 100%;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #FFF;
}
.index-news-info-border-bottom{
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: #FFF;
}
.index-news-list-box{
    padding:55px 20px;
    text-align: left;
    box-sizing: border-box;
}
.index-news-list{
    display: block;
    padding: 20px 0;
    border-bottom: 1px dashed  #FFF;
}
.index-news-list:nth-child(1){
    padding-top: 0;
}
.index-news-list-time{
    font-size: 14px;
    color: #00daff;
    display: inline-block;
    vertical-align: middle;
    width: 85px;
    max-width: 100%;
}
.index-news-list-p{
    width: calc(100% - 165px);

    display: inline-block;
    vertical-align: middle;
}
.index-news-list-read{
    width: 80px;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    height: 24px;
    line-height: 24px;
    border: 1px solid #ffde00;
    text-align: center;
    box-sizing: border-box;
    position: relative;
}
.index-news-list-read:after{
    content: 'none';
    font-size: 0;
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0,1);
    background-color: #ffde00;
    transition: all .5s ease;
}
.index-news-list-read span{
    font-size: 14px;
    color: #ffde00;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    transition: all .5s ease;
}
.index-news-list-p{
    font-size: 14px;
    color: #FFF;
    letter-spacing: 1px;
    text-overflow : ellipsis;
    white-space: nowrap;
    overflow: hidden;
    transition: all .5s ease;
}

.index-web-advisory-box{
    display: inline-block;
    vertical-align: top;
    width: calc(100% - 800px);
    height: 600px;
    position: relative;
    padding: 20px ;
    box-sizing: border-box;
}
.index-web-advisory-img{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}
.index-web-advisory-info-box{
    width: calc(100% - 40px);
    position: absolute;
    left: 20px;
    bottom: 20px;
    background-color: rgba(255,255,255,0.9);
    height: 240px;
    display:         flex;
    display: -webkit-flex;
          align-items: center;
    -webkit-align-items: center;
          justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    -webkit-flex-direction:column;
    transition: all .5s ease;
}
.idnex-web-advisory-info-icon{
    width: 75px;
    max-width: 100%;
    height: 85px;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .5s ease;
    background-image: url(../img/front/advisory-icon.png);
}
.index-web-advisory-info-title{
    font-size: 24px;
    color: #000;
    letter-spacing: 1px;
    margin-top: 10px;
    transition: all .5s ease;
}
.index-service-list-box{
    width: 100%;
    display: block;
    font-size: 0;
}
.index-service-list{
    display: inline-block;
    width: 50%;
    height: 500px;
    vertical-align: top;
    padding: 20px;
    box-sizing: border-box;
    background-color: #00c19f;
    transition: all .8s ease;
}
.index-service-list-info-box{
    width: 100%;
    height: 100%;
    display:         flex;
    display: -webkit-flex;
          align-items: center;
    -webkit-align-items: center;
          justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    -webkit-flex-direction:column;
    position: relative;
    overflow: hidden;
}

.index-service-list-info-icon{
    width: 120px;
    height: 120px;
    display: block;
    background-repeat: no-repeat;
    background-size: 90px;
    background-position: center;
    transition: all .5s ease;    
}

.index-service-list:nth-child(1) .index-service-list-info-icon{
    background-image: url(../img/front/i-icon1.png);
}
.index-service-list:nth-child(2) .index-service-list-info-icon{
    background-image: url(../img/front/i-icon2.png);
}
.index-service-list:nth-child(3) .index-service-list-info-icon{
    background-image: url(../img/front/i-icon3.png);
}
.index-service-list:nth-child(4) .index-service-list-info-icon{
    background-image: url(../img/front/i-icon4.png);
}
.index-service-list:nth-child(2){
    background-color: #0068b7;
}
.index-service-list:nth-child(3){
    background-color: #5bc3c9;
}
.index-service-list:nth-child(4){
    background-color: #00479d;
}
.index-service-list-info-title{
    font-size: 24px;
    color: #FFF;
    display: block;
    margin-top: 5px;
    letter-spacing: 1px;
    transition: all .5s ease;    
}

.index-service-list-info-triangle{
    width: 40px;
    height: 40px;
    display: block;
    background-color: #FFF;
    position: absolute;
    right: -20px;
    bottom: -20px;
    transform: rotate(45deg);
}
.index-item-block{
    width: 100%;
    height: 300px;
    display: block;
}

.index-item-box{
    width: 100%;
    height: 500px;
    display: block;
    position: relative;

}
.index-item-img-box{
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    position: relative;
}
.index-item-img-mask{
    width: 100%;
    height: 100%;
    display: block;
    background-image: url(../img/front/item-bg-mask.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    position: absolute;
    top: 0;
    left: 0;
}
.index-item-border-box{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    padding: 25px;
    box-sizing: border-box;
}
.index-item-border{
    width: 100%;
    height: 100%;
    position: relative;
}
.index-item-border-top{
    width: 100%;
    height: 1px ;
    display: block;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: rgba(0,0,0,0.8) 2px 2px 4px;
}
.index-item-border-right{
    width: 1px;
    height: 100%;
    display: block;
    background-color: #FFF;
    position: absolute;
    top: 0;
    right: 0;
    box-shadow: rgba(0,0,0,0.8) 2px 2px 4px;
}
.index-item-border-bottom{
    width: 100%;
    height: 1px;
    display: block;
    background-color: #FFF;
    position: absolute;
    bottom: 0;
    right: 0;
    box-shadow: rgba(0,0,0,0.8) 2px 2px 4px;
}
.index-item-border-left{
    width: 1px;
    height: 100%;
    display: block;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: rgba(0,0,0,0.8) 2px 2px 4px;
}

.index-item-title-box{
    position: absolute;
    bottom: 10px;
    left: calc(50% - 65px);
    transition: all .5s ease;
}

.index-item-title{
    font-size: 24px;
    color: #FFF;
    letter-spacing: 2px;
    text-shadow: rgba(0,0,0,0.8)2px 2px 4px;
    text-align: center;
    transition: all .5s ease;
}
.index-item-img{
    width: 130px;
    max-width: 100%;
    display: block;
    height: 120px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all .5s ease;
    background-image: url(../img/front/i-team-icon.png);
}


.index-item-img-mask2{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .5s ease;
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(255,255,255,0.3) 75%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(255,255,255,0.3) 75%);
    display: block;
    opacity: 0;
    -webkit-transform: translate3d(0,50%,0);
    transform: translate3d(0,50%,0);
/*    background-repeat: no-repeat;
    background-size: 57px;
    background-position: center;
    background-image: url(../img/front/hover-icon3.png);*/
}



/*fancy-box*/

.fancybox-table{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.fancybox-table.active{
    display: table;
}
.fancybox-table-mid{
    display: table-cell;
    vertical-align: middle;
}
.fancybox-box{
    width: 800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.fancybox-img-box{
    width: 100%;
    height: 600px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}
.fancybox-article{
    max-height: calc(100vh - 700px);
    overflow: auto;
}
.fancybox-article-title{
    font-size: 20px;
    color: #FFF;
    letter-spacing: 2px;
}
.fancybox-article-p{
    font-size: 16px;
    display: block;
    color: #FFF;
}

.fancybox-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 0;
    
}
.fancybox-close{
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ddd;
    cursor: pointer;
    z-index: 3;
    transition: all .5s ease;
}
.body-close{
    overflow: hidden;

}
.body-close::-webkit-scrollbar{
    display:none;
}

.fancybox-link{
    position: fixed;
    text-align: center;
    top: calc(50% - 31px);
}
.news-prev{
    right: calc(50% + 427px);
}
.news-next{
    left: calc(50% + 427px);
}
.fancybox-link i{
    font-size: 24px;
    color: #FFF;
    display: block;
    margin-bottom: 10px;
}
.fancybox-link p{
    font-size: 18px;
    color: #FFF;
}
.fancybox-block{
    width: 100%;
    max-height: 100vh;
    overflow: auto;

}
.fancybox-block::-webkit-scrollbar{
    display:none;
}


/*----------------------------*/

.rwd-menu-class-list{
    width: 100%;
    height: 46px;
    border: 1px solid #888;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    display: none;
    line-height: 46px;
    position: relative;
    box-sizing: border-box;
}
.rwd-menu-class-list:after {
    content: '';
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #888;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: calc(50% - 5px);
    right: 5%;
    box-sizing: border-box;
}



@media only screen and (max-width: 1300px){
    .index-info-box{
        width: 1200px;
    }
    .index-news-box{
        width: 700px;
    }
    .index-web-advisory-box{
        width: calc(100% - 700px);
    }
}
@media only screen and (max-width: 1200px){
    .index-info-box {
        width: 950px;
    }
    .index-news-box{
        width: 550px;
        padding: 20px;
    }
    .index-web-advisory-box {
        width: calc(100% - 550px);
    }
    .index-web-advisory-box,
    .index-news-box{
        height: 540px;
    }
    .index-news-list-box{
        padding: 25px 20px;
    }
    .idnex-web-advisory-info-icon{
        width: 55px;
        height: 62px;
    }
    .index-service-list{
        height: 475px;
    }
    .index-item-box{
        height: 450px;
    }

}

@media only screen and (max-width: 1000px){
    .index-info-box{
        top: 0;
        width: 100%;
    }
    .index-item-box{
        height: 100%;
    }
    .index-item-img{
        width: 80px;
        height: 74px;
    }
    .index-item-title{
        font-size: 16px;
    }
  
    .index-web-advisory-img .main-bg{
        background-position: top;
    }
    .index-item-block{
        height: 350px;
    }
    .index-item-title-box{
        bottom: 15px;
        left: calc(50% - 40px);
    }
    .index-news-box{
        width: 60%;
    }
    .index-web-advisory-box{
        width: 40%;
    }
    .index-web-advisory-info-box{
        height: 180px;
    }
    .index-service-list {
        height: 400px;
    }
    .index-web-advisory-info-title{
        font-size: 18px;
    }
}
@media only screen and (max-width: 550px){
    .index-news-box,
    .index-web-advisory-box{
        width: 100%;
        display: block;
    }
    .index-service-list{
        height: 300px;
    }
    .index-service-list-info-icon{
        background-size: 80%!important;
        transition: none;
    }
        .index-service-list {
        height: 215px;
    }
    .index-service-list-info-icon{
        width: 60px;
        height: 60px;
    }
    .index-service-list-info-title{
        font-size: 16px;
    }
    .index-news-list-read{
        width: 55px;

    }
    .index-news-list-read span{
        font-size: 12px;
    }
    .index-news-list-p{
        width: calc(100% - 141px);
    }
}