html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

* {
    font-family: sans-serif, "Microsoft Jhenghei";
    box-sizing: border-box;
    font-family: 微軟正黑體, Arial, Helvetica, sans-serif;
}

body header,
body main,
body footer {
    transition: all 0.3s ease;
}

header .social img:hover {
    border: solid 3px #e2e2e2;
}

header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    padding-bottom: 0;
    box-shadow: rgba(0, 0, 0, 0.1) 0 3px 3px 3px;
    background-color: #ffffff;
    background-color: #000;
    z-index: 9999;
    transition: transform 0.7s cubic-bezier(0.15, 0.38, 0, 0.86) 0s;
}

header .wrap {
    width: 100%;
    padding: 10px 2%;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
}

a {
    cursor: pointer;
    display: block;
    background-color: transparent;
    text-decoration: none;
    color: #000000;
}

img {
    border-style: none;
    max-width: 100%;
    -khtml-user-select: none;
    -o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

main {
    position: relative;
}

/* Header */
header .myv-logo img {
    /* height: 50px; */
    height: 35px;
    width: auto;
    transition: height .05s ease-in;
    transform: translate(0px, 3px);
}

header .social {
    display: -ms-flexbox;
    display: flex;
}

header .social .download img,
header .social .facebook img,
header .social .line img,
.social .download-m img {
    width: 46px;
    height: 46px;
    margin-left: 0px;
    border-radius: 100%;
    margin: 0 2px;
    transition: width .05s ease-in;
}

header .social .share {
    display: -ms-flexbox;
    display: flex;
}
.kv-wrap{
    display: flex;
    justify-content: center;
    position: relative;
    width: 100%;
}

.kv01{
    position: relative;
    margin-top: -300px;
    width: 100%;
    height: 1000px;

    background: url(../images/kv01.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
}
.kv02{
    position: relative;
    margin-top: -180px;
    width: 200%;
    height: 300px;
    background: url(../images/kv02.png);
    background-size: 110%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 999;
    
}

.kv-mobile{
    display: none;
}

main {
    background: rgb(246, 209, 82);
    background: linear-gradient(330deg, rgba(246, 209, 82, 1) 0%, rgba(199, 224, 83, 1) 50%, rgba(113, 191, 205, 1) 100%);
}

.inner {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 2;
}

.title01 {
    width: 50%;
    max-width: 516px;
    min-width: 316px;
}

.title01::before,.title02::before {
    content: "";
    background: url(../images/line.png);
    background-size: auto;
    position: absolute;
    width: 33.5%;
    height: 2px;
    margin-top: 15px;
    left: 0px;
}

.title01::after,.title02::after {
    content: "";
    background: url(../images/line.png);
    background-size: auto;
    position: absolute;
    width: 33.5%;
    height: 2px;
    margin-top: 15px;
    right: 0px;
}

.title03::before {
    content: "";
    background: url(../images/line.png);
    background-size: auto;
    position: absolute;
    width: 43%;
    height: 2px;
    margin-top: 15px;
    left: 0px;
}

.title03::after{
    content: "";
    background: url(../images/line.png);
    background-size: auto;
    position: absolute;
    width: 43%;
    height: 2px;
    margin-top: 15px;
    right: 0px;
}

.title02 {
    width: 50%;
    max-width: 516px;
    min-width: 316px;
}

.title03 {
    width: 15%;
    max-width: 140px;
    min-width: 88px;
}


.button-link:hover {
    transform: scale(1.1);
}

.button-wrap {
    display: flex;
    justify-content: center;
}

.button {
    display: flex;
    justify-content: center;
    width: 360px;
    padding: 20px 0;
    background-color: #452E28;
    margin: 40px 0;
}

.button-text {
    width: 40%;
    /* max-width:446px; */
    min-width: 160px;
}

.button-text::before {
    content: "";
    background: url(../images/triangle-L.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 15px;
    height: 20px;
    margin-left: -40px;

}

.button-text::after {
    content: "";
    background: url(../images/triangle-R.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    width: 15px;
    height: 20px;
    margin-left: 20px;
}

.title-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 70px;
    overflow: hidden;
}

.title-box-1 {
    background-color: #2A83B6;
    margin-top: 50px;
}

.title-box-2 {
    background-color: #E55C41;
}

.title-box-3 {
    background-color: #000000;
}

.rule-content {
    padding: 70px 30px;
}

.rule-content span {
    font-weight: bolder;
    font-size: 18px;
    margin-right: 5px;
}

.rule-content-inner {
    margin-left: 20px;
}

/* Header END */
.swiper-father {
    position: relative;
    background-color: #fff;
    margin: 30px 0;
    /* margin-bottom: 0px; */
}

.swiper {
    width: 70%;
    height: 100%;
    --swiper-navigation-size: 0;
}

.swiper-slide a:hover {
    opacity: 0.8;
}

.swiper-slide {
    padding: 20px 0;
    padding-bottom: 0;
    text-align: center;
    font-size: 14px;
    /* background: #fff; */

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    flex-wrap: wrap;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-prev {
    left: 80px !important;

}

.swiper-button-next {
    right: 80px !important;

}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: "" !important;

}

.swiper-button-prev1 {
    left: 80px !important;

}

.swiper-button-next1 {
    right: 80px !important;

}

.swiper-button-next1::after,
.swiper-button-prev1::after {
    content: "" !important;

}

.swiper-button-next1,
.swiper-button-prev1 {
    position: absolute;
    top: 50%;
    width: calc(var(--swiper-navigation-size)/ 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--swiper-navigation-color, var(--swiper-theme-color));
}

.swiper-pagination-clickable {
    display: none;
}

/* Footer */
footer {
    z-index: 10;
    position: relative;
    bottom: 0;
    left: 0;
    font-family: sans-serif, "Microsoft Jhenghei";
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

footer .copyright {
    text-align: center;
    display: flex;
    align-items: center;
    color: #FFF;
    padding: 15px 10px;
    font-size: 12px;
    position: relative;
}

footer .twm-logo img {
    width: 90px;
    margin-right: 4px;
}

/* Footer END */
@media (max-width: 1600px) {

    .kv02{
        position: relative;
        margin-top: -180px;
        width: 200%;
        height: 300px;
        background: url(../images/kv02.png);
        background-size: 150%;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 999;
        
    }
    .title01::before,.title02::before {
        width: 30.5%;
    }
    
    .title01::after,.title02::after {
        width: 30.5%;
    }
    
    .title03::before {
        width: 43%;
    }
    
    .title03::after{
        width: 43%;
    }

}

@media (max-width: 1400px) {
    .title01::before,.title02::before {
        width: 26.5%;
    }
    
    .title01::after,.title02::after {
        width: 26.5%;
    }
    
    .title03::before {
        width: 38%;
    }
    
    .title03::after{
        width: 38%;
    }
}

@media (max-width: 1200px) {
    .title01::before,.title02::before {
        width: 22.5%;
    }
    
    .title01::after,.title02::after {
        width: 22.5%;
    }
    
    .title03::before {
        width: 36%;
    }
    
    .title03::after{
        width: 36%;
    }
}

/* RWD */
@media (max-width: 1024px) {
    .swiper-button-prev {
        left: 60px !important;

    }

    .swiper-button-next {
        right: 60px !important;

    }

    .swiper-button-prev1 {
        left: 60px !important;

    }

    .swiper-button-next1 {
        right: 60px !important;

    }
    .kv02{
        position: relative;
        margin-top: -250px;
        width: 200%;
        height: 300px;
        background: url(../images/kv02.png);
        background-size: 200%;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 999;
        
    }
    .title-box-1{
        margin-top: 40px;
    }
}
@media (max-width: 768px) {
    .swiper-button-prev {
        left: 60px !important;

    }

    .swiper-button-next {
        right: 60px !important;

    }

    .swiper-button-prev1 {
        left: 60px !important;

    }

    .swiper-button-next1 {
        right: 60px !important;

    }
    .kv02{
        position: relative;
        margin-top: -326px;
        width: 200%;
        height: 300px;
        background: url(../images/kv02.png);
        background-size: 180%;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 999;
        
    }
    .title-box-1{
        margin-top: -40px;
    }
}

@media (max-width: 600px) {
    .swiper-button-prev {
        left: 30px !important;

    }

    .swiper-button-next {
        right: 30px !important;

    }

    .swiper-button-prev1 {
        left: 30px !important;

    }

    .swiper-button-next1 {
        right: 30px !important;

    }
    .title01::before,.title02::before {
        display: none;
    }
    
    .title01::after,.title02::after {
        display: none;
    }
    
    .title03::before {
        display: none;
    }
    
    .title03::after{
        display: none;
    }
}

@media (max-width: 500px) {
    .kv-desktop{
        display: none;
    }

    .kv-mobile{
        display: flex;
        margin: 0 auto;
        flex-wrap: wrap;
        margin-top: -360px;
        width: 90%;
    }
    .kv01{
        margin-top: -420px;
    }
    .title-box-1 {
        background-color: #2A83B6;
        margin-top: 50px;
    }

    .swiper-button-prev {
        left: 15px !important;

    }

    .swiper-button-next {
        right: 15px !important;

    }

    .swiper-button-prev1 {
        left: 15px !important;

    }

    .swiper-button-next1 {
        right: 15px !important;

    }
}

@media (max-width: 350px) {}

@media (max-width: 420px) {
    footer .copyright {
        text-align: center;
        display: flex;
        align-items: center;
        color: #FFF;
        padding: 15px 10px;

        font-size: 10px;
        position: relative;
    }

    footer .twm-logo img {
        width: 90px;
        margin-top: 1px;
        margin-right: 4px;
    }

    footer p {
        margin: 0;
    }
}

/* RWD END */