@charset "utf-8";
/* CSS Document */
/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

html{
	background:url("../images/bg.jpg") top center repeat;
}
.footer{
	max-width: 1920px;
	margin: 0 auto;
	background: url("../images/bg_blue.jpg");
}


/* PC */
.WRAPPER{ position:relative; width:100%; min-width:1200px; margin:0 auto; overflow:hidden;}
 	@media screen and ( max-width: 991px ){
		.WRAPPER{ min-width:100%;}
		
	}
.container { overflow: hidden; }
.topbox { position: relative; width: 1200px; margin: auto;}
.kv_pc {width: 100%;  position: relative; text-align:center; display: flex;justify-content: center;max-width: 1920px; margin: auto;flex-wrap: wrap-reverse;}
.kv_pc img { display: block; text-align: center; }
.kv_m { display: none; }
.kv_m img { display: block; }
.kv_m a {font-size: 0; display: block; }
.for_pc{ display: block; }
.for_m { display: none; }

/* m */
@media screen and ( max-width: 991px ){
	.kv_m { display: block; width: 100%; }
	.kv_m img {  width: 100%; }
	.kv_pc { display: none; }
	.container {width: 100%; min-width: auto; }
	.for_pc{ display: none; }
	.for_m { display: block; }
	.for_m img {  width: 100%; }
}

/* ----------------------CUSTOMERIZATION---------------------- */

/*.font{font-family: 'Noto Serif TC', serif, "微軟正黑體","Microsoft JhengHei",Helvetica,Verdana, Arial, sans-serif;}*/

/*主視覺動畫*/
.Left{ position: absolute; top:138px; left: 37px;}
.Right{ position: absolute; top:138px; left: 1062px;}
.box-position{
	position: absolute; 
	top:119px; 
	left: 456px;
	width: 150px;
	height: 130px;
}
.box{ 
	position: relative; 
	width: 150px;
	height: 130px;
	overflow: hidden;
}
.box ul{
	width: 100%;
	height: 500%;
	position: absolute;
	top: 0;
	left: 0;
	animation: roll 8s linear infinite;
}
.box ul li{
	width: 100%;
	height: 20%;
}
@keyframes roll {
	0%{ top: 0;}
	10%{ top: -100%;}
	25%{ top: -100%;}
	35%{ top: -200%;}
	50%{ top: -200%;}
	65%{ top: -300%;}
	75%{ top: -300%;}
	85%{ top: -400%;}
	100%{ top: -400%;}
	
}


/*bg*/
.bg_1{ background: url("../images/bg_1.png") top center no-repeat; padding-top: 70px; padding-bottom: 100px;}
.bg_2{ background: url("../images/bg_2.png") top center no-repeat; padding-top: 40px; padding-bottom: 100px;}
.bg_3{ background: url("../images/bg_3.png") top center no-repeat; padding-top: 40px; padding-bottom: 100px;}
.bg_4{ background: url("../images/bg_4.jpg") top center no-repeat; padding-top: 60px; padding-bottom: 50px;}
.bg_5{ background: url("../images/bg_5.jpg") top center no-repeat; padding-top: 65px; padding-bottom: 120px;}
.bg_6{ background: url("../images/bg_6.jpg") top center no-repeat; padding-top: 60px; padding-bottom: 120px;}


@media screen and ( max-width: 991px ){
	.bg_1{ background: none; padding-top: 20px; padding-bottom: 10px; }
	.bg_2{ background: none; padding-top: 0px; padding-bottom: 10px; }
	.bg_3{ background: none; padding-top: 0px; padding-bottom: 0px; }
	.bg_4{ background: url("../images/bg_blue.jpg"); padding-top: 10px; padding-bottom: 15px; }
	.bg_5{ background: url("../images/bg_blue.jpg"); padding-top: 0px; padding-bottom: 15px; }
	.bg_6{ background: url("../images/bg_blue.jpg"); padding-top: 0px; padding-bottom: 0px; }
}

.bg_1 .titleC h2, .bg_2 .titleC h2, .bg_3 .titleC h2, .bg_4 .titleC h2, .bg_5 .titleC h2, .bg_6 .titleC h2{ text-indent: -9999px;}

/*春節運勢解籤 I / 春節運勢解籤 II / 春節運勢解籤 III*/
.bg_1{}
.bg_2{}
.bg_3{}
.bg_1 .hightlight, .bg_2 .hightlight, .bg_3 .hightlight{
	margin-bottom: 20px;
}
.half ul{
	background: url("../images/bg_gold.jpg");
	border-radius: 20px;
}
.half ul.scene{
	padding: 0;
	background: none;
}
.half li.bigIMG, .half li.bigIMG img{
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
}
.bg_1 .hightlight li h4, .bg_2 .hightlight li h4, .bg_3 .hightlight li h4{
	background: #244179;
}
.bg_1 .various, .bg_2 .various, .bg_3 .various{
	margin-bottom: 20px;
}
.bg_1 .banner, .bg_2 .banner, .bg_3 .banner{
	margin: 0 auto;
	padding: 0;
}

