@charset "utf-8";

html,
body {
    position: relative;
    width: 100%;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #ca0d16;
    overflow-x: hidden;
}

.center {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container, 
.container-lg, 
.container-md, 
.container-sm, 
.container-xl {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.wrapper {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    overflow-x: hidden;
}

h1,h2 {
    width: 0;
    height: 0;
    opacity: 0;
    scale: 0;
    overflow: hidden;
    margin: 0;
}


/*================== Header ==================*/
header {
    background: url(../img/header_bg.png) top center #e3111b no-repeat;
    background-size: contain;
    position: relative;
    z-index: 1;
}

header .logo {
    display: inline-block;
    margin-top: 5px;
    position: relative;
    z-index: 1000;
    margin-left: 10px;
    margin-top: 18px;
}

header .logo a {
    display: inline-block;
}

header .logo a img {
    width: 180px;
    height: auto;    
}

@media (max-width: 991px) {
    header .logo a img {
        width: 160px;
    }
}

@media (max-width: 767px) {
    header .logo {
        margin-left: 5px;
    }
}

header #menu-toggle {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    position: absolute;
    cursor: pointer;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

header #menu-toggle:before {
    content: "";
    display: block;
    width: 48px;
    height: 49px;
    background: url(../img/menu_icon.png) center center;
    background-size: contain;
    position: absolute;
    top: -6px;
    left: -48px;
    z-index: 2;
}

@media (max-width: 767px) {
    header #menu-toggle {
        display: block;
        right: 8px;
        top: 12px;
    }
}

header #menu-toggle span {
    display: block;
    background: #fff;
    border-radius: 2px;
}

header #menu-toggle #hamburger {
    position: absolute;
    height: 100%;
    width: 100%;
}

header #menu-toggle #hamburger span {
    width: 30px;
    height: 2px;
    position: relative;
    top: 6px;
    left: 5px;
    margin: 6px 0;
    transition: 0.2s;
}

header #menu-toggle #hamburger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
}

header #menu-toggle #hamburger.open span:nth-child(2) {
    background: transparent;
}

header #menu-toggle #hamburger.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: -2px;
}

header .mobile {
    position: relative;
    display: inline-block;
    float: right;
    transition: all .6s;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0);    
}

@media (max-width: 767px) {
    header .mobile {
        display: block;
        position: absolute;
        z-index: 999;
        width: 100%;
        top: -200%;
        left: 0;
        background-color: rgba(255, 255, 255, 1);
        padding-top: 60px;  
    }
}

header .mobile.open {
    display: block;
    padding-bottom: 40px;
    background: #c8a063;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.2);
    top: 0;
}

header .mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #ff4444;
    border-radius: 30px;
    margin-top: 20px;
    margin-right: 15px;
    padding: 0px 10px 0px 24px;
    position: relative;
}

header .mobile ul:before {
    content: "";
    display: block;
    width: 60px;
    height: 61px;
    background: url(../img/menu_icon.png) center center;
    background-size: contain;
    position: absolute;
    top: -8px;
    left: -32px;
    z-index: 2;
}

header .mobile .menu ul li {
    display: inline-block;
}

header .mobile .menu ul li a {
    display: inline-block;
    padding: 6px 10px 6px 10px;
    font-size: 20px;
    font-weight: bolder;
    letter-spacing: 0;
    color: #fff;
    cursor: pointer;
    transition: all 0.5s;    
}

header .mobile .menu ul li a:hover,
header .mobile .menu ul li.active a {
    text-decoration: none;
    color: #ffff00;
}

@media (max-width: 1199px) {
    header .mobile .menu ul li a {
        font-size: 18px;
    }
    
}

@media (max-width: 991px) {
    header .mobile .menu ul li a {
        font-size: 16px;
    }
    header .mobile ul:before {
        width: 53px;
        height: 54px;
    }
    
}

@media (max-width: 767px) {
    header {
        background: url(../img/header_bg_m.png) top center #e3111b no-repeat;
        background-size: contain;
    }
    header .mobile ul {
        margin-top: 0;
        border: 0px solid #fff;
        background: #c8a063;
    }
    header .mobile ul:before {
        /*background-color: #fff;*/
        display: none;
    }
    header .mobile .menu ul li {
        display: block;
    }
    header .mobile .menu ul li a {
        color: #fff;
        border-bottom: 2px dotted #ffdca1;
    }
    header .mobile .menu ul li + li {
        margin-left: 0px;
    }
    header .mobile .menu ul li:before {
        top: 24px;
        left: calc( 50% - 80px);
    }
    header .mobile .menu ul li a {
        padding: 15px 10px;
        font-size: 20px;
        display: block;
        width: 210px;
        margin: 0 auto;
        text-align: center;
    }
    header .mobile .menu ul li a:hover,
    header .mobile .menu ul li.active a {
        text-decoration: none;
        color: #ffff00;
    }
}

