@charset "utf-8";
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*預設解除背景輪播*/
#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;}
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*反白顏色*/
/* ----------------- 選取文字 ----------------- */
::selection,
::-moz-selection {
    background-color: #2a5226; /* 選取背景色 */
    color: #fff;               /* 選取文字顏色 */
}

/* ----------------- 滾動條簡潔線條 ----------------- */
body {
    overflow: overlay; /* 保留原本 overflow 設定 */
}

/* 滾動條整體 */
::-webkit-scrollbar {
    width: 6px;           /* 細線風格 */
    background: transparent; /* 背景透明，線條感 */
}

/* 滾動條軌道 */
::-webkit-scrollbar-track {
    background: transparent; /* 無背景，簡潔 */
}

/* 滾動條滑塊 */
::-webkit-scrollbar-thumb {
    background-color: #2a5226; /* 主色線條 */
    border-radius: 3px;         /* 小圓角，線條柔和 */
    border: 1px solid #fff;     /* 外框線條感 */
}

/* 隱藏滾動條按鈕 */
::-webkit-scrollbar-button {
    display: none;
}


/* OP-waiting_action: 白底 + 右上角大樹葉陰影，進場後消失 */
.bannerindex::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff; /* 白底 */
    z-index: 9998;
    animation: OPactionBg 8s cubic-bezier(0.73, 0.08, 0.11, 0.99) forwards; /* 白底停留時間 */
    pointer-events: none;
}

.bannerindex::after {
    content: "";
    display: block;
    width: 80%; /* 大葉影占右上 */
    height: 0;
    padding-bottom: 70%; /* 正方形比例 */
    position: fixed;
    top: 0;
    right: 0;
    background-image: url('https://pic03.eapple.com.tw/gardenartkao/in.png'); /* 大葉影 PNG */
    background-size: 100%; /* 占滿 */
    background-repeat: no-repeat;
    background-position: top right;
    z-index: 9999;
    pointer-events: none;
    /* 進場、輕晃動、最後消失 */
    animation: OPactionLeaf 5s ease-in-out forwards;
}

/* 樹葉進場 -> 輕微漂浮 -> 消失 */
@keyframes OPactionLeaf {
    0%   { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    20%  { opacity: 1; transform: translate(-2px, 2px) rotate(-0.3deg); }
    50%  { transform: translate(2px, -2px) rotate(0.3deg); }
    80%  { transform: translate(-1px, 1px) rotate(-0.2deg); }
    100% { opacity: 0; transform: translate(0, 0) rotate(0deg); }
}

/* 白底淡出 */
@keyframes OPactionBg {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

.bannerindex .swiper-wrapper {
    position: relative;
    overflow: hidden;
}

/* 中央漣漪 */
.bannerindex .swiper-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4); /* 漣漪顏色 */
    transform: translate(-50%, -50%) scale(0);
    filter: blur(2px);
    animation: centerRipple 1.5s ease-out forwards;
    pointer-events: none;
}

@keyframes centerRipple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.4;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}


/* -----------------------------------header------------------------------ */

.main_header_area .container {
    max-width: 1600px;
    padding-top: 20px;
}

.sticky .main_header_area .container {
    padding-top: 0;}

