@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=Heebo:wght@100..900&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Serif+TC:wght@200..900&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&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: 5px 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: 70px; 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; }
#category_nav{background-color:#f4efeb;}

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: 20px 135px 20px 85px;text-transform: capitalize;display: inline-flex;align-items: center;font-size: 15px;font-family: "Lato", sans-serif;}
.more_btn:after {position: absolute;width: 20px;height: 1px;background: var(--white);right: 0;z-index: 9;content: "";}
.more_btn:hover:after{width:30px;}






/* 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);}
header .item {padding: 0 0 0 2%;display: flex;align-items: center;justify-content: space-between;}
header .top_btn {width: auto;padding: 0;}
header .top_btn a{background: #f6f0ec;margin: 0 6px;border-radius: 50px;}
header .top_btn a:hover{background:var(--primary)}
header .top_btn a:hover svg{fill:#fff;}
header .top_btn svg {margin: 23px;width: 19px;height: 19px;fill: var(--primary);}
header #cis {z-index: 5;width: auto;}
header #menubtn {height: 73px;top: 0;right: 0;z-index: 1000;background: var(--primary);position: absolute;}
header #menubtn a {width: 30px;height: 25px;}
header #menubtn a span {position: absolute;width: 100%;height: 1px;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 {display: flex;align-items: center;justify-content: flex-end;}
header #webmenu nav >ul >li >p{padding: 10px 5px;font-size: 17px;color: var(--primary);}
header #webmenu nav >ul >li >p a {padding: 10px 5px;font-size: 17px;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 b i{color:#fff;font-size: 11px;}
header #webmenu nav >ul >li .subOption li >div a {padding: 9px 10px;display: block;text-align: center;}
header #webmenu nav >ul >li .subOption li .sub2Title >p >a{pointer-events: none;}
header #webmenu .cobtn {margin-left:30px;}
header #webmenu .cobtn a{background: var(--primary);color: var(--white);display: flex;align-items: center;padding: 40px 55px;}
header #webmenu .cobtn a:hover{opacity:.8}
header #webmenu .cobtn a img{margin-right:10px;}
header.scroll { background: var(--white); box-shadow: 0 0 20px rgba(var(--black-rgb), .3); }
header.scroll .item.menu { padding-top: 0; border-bottom: 0; }

/* 第一層子選單 */
.menu_body {
  display: none;
  position: absolute;
  top: 100%; /* 從主選單往下 */
  left: -65px;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 1000;
}

li.pos_rel:hover > .menu_body {
  display: block;
}



/* search_box */
#openform { background: var(--secondary); line-height: 45px; }
#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: 3vw 0;z-index: 5;background-image: url(/images/40/caseBg.jpg);background-repeat: no-repeat;background-position: 50% 50%;background-size: cover;}
footer .workframe{width: min(90%, 1200px);}
footer * {font-weight: 300;font-size: 14px;color: var(--white);}
footer .tit { margin-bottom: 10px; font-family: 'Frank Ruhl Libre', serif; font-weight: 500; font-size: 23px; }
footer #f_info {margin: 30px 0 0;padding-top: 30px;border-top: 1px rgba(var(--white-rgb), .3) solid;}
footer #f_info .workframe {display:grid;grid-template-columns: repeat(4, 1fr);gap:50px;}
footer #f_info .workframe >div{width:auto;position: relative;}
footer #f_contact{}
footer #f_contact p {margin-bottom: 10px;width: calc(100% - 30px);display: flex;align-items: center;}
footer #f_contact p svg{width:20px;height:20px;fill:#c1b0a0;margin-right: 9px;}
footer #f_contact p font { line-height: 140%; }
footer #d_contact{}
footer #d_contact p {margin-bottom: 10px;width: calc(100% - 30px);display: flex;align-items: center;}
footer #d_contact p svg{width:20px;height:20px;fill:#c1b0a0;margin-right: 9px;}
footer #d_contact p font { line-height: 140%; }
footer #d_contact p {margin-bottom: 10px;width: 290px;display: flex;align-items: center;}
footer #f_nav:before{content:'LINKS';position: absolute;top: -65px;left: 15px;font-size: 20px;font-family: "Lato", sans-serif;font-weight: 500;}
footer #f_nav a {margin: 5px 15px;font-weight: 100;font-size: 15px;color: var(--white);width: calc(50% - 30px);}
footer #f_other:before{content:'FOLLOW';position: absolute;top: -65px;left: 15px;font-size: 20px;font-family: "Lato", sans-serif;font-weight: 500;}
footer #f_other {display: flex;flex-direction: column;align-items: flex-start;}
footer #f_other a.line{display: inline-flex;align-items: center;background: #227844;padding: 8px 40px;margin-bottom: 10px;}
footer #f_other svg{width: 22px;height: 22px;margin-right: 10px;fill: #fff;}
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; }

