@charset "utf-8";

/*
關於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;}
*/


/*上方選單右邊設定 臉書/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}
*/


/*電腦LOGO
.nav-brand {}
*/

/*手機LOGO
.nav-brand-m {}
*/

/* header商品下拉超過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個--結束 */


/* = = = 分隔線 = = = = = = = = = == = = = = = = = = = = = = = = == = = */
/*預設解除背景輪播*/

#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;}
}


/*------------------------------------------------*/
/* 基礎設定 */
/*------------------------------------------------*/
.me_tp_features{display: none;}



/*------------------------------------------------*/
/* 全域變數 */
/*------------------------------------------------*/

:root {
    font-family: var(--Mainfont);
    color: var(--color1);
    line-height: 1.8;
    letter-spacing: 0.1em;

    --Mainfont: "Sulphur Point", "Noto Sans TC", sans-serif;
    --color1: #fff;
    --color2: #000;
    --color3: #ceb925;
    --trans: .35s cubic-bezier(0.4, 0, 0.2, 1);

    --f100: 100px;
    --f47: 47px;
    --f40: 40px;
    --f36: 36px;
    --f32: 32px;
    --f30: 30px;
    --f28: 28px;
    --f26: 26px;
    --f24: 24px;
    --f22: 22px;
    --f20: 20px;
    --f18: 18px;
    --f16: 16px;
}

@media screen and (max-width: 768px) {

    :root {
        --f100: 40px;
        --f30: 26px;
        --f24: 24px;
        --f22: 20px;
    }
}


/*------------------------------------------------*/
/* 捲軸 */
/*------------------------------------------------*/

::-webkit-scrollbar {
    width: 7px;
    background: #fff;
}

::-webkit-scrollbar-button {
    background: var(--color3);
    height: 0;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color2);
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(225, 225, 225, 0.6);
    background-color: #fff;
}


/*------------------------------------------------*/
/* OP 開場動畫｜柔和淡入版｜無開門感 */
/*------------------------------------------------*/

.pageIndex::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #fff;
    opacity: 1;
    animation: opSoftBgOut 2.6s 1.2s ease-in-out forwards;
}

.pageIndex::after {
    content: "";
    pointer-events: none;

    position: fixed;
    left: 50%;
    top: 50%;

    width: min(58vw, 620px);
    height: min(58vw, 620px);

    z-index: 10001;

    background-image: url(https://pic03.eapple.com.tw/shangcheye/banner-05.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0;

    transform: translate3d(-50%, -50%, 0) scale(0.96);

    backface-visibility: hidden;
    will-change: opacity, transform;

    animation: opLogoGentleIn 3s ease-out forwards;
}

/* 關閉原本舊 OP */
.pageIndex #page::before {
    display: none !important;
    content: none !important;
    animation: none !important;
}

@keyframes opSoftBgOut {

    0% {
        opacity: 1;
    }

    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes opLogoGentleIn {

    0% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0.94);
    }

    20% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }

    72% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(1.02);
        visibility: hidden;
    }
}





/*------------------------------------------------*/
/* 首頁大圖疊圖動畫｜位置固定只淡入 */
/*------------------------------------------------*/

.pageIndex .bannerindex .swiper-slide::before,
.pageIndex .bannerindex .swiper-slide::after {
    content: "";
    position: absolute;
    inset: 0;

    z-index: 9;

    pointer-events: none;

    width: 100%;
    height: 100%;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    opacity: 0;

    transform: none !important;

    backface-visibility: hidden;
    will-change: opacity;
}

