/* 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: #c6dedc;
}

body {
	position: relative;
	margin: 0;
	padding: 0;
	min-height: 100%;
	background-color: #c6dedc;
	margin-bottom: 0;
	overflow-x:hidden;

}

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: 70px;
	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: 40px;
	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: 70px;
}

.title {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 40px auto 0 auto;
	z-index: 99;
	padding-top: 0;
}


.deco-row{
	position: relative;
	width: 100%;
	padding-top: 15%;
}

.deco {
	position: absolute;
	width: 100%;
	height: 100%;
}
.deco_ball01 {
	background: url(../images/deco_ball01.png) top center no-repeat;
	background-size: contain;
	max-width: 148px;
	width: 13vw;
	height: 198px;
	top: 0;
	left: 7%;
	transform-origin: top;
	animation: swingball 3s linear infinite ; 
}

.deco_ball02 {
	background: url(../images/deco_ball02.png) top center no-repeat;
	background-size: contain;
	max-width: 149px;
	width: 13vw;
	height: 239px;
	top: 0;
	left: 32%;
	transform-origin: top;
	animation: swingball 1.8s linear infinite ; 
}

.deco_ball03 {
	background: url(../images/deco_ball03.png) top center no-repeat;
	background-size: contain;
	max-width: 130px;
	width: 13vw;
	height: 171px;
	top: 0;
	left: 58%;
	transform-origin: top;
	animation: swingball 2.5s linear infinite ; 
}

.deco_ball04 {
	background: url(../images/deco_ball04.png) top center no-repeat;
	background-size: contain;
	max-width: 166px;
	width: 13vw;
	height: 260px;
	top: 0;
	left: 82%;
	transform-origin: top;
	animation: swingball 2s linear infinite ; 
}

.deco_01 {
	background: url(../images/deco_01.png) top center no-repeat;
	background-size: contain;
	max-width: 73px;
	width: 13vw;
	height: 112px;
	top: 0;
	left: 22%;
	transform-origin: top;
	animation: swingball 2s linear infinite ; 
}

.deco_02 {
	background: url(../images/deco_02.png) top center no-repeat;
	background-size: contain;
	max-width: 47px;
	width: 13vw;
	height: 87px;
	top: 0;
	left: 48%;
	transform-origin: top;
	animation: swingball 2.5s linear infinite ; 
}

.deco_03 {
	background: url(../images/deco_03.png) top center no-repeat;
	background-size: contain;
	max-width: 53px;
	width: 13vw;
	height: 113px;
	top: 0;
	left: 74%;
	transform-origin: top;
	animation: swingball 3s linear infinite ; 
}


@media screen and (max-width: 1200px) {
.deco_01, .deco_02, .deco_03{
	width: 7vw;
}
}

@media screen and (max-width: 768px) {
.deco-row{
	min-height: 70px;
}
.deco_ball01,  .deco_ball02, .deco_ball03, .deco_ball04{
	width: 12vw;
}
.deco_01, .deco_02, .deco_03{
	width: 5vw;
}

}

@media screen and (max-width: 576px) {
.deco-row{
	min-height: 100px;
}
.deco_ball01,  .deco_ball02, .deco_ball03, .deco_ball04{
	width: 20vw;
}
.deco_01, .deco_02, .deco_03{
	width: 8vw;
}
.deco_ball01 {
	top: 0;
	left: 2%;
}

}

@media screen and (max-width: 400px) {
	.deco-row{
	min-height: 60px;
	}
	.title {
		margin: 40px auto 0 auto;
	}
}

@media screen and (max-width: 280px) {
	.deco-row{
	min-height: 40px;
	}
	.title {
		margin: 30px auto 0 auto;
	}
}
@media screen and (max-width: 180px) {
	.deco-row{
	min-height: 15px;
	}
}


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

/* section01 */

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

