@import url("plugin/owl.carousel.css");
@import url("footer.css");

iframe[name="google_conversion_frame"] {
	position: absolute;
	z-index: 0;
	left: 0;
}

/*--------------------------------------------------------------------
common
--------------------------------------------------------------------*/
body {
	background-color: #000;
	background-image: url("../images/ffo-bg.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	text-align: center;
	color: #fff;
	font-family: Arial, "微軟正黑體", sans-serif ;
	line-height: 1.6;
}


a {
	color: #0077c3;
	/*cursor: pointer;*/
}
a:hover {
	text-decoration: none;
}
ul li {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
ul {
	padding: 0;
}
p {
	margin: 1.5em 0;
}

h1,h2,h3,p {
	margin-top: 0;
}
.wrapper {
	position: relative;
	z-index: 2;
	overflow: hidden;
	text-align: left;
	color: #000;
}

.container {
	background-image: url("../images/ffo-content_bg.png");
	border: 1px solid #fff;
	width: 880px;
	margin: 0 auto;
	text-align: center;
	
}

.section {
	margin-bottom: 3em;
	position: relative;
	padding-top: 2em;
}

.section h2 ,
.section p,
.section ul {
	margin-bottom: 1.6em;
}

.footer_container {
	position: fixed;
	bottom: 0;
	width: 100%;
}
.btn_enter {
	/*position: fixed;*/
	width: 100%;
	text-align: center;
	/*bottom: 0;*/
	z-index: 5;
	position: relative;
	
}

.btn_enter:after {
	content: "";
	position: absolute;
	bottom: 0;
	height: 60%;
	width: 100%;
	left: 0;
	background-color: rgba(0,0,0,.5);
	z-index: 6;
}

.btn_enter a {
	background-image: url("../images/ffo-btn.png");
	background-repeat: no-repeat;
	background-size: cover;
	width: 397px;
	height: 148px;
	white-space: nowrap;
	text-indent: 200%;
	overflow: hidden;
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 7;
}

.btn_search {

	text-align: center;
	
	
}

.btn_search a {
	background-image: url("../images/ffo-btn-2.png");
	background-repeat: no-repeat;
	background-size: cover;
	width: 363px;
	height: 87px;
	white-space: nowrap;
	text-indent: 200%;
	overflow: hidden;
	display: block;
	margin: 0 auto;
	
}


.social_button {
	position: absolute;
	padding: 15px 0;
	width: 100%; 
	background-color: rgba(255,255,255,.5);
	z-index: 5;
}
.social_button p {
	display: block;
	width: 880px;
	margin: 0 auto;
}
.social_button img {
	width: 64px;
	height: 64px;
	margin-right: 5px;
}

.character {
	background-repeat: no-repeat;
	position: absolute;
	background-size: cover;
}

.top {
	
	position: fixed;
	right: -100px;
	bottom: 10px;
	color: #fff;
	z-index: 99;
	cursor: pointer;
	opacity: 0;	
	background-image: url("../images/ffo-arrow_top.png");
	background-size: cover;
	background-repeat: no-repeat;
	width: 45px;
	height: 45px;

}
.top.hide {
	animation: topArrowHide 1s 0s ease both;
	-webkit-animation: topArrowHide 1s 0s ease both;
	-woz-animation: topArrowHide 1s 0s ease both;
}
.top.show {
	opacity: 1;
	right: 10px;
	animation: topArrow 1s 0s ease both;
	-webkit-animation: topArrow 1s 0s ease both;
	-woz-animation: topArrow 1s 0s ease both;
}

@keyframes topArrow {
	0% { right: -100px; opacity: 0; filter: alpha(opacity=0); }
	100% { right: 10px; opacity: 1; filter: alpha(opacity=100); }
}
@-webkit-keyframes topArrow {
	0% { right: -100px; opacity: 0; filter: alpha(opacity=0); }
	100% { right: 10px; opacity: 1; filter: alpha(opacity=100); }
}
@-moz-keyframes topArrow {
	0% { right: -100px; opacity: 0; filter: alpha(opacity=0); }
	100% { right: 10px; opacity: 1; filter: alpha(opacity=100); }
}

@keyframes topArrowHide {
	0% { right: 10px; opacity: 1; filter: alpha(opacity=100); }
	100% { right: -100px; opacity: 0; filter: alpha(opacity=0); }
}
@-webkit-keyframes topArrowHide {
	0% { right: 10px; opacity: 1; filter: alpha(opacity=100); }
	100% { right: -100px; opacity: 0; filter: alpha(opacity=0); }
}
@-moz-keyframes topArrowHide {
	0% { right: 10px; opacity: 1; filter: alpha(opacity=100); }
	100% { right: -100px; opacity: 0; filter: alpha(opacity=0); }
}


/*--------------------------------------------------------------------
Intro
--------------------------------------------------------------------*/
#intro {
	height: 700px;
}

.text_container {
	width: 74.43%;
	text-align: center;
	position: absolute;
	left: 50%;
	margin-left: -120px;
	top: 93px;
}
#intro .content {
	position: relative;
	width: 880px;
	margin: 0 auto;
}
#intro .logo a {
	white-space: nowrap;
	text-indent: 200%;
	overflow: hidden;
	display: block;
	background-image: url("../images/ffo-logo.png");
	background-size: cover;	
	width: 100%;
	height: 0;
	padding-top: 27.21%;
	z-index: 4;
	text-align: left;
}
#intro .slogan {
	width: 100%;
	text-align: center;
}
#intro .slogan img {
	width: 56.48%;
	height: auto;
	animation: sloganMovie;
	-webkit-animation: sloganMovie .5s  cubic-bezier(0.030, 0.660, 0.370, 1.650); ;
	-o-animation: sloganMovie .5s  cubic-bezier(0.030, 0.660, 0.370, 1.650); ;
	animation: sloganMovie .5s  cubic-bezier(0.030, 0.660, 0.370, 1.650); ;
}
@keyframes sloganMovie {
	0% {width: 100%;height:auto;margin-top:-100px;opacity: 0;}
	100% {width: 56.48%;height:auto;margin-top:0x;opacity: 1;}
} 

