/*
 * w375 - foolu iweb51-style02
 * http://www.foolu.com.tw/
 *
 * Copyright 2015, Evelyn Wang
 * 
 * 
 * January 2015
 */
 
 
/* +index-item
*----------------------------------------------------------------------------*/
.wrapper #index-item {
	background: #fff;
	overflow: hidden;
	position: relative;
	z-index: 50;
	/* top: -1px; */
}

/**
*
* =title
*
**/
.wrapper #index-item h2 {
	padding: 100px 0 20px;
	background: url(../../images/02/index/bg-indexItem.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.wrapper #index-item h2 span {
	margin: 0 auto;
	width: 180px;
	display: block;
	text-align: center;
	font-size: 30px;
	color: #fff;
}

/**
*
* =god-list
*
**/
.wrapper #index-item .god-list {
	margin: 15px;
}

.wrapper #index-item .god-list ul ,
.wrapper #index-item .god-list ul li {
	overflow: hidden;
}

.wrapper #index-item .god-list ul li article {
	margin: 20px 15px;
}

.wrapper #index-item .god-list ul li article h2 {
	margin: 40px 0 20px;
	padding: 0 0 25px;
	height: auto;
	background: url(../../images/02/index/bg-godName.jpg) no-repeat center bottom;
	
	text-align: center;
	font-size: 16px;
	font-weight: bold;
}

.wrapper #index-item .god-list ul li article p {
	text-align: center;
	line-height: 180%;
	color: #6f6f6f;
}

.wrapper #index-item .god-list ul li article a.photo {
	width: 100%;
	display: block;
	overflow: hidden;
}

.wrapper #index-item .god-list ul li article a.photo img {
	width: 100%;
}


/* +service-item
*----------------------------------------------------------------------------*/
.wrapper #service-wrap {
	background: #fff;
	overflow: hidden;
	position: relative;
	z-index: 50;
	/* top: -1px; */
}

/**
*
* =title
*
**/
.wrapper #service-wrap h2 {
	/* padding: 100px 0 20px; */
	/* background: url(../../images/02/index/bg-indexItem.jpg) no-repeat center center; */
	/* -webkit-background-size: cover; */
	/* -moz-background-size: cover; */
	/* -o-background-size: cover; */
	/* background-size: cover; */
	background: #d4af37;
    color: #fff;
    text-align: center;
    padding: 15px 20px;
    font-size: 1.2em;
    font-weight: bold;
    letter-spacing: 2px;
}

.wrapper #service-wrap h2 span {
	margin: 0 auto;
	width: 220px;
	display: block;
	text-align: center;
	font-size: 30px;
	color: #fff;
}

/**
*
* =service-list
*
**/
.wrapper #service-wrap .service-list {
	/* margin: 15px; */
}

.wrapper #service-wrap .service-list .row{
	padding-top: 30px;
    padding-bottom: 100px;
}

.wrapper #service-wrap .service-list .service-item {
    /* gap: 20px; */
    /* padding: 20px; */
}

.wrapper #service-wrap .service-list .service-item {
	/* overflow: hidden; */
}

.wrapper #service-wrap .service-list .service-item {
	background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 20px;
	margin-left: 10px;
	margin-right: 10px;
	width: calc(100% - 20px);
}

.wrapper #service-wrap .service-list .offset-lg-2.service-item {
	margin-left: 10px;
}

.wrapper #service-wrap .service-list .service-item article {
	/* margin: 20px 15px; */
}

.wrapper #service-wrap .service-list .service-item article h2 {
	/* margin: 40px 0 20px; */
	margin: 20px 0 10px;
	padding: 19px 0px 5px;
	height: auto;
	/* background: url(../../images/02/index/毛筆紅圈圈_1.svg) no-repeat; */
	background-color: #fff;
	color: #d4af37;
	text-align: center;
	/* font-size: 24px; */
	font-size: 22px;
	font-weight: bold;
}
/* .wrapper #service-wrap .service-list .service-item article h2.service01 {
	background-position: 85% 100%;
}
.wrapper #service-wrap .service-list .service-item article h2.service02 {
	background-position: 71% 100%;
}
.wrapper #service-wrap .service-list .service-item article h2.service03 {
	background-position: 71% 100%;
}
.wrapper #service-wrap .service-list .service-item article h2.service04 {
	background-position: 66% 100%;
} */

