@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=Quicksand:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@300;400;500;600;700&family=Kanit:wght@100;200;300;400;500;600;700;800;900&family=Lato:wght@100;300;400;700;900&family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Oswald:wght@200;300;400;500;600;700&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: 10px 15px;width: calc(100% - 32px);border: 1px rgba(var(--black-rgb), .15) solid;border-radius: 0;background: none;box-shadow: none;outline: none;font-size: 16px;color: var(--gray);-webkit-appearance: none;-moz-appearance: none;appearance: none;}
select { padding: 10px 15px; width: 100%; }
input#Checknum {margin-right: 15px;width: 170px;max-width: calc(100% - 97px);}
input::-webkit-input-placeholder , textarea::-webkit-input-placeholder { font-weight: 400; color: rgba(var(--black-rgb), .6); }
input::-moz-placeholder , textarea::-moz-placeholder { font-weight: 400; color: rgba(var(--black-rgb), .6); }
input:-ms-input-placeholder , textarea:-ms-input-placeholder { font-weight: 400; color: rgba(var(--black-rgb), .6); }
input:-moz-placeholder , textarea:-moz-placeholder { font-weight: 400; color: rgba(var(--black-rgb), .6); }

/* 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: 'Quicksand', sans-serif; }

/* btn */
.btn , .btn_outline { padding: 2px 10px; }
.more_btn {padding: 15px 45px;text-transform: capitalize;border-radius: 50px;font-size: 15px;}
.more_btn:before { position: absolute; width: 100%; height: 100%; background: var(--white); top: 0; left: 0; opacity: .3; z-index: 9; content: ""; -webkit-transition: -webkit-transform .6s; transition: -webkit-transform .6s; transition: transform .6s; transition: transform .6s, -webkit-transform .6s; -webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,180deg) translate3d(0,100%,0); transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,180deg) translate3d(0,100%,0); }

/* 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 { -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }

/* 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 {z-index: 999;background: var(--white);box-shadow: 0 0 10px 0 rgb(0 0 0 / 15%);top: 0;}
header .item {padding: 5px 2%;}
header .top_btn { width: 96%; top: 0; left: 0; }
header .top_btn svg { margin: 10px; width: 19px; height: 19px; }
header #cis {width: 200px;}
header #webmenu{width: 65%;}
header #webmenu ul{text-align: end;}
header #menubtn {height: 70px;top: 0;right: 0;z-index: 1000;width: 60px;}
header #menubtn a { margin: auto 0 auto auto; width: 30px; height: 25px; }
header #menubtn a span {position: absolute;width: 100%;height: 2px;background: var(--info);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) { top: calc(100% - 1px); }
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: 17px;}
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; }

/* search_box */
#search_box {width: 10%;}
#search_box a{width: 45px;height: 45px;background: var(--primary);display: inline-flex;align-items: center;justify-content: center;border-radius: 50px;margin-left: 5px;}
#search_box svg { width: 18px; height: 18px; }
#search_box form { width: 240px; box-shadow: 0 0 10px rgba(var(--black-rgb), .3); right: 0; bottom: -55px; opacity: 0; }
#search_box[data-type="2"] form { opacity: 1; }
#search_box form input { width: calc(100% - 65px); border: 0; }

/* 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: 160px 0 40px;background-image: url(/images/40/footer-bg.jpg);background-repeat: no-repeat;background-position: 70% 0;background-size: cover;}
footer * {font-weight: 300;font-size: 14px;color: var(--white);}
footer #flogo img{width: 220px;}
footer .tit { margin-bottom: 10px; font-family: 'Frank Ruhl Libre', serif; font-weight: 500; font-size: 23px; }
footer #f_info {margin: 40px 0 0;}
footer #f_contact p {margin-bottom: 10px;display: inline-flex;align-items: center;}
footer #f_contact p font { line-height: 140%; }
footer #f_contact p font:first-child{margin-right: 10px;}
footer #f_nav a {margin: 0 15px 20px;font-weight: 100;font-size: 15px;color: var(--white);line-height: 100%;}
footer #f_other { margin-top: 15px; }
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 { display: block; line-height: 140%; }
footer #extra ul li font:first-child { color: var(--white); }
footer #extra ul li img { position: absolute; max-width: 150px; top: 100%; left: 15px; z-index: 8; max-height: 150px; display: none; }
footer #copyright{font-size: 13px;opacity: .5;font-weight: 100;width: calc(100% - 30px);}
footer #copyright a{font-size: 13px;vertical-align: baseline;margin-left: 5px;font-weight: 100;}
footer #f_nav{vertical-align: top;}

/* webSeo */
#webSeo { padding: 10px 0; white-space: nowrap; box-sizing: border-box; }
#webSeo .seo { padding-left: 100%; font-weight: 100; font-size: 13px; color: var(--info); }

