@charset "utf-8";


/*網站全域設定/＝＝＝＝＝*/
/*
    #E1D9D0 /*網站主要色系
    #E1CAC5 /*網站輔助色系1
    #f9f6f4; /*網站輔助色系2*/

/*反白顏色*/
::-moz-selection{  background-color: #da6201;  color: #fff;}
::selection{  background-color: #da6201;  color: #fff;}
:root {
    --Primary: #160d42;
    --Accent:#da6201;
    --SubColor:#E2E8F0;
    --bg-light: #f8f9fa;
    --grid-color: rgba(22, 13, 66, 0.05);
    --grid-color: rgb(181 181 181 / 3%);
    --FontColor:#2d3748;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --SFont:"Noto Sans TC", sans-serif;
    --SFontEN: "Inter", sans-serif;
    --f54: 54px;
    --f48: 48px;
    --f42: 42px;
    --f40: 40px;
    --f36: 36px;
    --f32: 32px;
    --f28: 28px;
    --f24: 24px;
    --f22: 22px;
    --f20: 20px;
    --f18: 18px;
    --f17: 17px;
    --f16: 16px;
}


body {
    background-color: var(--bg-light);
    background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 10px 10px;
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    color: var(--FontColor);
}
.sb_marquee{display: none;}
.path{display: none;}

/*頁碼
.page strong, .page a:hover {    background: var(--Accent);}
.page li.activeN {    color: var(--Accent);}
*/

/*★★★卷軸設定↓↓↓↓↓↓↓↓↓↓↓↓*/
/* 捲軸寬度及高度 */
::-webkit-scrollbar {    background: #E1D9D0;    width: 7px;}
::-webkit-scrollbar-button {
    display: none;
    background: #E1D9D0;
    border-radius: 0;
}

::-webkit-scrollbar-track-piece {    background: #E1D9D0;}

/* 滑桿顏色 */
::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: var(--Accent);
}

/* 滑桿滑鼠滑入時的顏色 */
::-webkit-scrollbar-thumb:hover {    background: var(--Primary); }

/* 軌道背景底色 */
::-webkit-scrollbar-track {    box-shadow: transparent;}


/*
關於CSS設定說明
CSS屬性是會繼承的，而且還是由上往下繼承。
同樣元素設定16px 後 12px 再 15px 最後會以最後設定的15px為準
但是有兩種情況除外:
1.絕對路徑命名. 如: .xx .yy .zz p {設定值;}
2.important.  如: .xx p {設定值 !important;}

CSS3選取器語法 :nth-child(n) 

*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*上方選單解除滑動固定
.header_area.sticky { position:relative;}
*/
.header_area, .header_area.sticky {    background: #fff;}
.navigation {    grid-template-columns: 150px 1fr;}

/*上方選單右邊設定 臉書/LINE/電話/信箱
.tp_links a:before {寬高大小設定}
.tp_links a.me_tp_fb {}
.tp_links a.me_tp_fb:before {背景換圖/建議.SVG}
.tp_links a.me_tp_line {}
.tp_links a.me_tp_line:before {背景換圖/建議.SVG}
.tp_links a.me_tp_call {}
.tp_links a.me_tp_call:before {背景換圖/建議.SVG}
.tp_links a.me_tp_mail {}
.tp_links a.me_tp_mail:before {背景換圖/建議.SVG}
*/
.tp_links{    display: none;}

/*浮動按鈕-展開
.info_fix_links {    display: flex !important;}
.linksBtn {    display: none;}
*/
a.info_fix_default.info_fix_fb, a.info_fix_default.info_fix_phone, a.info_fix_default.info_fix_mail {
    display: none;
}
.fa-map-marker-alt::before {    content: "\f3c5";}
.fa-lightbulb::before {    content: "\f0e6";}
.linksBtn {
    width: 55px;
    height: 55px;
    background: var(--Accent);
    box-shadow: 0 0 0 0 rgb(218 98 1 / 56%);
    animation: fb-pulse 2s infinite;
}
.info_fix:hover>.linksBtn {    background: var(--Accent);}
.info_fix_links a {    background: #0c052dcc;    backdrop-filter: blur(5px);}
.info_fix_links a:hover {    background: #0c052d;}
.fa-map:before {    content:"\f3c5";    font-family: fontAwesome;}

@keyframes fb-pulse {
    0% {
        box-shadow: 0 0 0 0 rgb(218 98 1 / 56%);
    }
    70% {
        box-shadow: 0 0 0 10px rgb(218 98 1 / 0%);
    }
    100% {
        box-shadow: 0 0 0 0 rgb(218 98 1 / 0%);
    }
}
/*電腦LOGO
.nav-brand {}
*/

/*第一層*/
.stellarnav > ul > li {
    position: relative;
}

.stellarnav > ul > li > a {
    position: relative;
    color: var(--Primary);
    font-family: var(--SFont);
    font-size: var(--f18);
    font-weight: 500;
    padding: 0 15px;
    transition: var(--transition);
}

.stellarnav > ul > li > a:before {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--Accent);
    clip-path: polygon(
        0 0, 10px 0, 10px 2px, 2px 2px, 2px 10px, 0 10px,            
        calc(100% - 10px) 0, 100% 0, 100% 100%, calc(100% - 10px) 100%, 
        calc(100% - 10px) calc(100% - 2px), calc(100% - 2px) calc(100% - 2px), 
        calc(100% - 2px) calc(100% - 10px), calc(100% - 10px) calc(100% - 10px)
    );
    clip-path: inset(calc(100% - 3px) 100% 0 0); 
    transition: var(--transition);
    opacity: 0;
}

.stellarnav > ul > li:hover > a:before {    clip-path: inset(calc(100% - 3px) 0 0 0);     opacity: 1;}

.stellarnav > ul > li:hover > a {    color: var(--Accent);}

/*下拉線條箭頭*/
.stellarnav li.has-sub>a:after {
    position: absolute;
    top: 38%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: transparent var(--FontColor) var(--FontColor) transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*第二層*/
.stellarnav ul ul {
    backdrop-filter: blur(6px);
    background: #2d3748cc;
}
.stellarnav li li {    border: none;}

.stellarnav li li > a, .stellarnav li li.has-sub > a {
    padding: 10px 9px;
    transition: all 0.3s;
    color: #fff;
}
.stellarnav li li:hover > a, .stellarnav li li.has-sub:hover > a {
    color: #fff;
    padding-left: 15px;
    background: var(--Accent);
}

/*下拉第二層箭頭*/
.stellarnav li li.has-sub > a:after {
    position: absolute;
    top: 38%;
    right: 5px;
    height: 7px;
    width: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: transparent var(--Primary) var(--Primary) transparent;
    -webkit-transform: rotate(315deg);
    transform: rotate(315deg);
}

/* 商品下拉超過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 {
    padding-top: 60px;
    background: radial-gradient(circle at top center, rgba(0, 255, 255, .08), transparent 30%), radial-gradient(circle at bottom right, rgba(0, 140, 255, .12), transparent 35%), linear-gradient(180deg, #0a0620 0%, #0a0620 55%, #0a0620 100%);
    color: rgba(255, 255, 255, .88);
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

/* =========================================================
    偽元素
========================================================= */
.footer::before {
    content: "";
    position: absolute;
    top: -1%;
    left: -50%;
    width: 200%;
    height: 900px;
    background: url(https://pic03.eapple.com.tw/srbiotech/ft_bg.png) repeat-x;
    background-size: 1600px auto;
    opacity: .08;
    mix-blend-mode: screen;
    transform-origin: center top;
    animation: cyberWaveMove 18s linear infinite, cyberWaveFloat 8s ease-in-out infinite;
    will-change: transform;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .95) 30%, rgba(0, 0, 0, .95) 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .95) 30%, rgba(0, 0, 0, .95) 70%, transparent 100%);
}

.footer::after {
    content: "";
    position: absolute;
    inset: -20%;
    background: repeating-linear-gradient(90deg, rgba(111, 252, 255, .03) 0px, rgba(111, 252, 255, .03) 1px, transparent 1px, transparent 120px), repeating-linear-gradient(0deg, rgba(111, 252, 255, .025) 0px, rgba(111, 252, 255, .025) 1px, transparent 1px, transparent 120px);
    transform: perspective(1200px) rotateX(78deg) scale(2);
    transform-origin: center top;
    opacity: .5;
    animation: cyberGridMove 12s linear infinite;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .8) 30%, rgba(0, 0, 0, 1) 100%);
}



.footer_info {
    grid-template-columns: 200px 1fr;
    grid-gap: 10px 6vw;
}

.footer_logo img {
    max-width: 100%;
    filter: contrast(0) brightness(100);
}

.footer_info li {    padding: 0 10px;}
.footer_info li:nth-child(1) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
}
.footer_info li:nth-child(1):before {
    content: "頊研生物科技/明儀企業社";
    display: block;
    font-size: var(--f18);
    font-weight: 500;
    padding-bottom: 15px;
    grid-column: span 2;
    color: #fff;
    border-bottom: 1px solid #c9c9c952;
    margin-bottom: 15px;
}
.footer_info li p, .footer_info li p a {
    /* color: rgba(255, 255, 255, 0.85); */
    /* margin-bottom: 5px; */
    color: rgba(255, 255, 255, .68);
    transition: .35s;
} 
.footer_info li p:hover {
    color: rgba(255, 255, 255, .96);
    text-shadow: 0 0 10px rgba(111, 252, 255, .35);
}

.footer_info li p.phone:after {    content: ' (蘇先生)';}
.footer_info li p.line {    display: none;}

.footer_info li:nth-child(2) {    margin-top: 1vw;}
.footer_menu a {
    /* background: rgba(255, 255, 255, 0.05); */
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    /* color: #ddd; */
    /* backdrop-filter: blur(5px); */
    border-radius: 2px; 
    transition: var(--transition); 
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .72);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.footer_menu a:hover {
    color: #fff;
    box-shadow: 0 0 15px rgba(111, 252, 255, .12);
    transform: translateY(-3px);
    /*background: rgba(111, 252, 255, .08); 
    border-color: rgba(111, 252, 255, .35);*/
    background: var(--Accent);
}

.box_link {
    max-width: 300px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    left: 0;
    top: 70px;
    justify-content: flex-start;
    align-items: center;
}

.box_link a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    padding: 0;
    margin: 3px;
    font-size: 15px;
    border: 1px solid rgba(111, 252, 255, .18);
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, .82);
    box-shadow: inset 0 0 0 rgba(111, 252, 255, 0), 0 0 0 rgba(111, 252, 255, 0);
    transition: .45s;
}

