/*目錄文字*/
.pcHeader .depth01{
	overflow: hidden;
	display: inline-block;
	float: right;
	margin-right: 270px;
	cursor: pointer;
}

.pcHeader .depth01 > li{
	float:left;
}

/*文字*/
.pcHeader .depth01 > li > a{
	display: block;
	padding: 0 33px;
	color: #C8C5C5;
	line-height: 84.5px;
	font-size: 20px;
	font-family: Yu Gothic, serif;
	text-decoration: none;
}

.pcHeader .depth01 > li a:hover{
	color:#FFF;
}

/*文字下邊框*/
.pcHeader .depth01 > li > a::after{
	content: "";
	border-bottom: 1.5px solid #FFF;
	margin: auto;
	position: relative;
	width: 0%;
	display: block;
	transition: all 0.3s;
}

.pcHeader .depth01 > li > a:hover::after{
	width: 100%;
}

/*語言切換*/
.language{
	float: right;
	color: #B5B5B5;
	font-size: 14px;
	line-height: 80px;
}
.language span:hover{
	color: #FFF;
    cursor: pointer;
}

/*黑框*/
.pcHeader {
	background-color:rgba(0,0,0,0.6);
	position: fixed;
	left:0;
	right:0;
	top:0;
	font-size:0;
	z-index: 30;
    -webkit-transition: top 0.4s;
	-moz-transition: top 0.4s;
    -o-transition: top 0.4s;
    transition: top 0.4s;
}

/*logo*/
.pcHeader .logo{
	text-align: left;
	position: absolute;
	left:0;
	top:0;
	margin-top: 7px;
	margin-left: 50px;
}
.pcHeader .logo a{
	display: inline-block;
	width: 211px;
	height: 75px;
	background-repeat: no-repeat;
	background-size: contain;
}

/*貼齊邊緣*/
html,body,button,dl,dt,dd,div,form,fieldset,legend,h1,h2,h3,h4,h5,h6,input,select,textarea,ul,ol,li,p,pre,table,td,th,caption,a,button,address,footer{
	margin:0;
	padding:0;
}

input::placeholder{
  color: #AAA;
}
input::-webkit-input-placeholder{
  color: #AAA;
}
input::-moz-placeholder{
  color: #AAA;
}
input:-ms-input-placeholder{
  color: #AAA;
}

/*瀏覽器縮小時, 將圖片變小*/
@media screen and (max-width: 1107px){
	.im{
		height:385px;
		overflow: hidden;
	}
	.im img{
		position: absolute;
		left:50%;
		top:50%;
		transform: translate(-50%,-50%);
		width:auto;
		height:100%;
	}
	.in{
		bottom:54px;
	}
	.in img{
		width:60%;
		max-width: 300px;
	}
}

/*瀏覽器縮小時, 避免文字圖片不會再縮的更小*/
@media screen and (max-width: 640px){
	.in img{
		width:100%;
	}
}

/* 目錄隱藏 */
#header .nav-up{
	top: -90px;
}

/*mobile按鈕*/
#header .pcHeader .top_menu{
	position: absolute;
	right: 100px;
	height: 100%;
	width: 60px;
	text-align: center;
	left:0;
	z-index: 20;
}

#header .pcHeader .top_menu a{
	line-height: 56px;
	font-size: 40px;
	font-family: Yu Gothic, serif;
	color: #b5b5b5;
	font-weight: bold;
}

/*mobile目錄*/
#header .pcHeader .top_menu_phone{
	position: absolute;
	overflow-y: auto;
    height: 100vh;
	width: 100%;
	left: -100%;
	background-color: #f5f5f5;
	z-index: 19;
    -webkit-transition: left 0.4s;
	-moz-transition: left 0.4s;
    -o-transition: left 0.4s;
    transition: left 0.4s;
}

/*mobile目錄logo*/
#header .pcHeader .top_menu_phone .logo_phone{
	text-align: center;
	margin: 70px 55px 0 55px;
	border-bottom: 1px solid #808080;
}

#header .pcHeader .top_menu_phone .logo_phone img{
	width: 80%;
	background-repeat: no-repeat;
}

/*mobile目錄文字*/
#header .pcHeader .top_menu_phone ul{
	margin: 40px 60px;
}

/*mobile目錄文字*/
#header .pcHeader .top_menu_phone ul > li > a{
	display: block;
	margin: 20px 0;
	color: #000;
	line-height: 56px;
	font-size: 20px;
	font-family: Yu Gothic, serif;
	text-decoration: none;
	text-align: center;
	background-color: #e7e1ca;
}

#header .pcHeader .top_menu_phone ul > li a:hover{
	color: #fff;
}