/* footer_btn */
#footer_btn { right: 15px; bottom: 15px; z-index: 2000; }
#footer_btn a { margin-top: 10px; background: #12b508; line-height: 40px; }
#footer_btn a svg {width: 40%;height: 40%;}
#footer_btn a.phone {background: #d00c0c;}
#footer_btn a.gotop {background: var(--primary);}

@-webkit-keyframes marquee { 0% { -webkit-transform: translate(0, 0); } 100% { -webkit-transform: translate(-100%, 0); } }
@keyframes marquee { 0% { transform: translate(0, 0); } 100% { transform: translate(-100%, 0); } }

@media screen and (min-width: 1441px){
	.workframe { width: var(--width-xxl); }
	header .item {padding: 10px 5%;}
	header .top_btn { width: 90%; }
    header #webmenu nav >ul >li { margin-left: 15px; }
}
@media screen and (min-width: 1281px){
	.more_btn:hover:before { -webkit-transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,180deg) translate3d(0,-100%,0); transform: scale3d(1.9,1.4,1) rotate3d(0,0,1,180deg) translate3d(0,-100%,0); }
	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 10px; }
	header #webmenu nav >ul >li:hover >p a{color:var(--primary)}
	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; }
	header.scroll .top_btn { top: -55px; opacity: 0; }
	header.scroll #webmenu nav >ul >li >p a { padding: 15px 10px; }
	footer #extra ul li:hover img { display: block; }
}
@media screen and (max-width: 1680px){
	#search_box{width: 13%;}
}
@media screen and (max-width: 1280px){
	#search_box{width: 20%;}
	header #cis{width: 75%;}
	header #cis img{width:200px;}
	header #webmenu {padding: 15px 0;width: 350px;height: 100vh;background: var(--secondary);box-shadow: 0 10px 10px rgba(var(--black-rgb), .5);right: calc(-1 * var(--width-xs));z-index: 999;top: 80px;}
	header #webmenu .top_btn a { margin: 0 5px; }
	header #webmenu nav {overflow-y: scroll;margin-top: 15px;padding: 0 20px;height: calc(100% - 65px);}
	header #webmenu nav::-webkit-scrollbar { width: 0; }
	header #webmenu nav >ul { padding-bottom: 200px; }
	header #webmenu nav >ul >li >p a { color: var(--white); }
	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: rgba(var(--white-rgb), .5); }
	header #webmenu li .menu_body .sub3Option a { color: rgba(var(--triadic1-rgb), .8); }
}
@media screen and (max-width: 1024px){
	header #cis{width: 70%;}
}
@media screen and (max-width: 768px){
	header #cis{width: 60%;}
	#search_box{width: 25%;}
	footer #f_contact p{display:flex;width: calc(50% - 30px);}
	footer #f_nav{margin-top: 30px;}
}
@media screen and (max-width: 640px){
	footer #f_contact p{width: calc(100% - 30px);}
	header #cis img{width: 170px;}
	header #cis{width: 80%;}
	#search_box{display: none;}
	header .item {padding: 5px 5%;}
	header .top_btn { width: 90%; }
	header #webmenu {width: 100%;}
	#search_box form { right: 2%; bottom: -35px; }
	footer .workframe { width: 95%; }
	footer #f_contact p font:first-child { margin-right: 10px; }
	#footer_btn a { margin: 0 10px; line-height: 35px; }
	#footer_btn a.gotop { right: 0; bottom: 0; }
	#footer_btn a.line {right: 15px;bottom: 65px;position: fixed;}
	#footer_btn a.phone {right: 15px;bottom: 115px;position: fixed;}
}