@charset "utf-8";
/* CSS Document */
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
header,#bannerBox,footer{
	text-align:center;
}

h1{
	color: #dfdee3;
	font-family: 'Niconne', cursive;
	font-size: 5em;
	text-align: center;
	letter-spacing: 5px;
	margin: 0 auto 15px auto;
}
.blockH1{
	color:#4d4d4d;
	border-bottom: 3px solid #4d4d4d;
}
h1 span{
	margin:30px;
}
h2 {
    font-size: 1.4em;
    font-weight: bold;
    color: #5e5e5e;
	letter-spacing: 3px;
    text-align: center;
}
h3{
	font-size: 1.3em;
	font-weight: bold;
	color: #5e5e5e;
	letter-spacing: 3px;
	text-align: center;
	border-bottom: 1px solid #5e5e5e;
	padding: 10px 0;
}
p{
	color:#4d4d4d;
    letter-spacing:2px;
    font-size: 1.1em;
	line-height: 2.5em;
}
.line1{
	width:70%;
	margin:50px auto;
	border:1px dotted #a1a0ac;
	position: relative;
}
.line1:after{
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	right: -15px;
	top: -8px;
	background-color: #8ec84a;
	border-radius: 50%;
	}
.line2{
	width:70%;
	margin:50px auto;
	border:1px dotted #a1a0ac;
	position: relative;
}
.line2:after{
	content: '';
	position: absolute;
	width: 15px;
	height: 15px;
	right: -20px;
	left: -15px;
	top: -8px;
	background-color: #8ec84a;
	border-radius: 50%;
}
/*------------------------------------------------------------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.active a{
	background-color:#8ec84a;
	color:#fff;
}
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:500px;
    background:url(../img/banner2.jpg) center top no-repeat;
    background-size:cover;
}
/*-----------logo-------------*/
#logo{
    position: absolute;
    top: 40px;
    right: 40px;
}
/*---------------------------------------content-------------------------------------------*/
#content{
	min-height:1000px;
	position: relative;
}
/*--------------------------------left-------------------------------------*/
#left{
	width: 25%;
	float: left;
	min-height: 1000px;
	position: absolute;
	left: 0;
}
#contentImg{
	background:url(../img/contentImg1.jpg) center center no-repeat;
	background-size: cover;
	height:1000px;
}
/*--------------------------------right------------------------------------*/
#right{
	width: 75%;
	min-height: 500px;
	float: right;
	padding: 80px 0;
}
#contentHere {
	min-height: 500px;
	width: 60%;
	margin: 0 auto;
	text-align: center;
}
#contentHere img{
	max-width:100%;
	height:auto !important;
}
/*---------------------------------------------------footer---------------------------------------*/
footer{
	clear:both;
	padding: 20px 5%;
	background-color:#8ec84a;
}
footer p{
	color: #fff;
	font-size: 0.9em;
	letter-spacing: 1px;
	display: block;
}
footer p a{
	color: #fff;
}
footer p a:hover{
	color: #4d4d4d;
}
footer p span{
	margin-left:1%;
}
footer .Sp{
	display:none;
}
#triangleP{
	position: relative;
	width: 500px;
	margin: 0 auto;
}
#triangleP:before{
	content: '';
	position: absolute;
	left: 10px;
	top: 8px;
	background:url(../img/triangleP2.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: 4.7em;
	}

	h2 {
		font-size: 1.3em;
	}

	h3 {
		font-size: 1.2em;
	}

	p {
		font-size: 1.1em;
	}
/*---------------------------------------------------header---------------------------------------*/
/*-----------------------nav-----------------------*/
	nav > ul{
		width:95%;
	}
/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox---------------------------------------*/
	#banner {
		height:400px;
	}
/*---------------------------------------content-----------------------------------------*/
/*--------------------------------right------------------------------------*/
	#right {
		padding: 50px 0;
	}
}
/*熒幕尺寸【小於】1281時頁面顯示*/
@media (max-width: 1280px) {
/*---------------------------------------------------header---------------------------------------*/
/*-----------------------nav-----------------------*/
	nav > ul{
		width:100%;
	}
}
/*熒幕尺寸【小於】1101時頁面顯示*/
@media (max-width: 1100px) {
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
	h1 span{
		display: block;
    	margin: -10px auto 0 auto;
	}
	.line1 {
		width: 90%;
	}
	.line2{
		width: 90%;
	}

/*---------------------------------------------------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;
		letter-spacing: 1px;
		font-weight:bold;
		letter-spacing:2px;
	}
	.SnavS{
		display:none;
		margin: 10px 0;
		background-color:rgba(142, 200, 74, 0.5)
	}
/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox-----------------------------------------*/
	#banner {
		height:400px;
		background-attachment:inherit;
	}
/*-----------logo-------------*/
	#logo{
		top: 20px;
		right: 20px;
		width: 50%;
	}
/*---------------------------------------content-------------------------------------------*/
/*--------------------------------left-------------------------------------*/
	#left{
		display:none;
	}
/*--------------------------------right------------------------------------*/
	#right{
		width:100%;
		float:none;
	}
	#contentHere {
		width:70%;
	}
}

/*熒幕尺寸【小於】769時頁面顯示----平板*/
@media (max-width: 768px) {
/*---------------------------------------------------main-----------------------------------------*/
/*---------------------------------------bannerBox-----------------------------------------*/
	#banner {
		height:300px;
	}
/*-----------logo-------------*/
	#logo{
		width: 55%;
	}
/*---------------------------------------------------footer---------------------------------------*/
	footer p span{
		display:none;
	}
	footer .Sp{
		display:block;
	}
/*---------------------------------------------------footer---------------------------------------*/
	footer p span{
		display:none;
	}
	footer .Sp{
		display:block;
	}
	#triangleP {
    	width: 400px;
	}
	#triangleP:before {
    	left: 85px;
	}
}

/*熒幕尺寸【小於】481時頁面顯示---手機*/
@media (max-width: 480px) {
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
	h1{
		font-size:3em;
		letter-spacing: 3px;
	}
	h1 span {
		display: block;
		margin: -10px 0 0 0;
	}
	h2 {
		font-size: 1.2em;
	}
	h3{
		font-size: 1.1em;
	}
	p {
		font-size:1em;
	}
	.buttonMore p {
		line-height:6.2em;
	}

/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox-----------------------------------------*/
	#banner {
		height:200px;
	}
/*-----------logo-------------*/
	#logo{
		width: 60%;
		top:0;
		right: 0;
	}
/*---------------------------------------content-------------------------------------------*/
/*--------------------------------right------------------------------------*/
	#contentHere {
		width:80%;
	}
/*---------------------------------------------------footer---------------------------------------*/
	#triangleP {
    	width:280px;
	}
	#triangleP:before{
		left: 10px;
	}
}