header .kv_slogn,
header .kv_pic {
    position: absolute;   
    left: 0;
    bottom: 0;
    z-index: 2;
}

header .kv_pic {
    animation-delay: 0.5s;
    overflow: hidden;
}


@media (max-width: 767px) {
    header .kv {
        padding-top: 0px;    
    }
}


/*================== Main ==================*/
.tltle {
    margin-top: 0px;
    position: relative;
    z-index: 3;
}

.tltle img {
    width: 100%;
    max-width: 650px;    
}

@media (max-width: 460px) {
    .tltle img {
        width: 118%;
        margin-left: -9%;
    }
}

.subtltle {
    padding-top: 30px;
    padding-bottom: 40px;
    position: relative;
}

.subtltle img {
    width: 98%;
    max-width: 1050px;
    position: relative;
    z-index: 2;
}

@media (max-width: 575px) {
    .subtltle img {
        width: 90%;
        max-width: 240px;
    }
}

@media (max-width: 460px) {
    .subtltle img {
        max-width: 200px;
    }
}

@media (max-width: 375px) {
    .subtltle img {
        max-width: 180px;
    }
}

.content {
    position: relative;
    z-index: 5;
}

.content p {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 0;    
}

.secA .content p {
    max-width: 800px;
    margin: 0 auto;    
    margin-bottom: 40px;
    padding-left: 30px;
    padding-right: 30px;
}

.content p > span.note {
    font-size: 14px;
    color: #454545;
}

.content p.note {
    font-size: 18px;
    color: #454545;
}

@media (max-width: 767px) {
    .content p {
        font-size: 24px;        
    }
    .secA .content p {
        text-align: justify;
    }
    .secA .content p br {
        display: none;  
    }
}

@media (max-width: 575px) {
    .content p {
        font-size: 22px;
    }
    .secB .content p {
        padding-left: 15px;
        padding-right: 15px;
        text-align: justify;
    }
    .secB .content p br {
        display: none;
    }
}

@media (max-width: 460px) {
    .content p {
        font-size: 20px;
    }
    .content p.note {
        font-size: 16px;
    }
}

@media (max-width: 336px) {
    .content p {
        font-size: 18px;
    }
    .content p.note {
        font-size: 14px;
    }
}

.note2 {
    color: #e4e4e4;
    margin-bottom: 0;
    padding-bottom: 50px;
    position: relative;
    z-index: 2;
}

.gift img {
    width: 90%;
    max-width: 350px;
    padding-bottom: 15px;
}

@media (max-width: 460px) {
    .gift img {
        max-width: 280px;
    }
}