.box_link a:hover {
    background: #fff;
    color: var(--Primary);
    border-color: #fff;
    transform: translateY(-4px);
    border-color: rgba(111, 252, 255, .7);
    color: #fff;
    background: rgba(111, 252, 255, .08);
    box-shadow: inset 0 0 20px rgba(111, 252, 255, .08), 0 0 20px rgba(111, 252, 255, .18);
}

/* --- 版權宣告區 (CopyRight) --- */
.copy {
    /* background: rgb(16 12 45 / 71%); */
    /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
    /* color: rgba(255, 255, 255, 0.5); */
    /* font-size: 12px; */
    /* padding: 12px 20px; */
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .45);
    background: rgba(255, 255, 255, .015);
    backdrop-filter: blur(10px);
}
.copy a { color: rgba(255, 255, 255, 0.7); }
.copy a:hover { color: var(--Accent); }


/* =========================================================
    To Top
========================================================= */
#to_top {
    background:
        rgba(5,15,25,.85);
    color: #fff;
    border:
        1px solid rgba(111,252,255,.25);
    backdrop-filter:
        blur(12px);
    box-shadow:
        0 0 20px rgba(0,0,0,.35);
    transition: .4s;
}

#to_top:hover {
    transform:
        translateY(-5px);
    border-color:
        rgba(111,252,255,.7);
    box-shadow:
        0 0 25px rgba(111,252,255,.25);
}

