/* CSS Document */

* {	font-family: '微軟正黑體', "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, "sans-serif";
	margin: 0;
	padding: 0;
	font-family: '微軟正黑體';
	box-sizing: border-box;
	transition: 0.8s;
	text-align: center;
	color: #333;
	}

html {
	height: 100%;
	overflow-x:hidden;
	background-color: #ffe1e7;
	
}

body {
	position: relative;
	margin: 0;
	padding: 0;
	min-height: 100%;
	/* background-color: #ffe1e7; */
	background: url(../images/bg_pattern.png) center repeat;
	margin-bottom: 0;
	overflow-x:hidden;
}

@media screen and (max-width: 576px) {
	body {
	background-size: 70px 70px;
}	
}

p {
	font-size: 22px;
	font-weight: 600;
	line-height: 28px;
	text-align: justify;
	text-justify: distribute;
}
h3 {
	font-size: 15px;
	text-align: left;
}
h4 {
	font-size: 14px;
	line-height: 16px;
	text-align: left;
	font-weight: 600;
}

img{
	border: 0;
	max-width: 100%;
	height: auto;
}

a:link, a:checked, a:visited{
	color:#db491d;
	text-decoration: none;}

.cursorPointer {
    cursor: pointer;
}

/*---- Header----*/

header{
	width: 100%;
	height: 80px;
	background: #007c7c;
	position: fixed;
    top: 0;
	z-index: 999;}

.header-wrap{
	display: flex;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: 100%;
	padding: 15px 2%;
	max-width: 1200px;}

.logo-wrap{
	display: inline-block;
	position: relative;
	width: auto;
	text-align: left;
	height: 55px;
	line-height: 4px;
	z-index: 1;
	color: #fff;
	font-size: 22px;}

.logo-wrap img{
	height: 100%;
	vertical-align: middle}


/*---KV----*/

.container {
	position: relative;
}

.theme-wrap {
	position: relative;
	width: 100%;
	margin: 0 auto;
	background: url(../images/theme_bg.png) bottom center no-repeat;
	background-size: cover;
	margin-top: 80px;
}

.img-wrap {
	position:relative;
	width: 100%;
	max-width: 1153px;
	margin: 30px auto;
}

.title {
	width: 100%;
	height: auto;
	display: block;
}
.deco_airplane {
	position: absolute;
	width: 32%;
	top: 0;
	left: 10%;
	animation: airplane 2s linear infinite ; 
}


.deco {
	position: absolute;
	width: 100%;
	height: 100%;
}

.deco_cloud01 {
	background: url(../images/deco_cloud01.png) top center no-repeat;
	background-size: contain;
	max-width: 344px;
	width: 20vw;
	height: 89px;
	top: 4%;
	left: 65%;
	animation: float 5s linear infinite ; 
}

.deco_cloud02 {
	background: url(../images/deco_cloud02.png) top center no-repeat;
	background-size: contain;
	max-width: 174px;
	width: 18vw;
	height: 40px;
	top: 15%;
	left: 20%;
	animation: float 5.5s linear infinite ; 
}

.deco_cloud03 {
	background: url(../images/deco_cloud03.png) top center no-repeat;
	background-size: contain;
	max-width: 101px;
	width: 20vw;
	height: 20px;
	top: 30%;
	left: 90%;
	animation: float 6.5s linear infinite ; 
}


@media screen and (max-width: 1200px) {
.deco_cloud01 {
	width: 20vw;
	top: 4%;
	left: 65%;
}

.deco_cloud02 {
	width: 18vw;
	top: 15%;
	left: 5%;
}

.deco_cloud03 {
	width: 10vw;
	top: 30%;
	left: 95%;
}
}

@media screen and (max-width: 576px) {

.deco_airplane {
	position: absolute;
	width: 55%;
	top: 0;
	left: 20%;
	animation: airplane 2s linear infinite ; 
}
.deco_cloud01 {
	width: 45vw;
	top: 4%;
	left: 65%;
}

.deco_cloud02 {
	width: 28vw;
	top: 15%;
	left: 5%;
}

.deco_cloud03 {
	width: 18vw;
	top: 14%;
	left: 100%;
}

}

/*----main content----*/

/* section01 */

.prize {
	margin-top: 20px;
	margin-bottom: 50px;
}

/* section02 */

.btn_more {
	text-align: center;
}
.btn_more img {
	width: 100%;
	max-width: 250px;
	margin-bottom: 20px;
}
.btn_more img:hover {
	transform: translateY(-8px);
}

@media screen and (min-width: 991px) and (max-width: 1200px) {
	.btn_more img {
		max-width: 210px;
	}
}

@media screen and (max-width: 576px) {

	.prize {
		margin-top: 0;
		margin-bottom: 30px;
	}
}


/* table */
table td{
	vertical-align: middle !important; 
	font-size: 15px;
	font-weight: 600;
}

tr:nth-child(odd){
	background-color:#e7f2fa;
}

tr:nth-child(1) {
	background-color: #007d7d;
	font-size: 1.2rem;
}

/*---Footer----*/

.footer {
	background-color: #fff;
	padding-bottom: 1px;

}