/* 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); }

/* follow_box */
#follow_box{bottom: 15vh;left:0;z-index: 800;display: inline-flex;flex-direction: column;}
#follow_box a{display:inline-flex;flex-direction: column;align-items: center;justify-content: center;background: var(--secondary);width: 85px;aspect-ratio: 3 / 3;margin: 1px 0;}
#follow_box a b{font-family: "Lato", sans-serif;color: #fff;font-size: 13px;line-height: 1;}
#follow_box a svg{width:22px;height: 22px;margin-bottom: 8px;fill: #fff;}

/* 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: 60%; height: 60%; }
#footer_btn a.phone { background: var(--complement); }
#footer_btn a.gotop {background: var(--info);}

/* 遮罩背景 */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0; 
  top: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0,0,0,0.6);
  justify-content: center; 
  align-items: center;
}

/* 彈出框內容 */
.modal-content {
  background: #d6b194;
  padding: 20px;
  border-radius: 10px;
  max-width: 487px;
  width: 90%;
  position: relative;
  text-align: center;
}

/* 關閉按鈕 */
.close {
  position: absolute;
  top: -9px;
  right: 1px;
  font-size: 25px;
  cursor: pointer;
}

/* QR code 排版 */
.qrcode-box {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}
.qrcode-box .item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  gap: 16px;
  background-color: #8f7567;
  border-radius: 29px;
}
.qrcode-box img {
  max-width: 100%;
  border-radius: 10px;
}
.qrcode-box .item h3 {text-align:center;font-size:30px}
.qrcode-box .item:hover{background-color:#DDD1CC;}
#lineModal a{width:100%;background-color:#FFF;border-radius:15px;}
#lineModal .linetxt p{text-align:center;color:#65544b;padding-top:10px;}



@-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: 1560px){
.modal-content{margin-top: 100px;}
}

@media screen and (min-width: 1441px){
	.workframe { width: var(--width-xxl); }
    header #webmenu nav >ul >li { margin-left: 15px; }
	.modal-content{margin-top: 100px;}
}
@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 15px;position: relative;}
	header #webmenu nav >ul >li:hover >p a{opacity:.8}
	header #webmenu nav >ul >li >p a:after{content:'/';position: absolute;right: -10px;font-family: "Kanit", sans-serif;font-weight: 300;font-size: 15px;}
	header #webmenu nav >ul >li:last-child >p a:after{display:none;}
	header #webmenu li .menu_body , header #webmenu li .subOption ul {position: absolute;width: 130px;right: calc(50% - 65px);z-index: -1;opacity: 0;display: none;}
	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 {background: var(--secondary);color: var(--white);}
	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;display: block;}
	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: 1440px){
	header #webmenu nav >ul >li >p a:after{right: -3px;}
	.modal-content{margin-top: 150px;}
	.qrcode-box{display:flex;}
	.qrcode-box img {max-width: 90%;border-radius: 10px;}
	.qrcode-box .item{display:flex; justify-content: center;align-items: center;padding: 23px;}
.qrcode-box .item h3 {text-align:center;font-size:30px}
.qrcode-box .item:hover{background-color:#DDD1CC;}
#lineModal a{width: 90%;background-color:#FFF;border-radius:15px;}
#lineModal .linetxt p{text-align:center;color:#65544b;padding-top:10px;}
}
@media screen and (max-width: 1280px){
	header #menubtn{display: flex;align-items: center;justify-content: center;    width: 73px;}
	header .item, header.scroll .item.menu{padding: 5px 2.5%;display: block;}
	header #cis{width: 100%;}
	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: 73px;display: flex;flex-direction: column;align-items: center;}
	header #webmenu .top_btn a { margin: 0 5px; }
	header #webmenu nav {overflow-y: scroll;margin-top: 15px;padding: 0 10px;height: calc(100% - 65px);width: 75%;}
	header #webmenu .cobtn{display:none;}
	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(--white);text-align: left;font-weight: 200;}
	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); }
	.qrcode-box img {max-width: 100%;border-radius: 10px;}
