/*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: 998;
	width: 100%;
	transition: 0.3s ease all;
	/* background-color: var(--fifth_color); */
	/* background-color: transparent; */
	/* background: linear-gradient(0deg, rgba(1, 0, 41, 0.00) 0%, #010029 40.35%); */

	/* background-color: rgba(255, 255, 255, 0.7);  */

	background-color: #ffc4b4;
    /* backdrop-filter: blur(2px);  */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/*浮動*/
.header.fixed{
	/* box-shadow: 0px 0px 20px -1px rgba(0,0,0,0.3);	
	padding: 0px;
	background-color: #fff; */
	/* transition: 0.3s ease all; */
	backdrop-filter: blur(10px);
}

	.header > .wrap {
		/* max-width: 93.75rem;  */
		/* width:calc(100% - (0.9375rem * 2)); */
		margin: 0 auto;
		position: relative;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid #6762603d;
		border-bottom: unset;
	}



.header_top_area{
	/* position: fixed; */
	/* position: absolute; */
	width: 100%;
	z-index: 999;
	background-color: var(--primary_color);
	color: #fff;
}
.header_top_area > .wrap{
	position: relative;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
@media screen and (min-width: 991px) and (min-height: 500px) and 
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74), only screen and (min-resolution: 150dpi) and 
(max-resolution: 174dpi) { 
		.header > .wrap {
			max-width: 68.75rem; /*1100*/
			width: 100%;
			margin: 0 auto;
			position: relative;
			display: flex;
			flex-wrap: wrap;
			align-items: center;
			justify-content: space-between;
			border-bottom: 1px solid #6762603d;
			border-bottom: unset;
		}
}

@media (max-width: 990px){
	.header > .wrap {
		/* padding: 0 15px; */
	}
}

	
@media(max-width:540px){
	.header > .wrap {
		gap:25px 80px;
		justify-content: space-between;
	}
}



/*================*/
/*-- 手機menu按鍵 --*/
/*================*/
.menu_btn {
	position:absolute;
	position: relative;
	width: 30px;
	top: unset;
	/* transform: translate(-50%,0); */
	right: 0;
	left: unset;
	cursor:pointer;
	display:none;
	z-index: 999;
}
	.menu_btn span {
		display:block;
		background-color: var(--primary_color);
		height:5px;
		margin: 5px 0px;
		transition:0.3s ease all;
		border-radius:3px;
		
	}
		/*點擊*/
		.menu_btn.active{
			width: 30px;
			top:16px;
			top:0;
			left:unset;
    		transform: unset;
			z-index: 10000;
		}

		.menu_btn.active span {
			background-color: #fff;
			margin: 4px 0px;
			
		}
			.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;
		padding: 0;
	}

}




/*================================*/
/*----- logo -----*/
/*================================*/


.header.fixed .logo{
	/* width: clamp(5.3125rem,8.8542vw,10.625rem); */
	/* width: 5rem; */
	/* padding: .625rem 0; */
}
.logo{
	/* width: 190px; */
	width: clamp(3.75rem, 1.754rem + 3.23vw, 5.625rem); 
	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;
	/* margin: 30px 0px 0; */
	padding: clamp(0.625rem, 0.563rem + 0.31vw, 0.938rem) 0; 
}

	.logo a{
		display: block;
		/* position: relative;
		padding-top: 32.33%; */
		transition:0.3s ease all;
	}
	
		.logo img{
			width:100%;
			height:auto;
			/* transition: all 0.3s ease-out;
			position: absolute;
			top: 0;
			left: 0;
			bottom: 0;
			right: 0;
			float: none;
			width: 100% !important;
			height: 100% !important;
			object-fit: cover;
			transition: all 0.3s ease-out; */
			
		} 
		
		/*hover*/
		.logo a:hover{
			transform: scale(0.9);
			animation: bounceIn;	
		}
	
/* 在螢幕放大150%且寬度大於991時，套用這裡的特定樣式 */ 
/* @media screen and (min-width: 991px) and (min-height: 500px) and 
(max-height: 1000px) and (-webkit-min-device-pixel-ratio: 1.5) and 
(-webkit-max-device-pixel-ratio: 1.74), only screen and (min-resolution: 150dpi) and 
(max-resolution: 174dpi) { 
	.logo{
		padding: 30px 0px 0;
	}
} */


@media (max-width: 990px){
	.logo{
		width: 3.75rem;
	}
	.header.fixed .logo{
		width: 3.75rem;
		
	}
}


/*================================*/
/*----- 版頭右 -----*/
/*================================*/

.header_rightArea{
    /* float: right; */
    box-sizing: border-box;
    /* padding-top: 42px; */
}

.header .btn_area{
	border: 2px dashed var(--primary_color);
	padding: 7px;
	border-radius: 40px;
}
.header .btn_area button{
	all: unset;
	padding: 8px 10px;
	border-radius: 40px;
	background: var(--primary_color);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	font-family: "Krub", serif;
	cursor: pointer;
}

