@charset "UTF-8";
@import url("reset.css");

/* -----------------------------------------
    共用
------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html, body {
    width: 100%;
	letter-spacing: 1px;
}

figure{
	margin: 0;
}


/* -----------------------------------------
    SEO
------------------------------------------*/
.seo-h1 {
	height: 0px;
    width: 0px;
    transform: scale(0);
}


/* -----------------------------------------
    KV 主視覺
------------------------------------------*/
article.event-kv {
    width: 100%;
    margin-top: 67px;
}

.hero {
    position: relative;
    width: 100%;
    padding-top: 46.42%; /* 電腦版比例 16:9 */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* 裝飾小圖（position + 動畫屬性合併） */
.decor-img {
    position: absolute;
    height: auto;
    z-index: 3;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    display: inline-block;
}

.img1 {
    width: 100%;
    max-width: 166px;
    top: 0;
    right: 0;
    animation-name: swing;
}

.img2 {
    width: 7%;
    max-width: 100px;
    top: 42%;
    left: 10%;
    animation-name: swing;
}

@keyframes swing {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) rotate(15deg);
    }
}

@media screen and (max-width: 1024px) {
    article.event-kv {
        margin-top: 64px;
    }
}
@media screen and (max-width: 830px) {
    .img1{
		max-width: 130px;
	}
}

@media screen and (max-width: 768px) {
    article.event-kv {
        margin-top: 58px;
    }
}

@media screen and (max-width: 540px) {
    article.event-kv {
        width: 100%;
        margin-top: 57px;
    }
    .hero {
        /* 因為 <picture> 切換了圖片，外框容器需要改變高度比例 */
        padding-top: 179%; /* 700/393 * 100% */
    }
	.img1 {
		top: -25px;
		right: -50px;
	}
}
@media screen and (max-width: 450px){
    .img1 {
        top: -80px;
        right: -15px;
    }
}



/* -----------------------------------------
	次導覽列
------------------------------------------*/
.sticky_bar{
    margin-top:30px;
    position: sticky;
    top:68px;
    background-color: rgba(256, 256, 256, 0.7);
    backdrop-filter: blur(8px); /* 保持毛玻璃效果 */
    z-index: 9;
}
.stick_list{
    display: flex;
    flex-direction: row;
    justify-content: center;
}  
.stick{
    margin: 10px 10px;
}
a.taglink{
    display: block;
    font-size:16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 30px;
    border: 1px solid #1cada4;
    border-radius: 50px;
    color:#1cada4;

    /* 過渡效果 */
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
a.taglink:hover{
    background-color: #1cada4;
    color: #fff;
    transform: scale(1.08);
}

/* 平板 768px ~ 1024px */
@media screen and (max-width: 1024px) {
    .sticky_bar{
        top: 64px;
    }
}

/* 大手機、小平板 480px ~ 767px */
@media screen and (max-width: 768px) {
    .sticky_bar{
        top: 61px;
    }
    a.taglink{
        font-size: 14px;
    }
}

/* 小手機 540px 以下 */
@media screen and (max-width: 540px) {
    .sticky_bar{
        margin-top: 20px;
    }
    .stick_list{
        flex-wrap: wrap;
        padding: 6px 0;
    }
    .stick{
        margin: 5px 5px;
    }
    a.taglink {
        font-size: 14px;
        width: 125px;
        padding: 8px 16px;
        text-align: center;
    }
}

/* 小手機 430px 以下 */
@media screen and (max-width: 430px) {
    a.taglink {
        font-size: 13px;
        width: 110px;
        padding: 8px 8px;
        text-align: center;
    }
}






/* -----------------------------------------
	點數累積
------------------------------------------*/

/* 區塊基礎設定 */
.points-article {
	width: 100%;
	padding: 70px 20px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
    scroll-margin-top: 70px;
}

.article-title img {
	max-width: 26%;
	height: auto;
	margin-bottom: 40px;
}

/* 容器排版 */
.cards-container {
	display: flex;
	justify-content: center;
	gap: 36px; /* 區塊間距 */
	flex-wrap: wrap; /* 確保手機版會自動換行 */
}

/* 小區塊基礎樣式 */
.card {
	position: relative;
	width: 360px;
	height: 270px;
	overflow: hidden; /* 確保圖片放大不會溢出 */
	border-radius: 30px; /* 建議稍微圓角，設計感較佳 */
	display: flex;
	cursor: pointer;
	padding-left: 30px;
}

/* 背景圖處理 */
.card-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
	z-index: 1;
}

