@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: 65%;
    margin: 0 auto;
    height: 100px;
}
nav ul > li{
    float: left;
    width: 16.5%;
    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;
}
/*--------子選單-----------*/
nav ul > li > ul{
	visibility:hidden;
	z-index: 9999;
    position: absolute;
	width: 10.7%;
}
nav ul > li:hover ul{
	visibility:visible;
}
nav ul > li > ul > li{
	width: 100%;
    height: 100px;
    float: none;
    background-color:#fff;
    display: inline-block;
}
nav ul > li > ul > li a{
    color: #4d4d4d;
    font-size: 1em;
    font-weight: bold;
	display:block;
	letter-spacing:1px;
}
/*-------------navButtonBox,SnavBox----------------*/
#navButtonBox,#SnavBox{
	display:none;
}
/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox---------------------------------------*/
#bannerBox{
	position:relative;
}
#banner {
    display: block;
    width: 100%;
    height:850px;
    background:url(../img/banner.jpg) center top no-repeat;
    background-size:cover;
	background-attachment: fixed;
}
/*-----------logo-------------*/
#logo{
    position: absolute;
	top: 5%;
    left: 2%;
}
/*--------------------------------------section1----------------------------------------*/
#section1{
	min-height:300px;
	background-color:#8ec84a;
}
.indexW {
    width: 100%;
    min-height: 100px;
    color: #fff;
}
#section1 article .indexW p{
	color:#fff;
}
#section1 article .indexW img {
	max-width: 100%;
	height: auto !important;
}
/*--------------------------------------section2----------------------------------------*/
#section2Left,#section2RightBox{
	width:50%;
	float:left;
}
/*-----------------section2Left(左邊)------------------*/
#section2Left{
	background: url(../img/p2.jpg) no-repeat center center;
	background-size: cover;
	height: 850px;
}
#section2 figure {
	width: 700px;
	min-height: 200px;
	margin: 150px auto 0 auto;
}
.cloth {
	width: 150px;
	height: 150px;
	border: 1px solid #fff;
	border-radius: 50%;
	padding: 50px;
	line-height: 150px;
	float: left;
	margin-left: 67px;
	position: relative;
}
.cloth img {
	width: 100%;
	height: auto;
	margin: 18px auto 18px 5px;
	transition:transform 0.5s ease;
}
.cloth img.clothImgChange{
	transform:scale(1.2);
}
#section2 h2{
	display: block;
	position: absolute;
	top: 135px;
	left: 102px;
}
/*-----------------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: url(../img/p3.jpg) center center no-repeat;
	background-size: cover;
	/*height: 700px;*/
	padding: 50px 0;
	position: relative;
}
#ani{
	overflow: hidden;
}
#section3 .buttonMore {
	margin: 0 auto 20px auto;
}
/*--------------------------------------section4----------------------------------------*/
/*---------------------------section4Up(上方)----------------------------*/
#section4UpLeft,#section4UpRight{
	width: 50%;
	float: left;
	height:600px;
}
/*--------------section4UpLeft(上方左邊)------------------*/
#section4 h1{
	padding-top: 250px;
}
/*--------------section4UpRight(上方右邊)-----------------*/
#section4 figure{
	background:url(../img/p4.jpg) center center no-repeat;
	background-size:cover;
	height:600px;
}
/*--------------------------section4Down(下方)---------------------------*/
#section4Down{
	height: 350px;
	background-color: #8ec84a;
}
#s4MenuBox{
	width: 60%;
	height: 100%;
	margin: 0 auto;
}
.s4Menu {
	width: 40%;
	float: left;
	margin: 30px 4.7%;
	height: 290px;
	border: 1px solid #fff;
	border-radius: 10px;
}
#section4 h2 {
	display: block;
	width: 50%;
	height: 145px;
	float: left;
	color: #fff;
	line-height: 145px;
	border-radius: 10px;
	transition:background-color 0.5s ease ;
}
#section4 h2:hover{
	background-color:#fff;
	color: #5e5e5e;
}
/*---------------------------------------------------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:80%;
	}
/*---------------------------------------------------main---------------------------------------*/
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2Left {
		height: 700px;
	}
	#section2 figure {
		width: 550px;
	}
	.cloth {
		width: 100px;
		height: 100px;
		margin-left:50px;
	}
	#section2 h2 {
		top: 95px;
		left: 81px;
	}
}