@media(max-width:990px){

	.header_rightArea .btn_area{
		margin: 42px 0 0;
		display: none;
	}

}
@media(max-width:540px){

	.header_rightArea .btn_area{
		border: 2px dashed #73b21a;
		border-color: var(--fourth_color);
		padding: 7px;
		margin: 30px 0 0;
		border-radius: 40px;
	}

}
@media(max-width:487px){

	.header_rightArea .btn_area{		
		margin: 0;		
	}

}

/*================================*/
/*----- 語系 language -----*/
/*================================*/
.language{
	font-size: 14px;
	position: absolute;
	position: relative;
	top: 17px;
	right: 30px;
	top:0px;
	right:0px;
}
	.language_content{
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}
		.language_list{	
			box-sizing: border-box;	
		}
			.language_list a{
				display: block;
				text-decoration: none;
				color: inherit;
				padding: 0 10px;
			}








/*================================*/
/*----- 版頭搜尋區塊 -----*/
/*================================*/


/*-----PC搜尋區塊-----*/
.search_areaPC{
	position: absolute;
	position: relative;
	right: 0;
	top: 14px;
	top:0px;
	background: rgba(2, 2, 2, .2);
	padding: 5px;
	/* transform: translateY(-50%); */
}
	/*搜尋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: #fff;
			}
			
		/*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 15px;
}

	
	/*搜尋類別*/
	/* .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{
		font-size: clamp(1.0000rem, 0.9375vw, 1.1250rem); /* 字體 最小值 16.00px、大小約 0.9375vw、最大值 18.00px */
		font-size: clamp(1rem, 0.601rem + 0.65vw, 1.375rem);
		/* display: flex; */
		justify-content: center;
		align-items: center;
		gap: clamp(1.25rem,2.0833vw,2.5rem);
		flex-wrap: nowrap;
		/* margin-right: -30px; */
		font-family: var(--foreign_font2);
	}
	
	/*浮動*/
	.header.fixed .navbar{
		/* padding: 0px 0px; */
	}
	
		
		.nav{
			float: left;
			box-sizing: border-box;
			position: relative;
			/* float: none; */
		}
			.nav > a{
				display: block;
				text-decoration: none;
				color: #000;
				/* color: #fff; */
				font-size: clamp(0.875rem, 0.21rem + 1.08vw, 1.5rem);
				transition: 0.3s ease all;
				position: relative;
				
				padding: 0 clamp(0.5rem, -0.964rem + 2.37vw, 1.875rem);
				font-family:inherit;
			}
			.header.fixed .navbar .nav > a{
				
/* font-size: clamp(0.875rem, 0.476rem + 0.65vw, 1.25rem); */
				
/* padding: 0 .625rem; */
			}
			
			/*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;
					font-family:inherit;
				}
				.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 #fff;
					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:var(--second_color);
							line-height:22px;
							padding:7px 5px;
							background:#fff;
							display: block;
							transition:0.3s ease all;
							text-decoration: none;
						}
							.navOpenList a:hover {
								background: var(--primary_color);
								color: #fff;
							}



									
	






@media (max-width: 990px){
	

/*----- 版頭右 -----*/
/* 1. 強化背景色，確保它是完全不透明的深色，避免被 body 的紅色干擾 */
    .header_rightArea {
        position: fixed;
        width: 250px; /* 稍微加寬，排版較鬆散 */
        top: 0;
        right: -250px;
        height: 100vh; /* 確保填滿整個螢幕高度 */
        box-sizing: border-box;
        background: #202020; /* 改用純色，不要用 rgba */
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* 讓滑出感更順滑 */
        padding: 80px 0 30px; /* 增加頂部間距，避免撞到 logo */
        overflow-y: auto;
        z-index: 1000; /* 提高層級，確保蓋過所有內容 */
        display: block !important; /* 強制顯示 */
    }

    /* 2. 當選單啟動時 */
    .header_rightArea.active {
        right: 0px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5); /* 增加向左的陰影感 */
    }

    /* 3. 強化文字顏色與可讀性 */
    .nav > a {
        color: #ffffff !important; /* 強制白色 */
        border-bottom: 1px solid #333333; /* 暗色分隔線 */
        display: block;
        padding: 15px 25px;
    }

    /* 4. 確保按鈕在手機版顯示 (您原本設定了 display: none) */
    .header_rightArea .btn_area {
        display: block !important;
        margin: 20px;
        text-align: center;
    }



	/*----- 語系 language -----*/
	.language{
		position: unset;
		top: unset;
		right: unset;
	}
		.language_content{
			justify-content: center;
		}
			.language_list a {
				padding: 13px 5px;
			}






	















	/*----- 主按鍵 -----*/
	
	.navbar{
		margin-right: 0px;	
		font-size: clamp(1.0000rem, 0.9375vw, 1.1250rem);
	}
		.nav {
			float:none;
			width: 100%;
			padding: 0px;
			position: relative;
		}
		
			.nav > a {
				border:none;
				border-radius:0px;
				text-align:left;
				padding: 13px 15px;
				padding: .8125rem .9375rem;
				color: #cecece;
				border-bottom: 1px solid #5b5b5b;
				font-size: 1rem;
			}
			.header.fixed .navbar .nav > a{
				font-size: 1rem;
				padding: .8125rem .9375rem;
				
			}
			.nav > a:before {
				display: none;
			}
			
					
				/*展開選單*/
				.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;
						}
}



