@charset "utf-8";
/* CSS Document */
@import url("rwd.css");

*{
	margin:0;
	padding:0;
}

body{
	font-family: 'Times New Roman', 'Noto Serif TC', serif;
	background: #d9e0d9;
}

/*===============header================*/
header{
	width:100%;
	height: 80px;
	position: relative;
	background: rgba(56,74,58,.8);
	box-sizing:border-box;
	margin:auto;
	
	position: -webkit-sticky;/* Safari */ 
	position: sticky;
	top: 0;
	z-index: 2000;
}

.h_box{
	width:100%;
	height: 80px;
	margin: auto;
}

.h_box img{ 
	float: inherit;
} 

/*nav bar*/
nav{ 
	width:100%; 
	text-align:center;
	background:rgba(56,74,58,1); 
	position: relative;
	z-index: 10000;
	margin: auto;
	text-align: center;

}

nav ul{
	margin: 0; 
	padding: 0;
	text-align: center;
}

nav li{
	display: block;
	border-bottom:solid rgba(242, 242, 242, 1) 1px; /*有底線才會分開*/
}

nav li a{
	display: inline-block;
	width:100%; 
	padding:20px 30px;
	color: #FFF;
	text-decoration: none;
}

nav li a:hover{
	color: #FFB300;
}

.menu{
	display:block;
	position:absolute;
	right:20px;
	top:20px;
	width:30px;
	height:30px;
	font-size:30px;
	color: #FFf;
}

.menu:hover{
	cursor:pointer;
}

.ch_bg{
	background:rgba(207, 181, 59, 1);
}


/*===============banner================*/
.banner{
	margin: 0px 0px 50px 0px;
}

/*m1有背景圖*/
#m1, #m2{
	position:relative;
	width:100%;
	/*min-width:1200px;*/
	height:auto;/*auto*/
	margin:auto;
	overflow:hidden;
	background:url(../images/f2.png) no-repeat;
	background-size:cover;
}

#m1 section{
	width: 100%;
}

a img{
	border: none;
}

#s_pic, #v_pic{
	position: relative;
	width: 100%;
	height:auto;
}

#s_pic{
	display:none;
}

#s_pic img, #v_pic img{
	width:100%;
}

/*===============section================*/
section{
	width:100%;
	/*min-width:1500px;筆電可以不用，大螢幕才需要*/
	padding: 0px;
}

article .picbox{
	display: flex;
    justify-content: center; 
    align-items: center; 
}

.desbox{
	background:rgba(255,255,255,.5);
	margin: 0px;
	padding: 30px;
}

.desbox h1{ 
	font-variant: small-caps;
	font-family: 'Noto Serif TC', serif; 
	font-weight: 700; 
	font-size: 45px; 
	/*color: #FFB300; */
	line-height: 2em; 
} 

.desbox p{
	font-variant: small-caps;
	text-align: justify
	font-weight: bold;
	line-height: 45px;
	font-size: 20px;  
	color: #384A3A;
}

.desbox p::after{
	background-image: url("../images/paw3.png");
    background-size: 30px 30px;
    display: inline-block;
    width: 30px; 
    height: 30px;
    content:"";
}

.topbox{
	font-variant: small-caps;
	font-family: 'Noto Serif TC', serif;
	font-weight: 700; 
	font-size: 15px; 
	position: relative;
}

.topbox li{
	display: inline-block;
	padding: 5px;
	margin: 10px 8px 0px;
}
.topbox li a{
	padding: 12px 26px;
	color: #FFF;
	background: #FFB300;
	text-decoration: none; 
}

.topbox li a:hover{
	color: #FFB300;
	background: #FFF;
}


/*===============footer================*/
footer{
	clear: both;
	padding: 20px 0px;
	text-align: center;
	color: #384A3A;
	/*line-height:1.2em;width:100vw;*/
}

/*==============other rwd===============*/

@media only screen and (min-width: 768px) {

.menu{
	display:none;	
}

section{
	line-height:2.5em;
	font-size:1.1em;
}

#m1, #m2{
	width:100%;
}

#v_pic{
	display:none;
}

#s_pic{
	display:block;	
}
/*===============header================*/
.h_box img{ 
	display: block;
	float:left; 
} 

nav{
	width:100%; 
	text-align:center;
	background:none;
	text-align: center;
	padding: 10px;
	z-index: 10000;
	margin: auto;
}
	
	
nav li{
	display: inline-block;
	border-bottom: none;
}

/*===============section================*/
section{
	width:85%;
	/*min-width:1500px;筆電可以不用，大螢幕才需要*/
	margin:auto;
}

article{
	float:left;
	width:100%;
	box-sizing:border-box;
	margin:100px 0px 0px;
	background:rgba(255,255,255,.5);
}

article:nth-child(2n){/*雙數項*/
	background: #FFB300;
}

article .picbox{
	float: left;
	position: relative;
	width: 35%;
	box-sizing: border-box;
}

article .desbox{
	width: 65%;
	float: left;
	position: relative;
	box-sizing: border-box;
	padding: 50px;
	padding-bottom: 100px;
	line-height: 2em;
	/*text-align: justify;文字等寬*/
}
	
.picbox img{
	width: 100%;
}
	
.desbox{
		background:none;
		margin: 0px;
		padding: 0px;
}

.desbox h1{ 
	font-variant: small-caps;
	font-family: 'Noto Serif TC', serif; 
	font-weight: 700; 
	font-size: 45px; 
	/*color: #FFB300; */
	line-height: 2em; 
} 

.desbox p{
	font-variant: small-caps;
	text-align: justify
	font-weight: bold;
	line-height: 45px;
	font-size: 20px;  
	color: #384A3A;
}

.desbox p::after{
	background-image: url("../images/paw3.png");
    background-size: 30px 30px;
    display: inline-block;
    width: 30px; 
    height: 30px;
    content:"";
}

.topbox{
	font-variant: small-caps;
	font-family: 'Noto Serif TC', serif;
	font-weight: 700; 
	font-size: 25px; 
	position: absolute;
	right: 95px;
	top: 360px;
	padding: 20px;
}

.topbox li{
	display: inline-block;
	padding: 10px;
	margin: 0px 10px;
}
.topbox li a{
	padding: 12px 26px;
	color: #FFF;
	background: #FFB300;
	text-decoration: none; 
}

.topbox li a:hover{
	color: #FFB300;
	background: #FFF;
}

}

@media only screen and (min-width: 1200px) {

}