/*modify by pekey 20190523*/
@charset "utf-8";
/* CSS Document */

/*------------------------------------------CSS Setting Start-------------------------------*/

/*================*/
/*-- loading --*/
/*================*/

.loading {
 	position: fixed;
    top: 0; 
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    background: #FFF;
	text-align:center;
	
	/*新增by pekey 20171211*/
	padding-top:250px;
 } 
 
	
	/*Loading畫面CSS開始*/
	#circularG{
		position:relative;
		width:58px;
		height:58px;
		margin: auto;
	}
	
	.circularG{
		position:absolute;
		background-color:rgb(201,9,21);  /*此為Loding的點點顏色*/
		width:14px;
		height:14px;
		border-radius:9px;
			-o-border-radius:9px;
			-ms-border-radius:9px;
			-webkit-border-radius:9px;
			-moz-border-radius:9px;
		animation-name:bounce_circularG;
			-o-animation-name:bounce_circularG;
			-ms-animation-name:bounce_circularG;
			-webkit-animation-name:bounce_circularG;
			-moz-animation-name:bounce_circularG;
		animation-duration:1.1s;
			-o-animation-duration:1.1s;
			-ms-animation-duration:1.1s;
			-webkit-animation-duration:1.1s;
			-moz-animation-duration:1.1s;
		animation-iteration-count:infinite;
			-o-animation-iteration-count:infinite;
			-ms-animation-iteration-count:infinite;
			-webkit-animation-iteration-count:infinite;
			-moz-animation-iteration-count:infinite;
		animation-direction:normal;
			-o-animation-direction:normal;
			-ms-animation-direction:normal;
			-webkit-animation-direction:normal;
			-moz-animation-direction:normal;
	}
	
		#circularG_1{
			left:0;
			top:23px;
			animation-delay:0.41s;
				-o-animation-delay:0.41s;
				-ms-animation-delay:0.41s;
				-webkit-animation-delay:0.41s;
				-moz-animation-delay:0.41s;
		}
		
		#circularG_2{
			left:6px;
			top:6px;
			animation-delay:0.55s;
				-o-animation-delay:0.55s;
				-ms-animation-delay:0.55s;
				-webkit-animation-delay:0.55s;
				-moz-animation-delay:0.55s;
		}
		
		#circularG_3{
			top:0;
			left:23px;
			animation-delay:0.69s;
				-o-animation-delay:0.69s;
				-ms-animation-delay:0.69s;
				-webkit-animation-delay:0.69s;
				-moz-animation-delay:0.69s;
		}
		
		#circularG_4{
			right:6px;
			top:6px;
			animation-delay:0.83s;
				-o-animation-delay:0.83s;
				-ms-animation-delay:0.83s;
				-webkit-animation-delay:0.83s;
				-moz-animation-delay:0.83s;
		}
		
		#circularG_5{
			right:0;
			top:23px;
			animation-delay:0.97s;
				-o-animation-delay:0.97s;
				-ms-animation-delay:0.97s;
				-webkit-animation-delay:0.97s;
				-moz-animation-delay:0.97s;
		}
		
		#circularG_6{
			right:6px;
			bottom:6px;
			animation-delay:1.1s;
				-o-animation-delay:1.1s;
				-ms-animation-delay:1.1s;
				-webkit-animation-delay:1.1s;
				-moz-animation-delay:1.1s;
		}
		
		#circularG_7{
			left:23px;
			bottom:0;
			animation-delay:1.24s;
				-o-animation-delay:1.24s;
				-ms-animation-delay:1.24s;
				-webkit-animation-delay:1.24s;
				-moz-animation-delay:1.24s;
		}
		
		#circularG_8{
			left:6px;
			bottom:6px;
			animation-delay:1.38s;
				-o-animation-delay:1.38s;
				-ms-animation-delay:1.38s;
				-webkit-animation-delay:1.38s;
				-moz-animation-delay:1.38s;
		}
		
		
		
		@keyframes bounce_circularG{
			0%{
				transform:scale(1);
			}
		
			100%{
				transform:scale(.3);
			}
		}
		
		@-o-keyframes bounce_circularG{
			0%{
				-o-transform:scale(1);
			}
		
			100%{
				-o-transform:scale(.3);
			}
		}
		
		@-ms-keyframes bounce_circularG{
			0%{
				-ms-transform:scale(1);
			}
		
			100%{
				-ms-transform:scale(.3);
			}
		}
		
		@-webkit-keyframes bounce_circularG{
			0%{
				-webkit-transform:scale(1);
			}
		
			100%{
				-webkit-transform:scale(.3);
			}
		}
		
		@-moz-keyframes bounce_circularG{
			0%{
				-moz-transform:scale(1);
			}
		
			100%{
				-moz-transform:scale(.3);
			}
		}
	/*Loading畫面CSS結束*/

