@import url('/css/fontawesome-all.css');
@import url('/css/font-awesome.min.css');
@import url('/css/fontawesome.min.css');
@import url('/css/SeoJump.css');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100;300;400;500;700;900&family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Sans:wght@400;700&family=Noto+Serif+SC:wght@200;300;400;500;600&family=Noto+Serif+TC:wght@200;300;400;500;600&family=Noto+Serif:wght@400;700&family=Frank+Ruhl+Libre:wght@300;400;500;700;900&family=Lato:wght@100;300;400;700;900&display=swap');

* { margin: 0; padding: 0; }
*:focus { outline: none; }

body { margin: 0; }
body ::selection { background: var(--gray); text-shadow: none; color: var(--white); }
body::-webkit-scrollbar { width: 5px; }
body::-webkit-scrollbar-track { background: rgba(var(--gray-rgb), .4); }
body::-webkit-scrollbar-thumb { background: var(--primary); }

header, footer, div, nav, article, h2, h3, h4, h5, h6, hr, p, form, label, input, textarea, ul, li, img, svg, span, font, strong, b, a, i { text-align: left; vertical-align: middle; word-wrap: break-word; word-break: break-word; line-height: 170%; border-width: 0; font-family: var(--font-family), sans-serif; font-size: 16px; color:  var(--info); }

ul , ol { list-style: none; }

fieldset { border: 0; }

input , button , select , textarea { padding: 5px 15px; width: calc(100% - 32px); border: 1px rgba(var(--black-rgb), .3) solid; border-radius: 2px; background: rgba(var(--black-rgb), .03); box-shadow: none; outline: none; font-size: 16px; color: var(--gray); -webkit-appearance: none; -moz-appearance: none; appearance: none; }
input::-webkit-outer-spin-button , input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
select { padding: 10px 15px; width: 100%; }
input#Checknum { margin-right: 15px; width: 70px; max-width: calc(100% - 97px); }

/* img */
img { max-width: 100%; }
.img_cover { width: 100%; object-fit: cover; }
.img_contain { width: 100%; object-fit: contain; }

a , a:link , a:visited , a:hover { text-decoration: none; white-space: pre-wrap; }