/* 大圖1 疊圖 */
.pageIndex .bannerindex .swiper-slide:nth-child(1)::before {
    background-image: url(https://pic03.eapple.com.tw/shangcheye/banner-03.png);
}

/* 大圖2 疊圖 */
.pageIndex .bannerindex .swiper-slide:nth-child(2)::before {
    background-image: url(https://pic03.eapple.com.tw/shangcheye/banner-04.png);
}

/* active 時只淡入 */
.pageIndex .bannerindex .swiper-slide:nth-child(1).swiper-slide-active::before,
.pageIndex .bannerindex .swiper-slide:nth-child(2).swiper-slide-active::before {
    animation: bannerLayerFadeIn 2s 0.35s ease-out forwards;
}

@keyframes bannerLayerFadeIn {

    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*------------------------------------------------*/
/* RWD */
/*------------------------------------------------*/

/*------------------------------------------------*/
/* RWD768｜手機版 Banner：換底圖＋換疊圖｜穩定版 */
/*------------------------------------------------*/

@media screen and (max-width: 768px) {

    .pageIndex .bannerindex {
        width: 100%;
        height: clamp(430px, 118vw, 900px) !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden;
        background: #000;
    }

    .pageIndex .swiper-banner,
    .pageIndex .swiper-banner .swiper-wrapper,
    .pageIndex .swiper-banner .swiper-slide {
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .pageIndex .swiper-banner {
        position: relative;
        overflow: hidden;
    }

    .pageIndex .swiper-banner .swiper-wrapper {
        align-items: stretch;
    }

    .pageIndex .swiper-banner .swiper-slide {
        position: relative;
        overflow: hidden;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .pageIndex .swiper-banner .swiper-slide a {
        display: block;
        width: 100%;
        height: 100%;
    }

    .pageIndex .swiper-banner .swiper-slide img {
        display: none !important;
    }

    /* 手機版大圖1：底圖 */
    .pageIndex .swiper-banner .swiper-slide:nth-child(1) {
        background-image: url(https://pic03.eapple.com.tw/shangcheye/banner-06.png) !important;
    }

    /* 手機版大圖2：底圖 */
    .pageIndex .swiper-banner .swiper-slide:nth-child(2) {
        background-image: url(https://pic03.eapple.com.tw/shangcheye/banner-07.png) !important;
    }

/*------------------------------------------------*/
/* 手機版取消疊圖 */
/*------------------------------------------------*/

.pageIndex .bannerindex .swiper-slide::before,
.pageIndex .bannerindex .swiper-slide::after {
    display: none !important;
    content: none !important;
    background: none !important;
    animation: none !important;
}

@keyframes bannerLayerFadeInMobile {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
}





/* ================= Header ================= */

/*------------------------------------------------*/
/* Header 基礎 */
/*------------------------------------------------*/

.header_area {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: none;
    transition: background 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
}

/* 首頁壓在大圖上 */
.pageIndex .header_area {
    position: fixed;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
}

/* Header 內層 */
.main_header_area {
    background: transparent;
    transition: background 0.45s ease, padding 0.45s ease;
}

/* 內容寬度 */
.main_header_area .container {
    max-width: 1600px;
}

/* 滑動後：深藍玻璃感 */
.header_area.sticky {
    background: #000;
    box-shadow: 0 8px 28px rgba(9, 67, 109, 0.16);
}

.header_area.sticky .main_header_area {
    background: transparent;
}


/*------------------------------------------------*/
/* Header 進場感：柔和淡入 */
/*------------------------------------------------*/

.pageIndex .header_area {
    animation: headerSoftIn 1.2s 2.4s ease-out forwards;
    padding-top: 15px;
}

@keyframes headerSoftIn {
    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}




/*------------------------------------------------*/
/* 選單 */
/*------------------------------------------------*/

/*------------------------------------------------*/
/* 選單｜汽車鈑金烤漆・金屬修復風格 */
/*------------------------------------------------*/

/* 第一層選單 */
.stellarnav ul {
    text-align: right;
}

.stellarnav > ul > li {
    position: relative;
}

.stellarnav > ul > li > a {
    position: relative;
    overflow: hidden;
    padding: 0 15px;
    margin: 0;
    color: #000;
    letter-spacing: 0.04rem;
    font-weight: bold;
    transition: color 0.35s ease, opacity 0.35s ease;
}

/* 文字 */
.stellarnav > ul > li > a b {
    position: relative;
    z-index: 2;
    color: #fff;
    transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* 首頁未 sticky */
.pageIndex .header_area:not(.sticky) .stellarnav > ul > li > a,
.pageIndex .header_area:not(.sticky) .stellarnav > ul > li > a b {
    color: #fff;
}

/* sticky */
.header_area.sticky .stellarnav > ul > li > a,
.header_area.sticky .stellarnav > ul > li > a b {
    color: #f6dd2c;
}

/* Hover 背景：斜切金屬感 */
.stellarnav > ul > li > a::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 28px;
    z-index: 0;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(206, 185, 37, 0.08) 18%,
        rgba(206, 185, 37, 0.28) 50%,
        rgba(206, 185, 37, 0.08) 82%,
        transparent 100%
    );
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transform: translateX(-50%);
    transition: width 0.45s ease, opacity 0.45s ease;
    opacity: 0;
}

/* Hover 底線：像車身烤漆反光線 */
.stellarnav > ul > li > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 0;
    height: 2px;
    z-index: 1;
    background: linear-gradient(
        90deg,
        transparent,
        #ceb925,
        #fff7a8,
        #ceb925,
        transparent
    );
    transform: translateX(-50%);
    transition: width 0.45s ease;
}

.stellarnav > ul > li:hover > a::before {
    width: 82%;
    opacity: 1;
}

.stellarnav > ul > li:hover > a::after {
    width: 64%;
}

.stellarnav > ul > li:hover > a,
.stellarnav > ul > li:hover > a b {
    color: #ceb925;
    text-shadow: 0 0 12px rgba(206, 185, 37, 0.35);
}

.header_area.sticky .stellarnav > ul > li:hover > a,
.header_area.sticky .stellarnav > ul > li:hover > a b {
    color: #fff7a8;
    opacity: 1;
}


/*------------------------------------------------*/
/* 第一層下拉箭頭 */
/*------------------------------------------------*/

.stellarnav li.has-sub > a:after {
    position: absolute;
    top: 40%;
    right: 4px;
    width: 7px;
    height: 7px;
    display: block;
    border-style: solid;
    border-width: 0 1px 1px 0;
    border-color: currentColor;
    transform: rotate(45deg);
    transition: border-color 0.35s ease, transform 0.35s ease;
}

.stellarnav li.has-sub:hover > a:after {
    transform: rotate(45deg) translate(2px, 2px);
}

.header_area.sticky .stellarnav li.has-sub > a:after,
.pageIndex .header_area:not(.sticky) .stellarnav li.has-sub > a:after {
    border-color: currentColor;
}


/*------------------------------------------------*/
/* 第二層下拉選單 */
/*------------------------------------------------*/

.stellarnav li li {
    border: none;
}

.stellarnav li ul {
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
    border-top: 2px solid rgba(206, 185, 37, 0.65);
}

.stellarnav li li > a,
.stellarnav li li.has-sub > a {
    position: relative;
    overflow: hidden;
    padding: 11px 14px;
    color: #ceb925;
    background: transparent;
    transition: color 0.35s ease, background 0.35s ease, padding-left 0.35s ease;
}

/* 第二層左側金屬線 */
.stellarnav li li > a::before {
    content: "";
    position: absolute;
    left: 9px;
    top: 50%;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #ceb925, #fff7a8);
    opacity: 0.8;
    transform: translateY(-50%);
    transition: width 0.35s ease;
}

/* 第二層掃光 */
.stellarnav li li > a::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.18),
        transparent
    );
    transform: skewX(-18deg);
    transition: left 0.55s ease;
}

.stellarnav li li:hover > a,
.stellarnav li li.has-sub:hover > a,
.stellarnav li li a:hover {
    color: #fff;
    background: linear-gradient(90deg, rgba(206, 185, 37, 0.22), rgba(206, 185, 37, 0.06));
    padding-left: 25px;
}

.stellarnav li li:hover > a::before {
    width: 10px;
}

.stellarnav li li:hover > a::after {
    left: 120%;
}


/*------------------------------------------------*/
/* RWD 1100 */
/*------------------------------------------------*/

@media screen and (max-width: 1100px) {
    .stellarnav > ul > li > a {
        padding: 0 10px;
    }
}


/*------------------------------------------------*/
/* RWD 1024 */
/*------------------------------------------------*/

@media screen and (max-width: 1024px) {

    :root {
        --f60: 54px;
        --f54: 48px;
        --f48: 40px;
        --f42: 38px;
        --f40: 36px;
        --f36: 32px;
        --f32: 28px;
        --f28: 24px;
        --f24: 22px;
        --f22: 20px;
        --pd80: 60px;
    }

    .pageIndex .header_area {
        opacity: 1;
        transform: none;
        animation: none;
        position: sticky;
        background: #000;
        backdrop-filter: none;
    }

    .header_area {
        position: sticky;
        background: #fff;
    }

    .header_area.sticky {
        background: #000;
    }

    .navigation {
        display: flex;
        align-items: center;
    }

    .stellarnav ul {
        text-align: center;
    }

    .pageIndex .header_area:not(.sticky) .stellarnav > ul > li > a,
    .pageIndex .header_area:not(.sticky) .stellarnav > ul > li > a b {
        color: #ceb925;
    }

    .pageIndex .header_area:not(.sticky) .stellarnav li.has-sub > a:after {
        border-color: #ceb925;
    }
}


/*------------------------------------------------*/
/* RWD 800 */
/*------------------------------------------------*/

@media screen and (max-width: 800px) {
    .stellarnav > ul > li > a {
        padding: 0 8px;
    }
}


/*------------------------------------------------*/
/* RWD 768｜手機選單 */
/*------------------------------------------------*/

@media screen and (max-width: 768px) {

    .header_area,
    .pageIndex .header_area,
    .header_area.sticky {
        background: #000;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
        backdrop-filter: unset;
    }

    .header_area.sticky .stellarnav > ul > li > a b {
        color: #ceb925;
    }

    .pageIndex .header_area:not(.sticky) .stellarnav > ul > li > a,
    .pageIndex .header_area:not(.sticky) .stellarnav > ul > li > a b,
    .header_area.sticky .stellarnav > ul > li > a,
    .header_area.sticky .stellarnav > ul > li > a b {
        color: #ceb925;
    }

    /* 手機關閉桌機 hover 特效，避免殘影 */
    .stellarnav > ul > li > a::before,
    .stellarnav > ul > li > a::after {
        display: none;
    }

    .stellarnav .menu-toggle:after {
        display: none;
    }

    .stellarnav .menu-toggle span.bars {
        top: 0;
    }

    .stellarnav .menu-toggle span.bars span {
        width: 28px;
        height: 2px;
        background: #ceb925;
        border-radius: 10px;
    }

    .sticky .stellarnav .menu-toggle span.bars span {
        background: #ceb925;
    }

    .stellarnav.mobile {
        left: 20px;
    }

    .stellarnav.mobile > ul {
        background: #000;
        backdrop-filter: unset;
    }

    .stellarnav.mobile.right > ul,
    .stellarnav.mobile.left > ul {
        border-right: none;
    }

    .stellarnav.mobile > ul > li {
        border-bottom: 1px solid rgba(206, 185, 37, 0.16);
    }

    .stellarnav.mobile > ul > li > a {
        color: #ceb925;
        background: transparent;
    }

    .stellarnav.mobile > ul > li > a b {
        vertical-align: middle;
        color: #ceb925;
    }

    .stellarnav.mobile > ul > li > a.dd-toggle {
        top: 18px;
        background: transparent;
    }

    .stellarnav.mobile > ul > li.open > a.dd-toggle {
        top: 5px;
    }

    .stellarnav a.dd-toggle .icon-plus:before,
    .stellarnav a.dd-toggle .icon-plus:after {
        width: 10px;
        border-bottom: solid 1px #ceb925;
    }

    .stellarnav.mobile .close-menu {
        position: relative;
        color: transparent;
    }

    .stellarnav.mobile .close-menu > * {
        display: none;
    }

    .stellarnav.mobile.right .close-menu,
    .stellarnav.mobile.left .close-menu {
        background: transparent;
    }

    .stellarnav.mobile.left .close-menu {
        background: #ceb925;
        width: 32px;
        height: 32px;
        margin: 10px 10px 0 auto;
        border-radius: 10px;
        display: block;
    }

    .stellarnav.mobile .close-menu:before {
        content: "×";
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 100%;
        height: 100%;
        line-height: 30px;
        text-align: center;
        color: #000;
        font-size: 20px;
        padding-left: 1px;
    }

    .stellarnav.mobile li.open {
        background: rgba(206, 185, 37, 0.06);
        padding: 0;
    }

    .stellarnav.mobile li.open li.open {
        background: rgba(206, 185, 37, 0.09);
        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;
        color: #ceb925;
    }

    .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 > ul > li > ul ~ a.dd-toggle .icon-plus {
        margin: 0 auto;
        display: block;
    }

    .stellarnav li.has-sub li a:hover {
        background: rgba(206, 185, 37, 0.08);
        color: #ceb925;
    }
}


/*------------------------------------------------*/
/* RWD 570 / 400 */
/*------------------------------------------------*/

@media screen and (max-width: 570px) {
    .stellarnav.mobile {
        top: 18px;
    }
}

@media screen and (max-width: 400px) {
    .stellarnav.mobile {
        top: 15px;
    }
}


/*------------------------------------------------*/
/* #bottom_menu */
/*------------------------------------------------*/

#bottom_menu li a {
    background: #000;
    color: #fff;
}






/*------------------------------------------------*/
/* footer */
/*------------------------------------------------*/

.footer {
    position: relative;
    overflow: hidden;
    background: #000;
    padding: 70px 0 25px;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
}

/* 金屬光感背景 */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0%, rgba(206, 185, 37, 0.08) 35%, transparent 65%),
        radial-gradient(circle at 50% 0%, rgba(206, 185, 37, 0.18), transparent 38%);
    opacity: 0.9;
}

