#sub_banner_box { opacity: 1; }
#sub_banner_box .parallax_bg { margin-bottom: 0; min-height: 487px; opacity: 1; }

.webBox .parallax_svg.bann { -webkit-animation: parallax_top 10s linear infinite; animation: parallax_top 10s linear infinite; position: fixed; top: 87px; }
.bakgcolor{background-color: #4b4b4b;}
#sub_banner_box { margin-top: 103px; }

#wrap {margin-top: -90px;z-index: 4;background-color:#FFF;background-repeat: no-repeat;background-size: cover;background-position: center;}
#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; }
.waylink ol li:after { margin: 0 10px; display: inline-block; font-weight: 100; font-size: 12px; color: var(--info); content: "/"; }
.waylink ol li:last-child:after { margin: 0; content: ""; }

aside { margin-bottom: 60px; z-index: 5; }
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>ul>li { position: relative; display: inline-block; }
aside>ul>li h4 { padding: 0 15px; }
aside>ul>li h4 a { padding: 10px 5px; font-weight: 300; font-size: 18px; letter-spacing: .15em; }
aside>ul>li.action h4 a, aside>ul>li.action h4 i { color: var(--primary); }
aside>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>ul>li .subUL>li { border-bottom: 1px rgba(var(--gray-rgb), .1) solid; }
aside>ul>li .subUL>li a { padding: 3px 15px; display: block; line-height: 140%; font-weight: 300; }
aside>ul>li .subUL>li .subULHead a { padding: 10px 15px; color: var(--black); font-weight: 400; }
aside>ul>li .subUL>li b { display: none; }
aside>ul>li .sub2UL { margin: 0 10px 10px; }
aside>ul>li[data-type="1"] { overflow: hidden; }
aside>ul>li[data-type="1"] .subUL { box-shadow: 0 0 15px rgba(var(--black-rgb), 0); opacity: 0; z-index: -1; }
aside>ul>li[data-type="2"] { overflow: visible; }
aside>ul>li[data-type="2"] ul li h4 b .fa { transform: rotate(180deg); -webkit-transform: rotate(180deg); }
aside>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 60px; min-height: 350px; }
#content_wrap .list_box li { margin: 0 15px 50px; vertical-align: top; }
#content_wrap .img_box { border-radius: 15px; background-color: #f9f9f9; }
#content_wrap .info_box { margin: 10px 15px 0; }
#content_wrap .info_box .time { width: 65px; font-weight: 400; font-size: 13px; }
#content_wrap .info_box .more_btn { margin-left: 10px; padding: 2px 15px; max-width: calc(100% - 105px); height: 22px; font-weight: 100; font-size: 13px; z-index: 6; }
#content_wrap .info_box .quote_box * { font-weight: 400; font-size: 13px; }
#content_wrap .info_box h3 { height: 34px; font-size: 20px; }
#content_wrap .info_box>div { padding: 20px; border-radius: 0 15px 15px 15px; }
#content_wrap .info_box>div article { height: 42px; line-height: 140%; font-weight: 300; font-size: 15px; -webkit-line-clamp: 2; }

#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; }

#faq_list { margin-bottom: 50px; }
#faq_list li { border-bottom: 1px rgba(var(--primary-rgb), .7) 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: 20px; }
#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; }

#describe { margin: 2em 0 5vw; }
#describe *, .tab_content * { vertical-align: bottom; color: currentcolor; }

#google_shere { margin-top: 30px; }

.form_box p.note .red { color: #f00; }
.form_box p.item { padding: 15px; border-bottom: 1px rgba(var(--primary-rgb), .7) dashed; }
.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); } }

/* about */
#describe {max-width: 900px;margin: 60px auto;padding: 40px 20px;background: #f3f5f4;border-left: 6px solid #db0c06;border-radius: 8px;
box-shadow: 0 4px 12px rgba(36, 21, 16, 0.1);color: #241510;font-family: "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;line-height: 1.8;
font-size: 1.05rem;}
#describe strong,
#describe b {color: #db0c06;font-weight: 600;}
#describe em {font-style: normal;color: #666;font-size: 0.95rem;}
#describe p {margin-bottom: 1.2em;}
@media (max-width: 768px) {
#describe {margin: 40px 15px;padding: 25px 18px;font-size: 0.95rem;}
}

@media (max-width: 480px) {
#describe {margin: 30px 10px;padding: 20px 15px;font-size: 0.9rem;border-left-width: 4px;}
}

/* article */
/* === 外層容器 === */
#article_all {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 30px;
  font-family: "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
}

/* === 列表 === */
.article_ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* === 卡片 === */
.article_li {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.article_li:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* === 圖片區 === */
.article_img {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: 180px; /* ✅ 控制圖片高度固定 */
  background: #f5f5f5;
}

.article_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article_li:hover .article_img img {
  transform: scale(1.05);
}

/* === 文字內容區 === */
.article_box {
  padding: 30px 25px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* 標題 */
.article_box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.4;
  position: relative;
}

.article_box h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #db0c06;
  margin-top: 10px;
  border-radius: 2px;
}

/* 內文 */
.article_box article {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-top: 10px;
}

/* === 點擊覆蓋層 === */
.article_li a.atag_item {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* === 分頁 === */
#pagenav {
  margin-top: 70px;
  text-align: center;
}

/* === RWD === */
@media (max-width: 1024px) {
  .article_ul {
    gap: 30px;
  }
  .article_img {
    height: 160px;
  }
  .article_box h3 {
    font-size: 1.3rem;
  }
  .article_box article {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .article_ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .article_img {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .article_ul {
    grid-template-columns: 1fr;
  }
  .article_img {
    height: 140px;
  }
  .article_box h3 {
    font-size: 1.25rem;
  }
  .article_box article {
    font-size: 0.95rem;
  }
}

/* .workframe {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.workframe::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(243, 245, 244, 0.9); /* 淺灰白帶透明 */
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  margin: 0 auto;
}
*/


@media screen and (min-width:1281px) {
	aside>ul>li:hover h4 a, aside>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: 30px 20px; }
	.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:1460px) {
	#wrap .pag_tit { margin-top: 75px; }
}
@media screen and (max-width:640px) {
	#album_list>div, #album_list>div img { height: 40vw; }
	.mb_nav { display: flex; flex-direction: column; align-items: center; border: #79797957 1px solid; 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: #f3f3f3; width: 100%; height: 0; opacity: 0; }
	#category_nav.showme { height: 400px; opacity: 100%; z-index: 999; }
}
@media screen and (max-width:550px) {
	#content_wrap .list_box li { width: 250px; }
	#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; }
}