@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_color1.jpg");}
header{background:url("../images/header_bg.jpg")top center no-repeat; }


/* PC */
.WRAPPER{ position:relative; width:100%; min-width:1200px; margin:0 auto; overflow:hidden;}
@media screen and ( max-width: 991px ){
.WRAPPER{ min-width:100%;}
header{background:none; }		
	}
.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; }
}


/*主視覺動畫*/
img.kv_title{
    position: absolute;
    top: 28px;
    left: 382px;
	animation: bounceInDown .8s;
	animation-delay: 0s;
	animation-fill-mode: backwards;
} 
.kv_promotion{
	position: absolute;
	top: 470px;
    left: 140px;
	animation: bounceInUp .8s;
	animation-delay: .3s;
	animation-fill-mode: backwards;
}
img.kv_promotion_inner{
    animation: pulse 1.5s infinite;
	animation-delay: .5s;
}
img.kv_pic1{
	position: absolute;
	top: 34px;
    left: -17px;
	animation: swingA ease-in-out 1.2s infinite alternate;;
    animation-delay: -1s;
	transform-origin:right -60px;
}
img.kv_pic2{
	position: absolute;
	top: 208px;
    left: 192px;
	animation: swingA ease-in-out 1.2s infinite alternate;;
    animation-delay: 0s;
	transform-origin:right -90px;
}
img.kv_pic3{
	position: absolute;
	top: 132px;
    left: 282px;
	animation: swingA ease-in-out 1.2s infinite alternate;;
    animation-delay: -1s;
	transform-origin:right -20px;
}
img.kv_pic4{
	position: absolute;
	top: -30px;
    left: 950px;
	animation: swingA ease-in-out 1.2s infinite alternate;;
    animation-delay: 0s;
	transform-origin:left 90px;
}
img.kv_pic5{
	position: absolute;
	top: 151px;
    left: 958px;
	animation: swingA ease-in-out 1.2s infinite alternate;;
    animation-delay: 0s;
	transform-origin:left 90px;
}
img.kv_pic6{
	position: absolute;
	top: 256px;
    left: 927px;
	animation: swingA ease-in-out 1.2s infinite alternate;;
    animation-delay: 0s;
	transform-origin:left 90px;
}
img.kv_subtitle1{
	position: absolute;
	top: 365px;
    left: 109px;
	animation:bounceInLeft 1.2s;
	animation-delay: 1s;
	animation-fill-mode: backwards;
}
img.kv_subtitle2{
	position: absolute;
	top: 401px;
    left: 174px;
	animation:bounceInLeft 1.2s;
	animation-delay: 1.2s;
	animation-fill-mode: backwards;
}
img.kv_subtitle3{
	position: absolute;
	top: 437px;
    left: 120px;
	animation:bounceInLeft 1.2s;
	animation-delay: 1.4s;
	animation-fill-mode: backwards;
}
@keyframes swingA {
    0% { transform: rotate(2deg); }
    100% { transform: rotate(-1deg); }
}


/*滾動裝飾*/
.bg_deco{width: 100%;  position: relative; text-align:center; display: flex;justify-content: center;max-width: 1920px; margin: auto ;flex-wrap: wrap-reverse;}
.rellax-01{ position: absolute;top:380px;right:-140px;}
.rellax-02{ position: absolute;top:1250px;left:-160px;}
.rellax-03{ position: absolute;top:1580px;left:-160px;}
.rellax-04{ position: absolute;top:1080px;right:-170px;}
.rellax-05{ position: absolute;top:2200px;right:-150px;}

.bg_deco2{width: 100%;  position: relative; text-align:center; display: flex;justify-content: center;max-width: 1920px; margin: auto ;flex-wrap: wrap-reverse;}
.rellax-06{ position: absolute;top:30px;left:-130px;}
.rellax-07{ position: absolute;top:920px;right:-160px;}
.rellax-08{ position: absolute;top:850px;left:-130px;}
.rellax-09{ position: absolute;top:1000px;right:-100px;}
.rellax-10{ position: absolute;top:2600px;right:-170px;}

.bg_deco3{width: 100%;  position: relative; text-align:center; display: flex;justify-content: center;max-width: 1920px; margin: auto ;flex-wrap: wrap-reverse;}
.rellax-11{ position: absolute;top:40px;left:-130px;}
.rellax-12{ position: absolute;top:1400px;right:-160px;}
.rellax-13{ position: absolute;top:850px;left:-130px;}




/*區塊調整*/
.block_1 {background: url("../images/side_deco.png") top center repeat-y;}