/* A、B 區塊個別背景 */
.card-a .card-bg { background-image: url('../images/bg-card-a.svg'); background-color: #d3f2f1;}
.card-b .card-bg { background-image: url('../images/bg-card-b.svg'); background-color: #ffe3ba;}

/* Hover 放大效果 */
.card:hover .card-bg {
	transform: scale(1.1);
}

/* 文字內容與按鈕 */
.card-content {
	position: relative;
	z-index: 2; /* 確保在背景圖之上 */
	display: flex;
	flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
}

.card-a h3 {
	color: #007a7a;
	font-size: 32px;
	font-weight: 600;
	margin-bottom: 20px;
}

.card-b h3 {
	color: #8c4600;
	font-size: 32px;
	font-weight: 600;
	margin-bottom: 20px;
}

.card-a .card-btn {
	background-color: #00a19b;
	color: #ffffff;
}

.card-b .card-btn {
	background-color: #ed8507;
	color: #ffffff;
}

/* 共用按鈕 */
.card-btn {
	display: inline-block;
	padding: 10px 32px;
	text-decoration: none;
	border-radius: 50px;
	font-weight: 500;
	font-size: 16px;
	transition: background-color 0.3s, transform 0.2s;
	position: relative;
	z-index: 3;
}

/* 懸停效果 */
.card-a .card-btn:hover {
	opacity: 0.7;
}

.card-b .card-btn:hover {
	opacity: 0.7;
}

.card-btn:active {
	transform: scale(0.95); /* 點擊時的縮放回饋 */
}

@media (max-width: 768px) {
	.card {
		width: 100%; /* 手機版撐滿寬度 */
		max-width: 360px;
	}
}

@media screen and (max-width: 540px){
	.article-title img {
		max-width: 66%;
	}
}




/* -----------------------------------------
	點數使用
------------------------------------------*/
.points-article2{
	width: 100%;
	margin: 0 auto;
	text-align: center;
	position: relative;
	background-color: #fff7e3;
    background-image: 
		/* 水平線條 */linear-gradient(to bottom, transparent calc(100% - 1.2px), #ffffff calc(100% - 1.2px)),
		/* 垂直線條 */linear-gradient(to right, transparent calc(100% - 1.2px), #ffffff calc(100% - 1.2px));
    background-size: 20px 20px; /* 格線大小*/
    background-position: top left; /* 格線從左上角開始 */
    scroll-margin-top: 70px;
}
.points-section{
	width: 100%;
    padding: 70px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* 圓弧 */
.intro-white{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.bg-wave1 {
	position: absolute;
    background-image: url(../images/bg-wave1.svg);
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
    left: 0;
    top: 0;
    z-index: 2;
}
.bg-wave2 {
	position: absolute;
    background-image: url(../images/bg-wave2.svg);
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    left: 0;
    bottom: 0;
    z-index: 2;
}
.article-title2 img{
	margin-bottom: 20px;
}
.title-p{
	color: #2f2f2f;
	font-size: 20px;
	font-weight: 500;
}

/* 左圖右文 右圖左文 */
.points-container {
    max-width: 820px; /* 根據您的版面調整 */
    margin: 40px auto;
    padding: 0 20px;
}
.point-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
    gap: 60px;
}

/* 圖片*/
.point-img {
    flex: 0 1 400px;
    transition: transform 0.5s ease; 
}
.point-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease; 
}
.point-item:hover .point-img img {
    transform: scale(1.1) rotate(3deg);
}

/* 文字 */
.point-content {
    flex: 1;
    text-align: left;
}
.point-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 500;
}
.h3-1{
	color: #d97b00;
}
.h3-2{
	color: #7b62de;
}
.point-content p {
    font-size: 20px;
	font-weight: 500;
    color: #2f2f2f;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* 按鈕樣式 */
.btn-group {
    display: flex;
    gap: 12px; /* 按鈕之間的間距 */
    flex-wrap: wrap; /* 避免寬度不足時強行擠壓 */
}
.btn-tutorial {
    display: inline-block;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border: 1px solid transparent; /* 增加透明邊框防止 hover 時跳動 */
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap; /* 避免按鈕內文字斷行 */
}
.bn1 { background-color: #d97b00; }
.bn2 { background-color: #7b62de; }

.btn-tutorial:hover {
    opacity: 0.7;
}

/* 桌面端：B 區塊右圖左文 */
@media (max-width: 830px) {
	.points-container{
		max-width: 700px;
	}
	.point-img {
		flex: 0 1 300px;
	}
}
@media (min-width: 601px) {
    .point-item.reverse {
        flex-direction: row-reverse;
    }
}

/* 手機端：全部改為垂直排列 */
@media (max-width: 600px) {
    .point-item, .point-item.reverse {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .point-content {
        text-align: center;
    }
    .btn-group {
        justify-content: center;
        gap: 10px;
    }
    .point-content h3 {
        font-size: 28px;
    }
    .point-content p {
        font-size: 18px;
    }
    .point-img {
        flex: 0 1 auto;
    }
}


/* 更多用點攻略 */
.extra-services-container {
    max-width: 1000px;
    margin: 100px auto 40px; 
    background-color: #ffffff;
    border: 2px solid #ffec9c;
    border-radius: 60px;
    padding: 40px 20px;
    box-sizing: border-box;
	position: relative;
}
.section-title{
	position: relative;
	top: -60px;
}
.section-title img{
	max-width: 32%;
	height: auto;
}

/* 網格系統：預設電腦版 3 欄 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
}

/* 單一項目排版 */
.service-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平置中 */
    text-align: center;
}
.service-item img {
    max-width: 210px;
    height: auto;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 22px;
    margin: 0 0 10px 0;
    font-weight: 500;
}
.h3-3{
	color: #6550bd;
}
.h3-4{
	color: #f59227;
}

.service-item p {
	width: 80%;
    font-size: 16px;
    color: #2f2f2f;
    margin: 0 0 15px 0;
    line-height: 1.5;
    min-height: 3em; /* 保持內文高度一致，避免按鈕錯位 */
}

.service-item a {
    font-size: 14px;
    color: #00a19b; /* 建議使用玉山綠或您的品牌色 */
    text-decoration: underline;
	font-weight: 500;
    
}

.service-item a:hover {
	opacity: 0.7;
}

/* RWD 回應式設計 */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 平板改為 2 欄 */
    }
	.section-title img{
		max-width: 38%;
	}
}

@media (max-width: 600px) {
    .extra-services-container {
        border-radius: 40px; /* 手機版圓角稍微縮小 */
        padding: 30px 15px;
		margin-top: 190px;
    }
    .services-grid {
        grid-template-columns: 1fr; /* 手機版改為 1 欄 */
        gap: 40px;
    }
	.section-title img {
        max-width: 56%;
    }
}
@media (max-width: 450px) {
	.section-title {
		top: -50px;
	}
	.section-title img {
		max-width: 70%;
	}
	.service-item img{
		max-width: 160px;
	}
	.service-item h3{
		margin: 0 0 5px 0;
	}
	.service-item p {
		min-height: 1em;
	}

}





/* A、B區塊共用外殼 */
.info-horizontal-box {
    max-width: 1000px;
    margin: 0 auto 40px; /* 與上方區塊保持間距 */
    background-color: #ffffff;
    border: 2px solid #ffec9c;
    border-radius: 60px;
    padding: 40px 70px; /* 增加左右內距 */
    box-sizing: border-box;
}

/* Flex 容器設置 */
.info-flex-container {
    display: flex;
    align-items: center; /* 垂直居中 */
    gap: 40px; /* 圖文間距 */
}

/* 左側圖片控制 */
.info-img img {
    width: 280px;
    height: auto;
    display: block;
}

/* 右側內容控制 */
.info-content {
    flex: 1; /* 佔滿剩餘空間 */
    text-align: left;
}

.info-title {
    font-size: 24px;
    color: #00a19b;
    margin: 0 0 15px 0;
    font-weight: bold;
}

.info-text {
    font-size: 16px;
    color: #2f2f2f;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* B區塊專用：小圖組 */
.small-logos {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.small-logos img {
    width: 195px;
    height: 56px;
    object-fit: contain;
}

/* B區塊專用：按鈕組 */
.btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap; /* 超出時自動換行 */
}

.btn-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 50px;
    border: 1px solid #00a19b;
    border-radius: 8px;
    background-color: #ffffff;
    color: #00a19b;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: #00a19b;
    color: #ffffff;
}

/* --- RWD 響應式優化 --- */

@media (max-width: 992px) {
    .info-horizontal-box {
        padding: 40px;
    }
	.info-img img {
		width: 200px;
	}
}

@media (max-width: 768px) {
    .info-flex-container {
        flex-direction: column; /* 改為上下排列 */
        text-align: center;
		gap: 20px;
    }
    .info-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .btn-group {
        justify-content: center;
    }
}

@media (max-width: 600px){
    .small-logos {
        flex-direction: column; /* 小圖改為上下排列 */
        align-items: center;
    }
	.info-img img {
        width: 250px;
    }
}

@media (max-width: 450px) {
    .info-horizontal-box {
        border-radius: 40px;
        padding: 30px 20px;
    }
    .info-img img {
        width: 230px; /* 手機版縮小圖片 */
    }
    .info-title {
        font-size: 20px;
    }
    .btn-outline {
        width: 100%; /* 手機版按鈕撐滿 */
        max-width: 240px;
    }
}





/* 1. 確保父容器有定位基準 */
.info-horizontal-box {
    position: relative; /* 原本已有設定，請確保存在 */
}

/* 2. Logo 定位與樣式 */
.corner-logo {
    position: absolute;
    top: -20px;   /* 稍微向上偏移，讓它有點飄浮感 */
    right: 130px;  /* 靠右距離 */
    z-index: 8;
}

.corner-logo img {
    width: 90px;
    height: auto;
    /* 執行動畫：名稱 期間 速度 循環 */
    animation: pulse-zoom 2s ease-in-out infinite;
}

/* 3. 放大縮小動畫 (呼吸效果) */
@keyframes pulse-zoom {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 5px 15px rgba(0,0,0,0.05));
    }
    50% {
        transform: scale(1.1); /* 放大 1.1 倍 */
        filter: drop-shadow(0 10px 25px rgba(0,0,0,0.1));
    }
}

/* --- RWD 響應式優化 --- */

@media (max-width: 992px) {
    .corner-logo {
        right: 60px;
        top: -10px;
    }
}

@media (max-width: 768px) {
    .corner-logo {
        top: -30px;   /* 手機版改為置中偏上 */
        right: 34%;
        transform: translateX(50%);
    }
    /* 修正手機版置中動畫，需包含 translateX */
    @keyframes pulse-zoom {
        0%, 100% {
            transform: translateX(50%) scale(1);
        }
        50% {
            transform: translateX(50%) scale(1.08);
        }
    }
}

@media (max-width: 450px) {
	.corner-logo {
        top: -26px;
        right: 26%;
    }
    .corner-logo img {
        width: 72px;
    }
}





/* -----------------------------------------
    點數明細
------------------------------------------*/

/* 容器基本設定 */
.points-article3 {
	width: 100%;
	margin: 0 auto;
    background:
		url('../images/bg-ball.svg') no-repeat center bottom,
		linear-gradient(to bottom, #ffffff 0%, #b7eded 100%);
    position: relative;
    overflow: hidden;
    /* padding: 60px 0; */
    scroll-margin-top: 70px;
}

/* 圓球共用樣式 */
.float-ball {
    position: absolute;
    z-index: 1;
    pointer-events: none; /* 確保不會擋住滑鼠點擊 */
    /* opacity: 0.9; */
}

/* 區塊左邊 2 個圓球 */
.ball-l1 {
    width: 60px;
    height: 60px;
    top: 40%;
    left: 13%;
    animation: float-slow 10s infinite ease-in-out;
}
.ball-l2 {
    width: 40px;
    height: 40px;
    bottom: 35%;
    left: 6%;
    animation: float-slow 7s infinite ease-in-out reverse;
}

/* 區塊右邊 2 個圓球 */
.ball-r1 {
    width: 30px;
    height: 30px;
    top: 42%;
    right: 6%;
    animation: float-slow 8s infinite ease-in-out 1s;
}
.ball-r2 {
    width: 75px;
    height: 75px;
    bottom: 42%;
    right: 12%;
    animation: float-slow 12s infinite ease-in-out;
}

/* 漂浮動畫：讓它們有稍微不同的動感 */
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(5px, -15px); }
    66% { transform: translate(-5px, -5px); }
}

/* --- 手機版 RWD 調整 --- */
@media (max-width: 768px) {
    /* 手機版隱藏較小的圓球，避免畫面太亂，並縮小剩餘圓球 */
    .ball-l1 { width: 40px; height: 40px; left: 5%; top: 10%; }
    .ball-r2 { width: 50px; height: 50px; right: 5%; bottom: 10%; }
    
    .ball-l2, .ball-r1 {
        display: none; 
    }
}
@media (max-width: 450px){
	.ball-l1 { width: 40px; height: 40px; left: 5%; top: 30%; }
	.ball-r2 { width: 50px; height: 50px; right: 5%; bottom: 30%; }
}





/* 3. 圖片展示排版 */
.history-container {
    max-width: 1000px;
    margin: 60px auto 0;
    position: relative;
    z-index: 2; /* 確保內容在圓球上方 */
}

.history-visual {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.history-mockup img {
    width: 300px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* 4. 底部提示文字 */
.history-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.bulb-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.history-notice p {
    font-size: 16px;
    color: #2f2f2f;
    line-height: 1.5;
    text-align: left;
}

/* --- RWD 響應式優化 --- */

@media (max-width: 768px) {
    .history-visual {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    .history-notice {
        flex-direction: column;
        text-align: center;
    }
    .history-notice p {
        text-align: center;
    }
    .bulb-icon {
        width: 36px; /* 手機版適度縮小 */
        height: 36px;
    }

}





/* -----------------------------------------
    更多玉山e point使用指南
------------------------------------------*/


/* 區塊容器 */
.points-article4 {
    padding: 35px 20px;
}

/* 1. 文字漸層標題設定 */
.points-article4 h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 40px;
    /* 漸層文字效果 */
    background: linear-gradient(to right, #00a6a8, #22c6c9, #0694db);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block; /* 確保漸層只跟隨文字寬度 */
}

/* 2. 按鈕組排版 */
.guide-links-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* 讓按鈕在寬度不足時自動換行 */
    max-width: 1000px;
    margin: 0 auto;
}

/* 3. 按鈕共同樣式 */
.guide-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 220px;
    height: 60px;
    border-radius: 8px;
    font-size: 18px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.guide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0.9;
}

/* 分別設定顏色 */
.btn-cyan {
    background-color: #00bcbf;
}

.btn-blue {
    background-color: #0694db;
}

/* --- RWD 響應式優化 --- */

/* 平板尺寸 (992px 以下) */
@media (max-width: 992px) {
    .guide-links-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 改為 2x2 排列 */
        justify-items: center;
        max-width: 500px;
    }
    .guide-btn {
        width: 100%;
    }
}

/* 手機尺寸 (600px 以下) */
@media (max-width: 600px) {
	.break-title{
		display: block;
	}
    .points-article4 {
        padding: 40px 15px;
    }
    .points-article4 h2 {
        font-size: 28px; /* 手機版標題字級調小 */
        margin-bottom: 30px;
    }
    .guide-links-container {
        grid-template-columns: 1fr; /* 改為單一縱列 */
        gap: 15px;
    }
    .guide-btn {
		width: 70%;
        height: 55px; /* 高度稍微調整 */
        font-size: 16px;
    }
}




/* -----------------------------------------
    注意事項（popup）
------------------------------------------*/
.popup .title {
    color: #00a19b;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 1.5px;
	text-align: center;
	/* padding-right: 25px; */
}

.popup .content {
	color: #000;
    font-size: 0.9rem;
	line-height: 1.4rem;
	letter-spacing: 1px;
	text-align: justify;
	list-style: decimal;
    margin-top: 1rem;
}

.popup .content li {
	margin-left: 2rem;
	margin-bottom: 0.5rem;
}

.popup .content li a {
	color: #00a19b;
    text-decoration: underline;
}

.popup .content li a:hover {
	opacity: 0.7;
}

.popup .content li em {
	color: #fc605b;
	font-style: normal;
}

.popup .content ul.li_2 {
	list-style: lower-alpha;
}

.popup .content ul.li_2 li {
	margin-left: 1.4rem;
	margin-bottom: 0.1rem;
}





/* -----------------------------------------
    活動說明
------------------------------------------*/
.block2 {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 5% 0 7%;
    overflow: hidden;
    scroll-margin-top: 70px;
}

.block3 {
    padding: 7% 0 2%;
}

.block2.block4 {
    padding: 5% 0 1%;
}

.promo-block-2 {
	width: 80%;
	max-width: 1100px;
	display: flex;
	flex-direction: column;
    align-items: center;
  	gap: 20px;
}

.post-content {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: flex-start;
    flex-wrap: nowrap;
	gap: 40px;
}

.post-content-pic {
	display: block;
	width: 35%;
	height: auto;
}

.post-content figcaption {
	width: 42%;
}

.fi-p {
	color: #2f2f2f;
	font-size: 20px;
	line-height: 30px;
	margin-bottom: 5px;
}

.break1 {
	display: block;
	padding: 3px 0;
}

.promo-ul {
	color: #2f2f2f;
	text-align: justify;
	font-size: 14px;
    line-height: 20px;
	margin-top: 10px;
}

.promo-ul li {
	padding-bottom: 4px;
}

.em-li {
	color: #f8524c;
	font-weight: bold;
	font-style: normal;
}

/* 活動詳情 - 按鈕 */
.btnLine {
	width: 100%;
	max-width: 12.5rem;
	height: 4.0625rem;
	border-radius: 4px;
	text-align: center;
	border: solid 1px #00a19b;
	color: #00a19b;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	transition: 0.3s;
	margin-top: 20px;
}

.btnLine.btn-limited {
	background-color: #00a19b;
	color: #fff;
}

.btnLine:hover {
	opacity: 0.7;
}

@media screen and (max-width: 1024px) {
	.block2 {
		padding: 11% 0 8%;
	}
	.promo-block-2 {
		width: 90%;
	}
	.post-content-pic {
		width: 32%;
	}
	.post-content figcaption {
		width: 50%;
	}
}

@media (max-width: 830px) {
	.post-content {
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 30px;
	}
	.post-content figcaption {
        width: 80%;
		text-align: center;
    }
	.post-content-pic {
		width: 45%;
	}
	.promo-ul {
		text-align: center;
	}
	.btnLine.btn-limited {
		margin: 20px auto 0px;
	}
}

@media (max-width: 768px) {
	.block3 {
		padding: 12% 0 2%;
	}
	.btnLine {
		max-width: 8.75rem;
	}
	.post-content figcaption {
		width: 88%;
    }
}

@media (max-width: 600px) {
	.block2 {
		padding: 16% 0 10%;
    }
	.block3 {
		padding: 16% 0 2%;
	}
	.post-content-pic {
        width: 70%;
    }
}

@media (max-width: 430px) {
	.block2 {
        padding: 16% 0 15%;
    }
	.block3 {
		padding: 16% 0 2%;
	}
	.post-content-pic {
        width: 85%;
    }
	.post-content figcaption {
		width: 90%;
    }
}


/* -----------------------------------------
    使用教學
------------------------------------------*/
#how-to-use {
	width: 100%;
	background-color: #d0f0ee;
}

