﻿.rules {
    font-family: "NotoSansHant", "Noto Sans TC", "微軟正黑體", sans-serif;
    position: relative;
    width: 100%;
    min-height: calc(100vh - 135px);
    margin: 0 auto;
    padding: 0px;
}

.rules h1 {
    width: 100%;
    text-align: center;
    color: #754c24;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 60px;
}

.rules .card {
    position: relative;
    margin-top: 44px;
    border-radius: 0;
    padding: 0px 54px;
    border: 0;
    background-color: transparent;
}

.rules .card .card-header {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translate(-50%, 0%);
    display: inline-block;
    padding: 0 45px;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    text-align: center;
    color: #754c24;
    font-size: 26px;
    font-weight: 500;
}

.rules .card .card-body {
    padding: 0;
}

.rule .special_bg {
    position: absolute;
    /*width: 1200px;
    height: 500px;
    top: 260px;
    left: -142px;*/
    width: 955px;
    height: 375px;
    top: 235px;
    left: 0px;
}

    .rule .special_bg .bg1 {
        position: absolute;
        background-image: url(../../images/2026/rule_p5_line.svg);
        /*background-size: 1034px 11px;
        width: 1034px;
        height: 11px;
        left: 40px;
        bottom: 298px;*/
        background-size: 955px 10px;
        width: 955px;
        height: 10px;
        left: 85px;
        bottom: 183px;
    }

.rule .paragraph {
    position: relative;
    width: 100%;
}

    .rule .paragraph .flex-box {
        position: relative;
        display: flex;
        /*justify-content: start;
    align-items: start;*/
        justify-content: center;
        align-items: start;
    }

        .rule .paragraph .flex-box .box {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            /*width: 535px;
    height: 286px;
            font-size: 22px;
        border-bottom-left-radius: 60px;
        border-top-right-radius: 60px;*/
            width: 393px;
            /*height: 245px;*/
            height: 400px;
            font-size: 18px;
            border-bottom-left-radius: 40px;
            border-top-right-radius: 40px;
        }

.rule .paragraph .flex-box .box.blue {
    background-color: #efedea;
    
}

.rule .paragraph .flex-box .box.blue ul {
    color: #736f6b;
    margin-bottom: 0;
}

        .rule .paragraph .flex-box .box.brown {
            background-color: #9c986c;
            /*margin-top: 88px;*/
            margin-top: 105px;
            color: #fff;
        }

.rule .paragraph .flex-box .box.brown ul {
    color: #fff;
    margin-bottom: 0;
}

    .rule .paragraph .timeline {
        position: relative;
        /*width: 1120px;
    height: 760px;
    margin-left:-100px;*/
        width: 955px;
        height: 610px;
        margin-left: 85px;
    }

        .rule .paragraph .timeline .up {
            position: relative;
            display: flex;
            justify-content: start;
            /*gap: 20px;*/
            gap: 15px;
        }

        .rule .paragraph .timeline .down {
            position: relative;
            display: flex;
            justify-content: end;
            /*gap: 20px;*/
            gap: 15px;
            margin-top: 60px;
        }

        .rule .paragraph .timeline .step {
            position: relative;
            /*width: 260px;
    height: 166px;*/
            width: 240px;
            height: 155px;
        }

            .rule .paragraph .timeline .step:before {
                position: absolute;
                content: "";
                top: 0;
                left: 0;
                background-color: #fff;
                /*width: 260px;
                height: 166px;
                border-top-right-radius: 30px;
                border-bottom-left-radius: 30px;
                    opacity: 0.95;
                */
                width: 240px;
                height: 155px;
                border-top-right-radius: 15px;
                border-bottom-left-radius: 15px;
                z-index: 1;
            }

        .rule .paragraph .timeline .up .step:before {
            position: absolute;
            content: "";
            top: 0;
            left: 0;
            background-color: #efedea;
            /*border-top-right-radius: 30px;
            border-bottom-left-radius: 30px;
            width: 260px;
            height: 166px;*/
            width: 240px;
                height: 155px;
                border-top-right-radius: 15px;
                border-bottom-left-radius: 15px;
            z-index: 1;
        }

        .rule .paragraph .timeline .down .step:before {
            background-color: #9c986c;
            border-top-right-radius: 0px;
            border-bottom-left-radius: 0px;
            border-bottom-right-radius: 15px;
            border-top-left-radius: 15px;
        }


        .rule .paragraph .timeline .step h2 {
            position: relative;
            /*margin: 34px 23px 0 23px;
            font-size: 22px;*/
            color: #736f6b;
            margin: 27px 20px 0 20px;
            font-size: 17px;
            z-index: 2;
            letter-spacing: 0px;
            font-weight: 400;
        }

