﻿.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: 828px;
    height: 1100px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 0px;
    background-color: transparent;
    top: 578px;
    left: 0;
}

.rule .special_bg .bg1 {
    position: absolute;
    width: 28px;
    height: 1104px;
    background-image: url(../../images/2026/rule_p5_line.svg);
    background-size: 28px 1104px;
    left: 50%;
    top: 0;
    transform:translateX(-50%);
}

.rule .paragraph {
    position: relative;
    width: 100%;
}

.rule .paragraph .flex-box {
    position: relative;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
}

    .rule .paragraph .flex-box .box {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 696px;
        /*height: 400px;*/
        height: 725px;
        color: #fff;
        font-size: 32px;
        border-bottom-left-radius: 80px;
        border-top-right-radius: 80px;
    }

.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-left: 132px;
    color: #fff;
}

.rule .paragraph .flex-box .box.brown ul {
    color: #fff;
    margin-bottom: 0;
}

.rule .paragraph .timeline {
    position: relative;
    width: 828px;
    height: 1851px;
    display: flex;
    justify-content: space-between;
}

.rule .paragraph .timeline .up {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 50px;
}

.rule .paragraph .timeline .down {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 50px;
    margin-left: 2px;
    margin-bottom: 215px;
}

.rule .paragraph .timeline .step {
    position: relative;
    width: 393px;
    height: 270px;
}

.rule .paragraph .timeline .step:before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 393px;
    height: 270px;
    background-color: #fff;
    border-top-left-radius: 40px;
    border-bottom-right-radius: 40px;
    opacity: 0.95;
    z-index: 1;
}

    .rule .paragraph .timeline .up .step:before {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        width: 393px;
        height: 270px;
        background-color: #efedea;
        /*border-top-right-radius: 40px;
        border-bottom-left-radius: 40px;*/
        z-index: 1;
    }

.rule .paragraph .timeline .down .step:before {
    background-color: #9c986c;
}


    .rule .paragraph .timeline .step h2 {
        position: relative;
        margin: 30px 30px 0 25px;
        font-size: 32px;
        z-index: 2;
        font-weight: 400;
        color: #746f6a;
    }

.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;
    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: 25px 30px 0 25px;
    color: #736f6b;
    font-size: 28px;
    line-height: 48px;
    z-index: 2;
    text-align: left;
    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: 10px;
    bottom: 5px;
    display: inline-block;
    z-index: 2;
}

.rule .paragraph p {
    position: relative;
    min-height: 77px;
    line-height: 60px;
    font-size: 30px;
    color: #736f6b;
    font-weight: 400;
    letter-spacing: 0px;
    text-align: justify;
    margin: 35px 0 0 0;
    letter-spacing:-1px;
}

.rule .paragraph .content {
    position: relative;
    padding: 0;
}

.rule .paragraph ul {
    list-style: square outside;
    font-size: 30px;
    line-height: 60px;
    padding-left: 30px;
    color: #736f6b;
}

.rule .paragraph ol {
    list-style: decimal outside;
    font-size: 30px;
    line-height: 60px;
    padding-left: 30px;
    padding-right:8px;
    color: #736f6b;
    text-align:justify;
    letter-spacing:-1px;
}

.rule .paragraph ol > li {
    margin-bottom: 7px;
}

.rule .paragraph small {
    font-size: 20px;
    letter-spacing: 0;
    font-weight: 400;
    margin-top: 0px;
    color: #9c986c;
    display: inline-block;
    line-height: 34px;
}

.rule .paragraph h6 {
    position: relative;
    text-align: left;
    font-size: 26px;
    color: #736f6b;
    margin-bottom: 90px;
}

.rule .paragraph:before {
    position: absolute;
    content: "";
    display: inline-block;
    left: 0 !important;
    top: 0 !important;
    width: 828px !important;
}

.rule .paragraph.p1:before {
    height: 496px;
    background-image: url(../../images/2026/rule_p1_icon_l.svg);
    background-size: 828px 496px;
}

/*.rule .paragraph.p1:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    background-image: url(../../images/2026/paragraph_icon.svg);
    background-size: 150px 150px;
    bottom:-90px;
    left:130px;
}*/

    .rule .paragraph.p2:before {
        height: 496px;
        background-image: url(../../images/2026/rule_p2_icon_l.svg);
        background-size: 828px 496px;
    }

/*.rule .paragraph.p2:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 954px;
    height: 954px;
    background-image: url(../../images/2026/rule_p2_bg.png);
    background-size: 954px 954px;
    bottom: -430px;
    left: -600px;
}*/

    .rule .paragraph.p3:before {
        height: 1316px;
        background-image: url(../../images/2026/rule_p3_icon_l.svg);
        background-size: 828px 1316px;
    }

.rule .paragraph.p3:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    background-image: url(../../images/2026/paragraph_icon.svg);
    background-size: 150px 150px;
    top: 54px;
    left: 30px;
    transform: rotate(270deg);
}

    .rule .paragraph.p4:before {
        height: 554px;
        background-image: url(../../images/2026/rule_p4_icon_l.svg);
        background-size: 828px 554px;
    }