/* h2 圖片標題 */
.rwd-title {
	height: 105px;
	margin: 20px 0;
	display: flex;
	justify-content: center;
}

.rwd-title img {
	width: auto;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
}

.how-to-tab {
	width: 100%;
}

/* DS-色塊版頁籤 (Tab) */
.tab {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}

.tab .uk-switcher {
	background: #fff;
	border-radius: 10px;
	padding: 10px 20px 10px;
}

.uk-tab {
	width: 100%;
}

.uk-tab > li {
	display: inline-block !important;
	padding-left: 0;
	position: relative;
}

.uk-tab > li a {
	font-size: 18px;
}

.uk-tab > .uk-active::after {
	content: "";
	width: 100%;
	height: 4px;
	background: #00a19b;
	border-radius: 10px;
	display: block;
	position: absolute;
	bottom: -4px;
	right: 0;
}

.uk-tab > .uk-active > a {
	color: #00a19b;
	font-weight: bold;
	padding-bottom: 16px;
	border: 0;
}

.uk-tab::before {
	display: none;
}

.tab-block {
	overflow-x: scroll;
}

.tab-block .uk-switcher {
	margin-top: 10px !important;
}

.tab-block > .uk-tab {
	margin: 0 auto;
	overflow: scroll;
	-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
	max-width: 100%;
}