.rule .paragraph .timeline .down .step h2, .rule .paragraph .timeline .down .step h3 {
    color: #efedea;
}

        .rule .paragraph .timeline .step h2 span {
            position: relative;
            /*padding-bottom: 5px;*/
            padding-bottom: 8px;
            border-bottom: 1px solid #736f6b;
        }

.rule .paragraph .timeline .down .step h2 span {
    border-bottom: 1px solid #efedea;
}

        .rule .paragraph .timeline .step h3 {
            position: relative;
            /*padding: 15px 23px 0 23px;
            font-size: 18px;
            line-height: 23px;*/
            padding: 18px 20px 0 20px;
            font-size: 14px;
            line-height: 22px;
            color: #736f6b;
            z-index: 2;
            margin: 0;
            left: initial;
            transform: initial;
            font-weight: 400;
            text-align: left;
            letter-spacing: 0px;
        }

.rule .paragraph .timeline .step h3:after {
    display: none;
}

        .rule .paragraph .timeline .step .icon {
            position: absolute;
            /*right: 5px;
    bottom: 5px;*/
            right: 10px;
            bottom: 7px;
            display: inline-block;
            z-index: 2;
        }

.rule .paragraph p {
    position: relative;
    min-height: 77px;
    line-height: 36px;
    font-size: 22px;
    color: #736f6b;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: left;
    margin: 35px 0 0 0;
}

.rule .paragraph .content {
    position: relative;
    padding: 0;
}

    .rule .paragraph ul {
        list-style: square outside;
        /*font-size: 22px;
    line-height: 40px;
    padding-left: 22px;*/
        font-size: 18px;
        line-height: 30px;
        padding-left: 18px;
        color: #736f6b;
    }

    .rule .paragraph ol {
        list-style: decimal outside;
        /*font-size: 22px;
    line-height: 36px;
    padding-left: 22px;*/
        font-size: 18px;
        line-height: 34px;
        padding-left: 18px;
        color: #736f6b;
    }

.rule .paragraph ol > li {
    margin-bottom: 7px;
}

    .rule .paragraph small {
        /*font-size: 15px;
            line-height: 25px;
        */
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0;
        font-weight: 400;
        margin-top: 0px;
        color: #9c986c;
        display: inline-block;
    }

    .rule .paragraph h6 {
        position: relative;
        text-align: left;
        /*font-size: 22px;*/
        font-size: 16px;
        color: #736f6b;
        margin-bottom: 45px;
    }

