@import url("reset.css");
*{
  margin:0;
  padding:0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  font-family: "Microsoft JhengHei","Heiti TC","sans-serif";
}

img{
    display: block;
}

html,body{
    width: 100%;
    height: 100%;
}


.link{
    max-width: 800px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.link p{
    font-size: 14px;
    line-height: 55px;
    color: #434343;
}

.btn{
    letter-spacing: 1px;
    background: #00a19b;
    color: #fff;
    width: 200px;
    padding: 12px 0;
    margin: 10px 20px;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover{
    opacity: 0.7;
}

.btn:disabled {
    background: #acacac;
    color: #ffffff;
    cursor: not-allowed;
}

.btn2{
    letter-spacing: 1px;
    background: #fff;
    color: #00a19b;
    width: 200px;
    padding: 12px 0;
    margin: 10px 20px;
    border-radius: 4px;
    border: #00a19b 1px solid;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.btn2:hover{
    opacity: 0.7;
}

.btn2:disabled {
    background: #acacac;
    color: #ffffff;
    cursor: not-allowed;
}

/* header */
header > nav{
    width: 1200px;
    height: 50px;
    margin: 0 auto;
}

header > nav > a{
    line-height: 50px;
    color: #333;
    font-size: 14px;
    float: left;
}   

header > nav > a > img{
    width: 250px;
    padding: 12px 0 12px 5px;
} 

header > nav > div{
    color: #333;
    font-size: 14px;
    float: right;
    padding-left: 20px;
}

header > nav > div > a{
    display: block;
    line-height: 50px;
    padding: 0 10px;
    float: left;
    font-weight: bold;
    color: #333;
}

header > nav > div > a:hover{
    color: #00a19b;
}

/*kv主視覺*/
.kv_body{
    width: 100%;
    background-image: url(../images/kv_background.webp);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
.kv_text{
    width: 95%;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 200px;
    padding-bottom: 680px;
}
.kv-tittle{
    display: flex;
    align-items:center;
}
.star{
    width: 10%;
    max-width: 50px;
    -webkit-animation: star 3s infinite;
    animation: star 3s infinite;
}
.kv-font{
    width: 90%;
}
.kv_text img{
    width: 100%;
}
.kv_img{
    width: 95%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    text-align: center;
    padding-left: 2.5%;
    padding-top: 60px;
}
.img0,.img1,.img2,.img3,.img4{
    width: 90%;
    position: absolute;
    margin: 0 auto;
    text-align: center;
}
.img3,.img4{
    width: 45%;
    max-width: 250px;
}
.img1{
    -webkit-animation: rotate-center 50s linear infinite forwards;
        animation: rotate-center 50s linear infinite forwards;
}
.img3{
    top: 400px;
    left: -110px;
    -webkit-animation-name: hvr-buzz-out;
    animation-name: hvr-buzz-out;
    -webkit-animation-duration: 3s;
    animation-duration:3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
    animation-delay: 1s;
}
.img4{
    right: -80px;
    top: 110px;
    -webkit-animation-name: hvr-buzz-out;
    animation-name: hvr-buzz-out;
    -webkit-animation-duration: 3s;
    animation-duration:3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: 1;
    animation-iteration-count: 1;
}

@-webkit-keyframes hvr-buzz-out {
  10% {
    -webkit-transform: translateX(5px) rotate(2deg);
    transform: translateX(5px) rotate(2deg);
  }
  20% {
    -webkit-transform: translateX(-5px) rotate(-2deg);
    transform: translateX(-5px) rotate(-2deg);
  }
  30% {
    -webkit-transform: translateX(5px) rotate(2deg);
    transform: translateX(5px) rotate(2deg);
  }
  40% {
    -webkit-transform: translateX(-5px) rotate(-2deg);
    transform: translateX(-5px) rotate(-2deg);
  }
  50% {
    -webkit-transform: translateX(3px) rotate(1deg);
    transform: translateX(3px) rotate(1deg);
  }
  60% {
    -webkit-transform: translateX(-3px) rotate(-1deg);
    transform: translateX(-3px) rotate(-1deg);
  }
  70% {
    -webkit-transform: translateX(3px) rotate(1deg);
    transform: translateX(3px) rotate(1deg);
  }
  80% {
    -webkit-transform: translateX(-3px) rotate(-1deg);
    transform: translateX(-3px) rotate(-1deg);
  }
  90% {
    -webkit-transform: translateX(1px) rotate(0);
    transform: translateX(1px) rotate(0);
  }
  100% {
    -webkit-transform: translateX(-1px) rotate(0);
    transform: translateX(-1px) rotate(0);
  }
}
/**
 * ----------------------------------------
 * animation rotate-center
 * ----------------------------------------
 */
@-webkit-keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
@keyframes rotate-center {
  0% {
    -webkit-transform: rotate(0);
            transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@-webkit-keyframes star {
    0% {
        transform: rotate(0deg) scale(0.3);
    }
    35% {
        transform: rotate(360deg) scale(1);
    }
    65% {
        transform: rotate(360deg) scale(1);
    }
    100% {
        transform: rotate(720deg) scale(0.3);
    }

}
@keyframes star {
    0% {
        transform: rotate(0deg) scale(0.3);
    }
    35% {
        transform: rotate(360deg) scale(1);
    }
    65% {
        transform: rotate(360deg) scale(1);
    }
    100% {
        transform: rotate(720deg) scale(0.3);
    }
}
@media(max-width:1200px){
    .kv_text{
    padding-bottom: 700px;
}
    .img3{
    top: 380px;
    left: -5%;
}
    .img4{
        right: 1%;
        top: 110px;
}
}
@media(max-width:950px){
    .kv_text{
    padding-top:150px ;
    padding-bottom: 750px;
}
    .img3,.img4{
        width: 40%;
    }
    .img3{
    top: 400px;
}
}
@media(max-width:700px){
    .kv_text{
    padding-bottom: 650px;
}
    .img3{
    top: 400px;
}
}
@media(max-width:620px){
    .kv_text{
    padding-bottom: 600px;
}
    .img3{
    top: 350px;
}
}
@media(max-width:520px){
    .kv_text{
    padding-top: 100px;
    padding-bottom: 380px;
}
    .img3{
    top: 235px;
}
    .img4{
        top: 60px;
}
    .kv_img{
        padding-top: 30px;
    }
    .star{
    max-width: 20px;
}
}
@media(max-width:400px){
    .img3{
    top: 200px;
}
}

.bg-green{
    width: 100%;
    height: auto;
    overflow: hidden;
}

.bg-yellow{
    width: 100%;
    height: auto;
    overflow: hidden;
}


section{
    padding: 0 0 0px 0;
    max-width: 1100px;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    margin-bottom: 40px;
}


section > h2{
    width: 320px;
    text-align: center;
    line-height: 50px;
    margin: 0px auto;
    letter-spacing: 1px;
    border-bottom: 1px solid #009973;
    color: #009973;
    padding: 50px 8px 0px 8px;
}


/* activity */
#card > div{
    width: 95%;
    margin: 0 auto;
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
    margin-top: 40px;
}

#card > div > div.item{
    width: 180px;
    padding: 0 2px 20px 2px;
    margin: 0 5px;
}

#card2 > div{
    height: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    text-align: center;
    max-width: 1200px;
    margin: auto;
}

#card2 > div > div.item{
    width: 180px;
    padding: 0 2px 10px 2px;
    margin: 50px 5px;
}

.bg-yellow ul{
    padding-left: 50px;
}
.bg-yellow ul li{
    text-align: left;
}

div.item > h5{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 50px;
}

div.item > p{
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 25px;
}

div.item > ul{
    line-height: 35px;
    color: #515151;
    font-size: 17px;
    letter-spacing: 1px;
    list-style: none;
}
div.item > ul > li > span{
    color: #ff9900;
    font-weight: bold;
    font-size: 24px;
}

div.item > img{
    width: 75%;
    margin: 0 auto;
    display: inline-block;
}

#card2 > div > div.item2{
    width: 180px;
    padding: 0 2px 10px 2px;
    margin: 50px 5px;
}

