@charset "utf-8";
/* CSS Document */
/*-----------------------------------------------------整體預設架構-------------------------------------------------------------*/
header,#bannerBox,#section1,#section2,#section3,#section4,footer{
	text-align:center;
}
article{
    width: 450px;
	padding: 50px 0 80px 0;
	margin:0 auto;
}
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;
	letter-spacing: 2px;
}
p{
	color:#4d4d4d;
    letter-spacing:2px;
    font-size: 1.2em;
	line-height: 2.5em;
	font-weight:bold;
}
.buttonMore{
	width: 200px;
    height: 80px;
    background-color: #fff;
    margin: 50px auto 0 auto;
    transition: background-color 0.5s ease 0s;
    line-height: 80px;
	position:relative;
	border-radius:10px;
}
.buttonMore:hover{
	background-color:#76000E;

}
.buttonMore p{
	line-height: inherit;
	font-weight:bold;
	transition:background-color 0.5s ease 0s;
	display: block;
}
.buttonMore p:hover{
	color:#fff;
}
.buttonMore.buttonMore_style{
	background-color: #76000E;
	border:2px solid #76000E;
}
.buttonMore.buttonMore_style:hover{
	background-color:#fff;
}
.buttonMore.buttonMore_style p{
	color:#fff;
}
.buttonMore.buttonMore_style p:hover{
	color:#c52b45;
}
/*------------------------------------------------------------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:1350px;
    margin: 0 auto;
    height: 100px;
}
nav ul > li{
    float: left;
	width: 13.45%;
    height: 100px;
}
nav ul > li#logo{
    width:auto;
	padding: 14px 50px;
}
nav ul > li a{
    color: #4d4d4d;
    font-size: 1.2em;
    font-weight: bold;
	display:block;
	letter-spacing:2px;
	transition:background-color 0.3s ease;
}
nav ul > li a:hover{
	background-color:#c52b45;
	color:#fff;
}
nav ul > li#logo a:hover{
	background-color:transparent;
}
nav > ul > li#n1 > a{
	background-color:#c52b45;
	color:#fff;
}
/*--------子選單-----------*/
nav ul > li > ul{
	visibility:hidden;
	z-index: 9999;
    position: absolute;
	width: 20%;
	border-top:3px solid #c52b45;
}
nav ul > li:hover ul{
	visibility:visible;
}
nav ul > li > ul > li{
	width: 100%;
    height: 100px;
    float: none;
    background-color:#c52b45;
    display: inline-block;
}
nav ul > li > ul > li a{
    color: #fff;
    font-size: 1em;
    font-weight: bold;
	display:block;
	letter-spacing:1px;
	transition:background-color 0.3s ease;
}
nav ul > li > ul > li a:hover{
	background-color:#fff;
	color:#c52b45;
}
/*-------------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;
}
/*--------------------------------------section1----------------------------------------*/
#section1{
	min-height:300px;
	background-color:#c52b45;
}
.indexW {
    width: 100%;
    min-height: 100px;
}
#section1 article .indexW p{
	color:#fff;
	}
/*--------------------------------------section2----------------------------------------*/
#section2 {
    background-color: #fff;
    padding: 15px 0;
}
#section2 h2{
	position: absolute;
    width: 30px;
    line-height: 1.2em;
    display: block;
    background-color:rgba(118, 0, 14, 0.5);
    padding: 10px;
    border-radius: 2px;
	color:#fff;
	top: 80px;
}
#section2 .buttonMore {
	margin: 0 auto 20px auto;
}
#S_accordion{
	display:none;
}

/*--------------------------------------section3----------------------------------------*/
#section3 {
    background-color: #c52b45;
    padding: 50px 0 100px 0;
}
#section3 h2{
	color:#fff;
	padding: 30px 10px;
	transition:background-color 0.3s ease;
}
#section3 h2:hover{
	background-color:#76000E;
}
#service{
    width: 90%;
    min-height:500px;
    margin: 0 auto;
    background: url(../img/p3.jpg) center center no-repeat;
    background-attachment: fixed;
    background-size: cover;
}
aside {
    width: 40%;
    min-height:400px;
    background-color: rgba(118, 0, 14, 0.8);
    padding: 50px 0;
}
/*--------------------------------------section4----------------------------------------*/
#section4{
	background-color:#c52b45;
}
#section4 article{
	background-color: #fff;
    width: 90%;
	padding: 50px 10px 80px 10px;
}
#section4 article img{
	display: initial;
}
/*---------------------------------------------------footer---------------------------------------*/
footer{
	clear:both;
	padding:30px 5%;
	background-color:#c52b45;
}
footer p{
	color: #fff;
	font-size: 0.9em;
	letter-spacing: 1px;
	display: block;
}
footer p a{
	color: #4d4d4d;
}
footer p a:hover{
	color: #c52b45;
}
footer p span{
	margin-left:1%;
	display:none;
}
footer .Sp{
	display:none;
}
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:1250px;
	}
	nav ul > li {
    	width: 13.2%;
	}
}