/*標題*/
.subtitle h3 {
	font-family: 'Noto Sans TC', sans-serif; 
	font-weight: 900; 
	letter-spacing: 2px;
	font-size: 2.4rem;
	color: #17353f;
	border-left: 0;
	background: url("../images/bg_color2.jpg");
	padding: 15px 20px 15px 15px;
	border-radius: 20px 20px 0 0 ;
} 
.subtitle h3:before { 
	background-image: url("../images/tt_before.png");
    background-size: contain;
    display: inline-block;
    width: 58px; 
    height: 58px;
	margin-right: 8px;
	margin-bottom: -15px;
    content:""; 
	animation:rotate01 6s linear infinite ;
}

@keyframes rotate01 {
  0%{transform:rotate(0deg);}
  100%{transform:rotate(360deg);}
}
.subtitle .more {padding: 30px 30px 10px 10px;}
.subtitle .more a {color: #17353f; font-family: 'Noto Sans TC', sans-serif; font-weight: 500; }


/*promotion三塊*/
.block_00 { 
	background: url("../images/blk00_bg.jpg")top center no-repeat;
	margin: 0px auto 40px;
	padding: 30px 0 0;
}
.block_00 ul {
    width: 1200px;
    margin: 5px auto 20px;
    display: flex;
    justify-content: space-around;
}


/*元件調整*/
.banner {padding: 0; margin: 20px auto 80px;}
.magazine {
	margin:0px auto 40px;
	background: url("../images/bg_color2.jpg");
	border-radius: 0 20px 20px 20px;
}
.magazine ul {border: 0;}
.keyword-bn {margin: 20px auto 80px;}
.keyword-bn .ten-word li {height: 50.7px; background: url("../images/bg_color4.jpg");}
.keyword-bn .ten-word li:nth-child(even) { background: url("../images/bg_color3.jpg");}
.keyword-bn .four-link li {background: url("../images/bg_color4.jpg"); border: solid 2px #17353f;}
.keyword-bn .four-link a {color: #f8f6e1;}



/* -------------------------------------m版------------------------------------- */
@media screen and ( max-width: 991px ){
	
/*滾動裝飾*/
.bg_deco, .bg_deco2, .bg_deco3{display: none;}	
	
	
/*promotion三塊*/
.block_00 { margin: 2vw auto 4vw; background: none; padding: 0;}	
.block_00 ul { display: none;}
.block_00 .kv_m ul {width: 100%; display: flex; margin: 0;}	


/*標題*/
.subtitle {padding: 0 ; margin: 0;}	
.subtitle h3 {
	font-size: 1.8rem; 
	line-height: 2.3rem;
	padding: 3vw;
	border-radius: 10px 10px 0 0 ;
	letter-spacing: 1px;
	}	
.subtitle .more {right: 5px; padding: 5vw 3vw 1vw 1vw;}	
.subtitle.for_m .more {padding: 12vw 3vw 1vw 1vw;}	
.subtitle h3:before { 
	background-image: url("../images/tt_before.png");
    background-size: contain;
    display: inline-block;
    width: 8vw; 
    height: 8vw;
	margin-right: 1.2vw;
	margin-bottom: -1.8vw;
    content:""; 
	animation:rotate01 6s linear infinite ;
}	
	
	
/*元件調整*/
.banner {padding: 0; margin: 2vw auto 6vw;}
.magazine {margin:0 auto 6vw; border-radius: 0px 10px 10px 10px ; }
.magazine ul {border: 0; margin: 0 2vw 2vw 2vw;}
.keyword-bn {margin: 2vw auto 6vw;}
.keyword-bn .ten-word li {height: auto;}
.keyword-bn .ten-word li:nth-child(1), .keyword-bn .ten-word li:nth-child(4){background: url("../images/bg_color4.jpg");}		
.keyword-bn .ten-word li:nth-child(2), .keyword-bn .ten-word li:nth-child(3){background: url("../images/bg_color3.jpg");}		
.keyword-bn .ten-word li:nth-child(5) {width:100%; background: url("../images/bg_color5.jpg");}	
.keyword-bn .ten-word li:nth-child(5) a {color: #17353f;}		
.keyword-bn .four-link li {width: 47vw;}

	
}








/* -- sidemanu for pc -- */
.side-menu2{
	position: fixed;
	width: 175px;
	top:25%;
	right:1%;
	padding:10px;
	border-radius:10px;
	border: 2px solid #f8f6e1;
	box-sizing: border-box;
	background:url("../images/bg_color4.jpg");
	display: flex;
	flex-direction: column;
	transform: translateX(0);
	transition: .3s;
	text-align:center;
	z-index:99;
	font-size:15px;
	overflow:hidden;
	box-shadow: 4px 4px #f8f6e1;
}
.side-menu2 label{
	position: fixed;
	width: 130px;
	height: 150px;
	background:#3752a3;
	opacity:0.95; 
	color: #ffffff;
	right: -40px;
	top: 0%;
	line-height: 28px;
	text-align: center;
	font-size: 24px;
	border-radius: 0 10px 10px 0;
	padding:18px 8px 10px 8px;
	font-weight:500;
}
#side-menu-switch2{
	position: absolute;
	opacity: 0;
	z-index: -1;
}
#side-menu-switch2:checked + .side-menu{
	transform: translateX(0);
}
.side-menu2 nav a{
	display: block;
	padding: 10px 4px;
	color: #f8f6e1;
	text-decoration: none;
	position: relative;
	font-size:1.1rem;
	line-height: 1.4rem;
	text-shadow: 1px 1px #000;
	letter-spacing: 2px;
	font-family: 'Noto Sans TC', sans-serif; 
	font-weight: 500;
}
.side-menu2 nav p.name_menu{ padding:10px 0; font-size:1.5em; line-height:1em; border-bottom:3px solid; border-color:#04414b; color:#df6616; font-weight:bold;}
.side-menu2 nav ul.area1{ margin-bottom:150px;}
.side-menu2 nav ul.area1 li{ width:50%; float:left; border-bottom:1px dotted #f8f6e1;}
.side-menu2 nav ul.area1 li:nth-child(even){ border-right:1px dotted #f8f6e1;}
.side-menu2 nav ul.area2 li{ border-bottom:1px dotted #f8f6e1;} /*選項字隔線色*/
.side-menu2 nav ul.area1 li:nth-last-child(1), nav ul.area1 li:nth-last-child(2), nav ul.area2 li:nth-last-child(1){ border-bottom:none;}
	@media screen and ( max-width: 991px ){
		.side-menu2 {display: none;}
	}


/*Plugin*/
.side-menu2 .nav {
	width: 150px;
    margin:0 auto;
    list-style: none;
}
.side-menu2 .nav-pills>li.active>a, .side-menu2 .nav-pills>li.active>a:focus, .side-menu2 .nav-pills>li.active>a:hover, .nav-pills>li>a:hover {
    color:  #fdd857 !important; 
    background: none;
}

.side-menu2 .nav-pills>li>a {
    border-radius: 0px;
}
.side-menu2 .nav>li>a {
    position: relative;
    display: block;
}


/*for mobile*/
menu{display:none;}
	@media screen and ( max-width: 991px ){
		menu{ display:block;}
	}
menu ul{
/*	position:fixed;*/
	top:0;
	left:0;
	margin:0;
	width:100%;
	display:flex;
	flex-wrap:wrap;
	list-style: none;
	background:url("../images/bg_color4.jpg");
	z-index:999;
	padding:2px 0;
	border-top:none;
}
menu ul li{
	border-right:.75px solid  #fff;
	padding:5px 0;
	width:25%;
	box-sizing:border-box;
	text-align:center;
	letter-spacing:1px;
}
menu ul li a{
	color: #fff;
	font-size:1rem;
	line-height:1.3rem;
	text-shadow: 1px 1px #000;
}
menu ul li:nth-child(4),menu ul li:nth-child(7) {border-right:none;}
menu ul li:nth-child(5),menu ul li:nth-child(6),menu ul li:nth-child(7) {width:33.3%; border-top:.75px solid #fff;}
menu ul li a:hover{
	color:  #ffc600;
}









 /*--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: #ccc;}          
 #gotop.show {opacity: 0.4;visibility: visible;}          
 @media screen and ( max-width: 991px ){          
 #gotop {bottom: 70px;right: 0;margin: 2vw;}
 }         
 /* share url */          
 #share{display: inline-block;background-color: #000;opacity:0.4;width: 40px;height: 40px;text-align: center;border-radius: 100%;position: fixed;bottom: 50px;right: 0px;transition: background-color .3s, opacity .5s, visibility .5s;z-index: 1000;margin: 30px;}
 #share::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/share.png) center no-repeat; background-size:20px;background-position:50% 30%;}
 #share:hover{cursor: pointer;background-color: #666;}
 #share:active{background-color: #666;}
 @media screen and ( max-width: 991px ){
 #share{bottom:115px;right: 0;margin: 2vw;}
 }                    
 @media screen and ( max-width: 991px ){          
 html{padding-bottom: 80px;}          
 } 