div.item2 > h5{
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 50px;
}

div.item2 > p{
    font-size: 16px;
    letter-spacing: 1px;
    line-height: 25px;
}

div.item2 > ul{
    line-height: 35px;
    color: #515151;
    font-size: 17px;
    letter-spacing: 1px;
    list-style: none;
    line-height: 1.6;
}

div.item2 > ul > li > span{
    color: #ce6f83;
    font-weight: bold;
    font-size: 24px;
}

div.item2 > img{
    width: 75%;
    margin: 0 auto;
    display: inline-block;
}

/* card_notice */

div.card_notice{
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 25px;
    text-align: center;
}

/* table1 */
.table1{
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    border-radius: 40px;
}

.table1 table{
    width: 800px;
    margin: 0 auto;
    padding: 20px;
    border-collapse: separate;
    border-spacing: 0;
}

.table1 th{
    background-color:#3cbaad;
    color: #fff;
}

.table1 th span{
    color: #fff100;
}

.table1 th,td{
    border: 1px solid rgb(255 255 255);
    border-right: solid 1px #d9d9d9;
    padding: 20px 30px;
}

.table1 td {
    font-size: 16px;
    border-left: solid 1px #d9d9d9;
    border-bottom: solid 1px #d9d9d9;
    padding: 10px 0px;
    line-height: 30px;
    background-color: #ffffff;
}

