
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");

/*========================================================
                      	 scroll設定
=========================================================*/

.scroll-down {
    display: none;
}
@media (min-width: 992px) {
    .scroll-down {
        height: 64px;
        width: 28px;
        border: 3px solid #fff;
        border-radius: 14px;
        position: absolute;
        z-index: 99;
        top: 100%;
        left: 50%;
        margin-top: -120px;
        margin-left: -14px;
        -webkit-transition: all 0.3s; /* For Safari 3.1 to 6.0 */ 
        transition: all 0.3s;
        display: block;
    }
    .scroll-down:hover {
        border: 3px solid #00d095;
    }
    .scroll-item {
        height: 16px;
        width: 4px;
        border-radius: 2px;
        background-color: #fff;
        margin: 15px auto;
    }
    .scroll-down:hover .scroll-item {
        background-color: #00d095;
    }
}

/*========================================================
                      	 標題設定
=========================================================*/

.h2-title {
    font-size: 2.4rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    color: #000;
}


/*========================================================
                         服務項目
=========================================================*/

.service {
    padding: 60px 0;
    color: #777;
    overflow: hidden;
}
.service-item {
    height: 240px;
    background-position: center;
    background-size: cover;
    margin-bottom: 30px;
    padding: 15px;
    position: relative;
}
.service-item h3 {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 3;
    min-width: 160px;
    display: inline-block;
    background-color: #006e4f;
    color: #fff;
    text-align: center;
    padding: 15px;
    font-weight: bolder;
    font-size: 1.25rem;
    
}
@media (min-width: 992px) {
    .service-item1 {
        height: 480px;
    }
    .service-item2 {
        height: 225px;
    }
}


/*========================================================
                        產品優勢
=========================================================*/

.advantage {
    padding: 60px 0;
    color: #fff;
    overflow: hidden;
    background: url(../img/index/advantage-bg.jpg) no-repeat bottom right;
    background-size: cover;
}
.advantage .container {
    height: 100%;
    position: relative;
}
.advantage h2 {
    text-align: center;
    color: #fff;
}
.advantage-info {
    
}
.advantage-info h3 {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2ba31;
}
.advantage-info h3 span {
    display: block;
    color: #e2ba31;
}
.advantage-info p {
    line-height: 1.8rem;
}
.advantage-img1, 
.advantage-img2 {
    height: 240px;
    background-position: center;
    background-size: cover;
    margin-bottom: 30px;
}
.advantage-info-more {
    margin-top: 45px;
    margin-bottom: 45px;
}
.advantage-info-more a {
    padding: 10px 50px;
    border: 1px solid #e2ba31;
    color: #fff;
    -webkit-transition: all 0.2s; /* For Safari 3.1 to 6.0 */ 
    transition: all 0.2s;
}
.advantage-info-more a:before {
    background: #e2ba31;
}


@media (min-width: 992px) {
    .advantage {
        height: 800px;
    }
    .advantage-info {
        width: 450px;
        margin: 30px 0;
    }
    .advantage-img1 {
        position: absolute;
        top: 0;
        left: 500px;
        height: 480px;
        width: 48%;
    }
    .advantage-img2 {
        position: absolute;
        top: 320px;
        left: 50%;
        margin-left: -220px;
        height: 240px;
        width: 440px;
    }
}
@media (min-width: 1200px) {
    .advantage-info {
        margin: 30px 30px;
    }
    .advantage-img1 {
        left: 50%;
        margin-left: -40px;
        width: 50%;
    }
}
@media (min-width: 1600px) {
    .advantage-info {
        margin: 30px 60px;
    }
    .advantage-img1 {
        margin-left: -80px;
    }
}


/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
	}
a.figure:before,a.figure:after {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
    content: '';
    display: inline-block;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s; 
}
a.figure:before {
    background: #fff;
}
a.figure:after {
    background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:hover:before {
    opacity: 0.15;
}
a.figure:hover:after {
    opacity: 1;
}