.tab-block > .uk-tab::after {
	display: none;
}

.tab-block > .uk-tab > li {
	width: 220px;
	margin: 0 6px;
}

.tab-block > .uk-tab > li > a {
	border: 1px solid #00a19b;
	color: #00a19b;
	background-color: #fff;
	padding: 16px 10px;
	border-radius: 8px;
}

.tab-block > .uk-tab > .uk-active::after {
	position: static;
	width: 0;
	height: 0;
	border-width: 14px;
	border-style: solid;
	border-color: #00a19b transparent transparent transparent;
	border-radius: 0;
	margin: 0 auto;
	background: transparent;
}

.tab-block > .uk-tab > .uk-active > a {
	background: #00a19b;
	color: #fff;
}

@media (min-width: 913px) {
	.tab-block > .uk-tab {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
}

/* DS-步驟 */
.content {
	flex-grow: 1;
	margin: 10px 0px;
}

.step_all {
	width: 100%;
	height: auto;
	display: flex;
}

.step_set {
	width: 30%;
	margin: 0 auto 60px;
	display: flex;
    flex-direction: column;
    align-items: center;
}

.step_set .top {
	width: 100%;
	height: 100px;
	margin-bottom: 25px;
	text-align: center;
}

.step_set .top .step_number {
	color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: bold;
    background-color: #1db0b0;
	border-radius: 30px;
    width: 125px;
    padding: 2px 0;
	margin: 0 auto;
}

.step_set .top p.step_txt {
	color: #2f2f2f;
    font-size: 15px;
    line-height: 24px;
    letter-spacing: 1px;
    width: 80%;
    margin: 10px auto 0px;
}

.step_set .top p.step_txt span {
	color: #2f2f2f;
	font-size: 14px;
}

.step_set .top p.step_txt span.br {
	display: block;
}

.step_set .phone_pic {
	width: 60%;
	position: relative;
}

.step_set .phone_pic img {
	width: 100%;
}

/* DS-輪播 (carousel) */
.swiper-container {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.swiper-slide img {
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
	color: #00a19b;
}

.swiper-pagination {
	position: absolute;
	bottom: 20px !important;
	left: 50% !important;
	-webkit-transform: translateX(-50%) !important;
			transform: translateX(-50%) !important;
}

.swiper-pagination span {
	display: inline-block;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1px solid #d9d9d9;
	margin: 0 5px;
	background: #ffffff;
	opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active {
	background: #00a19b;
	border: 1px solid #00a19b;
}

@media (max-width: 768px) {
	.rwd-title {
		height: 70px;
	}
}

@media screen and (max-width: 1024px) {
	.step_set .top p.step_txt {
		width: 80%;
		font-size: 14px;
		line-height: 22px;
	}
}

@media screen and (max-width: 600px) {
	.step_set .top p.step_txt {
		width: 70%;
	}
}

@media screen and (max-width: 450px) {
	.how-to-tab {
		width: 100%;
	}
	.step_set .top p.step_txt {
		font-size: 16px;
		line-height: 26px;
	}
}


/* -----------------------------------------
    更多用點攻略 彈跳視窗
------------------------------------------*/
/* Popup 4 專屬樣式 */
.popup-modern {
    background-color: #ffffff !important;
    max-width: 820px; /* 根據左圖右文適度放寬 */
    overflow: hidden;
    position: relative;
    border-radius: 16px;
}

/* 內容外層容器 */
.modern-content-wrapper {
    display: flex;
    align-items: center;
    padding: 40px;
    position: relative;
    z-index: 5; /* 確保內容在波浪圖之上 */
}

/* 左側圖片 */
.modern-left-pic {
    flex: 0 0 212px;
    margin-right: 40px;
}
.modern-left-pic img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右側資訊 */
.modern-right-info {
    flex: 1;
    text-align: left;
}

.logo-box {
    margin-bottom: 20px;
}
.logo-box img {
    width: 80px;
    height: 80px;
    border-radius: 12px;

    /* 新增陰影：水平 0, 垂直 4px, 模糊 15px, 顏色為淡紫色(呼應邊框)帶透明度 */
    box-shadow: 0 4px 15px rgba(101, 80, 189, 0.15); 

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 滑鼠經過 Logo 時的小效果（選擇性加入） */
.logo-box img:hover {
    transform: translateY(-2px); /* 輕微上浮 */
    box-shadow: 0 6px 20px rgba(101, 80, 189, 0.25);
}

.logo-box2 img {
    box-shadow: 0 4px 15px rgba(168, 102, 26, 0.15); 
}

/* 滑鼠經過 Logo 時的小效果（選擇性加入） */
.logo-box2 img:hover {
    box-shadow: 0 6px 20px rgba(168, 102, 26, 0.25);
}



.modern-title {
    font-size: 22px;
    color: #6550bd;
    margin: 0 0 15px 0;
    font-weight: 600;
}
.modern-title2 {
    color: #f59227;
}

.modern-text {
    font-size: 16px;
    color: #2f2f2f;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* 按鈕樣式*/
.btn-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 50px;
    border: 1px solid #00a19b;
    border-radius: 8px;
    background-color: #ffffff;
    color: #00a19b;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline:hover {
    background-color: #00a19b;
    color: #ffffff;
}

/* 背景波浪 SVG */
.modern-wave-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 0;
    pointer-events: none; /* 防止遮擋點擊事件 */
}

/* RWD 手機版調整 */
@media (max-width: 767px) {
    .modern-content-wrapper {
        flex-direction: column; /* 改為垂直排列 */
        padding: 30px 20px 60px 20px;
        text-align: center;
    }
    
    .modern-left-pic {
        margin-right: 0;
        margin-bottom: 30px;
        flex: 0 0 auto;
        width: 160px; /* 手機版縮小手機圖避免佔位過大 */
    }
    
    .modern-right-info {
        text-align: center;
    }
    
    .logo-box {
        display: flex;
        justify-content: center;
    }
    
    .modern-text br {
        display: none; /* 手機版讓文字自動流動，避免斷行太突兀 */
    }
    .btn-area {
        position: relative;
        z-index: 5; /* 加強按鈕層級 */
        margin-top: 20px;
    }
}


/* 針對 UIKit 標籤擴充 */
.uk-switcher, .uk-tab, .tab-block {
    scrollbar-width: none !important;
}
.uk-switcher::-webkit-scrollbar, 
.uk-tab::-webkit-scrollbar {
    display: none !important;
}