@charset "utf-8";

/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */




/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { margin:0;}
.bannerindex { position:sticky; 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;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

body {    background: url() no-repeat top center fixed;    background-size: cover;}
/*top*/
#to_top {  box-shadow: 0px 0px 10px #bbbbbb82; color: #a49989;  background: #ffffffd6; backdrop-filter: saturate(100%) blur(10px);}
#to_top i.top {    height: 15px;}
#to_top i.top:before, #to_top i.top:after {  height: 10px;  top: 5px; background: #fff;}

/*頁碼*/
.page li a {  width: 30px;  height: 30px;}
.page strong, .page a:hover {  background: #a49989; border: 1px #a49989 solid; }

/*滾輪*/
::-webkit-scrollbar { width: 6px;}/*滾輪寬度*/
::-webkit-scrollbar-button { background: transparent; border-radius: 7px; height: 0;}/*滾輪與視窗上下的間距*/
::-webkit-scrollbar-track-piece { background: #e0e0e0;}/*滾輪軌道背景*/
::-webkit-scrollbar-thumb { border-radius: 3px; background-color: #4e4e4e; border: #4e4e4e;}/*滾輪樣式*/
::-webkit-scrollbar-track { box-shadow: transparent;}/*滾輪軌道樣式*/

/*共用*/
.animated-arrow { background: #a49989; border-radius: 20px;}
.path p, .path p a {  display: none;}



@media screen and (max-width: 768px){ 
  .other_select_page.bodyMobile .other_promotion{display: none;}
  .other_select_page.bodyMobile .promotion_title h2 {display: none;}
  .other_select_page.bodyMobile  ul.page {  display: none;}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
 #content {
	background-image: url(https://pic03.eapple.com.tw/sooncash/bg.jpg);
	background-repeat: repeat;
	background-position: center top;
}

/*大圖*/
#content_main {  margin: 0;}
.bannerindex { position: relative; height: auto;}
.swiper-banner { position: static; margin: 0; height: auto;}
.swiper-slide { padding: 0px !important;background-color: #f5f5f3; /* 或是你的主色系 */
    overflow: hidden;}
.swiper-slide img { height: auto;}
.swiper-pagination { display: none;}
.swiper-slide { position: relative;}
.bannerindex:before {content: ""; position: absolute;  z-index: 999; pointer-events: none;}
.bannerindex:after {content: ""; position: absolute;  z-index: 999; pointer-events: none;}
@media screen and (max-width: 768px) {
    .bannerindex { padding:0; margin:0;}
    }

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*選單設定*/
.main_header_area .container { max-width: 1600px;}
.nav-menu {    margin: 0;}

..main_header_area .container {
    max-width: 97%;
    transition: all 1s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.sticky .main_header_area .container {
    max-width: 95%;
    transition: all 1s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.nav-menu>li:not(.tp_links) {
    padding-right: 15px;
}

.nav-menu>li:hover>a,
.nav-menu>li.active>a,
.nav-menu>li.focus>a {
    color: #474747;
}

.nav-dropdown>li:hover>a,
.nav-dropdown>li.focus>a {
    color: #474747;
}

.nav-dropdown>li {
    text-align: center;
}

.pageIndex .header_area {
     width: 100%;
    padding: 0;
    background: transparent;
}
.header_area {
   width: 100%;
    padding: 0;
    background: #0e2653;
}

.header_area.sticky {
      background: rgb(249 249 249 / 65%);
    backdrop-filter: saturate(93%) blur(10px);
    transition: all 1.0s ease-in-out;
}

.stellarnav {
    order: 1;
    width: fit-content;
}

.stellarnav ul {
    display: flex;
    justify-content: flex-end;
}

/* 動畫 */
.stellarnav > ul > li{
    padding: 0;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.stellarnav > ul > li::after {
    content: "";
    background: #c28f5b;
    height: 1px;
    width: 50%;
    position: absolute;
    bottom: 0;
    right: 0px;
    left: 25%;
    transform: scale(0, 1);
    transition: 0.5s ease-in-out;
}

.stellarnav > ul > li:hover::after {
    transform: scale(1);
    transition: 0.3s ease-in-out;
}


.pageIndex .stellarnav > ul > li{
    padding: 0px 0;
    opacity: 0;
}
.sticky .stellarnav > ul > li{
    padding: 0;
    transition: all 0.3s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}


.pageIndex .stellarnav > ul > li:nth-of-type(1){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.0s;
}
.pageIndex .stellarnav > ul > li:nth-of-type(2){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.2s;
}
.pageIndex .stellarnav > ul > li:nth-of-type(3){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.4s;
}
.pageIndex .stellarnav > ul > li:nth-of-type(4){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.6s;
}
.pageIndex .stellarnav > ul > li:nth-of-type(5){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.8s;
}
.pageIndex .stellarnav > ul > li:nth-of-type(6){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 2.0s;
}
.pageIndex .stellarnav > ul > li:nth-of-type(7){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 2.2s;
}
.pageIndex .stellarnav > ul > li:nth-of-type(8){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 2.4s;
}

.pageIndex .stellarnav > ul > li:nth-of-type(9){
    animation: nav-down 1.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 2.6s;
}



@keyframes nav-down {
    0%{
        opacity: 0;
        transform: translate(0,-20px);
    }
    100%{
        opacity: 1;
        transform: translate(0,0);
    }
}



/* 購物籃 */

.me_tp_features {
    width: fit-content;
    display: none;
    align-items: center;
    margin: 0;
    order: 3;
}

.tp_links {
    display: flex;
}

.box_search input[type=text] {
    display: none;
}

.box_search input[type=text]:hover {
    color: #fff;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.box_search input[type=text]:focus {
    color: #fff;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.shop_search_btn {
    display: none;
    background: #fff;
    color: #fff;
    font-size: 13px;
    border: none;
    border-radius: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    padding: 4px 15px;
    cursor: pointer;
}

.box_search {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 60%;
    margin-bottom: 0;
    margin-right: 30px;
}

.me_tp_features a {
    margin: 0 0;
}

.me_tp_features a.tp_btn_cart {
    margin-right: 20px;
}

.me_tp_features a.tp_btn_cart span {
    display: none;
}

.me_tp_features a.tp_btn_notice span {
    display: none;
}

.me_tp_features a i {
    margin: 0 3px;
    color: #7f7f7f;
}


/*  */
.header_area {
    transition: all 0.1s;
    height: fit-content;
    transition: all 0.5s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.pageIndex .header_area::before {
    content: "";
    display: block;
    width: 0px;
    height: 0.5px;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 1;
    z-index: 1;
    transition: all 0.1s;
    background: hsl(0deg 0% 100% / 30%);
    animation: nav-line 2.5s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards;
    animation-delay: 1.5s;
}

@keyframes nav-line {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
    
}

.header_area::before {
    content: "";
    display: block;
    width: 100%;
    max-width: 100%;
    height: 0.5px;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 1;
    z-index: 1;
    transition: all 0.1s;
}

.pageIndex .header_area::before {
    opacity: 1;
}


.header_area.sticky::before {
    opacity: 1;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.pageIndex .swiper-wrapper::after {}


.header_area .main_header_area {
    opacity: 1;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.header_area.sticky .main_header_area {
    opacity: 1;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.header_area .navigation {
    padding:17px 0;
    display: flex;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.header_area.sticky .stellarnav>ul>li>a {
    color: #000;
    transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}



@media screen and (max-width: 1024px) {
 
    .header_area .navigation {
        padding: 0;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
        flex-direction: row-reverse;
    }

    .header_area.sticky .navigation {
        padding: 0px 0;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .header_area .stellarnav ul {
        text-align: center;
        padding: 10px 0;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .header_area.sticky .stellarnav ul {
        text-align: center;
        padding: 10px 0;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }
}

@media screen and (max-width: 768px) {
	 .header_area {  position: sticky;}
    .main_header_area .container {        max-width: 95%;    }
    .header_area.sticky {        backdrop-filter: none;    }
    .pageIndex .stellarnav > ul > li{   opacity: 1;}

}

/*  */

.pageIndex .stellarnav>ul>li>a {
    padding: 0;
    text-transform: uppercase;
    position: relative;
    font-size: 18px;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    color: #000;
    opacity: 1;
    letter-spacing: 2px;
    transition: all 0.5s;
}

.stellarnav>ul>li>a {
    padding: 0;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-size: 18px;
    line-height: 40px;
    height: 40px;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
    opacity: 1;
    letter-spacing: 2px;
    transition: all 0.5s;
}

.pageIndex .header_area .stellarnav>ul>li>a:hover {
    color:#0e2653;
    transition: all 0.5s;
}

.pageIndex .header_area.sticky .stellarnav>ul>li>a:hover {
    color: #441c07;
    transition: all 0.5s;
}

.stellarnav>ul>li>a:hover {
   color: #441c07;
    transition: all 0.5s;
    font-weight: 800;
}

.stellarnav>ul>li>a b {
    font-weight: 400;
}

/*  */
.stellarnav li.has-sub>a:after {    display: none;}

/*下拉*/
.nav-dropdown>li>a {
    background: #f7f5f5;
    transition: 0.2s;
    letter-spacing: 1.5px;
    width: 100%;
}

.nav-dropdown>li>a:hover {
    transition: 0.2s;
    background-color: #474747;
    color: #fff
}

.nav-dropdown>li:hover>a .submenu-indicator-chevron,
.nav-dropdown>.focus>a .submenu-indicator-chevron {
    border-color: transparent #fff #fff transparent;
}

.stellarnav li li a {
    padding: 10px 10px;
    border-left: 0;
    color: #000;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}

.stellarnav li li a:hover {
	color: #421b08;
	transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
	font-weight: 600;
}

.stellarnav ul ul {
    background: transparent;
}

.stellarnav>ul>li.has-sub>a {
    padding-right: 0px;
}

.stellarnav li li {
    border: 0;
    border-bottom-width: 0;
    background: rgb(255 255 255 / 50%);
    backdrop-filter: saturate(93%) blur(10px);
    text-align: center;
    opacity: 1;
    pointer-events: all;
    transform: scale(1, 1);
    transition: all 0.5s cubic-bezier(0.73, 0.08, 0.11, 0.99);
    top: 20px;
}



.stellarnav>ul>li {
    width: fit-content;
    text-align: center;
    margin: 0 10px;
}

@media screen and (max-width: 1440px) {
    .header_area .navigation {}

    .nav-brand {     display: inline-block;   }

    .main_header_area .container {}

    .stellarnav>ul>li>a {     margin: 0 5px;   }
}


@media screen and (max-width: 1024px) {
    .header_area .navigation {     padding: 0;     justify-content: space-between;  }
    .stellarnav>ul>li {  margin: 0 0px;    }
    .pageIndex .stellarnav>ul>li>a {  color: #121212;}
}

@media screen and (max-width: 768px) {
   .stellarnav .menu-toggle {
     padding-top: 20px;
    }
    .stellarnav.mobile {
        position: absolute;
        left: 0;
        top: 0px;
        width: auto;
        display: inline-block;
    }

    .stellarnav .menu-toggle span.bars span {
        background: #7d7a7a;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .stellarnav .menu-toggle:after {
        content: 'MENU';
        font-size: 12px;
        color: #7d7a7a;
        display: block;
        transform: scale(0.9);
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .sticky .stellarnav .menu-toggle span.bars span {
       
            transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .sticky .stellarnav .menu-toggle:after {
      
            transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .stellarnav>ul {
        text-align:left;
        padding: 0px 0;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background:#c28f5b;
        color: #fff;
    }

    .stellarnav .icon-close:before {
        border-bottom: solid 3px #fff;
    }

    .stellarnav .icon-close:after {
        border-bottom: solid 3px #fff;
    }

    .stellarnav.mobile.right>ul,
    .stellarnav.mobile.left>ul {
        border-right: 0px #eee solid;
        background-color: #fff;
    }

    .stellarnav.mobile>ul>li>a {
        padding: 10px 10px;
        border: 0;
    }

    .stellarnav.mobile>ul>li>a b:nth-child(2) {        letter-spacing: 2px;    }

    .stellarnav.mobile li.open {        background: #fff;    }
    .stellarnav.mobile ul ul {        background-color:#c6d5ef;    }

    .stellarnav.mobile>ul>li {
        width: 100%;
        border-bottom: 1px #c5c5c5  solid;
        padding: 10px 0;
    }

    .stellarnav.mobile li a {
        border-bottom: 0;
        background-color: transparent;text-align: left;
    }

    .stellarnav>ul>li>ul>li>a {
        background-color: #fff;
        border: 0;
        padding: 15px 15px;
      
    }

    .stellarnav>ul>li>ul>li {
        border: 0;
        background-color: #fff;
    }

    .stellarnav.mobile ul ul li {
        background-color:#f9f9f9;
    }

    .stellarnav.mobile li.open li.open {
        background: #fff;
        padding: 3px;
    }

    .stellarnav.mobile li li.has-sub a {
          border: 0;text-align: left;
		  padding: 10px 43px 18px 10px;
    }
	.stellarnav li li a:hover {text-align: left;}   

    .stellarnav a.dd-toggle .icon-plus:after {
        border-bottom: solid 3px #474747;
    }

    .stellarnav a.dd-toggle .icon-plus:before {
        border-bottom: solid 3px #474747;
    }

    .header_area .stellarnav>ul>li>a {
        color: #666666;
        text-align: left;
            transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .header_area.sticky .stellarnav ul {
        text-align: left;
        padding: 0;
        transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .stellarnav.mobile>ul {    border-top: 0;    }
    .stellarnav .dd-toggle {    top: 17px;    }
    .stellarnav a.dd-toggle .icon-plus:before {   width: 15px;    }
    .stellarnav a.dd-toggle .icon-plus::after {    width: 15px;   }
    .header_area.sticky .stellarnav>ul>li>a {
        color: #666666;
            transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }

    .header_area .stellarnav ul {
      text-align: center;
      padding: 0;
      box-shadow: 5px 0px 5px #a8a8a870;
      transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
    }
}


/*預設解除背景輪播*/
#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;}
.stellarnav a.dd-toggle .icon-plus {display: inline;}
.stellarnav.mobile > ul > li > a.dd-toggle {padding: 10px;}
.stellarnav li li a {
	color: #121d43;
	font-weight: 500;
}
}

/* --------------------------------------------------
   共同：文字圖層（::before）＋白底面板（::after）
   需求：
   - after：從右 0 往左推出來、矮一點、左邊圓角 100%
   - before：文字圖保持柔和飄入＋呼吸
-------------------------------------------------- */
/* --------------------------------------------------
   共同：文字圖層（::before）＋白底面板（::after）
-------------------------------------------------- */

.pageIndex .bannerindex .swiper-slide::before,
.pageIndex .bannerindex .swiper-slide::after{
  content: "";
  position: absolute;
  pointer-events: none;
}

/* --------------------------------------------------
   文字圖層（::before）
-------------------------------------------------- */
.pageIndex .bannerindex .swiper-slide::before{
  z-index: 9999;
  background: center / contain no-repeat;

  top: 0;
  right: 0;
  width: 100%;
  height: 100%;

  opacity: 0;
  transform: translate3d(-80px, 0, 0);

  filter: none;
  backface-visibility: hidden;
}

/* --------------------------------------------------
   白底面板圖層（::after）
-------------------------------------------------- */
.pageIndex .bannerindex .swiper-slide::after{
  z-index: 9998;
  background: center / contain no-repeat;

  top: 0%;
  width: 100%;
  height: 100%;

  opacity: 0;
  filter: none;
  backface-visibility: hidden;
}

/* --------------------------------------------------
   ACTIVE → before 文字滑入
-------------------------------------------------- */
.pageIndex .bannerindex .swiper-slide-active::before{
  animation: textSlideInLeft .9s cubic-bezier(.22, .8, .25, 1) .18s forwards;
}

/* --------------------------------------------------
   第 1 張 Banner
   text3：從右邊滑進來
-------------------------------------------------- */
.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active::before{
  background-image: url(https://pic03.eapple.com.tw/sooncash/text1.png);
  animation-name: textSlideInLeft;
}


.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active::after{
  background-image: url(https://pic03.eapple.com.tw/sooncash/text2.png);
  animation: panelSlideInRight .85s cubic-bezier(.22, .8, .25, 1) forwards;
}


/* --------------------------------------------------
   after：text3 從右往左推出
-------------------------------------------------- */
@keyframes panelSlideInRight{
  0%{
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }

  100%{
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* --------------------------------------------------
   after：text4 從左往右推出
-------------------------------------------------- */
@keyframes panelSlideInLeft{
  0%{
    opacity: 0;
    transform: translate3d(-100%, 0, 0);
  }

  100%{
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* --------------------------------------------------
   before：文字從左滑入
-------------------------------------------------- */
@keyframes textSlideInLeft{
  0%{
    opacity: 0;
    transform: translate3d(-90px, 0, 0);
  }

  100%{
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* --------------------------------------------------
   before：文字從右滑入
-------------------------------------------------- */
@keyframes textSlideInRight{
  0%{
    opacity: 0;
    transform: translate3d(90px, 0, 0);
  }

  100%{
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
/* --------------------------------------------------
   非 active 強制歸位（避免殘影）
-------------------------------------------------- */
.pageIndex .bannerindex .swiper-slide:not(.swiper-slide-active)::before{
  opacity: 0 !important;
  transform: translate3d(0, 60px, 0) scale(1.02) !important;
  filter: blur(6px) !important;
  animation: none !important;
}
.pageIndex .bannerindex .swiper-slide:not(.swiper-slide-active)::after{
  width: 0 !important;
  animation: none !important;
}

/* --------------------------------------------------
   主圖：模糊進場（不卡頓版）
-------------------------------------------------- */
.swiper-banner .swiper-slide img{
  opacity: 0;
  transform: scale(1.1) translateZ(0);
  filter: blur(18px);
  animation: bgSoftIn 0.95s ease-out forwards;

  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes bgSoftIn{
  0%{
    opacity: 0;
    filter: blur(15px);
    transform: scale(1.1) translateZ(0);
  }
  100%{
    opacity: 1;
    filter: blur(0px);
    transform: scale(1) translateZ(0);
  }
}

/* --------------------------------------------------
   文字呼吸：超柔和（不卡）
-------------------------------------------------- */
@keyframes subtlePulse{
  0%, 100%{
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  50%{
    transform: translate3d(0, -5px, 0);
    opacity: 0.9;
  }
}
/* =========================
   LOGO 設定（修正版：縮放更順、不抖動）
   ========================= */

/* 1) Logo 容器（如需可微調寬度/位置） */
.nav-header{
    max-width: 200px;
    position: absolute;
    z-index: 123;
    order: 2;
   
   
    /* 不要 transition: all */
    transition: background-color 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* 2) Logo 圖片：只讓 transform/opacity 進動畫，減少重繪 */
.nav-brand img{
    position: relative;
    top: 0px;
    max-width: 100%;

    /* 只做需要的動畫 */
    transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
                opacity 0.30s ease;

    /* 關鍵：讓縮放走合成層更順 */
    will-change: transform, opacity;
    transform: translateZ(0);          /* 觸發 GPU 合成層 */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transform-origin: center center;
}

/* nav-header 裡面的 img 若也需要一致行為（避免兩套規則互打） */
.nav-header img{
    width: 100%;
    opacity: 1;
    transition: opacity 0.30s ease, transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 3) 首頁入場動畫：只用 transform+opacity */
@keyframes headerslowly{
    0%{
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
    }
    100%{
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.pageIndex .nav-brand{
    display: block;
    width: 100%;
    opacity: 0;
  
}

/* 4) header/nav 區塊：不要用 all */
.header_area,
.header_area .main_header_area,
.header_area .navigation{background-color: #fff;
    transition: background-color 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

/* 5) 基礎狀態 */
.header_area .nav-brand{
    display: block;
    position: relative;
    padding: 0;
    opacity: 1 !important;
}

/* 6) Sticky：縮小 Logo（移除 filter 動畫，避免重繪卡頓） */
.header_area.sticky .nav-brand img{
    transform: translateZ(0) scale(0.9);
}

/* 非 sticky：立刻回到原尺寸（避免延遲造成“卡一下”） */
.header_area:not(.sticky) .nav-brand img{
    transform: translateZ(0) scale(1);
}

/* 7) 你原本的 nav-header img 延遲：保留但縮短，且只做 opacity */
.header_area:not(.sticky) .nav-header img{
    transition-delay: 0s !important;
    opacity: 1;
}
.sticky .nav-header img{
    opacity: 1;
    transition-delay: 0.15s;
}

/* 8) 若使用者偏好減少動態，直接關掉動畫/過渡（更穩） */
@media (prefers-reduced-motion: reduce){
    .nav-brand img,
    .nav-header img,
    .header_area,
    .header_area .main_header_area,
    .header_area .navigation,
    .pageIndex .nav-brand{
        transition: none !important;
        animation: none !important;
    }
}

/* =========================
   RWD
   ========================= */

@media screen and (max-width: 1024px){
      .header_area .nav-header{
        position: relative;
        text-align: center;
        max-width: 270px;
        left: 0%;
        transform: none;
    }

    .header_area .nav-brand{ padding: 0; }

    .pageIndex .nav-header{ transition: all .5s; }

    .nav-brand img{
        max-width: 87%;
        z-index: 100000;

        /* 同樣只動畫 transform/opacity，避免 all */
        transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1),
                    opacity 0.30s ease;

        will-change: transform, opacity;
        transform: translateZ(0);
    }

    .header_area.sticky a.nav-brand::before{
        width: 20%;
        left: 50%;
        transform: translateX(-50%);
        transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
    }

    .stellarnav>ul>li>a{ margin: 0 15px; }
}

@media screen and (max-width: 900px){
    .stellarnav>ul>li>a{ margin: 0 0px; }
}

@media screen and (max-width: 768px){
    .nav-brand{ width: 230px; }

    .nav-brand-m{
        display: block;
        text-align: left;
        padding: 15px 10px;
    }

    .nav-brand-m img{
        max-width: 230px;
        width: 35%;
        transform: translateZ(0);
        will-change: transform, opacity;
    }

    .header_area .main_header_area{
        backdrop-filter: none;
        background-color: #fff;
    }

    .header_area .nav-brand{
        display: inline-block;
        transition: transform 0.35s ease, opacity 0.35s ease;
    }

    .header_area .navigation{
        display: flex;
        justify-content: center;
    }

    .header_area.sticky a.nav-brand::before{ width: 160%; }

    .header_area a.nav-brand::before{ display: none; }
    .header_area.sticky a.nav-brand::before{ display: none; }

    .header_area .nav-header{
        position: relative;
        text-align: center;
        display: block;
        top: 0;
    }

    .nav-header{
        z-index: 0;
        top: -13px;
    }

    .header_area.sticky .main_header_area{
        backdrop-filter: none;
    }

    .me_tp_features{ display: none; }
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/* 商品下拉超過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;}
/* 主分類超過30個但次分類直接顯示 
.stellarnav.desktop li.bigMenu>ul{grid-gap: 10px;}
.stellarnav.desktop li.bigMenu li{border: 0;}
.stellarnav.desktop li.bigMenu>ul>li>a{border: 1px solid #ddd;}
.stellarnav.desktop li.bigMenu ul ul{display: block !important; position: relative; top: 0; background: unset; border: 0;}
.stellarnav.desktop li.bigMenu ul ul li{border: 0;}
 主分類超過30個但次分類直接顯示-結束 */
/* 商品下拉超過30個--結束 */

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*footer/＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.footer .center {
    position: relative;
    max-width: 1400px;
}
.footer_logo {
    width: 225px !important;
}
.footer_logo img { width: 100%; }
.footer { border-top: 0px; padding: 70px 0 0;  font-size: 14px;}
.footer_menu { width: 100%;  display: grid; grid-template-columns: repeat(3, 1fr);}
.footer_menu a {
	border: none;
	text-align: left;
	color: #796c63;
	font-weight: 500;
	padding: 10px 10px;
	transition: all .3s;
	background: NONE;
	border-bottom-width: 1px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: solid;
	border-left-style: none;
	border-bottom-color:#c28f5b;
}
.footer_menu a:hover { background: transparent;  color: #421a0d; font-weight: bold;}
.footer_menu a:nth-child(1) { display: none;}

.footer_info ul { display: flex; justify-content: flex-end;    border-left: 1px solid #c6caf1;}
.footer_info {  padding: 0;  display: grid;    grid-template-columns: 300px 1fr;    grid-gap: 20px;}
.footer_info li { padding: 0px;}
.footer_info li:before { font-size: 18px;  text-transform: uppercase; display: block;  color:#0e0b08;   margin-bottom: 18px;}
.footer_info li:nth-child(1):before { content: "Contact Info"; }
.footer_info li:nth-child(1) { width: 50%;  display: flex;  flex-flow: column;  margin-left: 70px;  padding: 0 17px;  flex-wrap: wrap;  flex-direction: row;}
.footer_info li p {  color: #2c2c2c ; line-height: 160%;  display: inline-block;  width: 100%;  font-size: 15px;}
.footer_info li p a { color: #2c2c2c}
.footer_info li:nth-child(2):before { content: "Sitemap"; }
.footer_info li:nth-child(2) { width:50%;  margin: 0;  border-top: 0px solid #ffffff;  padding-top: 0;}




.footer_info li p.fax:before { content: '服務時間：';}

/*順序*/
.footer_info li p.tel  {order:1 ;}
.footer_info li p.line {order:2;}
.footer_info li p.mail { order: 3;    display: none;}
.footer_info li p.add  {order:4;}


/*footer_logo*/
.footer_logo {
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s ease-in-out;
    background-position: center;
    margin-right: 0;
    width: auto;
}
.copy { text-align: center;  padding: 20px 0;  font-size: 13px;  border-top: 0px;  margin-top: 50px;  background:#431b0a;}
.copy a,.copy p,.total_view{ color: #fff; transition: all 0.5s ease-in-out;}
.copy a:hover { color: #eee3d0;}
#to_top { bottom: 30px; color:#ffffff;  background:#0e2654; box-shadow: 0px 0px 0 rgba(0, 0, 0, 0.1);  border-radius: 50px;}
#to_top i:before, #to_top i:after { background: #ffffff;}

/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.box_link {
    display: none;
    align-items: center;
    justify-content: center;
    max-width: 280px;
    width: 100%;
    left: 0;
    top: 60%;
    flex-direction: row;
}
.box_link a {
    transition: all 0.3s;
    background: #57CFEC;
    width: 20%;
    height: 40px;
    border-radius: 100px;
    font-size: 18px;
    color: #ffffff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
}
.box_link a:hover { background:#7cd685;}

.box_link a.me_tp_line ,.box_link a.me_tp_call ,.box_link a.me_tp_mail { display: none;} 

a.me_tp_mail { display: none;}
/*＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝*/

@media screen and (max-width: 1350px) {
.footer .center { max-width: 90%;}
}
@media screen and (max-width: 1200px) {
.footer_info {  grid-template-columns: 200px 1fr;}
.box_link { max-width: 200px;}
.footer_info li:nth-child(1) { margin-left: 15px;}
}
@media screen and (max-width: 1024px) {
.footer { padding: 32px 0 0;}
.footer .center { max-width: 100%;}
.footer_info { display: flex; flex-direction: column;}
.footer_logo { width: 100%; margin: 0 auto; text-align: center;}
.box_link { left: 40%; top: 34%; }

/*手機板footer*/
.footer_menu a { width: auto; text-align: center;}
.footer_info { padding: 25px 70px 0;}
.footer_info li p { width: calc(100% / 1);}
.footer_info li:nth-child(1) { width: 100%; text-align: justify; padding: 0;}
.footer_info li:nth-child(2) { width: 100%; text-align: left;}
.footer_info ul { width: calc(100% - 0px); margin: 5% 0 0;  border-left: 0px;}
#bottom_menu li:nth-child(1) { border-right: 1px solid #ddd;}
#bottom_menu li:nth-child(2) { border-right: 1px solid #ddd;}
#bottom_menu li:nth-child(1) {width: 100%!important; border-right: 1px solid #ddd; }
#bottom_menu li:nth-child(2) { display:none !important;}
#bottom_menu li:nth-child(3) { display:none !important;}

}
@media screen and (max-width:768px) {
    .box_link{ left: 35%;}
}
@media screen and (max-width:766px) {
.footer_info ul { width: calc(100% - 0px);  margin: 0 0; display: flex; flex-direction: column; }
.footer_info li:nth-child(1) { width: 100%;  text-align: justify;  padding:0px 0px 25px;}
.footer_info li:nth-child(2) { margin-left: 15px; }

/*Footer/＝＝＝＝＝*/
#to_top { bottom:120px;}
.footer_info { justify-content: center;}
.footer_logo { height: auto; margin: 0 0; background-position: left;}
.box_link {  left: 10px; top: 0; justify-content: flex-start;}
}
@media screen and (max-width: 600px) {
.copy{ margin-top: 0px;}
.box_link { text-align: center;}
.footer_info { padding: 20px 45px 16px;}
.footer_info li:nth-child(2) { padding: 20px 0;}
}
@media screen and (max-width: 480px) {
.copy { margin-top: 0;}
.footer_info li:nth-child(2){ margin-left: 5px;}
.footer_info li:nth-child(1){ margin-left: 5px;}
.box_link{ left: 4px;}
}

/*按鈕/＝＝＝＝＝*/
.animated-arrow {
    background: #5584dd;font-size: 15px;
}
.animated-arrow {	
    height: 30px;
    line-height: 30px;
    width: 185px;}

.contact_form li.last cite,
.contact_form li.last blockquote {
       position: relative;
    font-weight: bold;
    text-align: center;
    background: #a2a2a2;
    border-radius: 30px;
    padding: 9px 32px;
    text-decoration: none;
    transition: .3s;
    width: 180px;
    color: #fff;
    border: none;
    margin: 0 5px;
}
.contact_content {
    width: 80%;
}
.contact_form li:nth-child(n+2){
    padding-top: 20px;
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*內頁BANNER 設定*/
/* 內頁 BANNER 設定 (修改版) */
.banner {
    height: 370px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    justify-content: center;
    overflow: hidden;
    align-items: center;
}
.banner:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://pic03.eapple.com.tw/sooncash/banner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    /* 動畫設定 */
    animation: bgZoom 30s linear infinite;
}

@keyframes bgZoom {
    0% { background-size: 100% 100%; }
    50% { background-size: 110% 110%; } /* 稍微放大背景比例 */
    100% { background-size: 100% 100%; }
}
.banner h5 {
    position: absolute;
    /* 設定漸層背景：深色 -> 亮白色 -> 深色 */
    background: linear-gradient(
        to right, 
        #fff 20%, 
        #c28f5b 40%, 
        #fff 60%
    );
    background-size: 200% auto; /* 讓背景寬度加倍，以便移動 */
    -webkit-background-clip: text; /* 將背景裁切成文字形狀 */
    -webkit-text-fill-color: transparent; /* 讓文字顏色透明，顯示背後的漸層 */
    
    /* 原有樣式 */
    color: #fff;
    text-align: center;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 0.2em;
    z-index: 10;
    /* 執行閃爍動畫 */
    animation: shine 3s linear infinite;
}

/* 定義光影移動動畫 */
@keyframes shine {
    to {
        background-position: 200% center;
    }
}
.banner.banB {display:none;}


@media screen and (max-width: 1024px) {
  .banner {   font-size: 33px;     min-height: 255px;}
  .banner:before {
    background-position: left;}
}
@media screen and (max-width: 600px) {
  .banner { font-size: 7vw;    max-height: 60px; letter-spacing: 2px; min-height: 200px;}
  .banner h5 {    font-size: 30px;}
  }

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*首頁促銷方案*/
.news_part {
    background-color:#fafaf3;
    background-image: 
        linear-gradient(135deg, rgba(0,0,0,.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0,0,0,.05) 25%, transparent 25%),
        linear-gradient(135deg, rgba(0,0,0,.03) 75%, transparent 75%),
        linear-gradient(45deg, rgba(0,0,0,.03) 75%, transparent 75%);
        background-size: 3px 3px;
}
.news_part { padding: 100px 20px;}
.news_list ul li p { color: #323232;font-size: 18px;}
.news_part .title_i_box h4 {
	font-family: "Noto Serif TC", sans-serif;
	font-size: 28px;
	color: #5F1800;
	font-weight: 600;
	letter-spacing: 3px;
    /* 確保 h4 元素能與 after 元素進行基線對齊 */
    display: inline-block; 
}

.news_part .title_i_box h4:after {
	content: " news";
	font-family: "Microsoft JhengHei", "微軟正黑體", sans-serif;
	font-size: 25px;
	color: #323232;
    font-weight: normal;     
     vertical-align: middle;     
    letter-spacing: normal; }
.i_news_b a {  border-radius: 20px;}
.i_news_b a:hover {    background: #a49989;}
.news_list ul li { border:none;   border-bottom: none;}
.news_list ul li:hover { }
.news_list ul li a{
  border: 1px #fffcf8 solid;
  margin-bottom: 8px;
  border-radius: 10px;
  /*box-shadow: 0px 2px 5px #b1b1b161;*/
  background: #ffffff;
}
.news_list ul li a:hover {   background: #a49989;}
.news_list ul li a:hover span {   color: #fff;}
.news_list ul li a:hover p {   color: #ffffff;}
.news_list ul li p:after {  transform: translateX(-50%) translateY(-50%);}
.news_list ul li a:hover p:after {   color: #fff;}

/*促銷方案*/
.other_promotion {PADDING-TOP: 50px;}
.promotion_title * {  color: #a49989; font-weight: 600;   font-size: 16px;   letter-spacing: 1px;}
.promotion_title { text-align: center;}
.promotion_title h2 {  display: block;  font-size: 30px;     border-bottom: 2px #a49989 solid;  padding: 0px 0px 10px 0px; line-height: 2.5;}
.promotion_title h2 span {   display: none;}
.other_promotion li a {  border: none; border-top: 1px solid #e5e5e5;   }
.other_promotion li a:hover {  background: none;}
.other_promotion li a:before { border: 2px #a49989 solid; border-bottom: none;  border-right: none; border-left: none;}
.other_promotion li a:after { display: none;}

@media screen and (max-width: 768px) {
  .news_part {  margin: 20px auto;     padding: 40px 20px;  width: 90%;}
  .news_list ul li {   background: #ffffff;}
}
@media screen and (max-width: 600px) {
  .news_list ul li a {    border-radius: 20px;   padding: 15px;}
  .news_list ul li p:after {   transform: translateX(0%) translateY(10%);}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*首頁文章*/
.module_i_news section {
    max-width: 1400px;}
.module_i_news_list, .module_i_news_list.swiper {
    padding: 5px 0;
}	
.module_i_news {
	max-width: 100%;
	margin: auto;
	background: #fafaf3;
	position: relative;
	padding-top: 80px;
	padding-right: 5%;
	padding-left: 5%;
	background-color: #fafaf3;
    background-image: linear-gradient(135deg, rgba(0, 0, 0, .05) 25%, transparent 25%), linear-gradient(45deg, rgba(0, 0, 0, .05) 25%, transparent 25%), linear-gradient(135deg, rgba(0, 0, 0, .03) 75%, transparent 75%), linear-gradient(45deg, rgba(0, 0, 0, .03) 75%, transparent 75%);
    background-size: 3px 3px;
}
.module_i_news:last-of-type {  background-color:#fafaf3;
    background-image: 
        linear-gradient(135deg, rgba(0,0,0,.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(0,0,0,.05) 25%, transparent 25%),
        linear-gradient(135deg, rgba(0,0,0,.03) 75%, transparent 75%),
        linear-gradient(45deg, rgba(0,0,0,.03) 75%, transparent 75%);
        background-size: 3px 3px;}
.module_i_news .title_i_box {margin-bottom: 30px;text-align: center;position: relative;display: flex;justify-content: center;}
.module_i_news .title_i_box h4 {
	font-size: 40px;
    color: #5F1800;
	letter-spacing: 0.18em;
	font-weight: bolder;font-family: "Noto Serif TC Medium", sans-serif;
}
.module_i_news01 .title_i_box h4::after {
    content: "Studies";
    font-size: 25px;
    color: #323232;
	display:inline-block;font-family: "微軟正黑體", sans-serif;
}

.module_i_news02 .title_i_box h4::after {
    content: "Articles";
    font-size: 25px;
    color:#323232;
	display:inline-block;font-family: "微軟正黑體", sans-serif;
}
.module_i_news .title_i_box h6 {font-family: 'Libre Baskerville';font-weight: bold;font-size: 100px;
  color: #f5f5f5;position: absolute;transform: translate(-50%, -50%);top: -60%;left: 50%;}
.module_i_news ul{
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 50px auto;}
.module_i_news li{
  width: 23%; }
.module_i_news li:nth-child(n+5){display: none;}
.module_i_news li a {display: flex;flex-direction: column;overflow: hidden;padding: 10px;background: #ffffff;}
.module_i_news li a:before {content: '+ MORE';font-size: 17px;display: flex;transform: translate(-50%, 0%) scale(0, 0);left: 50%;right: 0;
  bottom: 50%;height: 150px;line-height: 50px;opacity: 0;color: #fff;background: #a49989d9;transition: all .3s;
  width: 150px;border-radius: 100%;text-align: center;justify-content: center;align-items: center;letter-spacing: 0.05em;}
.module_i_news li a:after {display: none;}
.module_i_news li a:hover:before, .module_i_news li a:hover:after {transform: translate(-50%, 0%) scale(1, 1);opacity: 1;}
.i_blog_le{width: 100%; padding: 0;padding-bottom: 100%;height: 0;overflow: hidden;position: relative;}
.i_blog_le img {position: absolute;transform: translate(-50% , -50%);min-height: 100%;object-fit: cover;top: 50%;left: 50%;}
.i_blog_ri {display: flex;flex-direction: column;flex-wrap: wrap;width: 100%;
  background: unset;min-height: 150px;padding: 10px;text-align: center;}
.i_blog_ri h5{font-size: 20px;font-weight: 600 !important;color: #a49989 !important;height: 75px;
  -webkit-line-clamp: 2;letter-spacing: 0.05em;order: 2;line-height: 1.5;padding: 10px 0;}
.i_blog_ri em {color: #C8C9C9 !important; order: 1;margin: 0;}
.i_blog_ri p{line-height: 1;letter-spacing: 0.05em;font-size: 15px;-webkit-line-clamp: 1;order: 3;}
@media screen and (max-width: 1024px){
.module_i_news li {width: 33.333%;margin: 0 0 50px 0;}
.i_blog_ri h5 {font-size: 18px;}
}
@media screen and (max-width: 768px){
.module_i_news {padding:60px 5% 80px;}
.module_i_news .title_i_box h6 {font-size: 80px;}
.module_i_news li {width: 48%;margin: 0 0 30px 0;border-bottom: 0;}
.module_i_news li a:before {font-size: 15px;height: 120px;width: 120px;bottom: 55%;}
.module_i_news_list, .module_i_news_list.swiper { padding: 0px 0;}
.module_i_news .title_i_box h4 {font-size: 28px;}
.title_i_box h4::after {  font-size:12px;}
}
@media screen and (max-width: 600px){
.module_i_news {padding: 50px 5% 50px;}
.module_i_news .title_i_box:before {height: 25px;}
.module_i_news li {width: 100%;}
.module_i_news li a {padding: 5px;}
.i_blog_ri h5 { font-size: 17px;height: 65px;}
.module_i_news li a:before {font-size: 14px;height: 90px;width: 90px;bottom: 60%;}
.module_i_news:last-of-type .title_i_box:before {height: 45px;}
}

/*文章設定*/
/*(新)文章分類*/
/*文章管理*/
h5.blog_le_t {font-size: 20px;letter-spacing: 2px;margin-bottom: 10px;text-align: center;font-family: auto;color: #000;}
h5.blog_le_t em {padding-right: 5px;}
/*大分類*/
.blog_box {display: flex;padding: 0;flex-wrap: wrap;justify-content: space-between;}
.blog_le {width: 18%;padding: 0;}
.blog_ri {width: 78%;padding: 0;}
.blog_subbox{grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));}
.subbox_item{padding: 5px;margin: 0 0 20px 0;}
.subbox_item a {display: flex;flex-direction: column;overflow: hidden;padding: 5px;border: 1px dotted #C8C9C9;}
.subbox_item a:before {
  transform: translate(-50%, 0%);
  left: 50%;
  right: 0;
  bottom: -15%;
  letter-spacing: 2px;
  height: 48px;
  line-height: 48px;
  opacity: 0;
  display: block;
  color: #fff;
  background: #DFB28C;
  width: 100%;
  text-align: center;
}
.subbox_item a:hover:before{bottom: 0;}
.subbox_item a:after {display: none;}
.submenu li.on_this_category a, .submenu a:hover { background: #a49989;}
.blog_list_le{width: 100%; padding: 0;padding-bottom: 100%;height: 0;overflow: hidden;position: relative;}
.blog_list_le img {position: absolute;transform: translate(-50% , -50%);min-height: 100%;object-fit: cover;top: 50%;left: 50%;}
.blog_list_ri {width: 100%;background: #ffffff00;padding: 10px 10px;}
.blog_list_ri h5{font-size: 18px;font-weight: 800 !important;color: #213e76 !important;}
.blog_list_ri em {color: #C8C9C9 !important;}
.blog_list_ri p{line-height: 160%;min-height: 45px;font-size: 14px;-webkit-line-clamp: 2;}
.blog_page h4.blog_category_title, .blog_in_page h4.blog_category_title {font-weight: 500;color: #301e1a;border-bottom: 1px #C8C9C9 solid;letter-spacing: 0.05em;}
.blog_le .accordion {border-radius: 0;border: unset;background: unset;}
.blog_le .accordion > li:hover, .blog_le .accordion > li.on_this_category {    background: #5584dd  !important;}
.accordion li .link {text-align: center;font-weight: normal;letter-spacing: 1px;}
.blog_le .accordion li .link:last-child {border-bottom: 1px solid #C8C9C9;}
.accordion li .link a {color: #3e3a39;}
.blog_search input[type=search] {border-radius: 5px;letter-spacing: 1px;padding: 10px 35px 10px 20px;}
.blog_box_edit * {line-height: 180%;}
.blog_box_edit * iframe {min-height: 500px;}
/*文章內頁按鈕*/
.blog_back {
  display: flex;
  width: 100%;
  text-align: center;
  justify-content: space-between;}
.blog_back a {
  width: 33%;
  padding: 15px;
  border-radius: 5px;
  letter-spacing: 2px;}
.blog_back a.article_btn_back {    background: #ffffff; border: 1px solid #9d9d9d; color: #9d9d9d;}
.blog_back a.article_btn_back:hover {background: #34486d;border: 1px solid #a49989;color: #ffffff;}
.blog_back a.article_btn_prev, .blog_back a.article_btn_next  {background:#7d889d;}
.blog_back a.article_btn_prev:hover, .blog_back a.article_btn_next:hover  {background: #5584dd;}

/*相關推薦*/
.news_related h6 span:before {  color:#213e76;}
.lastPage {  background: #5584dd;}

@media screen and (max-width: 1024px){
.blog_box {flex-direction: column;}
.blog_le, .blog_ri {width: 100%;}
}

@media screen and (max-width: 768px){
.blog_page .main_part {padding: 30px 5%;}
.subbox_item {margin: 0;}
.blog_page h4.blog_category_title{display: none;}
h4.blog_category_title {font-size: 22px;}
.blog_box_edit * {font-size: 16px !important;}
}

@media screen and (max-width: 475px){
.subbox_item { } 
.subbox_item a {align-items: center;}
.blog_box_edit * iframe {min-height: 250px;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/* 相簿管理(有分類) */
.album_page .main_part {
     padding: 100px 20px;
}
/*分類頁面*/
.subalbum-menu {padding: 0;margin: 0;}
.subalbum-menu h2 { font-size: 18px;color: #333;letter-spacing: .6rem;display: none;}
.show-list .show_pic {aspect-ratio: 4 / 5;     border-radius: 10px;}
.show-list .show_pic img {
    transition: transform 0.5s;
}

.show-list .show_pic img:hover {
    animation: breathing 2s ease-in-out infinite;
}

@keyframes breathing {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.show-list .show_name{color: #333;text-align: center;font-weight: 500;height: 40px;margin: 15px 0;font-size: 20px;font-weight: 800;}
.show-list .item .overlay {-webkit-transform: scale(1);transform: scale(1);}
.show-list .item:hover .show_name {color: #b6a292;}
.show-list .item:hover .show_pic img {transform: scale(1.05);filter: grayscale(0);-webkit-filter: grayscale(0);}
/*分類管理*/
.show-list .item:hover .show_name {	color: #000;	}

/*相本頁面*/
.album_info_page .main_part {max-width: 1500px;}
.show-list{grid-gap: 10px;grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));}
.other_subalbum li a p {position: absolute;bottom: 0%; background: #232721c9; padding: 20px 0; color: #fff;text-align: center; width: 100%; border-radius: 0px 0px 10px 10px; transition: all .5s;}
.other_subalbum li:hover a p{color: transparent;background: transparent;} 
.album_fixed_title{background: transparent;}
.other_album {display: none;}
.other_album_choice li {background: #8d759b;padding: 5px 20px;border-radius: 0;font-size: 13px;}
.i_album_list li a p { background: rgb(0 0 0 / 50%);color: #ffffff;}
.i_album_list li div{aspect-ratio: 1 / 1;}
.album_descrip{color: #fff;}
.album_fixed_title{color: #ccc;}

.pic-list { grid-gap: 10px;}
.pic-list .item h6{
	font-size: 15px;
	color: #666;
	line-height: 1.6;
	padding-top: 20;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0; 
	display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pic-list .show_pic {
    width: 100%;
    height: 300px; /* 這裡改成你要的高度 */
    overflow: hidden;
}

.pic-list .show_pic img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: none;transition: transform 0.4s ease;
}
.pic-list .show_pic::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    pointer-events: none;
    transition: background 0.4s ease;
}

.pic-list .show_pic:hover img {
    transform: scale(1.1);
}

.pic-list .show_pic:hover::after {
    background: rgba(255, 255, 255, 0.5);
}
@media sc
reen and (max-width: 1200px) {
.subalbum-menu {padding: 0;margin: 0;}
}
@media screen and (max-width: 980px) {
.subalbum-menu {padding: 0;margin: 0;}
}

@media screen and (max-width: 768px) {
.subalbum-menu {padding: 0;margin: 0;}
}

@media screen and (max-width: 700px){
	/*相本頁面*/
	.show-list {grid-template-columns: 1fr 1fr;}
	.pic-list {
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	padding: 5px;}
    .pic-list .item {padding-bottom: 25px;}
}
@media screen and (max-width: 450px){
	/*相本頁面*/
	.show-list {grid-template-columns: 1fr;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*相本分類全版面 ( 限制最寬2000px
.work_page .main_part { max-width:2000px;}
.work_page .show_content { padding:0; width:100%;}
.work_page .show-list .item { width:33%; display:inline-block; float:none; margin:0; padding:0;}
@media screen and (max-width: 768px) {
.work_page .show-list .item { width:49%;}
}
@media screen and (max-width: 570px) {
.work_page .show-list .item { width:100%;}
}
.work_page .show-list .item a { max-width:100%;}
.work_page .show-list .show_pic { height:auto; line-height:0;}
.work_page .show-list .show_pic img { max-width:100%; max-height:100%;}
.work_page .show-list .show_name { position:absolute; top:50%; right:10%; width:80%; height:auto; line-height:160%; font-size: 20px; color: #FFFFFF !important; border: solid 1px #fff; text-align: center; margin: -20px 0 0 -120px; padding:5px 20px; transition:all ease-in .3s; opacity:0;}
.work_page .show-list .item:hover .show_name {opacity:1;}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*相本列表
.work_info_page .main_part { max-width:2000px;}
.work_info_page .show_content { padding:0; width:100%;}
.work_info_page .subalbum-menu { text-align:center;}
.work_info_page .subalbum-menu h2 { float:none;}
.work_info_page .pic-list .item { margin:0; padding:10px; width:49%; float:none; display:inline-block;}
@media screen and (max-width: 768px) {
.work_info_page .pic-list .item { width:100%;}
}
.work_info_page .pic-list .show_pic { height:auto; line-height:0;}
.work_info_page .pic-list .show_pic img { max-width:100%; max-height:100%;}
.work_info_page .pic-list .item a { max-width:100%; pointer-events: none; cursor: default; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*首頁購物車*/
.i_prod_tit span::before,
.i_video_tit span::before {
    content: "Stock";
    color: #DFB28C;
    font-size: 55px;
    font-family: "Dela Gothic One", sans-serif;
    line-height: 1;
}
.i_prod_tit span, .i_video_tit span {
  font-size: 18px;
  letter-spacing: 2px;
  color: #DFB28C;
  font-weight: 600;
}
/*購物車*/
/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 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);}
.products-list {
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 改這裡 */
    grid-gap: 20px;
}
ul.page { width: 100%;}

.product-layer-two li a {  background: none; padding: 6px 3px;}
.product-layer-two li.active a {  border: none; color: #a49989;}
.product-layer-two li ul { position:static; margin-top:5px; /*display:block !important;*/ width:100%; margin-left:0;}
.product-layer-two li:hover ul { border: none !important; /*display:block !important;*/}
.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: #a49989;}
.product-layer-two > li { width:100%; max-width:100%; padding:0; text-align:left; border-bottom:1px dotted #ccc;     padding: 5px 0px;}
.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%;}

.products-list .item a {   padding-bottom: 0px;}

.products-list .item a .more{    
  border: 0;
  color: #a49989;
  bottom: 120px;
  background: #fff;
  border-radius: 100px; 
  width: 90% !important;
  transition: all .5s;
  font-size: 14px;
  display: none;
}
.products-list .item a:hover .more {  
  display: block; 
  transition: all .5s; 
  background: #ffffffe3;
  color: #a49989;
  box-shadow: 0px 0px 5px #3d3d3d4d;
  font-size: 14px;
}
.products-list .price b {  color: #857376;}
.products-list .pic:after {
    content: '';
    background: #00000000;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all .5s;
}
.products-list .pic:hover:after {
    background: #0000004d;
    transition: all .5s;
}

.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:#a49989;}

.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;}
.related_list li figure { aspect-ratio: 3 / 2;}
/*內頁*/
.inquiry_a1 {    background: #5c2b12;display:none;}
.inquiry_a2 {    background:#8f5a2a;display:none;}
.inquiry_a3 {  background: #a49989;display:none;}
.sidebarBtn {  border: 0 ;}
@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;}
.products-list .item a .more{   bottom: 140px;}
.products-list {grid-template-columns: repeat(2, 1fr);}
}
@media screen and (max-width: 600px) {
.products-list {grid-template-columns: repeat(1, 1fr);}
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


@media screen and (max-width: 768px) {
/* 開啟手機板下方按鈕所需設定 */
#bottom_menu {display: none; }
.footer.with_shopping_mode { padding:30px 0 20px; }
#to_top {     background: #c28f5b;}
}

@media screen and (max-width: 600px) { 
}



.info_fix_links {
    display: flex !important;}
.info_fix>span {display:none;}
.info_fix_links a {
    background: #c49055;}
.info_fix_links a:hover {
    background:#431b0a;}

.info_fix_links {
    position: fixed;
    bottom: 20px;
    right: 12px;
    z-index: 999;
    background-color:#faf7f3;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 滑鼠移上時：發光 + 上浮 */
.info_fix_links:hover {
    background-color: #edece0;
    box-shadow: 0 12px 24px rgba(192, 154, 107, 0.4);
    transform: translateY(-4px);
}

/* 按下去時：壓縮感 */
.info_fix_links:active {
    transform: scale(0.95);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


.edit * {
    line-height: 2.5;
}
@media screen and (max-width: 600px) {
 .contact_form li .form__label {  background: rgb(243 242 240);   }
 .info_fix_links {
    width: 55px;}
 .info_fix_links a {
    display: flex;
    width: 40px;
    height: 40px;}
	}
 .sb_marquee {display: none;}
 
 /* = = = 聯絡表單 = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
.i_contact_box {
    padding: 150px 20px 200px 20px;
}
.contact_content {
    padding: 100px 20px 200px 20px;
}

.contact_page .contact_editbox {
    margin: 0;
    padding: 0;
}

.contact_content .information_left {
        width: 100%;
        padding: 0;
        margin: 20px 0 80px;
}
.contact_content .information_left .blank_letter.i, ul.list_before.info {
    display: none;
}


h4.blank_letter.f {padding-bottom: 15px;position: relative;align-items: flex-start;}
h4.blank_letter.f:before {
        content: "我要估價";
        font-size: 55px;
        margin-left: -4px;
        margin-right: 10px;
        font-weight: 500;
        letter-spacing: 5px;
        padding-right: 10px;
        border-right: 1px #ccc solid;
        }
.contact_form{gap:20px;}
.blank_letter {font-size: 23px; color: #2F2F2F; font-weight: 500; letter-spacing: 2px; text-indent: 2px; background-repeat: no-repeat;}
/*表單最大寬度設定*/
.contact_content .information_right {width: 100%;padding: 40px 6%;background: #fff;border: 1px solid #CCC;}

/*標題*/
.blank_letter { color: #212121;}

/*側邊資訊*/
.list_before {margin-top: 10px;display: flex;flex-direction: row;gap: 40px;}
.list_before.info li{border-left:3px #ccc solid;padding-left: 42px;}
.list_before.info li:before{padding-left:10px;width: fit-content;}
/*表格樣式*/
.contact_form li{grid-template-columns: 1fr;}
.contact_form li .form__label {
    max-width: 100%;
    text-align: left;
}
.contact_form li:has(input[type=radio]) .form__insert{    grid-template-columns: repeat(auto-fill, minmax(13px, 13px) minmax(100px, 1fr));}
.contact_form li input.noborder { border: none; border-bottom: 1px #ddd solid; background: transparent;}/*文字欄*/
.contact_form li textarea.noborder { background: transparent; border: 1px #ddd solid;}/*文字區塊*/
.form select { background: transparent;}/*下拉式*/

/*驗證碼對齊*/
.contact_form li:nth-last-of-type(2) .form__insert { display: inline-flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap;}
.contact_form li:nth-last-of-type(2) input.noborder { border: 1px #ddd solid;}
.captcha { margin-right: 20px;}

/*按鈕*/
.contact_le_map a { background: #c28f5b;}
.contact_form li.last cite {background: #c28f5b;}

@media screen and (max-width: 425px){
    /*聯絡表單*/
    h4.blank_letter.f{
        display: flex;
        flex-direction: column;
        padding: 0;
    }
    h4.blank_letter.f:before{border:0;}
    .contact_form li { padding-left: 0;}
    .contact_form li .form__label { margin-left: 0;}
    .contact_form li .form__insert { width: 100%;}
	.contact_content {
    padding: 0px 20px 200px 20px;
}
}

/* = = = RWD = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
@media screen and (max-width: 425px) { 

    .contact_content {
        margin: auto;
        max-width: 100%;width: 100%;
    }
	
}

.contact_form {
    font-size: 18px;}