.loading_tit{
	padding:20px 0px 0px 15px;
	display:inline-block;
	font-size:16px;
	font-weight:bold;
	color:#333;
	font-family:微軟正黑體;
	text-align:center;
}







#top{
	position:absolute;
	top:-100%;
}

.headertop{
	border-top: 0px solid #fff0;
}





/*/////////////////////////////////////////////////////////*/
/*-------版頭--------*/
/*/////////////////////////////////////////////////////////*/

.header {
	position: fixed;
	top: 0;
	z-index: 999;
	width: 100%;
	transition: 0.3s ease all;
	/* background-color: #fff; */
	background-color: #ECEBE1;
}


	.header > .wrap {
		position: relative;
	}







	




/*================*/
/*-- 手機menu按鍵 --*/
/*================*/
.menu_btn {
	position:absolute;
	width:20px;
	top: 50%;
    transform: translateY(-50%);
	right: 0;
	cursor:pointer;
	display:none;
	z-index: 99;
}
	.menu_btn span {
		display:block;
		background-color: #333;
		height:2px;
		margin: 4px 0px;
		transition:0.3s ease all;
		border-radius:3px;
	}
		/*點擊*/
		.menu_btn.active{
			top: 21px;
    		transform: unset;
		}
		.menu_btn.active span {
			background-color: #fff;
		}
			.menu_btn.active span:nth-of-type(1) {
				transform: rotate(39deg);
				transform-origin: top left;
			}
			.menu_btn.active span:nth-of-type(2) {
				opacity: 0;
			}
			.menu_btn.active span:nth-of-type(3) {
				transform: rotate(-39deg);
				transform-origin: bottom left;
			}

@media (max-width: 990px){
	
	/*手機menu按鍵*/
	.menu_btn {
		display:block;
	}

}




/*================================*/
/*----- logo -----*/
/*================================*/
.logo{
	/* width: 150px; */
	width: clamp(4.375rem, 7.8125vw, 9.3750rem); /* 最小值 70px、大小約 7.8125vw、最大值 150.00px */

	margin: 0;
	transition: 0.3s ease all;
	/* float: left; */
	box-sizing: border-box;
	animation-name: bounceIn;
	animation-duration: 1.2s;
	animation-fill-mode: both;
	visibility: visible;
	padding: 0;
	/* display: none; */
}

	.logo a{
		display: block;
		transition:0.3s ease all;
	}
	
		.logo img{
			width: 100%;
			height: auto; 
		} 
		
		/*hover*/
		.logo a:hover{
			transform: scale(0.9);
			animation: bounceIn;	
		}
	

@media (max-width: 990px){
	.logo{
		transition: 0.3s ease all;
		/* width: 150px;
		padding: 10px 0px; */
		float: none;
		margin: 0;
		width: 4.375rem; /*70px*/
        padding: 0px 0px;
		display: block;
	}
	.logo a {
		padding: 15px 0;
	}
	
}

@media (max-width: 640px){
	
}
	



/*================================*/
/*----- 版頭右 -----*/
/*================================*/

.header_rightArea{
    /* float: right; */
    box-sizing: border-box;
    /* padding-top: 42px; */
    /* position: relative; */
}