.rule .paragraph:before {
    position: absolute;
    content: "";
    display: inline-block;
    /*height: 198px;*/
    height: 182px;
    /*right: -106px;*/
    right:40px;
    top: 0;
}

    .rule .paragraph.p1:before {
        background-image: url(../../images/2026/rule_p1_icon.svg);
        /*width: 1001px;
    background-size: 1001px 198px;*/
        width: 734px;
        background-size: 734px 182px;
    }

    .rule .paragraph.p1:after {
        position: absolute;
        content: "";
        display: inline-block;
        background-image: url(../../images/2026/paragraph_icon.svg);
        /*background-size: 160px 160px;
        width: 160px;
        height: 160px;
            bottom: -24px;
        left: -120px;
        */
        background-size: 140px 140px;
        width: 140px;
        height: 140px;
        bottom: -40px;
        left: -90px;
        transform:rotate(270deg);
    }

    .rule .paragraph.p2:before {
        background-image: url(../../images/2026/rule_p2_icon.svg);
        /*width: 987px;
        background-size: 987px 198px;*/
        width: 790px;
        background-size: 790px 182px;
    }

    .rule .paragraph.p3:before {
        background-image: url(../../images/2026/rule_p3_icon.svg);
        /*width: 1047px;
        background-size: 1047px 198px;*/
        width: 847px;
        background-size: 847px 182px;
    }

    .rule .paragraph.p4:before {
        background-image: url(../../images/2026/rule_p4_icon.svg);
        /*width: 1123px;
        background-size: 1123px 198px;*/
        width: 879px;
        background-size: 879px 182px;
    }

    .rule .paragraph.p4:after {
        position: absolute;
        content: "";
        display: inline-block;
        background-image: url(../../images/2026/rule_p4_bg.png);
        /*width: 595px;
        height: 1004px;
        background-size: 595px 1004px;
        bottom: -80px;
        left: -525px;*/
        width: 549px;
        height: 938px;
        background-size: 549px 938px;
        top: -258px;
        left: -370px;
    }

    .rule .paragraph.p5:before {
        background-image: url(../../images/2026/rule_p5_icon.svg);
        /*width: 1006px;
    background-size: 1006px 198px;*/
        width: 906px;
        background-size: 906px 182px;
    }

    .rule .paragraph.p6:before {
        background-image: url(../../images/2026/rule_p6_icon.svg);
        /*width: 1036px;
    background-size: 1036px 198px;*/
        width: 901px;
        background-size: 901px 182px;
    }

    .rule .paragraph.p7:before {
        background-image: url(../../images/2026/rule_p7_icon.svg);
        /*width: 1055px;
background-size: 1055px 198px;*/
        width: 845px;
        background-size: 845px 182px;
    }

    .rule .paragraph.p7:after {
        position: absolute;
        content: "";
        display: inline-block;
        background-image: url(../../images/2026/rule_p7_bg.png);
        /*background-size: 589px 589px;
        width: 589px;
        height: 589px;*/
        background-size: 552px 552px;
        width: 552px;
        height: 552px;
        /*bottom: 310px;
        right: -525px;*/
        top: 460px;
        right: -364px;
    }

    .rule .paragraph.p8:before {
        background-image: url(../../images/2026/rule_p8_icon.svg);
        /*width: 1140px;
        background-size: 1140px 198px;*/
        width: 857px;
        background-size: 857px 182px;
    }

    .rule .paragraph.p8:after {
        position: absolute;
        content: "";
        display: inline-block;
        background-image: url(../../images/2026/paragraph_icon.svg);
        background-size: 140px 140px;
        width: 140px;
        height: 140px;
        bottom: -107px;
        left: -100px;
        transform: rotate(270deg);
    }

    .rule .paragraph.p1 {
        /*height: 480px;
            margin-bottom: 20px;
        */
        /*height: 430px;*/
        height: 480px;
        margin-bottom: 0px;
    }

    .rule .paragraph.p2 {
        /*height: 640px;
    margin-bottom: 60px;*/
        height: 865px;
        margin-bottom: 0px;
    }

.rule .paragraph.p3 {
    height: 760px;
    /*margin-bottom: 60px;*/
}

    .rule .paragraph.p4 {
        /*height: 520px;*/
        height: 380px;
    }

    .rule .paragraph.p5 {
        /*height: 815px;*/
        height: 665px;
    }

    .rule .paragraph.p6 {
        /*height: 775px;*/
        height: 655px;
    }

    .rule .paragraph.p7 {
        /*height: 1400px;*/
        height: 1340px;
    }

    .rule .paragraph.p8 {
        /*height: 625px;*/
        height: 485px;
    }

.rule .sec_title {
    color: #b78b51;
    left: initial;
    transform: initial;
}


/*.rule .sec_title .sec_title_txt:before {
    background-image: url(../../images/2025/sec_title_bg1.svg);
}

.rule .sec_title .sec_title_txt:after {
    background: linear-gradient(90deg, rgba(58,54,49,1) 0%, rgba(58,54,49,1) 50%, rgba(183,139,81,0.97) 50%, rgba(183,139,81,0.97) 100%);
}*/

