@charset "utf-8";

html,
body {
    position: relative;
    width: 100%;
    font-family: "微軟正黑體", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3e3a39;
    margin: 0;
    padding: 0;
    background-color: #ffe27d;
    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: linear-gradient(0deg, #65c6e8 0%, #65c6e8 10%, #65c6e8 100%);
    position: relative;
    z-index: 1;
}

header nav {
    background: url(../img/kv_bg2.png) left top no-repeat;
    background-size: contain;
    padding-bottom: 10px;
    margin-bottom: 10px;    
}

@media (max-width: 767px) {
    header nav {
        margin-bottom: 0px;     
    }
}

@media (max-width: 890px) {
    header nav {
        background: url(../img/kv_bg2.png) left top no-repeat;
        background-size: 60% 100% ;
        padding-bottom: 10px;
    }
}

@media (max-width: 767px) {
    header nav {
        background: url(../img/kv_bg2.png) left top no-repeat;
        background-size: contain;
        padding-bottom: 10px;
        margin-bottom: 5px;
    }
}

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

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;
    background: #fff;
    border-radius: 50%;
    display: none;
    z-index: 1000;
}

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

header #menu-toggle:hover {
    background: rgba(255,255,255,255.8);
}

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

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

header #menu-toggle #hamburger span {
    width: 26px;
    height: 2px;
    position: relative;
    top: 6px;
    left: 7px;
    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: 40px;  
    }
}

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

header .mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #65c6e8;
    border-radius: 50px;
    margin-top: 15px;
    margin-right: 4px;
    padding: 0px 10px 0px 10px;
    position: relative;
}

header .mobile ul:before {
    content: "";
    display: block;
    width: 96%;
    height: 130%;
    border-radius: 50px;
    border: 2px solid #fff;    
    position: absolute;
    top: -15%;
    left: 2%;
    z-index: -1;
}

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

header .mobile .menu ul li a {
    display: inline-block;
    padding: 1px 10px 1px 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: #fed958;
}

@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;
    }
    
}

@media (max-width: 767px) {
    header .mobile ul {
        margin-top: 0;
        background-color: #fff;

    }
    header .mobile ul:before {
        background-color: #fff;
    }
    header .mobile .menu ul li {
        display: block;
    }
    header .mobile .menu ul li a {
        color: #109cda;
        background: radial-gradient(circle at 10px -7px, transparent 8px, currentColor 8px, currentColor 9px, transparent 9px) repeat-x,
                    radial-gradient(circle at 10px 27px, transparent 8px, currentColor 8px, currentColor 9px, transparent 9px) repeat-x;
        background-size: 20px 20px;
        background-position: -10px calc(100% + 16px), 0 calc(100% - 4px);
    }
    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: 160px;
        margin: 0 auto;
        text-align: center;
    }
    header .mobile .menu ul li a:hover,
    header .mobile .menu ul li.active a {
        text-decoration: none;
        color: #f29405;
        animation: waveFlow 1s infinite linear;
    }
}

@keyframes waveFlow {
    from { background-position-x: -10px, 0; }
    to { background-position-x: -30px, -20px; }
}

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

header .kv_slogn {
    animation-delay: 0.5s;
}

header .kv_pic img {
    animation: surf 3s linear infinite;
    animation: surf 3s ease-in-out infinite;
    animation-delay: 1s;
    transform: rotate(-4deg);
}

@keyframes surf {    
    0% {
        margin-top: 0.25em;
        transform: rotate(-4deg);
    }
    40% {
        transform: rotate(6deg);
        margin-top: -0.5em;
        margin-left: 12%;
    }
    65% {
        transform: rotate(-8deg);
        margin-top: -0.125em;
    }
    100% {
        transform: rotate(-4deg);
        margin-top: 0.25em;
    }
}

