/*
* @description: 1月廣告素材-通路王活動頁
* @author: Chih
* @update: Chih (上午 10:57 2021/1/26 v1)
*/
@charset 'UTF-8';
@import 'reset.css';
/*----------------------------------------------------*/

.hide-sm
{
    display: block;
}

.hide-lg
{
    display: none;
}

.hide-lg a
{
    font-size: .88em;

    text-align: right;
    text-decoration: underline;

    color: #fff;
}
.flex-box
{
    display:         flex;
    display: -webkit-flex;

            flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}
/* flex box - Edge browser settings*/
@media screen\0
{
    .flex-box
    {
                flex: 0 1 auto;
        -webkit-flex: 0 1 auto;
    }
}
@media screen and (max-width: 767px), screen\9
{
    .flex-box
    {
                flex: 0 1 auto;
        -webkit-flex: 0 1 auto;
    }
}
/*end of Edge browser settings*/
/*----------------------------------------------------
  header
----------------------------------------------------*/
header
{
    width: 100%;
    height: 60px;

    background: #fff;
}

header .inner
{
    line-height: 1;

    position: relative;

    clear: both;
    overflow: hidden;

    width: 100%;
    max-width: 1000px;
    margin: 0 auto 10px;
}

header .inner h1
{
    width: 100%;
}

header .inner h1 img
{
    float: left;

    margin: 15px;
}

header .inner h1 span
{
    font-size: .9em;

    display: block;
    float: right;

    padding-top: 25px;
    padding-right: 18px;

    text-align: right;

    color: #999;
}

header .inner h1 span a
{
    text-decoration: none;

    color: #999;
}

header .inner h1 span a:hover
{
    color: #c90b0e;
}

header .inner h1 span img
{
    float: right;
    /* margin-top: -8px;
    margin-left: 10px;*/

    margin: -12px 5px auto 10px;

    vertical-align: middle;
}

/*----------------------------------------------------
  main
---------------------------------------------------*/
#main
{
    position: relative;

    overflow: hidden;

    width: 100%;
    height: auto;
    margin: 0 auto;
}

/*----------------------------------------------------
  article
----------------------------------------------------*/
article
{
    display: block;
    clear: both;
    overflow: hidden;

    height: auto;
}
article .inner
{
    font-family: '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    position: relative;

    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}



.content_wrapper
{
    box-sizing: border-box;
    width: 100%;
    padding: 0vw 0 1vw;
}

/*== TOP KV ==*/
.top-kv
{
    position: relative;

    min-height: 700px;

    background: #910453 url(../images/top-bg.png) no-repeat bottom center;
    background-size: contain;
}
.top-kv h2
{
    padding-top: 2%;

    align-items: flex-end;
    justify-content: center;
}
.top-title
{
    position: relative;
    z-index: 5;

    width: 52%;
    max-width: 561px;
    margin-right: -26%;
    margin-bottom: 3%;

    animation-name: flipInY;
    animation-duration: 1s;

    animation-fill-mode: both;
    -webkit-backface-visibility: visible !important;
            backface-visibility: visible !important;
}
@keyframes flipInY
{
    from
    {
        transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
        animation-timing-function: ease-in;

        opacity: 0;
    }

    40%
    {
        transform: perspective(400px) rotate3d(0, 1, 0, -20deg);
        animation-timing-function: ease-in;
    }

    60%
    {
        transform: perspective(400px) rotate3d(0, 1, 0, 10deg);

        opacity: 1;
    }

    80%
    {
        transform: perspective(400px) rotate3d(0, 1, 0, -5deg);
    }

    to
    {
        transform: perspective(400px);
    }
}

.fireworks
{
    position: absolute;
    z-index: 1;

    width: 100%;
    max-width: 179px;

    animation: fadeOut forwards 2.1s 1s;
    -webkit-animation: fadeOut forwards 2.1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal;

    opacity: 0;

    animation-fill-mode: both;
    -webkit-backface-visibility: visible !important;
}
.fireworks.fireworks1
{
    top: 5%;
    left: 36%;
    animation-delay: 0.75s;
}
.fireworks.fireworks2
{
    top: -5%;
    left: 10%;

    max-width: 100px;

    animation-delay: 0.9s;
}
.fireworks.fireworks3
{
    top: 1%;
    right: 30%;

    max-width: 90px;

    animation-delay: 1.25s;
}
.fireworks.fireworks4
{
    right:10%;
    top:20%;
    animation-delay: 0.5s;
}
/* 煙火特效 */