/*熒幕尺寸【小於】1281時頁面顯示*/
@media (max-width: 1280px) {
/*---------------------------------------------------header---------------------------------------*/
	header{
		border-bottom: 3px solid #c52b45;
	}
/*-----------------------nav-----------------------*/
	nav{
		display:none;
	}
/*------------------navButtonBox-------------------*/
	#navButtonBox{
		display: block;
		width: 100%;
		height:100px;
		background-color:#fff;
	}
	#navButton{
		width: 30px;
		height: 30px;
		background-color:#c52b45;
		position: relative;
		top: 35px;
		left: 95%;
		cursor:pointer;
	}
	#navButton:before{
		content: '';
		width: 30px;
		height: 5px;
		background-color:#fff;
		position: absolute;
		top:22%;
		left: 0;
		transition: all 0.5s ease 0s;
	}
	#navButton:after{
		content: '';
		width: 30px;
		height: 5px;
		background-color:#fff;
		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);
	}
/*-------------logo----------------*/
	#Slogo {
		width: 95%;
		float: left;
		height: 100px;
		margin: 14px 0;
	}
	#Slogo img{
		width:auto;
		margin: 0 auto;
	}
/*------------------SnavBox------------------------*/
	#SnavBox{
		display:none;
		width:100%;
		background-color:#c52b45;
		border-top: 3px solid #c52b45;
		padding: 20px 0;
	}
	#Snav {
    	padding: 30px 0;
		background-color: #fff;
	}

	#Snav ul > li{
		padding: 20px 0;
	}

	#Snav ul > li > a{
		display: block;
		height: 30px;
		color: #4d4d4d;
		font-size: 1.2em;
		letter-spacing:2px;
		font-weight:bold;
	}
	#Snav ul > li a:hover{
		color:#c52b45;
	}
	.SnavS{
		display:none;
		margin: 10px 0;
		background-color:#D75362;
		border-top:3px solid #c52b45;
		border-bottom:3px solid #c52b45;
	}
	#Snav ul > li > ul > li> a{
		color: #fff;
	}
	#Snav ul > li >ul > li > a:hover{
		color: #fff;
		text-shadow:3px 3px 3px #4d4d4d;
	}
/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox-----------------------------------------*/
	#banner {
		height:600px;
		background-attachment:inherit;
	}
/*--------------------------------------section2----------------------------------------*/
	#accordion{
		display:none;
	}
	#accordion a {
		display: none;
	}
	#accordion h2{
		display: none;
	}
	#S_accordion{
		display:block;
	}
	.h2Position{
		position:relative;
		display: block;
	}
	#S_accordion h2{
		width: 100%;
		height: 70px;
		position: absolute;
		bottom: 0;
		border: none;
		z-index: 10;
		line-height: 80px;
		padding: 0;
	}
/*--------------------------------------section3----------------------------------------*/
	#service{
		background-attachment:inherit;
	}
}

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

/*熒幕尺寸【小於】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;
	}
/*---------------------------------------------------header---------------------------------------*/
/*------------------navButtonBox-------------------*/
	#navButton {
    	left: 88%;
	}
/*------------------SnavBox------------------------*/
	#Snav ul > li > ul > li> a{
		font-weight:normal;
	}
/*---------------------------------------------------main---------------------------------------*/
/*---------------------------------------bannerBox-----------------------------------------*/
	#banner {
		height:300px;
	}
/*--------------------------------------section2----------------------------------------*/
	#S_accordion h2{
		height: 50px;
		line-height: 50px;
	}
/*--------------------------------------section3----------------------------------------*/
	aside {
		width:60%;
	}
}