/*搜尋*/
#header .pcHeader .header_search_form{
	width: 230px;
	position: absolute;
	float: left;
	text-align: right;
	top: 30%;
	right: 1%;
	border: 1px solid #F0F8FF;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/*搜尋內容*/
#header .pcHeader .header_search_form .search-keyword{
	font-size: 100%;
	font: 14px/15px Verdana;
	padding: 7px;
	border: 0;
	background-color: transparent;
	outline: none;
	caret-color: #FFF;
	color: #DCDCDC;
	width: 85%;
}

/*搜尋按鈕*/
#header .pcHeader .header_search_form .search-submit{
	width: 30px;
	height: 30px;
	background-image: url("images/search.webp");
	background-size: cover;
	background-color: transparent;
	border: 0;
	outline: none;
}

#header .pcHeader .header_search_form .search-submit:hover{
	background-color: #708086;
    cursor: pointer;
}

/*回到頁首*/
.gotoTop{
	background-color:#000;
	opacity:0;
	display:block;
	width:60px;
	height:60px;
	border-radius: 40%;
	position: fixed;
	bottom:30px;
	right:60px;
	cursor: pointer;
	z-index: 10;
	text-align: center;
    -webkit-transition: opacity 0.2s;
	-moz-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.gotoTop p{
	margin: 25%;
	width: 50%;
	height: 50%;
	background: url(images/up.webp);
	background-size: cover;
}

.gotoTop:hover{
	background: rgba(0, 0, 0, 0.7);
}

/*頁尾*/
footer{
	background: -webkit-linear-gradient(#DADADA,#7C7C7C);
	background: -o-linear-gradient(#DADADA,#7C7C7C);
	background: -moz-linear-gradient(#DADADA,#7C7C7C);
	background: linear-gradient(#DADADA,#7C7C7C);
}

.footerdetail {
	width: 100%;
	height: 100%;
}

.footertext {
	color: #000;
	font-size: 16px;
	line-height: 30px;
	text-align: center;
	padding: 25px;
}

.footertext a {
	color: #000;
}

.footertext a:hover {
	color: #666;
}

/*line連結*/
.line_link{
	width: 90px;
	height: 90px;
	background: url(images/line_link.jpg);
	background-size: cover;
	position: absolute;
	margin-left: 10px;
	margin-top: -15px;
}

/*瀏覽器縮小時, 文字縮小*/
@media screen and (max-width: 1366px){
    .pcHeader .depth01 > li > a{
		font-size:18px;
		padding: 0 20px;
	}
	
	/*搜尋*/
	#header .pcHeader .header_search_form{
		width: 200px;
	}

	/*搜尋內容*/
	#header .pcHeader .header_search_form .search-keyword{
		font: 12px/13px Verdana;
	}

	/*搜尋按鈕*/
	#header .pcHeader .header_search_form .search-submit{
		width: 26px;
		height: 26px;
	}
	
	.pcHeader .depth01{
		margin-right: 230px;
	}
	.pcHeader .logo{
		margin-left: 20px;
	}
	.language{
		font-size: 12px;
	}
}

@media screen and (max-width: 991px){
	.pcHeader .depth01 > li > a{
		font-size:16px;
		padding: 0 15px;
	}
	.pcHeader .depth01{
		margin-right: 220px;
	}
	.language{
		font-size: 11px;
	}
}

@media screen and (max-width: 767px){
	.gotoTop{
		width:50px;
		height:50px;
		bottom:20px;
		right:30px;
	}
	.pcHeader .logo{
		display: none;
	}
	.pcHeader .depth01{
		display: none;
	}
	.en{
		top:51px;
	}
	#header .pcHeader .header_search_form{
		margin: 10px;
		position: relative;
		float: right;
		background-color: rgba(50,50,180,0.8);
	}
	/*搜尋內容*/
	footer{
		display: none;
	}
	/*語言切換*/
	.language{
		color: #666;
		font-size: 18px;
		height: 20px;
	}
	.language span:hover{
		color: #BBB;
	}
	.line_link{
		width: 33px;
		height: 33px;
		background: url(images/line_link.png);
		background-size: cover;
		margin-left: 25px;
		margin-top: 25px;
	}
	#mac{
		padding:15% 3% 0 3%;
	}
}

@media screen and (min-width: 767px){
	#header .pcHeader .top_menu{
		display: none;
	}
	#header .pcHeader .top_menu_phone_div{
		display: none;
	}
	/*解決開啟詢價或圖片時,排版會位移的問題*/
	/*在開啟圖片時(modal-open),讓最右邊凸排*/
	.modal-open .pcHeader{
		margin-right: 16px;
	}
	.modal-open .gotoTop{
		margin-right: 16px;
	}
	#mac{
		padding:138px 0px;
	}
}

::selection {
	background: #333;
	color: #FFF;
}