/*================================*/
/*----- 語系 language -----*/
/*================================*/
.language_areaPC{
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}
.language{
	/* font-size: 14px; */
	/* position: absolute; */
	/* top: 0; */
	/* right: 0; */
	width: 1.25rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
.language i{
	font-size: clamp(1rem,1.5625vw,1.875rem);
	color: var(--dark_color);
}

	.language_list{
		position: absolute;
		width: 6.25rem;
		top: 2.1875rem;
		left: 50%;
		/* right: -340%; */
		/* left: unset; */
		-webkit-transform: unset;
		transform: translateX(-50%);
		background-color: #fff;
		border-radius: 3px;
		display: none;
		margin: 5px 0px 0px;
		box-shadow: 1px 2px 3px 1px rgba(0, 0, 0, 0.2);
		font-size: 0.875rem;
	}
			.language_list a{
				display: block;
				text-decoration: none;
				color: #8c8c8c;
				padding: 5px 10px;
			}
			/* 手機版語系 */

			.language_areaMB{
				
			}

			.language_content{
				display: flex;
				justify-content: space-around;
				align-items: center;
				padding: 10px 0 ;
			}
			.language_content_in a{
				text-decoration: none;
				display: block;
				color: var(--dark_color);
				line-height: 1.5rem;
				font-family: var(--mandarin_font3);
				font-family: var(--mandarin_font);
			}
			.language_content_in a:hover{
				opacity: 0.5;
			}

			.language_areaMB{
				display: none;
			}



@media (max-width: 990px){
	.language_areaPC {
		display: none !important;
	}

	.language_areaMB{
		display: block;
		background-color: #fff;
	}
}





/*================================*/
/*----- 版頭搜尋區塊 -----*/
/*================================*/


/*-----PC搜尋區塊-----*/
.search_areaPC{
	position: absolute;
	right: 0;
	top: 14px;
	/* transform: translateY(-50%); */
	display: none;
}
	/*搜尋icon*/
	.search_iconPC{
		transition: 0.3s ease all;
	}
		.search_iconPC label{
			position: relative;
			display: block;
		}
			.search_iconPC label div{
				position:relative;
				display:block;
			}
			.search_iconPC label div svg{
				width:20px;
				height: 20px;
				display: block;
				fill: #000;
			}
			
		/*hover*/
		.search_iconPC:hover label{
			opacity:0.5;
			transition: 0.3s ease all;
		}	
		


.search_inAreaPC{
	-webkit-transition: top .2s;
	transition: top .2s;
	position: absolute;
	overflow: hidden;
	width: 350px;
	max-width: 350px;
	/* max-width: 100%; */
	display:none;
	top: 76px;
	right: 10%;
	background: rgba(255, 255, 255, 0.95);
	box-sizing: border-box;
	padding: 5px 15px 5px 40px;
}

	
	/*搜尋類別*/
	/* .search_categoryAreaPC3{
		position: absolute;			
		left: 15px;
		width: 59px;
		z-index: 2;
	}
		.search_categoryAreaPC3 select{
			color: #fff;
			background: #000 url(../images/select_arrow_white.png) no-repeat;
			background-size: 13px;
			background-position: right;
			padding-right: 18px !important;
		} */

	.search_inBoxPC{
		position: relative;
		width: 100%;
		padding: 0px 45px 0px 0px;
		box-sizing: border-box;
	}
		.search_inBoxPC input[type="search"] ,
		.search_inBoxPC input[type="text"]{
			background: transparent;
			border: 0px;
			color: #333;
			font-size: 16px;
			font-weight: bold;
			line-height: 22px;
			height: 40px;
			padding: 0px;
			border-radius: 0;
			width: 100%;
			border-bottom: 1px solid #c3c3c3;
		}
		.search_inBoxPC input[type="search"]:focus ,
		.search_inBoxPC input[type="text"]:focus{
			border: 0px;
		}
		
		.search_inBoxPC button[type="button"] ,
		.search_inBoxPC button[type="submit"]{
			position: absolute;
			right: -15px;
			bottom: -5px;
			width: 50px;
			height: 50px;
			border-color: #fff0;
			text-align: center;
			cursor: pointer;
			background-color: var(--primary_color);
		}
			.search_inBoxPC button[type="button"] svg{
				width: 25px;
				height: 25px;
				display: inline-block;
				/* color: var(--primary_color); */
				color: #fff;
			}

	.search_inBoxPC .search_closePC{
		z-index: 2002;
		color: #3e3a39;
		position: absolute;
		left: -30px;
		/* top: -10px; */
		top: 50%;
		transform: translateY(-50%);
		text-decoration: none;
	}
		.search_inBoxPC span{
			display:inline-block;
			vertical-align:middle;
		}
		.search_closePC{
			font-size:22px;
			font-weight:lighter;
		}	
		
		.search_inBoxPC span svg{
			width: 15px;
			height: 15px;
			fill:var(--primary_color);
		}








		











/*================================*/
/*----- 主按鍵 -----*/
/*================================*/

	.navbar{
		/* margin-right: -30px; */
		display: flex;
		flex-wrap: wrap;
		gap: 0;
		column-gap: clamp(1.4517rem, 2.3438vw, 2.8125rem); /* 最小值 23.23px、大小約 2.3438vw、最大值 45.00px */
		font-size: clamp(1.0323rem, 1.6667vw, 2.0000rem);  /* 最小值 16.52px、大小約 1.6667vw、最大值 32.00px */
		font-size: clamp(1.0323rem, 1.0417vw, 1.25rem);  /* 最小值 16.52px、大小約 0.9375vw、最大值 20px */
		/* padding: clamp(1.8125rem,3.0729vw,3.6875rem) 0; */

		padding:clamp(1.2904rem, 2.0833vw, 2.5rem) 0; /* 20.65px , 2.0833vw , 40.00px */
		font-weight: 600;
	}
	
	/*浮動*/
	/* .header.fixed .navbar{
		padding: 0px 0px;
	} */
	
		
		.nav{
			/* float: left; */
			box-sizing: border-box;
			position: relative;
		}
		.navTitle{

		}
			.nav > a, .navTitle > a{
				display: block;
				text-decoration: none;
				color: #000;
				font-size: inherit;
				transition: 0.3s ease all;
				position: relative;
				/* padding: 10px 30px 20px; */
				/* font-family: var(--mandarin_font3); */
				font-family: var(--mandarin_font2);
				/* padding: 0 clamp(0.7097rem, 1.1458vw, 1.3750rem); */ /* 最小值 11.36px、大小約 1.1458vw、最大值 22.00px */
			}
			
			/*hover*/
			.nav:hover > a {
				opacity: 0.5;
				transition: 0.3s ease all;
				position: relative;
			}
			
			.nav > a:before {
				content: "";
				position:
				absolute;
				background-color: #c3c3c3;
				width: 1px;
				height: 15px;
				left: 0;
				top: 50%;
				-webkit-transform: translateY(-50%);
				transform: translateY(-50%);

				display: none;
			}						

			.nav:first-of-type > a:before {
				display:none;
			}

				/*主按鍵展開*/
				.navOpen {
					position:absolute;
					left:50%;
					padding:9px 0px 0px;
					width: 180px;
					transform: translateX(-50%);
					display:none;
					z-index: 2;
				}
				.nav:hover .navOpen.pc {
					display:block;
				}
				.navOpenBg {
					position:relative;
				}


				.navOpen.mobile {
					display:none;
					opacity:0;
					z-index:-999999;
					transform: unset;
					padding: 0;
				}
				.navOpen.pc .navOpenBg:before {
					position: absolute;
					content:'';
					border-bottom: solid 8px rgba(0,0,0,0.65);
					border-left: solid 12px rgba(255,255,255,0);
					border-right: solid 12px rgba(255,255,255,0);
					top:-8px;
					left:50%;
					transform: translateX(-50%);
				}

					.navOpenList {
					}
						.navOpenList a {
							text-align:center;
							font-size:15px;
							color:#fff;
							line-height:22px;
							padding:7px 5px;
							background:rgba(0,0,0,0.65);
							display: block;
							transition:0.3s ease all;
							text-decoration: none;
						}
							.navOpenList a:hover {
								background: var(--second_color);
							}




/* 在螢幕寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) {


	.header .wrap {
		/* position: relative; */
		display: flex;
		align-items: center;
		/* justify-content: center; */
		justify-content: space-around;
		gap: clamp(1.613rem, 2.6042vw, 3.125rem); /* 25.81px , 2.6042vw , 50px */
	}
	.header .fixed .wrap {
		/* position: relative; */
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/*浮動*/
	.header.fixed{
		background: var(--primary_color);
		transition: 0.3s ease all;
		box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.3);
		padding: 0px;
	}
	
		.header.fixed .logo {
			width: 4.375rem; /*70px*/
		}

			.header.fixed .navbar{
				padding: clamp(0.6452rem, 1.0417vw, 1.25rem) 0; /* 10.32px , 1.0417vw , 20px */				
			}


			/*手機才出現*/
			.nav_mb{
				display: none;
			}
							
	
}