@media (max-width: 767px) {
    header .kv_slogn {
        width: 104%;
        margin-left: 8%;
    }
    header .kv_pic {
        width: 104%;
        margin-left: -10%;
        bottom: -2%;
        overflow: visible;
    }
    @keyframes surf {    
        0% {
            margin-top: 0.25em;
            transform: rotate(-4deg);
        }
        40% {
            transform: rotate(6deg);
            margin-top: -0.5em;
            margin-left: 7%;
        }
        65% {
            transform: rotate(-8deg);
            margin-top: -0.125em;
        }
        100% {
            transform: rotate(-4deg);
            margin-top: 0.25em;
        }
    }
}


/*================== Main ==================*/
main {
    padding-top: 3%;
    background-color: #fed958;
}

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

.box {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 0 15px;
    text-align: left; 
    position: relative;
}

@media (max-width: 991px) {
    .box {
        width: 96%;
    }
}

@media (max-width: 767px) {
    .box {
        text-align: center; 
    }
}

@media (max-width: 575px) {
    .box {
        padding: 0 10px;
    }
}

.box:before {
    content: "";
    display: block;
    width: 100%;
    height: calc(100% - 42px);
    background-color: #fffded;
    box-shadow: 0px 3px 8px rgba(225, 188, 59, 0.5);
    border-radius: 25px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.box.boxA:before {
    height: calc(100% - 62px);
}

.box .box_l {
    padding-left: 0;
    padding-right: 0;
}

.box .box_r {
    padding-bottom: 15px;
}

.box h3 {
    display: inline-block;
    font-size: 22px;
    font-weight: 600;
    color: #ec6041;
    background-color: #fed958;
    border-radius: 0 0 40px 40px;
    padding: 0px 40px 8px 40px;
    margin-top: 40px;
}

.box.boxA h3 {
    margin-top: 60px;
}

@media (max-width: 575px) {
    .box h3 {
        font-size: 20px;
        padding: 0px 35px 8px 35px;
    }
}

@media (max-width: 460px) {
    .box h3 {
        font-size: 18px;
        padding: 0px 30px 8px 30px;
    }
}

@media (max-width: 336px) {
    .box h3 {
        font-size: 16px;
        padding: 0px 25px 8px 25px;
    }
}

.box .pic {
    width: 100%;
    position: relative;
}

@media (max-width: 767px) {
    .box .pic {
        width: 94%;
    }
}

.title {
    margin-top: 25px;
    margin-bottom: 25px;
    position: relative;
    z-index: 3;
}

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

.subtitle {
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}

.subtitle img {
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 2;
}

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

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

.content p {
    font-size: 24px;
    font-weight: bold;
    text-align: justify;
    text-justify: inter-ideograph;    
}

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

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

.box .content p {
    position: relative;
    z-index: 3;
}

@media (max-width: 1210px) {
    .box.boxB .content p br {
        display: none;
    }
}

@media (max-width: 767px) {
    .box .content {
        text-align: left;
    }
    .box .content p {
        text-align: justify;
        text-justify: inter-ideograph;
    }
    .box.boxA .content p br {
        display: none;
    }
}

@media (max-width: 575px) {
    .content p {
        font-size: 22px;
    }
}

@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 {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 90%;
    margin: 0 auto;
    color: #504b4a;
}

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

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

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

.gift .wave {
    position: relative;
    display: inline-block;
    padding: 0 20px 12px 20px;
}

.gift .wave:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    background: radial-gradient(circle at 10px -7px, transparent 8px, currentColor 8px, currentColor 9px, transparent 9px) repeat-x,
                radial-gradient(circle at 10px 27px, transparent 8px, currentColor 8px, currentColor 9px, transparent 9px) repeat-x;
    background-size: 20px 20px;
    background-position: -10px calc(100% + 16px), 0 calc(100% - 4px);
    position: absolute;
    top: 0;
    left: 0;
}

.gift .gift_wave {
    max-width: 140px !important;
    margin: 0 auto;
}

.secA {
    background-color: #fed958;
    position: relative;
}

.secA .content p img {
    max-width: 35px;
    margin-left: 5px;
    vertical-align: text-bottom;
}

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