.gift p {
    font-size: 18px;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.secA {
    background: #e3111b;
    position: relative;
}

@media (max-width: 667px) {
    .secA .secA_subtltle {
        margin-top: -20px;
    }
}

section {
    position: relative;
}

section .sec_bg {
    position: absolute;
    top: 0;
    left: 0;
    background: #e3111b;
    z-index: 1;
}

section .sec_bg.secB_bg {
    background: #cd161f;
}

.secA img.secA_bg_ribbons_L {
    max-width: 40%;
    position: absolute;
    bottom: 10%;
    left: -5%;
    z-index: 1;
}

.secA img.secA_bg_ribbons_R {
    max-width: 28%;
    position: absolute;
    bottom: 7%;
    right: -4%;
    z-index: 1;
}

.secA .wrap,
.secB .wrap {
    background: #cd161f;
}

.secA .box {
    width: 96%;
    margin: 0 auto;
    margin-bottom: 60px;    
    position: relative;
    z-index: 2;
}

.secA .box_title {
    position: relative;
}

.secA .box_content {
    background: linear-gradient( 0deg, #e7424b 0%, #e94859 50%, #e6414b 100%);
    box-shadow: 0px 15px 0px 0px #bb3145;
    border-radius: 0 0 30px 30px;
    padding-top: 40px;
    padding-bottom: 10px;
    margin-top: -2px;
}

@media (max-width: 767px) {
    .secA .box_content {
        background: linear-gradient( 0deg, #e7424b 0%, #e94859 50%, #eb444a 100%);
    }
}

.secA .QRcode img {
    width: 100%;
    max-width: 520px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.secA .gift01,
.secA .gift02 {
    display: inline-block;
    margin-left: 15px;
    margin-right: 15px;
}

.secA .gift01 img {
    max-width: 70%;
}

.secA .gift02 img {
    max-width: 200px;
}

@media (max-width: 825px) {
    .secA .gift01,
    .secA .gift02 {
        margin-left: 0px;
        margin-right: 0px;
    }
}

@media (max-width: 575px) {
    .secA .gift01 img {
        width: 80%;
        max-width: 80%;
    }
    .secA .gift02 img {
        max-width: 180px;
    }
}

.secA .btn_go {
    transform: translateY(50px);
}

.secA .btn_go a {
    display: inline-block;
    padding: 15px 20px 15px 25px;    transition-timing-function: ease;
    font-size: 32px;
    line-height: 36px;
    font-weight: bold;
    color: #ce0c40;
    background: linear-gradient( 0deg, rgb(212,162,76) 0%, rgb(255,247,141) 60%);
    border-radius: 50px;
    box-shadow: 0px 3px 3px 3px rgba(164, 21, 42, 0.5);
    transition: all 0.5s;
}

.secA .btn_go a img {
    vertical-align: bottom;
}

.secA .btn_go a:hover {
    text-decoration-line: none;
    transform: scale(105%);
}

@media (max-width: 575px) {
    .secA .btn_go a {
        font-size: 26px;
        line-height: 30px;
    }
    .secA .btn_go a img {
        width: 30px;
        height: 31px;
    }
}

.secB {
    position: relative;
}

.secB .box {
    width: 96%;
    margin: 0 auto;
    border-radius: 30px;
    background-image: linear-gradient( 0deg, rgb(236,193,108) 0%, rgb(246,213,159) 16%, rgb(255,232,210) 64%);
    padding-top: 162px;
    padding-bottom: 50px;
    margin-top: -144px;
    position: relative;
    z-index: 2;
}

.secB .box:before {
    content: "";
    display: block;
    width: 98%;
    height: 96%;
    position: absolute;
    top: 2%;
    left: 1%;
    border: 4px solid transparent;
    border-radius: 20px;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(0deg, rgb(236,193,108) 0%, rgb(246,213,159) 16%, rgb(255,232,210) 64%), linear-gradient(180deg, rgb(236,193,108) 0%, rgb(246,213,159) 16%, rgb(255,232,210) 64%);
}

@media (max-width: 767px) {
    .secB .box {
        padding-top: 120px;
        margin-top: -105px;
        padding-left: 15px;
        padding-right:  15px;
    }
    .secB .box:before {
        width: 96%;
        left: 2%;
    }
}

@media (max-width: 575px) {
    .secB .box {
        margin-top: -88px;
        padding-top: 100px;
    }
    .secB .box:before {
        height: 97%;
        top: 1.5%;
    }    
}

@media (max-width: 470px) {
    .secB .box {
        margin-top: -70px;
        padding-top: 80px;
    }
}

@media (max-width: 375px) {    
    .secB .box {
        margin-top: -50px;
        padding-top: 60px;
    }
}

.secB .wrap {
    background-size: 50% auto;
    z-index: 2;    
}

.secB .rule img {
    width: 100%;
    max-width:260px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
    .secB .tltle img {
        width: 90%;
        max-width: 480px;
        margin: 0 auto;
    }
    .secA .subtltle img,
    .secB .subtltle img {
        width: 130%;        
        max-width: 130%;
        margin-left: -15%;
    }
    .secB .rule img {
        max-width:200px;
    }
}

@media (max-width: 575px) {
    .secB .tltle img {
        width: 85%;
        max-width: 450px;
        margin: 0 auto;
    }
    .secA .subtltle img,
    .secB .subtltle img {
        width: 130%;        
        max-width: 130%;
        margin-left: -15%;
    }
}

@media (max-width: 375px) {
    .secA .subtltle img,
    .secB .subtltle img {
        width: 170%;        
        max-width: 170%;
        margin-left: -33%;
    }
    .secB .rule img {
        width: 80%;
        max-width: 180px;
    }
}


.secB .rule p {
    font-size: 20px;
    font-weight: bolder;
    color: #734621;
    text-align: left;
    max-width: 320px;
    margin: 0 auto;
    text-align: justify;
}

@media (max-width: 767px) {
    .secB .rule p {
        font-size: 18px;
    }
}

.secB .rule p .note {
    font-size: 14px;
    color: #875227;
}

.secB .note_box {
    width: 96%;
    margin: 0 auto;
    margin-bottom: 70px;
    margin-top: 15px;
}

@media (max-width: 575px) {
    .secB .note_box {
        margin-bottom: 60px;
    }
}

.secB .note_box ul {
    list-style: none;
    text-align: left;
    padding-left: 42px;
    padding-right: 4px;    
}

.secB .note_box ul li {
    font-size: 14px;
    position: relative; 
    text-indent: -35px;
    color: #e4e4e4;
}

.secB .subtltle {
    padding-top: 15px;
    padding-bottom: 15px;
}

.secB .secB_subtitle_pic {
    width: 60%;
    max-width: 520px;
    margin-top: 30px;
}

@media (max-width: 575px) {
    .secB .secB_subtitle_pic {
        width: 75%;
    }
}

.secB .gift_box {
    width: 96%;
    margin: 0 auto;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.secB .gift {
    padding-top: 30px;
    padding-bottom: 10px;
}

.secB .gift img {
    width: 94%;
    max-width: 270px;
}

@media (max-width: 575px) {
    .secB .gift img {
        max-width: 260px;
    }
}

.secC {
    background-color: #efd09f;
    padding-bottom: 50px;
    color: #5c3400;
}

.secC .container {
    position: relative;
    z-index: 2;
}

.secC .subtltle {
    padding-top: 8.8%;
    padding-bottom: 0;
}

.secC .secC_subtitle {
    max-width: 500px;
}


@media (max-width: 1399px) {
    .secC .subtltle {
        padding-top: 6%;
    }
}

@media (max-width: 1199px) {
    .secC .subtltle {
        padding-top: 5%;
    }
    .secC .secC_subtitle {
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    .secC .subtltle {
        padding-top: 3%;
    }
}

@media (max-width: 767px) {
    .secC .subtltle {
        padding-top: 2.5%;
    }
    .secC .secC_subtitle {
        max-width: 350px;
    }
}

@media (max-width: 575px) {
    .secC .secC_subtitle {
        max-width: 280px;
    }
}

.secC ol {
    width: 96%;
    margin: 0 auto;
    text-align: left;
    padding-left: 15px;    
    list-style: none;
    counter-reset: num;
}

.secC ol li {
    text-align: justify;
    color: #5c3400;
    position: relative;
}

.secC ol > li {
    margin-bottom: 1rem;
}

.secC ol > li:before {
    counter-increment:num; 
    content: counter(num);
    position: absolute;
    top: 3px;
    left: -26px;
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: #5c3400;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 14px;
}

.secC ol > li span {
    font-size: 18px;
}

.secC ul.list-style-disc {
    list-style: none;
    padding-left: 1em;
}

.secC ul.list-style-disc li {
    position: relative;
    margin-bottom: 0.5rem;
}

.secC ul.list-style-disc li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #cf8b14;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: -14px;
}

@media (max-width: 575px) {
    .secC h2 {
        font-size: 36px;
    }
    .secC {
        padding-bottom: 40px;
    }    
}


/*================== Footer ==================*/
footer {
    font-size: 14px;
    background-color: #d8ba85;
    position: relative;
}

footer .container {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

footer p {
    margin-bottom: 0;
}

footer address,
footer span {
    margin-left: 5px;
    margin-right: 5px;
}

footer span,
footer a,
footer address {
    display: inline-block;
    margin-bottom: 0;
}

footer a,
footer a:hover {
    margin: 0;
    color: #222;
}

footer a:hover {
    text-decoration: underline;    
    color: #6c4500;
}

@media screen and (max-width: 767px) {
    footer {
        font-size: 13px;
    }
}


/*================== goTop ==================*/
.sidebar {
    display: none;
    position: fixed;
    right: 15px;
    bottom: 60px;
    height: auto;
    z-index: 99;
}

.goTop {
    position: fixed;
    z-index: 300;
    right: 5px;
    bottom: 70px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    opacity: 1;
    transition: all 0.2s
}

.goTop img {
    width: 100%;
}


/*================== Color ==================*/
.clr-red {
    color: #ec3d3d !important;
}

.clr-white {
    color: #fff !important;
}