@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&display=swap');

* { margin: 0; padding: 0; }
*:focus { outline: none; }

body {margin: 0;}
body ::selection { background: rgba(var(--black-rgb), .1); text-shadow: none; color: var(--info); }
body::-webkit-scrollbar { width: 5px; }
body::-webkit-scrollbar-track { background: rgba(var(--info-rgb), .3); }
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: #505050;}

ul , ol { list-style: none; }

fieldset { border: 0; }

input , button , select , textarea { padding: 5px 15px; width: calc(100% - 30px); border: 0; border-bottom: 1px var(--primary) solid; background: none; box-shadow: none; outline: none; font-size: 16px; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
select { padding: 10px 15px; width: 100%; color: var(--info); }

/* 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; }
.phoneWrap{display:none;}

/* btn */
.btn , .btn_outline { padding: 2px 10px; background-color: transparent; border: 1px solid transparent; border-radius: 2px; text-align: center; color: var(--info); }

/* 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 { width: 100%; }
.webBox .pageh1 { top: 0; z-index: 1; }
.webBox .wrapper {z-index: 2;}
.webBox .slick-slider { margin-bottom: 0; }
.webBox .wrapper_lines {width: 100vw;height: 100vh;top: 0;left: 0;z-index: 1;display: none;}
.webBox .wrapper_lines .center_box { height: 100vh; border: rgba(var(--info-rgb), .1) solid; border-width: 0 1px; }

/* .slick-dots */
.webBox .slick-dots {position: relative;margin-top: 25px;bottom: 0;}
.webBox .slick-dots li { width: 10px; height: 10px; display: inline-flex; }
.webBox .slick-dots li:before {margin: auto;display: block;border: 1px rgba(var(--black-rgb), .2) solid;content: "";}
.webBox .slick-dots li.slick-active:before { border-color: var(--primary); }

/* workframe */
.workframe { margin: 0 auto; width: 90%; }

/* header */
header {z-index: 999;top: 0;background: var(--white);padding: 10px 0;border-bottom: 1px solid #ddd;}
header #cis { z-index: 5; }
header #cis img{width: 230px;}
header #menubtn { width: 70px; height: 70px; top: 0; right: 0; }
header #menubtn a { margin: auto; width: 30px; height: 25px; }
header #menubtn a span {position: absolute;width: 100%;height: 2px;background: var(--black);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 .top_btn .btns a { margin: 20px auto; width: 20px; height: 20px; }
header #webmenu .top_btn .btns a svg { width: 100%; height: 100%; }
header #webmenu nav >ul >li { margin-left: 15px; }
header #webmenu nav >ul >li >p a {padding: 10px 5px;font-size: 17px;color: var(--black);}
header #webmenu nav ul li b { position: absolute; width: 23px; display: inline-block; text-align: center; top: calc((100% - 27px) / 2); right: 0; }
header #webmenu nav >ul >li .subOption li >div a { padding: 2px 45px 2px 10px; display: block; }

/* lange_box */
#lange_box a { margin: 0 0 1px; padding: 2px 0; width: auto; height: auto; font-weight: 400; font-size: 14px; }

/* top_search */
#top_search { width: 100%; height: 100%; background: rgba(var(--secondary-rgb), .6); z-index: 999; }
#top_search form { margin: auto; padding: 60px 50px; width: 500px; box-shadow: 0 0 10px rgba(var(--black-rgb), .2); }
#top_search #close_search { padding: 10px 15px 15px; border-left: 1px var(--info) solid; top: 0; right: 0; }
#top_search #close_search font { margin: 5px auto; width: 30px; height: 30px; }
#top_search #close_search font:before , #top_search #close_search font:after { position: absolute; width: 100%; height: 1px; background: var(--info); display: block; content: ""; top: calc((100% - 1px) / 2); left: 0; }
#top_search #close_search font:after { width: 1px; height: 100%; top: 0; left:  calc((100% - 1px) / 2); }
#top_search #close_search span { font-family: 'Frank Ruhl Libre', serif; }
#top_search h3 { margin-bottom: 40px; font-weight: 300; font-size: 28px; }
#top_search p >input { padding: 5px 45px 5px 15px; width: calc(100% - 60px); background: none; border: 0; }
#top_search p >a { top: 4px; right: 10px; }
#top_search p >a svg { width: 25px; height: 25px; }

/* menubg */
#menubg { width: 100vw; height: 100vh; top: 0; left: 0; }
#menubg[data-type="1"] { background: rgba(var(--secondary-rgb), 0); z-index: -998; }
#menubg[data-type="2"] { background: rgba(var(--secondary-rgb), .5); z-index: 998; }

/* other_area */
#other_area { z-index: 5; }
#other_area .bg_fix { background: no-repeat 50% / cover; background-attachment: fixed; }
#other_area .bg_fix:before { position: absolute; width: 100%; height: 100%; background: var(--secondary); display: block; top: 0; left: 0; opacity: .8; content: ""; }
#other_area #youtube_box { padding: 5vw 0 0; width: calc(100% - 430px); }
#other_area #playYoutu { background: rgba(var(--primary-rgb), .6); display: block; text-align: center; line-height: 97px; }
#other_area #playYoutu i { font-size: 37px; color: var(--white); }
#other_area #custom_box { margin: 30px 0 0 30px; width: 400px; bottom: -60px; }
#other_area #custom_box >ul { margin: 20px 50px; }
#other_area #custom_box >ul h3 { margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px rgba(var(--white-rgb), .2) solid; letter-spacing: 5px; font-weight: 400; font-size: 22px; }
#other_area #custom_box >ul article { letter-spacing: 2px; line-height: 210%; font-weight: 100; font-size: 15px; }
#other_area #picture_list a{margin:0 10px;}

/* footer */
footer {padding-top: 50px;z-index: 5;background: #242424;}
footer * { font-weight: 300; font-size: 14px; }
footer .tit { margin-bottom: 10px; font-family: 'Frank Ruhl Libre', serif; font-weight: 500; font-size: 23px; }
footer #f_info{width: calc(100% - 30px);}
footer #flogo{text-align: center;margin-bottom: 25px;}
footer #f_nav{display:flex;flex-wrap: wrap;justify-content: center;}
footer #f_nav a{width:auto;}
footer #f_nav a { margin: 5px 10px; }
footer #f_contact p { margin-bottom: 10px; }
footer #f_contact p font { line-height: 140%; }
footer #f_other { margin-top: 30px; padding: 30px 0; border: rgba(var(--info-rgb), .1) solid; border-width: 1px 0; }
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(--primary); }
footer #extra ul li img { position: absolute; max-width: 150px; top: 100%; left: 15px; z-index: 8; max-height: 150px; display: none; }
footer #copyright{text-align: center;font-size: 12px;text-transform: uppercase;}

/* webSeo */
#webSeo { padding: 10px 0; }
#webSeo .js-marquee-wrapper * , #webSeo .js-marquee * , #webSeo .seo * { font-family: var(--font-family), sans-serif; font-weight: 100; font-size: 13px; color: var(--info); -webkit-transition: none; -moz-transition: none; -ms-transition: none; -o-transition: none; transition: none; }

/* gotop */
#gotop { right: 20px; bottom: 20px; z-index: 2000; }
#gotop a { border: 1px var(--primary) solid; }
#gotop a:before { position: absolute; width: 30%; height: 30%; border: solid var(--primary); border-width: 1px 0 0 1px; display: block; top: calc((100% - 7px) / 2); left: calc((100% - 15px) / 2); content: ""; }

@media screen and (min-width: 1441px){
	.workframe { width: var(--width-xl); }
}
@media screen and (min-width: 1281px){
	.webBox .slick-dots li:hover:before { border-color: var(--primary); }
	header #webmenu .top_btn { height: 100vh; background: var(--secondary); top: 0; left: 0; }
	header #webmenu .top_btn .btns { margin: auto 0 0; padding-bottom: 5vh; width: 5vw; }
	header #webmenu #lange_box { width: 100%; bottom: 5vh; }
	header #webmenu #lange_box[data-type="1"] { left: 0; z-index: -1; opacity: 0; }
	header #webmenu #lange_box[data-type="2"] { left: 100%; z-index: 1; opacity: 1; }
	header #webmenu nav ul li b { display: none; }
	header #webmenu nav ul li { position: relative; }
	header #webmenu nav ul li:hover { overflow: visible; }
	header #webmenu nav >ul >li >p a {padding: 10px 5px;}
	header #webmenu nav >ul >li:last-child >p a{background: var(--primary);color: var(--white);padding: 10px 15px;}
	header #webmenu nav >ul >li:hover:not(:last-child) >p a { color: var(--primary); }
	header #webmenu li .menu_body , header #webmenu li .menu_body .subOption li ul { width: 170px; left: calc(50% - 85px); z-index: 1; opacity: 0; }
	header #webmenu li .menu_body ul { background: rgba(var(--black-rgb), .85); }
	header #webmenu li .menu_body .subOption li ul { position: absolute; top: 0; left: -170px; }
	header #webmenu li .menu_body .subOption li >div a { padding: 5px 15px; }
	header #webmenu li .menu_body .subOption li >div a:hover { color: var(--primary) }
	header #webmenu li:hover .menu_body , header #webmenu li .menu_body .subOption li:hover >ul { z-index: 10; opacity: 1; }
	footer #extra ul li:hover img { display: block; }
}
@media screen and (max-width: 1280px){
	header #webmenu {padding: 15px 0;width: 350px;height: calc(100vh - 100px);background: var(--primary);box-shadow: 0 10px 10px rgba(var(--black-rgb), .5);right: calc(-1 * var(--width-xs));z-index: 999;top: 71px;}
	header #webmenu nav >ul >li >p a{color:#fff;}
	header #webmenu nav >ul >li:last-child >p a{background: var(--secondary);padding: 10px 15px;}
	header #webmenu .top_btn { margin: 0 20px; }
	header #webmenu .top_btn .btns a { margin: 0 5px; }
	header #webmenu #lange_box { overflow: hidden; width: 55px; top: 46px; left: 108px; }
	header #webmenu #lange_box[data-type="1"] { height: 0; }
	header #webmenu #lange_box[data-type="2"] { height: 84px; }
	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: 20vh; }
	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 .sub2Option a { font-weight: 300; color: var(--primary); }
	header #webmenu li .menu_body .sub3Option a { color: var(--complement); }
}
@media screen and (max-width: 1024px){
	footer #f_contact { margin-top: 15px; }
}
@media screen and (max-width: 768px){
	#other_area #custom_box { bottom: 0; }
	#other_area #picture_list { width: 100%; }
}
@media screen and (max-width: 760px){
	footer #extra { margin-top: 10px; }
	.webBox .wrapper_lines .center_box >div { border-width: 0 0 0 1px; }
}
@media screen and (max-width: 550px){
	header #webmenu { width: 100%; }
	#top_search form { padding: 10vw 5vw; width: 80vw; }
	#top_search #close_search { padding: 10px 15px; border: 0; }
	footer #f_contact p font:first-child { margin-right: 10px; }
	#other_area #youtube_box { display: none; }
	#other_area #custom_box { margin: 30px auto; }
	header #cis{margin-left:10px;}
	.phoneWrap{position:fixed;display: flex;bottom:0;z-index: 99;width: 100%;}
	.phoneWrap a{background: var(--secondary);display: block;padding: 7px 0;text-align: center;color: var(--white);width: 50%;}
	.phoneWrap a:last-child{background: var(--triadic1);}
	#gotop{bottom: 60px;}
}