#to_top i:before,
#to_top i:after {
    background:
        rgba(111,252,255,.95);
}

/* =========================================================
   Animations
========================================================= */

@keyframes cyberWaveMove {

    from {

        transform:
            translate3d(0,0,0)
            rotateX(72deg);
    }

    to {

        transform:
            translate3d(-1600px,0,0)
            rotateX(72deg);
    }
}

@keyframes cyberWaveFloat {

    0%,100% {

        transform:
            translate3d(0,0,0)
            rotateX(72deg)
            scale(1);
    }

    50% {

        transform:
            translate3d(0,-25px,120px)
            rotateX(58deg)
            scale(1.03);
    }
}



@keyframes cyberGridMove {

    from {

        background-position:
            0 0,
            0 0;
    }

    to {

        background-position:
            -120px 0,
            0 -120px;
    }
}

@keyframes cyberScan {

    from {

        left: -30%;
    }

    to {

        left: 130%;
    }
}

@keyframes cyberParticles {

    from {

        transform:
            translateY(0);
    }

    to {

        transform:
            translateY(-140px);
    }
}


/*聯絡我們*/
.contact_form li.last cite {    background: #d3af79;}


/* = = = 大圖-分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*預設解除背景輪播*/
#content_main { margin:0; background-color: var(--bg-light);}
.bannerindex { position:relative; height:auto;}
.swiper-banner { position:static; margin:0; height:auto;} 
.swiper-banner .swiper-slide img {    width: 100%;}

/*例如大圖第一張的after:
.bannerindex .swiper-slide[data-swiper-slide-index="0"]:after

*大圖的指定名稱是從0開始，5張大圖的畫最後一張是4
[data-swiper-slide-index="0"]
[data-swiper-slide-index="1"]
[data-swiper-slide-index="2"]
[data-swiper-slide-index="3"]
[data-swiper-slide-index="4"]*/

/* .swiper-slide img { height:auto;} */
@media screen and (max-width: 768px) {
.bannerindex { padding:0; margin:0;}
}


/*大圖*/
/*
輪播第二次時，偽元素都只有顯示相同的
再請將個別大圖的指定名稱[data-swiper-slide-index="每一張的數字"]寫進去
例如大圖第一張的after:
.bannerindex .swiper-slide[data-swiper-slide-index="0"]:after
大圖的指定名稱是從0開始，5張大圖的話最後一張是4
[data-swiper-slide-index="0"]
[data-swiper-slide-index="1"]
[data-swiper-slide-index="2"]
[data-swiper-slide-index="3"]
[data-swiper-slide-index="4"]
.pageIndex .bannerindex .swiper-slide[data-swiper-slide-index="2"].swiper-slide-active:before{  }
.pageIndex .bannerindex .swiper-slide[data-swiper-slide-index="0"].swiper-slide-active:after {  }
}*/
/* =========================================================
   基本
========================================================= */
.pageIndex .bannerindex .swiper-slide {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    --text-right: clamp(50px, 16vw, 250px);
    --text-left:  clamp(40px, 13vw, 220px);
    --tech-opacity: .28;

    /* 發光色彩統一管理 */
    --glow-primary:  rgba(0, 200, 255, .55);
    --glow-halo:     rgba(0, 180, 255, .30);
    --glow-bloom:    rgba(80, 160, 255, .18);
    --glow-soft:     rgba(255, 255, 255, .20);
}

.pageIndex .bannerindex .swiper-slide > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}