/*--------------------------------------------------------------------
Event_2
--------------------------------------------------------------------*/
.prize {
	width: 446px;
	margin: 0 auto;
}
.prize li {
	background-color: #402004;
	border: 2px solid #fff;
	margin-bottom: 15px;
	padding: 5px 7px;
	border-radius: 10px;
}

.char_1 {
	background-image: url("../images/ffo-page-1-char1.png");
	width: 267px;
	height: 428px;
	left: -35px;
}
.char_2 {
	background-image: url("../images/ffo-page-1-char2.png");
	width: 274px;
	height: 356px;
	right: -25px;
}

#event_2 .character {
	bottom: -20px;
}

#event_2 .text_1 {
	margin-bottom: 4em;
}

.fb_share {
	width: 95%;
	margin: 0 auto;
	text-align: right;
	margin-bottom: 10px;
}

.fb_share a {
	text-decoration: none;
}

/*--------------------------------------------------------------------
Event_3
--------------------------------------------------------------------*/
#event_3 .character {
	bottom: -20px;
}

.char_3 {
	background-image: url("../images/ffo-page-2-char1.png");
	width: 347px;
	height: 396px;
	left: -72px;
}
.char_4 {
	background-image: url("../images/ffo-page-2-char2.png");
	width: 309px;
	height: 464px;
	right: -60px;
}
.owl-carousel {
	width: 300px;
	margin: 0 auto;
	overflow: hidden;
	border: 1px solid #fff;
	background-color: #fff;
}
.owl-carousel img {
	width: 100%;
	height: auto;
}
.control {
	position: absolute;
	width: 100%;
	top: 50%;
}
.control span {
	position: absolute;
	background-repeat: no-repeat;
	background-size: cover;
	width: 45px;
	height: 45px;
	cursor: pointer;
	left: 50%;
	z-index: 5;
}
.control .next {
	background-image: url("../images/ffo-arrow_right.png");
	margin-left: 165px;
}
.control .prev {
	background-image: url("../images/ffo-arrow_left.png");
	margin-left: -210px;
}

/*--------------------------------------------------------------------
Notice
--------------------------------------------------------------------*/
#notice {
	text-align: left;
	background-color: #fff;
	padding-bottom: 180px;
}
#notice .title {
	text-align: center;
}
/*#notice ol {
	text-shadow: 0px 0px 5px rgba(255,255,255,1),
				 0px 0px 5px rgba(255,255,255,1),
				 0px 0px 5px rgba(255,255,255,1);
}
*/

/*--------------------------------------------------------------------
Event 4
--------------------------------------------------------------------*/
#event_4 input {
	height: 40px;
	padding: 5px;
	/*border-radius: 10px;*/
	border: none;
	margin-bottom: 2em;
	width: 520px;
	border: 1px solid #aaa
}


/*--------------------------------------------------------------------
RWD 1024
--------------------------------------------------------------------*/