/*熒幕尺寸【小於】1281時頁面顯示*/
@media (max-width: 1280px) {
/*---------------------------------------------------header---------------------------------------*/
/*-----------------------nav-----------------------*/
	nav > ul{
		width:90%;
	}
/*---------------------------------------------------main---------------------------------------*/
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2Left {
		height: 600px;
	}
	#section2 figure {
		width: 450px;
	}
	.cloth {
		width: 80px;
		height: 80px;
		margin-left: 30px;
	}
	.cloth img {
		width: 140%;
		height: auto;
		margin: -15px auto 18px -13px;
	}
	#section2 h2 {
		top: 70px;
		left: 70px;
	}
/*--------------------------------------section4----------------------------------------*/
/*--------------------------section4Down(下方)---------------------------*/
	#s4MenuBox{
		width: 80%;
	}
}

/*熒幕尺寸【小於】901時頁面顯示*/
@media (max-width: 900px) {
/*---------------------------------------------------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:2px;
		font-weight:bold;
	}
	.SnavS{
		display:none;
		margin: 10px 0;
		background-color:rgba(142, 200, 74, 0.5)
	}
/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox-----------------------------------------*/
	#banner {
		height:500px;
		background-attachment:inherit;
	}
	/*---------logo-------------*/
	#logo img{
		width: 80%;
	}
/*--------------------------------------section2----------------------------------------*/
	#section2Left,#section2RightBox{
		width:100%;
		float:none;
	}
/*-----------------section2Left(左邊)------------------*/
	#section2 figure {
		width: 700px;
		margin: 0 auto;
		padding: 100px 0;
	}
	.cloth {
		width: 100px;
		height: 100px;
		margin-left: 100px;
	}
	#section2 h2 {
		top: 88px;
		left: 83px;
	}
/*--------------------------------------section4----------------------------------------*/
/*---------------------------section4Up(上方)----------------------------*/
/*--------------section4UpLeft(上方左邊)------------------*/
	#section4UpLeft{
		width: 100%;
		float: none;
		height:400px;
	}
	#section4 h1 {
		padding-top: 170px;
	}
/*--------------section4UpRight(上方右邊)-----------------*/
	#section4UpRight{
		display: none;
	}
/*--------------------------section4Down(下方)---------------------------*/
	#section4Down {
		height: auto;
		background:url(../img/p4.jpg) center center no-repeat;
		background-size:cover;
	}
	#s4MenuBox {
		width: 60%;
		padding-top: 50px;
	}
	.s4Menu {
		width: 100%;
		float: none;
		margin: 0 0 50px 0;
		background-color: rgba(255,255,255,0.5);
		border: 3px solid #fff;
	}
	#section4 h2{
		color: #5e5e5e;
	}
}

/*熒幕尺寸【小於】769時頁面顯示----平板*/
@media (max-width: 768px) {
/*---------------------------------------------------main---------------------------------------*/
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2 figure {
		width: 450px;
	}
	.cloth {
		width: 80px;
		height: 80px;
		margin-left: 30px;
	}
	#section2 h2 {
		top: 72px;
		left: 69px;
	}
/*--------------------------------------section4----------------------------------------*/
/*--------------------------section4Down(下方)---------------------------*/
	#s4MenuBox {
		width: 70%;
	}
/*---------------------------------------------------footer---------------------------------------*/
	footer p span{
		display:none;
	}
	footer .Sp{
		display:block;
	}
	#triangleP {
    	width: 400px;
	}
	#triangleP:before {
    	left: 85px;
	}
}

/*熒幕尺寸【小於】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:300px;
	}
/*-----------logo-------------*/
	#logo img {
		width: 85%;
	}
/*--------------------------------------section2----------------------------------------*/
/*-----------------section2Left(左邊)------------------*/
	#section2 figure {
		width: 300px;
		padding: 30px 0 0 0;
	}
	.cloth {
		margin: 0 0 30px 60px;
	}
	#section2 h2 {
		left: 72px;
	}
/*--------------------------------------section4----------------------------------------*/
/*--------------------------section4Down(下方)---------------------------*/
	#s4MenuBox {
		width: 70%;
	}
	.s4Menu {
		height: 220px;
	}
	#section4 h2 {
		height: 110px;
		line-height: 110px;
	}
/*---------------------------------------------------footer---------------------------------------*/
	#triangleP {
    	width:280px;
	}
	#triangleP:before{
		left: 10px;
	}
}
