@charset "utf-8";

body{ font-family: "Sorts Mill Goudy", serif,"Noto Sans TC", sans-serif,"Noto Serif TC", serif;}


.me_tp_features { display: none ; }
.path p, .path p a{display: none;}


/* Sticky 頂部區域 */
.header_area {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 25px;
  box-shadow: 0 10px 40px rgb(0 0 0 / 11%);
}
.main_header_area .container {max-width: 98%;margin: auto;}

/* 導覽列容器 */
.navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-brand img {height: 50px;}

/* ========================================================
   主選單基礎設定 (第一層)
   ======================================================== */
.stellarnav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.stellarnav > ul > li { 
  position: relative; 
  z-index: 1; 
  display: inline-block;
}

/* 第一層連結 (固定高度 36px 與文字雙排雙向滾動) */
.stellarnav > ul > li > a {
  height: 36px;
  color: #4b4b4b;
  font-size: 14px;
  padding: 0 14px;
  display: block;
  text-decoration: none;
  overflow: hidden;
  font-weight: 500;
  position: relative;
  z-index: 2;
  border-radius: 20px;
  box-sizing: border-box;
}

/* 雙排文字 Vertical Center 與 Hover 滑動動畫 */
.stellarnav > ul > li > a b {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.stellarnav > ul > li > a b:last-child {
  color: #452D06;
  font-size: 11px;
  letter-spacing: 1px;
}

.stellarnav > ul > li > a:hover b { 
  transform: translateY(-100%); 
}

/* 第一層 Li 膠囊 Hover 外框特效 */
.stellarnav > ul > li:not(:last-child)::before {
  content: '';
  position: absolute;
  inset: 0px;
  background: rgba(69, 45, 6, 0.08);
  border: 1px solid rgba(69, 45, 6, 0.2);
  border-radius: 20px;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.stellarnav > ul > li:not(:last-child):hover::before {
  opacity: 1;
  transform: scale(1);
}

/* 最後一個突出按鈕 (預約諮詢) */
.stellarnav > ul > li:last-child > a {
  background: linear-gradient(135deg, #452D06 0%, #aba07d 100%);
  color: #ffffff;
  padding: 0 20px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(69, 45, 6, 0.35);
  height: 36px;
  display: block;
  overflow: hidden;
}

.stellarnav > ul > li:last-child > a b,
.stellarnav > ul > li:last-child > a b:last-child { 
  color: #ffffff; 
}


/* ========================================================
   【風格 2】現代微光輕奢玻璃 (下拉選單第二層)
   ======================================================== */
.stellarnav ul ul { 
  position: absolute; 
  top: 100%; 
  left: 0; 
  min-width: 200px; 
  /* 毛玻璃輕奢背景 */
  background: rgba(255, 255, 255, 0.88); 
  backdrop-filter: blur(12px); 
  -webkit-backdrop-filter: blur(12px); 
  border: 1px solid rgba(255, 255, 255, 0.8); 
  border-radius: 16px; 
  list-style: none; 
  margin: 8px 0 0 0; 
  padding: 6px; 
  box-shadow: 0 15px 35px rgba(69, 45, 6, 0.12); 
  z-index: 99; 
}

/* 核心修正：建立感應橋樑，覆蓋選單之間的 8px 空隙 */
.stellarnav ul ul::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* 滑鼠 Hover 顯示下拉選單（移入時立即顯示，不設延遲） */
.stellarnav li:hover > ul { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0); 
  transition-delay: 0s;
}

/* 下拉選單內部項目重置 */
.stellarnav ul ul li { 
  border: none; 
  margin: 2px 0; 
  padding: 0; 
  display: block;
}

.stellarnav ul ul li a {
  height: auto;
  min-height: 38px;
  line-height: normal;
  overflow: visible;
  border-radius: 10px;
  color: #452D06;
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

/* 重置下拉選單內的 b 標籤 */
.stellarnav ul ul li a b { 
  height: auto; 
  transform: none !important; 
  display: inline; 
  color: inherit;
}

/* 下拉選單項目 Hover 特效 (圓角微光膠囊) */
.stellarnav ul ul li a:hover { 
  background: rgba(69, 45, 6, 0.08); 
  color: #452D06; 
  transform: translateX(3px);
}


/* ========================================================
   下拉箭頭與翻轉動畫
   ======================================================== */
.stellarnav li.has-sub > a { 
  padding-right: 28px !important; 
}

.stellarnav li.has-sub > a::after {
  right: 12px;
  top: 50%;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #898989;
}

@media screen and (max-width: 1200px) {
  .stellarnav > ul > li > a {
    padding: 0 9px;
  }
}

@media screen and (max-width: 1024px) {
.stellarnav > ul {
    padding: 20px 0 0;
}
}
@media screen and (max-width: 768px) {
.header_area {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.stellarnav > ul > li:not(:last-child)::before {
    border-radius: 0px;
}

.stellarnav > ul > li:last-child > a {
display: flex;
align-items: center;
border-radius: 0;
gap: 6px;
  height: 55px;
}

.stellarnav > ul > li > a{
  margin: 0;
}

.stellarnav.mobile > ul > li > a.dd-toggle {
padding: 6px;
}

.stellarnav ul ul {
    border-radius: 0px;
    margin: 8px 0 0 0;
    padding: 0px;
}

.stellarnav ul ul li a:hover{
  background: transparent;
}

    .stellarnav.mobile > ul > li > a {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .stellarnav > ul {
        padding: 0;
    }
}

/*footer*/
.footer_menu a:first-child {display: none;}

.footer {
    background-color: #f7f5f0 ;
    color: #2c2825 ;
    font-family: 'Noto Sans TC', sans-serif ;
    border-top: 3px solid #8c764d ;
    padding-top: 50px ;
}

.footer .center {
    max-width: 1140px ;
    margin: 0 auto ;
    padding: 0 25px ;
}

.footer ul {
    list-style: none ;
    padding: 0 ;
    margin: 0 ;
    display: contents ;
}

.footer ul > li {
    list-style: none ;
    padding: 0 ;
    margin: 0 ;
}

.footer .footer_menu {
    background: transparent ;
    border: none ;
    padding: 0 ;
    margin: 0 ;
}

.footer .footer_menu a {
    background: transparent ;
    border: none ;
    box-shadow: none ;
    padding: 0 ;
    margin: 0 ;
    text-decoration: none ;
    transition: all 0.3s ease ;
}

.footer ul > li:first-child p {
    background: transparent ;
    border: none ;
    box-shadow: none ;
    padding: 0 ;
}

.footer ul > li:first-child p a {
    color: #2c2825 ;
    text-decoration: none ;
    transition: color 0.3s ease ;
}

.footer ul > li:first-child p a:hover {
    color: #8c764d ;
}

.footer p.line::before { content: "LINE： " ; font-weight: 700 ; color: #52452c ; }
.footer p.mail::before { content: "EMAIL： " ; font-weight: 700 ; color: #52452c ; }
.footer p.add::before { content: "ADD： " ; font-weight: 700 ; color: #52452c ; }

.footer .box_link {
display: none;
}

.footer .copy {
    background-color: #ebe6dc;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    font-size: 9px;
    color: #777068;
    border-top: 1px solid #dcd5c9;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    justify-content: flex-start;
}

.footer .copy p, .footer .copy span, .footer .copy a {
    color: #777068 ;
    font-size: 9px ;
    text-decoration: none ;
}

.footer .footer_info {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    text-align: center ;
    gap: 25px ;
}

.footer .footer_logo img {
    max-width: 230px ;
    margin: 0 auto ;
    filter: contrast(1.1) ;
}

.footer .footer_logo::after {
    content: "WARMER LAWS, BETTER PROTECTED RIGHTS." ;
    display: block ;
    font-family: 'Noto Serif TC', serif ;
    font-size: 15px ;
    color: #8c764d ;
    letter-spacing: 2px ;
    margin-top: 12px ;
    font-weight: 600 ;
}

.footer .box_link { justify-content: center ; margin-top: 5px ; }

.footer ul > li:first-child {
    display: flex ;
    flex-wrap: wrap ;
    justify-content: center ;
    gap: 20px 30px ;
    padding: 20px 0 ;
    border-top: 1px solid #e2ddd3 ;
    border-bottom: 1px solid #e2ddd3 ;
    width: 100% ;
}

.footer ul > li:first-child p {
    margin: 0 ;
    font-size: 14px ;
    color: #666059 ;
}

.footer .footer_menu {
    display: flex ;
    flex-wrap: wrap ;
    justify-content: center ;
    gap: 15px 25px ;
}

.footer .footer_menu a {
    font-size: 14px ;
    color: #52452c ;
    font-weight: 500 ;
}

.footer .footer_menu a:hover { color: #8c764d ; }

@media (max-width: 600px) {
    .footer ul > li:first-child { flex-direction: column ; align-items: center ; gap: 10px ; }
}


/* 商品下拉超過30個變大 */
.stellarnav.desktop li.bigMenu>ul{display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); left: 0; width: 100%; position: fixed; padding: 20px;}
.stellarnav.desktop li.bigMenu ul ul{top: 100%; left: 0; width: 100%; background: #efefef; height: auto; max-height: 300px; overflow: auto;}
.stellarnav.desktop li.bigMenu ul ul li{margin: 0;} 
.stellarnav.hasBigMenu li.bigMenu li.has-sub > a:after{border-left: 6px solid transparent; border-bottom:unset; border-right: 6px solid transparent; border-top: 6px solid #898989; right: 5px;}


/*文章A*******************************************************/

.article_a .blog_box {
  min-height: 20vw;
  padding: 20px 15px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 母模雙欄設定 */
.article_a .blog_le,
.article_a .blog_ri {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 2vw;
  padding: 7px;
  box-sizing: border-box;
}

.article_a .blog_le {
  width: 240px;
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(69, 45, 6, 0.04);
}

.article_a .blog_ri {
  width: calc(100% - 250px);
  padding: 0 0 0 24px;
  min-height: 75vh;
}

/* 左側邊欄標題 (h5.blog_le_t) */
.article_a h5.blog_le_t {
  font-size: 20px;
  font-weight: 700;
  color: #452D06;
  font-family: 'Noto Serif TC', serif;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #452D06;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article_a h5.blog_le_t em {
  display: inline-block;
  font-style: normal;
}

.article_a h5.blog_le_t span {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #aba07d;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(171, 160, 125, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

.article_a .blog_le a.news_menu_toggle {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  color: #452D06;
  border-radius: 50%;
  background: rgba(69, 45, 6, 0.06);
  cursor: pointer;
}

/* 關鍵字搜尋框 (.blog_search) */
.article_a .blog_search {
  position: relative;
  margin-bottom: 16px;
}

.article_a .blog_search input[type=search] {
  outline: none;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  font-size: 13.5px;
  color: #2b251f;
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 8px;
  padding: 0 40px 0 12px;
  transition: all 0.2s ease;
}

.article_a .blog_search input[type=submit] {
  outline: none;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  width: 32px;
  height: 32px;
  background: #452D06;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
}

.article_a .blog_search input[type=search]:focus {
  border-color: #aba07d;
}

/* 左側折疊選單 (.accordion) 直寫色碼修正 (無 ROOT) */
.article_a .blog_le .accordion {
  list-style-type: none;
  margin: auto;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #e8e2d8;
  background: #ffffff;
  overflow: hidden;
}

.article_a .accordion > li {
  transition: all 0.2s ease;
}

.article_a .accordion li + li {
  border-top: 1px solid #e8e2d8;
}

.article_a .accordion li .link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article_a .accordion li .link a {
  cursor: pointer;
  display: block;
  padding: 12px 14px;
  color: #2b251f !important; /* 確保未 Hover 時顏色明確 */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  transition: color 0.2s ease;
}

.article_a .blog_le .accordion li .link i {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  color: #452D06;
  width: 40px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* 1. 滑鼠 Hover 狀態修正：暖米色背景 (#f3efe9) + 深棕色字體 (#452D06) */
.article_a .blog_le .accordion > li:hover {
  background: #f3efe9 !important;
}

.article_a .blog_le .accordion > li:hover .link a,
.article_a .blog_le .accordion > li:hover .link i {
  color: #452D06 !important;
}

/* 2. 當前選中分類狀態 (.on_this_category)：深棕色背景 (#452D06) + 白字 (#ffffff) */
.article_a .blog_le .accordion > li.on_this_category {
  background: #452D06 !important;
}

.article_a .blog_le .accordion > li.on_this_category .link a,
.article_a .blog_le .accordion > li.on_this_category .link i {
  color: #ffffff !important;
}

/* 子選單 (.submenu) 樣式修復 */
.article_a .submenu {
  display: none;
  background: #faf8f5;
  font-size: 13px;
  padding: 4px 0;
}

.article_a .submenu li {
  background: none !important;
  border: none !important;
}

.article_a .submenu a {
  display: block;
  position: relative;
  color: #665c52 !important;
  padding: 9px 12px 9px 28px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article_a .submenu a i {
  position: absolute;
  top: 50%;
  left: 10px;
  font-size: 10px;
  color: #aba07d;
  transform: translateY(-50%);
}

/* 子選單 Hover 與選中 */
.article_a .submenu li:hover a,
.article_a .submenu li.on_this_category a {
  background: rgba(69, 45, 6, 0.08) !important;
  color: #452D06 !important;
  font-weight: 600;
  padding-left: 32px;
}

/* 右側區域與單欄文章流 (.blog_subbox) */
.article_a h4.blog_category_title {
  color: #452D06;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Serif TC', serif;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8e2d8;
}

.article_a h4.blog_category_title em {
  font-style: normal;
}

.article_a h4.blog_category_title em:after {
  content: '/';
  display: inline-block;
  vertical-align: middle;
  font-size: 20px;
  color: #aba07d;
  margin: 0 10px;
}

.article_a h4.blog_category_title span {
  font-size: 18px;
  color: #aba07d;
  font-weight: 500;
}

/* 改為一排一個文章 (單欄 flex-direction: column) */
.article_a .blog_subbox {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 文章卡片項 (.subbox_item) */
.article_a .subbox_item {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.article_a .subbox_item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(69, 45, 6, 0.08);
  border-color: #aba07d;
}

/* 文章單列內部兩欄 (左圖右文 240px 1fr) */
.article_a .subbox_item a {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  text-decoration: none;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
}

.article_a .subbox_item a:after{
  display: none;
}

.article_a .subbox_item a:before{
  display: none;
}

/* 左側縮圖 (.blog_list_le) */
.article_a .blog_list_le {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0ece6;
}

.article_a .blog_list_le img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article_a .subbox_item:hover .blog_list_le img {
  transform: scale(1.05);
}

/* 右側內文描述 (.blog_list_ri) */
.article_a .blog_list_ri {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 10px;
}

.article_a .blog_list_ri h5 {
  font-weight: 700;
  font-size: 18px;
  color: #2b251f;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
  font-family: "Noto Serif TC", serif;
}

.article_a .subbox_item:hover .blog_list_ri h5 {
  color: #452D06;
}

.article_a .blog_list_ri em {
  font-size: 12.5px;
  color: #aba07d;
  font-style: normal;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.article_a .blog_list_ri em::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
}

.article_a .blog_list_ri p {
  font-size: 13.5px;
  color: #665c52;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* 平板與中型螢幕 (<= 992px) */
@media screen and (max-width: 992px) {
  /* 轉為上下單欄佈局 */
  .article_a .blog_le,
  .article_a .blog_ri {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  /* 左側邊欄取消 sticky 懸浮 */
  .article_a .blog_le {
    position: static;
  }

  /* 右側內文區域移除左內距 */
  .article_a .blog_ri {
    padding-left: 0;
    min-height: auto;
  }

  /* 手機選單開關按鈕顯示 (如需配合 JS 控制 accordion) */
  .article_a .blog_le a.news_menu_toggle {
    display: flex;
  }
  .article_a h5.blog_le_t span{
    display: none;
  }
}

/* 手機與小型螢幕 (<= 576px) */
@media screen and (max-width: 576px) {
  .article_a .blog_box {
    padding: 12px 10px;
  }

  /* 文章卡片改為上下圖文結構 */
  .article_a .subbox_item a {
    grid-template-columns: 1fr; /* 從 240px 1fr 改為單欄 */
    gap: 12px;
    padding: 12px;
  }

  /* 文章縮圖高度與寬度適應 */
  .article_a .blog_list_le {
    height: 180px;
  }

  /* 右側文字區域外距調整 */
  .article_a .blog_list_ri {
    padding-right: 0;
  }

  .article_a .blog_list_ri h5 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  /* 分類標題字級調整 */
  .article_a h4.blog_category_title {
    font-size: 20px;
  }

  .article_a h4.blog_category_title span {
    font-size: 15px;
  }
}

/*文章B*******************************************************/
.article_b .blog_box {
  min-height: 20vw;
  padding: 20px 15px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 母模雙欄設定 */
.article_b .blog_le,
.article_b .blog_ri {
  display: inline-block;
  vertical-align: top;
  margin-bottom: 2vw;
  padding: 7px;
  box-sizing: border-box;
}

.article_b .blog_le {
  width: 240px;
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 4px 16px rgba(69, 45, 6, 0.04);
}

.article_b .blog_ri {
  width: calc(100% - 250px);
  padding: 0 0 0 24px;
  min-height: 75vh;
}

/* 左側邊欄標題 (h5.blog_le_t) */
.article_b h5.blog_le_t {
  font-size: 20px;
  font-weight: 700;
  color: #452D06;
  font-family: 'Noto Serif TC', serif;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #452D06;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article_b h5.blog_le_t em {
  display: inline-block;
  font-style: normal;
}

.article_b h5.blog_le_t span {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: #aba07d;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(171, 160, 125, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

.article_b .blog_le a.news_menu_toggle {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  color: #452D06;
  border-radius: 50%;
  background: rgba(69, 45, 6, 0.06);
  cursor: pointer;
}

/* 關鍵字搜尋框 (.blog_search) */
.article_b .blog_search {
  position: relative;
  margin-bottom: 16px;
}

.article_b .blog_search input[type=search] {
  outline: none;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  font-size: 13.5px;
  color: #2b251f;
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 8px;
  padding: 0 40px 0 12px;
  transition: all 0.2s ease;
}

.article_b .blog_search input[type=submit] {
  outline: none;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  width: 32px;
  height: 32px;
  background: #452D06;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23ffffff' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
}

.article_b .blog_search input[type=search]:focus {
  border-color: #aba07d;
}

/* 左側折疊選單 (.accordion) 直寫色碼修正 (無 ROOT) */
.article_b .blog_le .accordion {
  list-style-type: none;
  margin: auto;
  padding: 0;
  border-radius: 8px;
  border: 1px solid #e8e2d8;
  background: #ffffff;
  overflow: hidden;
}

.article_b .accordion > li {
  transition: all 0.2s ease;
}

.article_b .accordion li + li {
  border-top: 1px solid #e8e2d8;
}

.article_b .accordion li .link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article_b .accordion li .link a {
  cursor: pointer;
  display: block;
  padding: 12px 14px;
  color: #2b251f !important; /* 確保未 Hover 時顏色明確 */
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  transition: color 0.2s ease;
}

.article_b .blog_le .accordion li .link i {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  color: #452D06;
  width: 40px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* 1. 滑鼠 Hover 狀態修正：暖米色背景 (#f3efe9) + 深棕色字體 (#452D06) */
.article_b .blog_le .accordion > li:hover {
  background: #f3efe9 !important;
}

.article_b .blog_le .accordion > li:hover .link a,
.article_b .blog_le .accordion > li:hover .link i {
  color: #452D06 !important;
}

/* 2. 當前選中分類狀態 (.on_this_category)：深棕色背景 (#452D06) + 白字 (#ffffff) */
.article_b .blog_le .accordion > li.on_this_category {
  background: #452D06 !important;
}

.article_b .blog_le .accordion > li.on_this_category .link a,
.article_b .blog_le .accordion > li.on_this_category .link i {
  color: #ffffff !important;
}

/* 子選單 (.submenu) 樣式修復 */
.article_b .submenu {
  display: none;
  background: #faf8f5;
  font-size: 13px;
  padding: 4px 0;
}

.article_b .submenu li {
  background: none !important;
  border: none !important;
}

.article_b .submenu a {
  display: block;
  position: relative;
  color: #665c52 !important;
  padding: 9px 12px 9px 28px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article_b .submenu a i {
  position: absolute;
  top: 50%;
  left: 10px;
  font-size: 10px;
  color: #aba07d;
  transform: translateY(-50%);
}

/* 子選單 Hover 與選中 */
.article_b .submenu li:hover a,
.article_b .submenu li.on_this_category a {
  background: rgba(69, 45, 6, 0.08) !important;
  color: #452D06 !important;
  font-weight: 600;
  padding-left: 32px;
}

/* 右側區域與單欄文章流 (.blog_subbox) */
.article_b h4.blog_category_title {
  color: #452D06;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Noto Serif TC', serif;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e8e2d8;
}

.article_b h4.blog_category_title em {
  font-style: normal;
}

.article_b h4.blog_category_title em:after {
  content: '/';
  display: inline-block;
  vertical-align: middle;
  font-size: 20px;
  color: #aba07d;
  margin: 0 10px;
}

.article_b h4.blog_category_title span {
  font-size: 18px;
  color: #aba07d;
  font-weight: 500;
}

/* 文章卡片項 (.subbox_item) */
.article_b .subbox_item {
  display: block;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e8e2d8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.article_b .subbox_item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(69, 45, 6, 0.08);
  border-color: #aba07d;
}

/* 文章單列內部兩欄 (左圖右文 240px 1fr) */
.article_b .subbox_item a {
  display: flex;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  text-decoration: none;
  padding: 16px;
  box-sizing: border-box;
  position: relative;
  flex-direction: column;
}

.article_b .subbox_item a:after{
  display: none;
}

.article_b .subbox_item a:before{
  display: none;
}

/* 左側縮圖 (.blog_list_le) */
.article_b .blog_list_le {
  border-radius: 8px;
  overflow: hidden;
  background: #f0ece6;
}

.article_b .blog_list_le img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article_b .subbox_item:hover .blog_list_le img {
  transform: scale(1.05);
}

/* 右側內文描述 (.blog_list_ri) */
.article_b .blog_list_ri {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 10px;
}

.article_b .blog_list_ri h5 {
  font-weight: 700;
  font-size: 18px;
  color: #2b251f;
  margin: 0 0 8px 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
  font-family: "Noto Serif TC", serif;
}

.article_b .subbox_item:hover .blog_list_ri h5 {
  color: #452D06;
}

.article_b .blog_list_ri em {
  font-size: 12.5px;
  color: #aba07d;
  font-style: normal;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.article_b .blog_list_ri em::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
}

.article_b .blog_list_ri p {
  font-size: 13.5px;
  color: #665c52;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 平板與中型螢幕 (<= 992px) */
@media screen and (max-width: 992px) {
  /* 轉為上下單欄佈局 */
  .article_b .blog_le,
  .article_b .blog_ri {
    display: block;
    width: 100%;
    margin-bottom: 20px;
  }

  /* 左側邊欄取消 sticky 懸浮 */
  .article_b .blog_le {
    position: static;
  }

  /* 右側內文區域移除左內距 */
  .article_b .blog_ri {
    padding-left: 0;
    min-height: auto;
  }

  /* 手機選單開關按鈕顯示 (如需配合 JS 控制 accordion) */
  .article_b .blog_le a.news_menu_toggle {
    display: flex;
  }
}

/* 手機與小型螢幕 (<= 576px) */
@media screen and (max-width: 576px) {
  .article_b .blog_box {
    padding: 12px 10px;
  }

  /* 文章卡片改為上下圖文結構 */
  .article_b .subbox_item a {
    grid-template-columns: 1fr; /* 從 240px 1fr 改為單欄 */
    gap: 12px;
    padding: 12px;
  }

  /* 文章縮圖高度與寬度適應 */
  .article_b .blog_list_le {
    height: 180px;
  }

  /* 右側文字區域外距調整 */
  .article_b .blog_list_ri {
    padding-right: 0;
  }

  .article_b .blog_list_ri h5 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  /* 分類標題字級調整 */
  .article_b h4.blog_category_title {
    font-size: 20px;
  }

  .article_b h4.blog_category_title span {
    font-size: 15px;
  }
}


/*******其他設定*******/

.blog_back a.article_btn_prev,.blog_back a.article_btn_next {
    background: #faf8f5;
    color: #aba07d;
    border: 1px solid #aba07d;
    border-radius: 10px;
}

.blog_back a.article_btn_back {
    background: #452d06;
    border-radius: 10px;
}

/*******相關文章************/

/* 詮亦法律事務所 - 相關文章風格二 (橫排圖文，純 CSS) */
.news_related {max-width: 900px;margin: 50px auto 100px;padding: 30px;background: #FAF8F5;border-radius: 16px;border: 1px solid #E8E1D7;}
.news_related h6 { text-align: center; font-size: 20px; font-weight: 700; color: #382613; margin-bottom: 24px; position: relative; font-family: "Noto Serif TC", serif; }
.news_related h6 span { position: relative; background: #FAF8F5; padding: 0 20px; z-index: 1; }
.news_related h6::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: #B89358; opacity: 0.4; }
.news_related_list { display: flex; flex-direction: column; gap: 16px; list-style: none; padding: 0; margin: 0 0 24px 0; }
.news_related_list li a { display: flex; align-items: center; background: #ffffff; border: 1px solid #E8E1D7; border-radius: 12px; overflow: hidden; text-decoration: none; transition: all 0.3s ease; padding-right: 24px; }
.news_related_list li a:hover { border-color: #B89358; box-shadow: 0 8px 20px rgba(184, 147, 88, 0.15); transform: translateX(4px); }
.news_related_list li figure { width: 220px; height: 130px; margin: 0; flex-shrink: 0; overflow: hidden; }
.news_related_list li figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.news_related_list li a:hover figure img { transform: scale(1.08); }
.news_related_list li p { margin: 0; padding-left: 20px; font-size: 16px; font-weight: 700; color: #382613; font-family: "Noto Serif TC", serif; flex-grow: 1; line-height: 1.5; }
.news_related_list li a::after { content: '→'; font-size: 18px; color: #B89358; font-weight: bold; transition: transform 0.3s; }
.news_related_list li a:hover::after { transform: translateX(6px); }
.news_related_b_box { display: flex; justify-content: flex-end; padding-top: 12px; }
.news_related_b_box .lastPage { display: inline-block; background: #ffffff; color: #382613; border: 1px solid #E8E1D7; padding: 8px 24px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.news_related_b_box .lastPage:hover { border-color: #B89358; color: #B89358; }
.news_related h6 span:before {
    color: #452d06;
}
@media (max-width: 640px) { .news_related_list li a { flex-direction: column; align-items: stretch; padding-right: 0; } .news_related_list li figure { width: 100%; height: 160px; } .news_related_list li p { padding: 16px; } .news_related_list li a::after { display: none; } }

/*****************首頁文章01*************************************/
/* 詮亦法律事務所 - 成功案例 風格二 (尊榮三欄金邊卡片網格) */
.module_i_news {
    padding: 40px 20px;
    background: linear-gradient(180deg, #FAF8F5 0%, #FFFFFF 100%);
}
.module_i_news .title_i_box {
    text-align: center;
    position: relative;
    margin-bottom: 40px;
}
.module_i_news .title_i_box h6 {
    font-family: 'Cinzel', serif;
    font-size: 12px;
    color: #8C6D3B;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin: 0;
}
.module_i_news .title_i_box h4 {
    font-family: 'Noto Serif TC', serif;
    font-size: 32px;
    font-weight: 800;
    color: #382613;
    margin: 6px 0;
    position: relative;
    display: inline-block;
}
.module_i_news .title_i_box h4::before,
.module_i_news .title_i_box h4::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #B89358;
    vertical-align: middle;
    margin: 0 15px;
}
.module_i_news_list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.module_i_news_list li a {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #E8E1D7;
    border-top: 3px solid #B89358;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.module_i_news_list li a:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(56, 38, 19, 0.12);
}
.module_i_news_list .i_blog_le {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}
.module_i_news_list .i_blog_le img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.module_i_news_list li a:hover .i_blog_le img {
    transform: scale(1.06);
}
.module_i_news_list .i_blog_ri {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.module_i_news_list .i_blog_ri h5 {
    font-family: 'Noto Serif TC', serif;
    font-size: 17px;
    font-weight: 700;
    color: #382613;
    margin: 0 0 10px 0;
    line-height: 1.4;
}
.module_i_news_list .i_blog_ri em {
    font-style: normal;
    font-size: 12px;
    color: #8C6D3B;
    margin-bottom: 12px;
    display: block;
}
.module_i_news_list .i_blog_ri p {
    font-size: 13px;
    color: #666059;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.module_i_news .i_blog_b {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .module_i_news_list ul { grid-template-columns: 1fr; }
}


/*****************首頁文章02*************************************/

/* 詮亦法律事務所 - 最新消息 module_i_news02 風格四 (極簡法律時間軸清單 - 強效修復版) */
.module_i_news02 {
    padding: 36px 32px;
    border: 1px solid #E8E1D7;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(56, 38, 19, 0.03);
    background: #fff;
}
.module_i_news02 .title_i_box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 2px solid #382613;
    padding-bottom: 14px;
    margin-bottom: 32px;
}
.module_i_news02 .title_i_box h4 {
    font-family: 'Noto Serif TC', serif;
    font-size: 26px;
    font-weight: 800;
    color: #382613;
    margin: 0;
}
.module_i_news02 .title_i_box h6 {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    color: #B89358;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
}
.module_i_news02 .module_i_news_list ul {
    list-style: none !important;
    padding: 0 0 0 28px !important;
    margin: 0 !important;
    position: relative;
    border-left: 2px solid #B89358;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}
.module_i_news02 .module_i_news_list li {
    position: relative;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.module_i_news02 .module_i_news_list li::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 3px solid #B89358;
    transition: all 0.3s ease;
    z-index: 2;
}
.module_i_news02 .module_i_news_list li:hover::before {
    background-color: #B89358;
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 10px rgba(184, 147, 88, 0.6);
}
.module_i_news02 .module_i_news_list li a {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 20px !important;
    padding: 16px 20px !important;
    background-color: #FAF8F5;
    border: 1px solid #E8E1D7;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}
.module_i_news02 .module_i_news_list li a:hover {
    background-color: #ffffff;
    border-color: #B89358;
    box-shadow: 0 8px 24px rgba(56, 38, 19, 0.08);
    transform: translateX(4px);
}
.module_i_news02 .i_blog_le {
    width: 140px !important;
    min-width: 140px !important;
    max-width: 140px !important;
    height: 95px !important;
    flex-shrink: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}
.module_i_news02 .i_blog_le img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
}
.module_i_news02 .i_blog_ri {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: left !important;
    padding: 0 !important;
    margin: 0 !important;
}
.module_i_news02 .i_blog_ri h5 {
    font-family: 'Noto Serif TC', serif;
    font-size: 17px;
    font-weight: 700;
    color: #382613;
    margin: 0 0 6px 0 !important;
    line-height: 1.4;
    transition: color 0.3s ease;
}
.module_i_news02 .module_i_news_list li a:hover .i_blog_ri h5 {
    color: #B89358;
}
.module_i_news02 .i_blog_ri em {
    font-style: normal;
    font-size: 12px;
    color: #8C6D3B;
    display: block;
    margin-bottom: 6px !important;
    font-weight: 500;
}
.module_i_news02 .i_blog_ri p {
    font-size: 13.5px;
    color: #666059;
    margin: 0 !important;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.module_i_news02 .i_blog_b {
    margin-top: 32px;
    text-align: right;
}

.module_i_news li a:after,.module_i_news li a:before{display: none;}
@media (max-width: 768px) {
.module_i_news02{margin-top: 50px;}
.module_i_news .i_blog_b {
    margin-top: 0
}
.module_i_news02 .i_blog_b {
    margin-top: 0;
}
}
@media (max-width: 640px) {
    .module_i_news02 .module_i_news_list ul { padding-left: 20px !important; }
    .module_i_news02 .module_i_news_list li::before { left: -27px; }
    .module_i_news02 .module_i_news_list li a { flex-direction: column !important; align-items: flex-start !important; }
    .module_i_news02 .i_blog_le { width: 100% !important; min-width: 100% !important; max-width: 100% !important; height: 160px !important; }
}

/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 by shint at 2023.1.5  */
.product_page .main_part { max-width:1500px;}
/* .product_info_page .main_part { max-width:1200px;} */

.product_page .show_content,
.product_info_page .show_content { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; align-items: flex-start; align-content: flex-start;}
.product_page .product_menu_list { position: relative; width: 220px; letter-spacing: 1px; /*border-right: 1px solid #ccc;*/min-height: 30vw;}
.product_page .products-list,
.product-wrapper { width: calc(100% - 270px);}
ul.page { width: 100%;}

.product-layer-two li ul { position:static; margin-top:5px; /*display:block ;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none ; /*display:block ;*/}
.product-layer-two li li { display: block; padding:0; transition:all ease .3s;}
.product-layer-two li li a{ padding:5px 10px;}
.product-layer-two li li:hover > a { background:#fff; color:#ad925e;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc; padding-bottom: 5px;}
.product-layer-two > li ul > li + li { margin-top:5px;}

.product_info_page .product-layer-two { display: none;}
.product_info_page .products-list,
.product-wrapper { width: 100%;}

.product-layer-two li li:hover{ margin-left: 15px;}
.product-layer-two li li > a:before { content: ""; position: absolute; width: 12px; height: 8px; background: transparent; left: 0; margin-left: -20px; top: 50%; margin-top: -4px; clip-path: polygon(0 0, 100% 50% , 0 100%);}
.product-layer-two li li:hover > a:before { background:#ad925e;}

.product_info_page .half_box { width: 100%; float: none; padding-right: 0;}
.product_info_page .half_box li.btn_blankTop { margin-top: 50px; justify-content: space-between; display: flex;}
.product_info_page .half_box li.btn_blankTop input { width: calc(50% - 10px); background-image: none; padding: 0; text-align: center;}
@media screen and (max-width: 1200px) {
}
@media screen and (max-width: 980px) {
}
@media screen and (max-width: 768px) {
.product_menu_list,
.products-list,
.product-wrapper { width: 100%;}
.product-layer-two { margin-right: 0; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); grid-gap: 5px;}
.product_page .product-layer-two,
.product_page .products-list { width: 100%; border-right: none;}
.product_page .product_menu_list>h5{display: block;}

.product_page .show_content > a { order: 1;}
.product_page ul.products-list { order: 2;}
.product_page ul.page { order: 3;}
.product_page .product_menu_list {width: 100%; order: 0; min-height: unset;}
}
@media screen and (max-width: 600px) {
}

/*購物車外層**************************************/

/* ===================================================
   方案 4：無圖純字高雅列表 (自動 CSS 序號 + RWD)
   =================================================== */


.show_content .product_menu_list {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 90px;
    background-color: #FAF8F5;
    border: 1px solid #EAE5D9;
    border-radius: 12px;
    padding: 22px;
}

.show_content .product_menu_list h5 {
    font-size: 17px;
    color: #222;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 2px solid #ADA17E;
}

.show_content .product_menu_list .product-layer-two {
    list-style: none;
    padding: 0;
    margin: 0;
}
.show_content .product_menu_list .product-layer-two > li a {
    display: block;
    padding: 10px 12px;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
    background: #afa084;
}

.show_content .product_menu_list .product-layer-two > li a:hover,
.show_content .product_menu_list .product-layer-two > li.active > a {
    background-color: #FFFFFF;
    color: #ADA17E;
    font-weight: 600;
}

.product_info_page .show_content .product_menu_list
{display: none;}

/* 隱藏圖片，轉為純字列 */
.show_content .products-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-top: 2px solid #ADA17E;
    counter-reset: article-counter;
    gap: 0;
}

.show_content .products-list .item {
    position: static;
    width: 100%;
    border-bottom: 1px solid #EAEEA6;
    border-bottom-color: #EFECE6;
}

.show_content .products-list .item a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 18px;
    height: auto;
    text-decoration: none;
    background-color: transparent;
    transition: all 0.3s ease;
}

.show_content .products-list .item a:hover {
    background-color: #FAF8F5;
    padding-left: 26px;
}

.show_content .products-list .item a > * {
    width: auto;
}

.show_content .products-list .pic {
    display: none;
}

/* CSS 精品自動號碼 (01, 02...) */
.show_content .products-list .item a::before {
    counter-increment: article-counter;
    content: counter(article-counter, decimal-leading-zero);
    font-family: 'Noto Serif TC', serif;
    font-size: 16px;
    font-weight: 700;
    color: #ADA17E;
    margin-right: 22px;
}

.show_content .products-list .name {
    flex: 1;
    font-family: 'Noto Serif TC', serif;
    font-size: 16px;
    font-weight: 600;
    color: #222222;
    margin: 0;
    height: auto;
    padding-right: 20px;
    overflow: visible;
    white-space: normal;
    display: block;
    -webkit-line-clamp: unset;
}

.show_content .products-list .item a:hover .name {
    color: #8C7F5E;
}

.show_content .products-list .more {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    width: auto;
    padding: 6px 18px;
    font-size: 13px;
    color: #ADA17E;
    border: 1px solid #ADA17E;
    border-radius: 20px;
    white-space: nowrap;
    background: transparent;
}

.show_content .products-list .item a:hover .more {
    background-color: #ADA17E;
    color: #FFFFFF;
}

@media (max-width: 992px) {
    .show_content {
        flex-direction: column;
    }
    .show_content .product_menu_list {
        width: 100%;
        position: static;
    }
}

@media (max-width: 640px) {
    .show_content .products-list .item a {
        padding: 16px 10px;
    }
    .show_content .products-list .name {
        font-size: 14.5px;
    }
}


/*購物車內層**************************************/

.product_main {
    display: none;
}
.sidebarBtn{
    display: none;
}
.pd_tabTitle li.activeTab a{
  display: none;
}

.pd_tabTitle li.activeTab::after{
  display: none;
}

.pd_tabTitle li{display: none;}

.prod_related{display: none;}

/*首頁購物車*****************/

/* ===================================================
   方案 1：高質感無圖單行橫向條列 (無 !important + 完整 RWD)
   =================================================== */

/* 1. 主標題美化 (Titles) */
.prod_part .i_prod_tit h2 {
    font-family: 'Noto Serif TC', 'Georgia', serif;
    font-size: 34px;
    font-weight: 700;
    color: #1A1A1A;
    letter-spacing: 2px;
}
.prod_part .i_prod_tit span {
    display: block;
    font-size: 14px;
    color: #ADA17E;
    letter-spacing: 4px;
    margin-top: 6px;
    font-weight: 600;
}

/* 2. 列表容器重設 (Grid -> High-End List) */
.prod_part .productsListBox .products-list,
.pageIndex .productsListBox .products-list {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    padding: 0;
    margin: 30px 0 10px 0;
    border-top: 2px solid #ADA17E;
    border-bottom: 1px solid #EAE8E3;
    counter-reset: article-counter; /* CSS 自動計數器 */
    gap: 0;
}

/* 3. 列表項目 (Items) */
.prod_part .productsListBox .products-list .item {
    position: static;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #F2EFF0;
}
.prod_part .productsListBox .products-list .item:last-child {
    border-bottom: none;
}

/* 4. 連結區塊：橫向 Flex 布局與懸浮動效 */
.prod_part .productsListBox .products-list .item a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    height: auto;
    text-decoration: none;
    background-color: transparent;
    border-left: 0px solid #ADA17E;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}
.prod_part .productsListBox .products-list .item a:hover {
    background-color: #FAF8F5; /* 暖杏奶油底色 */
    padding-left: 32px;
    border-left: 4px solid #ADA17E; /* 左側金棕指示條 */
}

/* ★解除母模 * { width: 100% } 強制換行★ */
.prod_part .productsListBox .products-list .item a > * {
    width: auto;
}

/* 5. 隱藏圖片 (Hide Picture) */
.prod_part .productsListBox .products-list .item .pic {
    display: none;
}

/* 6. 純 CSS 精品序號 (01, 02, 03) - 無需修改 HTML */
.prod_part .productsListBox .products-list .item a::before {
    counter-increment: article-counter;
    content: counter(article-counter, decimal-leading-zero);
    font-family: 'Noto Serif TC', 'Georgia', serif;
    font-size: 15px;
    font-weight: 700;
    color: #ADA17E;
    margin-right: 24px;
    letter-spacing: 1px;
    opacity: 0.85;
    transition: all 0.3s ease;
}
.prod_part .productsListBox .products-list .item a:hover::before {
    color: #7A6F52;
    transform: scale(1.1);
}

/* 7. 文章標題 (.name) 高質感字型設計 */
.prod_part .productsListBox .products-list .item .name {
    font-family: 'Noto Serif TC', -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #2A2A2A;
    height: auto;
    margin: 0;
    line-height: 1.6;
    flex: 1;
    padding-right: 28px;
    display: block;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    -webkit-line-clamp: unset;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}
.prod_part .productsListBox .products-list .item a:hover .name {
    color: #8C7C57;
}

/* 8. 按鈕 (.more)：重構解開母模絕對定位與 Centering */
.prod_part .productsListBox .products-list .item .more {
    position: static;
    transform: none;
    left: auto;
    bottom: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 6px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: #ADA17E;
    border: 1px solid #ADA17E;
    border-radius: 20px;
    white-space: nowrap;
    background: transparent;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.prod_part .productsListBox .products-list .item a:hover .more {
    background-color: #ADA17E;
    color: #FFFFFF;
    letter-spacing: 2px;
    box-shadow: 0 4px 12px rgba(173, 161, 126, 0.25);
}

/* 9. 查看更多按鈕整體美化 (.i_prod_b) */

.prod_part .i_prod_b a.animated-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 38px;
    background-color: #ADA17E;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.prod_part .i_prod_b a.animated-arrow:hover {
    background-color: #8F825F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(173, 161, 126, 0.3);
}

/* ===================================================
   RWD 響應式手機板適配 (Screen <= 640px)
   =================================================== */
@media (max-width: 640px) {
    .prod_part .productsListBox .products-list .item a {
        padding: 16px 12px;
    }
    .prod_part .productsListBox .products-list .item a:hover {
        padding-left: 18px;
    }
    .prod_part .productsListBox .products-list .item a::before {
        margin-right: 14px;
        font-size: 13.5px;
    }
    .prod_part .productsListBox .products-list .item .name {
        font-size: 14.5px;
        padding-right: 12px;
    }
    .prod_part .productsListBox .products-list .item .more {
        padding: 4px 12px;
        font-size: 12px;
        border-radius: 14px;
    }
}

/*按鈕*/

/* Style 3: 精品圓角與柔影 */
.i_prod_b a.animated-arrow,
a.animated-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 54px;
    background: linear-gradient(135deg, #B5A886 0%, #9C8F6D 100%);
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(181, 168, 134, 0.35);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.i_prod_b a.animated-arrow i.fa-solid,
.i_prod_b a.animated-arrow .arrow,
a.animated-arrow i.fa-solid,
a.animated-arrow .arrow {
    position: static;
    transform: none;
    margin-left: 12px;
    width: 28px;
    height: 28px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.35s ease;
}

.i_prod_b a.animated-arrow:hover,
a.animated-arrow:hover {
    background: linear-gradient(135deg, #A39674 0%, #8A7D5C 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(163, 150, 116, 0.45);
}

.i_prod_b a.animated-arrow:hover i.fa-solid,
.i_prod_b a.animated-arrow:hover .arrow,
a.animated-arrow:hover i.fa-solid,
a.animated-arrow:hover .arrow {
    background-color: #FFFFFF;
    color: #8A7D5C;
    transform: translateX(4px);
}


/********分隔線**************************************************************/


/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}


/*大圖*************************************/

/* 1. 公共基礎設定 */
/* 1. 基礎與退場狀態（未激活 / Slide 離場時） */
.swiper-banner .swiper-slide img {

  animation: none;
}


/*大圖1*/

.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: url(https://pic03.eapple.com.tw/chuanyilawyer/ppl1.png) no-repeat right/contain;
    padding-bottom: calc(100% / 1 * 0.12);
    z-index: 99;
    animation:fade-in-right .6s cubic-bezier(.39,.575,.565,1.000) both;
    animation-delay: .5s;
}

.bannerindex .swiper-slide.swiper-slide-active:nth-child(1):after {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: url(https://pic03.eapple.com.tw/chuanyilawyer/title1.svg) no-repeat right/contain;
    padding-bottom: calc(100% / 1 * 0.12);
    opacity: 0;
    animation: animDepthTitle 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    animation-delay: 1s;
}

/*大圖2*/
.bannerindex .swiper-slide.swiper-slide-active:nth-child(2):before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: url(https://pic03.eapple.com.tw/chuanyilawyer/ppl2.png) no-repeat right/contain;
    padding-bottom: calc(100% / 1 * 0.12);
    z-index: 99;
animation:fade-in-left .6s cubic-bezier(.39,.575,.565,1.000) both;
    animation-delay: .5s;
}

.bannerindex .swiper-slide.swiper-slide-active:nth-child(2):after {
    content: ""; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: url(https://pic03.eapple.com.tw/chuanyilawyer/title2.svg) no-repeat right/contain;
    padding-bottom: calc(100% / 1 * 0.12);
    opacity: 0;
    animation: animDepthTitle 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
    animation-delay: 1s;
}

.bannerindex .ban_btn{
  background-image: url(https://pic03.eapple.com.tw/chuanyilawyer/buttom.svg);
  width: clamp(100px,18vw,320px);
  aspect-ratio: 3.4 / 1;
  background-position: center;
  background-size: cover;
  transition: all .4s ease;
  position: absolute;
  z-index: 100;
}
.bannerindex .swiper-slide.swiper-slide-active .ban_btn{
  opacity: 0;
  animation: animDepthTitle 2s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
  animation-delay: 1s;
}
.bannerindex .ban_btn:hover{
  background-image: url(https://pic03.eapple.com.tw/chuanyilawyer/buttom-h.svg);
}
.bannerindex .ban_btn01{
  left: 10vw;
  bottom: 9vw;
}
.bannerindex .ban_btn02{
  right: 24vw;
  bottom: 11vw;
}


@keyframes fade-in-left {
  0% {
    -webkit-transform: translateX(-50px);
            transform: translateX(-50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fade-in-right {
  0% {
    -webkit-transform: translateX(50px);
            transform: translateX(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
    opacity: 1;
  }
}


@keyframes animDepthTitle {
    from {
        opacity: 0;
        transform: translateY(-20px);
        filter: brightness(1.8);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: brightness(1);
    }
}


/*按鈕*/




/********分隔線**************************************************************/

/*內頁BANNER 設定*/
/* 詮亦法律事務所 - Banner 風格二 (雅緻米金雙框) */
.banner {
    font-size: 40px;
    padding: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    min-height: 240px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    background-color: #FAF8F5;
    background-image: radial-gradient(#E8E1D7 1px, transparent 1px), linear-gradient(to bottom, #FAF8F5, #ffffff);
    background-size: 20px 20px, 100% 100%;
    border-bottom: 1px solid #E8E1D7;
}
.banner h5 {
    margin: 0;
    font-family: "Noto Serif TC", serif;
    font-size: 36px;
    font-weight: 700;
    color: #382613;
    letter-spacing: 3px;
    padding: 24px 50px;
    border: 1px solid #B89358;
    position: relative;
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 10px 25px rgba(56, 38, 19, 0.05);
    border-radius: 4px;
}
.banner h5::before {
    content: '';
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: 12px;
    right: 12px;
    border-top: 1px solid #382613;
    border-bottom: 1px solid #382613;
    pointer-events: none;
}
.banner h5::after {
    content: '';
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #8C6D3B;
    letter-spacing: 5px;
    margin-top: 6px;
}
.banner.banF h5::after {content: 'LEGAL ARTICLES';}
.banner.banC h5::after {content: 'CONTACT US';}
.article_a .banner.banblog h5::after {content: 'CASE STUDIES';}
.article_b .banner.banblog h5::after {content: 'NEWS';}

/*********************表單****************/

.contact_content .information_left{
  display: none;
}
.contact_form li .form__label {
    text-align: left;
        max-width: 100%;
}
.contact_content {
    display: flex;
    justify-content: center;
    padding-bottom: 100px;
}

.contact_content .information_right {
    width: 1000px;
    padding-left: 30px;
}

.information_right {
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF8F5 100%);
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid #E8E1D7;
    box-shadow: 0 15px 35px rgba(56, 38, 19, 0.06);
}
.information_right h4.blank_letter {
    font-family: 'Noto Serif TC', serif;
    font-size: 26px;
    font-weight: 800;
    color: #382613;
    margin: 0 0 28px 0;
    text-align: center;
}
.information_right h4 .note.red {
    display: block;
    font-size: 12px;
    color: #B89358;
    font-weight: 500;
    margin-top: 4px;
    font-family: 'Noto Sans TC', sans-serif;
}
.information_right ul.contact_form {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.information_right ul.contact_form li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.information_right .form__label {
    font-size: 13.5px;
    font-weight: 700;
    color: #382613;
    padding-left: 4px;
}
.information_right .form__label .star.red {
    color: #B89358;
    margin-right: 3px;
}
.information_right .form__insert input.noborder,
.information_right .form__insert textarea.noborder {
    width: 100%;
    padding: 13px 16px;
    background: #FAF8F5;
    border: 1px solid #E8E1D7;
    border-radius: 12px;
    font-size: 14px;
    color: #382613;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.information_right .form__insert input.noborder:focus,
.information_right .form__insert textarea.noborder:focus {
    background: #ffffff;
    border-color: #B89358;
    box-shadow: 0 0 0 4px rgba(184, 147, 88, 0.12);
}
.information_right .tncode {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px;
    background: #ffffff;
    border: 1px solid #B89358;
    color: #382613;
    font-size: 13px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.information_right .tncode:hover {
    background: #382613;
    color: #B89358;
}
.information_right ul.contact_form li.last {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
    padding-top: 20px;
}
.information_right li.last blockquote,
.information_right li.last cite {
    margin: 0;
    font-style: normal;
}
.information_right li.last blockquote {
    flex: 1;
    border: none;
}
.information_right li.last cite {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #382613 0%, #2A1A0C 100%);
    color: #FAF8F5;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(56, 38, 19, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}
.information_right li.last cite:hover {
    background: linear-gradient(135deg, #B89358 0%, #8C6D3B 100%);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(184, 147, 88, 0.35);
}
.information_right li.last input[type="reset"] {
    width: 100%;
    padding: 14px;
    background: #FAF8F5;
    border: 1px solid #E8E1D7;
    color: #666059;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.information_right li.last input[type="reset"]:hover {
    background: #E8E1D7;
    color: #382613;
}
.information_right li.last input[type="submit"] {
    background: transparent;
    border: none;
    color: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}



@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: flex; }
.footer.with_shopping_mode { padding:30px 0 70px; }
#to_top { bottom:60px;}
}

@media screen and (max-width: 600px) { 
}