.green_line {
	background-color: #007c7c;
	height: 20px;	
}

.footer p {
	font-size: 16px;
	text-align: center;
	padding: 15px 30px 0px 30px;
}


/*-- 活動辦法 --*/
.rules-wrap{padding: 20px 20px 20px;}
#rules-switch{display: none;}

.rules-title{
	display: inline-block;
	width: auto;
	cursor: pointer;}

.rules-title h2{
	display: inline-block;
	vertical-align: middle;
	font-size: 38px;
	font-weight: 900;
	color: #333;
	margin-bottom: 0px;}

.rules{
	max-width: 1100px;
	margin: 20px auto 10px;
	padding: 20px 2%;
	height: 0;
	overflow: hidden;
	padding: 0;
	background: #fff;
	border:1px solid #fff;}

.rules-title::after{
	content: '';
	display: inline-block;
	position: absolute;
	width: 35px ;
	height: 31px;
	background: url(../images/deco-triangle.png) center no-repeat;
	top: 75px;
	left: 50%;
	z-index: 1;
	transform: translateX(-50%);
	transition: 0.5s;}

.rules ol {
	padding-left: 30px;
    padding-right: 10px;}

.rules > ol > li{
	color: #3c4a4c;
	font-size: 15px;}

.rules ol li{
	font-weight: 600;
	text-align: left;
	line-height: 24px;
	margin-bottom: 10px;}

.rules ol li h3{
	margin: 10px 0;
	text-align: left;
	font-size: 17px;
	white-space: pre-line;
	color: #f44336;}
	
.rules ol li ul{
	background: #efefef;
	padding: 10px;
	padding-left: 30px;
	margin-top: 10px;}

.rules ol li ul li{
	list-style: none;
	font-weight: 400;
	margin-bottom: 5px;}

.rules ol li ul li span{color: #ff5722;}

.rules ol li ol{padding-left: 5px;}
.rules ol li ol li{
	list-style: inherit;
    margin-bottom: 0;
    font-size: 15px;
    margin-left: 10px;}

/*活動辦法開關控制器*/
#rules-switch:checked ~ .rules{
	height: auto;
	padding: 30px 2%;}

#rules-switch:checked ~ .rules-title::after{
	transform: translateX(-50%) rotate(180deg);}


/*----BTN TO TOP ------*/
.section-btnTop{
	display: inline-block;
	position: fixed;
	width: 100%;
	max-width: 1200px;
	height: 1px;
	margin: 0 auto;
	bottom: 25%;
	left: 50%;
	transform: translate(-50% , -50%);
	text-align: right;
	z-index: 99;}

.btnTop-Wrap{
	display: inline-block;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;}

.btnTop{
	position: relative;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 60px;
	border-radius: 30px;
	font-weight: 600;
	padding: 5px;
	background: #ff6483;
	line-height: 50px;
	color: #ffffff;
	font-size: 1.2em;
	cursor: pointer;
	transition: 0.5s;
	box-shadow: 0 6px 16px -9px rgba(00, 00, 00, 0.8);}

.btnTop:active,
.btnTop:hover{
	color: #fff;
	background: #c97649;
	box-shadow: 0 6px 16px -9px rgba(00, 00, 00, 0);} 

.rightBN-wrap {
	display: inline-block;
	position: absolute;
	top: -130px;
	left: 50%;
	transform: translateX(-50%);}

.rightBN-wrap img {
	border: 0;
	max-width: 127px;
	height: auto;}
	
.cno{
	display: block;
	text-align: right;
	width: 100%;
	background: #007c7c;
	color: #fff;
	font-weight: 900;
	padding: 5px 2%;
	z-index: -1;}

footer{
	padding: 10px 2%;
	font-size: 15px;
	z-index: 1;
	background-color: #fff;
}

@media screen and (max-width: 1330px) {
	.btnTop{
		transform: translateX(-150%);}
	.rightBN-wrap {
		top: -110px;
		transform: translateX(-98%);}
	.rightBN-wrap img {
			max-width: 120px;}

}

@media screen and (max-width: 992px) {
	.section-btnTop{
		bottom: 10%;
		}
	.rightBN-wrap {
		top: -100px;
		transform: translateX(-105%);}
	.rightBN-wrap img {
		max-width: 105px;}
}
/*---KV動畫----*/


@keyframes float { 
	0%{ transform: translateX(0);
		opacity: 0;
		-webkit-transform: translateX(0);
		-webkit-opacity: 0;}	
	50%{ transform: translateX(-100px);
			opacity: 1;
			-webkit-transform: translateX(-100px);
			-webkit-opacity: 1;}		
	100%{ transform: translateX(-150px);
			opacity: 0;
			-webkit-transform: translateX(-150px);
			-webkit-opacity: 0;}
	}

@keyframes airplane { 
	0%{ transform: rotate(6deg);
		-webkit-transform: rotate(6deg);}	
	50%{ transform:rotate(0deg);
			-webkit-transform: rotate(0deg);}		
	100%{ transform: rotate(6deg);
			-webkit-transform: rotate(6deg);}
	}