.fadeOut
{
    -webkit-animation-name: fadeOut;
            animation-name: fadeOut;
    -webkit-animation-duration: 3.6s;
            animation-duration: 3.6s;
    -webkit-animation-timing-function: ease-out;
            animation-timing-function: ease-out;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
    /* visibility: visible !important; */
}
@keyframes fadeOut
{
    0%
    {
        opacity: .0;

        filter: brightness(100%);
    }
    50%
    {
        transform: scale(0);

        opacity: 0;

        filter: brightness(100%);
    }
    60%
    {
        transform: scale(.9);

        opacity: 1;

        filter: brightness(100%);
    }
    95%
    {
        transform: scale(1.2);

        filter: brightness(100%);
    }
    100%
    {
        transform: /*scale(1)*/translateY(10%);

        opacity: .0;
    }
}
@-webkit-keyframes fadeOut
{
    0%
    {
        opacity: .0;

        filter: brightness(100%);
    }
    50%
    {
        transform: scale(0);

        opacity: 0;

        filter: brightness(100%);
    }
    60%
    {
        transform: scale(.9);

        opacity: 1;

        filter: brightness(100%);
    }
    95%
    {
        transform: scale(1.2);

        filter: brightness(100%);
    }
    100%
    {
        transform: /*scale(1)*/translateY(10%);

        opacity: .0;
    }
}
/*==event content==*/

.whole-bg
{
    display: block;

    margin: 0 auto;

    background-color:#910453;
    background-image:url(../images/bg-cloud.png), url(../images/bottom-bg.png);
    background-repeat:no-repeat,no-repeat;
    background-position: center center,bottom center;
    background-size: contain,contain;
}

.content-wrapper
{
    position: relative;
    z-index: 9;

    margin-top: -15%;
    padding: 4%;

    border-radius: 1px;
    background-color: #e51885;
}
.plan-box-wrap
{
            justify-content: space-between;
    -webkit-justify-content: space-between;
            align-items: center;
    -webkit-align-items: center;
}
.plan-box
{
    font-family: '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.5;

    width: 36%;
    min-width: 420px;
    margin: 2% auto;
    padding: 6% 0;

    transition: 500ms ease;
    text-align: center;

    border-radius: 2px;
    background-color: #fff;
}
.plan-box:hover
{
    transition: 500ms ease;
    transform: translateY(-5px);
}
.plan-box.other
{
    color: #fff;
    border-width: 0;
    background-color: transparent;
    margin:auto;
}
.plan-box.other:hover
{
    box-shadow: none;
}
.plan-box.other .plan-btn
{
    color: #609;
    background-color: #ff3;
}
.plan-box img
{
    width: 100%;
    max-width: 360px;
    margin-bottom: 2%;
}
.plan-box h3
{
    font: bolder 1.875em '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;
}
.plan-box.other h3
{
    font-size:2.25em;
    font-style: italic;
}
.plan-box p
{
    font-size: 1.3em;

    color: #f23846;
}
.plan-box h4
{
    font-size: 1.25em;
    color: #f23846;
}
.plan-title
{
    font: bolder 1.875em/2 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    width: 100%;
    margin-top: 5%;
    padding: .5%;

    text-align: center;

    color: #fff;
    background: transparent url(../images/content_title_bg.png) no-repeat center center;
    background-size: contain;
}
.first-title
{
    margin-top:-8.5%;
}
.plan-btn
{
    font-size: 1.875em;
    font-weight: lighter;

    display: block;

    width: 55%;
    margin: 5% auto 0;
    padding: .5% 0;

    transition: 350ms ease;

    color: #fff;
    border: 0;
    border-radius: 1.5em;
    background-color: #f95764;
}
.plan-btn:hover
{
    transition: 350ms ease;
    letter-spacing: .05vw;

    background-color: #fe838d;
}
span.del
{
    font-size: 14px;

    text-decoration: line-through;
}
span.highlight 
{
    color:#f23846;
}
.plan-box h4.smaller-h4
{
    font-size:17px;
    line-height: 30px;
}
/*----------------------------------------------------
  rules
----------------------------------------------------*/
.rules
{
    width: 90%;
    margin: auto;
    padding: 20px 0;

    color: #221815;
}
.rules_2
{
    width: 70%;
    margin: auto;
    padding: 20px 0;

    color: #221815;
}