/*你的新年開運日常*/
.bg_4{}
.bg_4 .circle{}

/*時來運轉，年節錶態*/
.bg_5{}
.bg_5 .baseline_3p{
	margin-bottom: 20px;
}
.bg_5 .banner{
	margin: 0 auto;
	padding: 0;
}

/*返鄉安心防護*/
.bg_6{}
.bg_6 .toptitle{
	margin-bottom: 20px;
}
.bg_6 .banner{
	margin: 0 auto;
	padding: 0;
}

@media screen and ( max-width: 991px ){
	.bg_1 .hightlight, .bg_2 .hightlight, .bg_3 .hightlight{ width: 96vw; margin: 0 auto;}
	.bg_1 .hightlight ul, .bg_2 .hightlight ul, .bg_3 .hightlight ul{ margin-bottom: 0px;}
	.bg_1 .various, .bg_2 .various, .bg_3 .various{ margin: 2vw auto;}
	.bg_1 .banner, .bg_2 .banner, .bg_3 .banner{ background: url("../images/bg_red.jpg"); padding: 15px 0;}
	
	.bg_4 .circle{ width: 98vw; margin: 5px auto 0; background: url("../images/bg_gold.jpg"); border-radius: 10px; padding: 10px 0;}
	.bg_5 .baseline_3p, .bg_6 .toptitle{ width: 98vw; margin: 5px auto 0; background: url("../images/bg_gold.jpg"); border-radius: 10px; padding: 15px 0; }
	.bg_4 .banner, .bg_5 .banner, .bg_6 .banner{  width: 98vw; background: url("../images/bg_red.jpg"); padding: 15px 0; border-radius: 10px;}
}



/*navigation bar for pc*/
/* Style the navbar */
#navbar {
	/*overflow: hidden;*/
	
	max-width:100%;
	height:60px;
	z-index:999;
	margin:0 auto;
	background: url("../images/bg_blue.jpg");
  }
  	@media screen and ( max-width: 991px ) {
		#navbar{ display:none;} 
		.sticky + .content { padding-top:0px !important;}
	}

  .nav_content{ width:1200px; margin:0 auto;}
  /* Navbar links */
  #navbar a {
	float: left;
	display: block;
	text-align: center;
	text-decoration: none;
	width:33%;
	/*margin:0 2.5px;*/
	font-size:24px;
	color:#ffffff;
	border-right: 1px solid #ffffff;
	height:60px;
	line-height:60px;
	letter-spacing: 1px;
	/*font-family: 'Noto Serif TC', serif, "微軟正黑體","Microsoft JhengHei",Helvetica,Verdana, Arial, sans-serif;*/
  } 
#navbar a.a_03{ border-right: none;}



  #navbar span{ color:#000000;}
  
  /* Page content */
  .content {
	padding: 0px;
  }
  
  /* The sticky class is added to the navbar with JS when it reaches its scroll position */
  .sticky {
	position: fixed;
	top: 0;
	width: 100%;
  }
  
  /* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
  .sticky + .content {
	padding-top: 60px;
	
  }
  .nav_content img{ transition:all 0.3s;}
  .nav_content img:hover{ transform:translateY(-5px);}



/*for mobile*/
menu{display:none;}
	@media screen and ( max-width: 991px ){
		menu{ display:block;}
	}
menu ul{
	position:fixed;
	bottom:0;
	left:0;
	margin:0;
	width:100%;
	display:flex;
	flex-wrap:wrap;
	list-style: none;
	background: url("../images/bg_gold.jpg");
	z-index:999;
	padding:2px 0;
	border-top:none;
}
menu ul li{
	border-right:1px solid #ffffff;
	padding:5px 0;
	width:33%;
	box-sizing:border-box;
	text-align:center;
	letter-spacing:1px;
	color:#f7edcd;
	font-weight:400;
}
menu ul li a{
	font-size:14px;
	line-height:1.2rem;
	/*font-family: 'Noto Serif TC', serif, "微軟正黑體","Microsoft JhengHei",Helvetica,Verdana, Arial, sans-serif;*/
}
menu ul li:nth-last-child(1){
	border-right:none;
}
menu a{
	color:#ffffff !important;
	text-decoration:none;

}





















/*--goto top--*/
#gotop {display: inline-block;background-color: #000;opacity:0.3;width: 40px;height: 40px;text-align: center;border-radius: 100%;position: fixed;bottom: 0px;right: 0px;transition: background-color .3s, opacity .5s, visibility .5s;opacity: 0;visibility: hidden;z-index: 1000;margin: 30px;}
#gotop::after {font-family: FontAwesome;content:'　';font-weight: normal;font-style: normal;font-size: 2em;line-height: 50px;color: #fff;  opacity:0.5;background: url(../images/top.png) center no-repeat; background-size:50%;background-position:50% 20%;}
#gotop:hover {cursor: pointer;background-color: #666;}
#gotop:active {background-color: #666;}
#gotop.show {opacity: 0.4;visibility: visible;}
	@media screen and ( max-width: 991px ){
	#gotop {bottom: 2vw;right: 0;margin: 2vw;	}
	}