@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_pc{
    width: 100%;
    margin: 0 auto;
    background-image: url(../images/kvpc_bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 40px;
    display: block;
    animation: fade 1s linear 0s ;
}
.kv_m{
    width: 100%;
    margin: 0 auto;
    background-image: url(../images/kv_m_bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 50px;
    display: none;
    animation: fade 1s linear 0s ;
}
/*animation fade*/
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.kv_pc img{
    width: 100%;
    overflow: hidden;
    overflow: visible!important;
    -webkit-animation: slide-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s both;
	        animation: slide-left 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s both;
}
/*animation slide-left*/
@-webkit-keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }
}
@keyframes slide-left {
  0% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }}

.kv_m img{
    width: 100%;
    overflow: hidden;
    overflow: visible!important;
    -webkit-animation: slide-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s both;
        animation: slide-bottom 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 0s both;
}
/*animation slide-bottom*/
@-webkit-keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(70px);
            transform: translateY(70px);
  }
}
@keyframes slide-bottom {
  0% {
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(70px);
            transform: translateY(70px);
  }
}

@media(max-width:500px){
.kv_pc{
    display: none;
}
.kv_m{
    display: block;
}
}

/* content */
/* .bg-green{
    background-image: url("../images/bg_green.svg");
    background-repeat: repeat;
    background-size: 40px;
}


.bg-yellow{
    background-image: url("../images/bg_yellow.svg");
    background-repeat: repeat;
    background-size: 40px;
    padding-bottom: 30px;
} */

.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;
    }