.header_area {
    position: relative;
    background: #f0f0f000;}



.nav-brand {
    max-width: 50%;}

.pageIndex .nav-brand img {
filter: brightness(0) invert(1);
}



/* header 初始隱藏，白底結束後淡入 */
.pageIndex .header_area {
    position: absolute;
    background: #f0f0f000;
    opacity: 0;
    transform: translateY(-20px);
    animation: headerFadeIn 1.5s ease forwards;
    animation-delay: 5s; /* 配合白底與葉子消失 */
}

@keyframes headerFadeIn {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* RWD 調整樹葉大小 */
@media screen and (max-width: 768px) {
    .bannerindex::after { width: 70%; padding-bottom: 70%; top: 0; right: 0; }
}

@media screen and (max-width: 500px) {
    .bannerindex::after { width: 90%; padding-bottom: 90%; top: 0; right: 0; }
}

.header_area.sticky {
    background: rgb(0 0 0 / 22%); 
    backdrop-filter: blur(14px) brightness(1.12);
    -webkit-backdrop-filter: blur(14px) brightness(1.12);
position: sticky;
}




/* 選單 */

.me_tp_features {
    display: none;
}

.stellarnav {
    padding: 5px 5%;
    background-color: transparent;
    height: fit-content;
    transition: all 0.5s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.pageIndex .stellarnav {
    background-color: transparent;
    animation: ac-bar 1s cubic-bezier(0.73, 0.08, 0.11, 0.99) both;
    animation-delay: 1.8s;
}


@keyframes ac-bar {
    0% {
        opacity: 0;
        transform: scale(1, 0);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}



.stellarnav>ul>li>a {
    padding: 0;
    color: #565656;
    font-size: 20px;
    letter-spacing: 3px;
    text-indent: 3px;
}

.pageIndex .stellarnav>ul>li>a {
    color: #fff;
}

.stellarnav>ul>li.has-sub>a {
    padding-right: 0;
}





.stellarnav ul {
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.stellarnav>ul>li>a b:nth-of-type(2) {
    font-weight: 500;
}


@keyframes nav-line {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }

}




/* 動畫 */
.stellarnav>ul>li {
    width: 120px;
    text-align: center;
    padding: 20px 0;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.73, 0.08, 0.11, 0.99);
}

.pageIndex .stellarnav>ul>li {
    padding: 30px 0;
    opacity: 0;
}






.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: 6s;
}

.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: 6.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: 6.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: 6.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: 6.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: 7s;
}

.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: 7.2s;
}


@keyframes nav-down {
    0% {
        opacity: 0;
        transform: translate(0, -20px);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* 選單裝飾 */
.stellarnav li.has-sub > a:after {display: none;}

.stellarnav > ul > li > a::before {
  content: "";
  position: absolute;
  width: 300%;
  height: 300%;
  top: 50%;
  left: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.477) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s, opacity 1s;
  border-radius: 50%;
  opacity: 0;
}

.stellarnav > ul > li > a:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}



/* 首頁 pageIndex 在 1024px 以下排列 */
@media screen and (max-width: 1024px) {

.main_header_area .container {    padding-top: 0;
}
  .pageIndex .navigation {
    display: flex;
    flex-direction: column; /* 垂直排列 */
    align-items: center;    /* 水平置中 */
  }

  .pageIndex .navigation .stellarnav,
  .pageIndex .navigation .nav-header {
    width: 100%;           /* 每個區塊撐滿整行 */
    text-align: center;    /* 文字置中 */
    margin-bottom:0;
    order: 2;
  }

  .pageIndex .navigation .stellarnav{
    width: 100%;           /* 每個區塊撐滿整行 */
    text-align: center;    /* 文字置中 */
    margin-bottom: 10px;   /* 區塊間距 */
    order: 1;
  }

  .pageIndex .navigation .nav-header h1 {
    margin-top: 5px;       /* Logo 標題微調 */
  }

.stellarnav>ul>li>a {font-size: 16px;}
.stellarnav ul {justify-content: center;}
.pageIndex .stellarnav>ul>li {
    padding: 0;}

    
}





/* ================================
   RWD 768 ↓ 關閉所有 header 特效
   ================================ */
