

/* == 共用區 ============================================================================= */

*{
	margin:0; 
	padding:0;
	-webkit-box-sizing:border-box; /*safari & chrome*/
	-moz-box-sizing:border-box; /*firebox*/
	box-sizing:border-box; /*解除padding影響寬度關係*/
	}

html, body{
	-webkit-text-size-adjust: 100%; /*避免文字自動放大*/
	width:100%;
	height:100%;
    font-family:"微軟正黑體", Arial, Helvetica,sans-serif; 
    background-color: #FCE3CD;
	}
ul{ list-style:none; }

.texthidden{
	display:block; /*轉換為塊級元素*/
	height:0; 
	width:0; 
	overflow:hidden;
	}/*隱藏文字，切勿使用display:none;*/


/* == 桌機版 ============================================================================= */

/* == 固定上方選單 == */
.fiexd-header {
	width: 100%;
    height: auto;
    margin: auto;
    text-align: center;
	background-color: #E65E1D;
  
	position:fixed; /*固定位置定位*/
	top:0; /*距離上方 0 像素*/
	z-index:1; /*重疊時會在其他元素之上*/
	}
.fiexd-header ul {
    width: 900px;
    height: auto;
    margin: 0 auto;
	}
.fiexd-header ul li {
    width: auto;
    height: auto;
	padding: 1%;
    display: inline-block;
	color: #FFF;
	}
.fiexd-header ul li a {
    display: block;
    width: 100%;
    font-size: 1.7em;
    text-align: center;
    text-decoration: none;
    color: #FFF;
	}
.fiexd-header ul li a:hover {
	text-decoration:underline;
	}

.btn a{
	display:block;
    margin:0 auto;
    width:500px;
	height:60px;
	background-color:#231815;
	border-radius:10px;
	-webkit-border-radius:10px;
	font-size:2.3em;
	line-height:60px;
	text-align:center;
	text-decoration:none;
	color:#F4E829;
	}
.btn a:hover{
	background-color:#B40A0D;
	}

/* == top == */
.top{
    display: block;
    position: fixed;
    /*固定定位*/
    right: 1.5%;
    top: 70%;
    /*距離上邊界高度*/
    z-index: 999;
    /*設定層級順序，數字越大，層級越高，可避免被蓋住*/
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2B1B9E;
	}
.top h3{
    margin: 12px 0;
    text-align: center;
    color: #FFF;
	}
.top a{
    margin: 6px 0;
    text-align: center;
    font-size: 1.2em;
    text-decoration: none;
    color: #FFF;
	}

/* == 刊頭 == */
.head{
	width:100%;
    height:633px;
    background-image:url(../images/head.jpg);
	background-position:center; /*背景圖置中*/
	background-position: top center;
    }

/* == 區塊01 == */
.con01{
	margin:auto;
	padding: 0 0 5%;
	width:100%;
    overflow:hidden;
    background-image:url("../images/bg01.jpg");
	background-position:center; /*背景圖置中*/
	background-attachment: fixed;
	text-align:center;
	}	
.con01 .box{
	margin:auto;
    width:100%;
	max-width:1000px;
	overflow:hidden;
	}
.con01 ul{
	margin:auto;
	width:100%;
	max-width:1000px;
	list-style:none;
	overflow:hidden;
	}
.con01 li{
	display:block;
	margin: 15px 0 15px 20px;
	padding:20px;
    width:460px;
	height:auto;
	float:left;
	border-radius:15px;
	-webkit-border-radius:15px;
	}


/* == 內容 == */
.con02{
	margin:auto;
	padding: 0 0 5%;
	width:100%;
    overflow:hidden;
    background-image:url("../images/bg02.jpg");
	background-position:center; /*背景圖置中*/
	background-attachment: fixed;
	text-align:center;
	}

.con03{
	margin:auto;
	padding: 0 0 5%;
	width:100%;
    overflow:hidden;
    background-image:url("../images/bg01.jpg");
	background-position:center; /*背景圖置中*/
	background-attachment: fixed;
	text-align:center;
	}

.con04{
	width:100%;
    height:955px;
    background-image:url("../images/con04.png");
	background-position:center; /*背景圖置中*/
	background-position: top center;
	position: relative;
	}

.con04 .btn a{
	display:block;
    margin:0 auto;
    width:320px;
	height:60px;
	background-color:#B40A0D;
	border-radius:10px;
	-webkit-border-radius:10px;
	font-size:2.3em;
	line-height:60px;
	text-align:center;
	text-decoration:none;
	color:#F4E829;
	position:absolute;
	bottom: 5%;
    right:50%;
	margin-right:-160px;
	}
.con04 .btn a:hover{
	background-color:#FF0004;
	}



.con05{
	margin:auto;
	padding: 0 0 5%;
	width:100%;
    overflow:hidden;
    background-image:url("../images/bg01.jpg");
	background-position:center; /*背景圖置中*/
	background-attachment: fixed;
	text-align:center;
	}

.box{
    margin: 0 auto;
    width: 95%;
    max-width: 1000px;
    height: auto;
    }
.box_t{
	display: block;
    margin: 0 auto;
    width: 95%;
    max-width: 1000px;
    height: auto;
    }
