@import url(http://fonts.googleapis.com/earlyaccess/cwtexfangsong.css);
/*-------------------------------------------
                 基本版面設定區
-------------------------------------------*/
html{ width: 100%; height: 100%;scroll-behavior: smooth;}		
body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	font-family: 'cwtexhei', 'Varela Round', '微軟正黑體', sans-serif;
	background-color: #bc8155;
	scroll-behavior: smooth;
	text-align: justify;
	text-justify: distribute;
	background-attachment: scroll;
	background-image: url(../images/body-img.jpg);
	background-repeat: repeat;
	background-position: center top;
	letter-spacing: 1px;
}
img, object, embed, video {max-width: 100%;vertical-align: text-top;border: 0px;}
a,a:link,a:hover,a:hover,a:active,a:visited{transition: 1s;text-decoration: none;}
.both{clear: both;}
/* IE 6 不支援最大寬度，因此寬度預設為100%*/
.ie6 img {width:100%;border: 0px;}
.rwd-img{width:100%;}
img{vertical-align:top;}

.row{
	padding-right: 15px;
	padding-left: 15px;
}

.text-left{
	text-align: left;
	float: left;
	width: 100%;
}

.text-right{
	text-align: right;
	font-size: 15px;
	line-height: 1.75em;
	color: #900;
	float: left;
	width: 100%;
}

.text-center{
	text-align: center;
	font-size: 15px;
	line-height: 1.75em;
	color: #000;
	float: left;
	width: 100%;
}

.h1{
	font-size: 22px;
	line-height: 1.55em;
	color: #900;
	font-weight: bold;
}

p{
	line-height: 1.55em;
	float: left;
	width: 100%;
}

.p-text{
	font-size: 16px;
	line-height: 1.55em;
	color: #000;
	font-weight: bold;
	padding-bottom: 20px;
}

#wap{
	float: left;
	width: 100%;
	position: relative;
}
.container{	float: left;
	width: 100%;}

.content{
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	max-width:1170px;
}

.header{
	float: left;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
}
.logo{
	float: left;text-align: left;
	width: 50%;
}	
.line-btn{
	text-align: right;
	float: left;
	width: 50%;
}		
	
.main{
	float: left;
	width: 100%;
	padding-bottom: 50px;
}

.em-con{
	float: left;
	width: 33.3333%;
}

.em-img{
	float: left;
	margin: 5px;
	border: 3px solid #FFF;
}

.gem{
	float: left;
	width: 50%;
	line-height: 2.5em;
}
	
.em{
	float: left;
	width: 45%;
	line-height: 1.75em;
}	
.em1{float: left;
	width: 55%;	line-height: 1.75em;}	
.footer{
	float: left;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #9d663c;
	font-size: 15px;
	line-height: 1.75em;
	color: #000000;
	text-align: center;
}
@media(max-width:768px){
.header{
	float: left;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 20px;
}
.logo{
	float: left;
	text-align: center;
	width: 100%;
}	
.line-btn{
	text-align: center;
	float: left;
	width: 100%;
}	
	.em-con{
	float: left;
	width: 100%;
}
.gem{
	float: left;
	width: 50%;
	line-height: 2.5em;
	padding-top: 20px;
}
	
.em{
	float: left;
	width: 100%;
	line-height: 1.75em;
}	
.em1{float: left;
	width: 100%;	line-height: 1.75em;}
.text-left{
	text-align: center;
	float: left;
	width: 100%;
}
.text-center{
	text-align: center;
	font-size: 18px;
	line-height: 1.75em;
	color: #000;
	float: left;
	width: 100%;
}
.em-img{
	float: left;
	margin: 5px;
	border: 5px solid #FFF;
	width: 96%;
}	
	}
