* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
html { 
    scroll-behavior: smooth; 
}


body { 
    line-height: 1.5; 
    color: #2d2d2d;
    font-family: 'Noto Sans TC', "Microsoft JhengHei", "微軟正黑體", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    
}



/* ------------⬇⬇⬇ nav開始 ⬇⬇⬇--------------- */
.apple-pay-nav {
    width: 100%;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #ffffff;
}

.apple-pay-nav .container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%; 
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 0 20px; 
}

.apple-pay-nav .container .logo {
    width: 200px;
    display: flex;       
    align-items: center; 
    overflow: hidden;
}

.apple-pay-nav .container .logo img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* ------------⬆⬆⬆ nav 結束 ⬆⬆⬆--------------- */




/* -------------⬇⬇⬇ banner 開始 ⬇⬇⬇---------------- */

.banner{
    width: 100%;
    height: auto;
    overflow: hidden;
}
.banner img{
    width: 100%;
    object-fit: cover;
}

.banner-mobile{
    display: none;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.banner-mobile img{
    width: 100%;
    object-fit: cover;
}


@media screen and (max-width: 600px) {
    .banner-mobile{
        display: block;
    }
    .banner{
        display: none;
    }
}


/* -------------⬆⬆⬆ banner 結束 ⬆⬆⬆---------------- */





/* ------------⬇⬇⬇ 第一區塊 開始 ⬇⬇⬇--------------- */

.description-area .container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;

    margin-bottom: 20px;
}

/* --- 上方主區塊排版 --- */
.description-area .hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 80px;
    gap: 50px;
}

.description-area .hero-image {
    flex: 1;
    text-align: center;
}

.description-area .hero-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.description-area .hero-content {
    flex: 1.2;
}

/* 標題與小 Logo */
.description-area .hero-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.description-area .hero-header img {
    height: 45px; 
    width: auto;
}

.description-area .hero-header h2 {
    font-size: 36px;
    color: #ff8200; 
    border-left: 4px solid #ff8200;
    padding-left: 20px;
    letter-spacing: 2px;
    font-weight: 800;
}

.description-area .hero-content p {
    font-size: 18px;
    margin-bottom: 25px;
    text-align: justify;
}

.description-area .disclaimer {
    font-size: 16px !important;
    color: #888888;
    margin-top: 30px;
}

.description-area .disclaimer a {
    color: #888888;
    transition: .3s;
}

.description-area .disclaimer a:hover{
    color: #ff8200;
}



/* --- 下方三欄區塊 --- */
.description-area .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.description-area .feature-card {
    background-color: #f9f9f9; 
    padding: 45px 30px;
    border-radius: 20px;
    text-align: center;
}

.description-area .feature-card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.description-area .feature-card p {
    font-size: 1rem;
    text-align: left; 
    text-align: justify;
    
}


@media screen and (max-width: 1000px) {

    .description-area{
        margin-top: 50px;
    }

    .description-area .hero-section {
        flex-direction: column-reverse; 
        gap: 30px;
        text-align: center;
    }

    .description-area .hero-header {
        justify-content: center;
    }

    .description-area .features-grid {
        grid-template-columns: 1fr; 
    }

    .description-area .feature-card {
        padding: 30px 20px;
    }
    
}

@media screen and (max-width: 550px) {

    .description-area .hero-header h2 {
        font-size:28px;
        text-align: start;
    }

     .description-area .hero-header {
        justify-content: start;
    }

    .description-area .hero-section{
        margin-bottom: 30px;

    }
    .description-area{
        margin-top: 10px;
    }



}



/* ----------------⬆⬆⬆ 第一區 結束 ⬆⬆⬆--------------- */





/* ------------⬇⬇⬇ 第二區塊 開始 ⬇⬇⬇--------------- */


/* 背景圖 */
.role-background{
    width: 100%;
    overflow: hidden;
}

.role-background img, .role-background-mobile img{
    width: 100%;
    object-fit: cover;
}



.role-background-mobile{
    width: 100%;
    overflow: hidden;
    display: none;
}


@media screen and (max-width: 700px){
    .role-background-mobile{
        display: block;
    }
    .role-background{
        display: none;
    }

}

