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


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


.h2-title {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.h2-title:after {
    content: '';
    display: block;
    width: 180px;
    height: 3px;
    background-color: #eb2d41;
    margin: 10px auto;
}






/*========================================================
                      	 專業團隊
=========================================================*/

.team-wrap {
	padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 7%;
    padding-right: 7%;
}
.team-wrap img {
    width: 100%;
    vertical-align: bottom;
}
.team-item {
    position: relative;
    margin: 0 20px;
    border-bottom: 5px solid #d0a574;
}
.team-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
}
.team-item-img:hover {
    color: #fff
}
.team-item-img:hover .team-item-mask {
    opacity: 1;
    visibility: visible
}
.team-item-img:hover .team-item-mask::after {
    height: 100%
}
.team-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.team-item-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: .625rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all .3s
}
.team-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(208, 165, 116, .7);
    transform: translateY(-50%);
    transition: all .3s
}
.team-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 5px 30px;
}
.team-item-info {
    padding: 30px 10px 20px;
    text-align: center;
    border: 1px solid #8c8c8c;
    border-top: none;
    
}
.team-item-info h3 {
    color: #000;
    font-weight: bold;
    font-size: 1.4rem;
}
.team-item-info p {
    margin: 0;
}

@media (min-width: 992px) {
    .team-wrap {	
        padding-bottom: 80px;
    }
    .team-item-title {
        margin-top: 60px;
        margin-bottom: 20px;
    }
}


/*========================================================
                      	 產品系列
=========================================================*/

.service-wrap {	
    background: url("../img/index/service-bg.jpg") no-repeat center top / cover;
	padding-top: 80px;
    padding-bottom: 100px;
    padding-left: 7%;
    padding-right: 7%;
}
.service-wrap .title-wrap {
    color: #fff;
}
.service-wrap .title-wrap h2:before, 
.service-wrap .title-wrap h2:after {
    background-color: #8d8d8d;
}
.service-wrap [class*="col-"] {
    margin-bottom: 40px;
}
.service-item img {
    width: 80px;
    vertical-align: bottom;
}
.service-item i {
    font-size: 100px;
    line-height: 100px;
    color: #886636;
    margin-bottom: 15px;
    display: block;
}
.service-item a {
    display: block;
    position: relative;
    text-align: center;
    padding: 15px 0 20px;
    border: 8px solid #fff;
    height: 100%;
    background-color: #fff;
    overflow: hidden;    
}
.service-item a p {
    color: #111;
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}
.service-item a:hover {
    border: 8px solid #d0a574;
}




/*========================================================
                         最新消息
=========================================================*/

.news-wrap {
	padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 7%;
    padding-right: 7%;
}
.news-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-wrap ul li {
    border-bottom: 1px solid #c6c6c6;
    position: relative;
}
.news-wrap ul li a {
    display: block;
    color: #111;
    padding: 12px 10px;
}
.news-wrap ul li a:hover {
    background-color: #ededed;
}
.news-wrap ul li a time {
    display: block;
    font-weight: bold;
}
.news-wrap ul li a span {
    border: 1px solid #4a6648;
    border-radius: 15px;
    line-height: 28px;
    padding: 0 10px;
    font-size: 0.9rem;
    display: none;
}
.news-wrap ul li a:hover span {
    background-color: #4a6648;
    color: #fff;
}

@media (min-width: 992px) {
    .news-wrap ul li a {
        padding: 12px 160px 12px 140px;
    }
    .news-wrap ul li a time {
        position: absolute;
        right: 10px;
        top: 12px;
        z-index: 2;
        font-weight: normal;    
    }
    .news-wrap ul li a span {
        position: absolute;
        left: 10px;
        top: 12px;
        z-index: 2;
        display: inline-block;
    }
}

/*========================================================
                         關於我們
=========================================================*/

.about-wrap {	
    background: url("../img/index/about-bg.jpg") no-repeat center bottom;
    background-size: cover;
	padding-top: 80px;
    padding-bottom: 0;
    color: #111;
}

.about-info h3 {
    font-family: 'Noto Serif TC', serif;
    color: #653f14;
    margin-bottom: 40px;
}

.about-btn {
    text-align: left;
}
.about-btn a {
    color: #fff;
    display: inline-block;
    padding: 5px 40px;
    background-color: #4a6648;
    margin-top: 20px;
}
.about-btn a:hover {
    background-color: #d9cdb8;
    color: #111;
}

@media (min-width: 992px) {
    .about-info {
        margin-left: 10%;
        margin-right: 5%;
    }
}
@media (min-width: 1600px) {
    .about-info {
        margin-left: 20%;
        margin-right: 5%;
        font-size: 1.05rem;
        line-height: 40px;
    }
}


/*========================================================
                         立即諮詢
=========================================================*/

.contact-form label {
    margin-bottom: 0;
}
.form-wrap {
	padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 7%;
    padding-right: 7%;
}
.form-btn {
    background-color: #4a6648;
    color: #fff;
    border-radius: 0;
    padding: 4px 30px;
}
.form-btn:hover {
    background-color: #d9cdb8;
    color: #111;
}



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

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;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: block;
	position: relative;
}
.picture-effect a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(12, 56, 98, 0.4);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}