.qrcode-box .item h3 {text-align:center;font-size:30px}
.qrcode-box .item:hover{background-color:#DDD1CC;}
#lineModal a{width:100%;background-color:#FFF;border-radius:15px;}
#lineModal .linetxt p{text-align:center;color:#65544b;padding-top:10px;}
}
@media screen and (max-width: 768px){
	footer{padding:8vw 0;}
	#follow_box a{width: 55px;}
	#follow_box a svg{margin:0;}
	#follow_box a b{display:none;}
	footer #f_info .workframe >div{margin: 20px 0;display: block;}
	footer #f_nav a{width:auto;}
	footer #f_other:before, footer #f_nav:before{position:relative;display: block;top: unset;left: unset;margin: 30px 15px 10px;height: 25px;}
	footer #f_info .workframe, footer .workframe{display:block;width: 80%;}
	footer #extra { margin-top: 10px; }
	.webBox .wrapper_lines .center_box >div { border-width: 0 0 0 1px; }
	.qrcode-box img {max-width: 100%;border-radius: 10px;}
.qrcode-box .item h3 {text-align:center;font-size:30px}
.qrcode-box .item:hover{background-color:#DDD1CC;}
#lineModal a{width:100%;background-color:#FFF;border-radius:15px;}
#lineModal .linetxt p{text-align:center;color:#65544b;padding-top:10px;}
}
@media screen and (max-width: 550px){
    header #webmenu li .menu_body ul{margin:0}
    .menu_body{background:none;box-shadow: none;min-width: auto;left: 0;}
    header #webmenu nav >ul >li >p{color:white}
	header #cis img{width: 250px;margin: 6px 0;}
	header .top_btn { width: 90%; }
	header #webmenu { width: 320px; }
	#search_box form { right: 2%; bottom: -35px; }
	footer .workframe { width: 95%; }
	footer #f_contact p font:first-child { margin-right: 10px; }
	#footer_btn { width: 100%; right: 0; bottom: 30px; }
	#footer_btn a { margin: 0 10px; line-height: 35px; }
	#footer_btn a.gotop {right: 10px;bottom: 0;}
}

/* 桌機：只有 hover 才顯示次層/第三層 */
@media screen and (min-width: 1281px){
  /* 第三層預設隱藏 */
  header #webmenu li .subOption .sub2Option { display:none; }

  /* 滑到第二層的 li 才顯示第三層 */
  header #webmenu li .subOption li:hover > .sub2Option {
    display:block;
  }

  /* 讓第三層靠右側並齊頂 */
  header #webmenu li .subOption .sub2Option {
    position: absolute;
    top: 0;
    right: -170px; /* 你原本的距離，保留 */
    width: 170px;
    max-height: 300px;
    overflow-y: scroll;
  }

  /* 最右側項目往左展開，避免超出畫面 */
  header #webmenu li:last-child .subOption .sub2Option {
    right: auto;
    left: 200px;
  }
}

/* 手機/平板：用 JS 切換 .open 類時顯示 */
@media screen and (max-width: 1280px){
  header #webmenu li .menu_body,
  header #webmenu li .menu_body .subOption li ul {
    display: none; /* 初始收合 */
  }
  header #webmenu li .menu_body.open { display:block; }            /* 第一層展開 */
  header #webmenu li .menu_body .subOption li.open > ul { display:block; } /* 第二層展開第三層 */
}