.wrapper #service-wrap .service-list .service-item article p {
	text-align: center;
	line-height: 180%;
	color: #6f6f6f;
	padding-bottom: 30px;
}

.wrapper #service-wrap .service-list .service-item article a.photo {
	width: 100%;
	display: block;
	overflow: hidden;
}

.wrapper #service-wrap .service-list .service-item article a.photo img {
	width: 100%;
	border-radius: 6px;
}

.btn-indexService-solid{
	background-color: #d4af37 !important;
	color: #fff !important;
}







/* +function-item
*----------------------------------------------------------------------------*/
.wrapper #function-item {
	padding: 50px 0;
	background: #f3f5f8;
	overflow: hidden;
	position: relative;
	z-index: 50;
	/* top: -2px; */
}

.wrapper #function-item section {
	margin: 0 15px;
}

/**
*
* =latest-news 
*
**/
.wrapper #function-item section #latest-news {
	margin: 0 0 20px;
}

.wrapper #function-item section #latest-news h2 {
	margin: 0 0 25px;
	font-size: 25px;
}

.wrapper #function-item section #latest-news .newsWrap {
	width: 100% !important;
	height: 510px !important;
	overflow: hidden;
	position: relative;
}

.wrapper #function-item section #latest-news .newsWrap ul {
	height: 510px;
}

.wrapper #function-item section #latest-news .newsWrap ul li {
	margin: 0 0 20px;
	/* padding: 0 0 20px; */
	/* border-bottom: 1px #ab9467 solid; */
	overflow: hidden;
	height: 140px;
	text-align: center;
}

.wrapper #function-item section #latest-news .newsWrap ul li .photo {
	display: none;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info {
	overflow: hidden;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info h3 {
	margin: 0 0 15px;
	line-height: 170%;
	font-size: 18px;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info h3 a {
	color: #d03349;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p {
	line-height: 170%;
	font-size: 12px;
	color: #797979;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p.more {
	margin: 15px 0 0;
	overflow: hidden;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p.more a {
	padding: 3px 8px;
	border: 1px #ab9467 solid;
	display: inline-block;
	color: #ab9467;
}

.wrapper #function-item section #latest-news .newsWrap ul li .info p.more a:hover {
	background: #ab9467;
	color: #fff;
}


.wrapper #function-item section .function-wrap {
	margin: 0 0 20px;
}

/**
*
* =fb-wrap
*
**/
.wrapper #function-item section .function-wrap #fb-wrap {
	margin: 0 0 20px;
	padding-top: 30px;
}

.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box ,
.wrapper #function-item section .function-wrap #fb-wrap span ,
.wrapper #function-item section .function-wrap #fb-wrap iframe {
	width: 100% !important;
	/* height: 320px !important; */
	height: 130px !important;
}

/**
*
* =g-map
*
**/
.wrapper #function-item section .function-wrap #g-map iframe {
	width: 100% !important;
	height: 320px;
}


/* +ad-wrap
*----------------------------------------------------------------------------*/
.wrapper #ad-wrap {
	padding: 0 0 25px;
	background: #fff;
	position: relative;
	z-index: 50;
	/* top: -1px; */
}

/**
*
* =title
*
**/
.wrapper #ad-wrap h2 {
	padding: 65px 0;
	background: url(../../images/02/index/bg-adWrap.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.wrapper #ad-wrap section {
	margin: 0 15px;
}

/**
*
* =ad-list
*
**/
.wrapper #ad-wrap section #ad-list {
	margin: 25px 0 0;
	width: 100% !important;
	height: 140px !important;
	overflow: hidden;
	position: relative;
}

.wrapper #ad-wrap section #ad-list ul {
	height: 140px !important;
	overflow: hidden;
}

