@media only screen and (min-width: 961px) {
	}
/* 1. 回到頂頁按鈕基礎樣式：完全固定定位、圓形、半透明 */
        .custom-back-to-top {
            position: fixed;
            bottom: 30px;               /* 距離畫面底部 30 像素 */
            right: 30px;                /* 距離畫面右方 30 像素 */
            width: 50px;
            height: 50px;
            background-color: rgba(0, 0, 0, 0.4); /* 預設半透明黑色（可依需求改色） */
            border-radius: 50%;         /* 完美圓形 */
            border: none;
            cursor: pointer;
            
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 99999;             /* 給予極高層級，確保永遠蓋在網頁最上層 */
            
            /* 3. 預設狀態：透明度為 0 且不可點擊（隱藏狀態） */
            opacity: 0;
            visibility: hidden;
            
            /* 平滑的過渡動畫（控制淡入淡出、懸停變色與微微上浮） */
            transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease, transform 0.2s ease;
        }

        /* 中間的向上箭頭（利用純 CSS 繪製，不依賴圖檔） */
        .custom-back-to-top::after {
            content: "";
            width: 12px;
            height: 12px;
            border-top: 3px solid #ffffff; /* 箭頭線條粗細與顏色 */
            border-left: 3px solid #ffffff;
            transform: translateY(3px) rotate(45deg); /* 旋轉 45 度形成向上箭頭 */
        }

        /* 2. 滑鼠滑過（Hover）時的變色與視覺回饋 */
        .custom-back-to-top:hover {
            background-color: rgba(0, 0, 0, 0.8); /* 顏色變深（降低透明度） */
            transform: translateY(-2px);           /* 稍微往上浮動 */
        }

        /* 當使用者滑動超過指定距離時，由 JS 動態加入此 Class 觸發淡入顯示 */
        .custom-back-to-top.is-visible {
            opacity: 1;
            visibility: visible;
        }

@media only screen and (min-width: 767px) and (max-width: 960px) {
	}
  /* 1. 回到頂頁按鈕基礎樣式：完全固定定位、圓形、半透明 */
        .custom-back-to-top {
            position: fixed;
            bottom: 30px;               /* 距離畫面底部 30 像素 */
            right: 30px;                /* 距離畫面右方 30 像素 */
            width: 50px;
            height: 50px;
            background-color: rgba(0, 0, 0, 0.4); /* 預設半透明黑色（可依需求改色） */
            border-radius: 50%;         /* 完美圓形 */
            border: none;
            cursor: pointer;
            
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 99999;             /* 給予極高層級，確保永遠蓋在網頁最上層 */
            
            /* 3. 預設狀態：透明度為 0 且不可點擊（隱藏狀態） */
            opacity: 0;
            visibility: hidden;
            
            /* 平滑的過渡動畫（控制淡入淡出、懸停變色與微微上浮） */
            transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease, transform 0.2s ease;
        }

        /* 中間的向上箭頭（利用純 CSS 繪製，不依賴圖檔） */
        .custom-back-to-top::after {
            content: "";
            width: 12px;
            height: 12px;
            border-top: 3px solid #ffffff; /* 箭頭線條粗細與顏色 */
            border-left: 3px solid #ffffff;
            transform: translateY(3px) rotate(45deg); /* 旋轉 45 度形成向上箭頭 */
        }

        /* 2. 滑鼠滑過（Hover）時的變色與視覺回饋 */
        .custom-back-to-top:hover {
            background-color: rgba(0, 0, 0, 0.8); /* 顏色變深（降低透明度） */
            transform: translateY(-2px);           /* 稍微往上浮動 */
        }

        /* 當使用者滑動超過指定距離時，由 JS 動態加入此 Class 觸發淡入顯示 */
        .custom-back-to-top.is-visible {
            opacity: 1;
            visibility: visible;
        }
@media only screen and (min-width: 0px) and (max-width: 766px){
		}        /* 1. 回到頂頁按鈕基礎樣式：完全固定定位、圓形、半透明 */
        .custom-back-to-top {
            position: fixed;
            bottom: 30px;               /* 距離畫面底部 30 像素 */
            right: 30px;                /* 距離畫面右方 30 像素 */
            width: 50px;
            height: 50px;
            background-color: rgba(0, 0, 0, 0.4); /* 預設半透明黑色（可依需求改色） */
            border-radius: 50%;         /* 完美圓形 */
            border: none;
            cursor: pointer;
            
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 99999;             /* 給予極高層級，確保永遠蓋在網頁最上層 */
            
            /* 3. 預設狀態：透明度為 0 且不可點擊（隱藏狀態） */
            opacity: 0;
            visibility: hidden;
            
            /* 平滑的過渡動畫（控制淡入淡出、懸停變色與微微上浮） */
            transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s ease, transform 0.2s ease;
        }

        /* 中間的向上箭頭（利用純 CSS 繪製，不依賴圖檔） */
        .custom-back-to-top::after {
            content: "";
            width: 12px;
            height: 12px;
            border-top: 3px solid #ffffff; /* 箭頭線條粗細與顏色 */
            border-left: 3px solid #ffffff;
            transform: translateY(3px) rotate(45deg); /* 旋轉 45 度形成向上箭頭 */
        }

        /* 2. 滑鼠滑過（Hover）時的變色與視覺回饋 */
        .custom-back-to-top:hover {
            background-color: rgba(0, 0, 0, 0.8); /* 顏色變深（降低透明度） */
            transform: translateY(-2px);           /* 稍微往上浮動 */
        }

        /* 當使用者滑動超過指定距離時，由 JS 動態加入此 Class 觸發淡入顯示 */
        .custom-back-to-top.is-visible {
            opacity: 1;
            visibility: visible;
        }


