@charset "utf-8";
/* CSS Document */
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
header,#bannerBox,#section1,#section2,#section3,#section4,footer{
	text-align:center;
}
article,.buttonMore{
	margin: 0 auto;
}
article{
    width: 450px;
	padding: 50px 0;
}
h1{
	display: block;
	width: 200px;
	color: #fff;
	letter-spacing: 5px;
	margin: 0 auto 50px auto;
	padding: 20px 0;
	font-size: 1.8em;
	font-weight: bold;
	border-bottom: 3px solid #fff;
}
.blockH1{
	color:#4d4d4d;
	border-bottom: 3px solid #4d4d4d;
}
h2 {
	font-size: 1.6em;
	font-weight: bold;
	color: #5e5e5e;
}
p{
	color:#4d4d4d;
    letter-spacing:2px;
    font-size: 1.2em;
	line-height: 2.5em;
	font-weight:bold;
}
.buttonMore{
	width:100px;
	height:100px;
	border-radius:50%;
	background-color:#fff;
	margin: 50px auto 0 auto;
	transition:background-color 0.5s ease 0s;
	line-height: 100px;
}
.buttonMore:hover{
	background-color:#9896a4;	
	    
}
.buttonMore p{
	line-height: inherit;
	color:#9896a4;
	font-weight:bold;
	transition:background-color 0.5s ease 0s;
}
.buttonMore p:hover{
	color:#fff;
}
/*------------------------------------------------------------wrapper--------------------------------------------------*/
#wrapper{
	width:100%;
}
/*---------------------------------------------------header---------------------------------------*/	
header{
    z-index: 999;
    width: 100%;
	top:0;
}
/*-----------------------nav-----------------------*/		
nav{
    background-color:rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    line-height: 100px;
	height:100px;
}
nav > ul{
    width:90%;
    margin: 0 auto;
    height: 100px;
}
nav ul > li{
    float: left;
    width:10%;
    height: 100px;
}
nav ul > li a{
    color: #4d4d4d;
    font-size: 1.2em;
    font-weight: bold;
	display:block;
	letter-spacing:2px;
}
nav ul > li a:hover{
	background-color:#8ec84a;
	color:#fff;
}
/*-------------navButtonBox,SnavBox----------------*/			
#navButtonBox,#SnavBox{
	display:none;
}
/*---------------------------------------------------main---------------------------------------*/					
/*---------------------------------------bannerBox---------------------------------------*/
#bannerBox{
	position:relative;
}
#banner {
    display: block;
    width: 100%;
    height:850px;
    background:url(../img/banner2.jpg) center top no-repeat;
    background-size:cover;
	background-attachment: fixed;
}
/*-----------logo-------------*/	
#logo{
    position: absolute;
	top: 40px;
    right: 40px;
}
/*--------------------------------------section1----------------------------------------*/		
#section1{
	min-height:300px;
	background-color:#8ec84a;
}
.indexW {
    width: 100%;
    min-height: 100px;
}	
#section1 article .indexW p{
	color:#fff;
	}	
/*--------------------------------------section2----------------------------------------*/
#section2Left,#section2RightBox{
	width:50%;
	float:left;
}
/*-----------------section2Left(左邊)------------------*/		
#section2Left{
	background: url(../img/p2.jpg) no-repeat center 60%;
	background-size: cover;
	height: 850px;
}
#section2 figure {
	width: 700px;
	min-height: 200px;
    margin: 450px auto 0 auto;
}
.option {
	width: 150px;
	height: 150px;
	border:2px solid #fff;
	border-radius: 50%;
	padding: 50px;
	line-height: 150px;
	float: left;
	margin-left: 67px;
	background-color:rgba(255, 255, 255, 0.5);;
	transition:all 0.5s ease;
}
.option.optionChange{
	background-color:#8ec84a;
}
.option img {
	width: 100%;
	height: auto;
}
#section2 h2{
	display: block;
    margin-top: -140px;
}
/*-----------------section2RightBox(右邊)-----------------*/		
#section2Right{
	position: relative;
	text-align:right;
}
.photoM{
	position: absolute;
	z-index: -1;
	width: 100%;
}
#section2Right img{
	width:75%;
	margin: 0 auto;
}
/*---section2RightW(標題)---*/	
#section2RightW h1{
    margin:6% auto;
}
/*--------------------------------------section3----------------------------------------*/
#section3 {
    background-color: #8ec84a;
    padding: 15px 0;
}
#section3 h2{
	position: absolute;
    width: 30px;
    line-height: 1.2em;
    display: block;
    background-color:rgba(94, 94, 94,0.5);
    padding: 10px;
    border-radius: 2px;
	color:#fff;
}
#section3 .buttonMore {
	margin: 0 auto 20px auto;
}
#S_accordion{
	display:none;
}
/*--------------------------------------section4----------------------------------------*/
/*---------------------------section4Up(上方)----------------------------*/
#section4UpLeft,#section4UpRight{
	width: 50%;
	float: left;
	height:600px;
}
/*--------------section4UpLeft(上方左邊)------------------*/
#section4 h1{
	padding-top: 250px;
}
/*--------------section4UpRight(上方右邊)-----------------*/
#section4 #map{
	width:100%;
	height:600px;
}
/*--------------------------section4Down(下方)---------------------------*/
#section4Down{
    min-height: 275px;
    background-color: #8ec84a;
    padding: 20px 0;
}
#s4MenuBox{
	width:70%;
	height: 100%;
	margin: 0 auto;
}
.s4Menu {
	width: 30%;
    float: left;
    margin: 30px 2.9%;
    border: 1px solid #fff;
    border-radius: 10px;
    min-height:100px;
    padding: 20px 7%;
}

