@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;
	background-attachment: fixed;
}
.footer{
	max-width: 1920px;
	margin: 0 auto;
	background: url("../images/bg_darkblue.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---------------------- */

/*主視覺動畫*/

/*bg*/
.bg_1{ background: url("../images/bg_1.png") top center no-repeat; padding-top: 140px; padding-bottom: 10px; }
.bg_2{ background: url("../images/bg_2.png") top center no-repeat; padding-top: 120px; }
.bg_3{ background: url("../images/bg_3.png") top center no-repeat; padding-top: 120px; padding-bottom: 10px; }
.bg_4{ background: url("../images/bg_4.png") top center no-repeat; padding-top: 30px; }
.bg_5{ background: url("../images/bg_5.png") top center no-repeat; padding-top: 120px; }
@media screen and ( max-width: 991px ){
	.bg_1{ background: none; padding-top:0; padding-bottom: 15px; }
	.bg_2{ background: url("../images/bg_darkblue.jpg"); padding-top:15px; padding-bottom: 15px; }
	.bg_3{ background: none; padding-top:0; padding-bottom: 15px; }
	.bg_4{ background: url("../images/bg_darkblue.jpg"); padding-top:15px; padding-bottom: 15px; }
	.bg_5{ background: none; padding-top:0; }
}

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

/*福如東海.壽比南山*/
.bg_1{}
.bg_1 .banner{
	margin: 0 auto;
	padding: 0;
}
.bg_1 .hightlight{
	background: url("../images/bg_blue.jpg");
	padding: 15px 0;
	border-radius: 20px;
	margin-top: 10px;
	margin-bottom: 0px;
	border: 3px solid #f8be79;
}

/*吉祥如意闔家平安*/
.bg_2{}
.bg_2 .recommend{
	background: #ffffff;
	border-radius: 20px;
	margin-bottom: 10px;
}
.bg_2 .hightlight{
	background: url("../images/bg_lightyellow.jpg");
	padding: 15px 0;
	border-radius: 20px;
	margin-top: 15px;
	margin-bottom: 10px;
	border: 3px solid #f8be79;
}
.bg_2 .triple{
	margin-top: 0;
	margin-bottom: 20px;
}
.bg_2 .rectangle_3p{
	background: url("../images/bg_lightyellow.jpg");
	padding: 15px 0;
	border-radius: 20px;
	border: 3px solid #f8be79;
	margin-bottom: 0px;
}


/*招財進寶.金玉滿堂*/
.bg_3{}
.bg_3 .triple{
	margin-bottom: 10px;
}
.bg_3 .toptitle{
	background: url("../images/bg_blue.jpg");
	padding: 15px 0;
	border-radius: 20px;
	margin-top: 0;
	margin-bottom: 10px;
	border: 3px solid #f8be79;
}
.bg_3 .banner{
	margin: 0 auto;
	padding: 0;
}

/*心想事成.幸福美滿*/
.bg_4{}
.bg_4 .banner{
	margin: 10px auto 0;
	padding: 0;
}

.bg_4 .broadwise, .bg_4 .crosswise_3p{margin-bottom: 0;}
.bg_4 .broadwise img{ height: 170px;}
.bg_4-1 li:nth-child(2){ margin-left: 386px;}

.bg_4 .crosswise_3p li{position: relative;}
.bg_4 .broadwise .crosswise_3p li a h4{margin-top: 40px;}

/*步步高升.前程似錦*/
.bg_5{}
.bg_5 .toptitle{
	background: url("../images/bg_blue.jpg");
	padding: 15px 0;
	border-radius: 20px;
	margin-bottom: 10px;
	border: 3px solid #f8be79;
}
.bg_5 .triple{
	margin-top: 0;
	margin-bottom: 10px;
}
.bg_5 .brand{
	margin-bottom: 20px;
}
.bg_5 .banner{
	margin: 0 auto;
	padding: 0;
}

@media screen and ( max-width: 991px ){
	.bg_1 .banner{
		margin-bottom: 10px;
	}
	.bg_1 .hightlight{
		width: 98vw;
		margin-top: 0px;
		border-radius: 10px;
		border: 2px solid #f8be79;
	}
	
	.bg_2 .hightlight{
		width: 98vw;
		margin-bottom: 5px;
		border-radius: 10px;
		padding: 10px 0;
		border: 2px solid #f8be79;
	}
	.bg_2 .recommend{
		border-radius: 10px;
		margin-bottom: 5px;
	}
	.bg_2 .triple{
		margin-bottom: 0px;
	}
	.bg_2 .rectangle_3p{
		padding: 10px 0;
		border-radius: 10px;
		width: 98vw;
		border: 2px solid #f8be79;
	}
	
	.bg_3 .triple{
		margin: 5px auto 10px;
	}
	.bg_3 .toptitle{
		width: 98vw;
		margin-bottom: 10px;
		padding: 10px 0;
		border: 2px solid #f8be79;
	}
	
	.bg_4-1{ margin-left: 0px; width:100%;}
	.bg_4-1 li:nth-child(2){ margin-left:auto;}
	.crosswise_3p .bg_4-1 ul li{ width: 96vw; display:inline-block;}
	.broadwise .crosswise_3p .bg_4-1  li{ width: 97vw;}
	.broadwise .crosswise_3p .bg_4-1  li img{width: 40vw; height: 40vw; padding: 0;}
	.broadwise .crosswise_3p .bg_4-1  li .font{ width: 40vw;}
	.bg_4 .banner{
		margin-top: 5px;
	}
	
	.bg_5 .toptitle{
		width: 98vw;
		margin-bottom: 10px;
		border-radius: 10px;
		padding: 10px 0;
		border: 2px solid #f8be79;
	}
	.bg_5 .triple{
		margin-bottom: 0;
	}
	.bg_5 .brand{
		margin: 5px auto 0;
		padding: 10px 0;
		background: url("../images/bg_darkblue.jpg");
	}
	.bg_5 .banner{
		background: url("../images/bg_darkblue.jpg");
	}

}













/*navigation bar for pc*/
/* Style the navbar */
#navbar {
	/*overflow: hidden;*/
	
	max-width:100%;
	height:80px;
	z-index:999;
	margin:0 auto;
	background:none;
  }
  	@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:240px;
	margin:0;
	font-size:24px;
	color:#000000;
	height:80px;
	line-height:80px;
	letter-spacing: 1px;
	font-weight: 600;
	text-indent: -9999px;
  } 
  #navbar span{ color:#000000;}
.tag_01 a{ background: url("../images/tag01.png") top center no-repeat;}
.tag_02 a{ background: url("../images/tag02.png") top center no-repeat;}
.tag_03 a{ background: url("../images/tag03.png") top center no-repeat;}
.tag_04 a{ background: url("../images/tag04.png") top center no-repeat;}
.tag_05 a{ background: url("../images/tag05.png") top center no-repeat;}
  
  /* 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_orange.jpg");z-index:1000;border-top:none;}
menu ul li{border-right:1px solid #000000;padding: 8px; width:20%;box-sizing:border-box;text-align:center;font-size:15px;}
menu ul li a{font-size:15px;}
menu ul li:nth-last-child(1){border-right:none;}
menu a{color:#000000 !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;	}
	}