/*.rule .paragraph.special p {
    min-height: initial;
}

.rule .paragraph.special .sec_title {
    color: #fff;
    padding-top: 135px;
}

.rule .paragraph.special .sec_title_txt:before {
    background-image: url(../../images/2025/sec2_title_bg.svg);
}

.rule .paragraph.special .sec_title .sec_title_txt:after {
    background: linear-gradient(90deg, rgba(50, 48, 46, 1) 0%, rgba(50, 48, 46, 1) 50%, rgba(251, 251, 248, 1) 50%, rgba(251, 251, 248, 1) 100%);
}
.rule .paragraph small.special {
    display: inline-block;
    line-height: 20px;
}*/

.rule .sec_inner .btn {
    position: relative;
    display: inline-block;
    /*width: 658px;
    height: 120px;*/
    width: 700px;
    height: 125px;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    cursor: pointer;
    letter-spacing: 10px;
    text-indent: 10px;
    background-color: #3e5098;
    border: 2px solid #e7e2dc;
    /*margin-left: 129px;*/
    margin-left: 157px;
    margin-bottom: 90px;
    border-radius: 0;
    padding: 0;
}

.rule .sec_inner .btn:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-out;
    background-color: #9e9966;
    opacity: 0;
}

.rule .sec_inner .btn:hover:before {
    opacity: 1;
}

    .rule .sec_inner .btn .txt {
        position: relative;
        display: inline-block;
        z-index: 3;
        /*margin-left: 110px;*/
        /*margin-top: 35px;*/
        margin-top: 40px;
    }

        .rule .sec_inner .btn .txt:after {
            position: absolute;
            content: '';
            display: inline-block;
            /*width: 210px;
            height: 70px;
            left: 7px;
            top: -20px;*/
            width: 296px;
            height: 74px;
            left: -11px;
            top: -25px;
            background-image: url(../../images/2026/submit-btn-icon.svg);
            background-size: cover;
            background-repeat: no-repeat;
        }

.rule .sec_inner .btn:hover .txt {
    color: #fff;
}

/* popup */
.loading-mask .card-body .slogan {
    position: relative;
    display: block;
    /*width: 206px;
    height: 195px;
    margin: 0 auto 145px;*/
    width: 194px;
    height: 185px;
    margin: 0 auto 100px;
}

.loading-mask.rule-popup {
    bottom: initial;
    right: initial;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: #f0eeeb;
}

.rule-popup .down-btn {
    position: fixed;
    width: 32px;
    height: 74px;
    bottom: 100px;
    right: calc(((100% - 1200px) / 2) + 90px);
    background-image: url(../../images/2026/scroll_mouse_icon.svg);
    background-size: 32px 74px;
    background-repeat: no-repeat;
    z-index: 8010;
}

.rule-popup .down-btn:before {
    position: absolute;
    display: inline-block;
    width: 16px;
    height: 18px;
    content: "";
    bottom: 0px;
    left: 8px;
    background-image: url(../../images/2026/scroll_arrow_icon.svg);
    background-size: 16px 18px;
    background-repeat: no-repeat;
    animation: down 1s linear infinite;
}

@keyframes down {
    0%, 100% {
        bottom: 0px;
    }

    50% {
        bottom: -15px;
    }
}

.loading-mask.rule-popup .bg {
    font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: calc(100% - 40px);
    /*max-width: 1200px;
    min-width: 1200px;*/
    max-width: 1175px;
    min-width: 1175px;
    min-height: 515px;
    height: auto;
    background-color: #fff;
    /*border-top-left-radius: 110px;
    border-top-right-radius: 110px;
    border-bottom-right-radius: 177px;
    */
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    border-bottom-right-radius: 80px;
    overflow: hidden;
    margin: 7.7vh 0;
    left: 50%;
    transform: translateX(-50%);
}

.loading-mask.rule-popup .card {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    /*border-top-left-radius: 177px;
    border-bottom-right-radius: 177px;*/
    border-top-left-radius: 80px;
    border-bottom-right-radius: 80px;
    background-color: transparent;
    border: 0;
    /*padding: 110px 142px;*/
    padding: 80px;
}

.loading-mask.rule-popup .card-body{
    font-size:18px;
}

.rule-popup .rule_bg {
    position: absolute;
    width: 1200px;
    height: 100%;
    top: 0;
    left: 0px;
}
/* popup */