/* 上方金屬線 */
.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: min(90%, 1200px);
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, #ceb925, #fff7a8, #ceb925, transparent);
}

.footer .center {
    position: relative;
    z-index: 2;
    padding: 0 3%;
    max-width: 1200px;
}

/* Logo */
.footer_logo {
    width: 40%;
    max-width: 250px;
    margin: 0 auto 28px;
    filter: drop-shadow(0 0 14px rgba(206, 185, 37, 0.25));
}

/* 資訊區 */
.footer_info {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    grid-gap: 24px;
    text-align: center;
}

.footer_info li {
    padding: 0;
}

.footer_info li:nth-child(1) {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 6px 20px;
    text-align: center;
}

.footer_info li p,
.footer_info li p a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    letter-spacing: 0.06em;
    transition: color 0.35s ease;
}

.footer_info li p a:hover {
    color: #ceb925;
}

/* 導覽按鈕 */
.footer_info li:nth-child(2) {
    margin-top: 18px;
    text-align: center;
}

.footer_menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer_menu a {
    position: relative;
    overflow: hidden;
    min-width: 90px;
    padding: 8px 16px;
    background: rgba(206, 185, 37, 0.08);
    border: 1px solid rgba(206, 185, 37, 0.35);
    border-radius: 0;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    color: #ceb925;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.08em;
    transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

/* 按鈕掃光 */
.footer_menu a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 42%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
}