.secA img.secA_bg_leaf {
    max-width: 12%;
    position: absolute;
    top: 12%;
    right: -4%;
    z-index: 1;
}

.secA img.secA_bg_heart {
    max-width: 50%;
    position: absolute;
    bottom: -10%;
    right: -5%;
    z-index: 1;
}

@media (max-width: 767px) {
    .secA img.secA_bg_leaf {
        width: 22%;
        max-width: 22%;
        min-width: 80px;
        top: -5%;
        right: -6%;
    }
    .secA img.secA_bg_heart {
        bottom: 40%;
    }
}

@media (max-width: 575px) {
    .secA img.secA_bg_leaf {
        top: 1%;
    }
}

@media (max-width: 460px) {
    .secA img.secA_bg_leaf {
        top: 3%;
        right: -8%;
    }
}

.secB {
    margin-top: 5%;
}

.secB .QRcode {
    position: relative;
}

.secB .QRcode img {
    width: 85%;
    max-width: 360px;
    margin-top: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.secB img.secB_bg_leaf {
    max-width: 15%;
    position: absolute;
    top: -5%;
    left: -1%;
    z-index: 1;
}

.secB img.secB_bg_heart {
    max-width: 50%;
    position: absolute;
    top: 5%;
    right: -5%;
    z-index: 1;
}

@media (max-width: 767px) {
    .secB img.secB_bg_leaf {
        width: 25%;
        max-width: 25%;
        min-width: 80px;
        top: -2%;
        left: -6%;
    }
    .secB img.secB_bg_heart {
        max-width: 90%;
        top: 5%;
        right: -30%;
    }
}

@media (max-width: 575px) {
    .secB img.secB_bg_leaf {
        top: -4%;
    }
    .secB img.secB_bg_heart {
        max-width: 110%;
        top: -6%;
        right: -30%;
    }
}

@media (max-width: 460px) {
    .secB img.secB_bg_leaf {
        left: -8%;
    }
    .secB img.secB_bg_heart {
        width: 130%;
        max-width: 130%;
        top: -15%;
        right: -50%;
    }
}

.secC {
    padding-top: 5%;
    position: relative;
}

.secC .title {
    position: relative;
    background-color: #fed958;
    margin-top: 0;
    z-index: 1;
}

.secC .title:before {
    content: "";
    display: block;
    width: 80%;
    height: 200%;
    background-color: #6aceee;
    transform: rotate(20deg);
    position: absolute;
    top: 10%;
    left: -15%;
    z-index: -1;
}

.secC .title:after {
    content: "";
    display: block;
    width: 100%;
    height: 200%;
    background-color: #6aceee;
    transform: rotate(-10deg);
    position: absolute;
    top: 30%;
    right: -15%;
    z-index: -1;
}

.secC .wrap {
    background-color: #6aceee;*
    z-index: 2;
}

.secC .content p {
    width: 96%;
    margin: 0 auto;
    text-align: center;
}

.secC .title img {
    width: 94%;
    max-width: 650px;
}

@media (max-width: 575px) {
    .secC .title img {
        width: 110%;
        margin-left: -5%;
    }
    .secC .title:before {
        top: 15%;
        left: -20%;
    }
    .secC .title:after {
        top: 42%;
    }
}

.secC img.secC_bg_man {
    max-width: 15%;
    position: absolute;
    top: -8%;
    left: 0;
    z-index: 2;
}

.secC img.secC_bg_woman {
    max-width: 15%;
    position: absolute;
    top: 0%;
    right: 0;
    z-index: 2;
}

.secC img.secC_bg {
    position: absolute;
    bottom: 0;
    left: 0;
}

@media (max-width: 991px) {
    .secC img.secC_bg {
        bottom: 3%;
    }
}

@media (max-width: 767px) {
    .secC img.secC_bg {
        bottom: 3.5%;
    }
}

@media (max-width: 575px) {
    .secC img.secC_bg {
        bottom: 2%;
    }
}

@media (max-width: 420px) {
    .secC img.secC_bg {
        bottom: 1.5%;
    }
}

.secC .secC_bg_bottom {
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.secC .secC_bg_bottom:before {
    content: "";
    display: block;
    width: 100%;
    height: 200%;
    background-color: #fed958;
    transform: rotate(20deg);
    position: absolute;
    top: 50%;
    left: -15%;
    z-index: -1;
}

.secC .secC_bg_bottom:after {
    content: "";
    display: block;
    width: 100%;
    height: 200%;
    background-color: #fed958;
    transform: rotate(-10deg);
    position: absolute;
    top: 60%;
    right: -15%;
    z-index: -1;
}

.secC .secC_bg_bottom img {
    width: 90%;
    max-width: 550px;
}

@media (max-width: 850px) {
    .secC .secC_bg_bottom:before {
        width: 120%;
        left: -25%;
    }
    .secC .secC_bg_bottom:after {
        width: 110%;
    }
}

@media (max-width: 767px) {
    .secC img.secC_bg_man,
    .secC img.secC_bg_woman {  
        max-width: 20%;
        top: 12%;
        display: none;
    }
}

@media (max-width: 575px) {
    .secC img.secC_bg_man,
    .secC img.secC_bg_woman {  
        max-width: 30%;
        top: 8.5%;
    }
}

.secC .rule {
    width: 96%;
    margin: 0 auto;
    border-radius: 25px;
    background-color: #f8f8f8;
    box-shadow: rgba(68, 168, 200, 0.5) 0px 3px 8px;
    padding-top: 20px;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.secC .rule:before {
    content: "";
    display: block;
    width: 258px;
    height: 34px;
    border-radius: 0 0 40px 40px;
    background-color: #6aceee;
    position: absolute;
    top: -3px;
    left: calc(50% - 128px);
}

@media (max-width: 575px) {
    .secC .rule:before {
        width: 210px;
        height: 30px;
        left: calc(50% - 105px);
    }
}

@media (max-width: 460px) {
    .secC .rule:before {
        width: 184px;
        height: 28px;
        left: calc(50% - 92px);
    }
}

.secC .rule img {
    width: 100%;
    max-width: 250px;
    margin-top: 40px;
    margin-bottom: 20px;
}

@media (max-width: 375px) {
    .secC .rule img {
        width: 80%;
    }
}


.secC .rule p {
    font-size: 18px;
    font-weight: bolder;
    color: #804e4c;
    text-align: left;
    max-width: 250px;
    margin: 0 auto;
    text-align: justify;
}

.secC .rule p .note {
    font-size: 14px;
    color: #a06e6c;
}

.secC .note_box {
    width: 96%;
    margin: 0 auto;
}

.secC .note_box ul {
    list-style: none;
    text-align: left;
    padding-left: 50px;
    padding-right: 4px;
    margin-top: 10px;
}

.secC .note_box ul li {
    font-size: 16px;
    position: relative; 
    text-indent: -42px;
}

.secC .note_box ul li:first-child {
    text-indent: 0px;
    margin-left: -40px;
}

.secC .subtitle {
    padding-top: 15px;
    padding-bottom: 15px;
}

.secC .gift_box {
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.secD {
    background-color: #fed958;
    padding-bottom: 50px;
    position: relative;
    z-index: 3;
}

@media (max-width: 991px) {
    .secD {
        width: 96%;
        margin: 0 auto;
    }
}

.secD .subtitle {
    padding-top: 30px;
    padding-bottom: 30px;
}

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

@media (max-width: 991px) {
    .secD ol {
       width: 96%; 
    }
}

.secD ol li {
    text-align: justify;
    color: #804e4c;
    position: relative;
}

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

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

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

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

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

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

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


/*================== Footer ==================*/
footer {
    font-size: 14px;
    background-color: #fff;
    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 {
    text-decoration: underline;
    margin: 0;
}

@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: #ec4949 !important;
}

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