/* 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: 575px) {
	.prize {
		margin-top: 0;
		margin-bottom: 10px;
		padding-right:80px;
		padding-left:80px;
	}	
}
@media screen and (max-width: 450px) {
	.prize {
		padding-right: 20px;
		padding-left: 20px;
	}
}
@media screen and (max-width: 280px) {
	.prize {
		padding-right: 10px;
		padding-left: 10px;
	}
}

/* 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: #FFF;
	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: #fc8c2f;
	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: #c91512;
	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 swingball {
	0% {
		transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
	}

	25% {
		transform: rotate(5deg);
		-webkit-transform: rotate(5deg);
	}

	75% {
		transform: rotate(-5deg);
		-webkit-transform: rotate(-5deg);
	}

	100% {
		transform: rotate(0deg);
		-webkit-transform: rotate(0deg);
	}
}

.snow {
	--size: 1vw;
	width: var(--size);
	height: var(--size);
	background: white;
	border-radius: 50%;
	filter: blur(1px);
	position: absolute;
	top: -5vh;
  }
  
  @keyframes snowfall {
	0% {
	  transform: translate3d(0, 0, 0);
	  -webkit-transform:  translate3d(0, 0, 0);
	  opacity: 1;
	  -webkit-opacity: 1;
	}
	100% {
	  transform: translate3d(0, 90vh, 0);
	  -webkit-transform: translate3d(0, 90vh, 0);
	  opacity: 0;
	  -webkit-opacity: 0;
	}
  }

  .snow:nth-child(1) {
	--size: 0.6vw;
	--left-ini: -8vw;
	--left-end: -8vw;
	left: 89vw;
	animation: snowfall 11s linear infinite;
	animation-delay: -8s;
  }
  
  .snow:nth-child(2) {
	--size: 0.6vw;
	--left-ini: 0vw;
	--left-end: 6vw;
	left: 53vw;
	animation: snowfall 13s linear infinite;
	animation-delay: -7s;
  }
  
  .snow:nth-child(3) {
	--size: 1vw;
	--left-ini: -9vw;
	--left-end: 0vw;
	left: 35vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -7s;
  }
  
  .snow:nth-child(4) {
	--size: 0.2vw;
	--left-ini: -4vw;
	--left-end: -6vw;
	left: 58vw;
	animation: snowfall 9s linear infinite;
	animation-delay: -3s;
  }
  
  .snow:nth-child(5) {
	--size: 1vw;
	--left-ini: -6vw;
	--left-end: 0vw;
	left: 61vw;
	animation: snowfall 15s linear infinite;
	animation-delay: -7s;
  }
  
  .snow:nth-child(6) {
	--size: 0.6vw;
	--left-ini: 0vw;
	--left-end: 4vw;
	left: 13vw;
	animation: snowfall 15s linear infinite;
	animation-delay: -3s;
  }
  
  .snow:nth-child(7) {
	--size: 0.6vw;
	--left-ini: -8vw;
	--left-end: 0vw;
	left: 34vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -3s;
  }
  
  .snow:nth-child(8) {
	--size: 0.4vw;
	--left-ini: 6vw;
	--left-end: 5vw;
	left: 7vw;
	animation: snowfall 7s linear infinite;
	animation-delay: -1s;
  }
  
  .snow:nth-child(9) {
	--size: 0.6vw;
	--left-ini: -1vw;
	--left-end: 5vw;
	left: 7vw;
	animation: snowfall 7s linear infinite;
	animation-delay: -6s;
  }
  
  .snow:nth-child(10) {
	--size: 1vw;
	--left-ini: 5vw;
	--left-end: -8vw;
	left: 26vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -9s;
  }
  
  .snow:nth-child(11) {
	--size: 0.6vw;
	--left-ini: 1vw;
	--left-end: 4vw;
	left: 88vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -4s;
  }
  
  .snow:nth-child(12) {
	--size: 1vw;
	--left-ini: -2vw;
	--left-end: 6vw;
	left: 92vw;
	animation: snowfall 8s linear infinite;
	animation-delay: -10s;
  }
  
  .snow:nth-child(13) {
	--size: 0.4vw;
	--left-ini: 9vw;
	--left-end: -1vw;
	left: 97vw;
	animation: snowfall 10s linear infinite;
	animation-delay: -9s;
  }
  
  .snow:nth-child(14) {
	--size: 0.4vw;
	--left-ini: 1vw;
	--left-end: -3vw;
	left: 16vw;
	animation: snowfall 9s linear infinite;
	animation-delay: -3s;
  }
  
  .snow:nth-child(15) {
	--size: 0.6vw;
	--left-ini: 7vw;
	--left-end: 9vw;
	left: 50vw;
	animation: snowfall 6s linear infinite;
	animation-delay: -3s;
  }
  
  .snow:nth-child(16) {
	--size: 0.4vw;
	--left-ini: 8vw;
	--left-end: 9vw;
	left: 27vw;
	animation: snowfall 14s linear infinite;
	animation-delay: -4s;
  }
  
  .snow:nth-child(17) {
	--size: 0.8vw;
	--left-ini: 6vw;
	--left-end: 10vw;
	left: 79vw;
	animation: snowfall 7s linear infinite;
	animation-delay: -4s;
  }
  
  .snow:nth-child(18) {
	--size: 0.2vw;
	--left-ini: 10vw;
	--left-end: 6vw;
	left: 80vw;
	animation: snowfall 13s linear infinite;
	animation-delay: -3s;
  }
  
  .snow:nth-child(19) {
	--size: 0.6vw;
	--left-ini: -3vw;
	--left-end: 4vw;
	left: 44vw;
	animation: snowfall 13s linear infinite;
	animation-delay: -5s;
  }
  
  .snow:nth-child(20) {
	--size: 0.8vw;
	--left-ini: 9vw;
	--left-end: 9vw;
	left: 24vw;
	animation: snowfall 12s linear infinite;
	animation-delay: -7s;
  }
