@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; z-index: 999; }
.nowrap_box { font-size: 0; }
.txt_num { font-family: 'Lato', sans-serif; }

.slow{
	transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
}
/* 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 { overflow: hidden; position: relative; width: 100%; }
.webBox .pageh1 { position: absolute; top: 0; z-index: 1; }
.webBox .wrapper { position: relative; background: var(--white); z-index: 2; }
.webBox .slick-slider { margin-bottom: 0; }

/* workframe */
.workframe { margin: 0 auto; width: 90%; }

/* header */
header {p;padding: 0% 8% 0 2.5%;width: 90%;z-index: 999;top: 0;left: 0;}
header #cis {position: relative;z-index: 5;width: 250px;}
header #menubtn {top: calc((100% - 25px) / 2);right: 2.5%;z-index: 1000;}
header #menubtn[data-type="2"] a{
    width: 80px;
    height: 80px;
    background: #303030;
    display: flex;
}header #menubtn[data-type="2"] a span{
    background: white;
    width: 40%;
    right: 30%;
}
header #menubtn a { margin: auto 0 auto auto; width: 25px; height: 17px; }
header #menubtn a span {position: absolute;width: 100%;height: 2px;background: #2e2e2e;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 {opacity: 1;}
header.scroll.show #webmenu{
    display: none;
}
 header #mbMenu2 nav>ul>li .menu_body, header #mbMenu2 nav>ul>li .menu_body .sub2Option, header #mbMenu2 nav>ul>li .menu_body .sub3Option {
        display: none;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
    }
#webmenu{
    width: calc(100% - 250px);
}
#webmenu nav{
    width: calc(100% - 131px);
}
#header_bar{width: 130px;}
#webmenu ul{
    display: flex;
    justify-content: flex-end;
}
#webmenu2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fffffff0;
    visibility: visible;
    overflow: hidden;
    transition: all 1000ms cubic-bezier(0.785, 0.135, 0.150, 0.860); /* easeInOutCirc */
    transition-timing-function: cubic-bezier(0.785, 0.135, 0.150, 0.860); /* easeInOutCirc */
    transform: translateY(100%) matrix(1, 0, 0, 1, 0, 0);
    transition-delay: 300ms;
}
#webmenu2.trans{
    opacity: 1;
    transition: all 600ms cubic-bezier(0.785, 0.135, 0.150, 0.860); /* easeInOutCirc */
	transition-timing-function: cubic-bezier(0.785, 0.135, 0.150, 0.860); /* easeInOutCirc */
    background-color: white;
}
.opennav{
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
}
.opennav .lebox{
    display: flex;
    filter: grayscale(77%);
    width: 30%;
    height: 100vh;
}
.opennav .lebox img{
    object-fit: cover;
}
.opennav .ribox{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 70%;
    justify-content: center;
}
.opennav .ribox .flowme{
    display: flex;
    padding: 0 60px;
}
.opennav .ribox .flowme .textJ{
    display: flex;
    align-items: center;
}
.opennav .ribox .flowme .textJ svg{
    width: 21px;
    fill: #303030;
    margin: 0 7px;
}
#webmenu2 .menu_box ul{
    display: flex;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    padding: 2px 60px;
}
#webmenu2 .menu_box ul li{
    display: flex;
    width: 40%;
    margin-bottom: 25px;
    flex-direction: column;
}
#webmenu2 .menu_box ul li p{
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#webmenu2 .menu_box ul li p{
    font-size: 23px;
    line-height: 200%;
    transition: all 700ms cubic-bezier(1.000, 0.670, 0.435, 2.09); /* custom */
    transition-timing-function: cubic-bezier(1.000, 0.670, 0.435, 1.090); /* custom */
}
#webmenu2 .menu_box ul li a{
    font-size: 30px;
    font-weight: 700;
}
#webmenu2 .menu_box ul li p.translist{
    transition: all 1100ms cubic-bezier(1.000, 0.670, 0.435, 2.09);
    transition-timing-function: cubic-bezier(1.000, 0.670, 0.435, 1.090);
}
#webmenu2 .menu_body .subOption{
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
#webmenu2 .menu_body .subOption a{
    font-size: 23px;
    color: #969696;
    font-weight: 500;
    padding-left: 1px;
}
#webmenu2 .menu_body .subOption li{
    width: 100%;
}
/* 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),0);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){
	header #menubtn a{display:none;}
	header.show #menubtn a{display:flex;}
	.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: 0 0;display: flex;}
	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; }
	#webmenu2 .menu_box ul{
	    display: flex;
	    flex-direction: column;
	    align-content: flex-start;
	    padding: 2px 10px;
	}
	#webmenu2 .menu_box ul li a{
    font-size: 20px;
    font-weight: 400;
}
}
@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: 480px){
	.more_btn { padding: 15px 0; width: 200px; }
	.more_btn span { font-size: 14px; }
	.opennav .lebox{
	    width: 20%;
	}
	.opennav .ribox .flowme{
	    padding: 0px 7px;
	}
	header #menubtn[data-type="2"]{right: 0;top: 0;}
	header #menubtn[data-type="2"] a{
    width: 60px;
    height: 60px;
}
	
}