﻿/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---reset.css--- */

html, body{
	font-family:"微軟正黑體", "新細明體";
	-webkit-text-size-adjust:none;
		background-image:url(images/bg.jpg);
}


/* --手機版型------------------------------------- */

@media screen and (max-width: 736px) {
	
*{
	box-sizing:border-box; /* 讓 padding 與 width 解除關係 */
}

html,body{
	-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
}

#WRAPPER{
	width:100%;
	background-image:url(images/bg.jpg);
	min-width:320px; /* 限定最小寬度 */
}
	
#TOP-MENU{
	display:block;
	width:100%;
	height:60px;
	position:relative;
	background-image:url(images/logo.png);
	background-repeat:no-repeat;
	background-color:#FFF;

}

#TOP-MENU #BTN{ /* 製作手機版 右上角的按鈕 */
	display:block;
	width:100px;
	height:40px;
	background-image:url(images/btn.jpg);
	position:absolute;
	right:5px;
	top:15px;
	text-indent:-9999px;

}

#BANNER{
		width:100%;
		height:0;
		padding-bottom:200%;
		background-image:url(images/m-index.jpg);
		
		background-size:cover; /* 背景圖自動伸縮 */
		background-position:left left; /* 縮放時以中間點為縮放基準 */	
		
		text-indent:-9999px;
	}
	
#BANNER h1{
		width:100%; /* 等比例 伸縮式的 banner */
        height:0;
		padding-bottom:92%;
		background-image:url(images/index.jpg);
		
		background-size:cover; /* 背景圖自動伸縮 */
		background-position:left left; /* 縮放時以中間點為縮放基準 */	
		
		text-indent:-9999px;
}

#BANNER h2{
	font-size:14px;
	text-align:center;
	color:#EEE;
	padding-top:20px;
	letter-spacing:2px;
}

#NAV{
	position:fixed; /* position 可以讓 div 跳脫原本在 HTML 內的位置 */
	top:0;
	z-index:888;
	
	width:100%; /* 寬高 100% 整個蓋住 */
	height:100%;
	background-color:rgba(0,0,0,0.5);
	
	display:none; /* 把主選單先關掉 */
}

#NAV ul{
	width:280px;
	height:260px;
	
	position:absolute; /* 把 ul 選單 上下左右都置中 */
	top:0;
	bottom:0;
	left:0;
	right:0;
	margin:auto;
}

#NAV li{
	width:100%;
	float:none;
}

#NAV li a{
	display:block;
	width:100%;
	line-height:50px;
	text-align:center;
	text-decoration:none;
	background-image:url(images/list.png);

	color:#000;	
}

#NAV li a:hover{
	background-image:url(images/list2.png);
}

#NAV #XX{ 			/*選單之內右上角的 X 按鈕*/
	display:block;
	width:30px;
	height:30px;
	background-color:#fff;
	border-radius:50%;
	text-align:center;
	line-height:30px;
	
	position:absolute;
	right:-5px; /* 凸出去 */
	top:-5px;
	font-family:Arial, Helvetica, sans-serif;
}


#CONTENT-1{
	width:100%;
	margin:0 auto;
	overflow:hidden;

}

#CONTENT-1 img{
	float:none;
	margin:0;
	width:100%; /* 插圖自動伸縮 */
	height:auto;
}

#CONTENT-1 .WORD{
	width:100%;
	float:none;
	padding:10px;
}

#CONTENT-1 .WORD p{
	font-size:18px;
	line-height:1.8;
	color:#333;
}


#CONTENT-1 h3{
	font-size:2em;
	line-height:2;
	border-bottom:2px solid #ef7c00;
	color:#ef7c00;
	text-align:center;
	
}


#CONTENT-2{
	clear:both;
	width:100%;
	margin:0 auto;
	overflow:hidden;

	padding:0px 20px;

}



#CONTENT-2 .WORD{

	width:100%;
	float:none;
	padding:10px;
}

#CONTENT-2 .WORD p{
	width:100%;
	font-size:15px;
	line-height:1.6;
	color:#333;

}

#CONTENT-2 .WORD p1{
	width:100%;
	font-size:15px;
	line-height:1.6;
	color:#c3055d;

}


#CONTENT-2 .WORD sub{
	width:100%;
	font-size:20px;
	line-height:1.6;
	color:#ba0b0b;

}

#CONTENT-2 .WORD sub1{
	width:100%;
	font-size:20px;
	line-height:1.6;
	color:#628016;

}

#CONTENT-2 .WORD sub2{
	width:100%;
	font-size:15px;
	line-height:1.6;
	color:#248787;

}

#CONTENT-2 h3{
	font-size:2em;
	line-height:2;
	border-bottom:2px solid #ef7c00;
	color:#ef7c00;
	text-align:center;
	
}

#CONTENT-2 h4{
	font-size:1.6em;
	line-height:2;
	border-bottom:2px solid #ef7c00;
	color:#ef7c00;
	text-align:center;
	
}

#CONTENT-3{
	width:94%;
	margin:0 auto;
	overflow:hidden;

}

#CONTENT-3 img{
	float:none;
	margin:0;
	width:100%; /* 插圖自動伸縮 */
	height:auto;
}



#DOWN{
	clear:both;
	width:100%;
	height:auto;
	margin:0px auto;
	background-image:url(images/bot-bg.png);
	background-repeat:no-repeat;
	background-color:#f8ba07;
	padding-bottom:0px;

}

#DOWN p{
	padding-top:0px;
	
	font-size:10px;
		line-height:1.6;
	text-align:center;
	color:#604C3F;
}

.w4 {
	font-family: "微軟正黑體", "新細明體";
	font-size: 16px;
	color: #585858;
	line-height: 1.6;
	padding-top:10px;
	padding-left:10px;
	padding-bottom:10px;
}
.w51 {
	font-family: "微軟正黑體", "新細明體";
	font-size: 15px;
	color: #ff5b02;
	line-height: 1.6;
		padding-top:10px;
	padding-left:10px;
	padding-bottom:10px;	
}

.w21 {	font-family: Verdana, Arial, Helvetica, sans-serif, "微軟正黑體", "新細明體";
	font-size: 17px;
	color: #4a3d5b;
	line-height: 1.6;
	font-weight:bold;
		padding-top:10px;
	padding-left:10px;
	padding-bottom:10px;}	