.wrapper #ad-wrap section #ad-list ul li {
	margin: 0 auto;
	width: 275px !important;
	height: 140px !important;
}


/**
*
* =line-wrap
*
**/

#line-wrap {
	padding-top: 100px;
	padding-bottom: 100px;
	background-color: #fff;
	overflow: hidden;
	position: relative;
	z-index: 50;
	/* top: -3px; */
	box-sizing: border-box;
}
#line-wrap .line-des-col .line-des{
	display: flex;
	justify-content: center;
	margin-bottom: 70px;
	align-items: center;
	flex-direction: column;
	padding-top: 10%;
}
@media only screen and (max-width : 991px) {
	#line-wrap .line-des-col .line-des{
		padding-top: 0;
	}
}

#line-wrap .line-des-col .line-des h3{
	line-height: 200%;
}
#line-wrap .line-des-col .line-des h4{
	line-height: 200%;
}
#line-wrap .line-des-col .line-des h5{
	line-height: 200%;
}

#line-wrap .line-items-col .row{
}
@media only screen and (max-width : 575px) {
	#line-wrap .line-items-col .row{
		justify-content: center;
	}
}

#line-wrap .line-items-col .line-item{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 30px;
	margin: 10px 25px;
	border-radius: 10px;
	box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
	width: calc(50% - 50px);
	position: relative;
}
@media only screen and (max-width : 575px) {
	#line-wrap .line-items-col .line-item{
		width: calc(80% - 50px);
		margin-bottom: 80px;
	}
}

#line-wrap .line-items-col .line-item p{
	color: #fff;
	font-size: 20px;
	padding: 20px 0px
}
#line-wrap .line-items-col .line-item.line-item-01{
	background-color: #006934;
}
#line-wrap .line-items-col .line-item.line-item-02{
	background-color: #171c61;
}
#line-wrap .line-items-col .line-item img.line-logo{
	position: absolute;
	width: 106px;
	top: -41px;
	left: -41px;	
}
@media only screen and (max-width : 767px) {
	#line-wrap .line-items-col .line-item img.line-logo{
		width: 106px;
		top: -55px;
		left: 55px;	
	}
	#line-wrap .line-items-col .line-item p{
		padding: 30px 0px 20px 0px;
	}
}
@media only screen and (max-width : 575px) {
	#line-wrap .line-items-col .line-item img.line-logo{
		width: 106px;
		top: -44px;
		left: -48px;	
	}
}




/**********適應性**********/
/************************/
@media only screen and (min-width : 480px) {
	.wrapper #service-wrap .service-list .service-item {
		width: calc(100% - 20px);
	}

	.wrapper #service-wrap .service-list .offset-lg-2.service-item {
		margin-left: 10px;
	}
	
	.wrapper #index-item .god-list ul li {
		margin: 0 auto;
		width: 390px;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		height: 480px !important;
	}
}

@media only screen and (min-width : 640px) {
	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		height: 410px !important;
	}
	
	.wrapper #ad-wrap section #ad-list ul li {
		margin: 0 10px;
		float: left;
	}
}

