@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; background: var(--secondary); }
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:  var(--info); }

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; }

/* 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 { overflow: hidden; position: relative; width: 100%; }
.webBox .pageh1 { position: absolute; top: 0; z-index: 1; }
.webBox .wrapper { position: relative; background: var(--secondary); z-index: 2; }
.webBox .slick-slider { margin-bottom: 0; }
.webBox .wrapper_lines { width: 100vw; height: 100vh; top: 0; left: 0; z-index: 1; }
.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: 45px; 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(--white-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; }
header #cis { z-index: 5; }
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(--white); 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 a { margin: 20px auto; width: 20px; height: 20px; }
header #webmenu .top_btn 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: 18px; }
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; }

header.scroll { background: var(--secondary); box-shadow: 0 0 10px rgba(var(--black-rgb), 50%); }

/* 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 { padding: 30px 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 { width: calc(100% - 430px); }
#other_area #picture_list img { margin: 15px; }

/* footer */
footer { padding-top: 30px; z-index: 5; }
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_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; }

/* webSeo */
#webSeo { padding: 10px 0; white-space: nowrap; box-sizing: border-box; }
#webSeo .seo { padding-left: 100%; font-family: var(--font-family), sans-serif; font-weight: 100; font-size: 13px; color: var(--info); }

/* 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: ""; }

@-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-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 >div { margin: auto 0 5vh 0; width: 5vw; }
	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: 25px 5px; }
	header #webmenu nav >ul >li:hover >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; }
	header.scroll #webmenu nav >ul >li >p a { padding: 15px 5px; }
	header.scroll #webmenu .top_btn { height: 100vh; }
	footer #extra ul li:hover img { display: block; }
}
@media screen and (max-width: 1280px){
	header { background: var(--secondary); }
	header #cis { padding: 10px 5%; }
	header #cis img { height: 50px; }
	header #webmenu { padding: 15px 0; width: 350px; height: calc(100vh - 100px); background: var(--secondary); box-shadow: 0 10px 10px rgba(var(--black-rgb), .5); right: calc(-1 * var(--width-xs)); z-index: 999; }
	header #webmenu .top_btn { margin: 0 20px; }
	header #webmenu .top_btn a { margin: 0 5px; }
	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); }
	
	header.scroll #menubtn { height: 60px; }
	header.scroll #cis { padding: 5px 5%; }
	header.scroll #webmenu { height: calc(100vh - 90px); }
}
@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: 640px){
	#picture_box .workframe { width: 100%; }
}
@media screen and (max-width: 550px){
	header #webmenu , #other_area #youtube_box { 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 #custom_box { margin: 30px auto; width: 100%; }
	#other_area #custom_box >ul { padding: 7vw; }
}