#sbox{position:relative;display: flex;justify-content: center;}

#sub_banner_box {background: #000000;opacity: 1;width: 100%;}
#sub_banner_box .parallax_bg {margin-bottom: 0;min-height: 490px;opacity: .95;background-attachment: unset;background-position: 50% 40%;}

.webBox .parallax_svg.bann { -webkit-animation: parallax_top 10s linear infinite; animation: parallax_top 10s linear infinite; position: fixed; top: 87px; }

#sbox .text {position:absolute;bottom: 15%;display: flex;flex-direction: column;align-items: center;z-index: 2;}
#sbox .text h1{font-weight: 500;font-size: 26px;letter-spacing: 6px;font-family: "Noto Serif TC", serif;}
#sbox .text .en {display: block;font-family: 'Cormorant Garamond',serif;text-transform: uppercase;color: white;font-size: 54px;font-weight: 400;line-height: 1.6;}
#sub_banner_box:before {content: "";width: 100%;height: 100%;position: absolute;top: 0;background: linear-gradient(0deg, rgb(0 0 0 / 0%), #423828 100%);z-index: 1;opacity: .45;}

#wrap {z-index: 4;background: linear-gradient(#fffcf7, #ffefd6), url(https://images.unsplash.com/photo-1590059392348-185458999718?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80);#productdetail: :before {
    content: "";position: absolute;inset: 0;z-index: 0;pointer-events: none;background-image:
        linear-gradient(90deg, rgba(120, 72, 38, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(120, 72, 38, 0.025) 1px, transparent 1px);background-size: 38px 38px;opacity: 0.65;
};}
#wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(90deg, rgba(120, 72, 38, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(120, 72, 38, 0.025) 1px, transparent 1px);
    background-size: 38px 38px;
    opacity: 0.65;
}
#wrap >.workframe{width:min(90%, 1280px)}
#wrap .pag_tit { margin-bottom: 40px; line-height: 170%; margin-top: 120px; }

.waylink ol { padding-top: 5px; }
.waylink ol li, .waylink ol li a {letter-spacing: .1em;font-weight: 100;font-size: 13px;vertical-align: bottom;color: white;}
.waylink ol li:after {margin: 0 10px;display: inline-block;font-weight: 100;font-size: 12px;color: white;content: "\00B7";}
.waylink ol li:last-child:after { margin: 0; content: ""; }