@media only screen and (min-width : 768px) {
	.wrapper #service-wrap .service-list .service-item {
		width: calc(50% - 20px);
	}

	.wrapper #service-wrap .service-list .offset-lg-2.service-item {
		margin-left: 10px;
	}

	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		/* height: 370px !important; */
		height: 550px !important;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li a.photo {
		margin: 0 10px 0 0;
		width: 150px;
		height: 150px;
		display: block;
		float: left;
		overflow: hidden;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li a.photo img {
		width: 100%;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info h3 {
		margin: 0 0 5px;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info p.more {
		margin: 5px 0 0;
	}
	
	.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box {
		/* height: 271px !important; */
		height: 130px !important;
	}
	
	.wrapper #ad-wrap section #ad-list {
		margin: 25px auto 0;
		width: 590px !important;
	}
}


@media only screen and (min-width : 1024px) {
	.wrapper #service-wrap .service-list .service-item {
		width: calc(33% - 20px);
	}

	.wrapper #service-wrap .service-list .offset-lg-2.service-item {
		margin-left: calc(16.66666667% + 10px);
	}
	
	.wrapper #index-item h2 span {
		padding: 0 0 45px;
		background: url(../../images/02/index/icon-god.png) no-repeat center bottom;
	}

	.wrapper #index-item h2 span#service {
		padding: 0 0 45px;
		/* background: url(../../images/02/index/icon-god.png) no-repeat center bottom; */
	}
	
	.wrapper #index-item .god-list {
		margin: 15px auto;
		width: 960px;
	}
	
	.wrapper #index-item .god-list ul li {
		margin: 0;
		width: 320px;
		float: left;
		visibility: visible;
		opacity: 1;
		transition: opacity 0.5s ease-in-out 0s;
	}
	
	.wrapper #index-item .god-list ul li.animated {
		opacity: 1;
		transition-delay: 0.3s;
		-webkit-animation-duration: 1s;
		animation-duration: 1s;
		-webkit-animation-fill-mode: both;
		animation-fill-mode: both;
	}
	
	.wrapper #index-item .god-list ul li.fadeInUp {
		-webkit-animation-name: fadeInUp;
		-moz-animation-name: fadeInUp;
		-ms-animation-name: fadeInUp;
		animation-name: fadeInUp;
	}
	
	.wrapper #index-item .god-list ul li.delay-05s {
		animation-delay: 0.5s;
		-webkit-animation-delay: 0.5s;
	}
	
	.wrapper #index-item .god-list ul li.delay-1s {
		animation-delay: 1s;
		-webkit-animation-delay: 1s;
	}
	
	.wrapper #function-item section {
		margin: 0 auto;
		width: 960px;
		overflow: hidden;
	}
	
	.wrapper #function-item section #latest-news {
		/* width: 528px; */
		float: left;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ,
	.wrapper #function-item section #latest-news .newsWrap ul {
		/* height: 750px !important; */
		height: 620px !important;
	}
	
	
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info p {
		height: 80px;
		overflow: hidden;
	}
	
	.wrapper #function-item section #latest-news .newsWrap ul li .info p.more {
		margin: 10px 0 0;
		height: 28px;
	}
	
	.wrapper #function-item section .function-wrap {
		margin: 0;
		/* padding: 55px 0 0; */
		/* padding: 40px 0 0; */
		/* width: 365px; */
		float: right;
	}
	
	.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box {
		/* height: 330px !important; */
		height: 130px !important;
	}
	
	.wrapper #function-item section .function-wrap #g-map iframe {
		height: 400px;
	}
	
	.wrapper #ad-wrap section {
		margin: 0 auto;
		width: 960px;
	}
	
	.wrapper #ad-wrap section #ad-list {
		width: 957px !important;
	}
	
	.wrapper #ad-wrap section #ad-list ul li {
		margin: 0 22px;
	}
}

@media only screen and (min-width : 1280px) {
	.wrapper #index-item .god-list ,
	.wrapper #function-item section ,
	.wrapper #ad-wrap section,
	.wrapper #sevice-wrap section {
		width: 1200px;
	}
	
	.wrapper #index-item .god-list ul li {
		width: 400px;
	}
	
	.wrapper #function-item section #latest-news {
		/* width: 660px; */
	}
	
	.wrapper #function-item section .function-wrap {
		/* width: 456px; */
	}
	
	.wrapper #function-item section .function-wrap #fb-wrap .fb-like-box {
		/* height: 290px !important; */
		height: 130px !important;
	}
	
	.wrapper #function-item section .function-wrap #g-map iframe {
		height: 430px;
	}
	
	.wrapper #ad-wrap section #ad-list {
		width: 1196px !important;
	}
	
	.wrapper #ad-wrap section #ad-list ul li {
		margin: 0 12px;
	}
}



@media only screen and (max-width : 991px) {
	.wrapper #function-item section #latest-news .newsWrap {
		display: none;
	}
}

@media only screen and (min-width : 992px) {
	.wrapper #ad-wrap {
		display: none;
	}
}