.box_m{
	display: none;
    margin: 0 auto;
    width: 95%;
    max-width: 1000px;
    height: auto;
    }

/* == 班址 == */
.footer {
    width: 100%;
    height: 150px;
    background-color: #575757;
	}
.footer .box {
    margin: 0 auto;
    padding: 40px 0 0;
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
	}
.footer .box .left {
    float: left;
    width: 230px;
	}
.footer .box .right {
    float: right;
    width: 770px;
	}
.footer .box .right ul {
    margin: 0 auto;
    padding: 0;
    list-style: none;
	}
.footer .box .right li a {
    float: left;
    display: block;
    padding: 0;
    margin: 0 20px 10px;
    width: 100px;
    height: 22px;
    font-size: 1.2em;
    text-decoration: none;
    color: #FFF;
	}

    
/* == 手機版型區 ============================================================================= */
@media screen and ( max-width:767px ){

/* == 固定上方選單 == */
.fiexd-header {
	width: 100%;
    height: auto;
    padding: 0.5% 2% 1% 2%;
    margin: auto;
    text-align: center;
	background:#E65E1D;
	position:fixed; /*固定位置定位*/
	top:0; /*距離上方 0 像素*/
	z-index:1; /*重疊時會在其他元素之上*/
	}
.fiexd-header ul {
	width: 90%;
    height: auto;
    margin: 0 auto;
    }
.fiexd-header ul li {
	padding: 2% 0.5%;
	width: auto;
    height: auto;
    display: inline-block;
	color:#FFF;
    }

.fiexd-header ul li a {
	display: block;
    width: 100%;
    font-size: 0.9em;
    text-align: center;
    text-decoration: none;
    color:#FFF;
    }
.fiexd-header ul li a:hover {
	text-decoration: underline;
    }
	
	
.btn a{
	display:block;
    margin:10px auto;
    width:300px;
	height:40px;
	line-height:40px;
	font-size:1.5em;
	text-align:center;
	text-decoration:none;
	background-color:#231815;
	color:#F4E829;
	border-radius:10px;
	-webkit-border-radius:10px;
	}
	
.head{
    width:100%;
    height:0;
    padding-bottom:73%; /*抓目前的寬度，計算出所需高度，計算方式為圖片高度除以寬度*/
    background-image:url(../images/head_m.jpg);
    background-size:cover; /*背景圖滿版縮放*/
    overflow:hidden;
    }

/* == 區塊01 == */
.con01{
	width:100%;
	padding: 50px 0 50px;
	height:auto;
	overflow:hidden;
	}	
.con01 .box{
	margin:0 auto;
    width:95%;
	overflow:hidden;
	}
.con01 ul{
	margin:0 auto;
	width:100%;
	list-style:none;
	overflow:hidden;
	}
.con01 li{
	display:block;
    margin:0 auto 15px;
	padding:10px 20px;
    width:90%;
	float:none;
	border-radius:15px;
	-webkit-border-radius:15px;
	}
	
/* == 內容 == */
.con02{
	margin: 0 auto;
	padding: 50px 0 50px;
    width: 100%;
	}	
.con03{
	margin: 0 auto;
	padding: 30px 0 30px;
    width: 100%;
	}
.con04{
    width:100%;
    height:0;
    padding-bottom:87%; /*抓目前的寬度，計算出所需高度，計算方式為圖片高度除以寬度*/
    background-image:url("../images/con04_m.png");
    background-size:cover; /*背景圖滿版縮放*/
    overflow:hidden;
	}	
.con04 .btn a{
	display:block;
    margin:0 auto;
    width:50%;
	height:40px;
	background-color:#B40A0D;
	border-radius:10px;
	-webkit-border-radius:10px;
	font-size:1.5em;
	line-height:40px;
	text-align:center;
	text-decoration:none;
	color:#F4E829;
	position:absolute;
	bottom: 8%;
    right:50%;
	margin-right:-25%;
	}
.con04 .btn a:hover{
	background-color:#FF0004;
	}
.con05{
	margin: 0 auto;
	padding: 10px 0 20px;
    width: 100%;
	}
	
.box_t{
	display: none;
    margin: 0 auto;
    width: 95%;
    height: auto;
    }
.box_m{
	display: block;
    margin: 0 auto;
    width: 95%;
    height: auto;
    }
	
/* == 班址 == */
.footer {
	width: 100%;
	height: auto;/*桌機有寫高度，手機版須改為auto*/
	background-color: #575757;
	overflow: hidden;
    }
.footer .box {
	margin: 0 auto;
	padding: 30px 0;
	width: 100%;
	overflow: hidden;
	}
.footer .box .left {
	margin: 0 auto 15px auto;
	width: 100%;
	max-width: 230px;
	float: none;
	}
.footer .box .right {
	width: 100%;
	float: none;
	}
.footer .box .right ul {
	width: 100%;
	margin: 0 auto;
	padding: 0 0 0 10%;
	}
.footer .box .right li a {
	float: left;
	display: inline-block;
	padding: 0;
	margin: 0 0 10px 0;
	width: 30%;/*三欄可抓30%*/
	height: 22px;
	font-size: 1em;
	text-decoration: none;
	color: #FFF;
    }
}
		