.marginP{
	margin-left:65px;
}
#s4MenuBox p{
	color:#fff;
	text-align:center;
}
#s4MenuBox p.place{
	text-align:center;
}
#section4 .buttonMore {
    margin: 30px auto;
}
/*---------------------------------------------------footer---------------------------------------*/		
footer{
	clear:both;
	padding: 20px 5%;
}
footer p{
	color: #4d4d4d;
	font-size: 0.9em;
	letter-spacing: 1px;
	display: block;
}
footer p a{
	color: #4d4d4d;
}
footer p a:hover{
	color: #8ec84a;
}
footer p span{
	margin-left:1%;
}
footer .Sp{
	display:none;
}
#triangleP{
	position: relative;
	margin: 0 auto;
	width: 500px;
}
#triangleP:before{
	content: '';
	position: absolute;
	left: 10px;
	top: 8px;
	background:url(../img/triangleP.png) no-repeat;
	width:20px;
	height:20px;
}
footer #buttonTop{
	background:url(../img/buttonTop.png) no-repeat center center;
	width:50px;
	height:50px;
	border:2px solid #fff; 
	box-shadow:-2px -2px 3px rgba(0,0,0,0.5);
	position: fixed;
	display: none;
	cursor: pointer;
	opacity:0;
    right: 0;
    bottom: 0;
}

/*熒幕尺寸【小於】1441時頁面顯示*/
@media (max-width:1440px) {
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
	h1 {
		font-size: 1.6em;
		border-bottom: 2px solid #fff;
	}
	h2 {
		font-size: 1.4em;
	}
	p {
		font-size: 1.1em;
	}
/*---------------------------------------------------header---------------------------------------*/	
/*-----------------------nav-----------------------*/		
	nav > ul{
		width:95%;
	}	
/*---------------------------------------------------main---------------------------------------*/
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2Left {
		height: 700px;
	}
	#section2 figure {
		width: 600px;
		min-height: 200px;
		margin: 400px auto 0 auto;
	}
	.option {
		margin-left: 30px;
	}
/*--------------------------------------section4----------------------------------------*/	
/*--------------------------section4Down(下方)---------------------------*/
	.s4Menu {
		margin: 30px 2.8%;
	}	
}

/*熒幕尺寸【小於】1281時頁面顯示*/
@media (max-width: 1280px) {
/*---------------------------------------------------header---------------------------------------*/	
/*-----------------------nav-----------------------*/		
	nav > ul{
		width:100%;
	}	
/*---------------------------------------------------main---------------------------------------*/
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2Left {
		height: 600px;
	}
	#section2 figure {
		width: 300px;
		margin: 30px auto 0 auto;
	}
	.option {
		margin-left: 23px;
    	margin-top: 10px;
	}
/*--------------------------------------section4----------------------------------------*/
/*--------------------------section4Down(下方)---------------------------*/
	#s4MenuBox{
		width: 90%;
	}
}

/*熒幕尺寸【小於】1101時頁面顯示*/
@media (max-width: 1100px) {
/*---------------------------------------------------header---------------------------------------*/	
/*-----------------------nav-----------------------*/
	nav{
		display:none;
	}
/*------------------navButtonBox-------------------*/		
	#navButtonBox{
		display: block;
		width: 100%;
		height: 50px;
		background-color:#8ec84a;
	}
	#navButton{
		width: 30px;
		height: 30px;
		background-color: #fff;
		position: relative;
		top: 10px;
		left: 85%;
		cursor:pointer;
	}
	#navButton:before{
		content: '';
		width: 30px;
		height: 5px;
		background-color:#8ec84a;
		position: absolute;
		top:22%;
		left: 0;
		transition: all 0.5s ease 0s;
	}
	#navButton:after{
		content: '';
		width: 30px;
		height: 5px;
		background-color:#8ec84a;
		position: absolute;
		top: 60%;
		left: 0;
		transition: all 0.5s ease 0s;
	}
	#navButton.open:before{
		top:40%;
		transform: rotate(-45deg);
	}
	#navButton.open:after{
		top:40%;
		transform: rotate(227deg);
	}