/* =========================================================
   左下科技層
========================================================= */
.pageIndex .swiper-wrapper::before {
    content: '';
    position: absolute;
    left:   clamp(-120px, -6vw, -48px);
    bottom: clamp(-50px, 1vw, -80px);
    width:  clamp(240px, 38vw, 686px);
    aspect-ratio: 1 / 1;

    background-image:
        url(https://pic03.eapple.com.tw/srbiotech/bio_03.png),
        url(https://pic03.eapple.com.tw/srbiotech/bio_04.png);
    background-repeat: no-repeat;
    background-position:
        left clamp(-40px, -2vw, 4px) bottom clamp(120px, 18vw, 235px),
        left clamp(40px,   6vw, 74px) bottom clamp(-10px,  2vw,   5px);
    background-size:
        clamp(120px, 23vw, 254px),
        clamp(160px, 34vw, 340px);

    z-index: 2;
    pointer-events: none;
    opacity: .55;

    filter:
        contrast(125%)
        brightness(85%)
        grayscale(55%)
        hue-rotate(205deg);

    will-change: transform, opacity;
    animation:
        techFloat3D  18s ease-in-out infinite,
        techBreath    8s ease-in-out infinite;
}

@keyframes techFloat3D {
    0%   { transform: translate3d(0,0,0)     rotateX(6deg)  rotateY(-10deg) rotateZ(-2deg) scale(1);    }
    25%  { transform: translate3d(10px,-6px,0) rotateX(10deg) rotateY(-14deg) rotateZ(2deg) scale(1.03); }
    50%  { transform: translate3d(-8px,6px,0)  rotateX(4deg)  rotateY(-6deg)  rotateZ(-1deg) scale(.98); }
    75%  { transform: translate3d(6px,-4px,0)  rotateX(9deg)  rotateY(-12deg) rotateZ(1deg) scale(1.02); }
    100% { transform: translate3d(0,0,0)     rotateX(6deg)  rotateY(-10deg) rotateZ(-2deg) scale(1);    }
}

@keyframes techBreath {
    0%, 100% { opacity: .45; }
    50%       { opacity: .65; }
}


/* =========================================================
   左上科技圖  bio_02
========================================================= */
.pageIndex .bannerindex .swiper-slide > a::before {
    content: '';
    position: absolute;
    left: clamp(10px, 2vw, 25px);
    top:  clamp(-90px, -6vw, -73px);
    width: clamp(140px, 17vw, 300px);
    aspect-ratio: 1 / 1;

    background: url(https://pic03.eapple.com.tw/srbiotech/bio_02.png)
                no-repeat center / contain;

    z-index: 2;
    pointer-events: none;
    opacity: .6;
    filter: hue-rotate(45deg);
    will-change: transform, opacity;
    animation:
        techFloatLeft 16s ease-in-out infinite,
        techBreathe   10s ease-in-out infinite;
}


/* =========================================================
   右上科技圖  bio_01
========================================================= */
.pageIndex .bannerindex .swiper-slide > a::after {
    content: '';
    position: absolute;
    right: clamp(-120px, -8vw, -141px);
    top:   clamp(-90px,  -6vw, -83px);
    width: clamp(180px, 33vw, 600px);
    aspect-ratio: 1 / 1;

    background: url(https://pic03.eapple.com.tw/srbiotech/bio_01.png)
                no-repeat center / contain;

    z-index: 2;
    pointer-events: none;
    opacity: .20;
    filter: saturate(0.5);
    will-change: transform, opacity;
    animation:
        techFloatRight 18s ease-in-out infinite,
        techBreathe    12s ease-in-out infinite;
}


/* =========================================================
   第一張文字
========================================================= */
.pageIndex .bannerindex .swiper-slide:nth-child(1)::before {
    content: '全方位實驗方案，一站式專業服務。';
    position: absolute;
    left: var(--text-left);
    top: 45%;
    transform: translateY(-100%);
    z-index: 20;

    font-family: var(--SFont);
    font-size:   clamp(24px, 3.5vw, 56px);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    letter-spacing: .25rem;

    opacity: 0;

    text-shadow:
        0 0 2px  rgba(255,255,255,.40),
        0 0 8px  var(--glow-soft),
        0 0 16px var(--glow-primary),
        0 0 30px var(--glow-halo),
        0 0 55px var(--glow-bloom);
}

.pageIndex .bannerindex .swiper-slide:nth-child(1)::after {
    content: '科研後盾，首選頊研。';
    position: absolute;
    left: var(--text-left);
    top: calc(45% + 18px);
    z-index: 20;

    font-family: var(--SFont);
    font-size:   clamp(16px, 2.2vw, 36px);
    font-weight: 400;
    color: #fff;
    letter-spacing: .5rem;

    opacity: 0;
    transform: translateY(18px);

    text-shadow:
        0 0 2px  rgba(255,255,255,.35),
        0 0 10px var(--glow-soft),
        0 0 20px var(--glow-primary),
        0 0 38px var(--glow-halo);
}

.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active::before {
    animation:
        textFadeUp   1.2s cubic-bezier(.19,1,.22,1) forwards,
        textGlowPulse 5s  ease-in-out infinite 1.3s;
}

.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active::after {
    animation:
        subTextIn    1s   ease forwards .5s,
        textGlowPulse 5s  ease-in-out infinite 1.5s;
}


/* =========================================================
    第二張文字
========================================================= */
/* 主標 */
.pageIndex .bannerindex .swiper-slide:nth-child(2)::before {
    content: '全方位實驗方案，\A 一站式專業服務。';
    white-space: pre-wrap;

    position: absolute;
    right: var(--text-left);
    top: 45%;
    transform: translateY(-100%);

    width:  clamp(380px, 32vw, 600px);
    text-align: right;
    text-align: justify;
    text-align-last: justify;
    z-index: 20;
    font-family: var(--SFont);
    font-size:   clamp(24px, 3.5vw, 56px);
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
    letter-spacing: .25rem;
    opacity: 0;

    text-shadow:
        0 0 2px  rgba(255,255,255,.40),
        0 0 8px  var(--glow-soft),
        0 0 16px var(--glow-primary),
        0 0 30px var(--glow-halo),
        0 0 55px var(--glow-bloom);
}

/* 副標 */
.pageIndex .bannerindex .swiper-slide:nth-child(2)::after {
    content: '科研後盾，首選頊研';
    position: absolute;
    right: var(--text-left);
    top: calc(45% + 18px);
    text-align: right;
    text-align: justify;
    text-align-last: justify;
    display: block;
    box-sizing: border-box;
    width: clamp(380px, 32vw, 600px);
    z-index: 20;
    font-family: var(--SFont);
    font-size: clamp(16px, 2.2vw, 36px);
    font-weight: 400;
    color: #fff;
    letter-spacing: .5rem;
    opacity: 0;
    transform: translateY(24px);
    /* text-shadow: 0 0 2px rgba(255, 255, 255, .40), 0 0 10px var(--glow-soft), 0 0 20px var(--glow-primary), 0 0 38px var(--glow-halo); */
    background: rgba(255, 255, 255, 0.048);
    padding: 8px 30px;
    border-radius: 5px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(22, 13, 66, .7);
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.288);
}

.pageIndex .bannerindex .swiper-slide:nth-child(2).swiper-slide-active::before {
    animation:
        textFadeUpRight 1.2s cubic-bezier(.19,1,.22,1) forwards,
        textGlowPulse    5s  ease-in-out infinite 1.3s;
}
.pageIndex .bannerindex .swiper-slide:nth-child(2).swiper-slide-active::after {
    animation:
        subTextIn    1s   ease forwards .5s,
        textGlowPulse 5s  ease-in-out infinite 1.5s;
}


/* =========================================================
   3D 科技浮動 Keyframes
========================================================= */
@keyframes techFloatLeft {
    0%   { transform: perspective(1400px) rotateX(0)    rotateY(-10deg) rotateZ(0)    scale(1);    }
    25%  { transform: perspective(1400px) rotateX(4deg)  rotateY(-16deg) rotateZ(-2deg) scale(1.03) translate3d(-8px,10px,0);  }
    50%  { transform: perspective(1400px) rotateX(-2deg) rotateY(-6deg)  rotateZ(1deg)  scale(.98)  translate3d(8px,-6px,0);   }
    75%  { transform: perspective(1400px) rotateX(3deg)  rotateY(-13deg) rotateZ(2deg)  scale(1.04) translate3d(-4px,8px,0);   }
    100% { transform: perspective(1400px) rotateX(0)    rotateY(-10deg) rotateZ(0)    scale(1);    }
}

@keyframes techFloatRight {
    0%   { transform: perspective(1400px) rotateX(0)    rotateY(10deg)  rotateZ(0)    scale(1);    }
    25%  { transform: perspective(1400px) rotateX(-3deg) rotateY(15deg)  rotateZ(2deg)  scale(1.03) translate3d(8px,-8px,0);   }
    50%  { transform: perspective(1400px) rotateX(2deg)  rotateY(5deg)   rotateZ(-1deg) scale(.98)  translate3d(-6px,8px,0);   }
    75%  { transform: perspective(1400px) rotateX(-4deg) rotateY(13deg)  rotateZ(-2deg) scale(1.04) translate3d(6px,-10px,0);  }
    100% { transform: perspective(1400px) rotateX(0)    rotateY(10deg)  rotateZ(0)    scale(1);    }
}

@keyframes techBreathe {
    0%, 100% { opacity: .18; }
    50%       { opacity: .30; }
}


/* =========================================================
   文字動畫 Keyframes
========================================================= */

/* 第一張：從左側進入，translateY(-100%) 收尾 */
@keyframes textFadeUp {
    0% {
        opacity: 0;
        transform: translateY(-65%) scale(.96);
        filter: blur(10px);
        letter-spacing: .8rem;
    }
    100% {
        opacity: 1;
        transform: translateY(-100%) scale(1);
        filter: blur(0);
        letter-spacing: .25rem;
    }
}

/* 第二張：從右側進入，同樣 translateY(-100%) 收尾 */
@keyframes textFadeUpRight {
    0% {
        opacity: 0;
        transform: translateY(-65%) scale(.96);
        filter: blur(10px);
        letter-spacing: .8rem;
    }
    100% {
        opacity: 1;
        transform: translateY(-100%) scale(1);
        filter: blur(0);
        letter-spacing: .25rem;
    }
}

@keyframes subTextIn {
    0% {
        opacity: 0;
        transform: translateY(24px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes textGlowPulse {
    0%, 100% {
        text-shadow:
            0 0 3px  rgba(255,255,255,.30),
            0 0 12px var(--glow-primary),
            0 0 25px var(--glow-halo);
    }
    50% {
        text-shadow:
            0 0 6px  rgba(255,255,255,.55),
            0 0 20px var(--glow-primary),
            0 0 40px var(--glow-halo),
            0 0 65px var(--glow-bloom);
    }
}


/* =========================================================
   Mobile  ≤ 768px
========================================================= */
@media (max-width: 768px) {

    .pageIndex .bannerindex .swiper-slide {        --text-left: 24px;    }

    /* 科技圖 RWD */
    .pageIndex .bannerindex .swiper-slide > a::before {
        width: 200px;
        left: -80px;
        top: -70px;
    }

    .pageIndex .bannerindex .swiper-slide > a::after {
        width: 200px;
        right: -70px;
        top: -45px;
    }

    /* ── 第一張主標 ── */
    .pageIndex .bannerindex .swiper-slide:nth-child(1)::before {
        width: 90%;
        margin: auto;
        font-size:      clamp(18px, 5vw, 26px);
        letter-spacing: 0;
        text-align: center;
    }

    /* ── 第一張副標 ── */
    .pageIndex .bannerindex .swiper-slide:nth-child(1)::after {
        font-size:      clamp(11px, 3.2vw, 16px);
        letter-spacing: 0;
        text-align: center;
        width: 90%;
        margin: auto;
        letter-spacing: .6rem;
    }

    /* ── 第二張主標 ── */
        .pageIndex .bannerindex .swiper-slide:nth-child(2)::before {
        white-space: normal;
        width: 90%;
        margin: auto;
        font-size:      clamp(18px, 5vw, 26px);
        letter-spacing: 0;
        text-align: center;
        text-align-last: center;
        letter-spacing: .1rem;
    }

    .pageIndex .bannerindex .swiper-slide:nth-child(2)::after {
        font-size:      clamp(11px, 3.2vw, 16px);
        letter-spacing: 0;
        text-align: center;
        text-align-last: center;
        width: 90%;
        margin: auto;
        letter-spacing: .6rem;
        border: none;
    }

    
/* 第二張 */
@keyframes textFadeUp {
    0% {
        opacity: 0;
        transform: translateY(-65%) scale(.96);
        filter: blur(10px);
        letter-spacing: .6rem;
    }
    100% {
        opacity: 1;
        transform: translateY(-100%) scale(1);
        filter: blur(0);
        letter-spacing: .2rem;
    }
}

/* 第二張：從右側進入，同樣 translateY(-100%) 收尾 */
@keyframes textFadeUpRight {
    0% {
        opacity: 0;
        transform: translateY(-65%) scale(.96);
        filter: blur(10px);
        letter-spacing: .6rem;
    }
    100% {
        opacity: 1;
        transform: translateY(-100%) scale(1);
        filter: blur(0);
        letter-spacing: .2rem;
    }
}
}

/* =========================================================
   Mobile  ≤ 480px（超小螢幕補強）
========================================================= */
@media (max-width: 480px) {

    .pageIndex .bannerindex .swiper-slide {
        --text-left: 16px;
    }

    .pageIndex .bannerindex .swiper-slide:nth-child(1)::before,
    .pageIndex .bannerindex .swiper-slide:nth-child(2)::before {
        font-size:      clamp(16px, 4.8vw, 22px);
        letter-spacing: .06rem;
    }

    .pageIndex .bannerindex .swiper-slide:nth-child(1)::after,
    .pageIndex .bannerindex .swiper-slide:nth-child(2)::after {
        font-size:      clamp(10px, 2.8vw, 14px);
        letter-spacing: .08rem;
    }
    .pageIndex .bannerindex .swiper-slide:nth-child(2)::before,
    .pageIndex .bannerindex .swiper-slide:nth-child(2)::after {
        width:     calc(100vw - 32px);
        right:     16px;
    }
}

/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*內頁BANNER 設定*/
.banner {}
.banner h5 {}
.banner.banA {}
.banner.banB {}
.banner.banC {}
.banner.banD {}
.banner.banE {}
.banner.banblog {}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */

/*促銷方案*/
.news_part {    padding: 60px 20px;}

/*
.news_part .title_i_box h4 {
    color: var(--TitleColor);
    font-weight: bold;
}
.news_part .title_i_box h4:before {
    content: "NEWS";
    display: block;
    font-family: var(--SFontEN);
}
.news_list ul li p {
    color: var(--FontColor);
}
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*預設購物車版面 產品分類選單在左側 商品內頁詳細介紹下表單更改樣式 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 !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:#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;}

/*顏色*/
.products-list .more {    border: 1px solid #ADA17E;    color: #ADA17E;}
.products-list .item a:hover .more {    background: #ADA17E;}

/*購物車/內層＝＝*/
.product_info_page .main_part {    width: 90%;}

/*按鈕顏色*/
.inquiry_a1{background: #cbc0a0;}
.inquiry_a2{background: #bdab77;}
.inquiry_a3{background: #ADA17E;}
.inquiry_a1:hover, .inquiry_a2:hover, .inquiry_a3:hover{background: #222;}
.lastaction {    color: #ADA17E;    background-color: #f2f2f2;}
.nextaction {    background-color: #ADA17E;}
.lastPage {    background: #ADA17E;}

/*商品側邊規格*/
.product_info li .txt_box {    color: #222222;    width: 100%;}
.sidebarBtn .sp_price {   color: #cbc0a0;}
.mobile_product_name{font-size: 24px;}

/*相關推薦*/
.prod_related h6 span:before{font-size: 28px;}



@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) {
    .payment_form {    flex-direction: column;}
}


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */


/*文章設定*/
/*一排呈現
.subbox_item { width:100%;}
*/
/*3個一排
.blog_subbox {    grid-template-columns: repeat(3, 1fr);} 
*/


/*文章內層*/
/*文章內層封面
.articel_mainPic img{display: none;}*/
.blog_back a.article_btn_back {    background: var(--Primary);}
.blog_back a.article_btn_prev {    background: var(--Accent);}
.blog_back a.article_btn_next {    background: var(--Accent);}

/*文章標籤
.news_tags {    flex-wrap: wrap;}*/


/*文章-相關推薦*/
.news_related {
    background: #f3f3f3;
    padding: 25px 15px;
}
.news_related h6 span:before {
    font-size: 24px;
    color: #6d7980;
}
.lastPage {    color: #fff;    background: #ADA17E;}


/* = = = 相簿-分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*.overlay {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    display: block;
    background: rgba(0, 0, 0, .3);
    left: 0;
    top: 0;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: all .4s 100ms cubic-bezier(.42,0,.58,1);
}*/

/*相本分類全版面 ( 限制最寬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;}
*/

.pic-list .item a img {    transition: .4s ease;}
.pic-list .item a:hover img {
    transform: scale(1.05);
    transition: .4s ease;
    filter: grayscale(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; } 取消連結被點擊效果
*/


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */



@media (max-width:1024px) {
    :root {
        --f54: 48px;
        --f48: 40px;
        --f42: 38px;
        --f40: 36px;
        --f36: 32px;
        --f32: 28px;
        --f28: 24px;
        --f24: 22px;
        --f22: 20px;
    }
}


@media screen and (max-width: 768px) {
    :root {
        --f54: 36px;
        --f48: 32px;
        --f42: 30px;
        --f40: 28px;
        --f36: 26px;
        --f32: 24px;
        --f28: 20px;
        --f24: 20px;
        --f20: 18px;
        --f18: 17px;
        --f17: 16px;
    }

/* 開啟手機板下方按鈕所需設定
#bottom_menu {display: block; } */
.footer.with_shopping_mode { padding:30px 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;
}

/*漢堡選單*/
.stellarnav.mobile.left > ul {    border: none;}
.stellarnav.mobile.right .close-menu, .stellarnav.mobile.left .close-menu {
    background: var(--Accent); color: #fff;
}
.stellarnav .icon-close:before, .stellarnav .icon-close:after {    border-bottom: solid 2px #ffffff;}
.stellarnav a.dd-toggle .icon-plus:before, .stellarnav a.dd-toggle .icon-plus:after {    border-bottom: solid 2px var(--Primary);}/*下拉關掉*/
.stellarnav.mobile li.open {    background: var(--bgcolor);}/*下拉*/

ul.show-list, .pic-list {    grid-template-columns: repeat(2, 1fr);}
.blog_subbox {    grid-template-columns: repeat(2, 1fr);}
}


@media (max-width:600px) {
    :root {
        --f54: 32px;
        --f48: 28px;
        --f42: 26px;
        --f40: 24px;
        --f36: 22px;
        --f32: 20px;
        --f28: 18px;
        --f24: 18px;
        --f22: 18px;
        --f20: 17px;
        --f18: 16px;
        --f17: 15px;
        --f16: 15px;
    }
    ul.show-list, .pic-list {    grid-template-columns: 1fr;}

        /*聯絡我們表單*/
    .contact_form li {    grid-gap: 0;}
    .contact_form li .form__label {    background: transparent;}
}

@media (max-width:375px) {
    :root {
        --f54: 28px;
        --f48: 24px;
        --f42: 22px;
        --f40: 20px;
        --f36: 18px;
        --f32: 18px;
        --f28: 17px;
        --f24: 17px;
        --f22: 17px;
        --f20: 16px;
        --f18: 15px;
    }
}