@media screen and (max-width: 768px) {

    /* 關閉白底 + 樹葉動畫 (不顯示、不動畫、不蓋住畫面) */
    .bannerindex::before,
    .bannerindex::after {
        display: none !important;
        animation: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* 關掉 header 的淡入動畫 */
    .header_area,
    .pageIndex .header_area {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        position: sticky;
        background: #fff !important;   /* 乾脆直接白底 */
    }

    /* sticky 不要特效、不要模糊、不要亮度 */
    .header_area.sticky {
        background: #fff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* 關掉所有 stellarnav 出場動畫 */
    .stellarnav,
    .pageIndex .stellarnav {
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .stellarnav > ul > li,
    .pageIndex .stellarnav > ul > li {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
        padding: 8px 0 !important;
    }

    /* 選單 hover 波紋不要特效 */
    .stellarnav > ul > li > a::after {
        display: none !important;
    }

    /* LOGO 不反色 */
    .pageIndex .nav-brand img {
        filter: none !important;
    }
.stellarnav>ul>li {
    width: 280px;}
.stellarnav>ul>li>a {color: #000000 !important;}
.nav-brand {
    max-width: 40%;
}
.nav-brand img {margin: auto;}
.stellarnav.mobile .menu-toggle{
        display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
}
    .stellarnav .menu-toggle:after {margin-top: 8px;}
    .stellarnav .menu-toggle span.bars span {height: 1px;}
	.stellarnav.mobile > ul > li > a.dd-toggle{top: 15px;}
	.stellarnav.mobile > ul > li.open > a.dd-toggle{top: 5px;}
	.stellarnav a.dd-toggle .icon-plus:before,.stellarnav a.dd-toggle .icon-plus:after {border-bottom: solid 1px #777;}
	.stellarnav.mobile .close-menu{position: relative;color: transparent;}
	.stellarnav.mobile .close-menu > *{display: none;}
	.stellarnav.mobile .close-menu:before{content: "×";position: absolute;right: 10px;top: 10px;color: #000;
        font-size: 12px;}
    .stellarnav.mobile > ul > li > a b{vertical-align: middle;}
	.stellarnav .menu-toggle span.bars span {height: 2px;width: 28px;background: #000;}
	.stellarnav .menu-toggle:after {display: none;}
	.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {background: transparent;}
	.stellarnav.mobile.left .close-menu {background: #2a5226;width: 32px;height: 32px;margin: 10px 10px 0 auto;
		border-radius: 10px;display: block;}
    .stellarnav.mobile .close-menu:before {font-size: 20px;top: 0;right: 0;display: block;width: 100%;height: 100%;
    	line-height: 30px;text-align: center;color: #fff;padding-left: 1px;}
    .stellarnav.mobile {left: 8px;top: 8px;}
    .stellarnav.mobile li.open {background: #f8f8f8;padding: 0;}
    .stellarnav.mobile li.open li.open {background: #f3f3f3;padding: 0;}
    .stellarnav.mobile li li.has-sub a {padding: 10px 15px;}
    .stellarnav.mobile li.has-sub li a {text-align: left;padding: 8px 15px;}
    .stellarnav.mobile li.has-sub li a.dd-toggle{right: 5px;}
    .stellarnav.mobile li.has-sub li a.dd-toggle:hover {padding-left: 0;text-align: center;background: transparent;}
    .stellarnav.mobile > ul > li {border-bottom: 1px #f6f5f5 solid;}
    .stellarnav.mobile > ul > li > a {color: #333;}
    .stellarnav.mobile > ul > li > a.dd-toggle {top: 5px;}
    .stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after{width: 10px;}
    .stellarnav.mobile > ul > li > ul > li > ul ~ a.dd-toggle .icon-plus {margin: 0 auto;display: block;}
    .stellarnav li.has-sub li a:hover {background: #fff;color: #333;}

}


/*mobile 選單功能*/
#bottom_menu > :nth-child(2),#bottom_menu > :nth-child(3) {
    display: none;
}
/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {
    display: flex;
    padding: 0;
    height: 700px;
    background-image: url(https://pic03.eapple.com.tw/gardenartkao/ban.png);/*主圖*/
    width: 100%;
    background-position: top center;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}


.banner.banA {
    display: none;
}
.banner.banB {
    display: none;
}


@keyframes banner {
	from {
        transform: translate( -70%, 0);

	}
	to {
        transform: translate( 100%, 0);

	}
}



@media screen and (max-width: 450px) {
    .banner {
        display: flex;
        padding: 0;
        height: 670px;
    }
}

 .banner h5 {
    writing-mode: vertical-rl;
    text-orientation: upright;
    position: relative;
    font-size: 30px;
    font-weight: 600;
    font-family: 'Noto Serif TC';
    color: #000;
    line-height: 1.5;
    padding-left: 35px; /* 左邊預留位置給英文 ＋ 直線 */
    LETTER-SPACING: 15PX;
    top: 40px;
}

/* --- 直線：在英文上方 --- */
.banner h5::after {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    width: 1px;
    height: 20px;
    background: #000;
}

/*植栽選物英文*/
.product_page  .banner h5::before,.product_info_page .banner h5::before {
    content: "SELECTIONS";
    position: absolute;
    left: 28px;
    top: 35px;

    font-family: 'GenYoGothic TW';
    display: flex;
    flex-direction: column; /* 垂直堆疊每個字母 */
    gap: 4px;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 100;
    color: #000;

    /* 每個字母維持正常方向（不倒、不旋） */
    writing-mode: horizontal-tb;
    text-orientation: mixed;

    /* 整段英文右轉 90 度 */
    transform: rotate(90deg);
    transform-origin: top left;
}

/*實績作品英文*/
.album_page .banner h5::before,.album_class_page .banner h5::before,.album_info_page .banner h5::before {
    content: "WORKS";
    position: absolute;
    left: 28px;
    top: 35px;

    font-family: 'GenYoGothic TW';
    display: flex;
    flex-direction: column; /* 垂直堆疊每個字母 */
    gap: 4px;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 100;
    color: #000;

    writing-mode: horizontal-tb;
    text-orientation: mixed;

    /* 整段英文右轉 90 度 */
    transform: rotate(90deg);
    transform-origin: top left;
}

/*估價單英文*/
.contact_page .banner h5::before {
    content: "QUOTATION";
    position: absolute;
    left: 28px;
    top: 35px;

    font-family: 'GenYoGothic TW';
    display: flex;
    flex-direction: column; /* 垂直堆疊每個字母 */
    gap: 4px;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 100;
    color: #000;

    writing-mode: horizontal-tb;
    text-orientation: mixed;

    /* 整段英文右轉 90 度 */
    transform: rotate(90deg);
    transform-origin: top left;
}

/* -----------------------------------footer------------------------------ */

.footer .center {    max-width: 1400px;}
.footer_info {
    grid-template-columns: 1fr 160px;
    grid-gap: 0 35px;
    padding-right: 0;
    justify-items: end;
}
.footer_logo {    max-width: 130px;    order: 3;}

.box_link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    max-width: max-content;
    left: 0;
    top: 62%;
}
.box_link a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    border: 1px #be996b40 solid;
    color:#000000;
    transition: all .3s;
}
.box_link a:hover {
    background: var(--logocolor);
    border-color: var(--logocolor);
    color: #fff;
}

.footer_info ul {
    display: flex;
    justify-content: flex-start;
    gap: 60px;
}
.footer_info li p, .footer_info li p a {    color: #000000; line-height: 220%; }

.footer_menu {    display: flex;    flex-direction: column;}
.footer_menu a:first-child {    display: none;}
.footer_menu a {
    background: transparent;
    border: none;
    color: #000000;
    margin: 0;
    width: max-content;
    position: relative;
    margin-bottom: 7px;
}
.footer_menu a:after {
    background-color:#000000;
    bottom: -2px;
    content: "";
    display: block;
    height: 1px;
    opacity: .5;
    position: absolute;
    right: 1px;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .5s cubic-bezier(.19, 1, .22, 1);
    width: 100%;
}
.footer_menu a:hover {
    background: transparent;
    color: #000000;
    opacity: .7;
}
.footer_menu a:hover:after {
    transform: scaleX(1);
    transform-origin: left center;
}

/*特效*/

.footer {
    position: relative; /* 讓絕對定位的葉子以 footer 為參考 */
    padding-top: 60px;
    background: #fff;
    overflow: hidden; /* 避免葉子溢出 */
}

/* 裝飾用大葉子 */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 33%;          /* 佔 footer 右側三分之一 */
    height: 100%;        /* 高度佔滿 footer */
    background: url('https://pic03.eapple.com.tw/gardenartkao/in.png') no-repeat top right;
    background-size: contain; /* 葉子自適應寬高，保持完整比例 */
    pointer-events: none;    /* 不影響按鈕點擊 */
    z-index: 0;              /* 確保在內容後面 */
    animation: swayLeaf 6s ease-in-out infinite alternate;
}

@keyframes swayLeaf {
    0%   { transform: rotate(-2deg); }
    50%  { transform: rotate(2deg); }
    100% { transform: rotate(-2deg); }
}

.info_fix_links{display: flex !important;}
.info_fix>span{display: none !important;background-color: #5e9184;}

.box_link{
    display: none;
}

.info_fix_links a:hover {
    background: #2a5226;
}

.info_fix_links a.info_fix_default:nth-of-type(4) {
    display: none;
}

/* footer 關鍵字橫排 */
.footer_menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer_menu a.double_key {
    display: inline-block !important;
    margin: 0 6px !important;
    width: auto !important;
}


@media screen and (max-width: 768px) {
.footer.with_shopping_mode { padding:60px 0 70px; }
#to_top { bottom:60px;}
#bottom_menu li:first-child:nth-last-child(2), #bottom_menu li:first-child:nth-last-child(2) ~ li {
    width: 50%;
    display: block;
    float: left;
}
.footer_info {
    padding: 0 30px;
    grid-template-columns: 1fr;
    justify-items: center;
}
.footer_logo {    order: 1;}
.footer_info ul {    order: 3;    justify-content: space-around;}
.footer_info li {    padding-top: 18px;}

.footer_info li+li {margin-top: 0;}
.footer_menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 5px;
}

  .footer::before {
    content: none;    /* 移除生成內容 */
    background: none; /* 移除背景 */
    display: none;    /* 或隱藏整個偽元素 */
    /* 其他需要清掉的屬性 */
  }

}


@media screen and (max-width: 600px) {
.footer_info ul {    flex-direction: column;    align-items: center;    text-align: center;    gap: 0;    }
.footer_info li:nth-child(2) {    padding-top: 8px;    width: 100%;}
.footer_menu {        grid-template-columns: repeat(3, 1fr);    }

}


/*聯絡我們管理******************************************** */

.contact_content .information_left {display: none;}
.path {    display: none;}
.contact_content .information_right {
    width: auto;
    background: #ffffffbd;
    border-radius: 1.5em;
    width: 80%;
    max-width: 1000px;
    margin: 30px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: unset;
}
.contact_form li.last cite {
    background: #014131;}
.contact_form li.last blockquote { border: 1px #014131 solid;}
.contact_form {margin-top: 80px;}
.contact_form li .form__label {    max-width: 120px;}
.contact_form li {
grid-template-columns: 120px 1fr;
grid-gap: 15px;}
.blank_letter {   background: #eeeeee00 url(https://pic03.eapple.com.tw/gardenartkao/font-i.png)left center no-repeat;
padding: 10px 0px 10px 40px;
font-size: 25px;
color: #000;
font-family: 'Noto Serif TC';
}
.note {padding-left: 20px;}
.contact_editbox {padding: unset;}


/*相簿管理******************************************** */
.album_page .main_part {
    max-width: 1600px;
    padding: 100px 20px 50px;
}

/*相簿主分類*/
.subalbum-menu h2 {font-size: 18px;color: #333;letter-spacing: .2rem;}
.show-list .show_pic {aspect-ratio: 4 / 3;}
.show-list .show_pic img {transform: scale(1);transition: all .5s;}
.show-list .show_name{color: #333;letter-spacing: .2rem;text-align: center;}
.show-list .item{margin-bottom: 30px;}
.show-list .item .overlay {-webkit-transform: scale(1);transform: scale(1);}
.show-list .item:hover .show_name {color: #014131;}

.show-list .item .show_pic {
    overflow: hidden;
    border-radius: 20px;
    transition: 0.5s;
    position: relative; /* 讓 <p> 可以絕對定位在裡面 */
}


.show-list .item .show_pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    transform: scale(1);
    transition: transform 0.5s, border-radius 0.5s;
}

.show-list .item:hover .show_pic img {
    transform: scale(1.2);  /* hover 放大 */
    border-radius: 20px;
}

/* 文字置中並寬度跟容器同步 */
.other_subalbum li a p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: transparent;
    width: 100%;           /* 寬度跟容器一樣 */
    box-sizing: border-box; /* 包含 padding */
    transition: all 0.5s;
    text-align: center;  
}

.other_subalbum li:hover a p {
    color: #fff;
    padding: 10px;
    background: #014131;
    font-size: 20px;
}

.other_album_choice li {background: #014131;padding: 5px 20px;border-radius: 0;font-size: 13px;}
.album_fixed_title {    color: #014131;}



/*相簿次分類*/
.pic-list .item h6 {
    display: flex;
    justify-content: center;}

/*相簿特效*/
.show_content {opacity: 0;              /* 初始透明 */
  transform: translateY(10px); /* 從下方浮現 */
  animation: fadeIn 1s ease forwards; /* forwards 保持最終狀態 */
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);}
}

/* 購物車= = = = = = = == = = = = = = = = = */

.product_page .main_part { max-width: 1400px;}

.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;
        padding-top: 20px;
}

/* 左側分類 */
.product_page .product_menu_list {
position: relative;
width: 220px;
letter-spacing: 1px;
min-height: 30vw;
}
.product-layer-two>li {
    width: 100%;
    max-width: 100%;
    padding: 0;
    text-align: left;
    border-bottom: 0;
    padding-bottom: 5px;
    font-family:'Noto Serif TC';
    padding: 0 10px;
}
.product-layer-two li a {
    position: relative;
    border: 0;
    background: transparent;
    padding: 7px 16px;
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #5e9184;
    color: #014131;
    letter-spacing: 2px;
    border: none;
    border-bottom: 1px dotted transparent;
    background: transparent;
    line-height: 200%;
    transition: all 0.3s;
    border-bottom: 1px dotted #ccc;
    padding-left: 25px;
}
.product-layer-two li:hover > a {
    color: #014131;
}
.product-layer-two > li > a:before {
    border-radius: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    height: 18px;
    content: "＞";
    color: #014131;
    background: #eee8e4e8;
    width: 18px;
    text-align: center;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s;
    padding-left: 2px;
    font-size: 10px;
    font-family:'Noto Serif TC';
    font-weight: 800;
}
.product-layer-two li:hover > a:before {
    background: #014131;
    color: #fff;
}

.product-layer-two > li.active {
background: #014131;
border-radius: 5px;
}
.product-layer-two li.active > a {
color: #fff;
border: none;
font-weight: 500;
}
.product-layer-two li.active > a:before {
background: #fff;
color: #014131;
}



/* 右側商品 */
.product_page .products-list, .product-wrapper { width: calc(100% - 270px);padding-left: 50px;
}


.product-layer-two li ul {
    position: static;
    margin-top: 5px;
    width: 100%;
    margin-left: 0;
}

.product-layer-two li:hover ul {
    border: none !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: #014131;
}



.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: #014131;
}

.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;
}




.products-list .name {
    font-weight: 400;
    font-size: 16px;
    }
.products-list .more {
    border: 1px solid #2a5226;
    color: #014131;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
}
.products-list .item a:hover .more {
    background: #014131;
}
.products-list .price b {
    color: #000;
    font-size: 17px;
    letter-spacing: .5px;
    width: calc(50% - 10px);
    font-family: 'Noto Serif TC';
}



/*購物車/內層＝＝*/
.product_info_page .main_part {
    width: 90%;
}
/*按鈕顏色*/
.inquiry_a1 {background: #A88E7A;}
.inquiry_a2 {background: #796961;}
.inquiry_a3 {background: #544944;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover { background: #222; }

/*商品側邊規格*/
.product_info li .txt_box {color: #222222;width: 100%;}
.sidebarBtn .sp_price {color: #D55A3E;}
.mobile_product_name {font-size: 24px;}
/*相關推薦*/
.prod_related h6 span:before {    font-size: 28px;}

.prod_related {
    background: #fff;}
.lastPage {    background: #2a5226;}



@media screen and (max-width: 1024px) {
/* 內 */
.product_info_page .main_part {
    width: 95%;
}
}


@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 {display: none;}
.products-list, .pageIndex .products-list {grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));gap: 20px;}

.product_page .products-list, .product-wrapper {padding-left: 0;
}
/* 內 */
.mobile_product_name{margin-bottom: 10px;color: var(--SubColor1);font-weight: 600;letter-spacing: 1px;font-size: var(--f36);}
}



@media screen and (max-width: 600px) {
.products-list, .pageIndex .products-list {
grid-template-columns: 1fr;
gap: 25px;
max-width: 440px;
margin: auto;
width: 95%;
}

/* 內 */
.product_info_page .main_part {
width: 98%;
}
}
