@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&display=swap');

* { margin: 0; padding: 0; }
*:focus { outline: none; }

body { margin: 0; }
body ::selection { background: var(--primary); 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: 0;border-radius: 0;background: #f2f2f2;box-shadow: none;outline: none;font-size: 16px;color: var(--black);-webkit-appearance: none;-moz-appearance: none;appearance: none;}
select { padding: 15px; width: 100%; }
input#Checknum {margin-right: 15px;width: 170px;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: 'Noto Sans TC', 'Noto Sans SC'; }

/* btn */
.btn , .btn_outline { padding: 2px 10px; }
.more_btn {min-width: 240px;border: 2px var(--secondary) solid;}
.more_btn font {line-height: 60px;color: var(--secondary);font-weight: bold;}
.more_btn span {width: 50px;height: 2px;top: calc((100% - 1px) / 2);right: -25px;}
.more_btn span:before {position: absolute;width: 8px;height: 2px;background: var(--secondary);display: block;right: 0;top: 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,bg_box */
a.photo , .bg_box { 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; }
.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: #fff; z-index: 2; }
.webBox .slick-slider { margin-bottom: 0; }

/* workframe */
.workframe { margin: 0 auto; width: 90%; }

/* header */
header{background-image: url(/images/45/header-bg.png);background-repeat: no-repeat;background-position: 50% 50%;background-size: cover;padding: 10px 0;}
header .workframe{display:flex;justify-content: space-between;align-items: center;width: 85%;}
header #cis {z-index: 900;width: 180px;}
header #menubtn { width: 75px; height: 75px; top: 0; right: 0; z-index: 1000; }
header #menubtn a { margin: auto; width: 25px; height: 20px; }
header #menubtn a span {position: absolute;width: 100%;height: 2px;display: block;top: 0;right: 0;background: var(--info);}
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 {z-index: 999;display: flex;width: 60%;flex-wrap: wrap;justify-content: flex-end;align-items: center;}
header #webmenu nav{margin-right: 30px;}
header #webmenu nav >ul >li{margin: 0 15px;}
header #webmenu nav >ul >li >p a {font-size: 17px;line-height: 100%;font-weight: 500;letter-spacing: 2px;}
header #webmenu nav >ul >li:hover >p a{color: var(--primary);}
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 .contactBox{width: 30%;height: 60px;background-color: var(--primary);display: flex;flex-wrap: nowrap;order: 2;}
header .contactBox svg{width: 30px;fill: var(--white);}
header .contactBox .joinBtn{width: calc(100% - 120px);height: 60px;display: flex;justify-content: center;align-items: center;color: #fff;font-size: 13px;letter-spacing: 0.5px;}
header .contactBox .joinBtn:hover, header .contactBox .snsBox a:hover{background: var(--info);}
header .contactBox .joinBtn span{color:var(--white);margin-left: 10px;}
header .contactBox .snsBox{width: 60px;height: 60px;position: relative;}
header .contactBox .snsBox:before{content:'';width:1px;height:100%;background-color:#fff;position:absolute;top:0;left:0}
header .contactBox .snsBox a{width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;}
header #header_bar { margin: 15px 10px; align-items: center; }
header #header_bar >a { padding: 0 10px; line-height: 100%; }
header #header_bar svg { width: 20px; height: 20px; }

header.scroll{border-bottom: 1px solid #eee;position: fixed;width: 100%;z-index: 999;top: 0;left: 0;padding: 10px 0;}

/* hSearch */
#hSearch { width: 100%; height: 0; top: 50px; z-index: 1000; }
#hSearch[data-type="2"] { height: 142px; }
#hSearch >div { margin: 50px auto; width: 700px; }
#hSearch >div input { margin-right: 15px; width: calc(100% - 89px); background: none; border-bottom: 1px rgba(var(--black-rgb), .3) solid; }
#hSearch >div a { border-radius: 50%; }
#hSearch >div a svg { margin: 10px; width: 22px; height: 22px; }

/* 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 {z-index: 5;background: var(--secondary);}
footer * { font-family: 'Noto Sans TC', 'Noto Sans SC'; font-weight: lighter; font-size: 14px; color: var(--white); }
footer .f_inner {padding: 2.5% 10%;display: flex;justify-content: space-between;flex-wrap: wrap;}
footer .f_inner >div{width: calc(48%/2);}
footer .f_inner #f_logo img{width: 200px;}
footer #f_nav {display: flex;flex-wrap: wrap;}
footer #f_copy {margin-top: 30px;width: 100%;}
footer #f_copy >div , footer #f_copy >div * { font-size: 12px; }
footer #f_info{width:50%;display: flex;flex-wrap: wrap;justify-content: space-between;}
footer #f_info >div{width:50%;}
footer #copyright{font-size: 12px;text-transform: uppercase;opacity: .5;}
footer #copyright a{font-size: 12px;vertical-align: baseline;margin-left: 5px;}

/* webSeo */
#webSeo { padding: 5px 0; white-space: nowrap; box-sizing: border-box; }
#webSeo .seo { padding-left: 100%; font-size: 13px; opacity: .3; }

/* gotop */
#gotop {right: 15px;bottom: 20px;z-index: 99999;}
#gotop a { padding: 10px; }
#gotop span {margin: 0 auto 15px;width: 2px;height: 30px;background: var(--info);}
#gotop span:before {position: absolute;width: 2px;height: 8px;background: var(--info);display: block;top: 0;left: -3px;content: "";}
#gotop font {font-family: 'Noto Sans TC', 'Noto Sans SC';letter-spacing: -0.05em;font-weight: 500;-ms-writing-mode: tb-rl -webkit-writing-mode: vertical-rl;writing-mode: vertical-rl;text-orientation: upright;color: var(--info);}

/* footer_btn */
#footer_btn {right: 0;bottom: 90px;z-index: 999;}
#footer_btn a { margin: 15px 20px; }
#footer_btn a.line, #footer_btn a.phone{display:none;}
#footer_btn a.line{background: #1d9d1e;margin: 10px;width: 45px;height: 45px;border-radius: 50px;}
#footer_btn a.phone{background: var(--info);margin: 10px;width: 45px;height: 45px;border-radius: 50px;}
#footer_btn a svg {width: 25px;height: 25px;fill: var(--white) !important;}

@media screen and (min-width: 1441px){
	.workframe { width: var(--width-xxl); }
}
@media screen and (min-width: 1281px){
	.writing { -ms-writing-mode: tb-rl -webkit-writing-mode: vertical-rl; writing-mode: vertical-rl; }
	.more_btn:hover span { right: -35px; }
	footer #extra ul li:hover img { display: block; }
}
@media screen and (max-width: 1680px){
	header .workframe{width:95%}
}
@media screen and (max-width: 1440px){
	header #webmenu{width: 70%;}
	footer .f_inner{padding: 2.5%;}
}
@media screen and (max-width: 1280px){
	header #webmenu nav >ul >li{margin: 25px 15px;}
	header #cis{width: 150px;}
	header #webmenu {position: fixed;padding: 15px 0;width: 350px;height: 100vh;background: var(--gray);box-shadow: 0 10px 10px rgba(var(--black-rgb), .5);top: 0;right: calc(-1 * var(--width-xs));display: block;}
	header .contactBox{display:none;}
	header #webmenu nav {overflow-y: scroll;margin-top: 45px;padding: 0 15px;height: calc(100% - 65px);margin-right: 0;}
	header #webmenu nav::-webkit-scrollbar { width: 0; }
	header #webmenu nav >ul { padding-bottom: 10vh; }
	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-bottom: 10px; margin-left: 1.3em; }
	header #webmenu li .menu_body .subOption .bo { position: relative; }
	header #webmenu li .menu_body .subOption a { padding: 5px 45px 5px 0; color: var(--triadic2); }
	header #webmenu li .menu_body .sub2Option a { padding: 0 45px 0 0; font-weight: 300; color: var(--triadic1); }
	header #webmenu li .menu_body .sub3Option a { padding-right: 5px; color: var(--primary); }
	footer #f_logo{width:100%;margin-bottom: 20px;}
	footer #f_info{width:60%;}
	footer #f_nav{width: 35%;}
}
@media screen and (max-width: 768px){
	footer #f_info{width:100%;}
	footer #f_nav {margin-top: 30px;width: 100%;}
	footer #f_nav a{width:auto;margin-right: 25px;}
	footer #copyright{width:100%;margin-top: 10px;}
}
@media screen and (max-width: 550px){
	#gotop font{display:none;}
	footer .f_inner{padding: 30px;}
	#footer_btn a.line, #footer_btn a.phone{display: flex;justify-content: center;align-items: center;}
	footer #f_nav a { margin-right: 15px; }
	footer #f_info {margin-top: 10px;display: block;}
	footer #f_info >div{width:100%;}
}