/*.rule .paragraph.p4:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    background-image: url(../../images/2026/paragraph_icon.svg);
    background-size: 150px 150px;
    bottom: -120px;
    left: 60px;
}*/

    .rule .paragraph.p5:before {
        height: 504px;
        background-image: url(../../images/2026/rule_p5_icon_l.svg);
        background-size: 828px 504px;
    }

/*.rule .paragraph.p5:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    background-image: url(../../images/2026/paragraph_icon.svg);
    background-size: 150px 150px;
    bottom: -30px;
    left: 40px;
}*/

    .rule .paragraph.p6:before {
        height: 496px;
        background-image: url(../../images/2026/rule_p6_icon_l.svg);
        background-size: 828px 496px;
    }

.rule .paragraph.p6:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 150px;
    height: 150px;
    background-image: url(../../images/2026/paragraph_icon.svg);
    background-size: 150px 150px;
    top: 54px;
    left: 30px;
    transform: rotate(270deg);
}
/*.rule .paragraph.p6:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 954px;
    height: 954px;
    background-image: url(../../images/2026/rule_p2_bg.png);
    background-size: 954px 954px;
    bottom: -560px;
    left: -470px;
}*/

    .rule .paragraph.p7:before {
        height: 518px;
        background-image: url(../../images/2026/rule_p7_icon_l.svg);
        background-size: 828px 518px;
    }

/*.rule .paragraph.p7:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 954px;
    height: 954px;
    background-image: url(../../images/2026/rule_p2_bg.png);
    background-size: 954px 954px;
    bottom: -320px;
    left: -260px;
}*/

    .rule .paragraph.p8:before {
        height: 504px;
        background-image: url(../../images/2026/rule_p8_icon_l.svg);
        background-size: 828px 504px;
    }

/*.rule .paragraph.p8:after {
    position: absolute;
    content: "";
    display: inline-block;
    width: 828px;
    height: 954px;
    bottom: 0px;
    left: -260px;
}*/

.rule .paragraph.p8 .bottom-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 828px;
    height: 200px;
    background-color: #f2f1ef;
}

    .rule .paragraph.p8 .bottom-bg:before {
        position: absolute;
        content:"";
        bottom: 0;
        left: 0;
        width: 828px;
        height: 200px;
        background-color:#fff;
        border-bottom-right-radius:200px;
    }

    .rule .paragraph.p1 {
        height: 808px;
    }

.rule .paragraph.p2 {
    /*height: 1410px;*/
    height:2360px;
}

.rule .paragraph.p3 {
    height: 2075px;
}

.rule .paragraph.p4 {
    height: 950px;
}

.rule .paragraph.p5 {
    height: 1760px;
}

.rule .paragraph.p6 {
    /*height: 1605px;*/
    height: 1450px;
}

.rule .paragraph.p7 {
    height: 3000px;
}

.rule .paragraph.p8 {
    height: 1255px;
}

.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: flex;
    width: calc(100% - 4px);
    height: 190px;
    font-size: 40px;
    font-weight: 400;
    color: #efedea;
    text-align: center;
    cursor: pointer;
    background-color: #3e5098;
    border: 2px solid #e7e2dc;
    margin: 0;
    border-radius: 0;
    letter-spacing: 10px;
    text-indent: 10px;
    align-items: center;
    justify-content: center;
}

/*.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;*/
}

.rule .sec_inner .btn .txt:after {
    position: absolute;
    content: '';
    display: inline-block;
    width: 378px;
    height: 124px;
    left: 110px;
    top: -30px;
    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: 360px;
    height: 344px;
    margin: 0 auto 133px;
}

.loading-mask.rule-popup {
    bottom: initial;
    right: initial;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background-color: #f0eeeb;
}

.loading-mask.rule-popup .card-body {
    height: auto;
    line-height: 1;
    background-color: transparent;
}

.rule-popup .down-btn {
    position: fixed;
    /*width:180px;
    height:160px;*/
    width: 116px;
    height: 98px;
    top: 60vh;
    right: 40px;
    z-index: 8010;
    background-image: url(../../images/2026/scroll_finger_icon.svg);
    /*background-size:180px 160px;*/
    background-size: 116px 98px;
    background-repeat: no-repeat;
}

.rule-popup .down-btn:before {
    position: absolute;
    display: inline-block;
    width: 28px;
    height: 42px;
    content: "";
    top: 13px;
    left: 0;
    background-image: url(../../images/2026/scroll_arrow_icon.svg);
    background-size: 28px 42px;
    background-repeat: no-repeat;
    animation: down 1s linear infinite;
}

@keyframes down {
    0%, 100% {
        top: 13px;
    }

    50% {
        top: 28px;
    }
}

.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: 100%;
    min-height: 600px;
    height: auto;
    background-color: #fff;
    border-top-left-radius: 110px;
    border-top-right-radius: 110px;
    border-bottom-right-radius: 0px;
    overflow: hidden;
    margin: 5vh 0;
    padding-bottom:0;
}

.loading-mask.rule-popup .card {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    border-top-left-radius: 177px;
    border-bottom-right-radius: 177px;
    background-color: transparent;
    border: 0;
    padding: 20px 0px 110px;
    /*padding: 20px 0px 0px;*/
}

.rule-popup .rule_bg {
    position: absolute;
    width: 1200px;
    height: 100%;
    top: 0;
    left: 0px;
}
/* popup */