@media screen and (max-width: 1024px) {
	.text_container {
		width: 60%;	
		margin-left: 0;
		left: auto;
		right: 0px;
	}
}
	

/*--------------------------------------------------------------------
RWD 900
--------------------------------------------------------------------*/
@media screen and (max-width: 900px) {
	.container {
		width: 100%;		
	}
	.social_button p {
		width: 100%;
		padding: 0 1em;
	}
	#notice ol {
		padding: 0 1em 0 2em;
	}

	.char_1 {

		left: -85px;
	}
	.char_2 {
		right: -95px;
	}
	.char_3 {
		left: -132px;
	}
	.char_4 {
		right: -130px;
	}
	#intro .content {
		width: 100%;
	}

	
}
/*--------------------------------------------------------------------
RWD 768
--------------------------------------------------------------------*/

@media screen and (max-width: 768px) {	

/*	#event_2 .title_1 img {
		width: 100%;
	}

*/
	


}





/*--------------------------------------------------------------------
RWD 700
--------------------------------------------------------------------*/

@media screen and (max-width: 800px) {	

	body {
		background-size: 1152px 1500px;
	}
	#intro {
		height: 400px;
	}
	.text_container {
		width: 60%;	
		top: 70px;
	}
	#intro .logo {
		margin-bottom: 10px;
	}

	


}






/*--------------------------------------------------------------------
RWD 700
--------------------------------------------------------------------*/

@media screen and (max-width: 700px) {
	

	.char_1, 
	.char_2, 
	.char_3, 
	.char_4 {
		display: none;
	}
	.social_button {
		padding: 10px 0;
	}
	.social_button img {
		width: 50px;
		height: 50px;
	}
	.slogan img {
		width: 70%;
		height: auto;
	}

}


/*--------------------------------------------------------------------
RWD 540
--------------------------------------------------------------------*/

@media screen and (max-width: 540px) {
	
	body {
		font-size: 12px;
	}
	.content {
		padding: 0 10px;
	}
	.slogan img {
		width: 80%;
		height: auto;
	}

	#notice .content {
		padding: 0;
	}

	#event_2 .text_1 img {
		width: 100%;
		height: auto;
	}
	#event_4 p img {
		width: 100%;
		height: auto;
	}
	#event_4 input {
		width: 95%;
	}
	#intro .slogan img {
		width: 80%;
		
		animation: sloganMovie2;
		-webkit-animation: sloganMovie2 .5s  cubic-bezier(0.030, 0.660, 0.370, 1.650); ;
		-o-animation: sloganMovie2 .5s  cubic-bezier(0.030, 0.660, 0.370, 1.650); ;
		animation: sloganMovie2 .5s  cubic-bezier(0.030, 0.660, 0.370, 1.650); ;
	}
	@keyframes sloganMovie2 {
		0% {width: 100%;height:auto;margin-top:-50px;opacity: 0;}
		100% {width: 80%;height:auto;margin-top:0x;opacity: 1;}
	} 

}

/*--------------------------------------------------------------------
RWD 500
--------------------------------------------------------------------*/

@media screen and (max-width: 500px) {
	

	#event_3 p img {
		width: 100%;
		height: auto;
	}

}





/*--------------------------------------------------------------------
RWD 470
--------------------------------------------------------------------*/

@media screen and (max-width: 470px) {
	
	#event_2 .prize {
		width: 100%;
	}
	#event_2 .prize img {
		width: 100%;
		height: auto;
	}

	body {
		background-size: 850px 1107px;
	}
	#intro {
		height: 280px;
	}
	
	.control .next {		
		margin-left: 150px;
	}
	.control .prev {
		
		margin-left: -215px;
	}

	.text_container {
		width: 60%;	
		top: 50px;
	}
	#event_2 .title_1 img {
		width: 100%;
	}

	
}

/*--------------------------------------------------------------------
RWD 420
--------------------------------------------------------------------*/

@media screen and (max-width: 420px) {
	
	
	
	.btn_enter a {
		width: 100%;
		height: 0;
		padding-top: 37.27%;
		
	}
	.btn_search a {
		width: 100%;
		height: 0;
		padding-top: 23.96%;
		
	}
	.owl-carousel {
		width: 200px;
	}
	.owl-carousel img {
		width: 200px;
		height: auto;
	}
	.control .next {		
		margin-left: 95px;
	}
	.control .prev {		
		margin-left: -160px;
	}

}

/*--------------------------------------------------------------------
RWD 360
--------------------------------------------------------------------*/

@media screen and (max-width: 360px) {
	
	
	.container .title img {
		width: 100%;
		height: auto;

	}
	

}