/*------------------SnavBox------------------------*/	
	#SnavBox{
		display:none;
		width:100%;
		background-color:rgba(0, 0, 0, 0.8);
		position: absolute;
		z-index:99;
	}
	#Snav {
    	padding: 50px 0;
	}
	#Snav ul > li{
		padding: 20px 0;
	}

	#Snav ul > li a:hover{
		color:#8ec84a;
	}
	#Snav ul > li a{
		display: block;
		height: 30px;
		color: #fff;
		font-size: 1.2em;
		font-weight:bold;
		letter-spacing:2px;
	}
	.SnavS{
		display:none;
		margin: 10px 0;
		background-color:rgba(142, 200, 74, 0.5)
	}
/*---------------------------------------------------main---------------------------------------*/				
/*---------------------------------------bannerBox-----------------------------------------*/
	#banner {
		height:500px;
		background-attachment:inherit;
	}
/*-----------logo-------------*/	
	#logo{
		top: 20px;
		right: 20px;
		width: 50%;
	}
/*--------------------------------------section2----------------------------------------*/
	#section2Left,#section2RightBox{
		width:100%;
		float:none;
	}
/*-----------------section2Left(左邊)------------------*/
	#section2Left {
		background: url(../img/p2.jpg) no-repeat center 35%;
		background-size: cover;
	}
	#section2 figure {
		width: 700px;
		margin: 0 auto 0 auto;
	}
	.option {
		width: 100px;
    	height: 100px;
		margin-left: 65px;
    	margin-top: 160px;
	}
/*-----------------section2RightBox(右邊)-----------------*/
	#section2Right {
		height: 500px;
		position: relative;
		text-align: right;
		padding: 100px 0;
	}
/*--------------------------------------section3----------------------------------------*/
	#accordion{
		display:none;
	}
	#accordion a {
		display: none;
	}
	#accordion h2{
		display: none;
	}
	#S_accordion{
		display:block;
	}
	.h2Position{
		position:relative;
	}
	#S_accordion h2{
		position: absolute;
		bottom: 0;
		border: none;
		z-index: 10;
	}
/*--------------------------------------section4----------------------------------------*/
/*---------------------------section4Up(上方)----------------------------*/
/*--------------section4UpLeft(上方左邊)------------------*/
	#section4UpLeft{
		width: 100%;
		float: none;
		height:400px;
	}
	#section4 h1 {
		padding-top: 170px;
	}
/*--------------section4UpRight(上方右邊)-----------------*/
	#section4UpRight{
		width: 100%;
		float: none;
		height: 400px;
		overflow: hidden;
	}
/*--------------------------section4Down(下方)---------------------------*/
	#s4MenuBox p{
		color:#5e5e5e;
	}
	#s4MenuBox {
		width: 60%;
		padding-top: 50px;
	}
	.s4Menu {
		width:90%;
		float: none;
		margin: 0 0 50px 0;
		background-color:#fff;
	}
	#section4 .buttonMore {
		background-color:transparent;
		border:2px solid #fff;
	}
	#section4 .buttonMore p {
    	color: #fff;
	}
	#section4 .buttonMore:hover {
		background-color:#fff;
		border:2px solid #fff;
	}
	#section4 .buttonMore p:hover{
    	color:#9896a4;
	}
}

/*熒幕尺寸【小於】769時頁面顯示----平板*/
@media (max-width: 768px) {
/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox---------------------------------------*/
/*-----------logo-------------*/	
	#logo{
		width: 55%;
	}
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2 figure {
		width: 580px;
	}
	.option {
		width: 100px;
		height: 100px;
		margin-left:57px;
		margin-top: 205px;
	}
/*---------------------------------------------------footer---------------------------------------*/		
	footer p span{
		display:none;
	}
	footer .Sp{
		display:block;
	}
	#triangleP {
    	width: 400px;
	}	
	#triangleP:before {
    	left: 85px;
	}
}
/*熒幕尺寸【小於】601時頁面顯示*/
@media (max-width: 600px) {
	#section2 figure {
		width: 300px;
    	padding: 40px 0;
	}
	.option {
		width: 100px;
		height: 100px;
		margin-left:50px;
		margin-top:40px;
	}
}
/*熒幕尺寸【小於】481時頁面顯示---手機*/
@media (max-width: 480px) {	
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
	article {
		width: 280px;
	}
	h1{
		font-size: 1.5em;
		letter-spacing: 3px;
	}
	h2 {
		font-size: 1.3em;
	}
	p {
		font-size:1em;
	}
	.buttonMore{
		width:80px;
		height:80px;
		line-height:80px;
	}

/*---------------------------------------------------main---------------------------------------*/	
/*---------------------------------------bannerBox-----------------------------------------*/	
	#banner {
		height:400px;
	}
/*-----------logo-------------*/	
	#logo{
		width: 60%;
		top: 10px;
		right: 10px;
	}	
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2 figure {
	}
	.option {
	}
/*--------------------------------------section4----------------------------------------*/
/*--------------------------section4Down(下方)---------------------------*/
	#s4MenuBox{
		width:80%;
	}
	.marginP {
    	margin-left: 60px;
	}
/*---------------------------------------------------footer---------------------------------------*/		
	#triangleP {
    	width:280px;
	}	
	#triangleP:before{
		left: 10px;
	}	
}