/*項目排：左*/
.table1 tr:first-child th:first-child{
    border-top-left-radius: 30px;
}

/*項目排：右*/
.table1 tr:first-child th:last-child{
    border-top-right-radius: 30px;
}


/*第三排第一列：左*/
.table1 tr:nth-child(2) td:first-child{
    border-bottom-left-radius: 30px;
}


/*最後排第一列：右下*/
.table1 tr:last-child td:last-child{
    border-bottom-right-radius: 30px;
}

.note{
    width: 700px;
    margin: 20px auto 0 auto;
}

.note > ul li{
    text-align: center;
    list-style-type: circle;
    font-size: 14px;
    color: #262626;
    list-style: none; 

}


/* 注意事項 */
aside{
    width: 100%;
    height: auto;
    overflow: hidden;
}

aside > div {
    width: 1100px;
    height: auto;
    overflow: hidden;
    padding: 25px;
    margin: 0 auto;
    border-bottom: 1px solid #d9d9d9;
}

aside > div > p{
    font-size: 14px;
    text-indent: 0.3em;
    color: #595959;
    font-weight: bold;
    line-height: 30px;
}

aside > div > ol{
    font-size: 14px;
    line-height: 28px;
    list-style-type: decimal;
    color: #595959;
    padding: 0 15px 0 25px;
}


li li{
    counter-increment: my-counter;
    margin-left: 1em;
    text-indent: -1.2em;
    list-style: none;
}

li li::before {
  content: "("counter(my-counter) ")";
}

.txt_red{
    color: #ef4343;
}

@media screen and (max-width: 1024px) {
    header > nav, article > div, aside > div, .warning > div, footer > ul{
        width: 100%;
    }

    header > nav > a > img{
        padding: 12px 0 12px 5px;
    }

    aside > div{
        padding: 25px 20px 25px 35px;
    }

    .warning > div{
        padding: 20px;
    }

    #gift > div{
        margin: 50px;
    }
}


@media screen and (max-width: 768px) {
    .btn{
        border-radius: 30px;
    }

    .btn2{
        border-radius: 30px;
    }

    aside{
        width: 100%;
    }

    aside > div{
        padding: 25px 20px 20px 35px;
    }

    aside > div > ol{
        text-align: justify;
    }

    #gift > div{
        margin: 50px 40px;
    }

    #gift > div > div.right_txt{
        width: 58%;
        margin: 15px 0 0 0;
    }

    .table1{
        width: 95%;
        padding: 10px;
        border-radius: 20px;
    }

    .table1 > table{
        width: 100%;
        padding: 0px;
    }

    .table2{
        width: 95%;
    }

    .table2 td:nth-child(1){
        padding: 15px 10px;
        border-radius: 10px;
    }

    .table2 td:nth-child(2){
        padding: 15px 10px;
        border-radius: 10px;
    }

    .note{
        width: 95%;
        line-height: 25px;
    }

    .table1 th{
        padding: 20px 10px;
    }

    .table1 td{
        padding: 20px 10px;
    }
}

@media screen and (max-width: 640px) {
    header > nav > div{
        clear: both;
        float: none;
        padding-left: 0;
    }

    header > nav > div > a{
        width: 50%;
        text-align: center;
    }

    #card:target { 
        padding-top: 100px;
        margin-top: -100px; 
    }

    #gift:target { 
        padding-top: 100px; 
        margin-top: -100px; 
    } 
    
    #gift > div{
        margin: 50px 20px;
    }

    #gift > div > div{
        clear: both;
        float: none;
        margin: 10px 0;
    }

    #gift > div > div.left_img{
        width: 100%;
        float: none;
        text-align: center;
    }

    #gift > div > div.right_txt{
        width: 100%;
        float: none;
        text-align: justify;
    }

    div.right_txt > p{
        line-height: 30px;
    }

    #gift > div > div.right_txt{
        padding: 0 10px;
    }

    div.right_txt > a{
        border-radius: 20px;
    }

    div.item > a{
        border-radius: 20px;
    }

    div.item2 > a{
        border-radius: 20px;
    }

    aside > div {
        border-radius: 0px;
    }

    aside > div > ol{
        padding: 0 15px 0 10px;
    }

    aside > div > p{
        text-indent: -0.7em;
    }
    #card > div{
        margin-top: 20px;
    }
    #card > div > div.item{
    width: 160px;
}
}

@media screen and (max-width: 320px) {
    footer{
         padding: 10px;
    }
    footer > ul > li{
        line-height: 20px;
    }
}

/* seo-h1的class把h1文字隱藏 */
.seo-h1{
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    transform: scale(0);
    color: #ffffff;
    display: none;
    }