@media (max-width: 990px){

	/*浮動*/
	.header.fixed{
		background: var(--primary_color);
		transition: 0.3s ease all;
		box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.3);
		padding: 0px;
	}
	.navbar{
		
		padding:  0;
	}


/*----- 版頭右 -----*/
.header_rightArea{
	position: fixed;
	width: 200px;
	top: 0px;
	right: -200px;
	height: 100%;
	box-sizing: border-box;
	background: rgba(0, 0, 0, 0.7);
	transition: 0.3s ease all;
	padding: 52px 0px 0;
	overflow-y: auto;
	z-index: 4;
	float: none;
}
.header_rightArea.active {
	right: 0px;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.25);
}



	/*----- 語系 language -----*/
	.language{
		position: unset;
		top: unset;
		right: unset;
	}
		
			.language_list a {
				padding: 13px 5px;
			}






	/*-----PC搜尋區塊-----*/
	.search_areaPC{
		position: unset;
		right: unset;
		top: unset;
	}
		/*搜尋icon*/
		.search_iconPC{
			display: none;
		}
		.search_inAreaPC{
			position: unset;
			width: auto;
			max-width: unset;
			display: block;
			top: unset;
			right: unset;
			padding: 0px 0px;
		}
			.search_inBoxPC {
				position: relative;
				width: 100%;
				padding: 0px 50px 0px 10px;
				box-sizing: border-box;
			}
				.search_inBoxPC a{
					display: none;
				}
				.search_inBoxPC button[type="button"], 
				.search_inBoxPC button[type="submit"]{
					right: 0px;
					bottom: 0px;
					width: 40px;
					height: 40px;
					background-color: #fff0;
					display: flex;
				}
				.search_inBoxPC button[type="button"] svg ,
				.search_inBoxPC button[type="submit"] svg{
					width: 15px;
					height: 15px;
					margin: auto;
					color: var(--primary_color);
				}
















	/*----- 主按鍵 -----*/
	.navbar {	
		margin-right: 0px;	
	}
		.nav {
			float:none;
			width: 100%;
			padding: 0px;
			position: relative;
		}
		.navTitle{	
			border-bottom: 1px solid var(--fourth_color);			
		}
		.nav .navTitle.arrow_down {
			padding-right: 40px;
			position: relative;
		}

			.nav > a , .navTitle > a{
				border:none;
				border-radius:0px;
				text-align:left;
				padding: 13px 15px;
				color: #fff;
				/* border-bottom: 1px solid var(--fourth_color);	 */
				border-bottom: none;
			}

			


			.nav > a:before {
				/*display: none;*/
			}
			.nav .navTitle.arrow_down::after  {
				position: absolute;
				content: "";
				background-image: url(../images/arrow_w.svg);
				background-repeat: no-repeat;
				background-position: center center;
				background-size: 18px;
				transition: 0.3s ease all;
				width: 18px;
				height: calc(18px / 2);
				z-index: 0;
				right: 0;
				top: 50%;
				transform: translateY(-50%);
				transform-origin: center center;
				width: 33px;
				height: 33px;
				display: flex;
				justify-content: center;
				align-items: center;
				/* background-color: #333; */
			}
			.nav.active .navTitle.arrow_down::after   {
				transform: translateY(-50%) rotate(180deg);
			}
	
			
					
				/*展開選單*/
				.navOpen {
					position:relative;
					top:0px;
					left:0px;
					margin:0px;
					width:auto;
					border-radius:0px;
					background:#444;
				}
				
				/*hover*/
				.nav:hover .navOpen.pc ,
				.fixed_nav:hover .navOpen.pc{
					display:none;
				}	
				
					
				.navOpen.mobile {
					display: none;
					opacity: 1;
					z-index: 1;
					position: relative;
				}
					.navOpenBg {
						box-shadow: none;
					}
						.navOpen.mobile  .navOpenList {
						}
						.navOpen.mobile  .navOpenList > a {
							text-align:left;
							font-size:14px;
							color: #cecece;
							line-height:22px;
							padding: 12px 15px 12px 30px;
							background-color: rgba(0, 0, 0, 0.7);
							transition:0.3s ease all;
							text-decoration:none;
							display:block;
							border-bottom: 1px solid #5b5b5b;
						}
						.navOpenList > a:hover {
							opacity: 0.7;
						}
						.search_inBoxPC input[type="search"] ,
						.search_inBoxPC input[type="text"] {
							border-bottom: 0px solid #c3c3c3;
						}
}