.footer_menu a:hover {
    color: #000;
    background: #ceb925;
    border-color: #fff7a8;
}

.footer_menu a:hover::before {
    left: 120%;
}

/* 隱藏回首頁 */
.footer_menu a:first-of-type {
    display: none;
}

/* 版權 */
.copy {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(206, 185, 37, 0.18);
    margin-top: 40px;
    padding-top: 18px;
    text-align: center;
}

.copy,
.copy a {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.58);
    letter-spacing: 0.05em;
}

.copy a:hover {
    color: #ceb925;
    text-decoration: underline #ceb925 1px solid;
    text-underline-offset: 4px;
}


/* -------------------- RWD -------------------- */

@media screen and (max-width: 1300px) {

    .footer_info {
        grid-template-columns: 1fr;
        padding-right: 0;
        text-align: center;
    }

    .footer_logo {
        margin: 0 auto 24px;
    }

    .box_link {
        position: relative;
        max-width: inherit;
        flex-direction: row;
        right: auto;
        justify-content: center;
    }

    .box_link a {
        margin: 8px;
    }
}


@media screen and (max-width: 768px) {

    .footer {
        padding: 50px 0 25px;
    }

    .footer.with_shopping_mode {
        padding: 50px 0 70px;
    }

    #to_top {
        bottom: 60px;
    }

    .footer_logo {
        width: 56%;
        max-width: 210px;
        margin-bottom: 24px;
    }

    .footer_info li:nth-child(1) {
        max-width: 90%;
        gap: 4px;
    }

    .footer_info li p,
    .footer_info li p a {
        font-size: 13px;
        line-height: 1.8;
    }

    .footer_menu {
        gap: 8px;
    }

    .footer_menu a {
        min-width: auto;
        padding: 7px 13px;
        font-size: 11px;
    }

    .copy {
        margin-top: 32px;
        padding: 16px 15px 0;
    }
}


@media screen and (max-width: 480px) {

    .footer_logo {
        width: 65%;
        max-width: 190px;
    }

    .footer_menu {
        gap: 6px;
    }

    .footer_menu a {
        width: calc(50% - 6px);
        padding: 8px 10px;
    }
}