/* general class set */
.txt_clamp { overflow: hidden; height: 27px; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.d_inblock.txt_clamp { display: -webkit-inline-box; }
.atag_item { width: 100%; height: 100%; top: 0; left: 0; }
.nowrap_box { font-size: 0; }
.txt_num { font-family: 'Lato', sans-serif; }

/* btn */
.btn , .btn_outline { padding: 2px 10px; }
.more_btn { padding: 20px 10px; width: 370px; }
.more_btn span { letter-spacing: .4em; font-weight: 400; font-family: 'Lato', sans-serif; color: var(--white); }
.more_btn svg { width: 30px; height: 23px; fill: var(--white); top: calc((100% - 23px) / 2); right: 20px; }
.more_btn:before { position: absolute; width: 0; height: calc(100% - 3px); background: var(--white); top: 0; left: 0; content: ""; }

/* badge  */
.badge { padding: 2px 10px; box-shadow: none; }
.badge_lighten { padding: 0 4px; min-width: 22px; border-radius: 3px; font-weight: 400; text-align: center; font-size: 12px; vertical-align: text-bottom; }

/* photo,bgBox */
a.photo , .bgBox { overflow: hidden; background: no-repeat 50% / cover; display: block; }

/* fancybox */
[class^="fancybox-"] , [class^="fancybox-"] * , .slick-track , .fa , .fas , .fa:before , .fas:before , .fa:after , .fas:after , .trans_none_box , .more_btn svg { -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }
.fancybox-infobar__body span { font-size: inherit; color: currentcolor; vertical-align: initial; }

/* webBox */
.webBox { width: 100%; }
.webBox .pageh1 { top: 0; z-index: 1; }
.webBox .wrapper { background: var(--white); z-index: 2; }
.webBox .slick-slider { margin-bottom: 0; }

/* workframe */
.workframe { margin: 0 auto; width: 90%; }

/* header */
header { padding: 0 5%; width: 90%; z-index: 999; top: 0; left: 0; }
header #cis { z-index: 5; }
header #menubtn { top: calc((100% - 25px) / 2); left: 5%; z-index: 1000; }
header #menubtn a { margin: auto 0 auto auto; width: 25px; height: 17px; }
header #menubtn a span { position: absolute; width: 100%; height: 2px; background: var(--secondary); display: block; top: 0; right: 0; }
header #menubtn[data-type="1"] a span { transition: transform .4s cubic-bezier(.215,.61,.355,1),opacity .4s cubic-bezier(.215,.61,.355,1), -webkit-transform .4s cubic-bezier(.215,.61,.355,1); }
header #menubtn[data-type="1"] a span:nth-child(2) { top: calc(50% - .5px); }
header #menubtn[data-type="1"] a span:nth-child(3) { width: 70%; top: calc(100% - 1px); right: 30%; }
header #menubtn[data-type="2"] a span { transition: .4s cubic-bezier(.645,.045,.355,1); }
header #menubtn[data-type="2"] a span:nth-child(1) , header #menubtn[data-type="2"] a span:nth-child(3) { top: 50%; }
header #menubtn[data-type="2"] a span:nth-child(2) { opacity: 0; }
header #webmenu nav >ul >li >p a { padding: 10px 5px; font-size: 18px; }
header #webmenu nav ul li b { position: absolute; padding: 0 5px 0 15px; width: 23px; height: 41px; display: inline-block; text-align: center; line-height: 41px; top: calc((100% - 41px) / 2); right: 0; }
header #webmenu nav >ul >li .subOption li >div a { padding: 7px 10px; display: block; }
header #header_bar a.btn { padding: 5px; }
header #header_bar svg { width: 20px; height: 20px; }

header.scroll { opacity: 0; }
header.scroll.show { background: rgba(var(--white-rgb), .8); opacity: 1; }

/* hSearch */
#hSearch { width: 240px; box-shadow: 0 0 10px rgba(var(--black-rgb), .3); right: -300px; opacity: 0;  z-index: -1; }
#hSearch[data-type="2"] { right: 0; opacity: 1; z-index: 10; }
#hSearch input { width: calc(100% - 65px); border: 0; }
#hSearch svg { width: 18px; height: 18px; }

/* menubg */
#menubg { width: 100vw; height: 100vh; top: 0; left: 0; }
#menubg[data-type="1"] { background: rgba(var(--black-rgb), 0); z-index: -998; }
#menubg[data-type="2"] { background: rgba(var(--black-rgb), .5); z-index: 998; }

/* footer */
footer { padding-top: 30px; z-index: 5; }
footer * { font-weight: 300; font-size: 15px; }
footer #f_info font:first-child { min-width: 50px; }
footer #f_info font:last-child a { font-family: 'Lato', sans-serif; font-weight: 400; }
footer #more_extra { padding: 5px; width: 190px; z-index: 2; }
footer #extra ul { width: 200px; bottom: 0; left: 0; z-index: 1; }
footer #extra ul li { padding: 5px 15px; }
footer #extra ul li font { line-height: 140%; }
footer #extra ul li font:first-child { font-size: 15px; font-style: italic; }
footer #extra ul li img { position: absolute; max-width: 150px; top: 100%; left: 15px; z-index: 8; max-height: 150px; display: none; }
footer .other_txt { font-size: 13px; }

/* webSeo */
#webSeo { padding: 20px 0 2px; white-space: nowrap; box-sizing: border-box; }
#webSeo .seo { padding-left: 100%; font-weight: 100; font-size: 13px; color: var(--info); }

/* #gotop */
#gotop { right: -35px; bottom: 200px; z-index: 100; }
#gotop span { font-family: 'Lato', sans-serif; font-size: 15px; font-weight: 700; color: var(--black); }
#gotop:before { margin-right: 10px; width: 70px; height: 2px; background: rgba(var(--black-rgb), .6); display: inline-block; vertical-align: middle; content: ""; }

/* footer_btn */
#footer_btn { right: 15px; bottom: 15px; z-index: 2000; }
#footer_btn a.circ { margin-top: 10px; background: var(--white); box-shadow: 0 0 10px rgba(var(--black-rgb), .2); line-height: 40px; }
#footer_btn a.circ svg { width: 60%; height: 60%; }
#footer_btn a.circ.line svg { fill: #12b508; }

@media screen and (min-width: 1441px){
	.workframe { width: var(--width-xxl); }
}
@media screen and (min-width: 1281px){
	.btn_hover:hover .more_btn span { color: var(--black); }
	.btn_hover:hover .more_btn svg { fill: var(--black); }
	.btn_hover:hover .more_btn:before { width: 100%; }
	.btn_hover:hover .bg_primary_5.more_btn span { color: var(--primary); }
	.btn_hover:hover .bg_primary_5.more_btn svg { fill: var(--primary); }
	header { padding: 0 2.5%; width: 95%; }
	header #webmenu nav ul li b { display: none; }
	header #webmenu nav ul li { position: relative; }
	header #webmenu nav ul li .bo { position: relative; background: var(--white); z-index: 1; }
	header #webmenu nav >ul >li >p a { padding: 25px 9px; }
	header #webmenu li .menu_body , header #webmenu li .subOption ul { position: absolute; width: 170px; right: calc(50% - 85px); z-index: -1; opacity: 0; }
	header #webmenu li .menu_body ul { background: var(--white); box-shadow: 0 0 10px rgba(var(--black-rgb), .3); }
	header #webmenu li .subOption li { overflow: hidden; }
	header #webmenu li .subOption li >div a { padding: 6px 15px; border-bottom: 1px rgba(var(--black-rgb), .1) solid; line-height: 150%; font-weight: 300; }
	header #webmenu li .subOption li:last-child >div a { border-color: none; }
	header #webmenu li .subOption li >div a:hover { color: var(--primary) }
	header #webmenu li .subOption .sub2Option , header #webmenu li .subOption .sub3Option { top: 0; right: -170px; }
	header #webmenu nav >ul >li:hover , header #webmenu li .subOption li:hover { overflow: visible; }
	header #webmenu nav >ul >li:hover .menu_body , header #webmenu li .subOption li:hover >ul { z-index: 2; opacity: 1; }
	header #webmenu li:last-child .subOption .sub2Option , header #webmenu li:last-child .subOption .sub3Option { right: auto; left: -170px; }
	footer #extra ul li:hover img { display: block; }
}
@media screen and (max-width: 1280px){
	header #cis { padding: 10px 40px; }
	header #webmenu { padding: 15px 0; width: 350px; height: 100vh; background: var(--white); box-shadow: 0 10px 10px rgba(var(--black-rgb), .5); right: calc(-1 * var(--width-xs)); z-index: 999; }
	header #webmenu nav { overflow-y: scroll; margin-top: 15px; padding: 0 10px; height: calc(100% - 65px); }
	header #webmenu nav::-webkit-scrollbar { width: 0; }
	header #webmenu nav >ul { padding-bottom: 200px; }
	header #webmenu li .menu_body , header #webmenu li .menu_body .subOption li ul { position: relative; display: none; -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }
	header #webmenu li .menu_body ul { margin-left: 20px; }
	header #webmenu li .menu_body .subOption .bo { position: relative; }
	header #webmenu li .menu_body .subOption a { padding: 7px 45px 7px 10px; color: var(--primary); }
	header #webmenu li .menu_body .sub2Option a { font-weight: 300; color: var(--triadic1); }
	header #webmenu li .menu_body .sub3Option a { color: var(--triadic2); }
	header #header_bar { top: 0; right: 2.5%; }
}
@media screen and (min-width: 1025px){
	footer * { vertical-align: top; }
}
@media screen and (max-width: 1024px){
	footer #f_other { margin-top: 10px; }
}
@media screen and (max-width: 760px){
	footer #extra , footer #f_info { margin-top: 10px; }
}
@media screen and (max-width: 550px){
	#webSeo { padding-top: 50px; }
	#gotop { bottom: 150px; }
	#footer_btn { width: 100%; right: 0; bottom: 30px; }
	#footer_btn a { margin: 0 10px; line-height: 35px; }
}
@media screen and (max-width: 450px){
	.more_btn { padding: 15px 0; width: 200px; }
	.more_btn span { font-size: 14px; }
}