.setup-process-wrapper h2{
    width: 80%;
    text-align: center;
    font-weight: 800;
    font-size: 2.5rem;
    margin: 0 auto 50px;
    padding-top: 20px;
}

@media screen and (max-width: 600px){
    .setup-process-wrapper h2{
        font-size: 1.8rem;
        margin-bottom: 25px;
        line-height: 38px;
        padding-top: 40px;
    }
}




/* 卡片設定 */

.setup-process-wrapper {
    background: #fff3e9;
}

.setup-process-wrapper .container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding-bottom: 60px;  
}


/* --- 卡片通用佈局 --- */
.setup-process-wrapper .step-card {
    background: #fff;
    border-radius: 24px;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column-reverse; 
    align-items: center; 
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* 第一區塊特殊：圖片貼底 */
.setup-process-wrapper .first-step {
    padding-bottom: 0 !important;
}

.setup-process-wrapper .content-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
}

.setup-process-wrapper h3{
    font-size: 1.8rem;
    border-left: 5px solid #ff8200;
    padding-left: 12px;
    font-weight: bold;
    display: flex;
    align-items: baseline;
    gap: 10px;
    color: #ff8200;
    margin-bottom: 15px;
}

.content-box h4{
    font-weight: 800;
    font-size: 1.4rem;
    line-height: 32px;
    width: 80%;
    text-align: justify;
}


/* --- ol li 文字對齊文字 --- */
.setup-process-wrapper .step-list {
    list-style-position: outside; 
    padding-left: 1.2em; 
    margin-left: 0;
    width: 100%;
    text-align: left;
}

.setup-process-wrapper .step-list li {
    margin-bottom: 12px;
    line-height: 1.3;
    padding-left: 5px; 
    text-align: justify;
}


.setup-process-wrapper .divider {
    width: 100%;
    border: none;
    border-top: 1px dashed #ddd;
    margin: 15px 0;
}

/* --- 圖片設定 --- */
.setup-process-wrapper .image-box {
    width: 100%;
    max-width: 260px;
    margin-top: 20px;
    display: flex;
    justify-content: center; 
}

.setup-process-wrapper .image-box img {
    width: 100%;
    height: auto;
    display: block;
}

.setup-process-wrapper .extra-text{
    text-align: justify;
}


@media (min-width: 1050px) {
    .setup-process-wrapper .step-card {
        flex-direction: row; 
        padding: 50px 120px;
        min-height: 400px;
        align-items: center;
    }

    .setup-process-wrapper .image-box {
        margin-top: 0;
        margin-right: 50px;
        flex: 0 0 280px;
        justify-content: flex-start;
    }

    .setup-process-wrapper .first-step .image-box {
        align-self: flex-end; 
    }

    .setup-process-wrapper .content-box {
        flex: 1;
    }
}

@media screen and (max-width: 1050px){
    .content-box h4{
        width: 100%;
        line-height: 28px;
        font-size: 1.2rem;
    }
    
}


@media screen and (max-width: 600px){
    .setup-process-wrapper h3{
        font-size: 1.5rem;
    }
}




/* ----------------⬆⬆⬆ 第二區塊 結束 ⬆⬆⬆--------------- */








/* -------------⬇⬇⬇ footer 開始 ⬇⬇⬇---------------- */

.obank-footer{
    width: 100%;
    background: #ff8200;
    text-align: center;
    padding: 30px 0;
    color: #ffffff;
}

.obank-footer p{
    margin-bottom: 0;
}

/* -------------⬆⬆⬆ footer 結束 ⬆⬆⬆---------------- */






/* --------------top按鈕開始---------------- */
/* --- 回到頂部按鈕樣式 --- */
.back-to-top {
    position: fixed;
    bottom: 30px;      
    right: 30px;      
    width: 50px;       
    height: 50px;    
    z-index: 999;
    opacity: 0;        
    visibility: hidden;
    transition: all 0.3s ease; 
}

.back-to-top.show {
    opacity: 1;       
    visibility: visible;
}

.back-to-top img {
    width: 100%;
    height: auto;
    display: block;
}

.back-to-top:hover {
    transform: translateY(-5px); 
}