@import url('/css/fontawesome-all.css');
@import url('/css/font-awesome.min.css');
@import url('/css/fontawesome.min.css');
@import url('/css/all.min.css');
@import url('/css/SeoJump.css');
@import url('/css/contentBuilder.css');
@import url('root.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');

/* main.less */

.webBox * , .webBox :before , .webBox :after { transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; }

* { 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); }
body {
    background: linear-gradient(180deg, #962157, #842c6c 35%, #2567d8);
    color: #fff;
    font-family: var(--font-family);
    font-size: var(--font-family-size--px);
    font-size: var(--font-family-size--rem);
    font-synthesis: none;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

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; z-index: 2; }
.webBox .slick-slider { margin-bottom: 0; }

/* workframe */
.workframe { margin: 0 auto; width: 90%; }


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); transition-timing-function: cubic-bezier(1.000, 0.670, 0.435, 1.090); }
#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 { z-index: 5; }
footer * { font-family: 'Noto Sans TC', 'Noto Sans SC'; font-weight: 400; font-size: 14px; color:#fff; }
footer .f_inner { padding: 4% 5% 20px; text-align: left; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: center; justify-content: center; }
footer #f_nav { -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }
footer #f_copy { margin-top: 30px; }
footer #f_copy>div, footer #f_copy>div * { font-size: 12px; }
footer #f_info { display: flex; flex-wrap: wrap; }
footer #f_info p { display: flex; width: 50%; }

/* webSeo */
#webSeo{
  padding: 5px 0;
  background: #ffffff47;
  overflow: hidden;      /* 很重要 */
  white-space: nowrap;
}

#webSeo .seo{
  display: inline-block; /* 很重要 */
  font-size: 13px;
  opacity: .3;
  color: #000;
  transform: translateX(100%);
  animation: marquee 40s linear infinite;
}

@keyframes marquee{
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}


/* gotop */
#gotop { right: 10px; bottom: 20px; z-index: 99999; }
#gotop a { padding: 10px; }
#gotop span { margin: 0 auto 15px; width: 2px; height: 30px; background: var(--secondary); }
#gotop span:before { position: absolute; width: 2px; height: 8px; background: var(--secondary); display: block; top: 0; left: -3px; content: ""; transform: rotate(45deg); -webkit-transform: rotate(45deg); }
#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; }
.webBox #gotop[data-type="2"] span, .webBox #gotop[data-type="2"] span:before { background: #14151f; }
.webBox #gotop[data-type="2"] font { color: #14151f; }

/* footer_btn */
#footer_btn { right: 0; bottom: 140px; z-index: 999; }
#footer_btn svg { fill: #333; }
#footer_btn a { margin: 11px 14px; }
#footer_btn a.line { background: white; padding: 5px 7px; border-radius: 50%; }
#footer_btn a.phone { background: white; padding: 5px 7px; border-radius: 50%; }
#footer_btn a svg { width: 25px; height: 25px; }
#footer_btn[data-type="2"] svg { fill: #fff; }
#footer_btn[data-type="2"] a.line { background: #8BC34A; }
#footer_btn[data-type="2"] a.phone { background: #2782ca; }

@media screen and (min-width: 1441px) {
	.workframe { width: var(--width-xxl); }
}
@media screen and (min-width:1281px) {
	.webBox .img_scale:hover img { transform: scale(1.1); -webkit-transform: scale(1.1); }
	.writing { -ms-writing-mode: tb-rl -webkit-writing-mode:horizontal-tb; writing-mode: horizontal-tb; }
	.more_btn:hover span { right: -35px; }
	header.scroll #webmenu { position: fixed; top: 0px; padding: 22px 0; background: white; width: 96%; left: unset; padding: 0 2%; }
	header #webmenu nav ul li { position: relative; vertical-align: top; }
	header #webmenu nav ul li.writing_straight { -ms-writing-mode: tb-rl -webkit-writing-mode:horizontal-tb; writing-mode: horizontal-tb; }
	header.scroll #webmenu nav ul li.writing_straight { -ms-writing-mode: horizontal-tb; -webkit-writing-mode: horizontal-tb; writing-mode: horizontal-tb; }
	header #webmenu nav ul li b { display: none; }
	header #webmenu nav ul li .bo { position: relative; background: var(--white); z-index: 1; }
	header #webmenu nav>ul>li>p a { padding: 0 6px 0px; }
	header.scroll #webmenu nav>ul>li>p a { padding: 0 6px 0px; }
	header #webmenu nav>ul>li:hover>p a { color: var(--primary); }
	header #header_bar { margin: 15px 0; justify-content: flex-end; }
	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 (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) {
	#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; }
}