.rules h3,
.rules_2 h3
{
    font-size: 1.4em;

    display: block;
    clear: both;

    width: 20%;
    margin-bottom: 1%;
    padding: 1% 1%;

    text-align: center;

    color: #fff;
    background-color: #bd2e2c;;
}


.rules li
{
    font-size: .9em;
    line-height: 180%;

    margin-top: 6px;
    margin-right: 45px;
    margin-bottom: 5px;
    margin-left: 35px;

    list-style-type: decimal;

    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}


.rules_2 li
{
    font-size: 1.0em;
    line-height: 180%;

    margin-top: 6px;
    margin-right: 45px;
    margin-bottom: 5px;
    margin-left: 15px;

    list-style-type: decimal !important;;
}

.rules_3 li
{
    font-size: 1.0em;
    line-height: 180%;

    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 10px;
    padding: 0;

    list-style-type: disc !important;;
}

.submit
{
    font-size: 90%;

    clear: both;
    overflow: hidden;

    width: 90%;
    margin: 1% auto;

    text-align: center;
}

input.button_contact
{
    font-family: '微軟正黑體', '黑體', Arial, Helvetica, sans-serif;
    font-size: 110%;

    float: left;

    width: 45%;
    margin-bottom: 10px;
    margin-left: 3%;
    padding: 10px;

    vertical-align: middle;
    text-decoration: none;

    color: #242424;
    border: 1px solid #fbce23;
    -webkit-border-radius: 2px;
       -moz-border-radius: 2px;
            border-radius: 2px;
    background: -webkit-gradient(linear, left top, left bottom, from(#fee158), to(#fdc617));
    background: -webkit-linear-gradient(top, #fee158, #fdc617);
    background:    -moz-linear-gradient(top, #fee158, #fdc617);
    background:     -ms-linear-gradient(top, #fee158, #fdc617);
    background:      -o-linear-gradient(top, #fee158, #fdc617);
    background:         linear-gradient(top, #fee158, #fdc617);
    background-color: #fdca3d\9;
}
/*----------------------------------------------------
   top
---------------------------------------------------*/

.top_btn
{
    clear: both;

    width: auto;
    margin-top: 15px;
    padding-right: 20px;
    padding-bottom: 10px;

    text-align: right;
}
.top_btn img
{
    transition: opacity 1s;

    opacity: .2;
}
.top_btn img:hover
{
    opacity: .7;
}


/*----------------------------------------------------
  footer
----------------------------------------------------*/
footer
{
    position: absolute;
    left: 0;

    width: 100%;
}
footer .footer_b
{
    background: black;
}
footer .footer_w
{
    background: white;
}
footer .inner_b,
footer .inner_w
{
    font-size: .6825em;
    line-height: 70px;

    overflow: hidden;

    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

    text-align: right;
}
footer .inner_b
{
    color: #fff;
    background: #000;
}
footer .logo,
footer .logo
{
    line-height: 1;

    float: left;

    margin-top: 15px;
}
footer .inner_w
{
    color: #000;
    background: #fff;
}
footer .copy
{
    margin-right: 20px;
}
@media screen and (max-width: 2559.99px) and (min-width: 1649.99px)
{
    .top-title
    {
        margin-left: -8%;
    }
}
@media screen and (max-width: 1367.99px) and (min-width: 1023.99px)
{
    /*==event content==*/
    .whole-bg
    {
        background-size: auto;
    }

    .top-kv
    {
        min-height: 600px;
    }

    .hide-lg
    {
        display: none;
    }
    .hide-sm
    {
        display: block;
    }

    article .inner
    {
        width: 100%;
    }
}





@media screen and (max-width: 1023.9px) and (min-width:768px)
{
    /*==event content==*/

    article .inner
    {
        width: 100%;
    }



    .whole-bg
    {
        background-size: auto;
    }
    .top-kv
    {
        min-height: 400px;
    }

    .hide-lg
    {
        display: block;

        width: 100% !important;
    }
    .hide-sm
    {
        display: none;
    }

    header .inner
    {
        width: auto;
    }
    footer .inner_b,
    footer .inner_w
    {
        width: auto;
    }
    .content-wrapper
    {
        margin: 0 5%;
    }
}

@media screen and (max-width: 767.9px)
{
    /*----------------------------------------------------
  rules
----------------------------------------------------*/
    .rules
    {
        width: 90%;
        margin: auto;
        padding: 20px 0;
    }

    .rules ol
    {
        padding-left: 10px;
    }
    .rules li
    {
        margin: 0 10px;
    }

    .rules_2
    {
        width: 90%;
        margin: auto;
        padding: 20px 0;
    }

    .rules_2 ol
    {
        padding-left: 10px;
    }
    .rules_2 li
    {
        margin: 0 10px;
    }



    .rules h3,
    .rules_2 h3
    {
        font-size: 1.4em;

        display: block;

        width: 80%;
        margin: 0 auto 5%;
        padding: 1%;

        text-align: center;

        color: #fff;
        background-color: #bd2e2c;;
    }


    .whole-bg
    {
        background-size: contain;
    }


    .hide-lg-md
    {
        display: block;
    }
    .hide-lg
    {
        display: block;

        width: 100%;
    }
    .hide-lg img
    {
        width: 100% !important;
        height: auto;
    }
    .hide-sm
    {
        display: none;
    }
    .content_wrapper
    {
        height: auto;
        padding: 0 ;
    }
    .photo
    {
        width: 40%;
    }
    .top-title
    {
        width: 70%;
        margin-top: 3%;
        margin-right: auto;
        margin-left: auto;
    }
    .top-kv
    {
        min-height: 280px;
    }
    .fireworks
    {
        max-width:100px;
    }
    .fireworks.fireworks2
    {
        left:-6%;
    }
    .fireworks.fireworks1
    {
        left:10%;
    }
    .fireworks.fireworks4
    {
        right:0;
    }
    .content-wrapper
    {
        margin: 0 5%;
    }
    .plan-box
    {
        width: 100%;
        min-width: unset;
    }
    .plan-title
    {
        font-size: 1.5em;

        margin-top: 10%;

        background-size: cover;
    }
    .plan-box h3
    {
        font-size: 1.5em;
    }
    .plan-btn
    {
        font-size: 1.25em;

        width: 80%;
    }
    .plan-box img
    {
        width: 80%;
    }
    /*----------------------------------------------------
  header
----------------------------------------------------*/
    header .inner
    {
        width: 100%;
    }

    /*----------------------------------------------------
  main
---------------------------------------------------*/
    #main
    {
        overflow: hidden;
    }

    /*----------------------------------------------------
  article
----------------------------------------------------*/
    article .inner
    {
        width: 100%;
    }

    /*----------------------------------------------------
  footer
----------------------------------------------------*/
    footer .inner_b,
    footer .inner_w
    {
        width: auto;
    }
}
@media screen and (max-width: 540px)
{
    article .inner
    {
        width: 100%;
    }



    .hide-lg
    {
        display: block;

        width: 100%;
    }

    .whole-bg
    {
        padding-top: 0;
    }

    /*----------------------------------------------------
  footer
----------------------------------------------------*/

    footer .inner_b,
    footer .inner_w
    {
        line-height: 20px;

        text-align: center;
    }

    footer .logo
    {
        line-height: normal;

        float: left;

        margin-top: 8px;
    }
    footer .copy
    {
        float: right;

        margin: 19px 20px 20px 20px;
    }
}
@media screen and (max-width: 375px)
{
    footer .copy
    {
        width: 95%;
        margin: 10px 0 20px 20px;

        text-align: left;
    }
}



@media screen and (max-width: 320px)
{
    /*==menu==*/
    .whole-bg
    {
        padding-top: 0;
    }
}