aside {margin-bottom: 5vw;z-index: 5;background: linear-gradient(100deg,#f3c16f 0%,#f8d8a6 21%,#f9e8df 47%,#cde7e5 72%,#75c7cc 100%);}
aside ul li b { padding: 5px 10px 5px 5px; }
aside ul li b .fa { transform: rotate(0); -webkit-transform: rotate(0); transition: all 0.3s ease-in-out; -webkit-transition: all 0.3s ease-in-out; }
aside ul li b .fa:before { content: "\f107"; }
aside .workframe>ul>li {position: relative;display: inline-block;}
aside .workframe>ul>li .h4 {padding: 0 15px;}
aside .workframe>ul>li:not(:last-child) .h4:after{content:'';position: absolute;right: 0;width: 1px;height: 13px;background: var(--primary);opacity: .25;top: 28px;}
aside .workframe>ul>li .h4 a {padding: 20px 5px;font-size: 17px;letter-spacing: .05em;}
aside .workframe>ul>li.action .h4 a, aside .workframe>ul>li.action .h4 i {color: #b58100;}
aside .workframe>ul>li .subUL { position: absolute; margin-top: 10px; width: 180px; background: var(--white); left: calc((100% - 180px) / 2); transform: translate(0, 30px); -webkit-transform: translate(0, 30px); }
aside .workframe>ul>li .subUL>li { border-bottom: 1px rgba(var(--gray-rgb), .1) solid; }
aside .workframe>ul>li .subUL>li a { padding: 3px 15px; display: block; line-height: 140%; font-weight: 300; }
aside .workframe>ul>li .subUL>li .subULHead a { padding: 10px 15px; color: var(--black); font-weight: 400; }
aside .workframe>ul>li .subUL>li b { display: none; }
aside .workframe>ul>li .sub2UL { margin: 0 10px 10px; }
aside .workframe>ul>li[data-type="1"] { overflow: hidden; }
aside .workframe>ul>li[data-type="1"] .subUL { box-shadow: 0 0 15px rgba(var(--black-rgb), 0); opacity: 0; z-index: -1; }
aside .workframe>ul>li[data-type="2"] { overflow: visible; }
aside .workframe>ul>li[data-type="2"] ul li .h4 b .fa { transform: rotate(180deg); -webkit-transform: rotate(180deg); }
aside .workframe>ul>li[data-type="2"] .subUL { box-shadow: 0 0 15px rgba(var(--black-rgb), .15); opacity: 1; z-index: 1; transform: translate(0, 0); -webkit-transform: translate(0, 0); }

.mb_nav { display: none; }

#content_wrap {padding: 0 0 30px;min-height: 300px;}
#content_wrap .list_box li {margin: 0 0 50px;vertical-align: top;}
#content_wrap .img_box {border-radius: 35px;background-color: #f9f9f9;}
#content_wrap .info_box {margin: 25px 15px 0;}
#content_wrap .info_box .h2tit{font-size: 25px;letter-spacing: 1px;font-weight: 600;}
#content_wrap .info_box .time {font-weight: 400;font-size: 15px;display: flex;align-items: center;font-family: "Noto Serif TC", var(--font-family), sans-serif;}
#content_wrap .info_box .time >a {z-index: 6;font-size: 15.5px;}
#content_wrap .info_box .quote_box * { font-weight: 400; font-size: 13px; }
#content_wrap .info_box .h3 {height: auto;font-size: 20px;font-weight: 500;-webkit-line-clamp: 2;}
#content_wrap .info_box>div article { height: 42px; line-height: 140%; font-weight: 300; font-size: 15px; -webkit-line-clamp: 2; }

#news_list li article{-webkit-line-clamp: 2;height: auto;font-size: 15px;margin-top: 15px;color: #888;letter-spacing: .5px;}


/* #news_list  */
#news_list { position: relative; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 34px; margin: 0; padding: 40px 24px; list-style: none; text-align: left; }
#news_list > li { position: relative; z-index: 1; width: 100%; max-width: none; padding: 0; background: #fff8e7; border: none; border-radius: 0; box-shadow: 0 5px 20px rgba(43,20,10,.28),0 2px 0 rgba(255,255,255,.55) inset; overflow: visible; transform: rotate(-1.2deg); transition: transform .45s ease,box-shadow .45s ease; }
#news_list > li:nth-child(2n) { transform: rotate(1.1deg); }
#news_list > li:nth-child(3n) { transform: rotate(-.4deg); }
#news_list > li::before { content: ""; position: absolute; top: -13px; left: 50%; z-index: 5; width: 88px; height: 26px; background: linear-gradient(180deg,#8a4d2d,#56301f); border-radius: 4px; transform: translateX(-50%) rotate(1deg); box-shadow: 0 8px 16px rgba(39,18,8,.28),inset 0 1px 0 rgba(255,255,255,.25); }
#news_list > li::after { content: ""; position: absolute; top: -5px; left: 50%; z-index: 6; width: 54px; height: 3px; background: rgba(255,232,185,.55); transform: translateX(-50%); border-radius: 99px; }
#news_list > li:hover { transform: rotate(0deg) translateY(-10px); box-shadow: 0 30px 52px rgba(43,20,10,.36),0 2px 0 rgba(255,255,255,.6) inset; }
#news_list .img_box { position: relative; aspect-ratio: 1/.72; margin: 18px 18px 0; background: #3e261b; border: 8px solid #fff8e9; border-radius: 0; box-shadow: 0 8px 18px rgba(63,35,18,.2); overflow: hidden; }
#news_list .img_box svg { width: 100%; height: 100%; display: block; background: linear-gradient(135deg,rgba(115,63,36,.25),rgba(229,196,139,.28)); }
/* 圖片 */
#news_list .img_box img {
  inset:0;width:100%;height:100%;object-fit:cover;display:block;filter:sepia(.12)
        saturate(.9)
        contrast(1.05)
        brightness(.96);transform:scale(1.02);transition:transform .65s ease,filter .65s ease;
}
/* 老照片暗角 */
#news_list .img_box::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at center,transparent 45%,rgba(44,20,9,.32) 100%); }
/* hover 圖片 */
#news_list > li:hover .img_box img {
  transform:scale(1.08);filter:sepia(.05)
        saturate(1.02)
        contrast(1.08)
        brightness(1.02);
}
#news_list .info_box { position: relative; display: block; padding: 24px 24px 30px; background: linear-gradient(180deg,#fff9ea,#eee1c6); text-align: left; }
#news_list .time { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 18px; padding: 0 0 9px; font-family: Georgia,"Times New Roman","Noto Serif TC",serif; font-size: 13px; line-height: 1.5; letter-spacing: .08em; color: #8a3f29; border-bottom: 1px solid rgba(120,64,34,.28); }
#news_list .time a { position: relative; z-index: 12; color: #5f2e20; font-weight: 700; text-decoration: none; }
#news_list .time a:hover { color: #a3472d; text-decoration: underline; text-underline-offset: 4px; }
#news_list .h3 { margin: 0 0 13px; font-family: "Noto Serif TC","Microsoft JhengHei",serif; font-size: 23px; font-weight: 800; line-height: 1.45; letter-spacing: .06em; color: #3f2418; }
#news_list .h3::before { content: ""; display: inline-block; width: 10px; height: 24px; margin-right: 10px; vertical-align: -5px; background: linear-gradient(180deg,#9f3d2e,#6d281e); }
#news_list article { margin: 0; font-family: "Noto Serif TC","Microsoft JhengHei",serif; font-size: 15px; line-height: 1.85; letter-spacing: .04em; color: #6b5141; }
#news_list .txt_clamp { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
#news_list .h3.txt_clamp { -webkit-line-clamp: 2; }
#news_list article.txt_clamp { -webkit-line-clamp: 2; }
#news_list > li > a.atag_item { inset: 0; z-index: 10; text-indent: -9999px; }


@media (max-width:1024px) {
  #news_list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; padding: 56px 20px; }
}
@media (max-width:767px) {
  #news_list { display: block; padding: 20px 16px 40px; }
  #news_list > li { margin-bottom: 34px; transform: none !important; }
  #news_list > li:last-child { margin-bottom: 0; }
  #news_list .img_box { margin: 16px 16px 0; border-width: 6px; }
  #news_list .info_box { padding: 22px 20px 28px; }
  #news_list .h3 { font-size: 21px; }
  #news_list article { font-size: 15px; line-height: 1.75; }
}



#book_list li h3 { margin-top: 10px; height: 30px; font-size: 18px; }
#album_list { margin-bottom: 5vw; flex-wrap: wrap; }
#album_list>div { margin: 0 1px 1px 0; height: 300px; flex-grow: 1; }
#album_list>div img { width: auto; min-width: 100%; height: 300px; }

/* product_list */
#product_list { position: relative; padding: 20px 20px; margin: 0; list-style: none; display: grid; align-items: center; grid-template-columns: repeat(3,1fr); gap: 40px; }
/* 商品卡片 */
#content_wrap #product_list > li { position: relative; z-index: 1; width: 92%; padding: 14px 4% 22px; background: linear-gradient(180deg,rgba(255,252,244,0.96),rgb(255 248 237)); border: 1px solid rgba(128,78,40,0.28); border-radius: 28px 28px 18px 18px; box-shadow: 0 18px 40px rgba(78,47,25,0.16),inset 0 0 0 1px rgba(255,255,255,0.75); overflow: hidden; transition: transform 0.45s ease,box-shadow 0.45s ease,border-color 0.45s ease; margin: 0 0 30px; }
/* 卡片上方古窗橫線 */
#product_list > li::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 6px; z-index: 3; background: linear-gradient(90deg,#7c3f24,#b9783f,#7c3f24); border-radius: 0 0 999px 999px; opacity: 0.9; }
/* 卡片底部印章感 */
#product_list > li::after { content: "活動方案"; position: absolute; right: 20px; bottom: 34px; z-index: 4; width: 31px; height: 50px; padding: 10px 20px; font-weight: 600; display: flex; justify-content: center; font-size: 14px; line-height: 1.45; letter-spacing: 0.08em; color: rgba(151,41,31,0.88); border: 2px solid rgba(151,41,31,0.72); border-radius: 16px; transform: rotate(-8deg); background: rgba(255,250,238,0.76); pointer-events: none; align-items: center; }
/* hover 卡片 */
#product_list > li:hover { transform: translateY(-10px); border-color: rgba(139,79,38,0.55); box-shadow: 0 26px 58px rgba(78,47,25,0.24),inset 0 0 0 1px rgba(255,255,255,0.9); }
/* 圖片外框：古厝窗景感 */
#product_list .clip { position: relative; aspect-ratio: 4/3; border-radius: 22px 22px 10px 10px; background: #ead8b5; border: 1px solid rgba(111,63,32,0.32); box-shadow: inset 0 0 0 6px rgba(255,248,232,0.62),0 10px 24px rgba(74,43,21,0.13); }
/* 圖片 */
#product_list .clip img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); filter: saturate(0.95) contrast(1.04) brightness(0.98); transition: transform 0.65s ease,filter 0.65s ease; }
/* 圖片上方暖色光 */
#product_list .clip::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg,rgba(72,39,18,0.02),rgba(80,40,15,0.16)),radial-gradient(circle at 20% 12%,rgba(255,236,176,0.28),transparent 36%); }
/* 古窗格線 */
#product_list .clip::after { content: ""; position: absolute; inset: 12px; z-index: 3; pointer-events: none; border: 1px solid rgba(255,244,218,0.42); border-radius: 16px 16px 8px 8px; box-shadow: inset 0 0 0 1px rgba(86,45,22,0.18); }
/* hover 圖片 */
#product_list > li:hover .clip img { transform: scale(1.09); filter: saturate(1.05) contrast(1.08) brightness(1.03); }
/* 文字區 */
#product_list .info_box { position: relative; padding: 10px 82px 20px 4px; text-align: left; }
/* 小標籤 */
#product_list .info_box::before { content: "SERVICES"; display: inline-block; margin-bottom: 10px; padding: 0px 14px; font-family: 'Cormorant Garamond',serif; font-size: 12px; letter-spacing: 0.12em; line-height: 1.9; color: #8a5630; background: rgba(139,82,40,0.09); border: 1px solid rgba(139,82,40,0.2); border-radius: 999px; }
/* 商品名稱 */
#content_wrap  #product_list .h3 { margin: 0; font-family: "Noto Serif TC","Microsoft JhengHei",serif; font-size: 22px; line-height: 1.45; letter-spacing: 0.06em; color: var(--info); transition: color 0.35s ease; font-weight: 600; }
/* 標題底線 */
#product_list .h3::after { content: ""; display: block; width: 46px; height: 2px; margin-top: 12px; background: linear-gradient(90deg,#9c4a31,rgba(156,74,49,0)); transition: width 0.35s ease; }
#product_list > li:hover .h3 { color: #8b3f28; }
#product_list > li:hover .h3::after { width: 88px; }
/* 整張卡片連結 */
#product_list .atag_item { inset: 0; z-index: 10; border-radius: 28px 28px 18px 18px; text-indent: -9999px; }
/* 可及性焦點 */
#product_list .atag_item:focus,#product_list .atag_item:focus-visible { outline: 4px solid #d60000; outline-offset: 4px; }
/* hover 時增加可點擊感 */
#product_list > li:hover .atag_item { cursor: pointer; }
/* 手機版 */
@media (max-width:960px) {
  #product_list { padding: 0 16px 30px; gap: 28px; grid-template-columns: repeat(2,1fr); }
  #product_list > li { width: 100%; padding: 12px 12px 20px; border-radius: 24px 24px 16px 16px; }
  #product_list .info_box { padding: 20px 50px 6px 2px; margin: 20px 10px 0; }
  #product_list .h3 { font-size: 21px; }
  #product_list > li::after { font-size: 13px; right: 16px; bottom: 28px; width: 31px; height: 36px; padding: 10px 10px; }
}
@media (max-width:640px) {
  #product_list .info_box { padding: 0px 50px 6px 2px; }
  #product_list { grid-template-columns: 1fr; }
}



#faq_list { margin-bottom: 50px; }
#faq_list *{transition:unset;-webkit-transition:unset;}
#faq_list li {border-bottom: 1px rgb(201 202 203 / 70%) dashed;}
#faq_list li .title { padding: 20px 20px 20px 0; }
#faq_list li .title font { vertical-align: top; }
#faq_list li .title .txt {margin-left: 10px;width: calc(100% - 50px);font-size: 18px;}
#faq_list li .title .icon { width: 40px; height: 34px; }
#faq_list li .title .icon:before, #faq_list li .title .icon:after { position: absolute; margin: auto; width: 14px; height: 2px; background: var(--primary); display: block; top: calc((100% - 2px) / 2); left: calc((100% - 14px) / 2); content: ""; }
#faq_list li .title .icon:after { transform: rotate(90deg); -webkit-transform: rotate(90deg); }
#faq_list li .info { padding: 0 20px 30px 50px; font-size: 15px; }
#faq_list li.current .title .icon:after { transform: rotate(180deg); -webkit-transform: rotate(180deg); }

#pagenav a, #pagenav strong { margin: 0 2px; width: 35px; height: 35px; display: inline-block; text-align: center; line-height: 35px; font-weight: 400; }
#pagenav strong { background: var(--primary); color: var(--white); border-radius: 50%; }
#pagenav p { margin: 0 5px; width: calc(50% - 10px); vertical-align: top; }
#pagenav p a { margin: 15px 0 0; padding: 0 15px; width: auto; height: auto; line-height: initial; font-size: 0; }
#pagenav p a i { margin: 0 5px 0 0; width: 11px; line-height: 23px; font-size: 12px; vertical-align: top; }
#pagenav p a font { max-width: calc(100% - 16px); min-width: auto; font-size: 14px; font-weight: 100; vertical-align: top; }
#pagenav p:last-child a i { margin: 0 0 0 5px; }

#newpagenav{margin-top: 70px;display: grid;grid-template-columns: repeat(2, 1fr);gap: 50px;position: relative;}
#newpagenav:before{content:'';position: absolute;left: 50%;width: 1px;height: 100%;background: #e3e3e3;}
#newpagenav p{margin:0;width: auto;}
#newpagenav a{margin:0;padding: 0;}
#newpagenav p a {margin: 15px 0 0;padding: 0;width: auto;height: auto;line-height: initial;font-size: 0;display: inline-flex;align-items: center;gap: 15px;}
#newpagenav p:last-child {text-align: end;}
#newpagenav i{width: 15px;font: normal normal normal 26px / 1 FontAwesome;}
#newpagenav font{-webkit-line-clamp:2;height: auto;font-size: 17px;max-width: max-content;font-weight: 400;}
#newpagenav a:hover font, #newpagenav a:hover i{color: #8f8c89;}
#newpagenav p:last-child font, #newpagenav p:last-child font span{text-align:end}
#newpagenav span{display:block;font-size: 17px;}

#describe {margin: 5vw 0 2vw 0;}
#describe *, .tab_content * {vertical-align: initial;box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;}

#google_shere { margin-top: 30px; }

.form_box{margin-top:5vw}
.form_box p.note .red { color: #f00; }
.form_box p.item {padding: 15px 0;}
.form_box p.item label span { font-weight: 500; font-size: 17px; }
.form_box p.item label i { margin-left: 15px; line-height: 20px; font-size: 20px; color: #f00; }
.form_box p.item font { margin: 5px 0; }
.form_box p.item.check_box { border-bottom: 0; }
.form_box p.send_box { margin: 15px 0 50px; }

[data-action="loader"] { width: 100vw; height: 100vh; background: rgba(var(--black-rgb), .3); line-height: 100vh; top: 0; left: 0; opacity: 0; z-index: -1; }
[data-action="loader"] .loader_circle { width: 50px; height: 50px; border: 2px rgba(var(--black-rgb), .6) solid; border-left-color: rgba(var(--white-rgb), .4);border-radius: 50%; }
[data-action="loader"]#lodbg .loader_circle { -webkit-animation: circle infinite 0.75s linear; animation: circle infinite 0.75s linear; }
#lodbg { opacity: 1; z-index: 99999; }

@keyframes circle { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@-webkit-keyframes circle { 0% { -webkit-transform: rotate(0); } 100% { -webkit-transform: rotate(360deg); } }

@media screen and (min-width:1281px) {
    aside .workframe>ul>li{width: 15%;}
    aside .workframe>ul>li>div{text-align:center;}
	aside .workframe>ul>li:hover .h4 a, aside .workframe>ul>li:hover .h4 i { color: var(--primary); }
}
@media screen and (min-width:980px) {
	#google_shere { margin-top: 6vw; }
}
@media screen and (min-width:761px) {
	.form_box p.item {padding: 25px 0;}
	.form_box p.item label { width: 170px; }
	.form_box p.item font { margin: 0 0 0 30px; width: calc(100% - 200px); }
}
@media screen and (max-width:980px) {
    .form_box{margin-top:12vw}
    aside{margin-bottom:12vw}
    #describe{margin:12vw 0}
	#sub_banner_box .parallax_bg{min-height: 355px;}
}
@media screen and (max-width:640px) {
    #sbox .text .en{font-size: 40px;}
    #sbox .text h1{font-size:22px;}
	#album_list>div, #album_list>div img { height: 40vw; }
	.mb_nav {display: flex;flex-direction: column;align-items: center;padding: 10px 0;}
	.mb_nav p { display: flex; }
	.mb_nav b { margin-left: 10px; display: flex; align-items: center; }
	.soon.mb_nav b .fa { transform: rotate(180deg); -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); -o-transform: rotate(180deg); }
	.mb_nav .fa:before { content: "\f107"; }
	#category_nav {position: absolute;display: flex;flex-direction: column;background: #dfe5ea;width: 100vw;height: 0;opacity: 0;left: 0;padding: 15px 0;}
	#category_nav.showme {height: auto;opacity: 100%;z-index: 999;}
    aside .workframe>ul>li .h4 a{padding: 5px 10px;display: block;text-align: center;font-size: 15px;}
    #content_wrap .info_box .h2tit{font-size:22px;margin-bottom: 10px;letter-spacing: .5px;}
}
@media screen and (max-width:550px) {
	#content_wrap .list_box li {display: block;margin: 0 0 60px;}
	#community { margin-top: 10px; }
}
@media screen and (max-width:450px) {
	#album_list>div, #album_list>div img { height: 50vw; }
	#pagenav a, #pagenav strong { margin: 0; width: 24px; height: 24px; line-height: 24px; font-size: 14px; }
	#pagenav p a { display: block; }
}