/*
* @description: 2021 3 月光纖抽萬元旅遊金
* @author: Chih
* @update: Chih (下午 05:22 2021/3/30 v1)
*/
@charset 'UTF-8';
@import 'reset.css';

/*----------------------------------------------------
  header
----------------------------------------------------*/
header
{
    position: sticky;
    z-index: 1000;
    top: 0;
    left: 0;

    width: 100%;
    height: 60px;

    background: #fff;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

header .inner
{
    line-height: 1;

    position: relative;

    clear: both;
    overflow: hidden;

    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;
}
/*common setting*/
.hide-sm
{
    display: block;
}

.hide-lg
{
    display: none;
}

.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;
    }
}
/*----------------------------------------------------
  main
---------------------------------------------------*/
#main
{
    position: relative;

    overflow: hidden;

    width: 100%;
    height: auto;
    margin: 0 auto;
}
.top-bg
{
    background-image:    -moz-linear-gradient( 90deg, rgb(255,255,255) 0%, rgb(211,252,254) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(255,255,255) 0%, rgb(211,252,254) 100%);
    background-image:     -ms-linear-gradient( 90deg, rgb(255,255,255) 0%, rgb(211,252,254) 100%);
}
.content-bg
{
    background: #fff url(../images/content-bg.png) no-repeat fixed center center;
    background-size: contain;
}

.kv-container
{
    position: relative;
    z-index: 1;

    min-height: 670px;

    background: transparent url(../images/top-img.png) center center no-repeat;
}
.title
{
    position: absolute;
    z-index: 3;
    bottom: 20%;
    left: 7%;

    width: 100%;
    max-width: 601px;
    margin-bottom: 5%;

    animation-duration: 1.6s;

    animation-fill-mode: both;
}
/*title animation*/
@keyframes fadeInUp
{
    from
    {
        transform: translate3d(0, 100%, 0);

        opacity: 0;
    }

    to
    {
        transform: none;

        opacity: 1;
    }
}

.fadeInUp
{
    animation-name: fadeInUp;
}
.cherry-left,
.cherry-right
{
    position: absolute;
    z-index: 2;
}
.cherry-right
{
    width: 35vw;
}
.cherry-left
{
    bottom: 0;
    left: 0;

    width: 50vw;
    max-width: 926px;
}
.cherry-right
{
    top: 0;
    right: 0;

    max-width: 595px;
}
.m-kv
{
    display: block;

    width: 100%;
    max-width: 1080px;
}
.about-event
{
    padding: 3% 0;

    background-color: #fdf8fa;
}
span.star
{
    color: #ef5ea7;
}
.notice
{
    font: 1.5em/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;
}
h3
{
    font: bolder 2.5em/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    text-align: center;

    color: #ef5ea7;
}
dl.list-one
{
    font: 1.5em/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    margin-bottom: 8%;

    text-align: center;
}
dl.list-two
{
    text-align: left;
    margin-bottom:2%;
}
dl.list-one dt
{
    font-weight: bolder;

    color: #ef5ea7;
}
dl.list-one dd
{
    font-size: 1.375em;
    font-weight: normal;

    margin-bottom: 2%;
}
dl.list-two ul
{
    font-weight:600;
}
dl.list-two ul li
{
    display: inline-block;
}
dl.list-two ul li:last-child
{
    margin-left:6%;
}
span.verticle-line
{
    border-right: 3px solid #ef5ea7;
}
span.gift
{
    font-weight: bolder;

    color: #ef5ea7;
}
span.verticle-line
{
    margin: 0 1%;
}
/*table*/
.plan-table
{
    font: 1.75em/2.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    position: relative;
    z-index: 11;

    width: 100%;
    margin-top: -2px;

    border-spacing: 0;

    text-align: center;

    color: #000;

    -webkit-border-horizontal-spacing: 0;
    -webkit-border-vertical-spacing: 0;;
}
.plan-table thead
{
    text-align: center;

    color: #ef5ea7;
}

.plan-table th
{
    border-bottom: 2px solid #ef5ea7;
}

.plan-table th:first-child
{
    border-top-left-radius: 5px;
}
.plan-table th:last-child
{
    border-right-width: 0;
    border-top-right-radius: 5px;
}
.plan-table tbody tr:nth-child(even)
{
    background-color: #fcf2f6;
}
.plan-table tbody td:last-child
{
    border-right-width: 0;
}
.plan-table tbody td:first-child
{
    padding: 10px 0 10px 8%;

    text-align: left;
}
.speed
{
    width: 30%;
}
.price,
.month
{
    width: 23%;
}
.table-btn
{
    font-weight: bolder;
    line-height: 1.5;

    display: block;

    width: 70%;
    margin: auto;

    transition: 300ms ease;

    color: #fff;
    border-radius: 10px;
    background-color: #69cccc;
}
.table-btn:hover
{
    transition: 300ms ease;

    filter: brightness(130%);
}
.link-contract
{
    text-decoration: underline;
}
.phone
{
    font: bolder 2em/2.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    text-align: center;

    color: #ef5ea7;

    margin-bottom:5%;
}
figure img
{
    width:100%;
    max-width: 400px;
}
figcaption
{
    font-size:1rem;
}
/*----------------------------------------------------
  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;
}

/*----------------------------------------------------
  rules
----------------------------------------------------*/
.rules
{
    width: 95%;
    margin: auto;
    padding: 20px 0;

    color: #221815;
}

.rules h4
{
    font-size: 1em;
    font-weight: bold;
    line-height: 30px;

    text-align: center;

    color: #221815;
}

.rules li
{
    font-size: .9em;
    line-height: 24px;

    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;
}


.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
{
    overflow: hidden;

    width: 1000px;
    margin: 0 auto;

    text-align: center;
}
footer .inner_b
{
    color: #fff;
    background: #000;
}
footer .logo
{
    line-height: 70px;

    margin-right: 20px;
}
footer .logo img
{
    vertical-align: middle;
}
footer .inner_w
{
    color: #000;
    background: #fff;
}
footer .copy
{
    font-size: .725em;
    line-height: 1;
}


@media screen and (max-width: 1023.99px) and (min-width:320px)
{
    .top-bg
    {
        background-size: contain,contain;
    }
}
@media screen and (max-width: 1023.99px) and (min-width:767.99px)
{
    header .inner
    {
        width: auto;
    }
    footer .inner_b,
    footer .inner_w
    {
        width: auto;
    }
    .title
    {
        right: 0;

        max-width: 560px;
    }

    .kv-wrapper
    {
        min-height: 570px;
    }
    article .inner
    {
        width: 95%;
    }
}

@media screen and (max-width: 767.99px)
{
    /*header*/
    header .inner
    {
        width: 100%;
    }

    /*main*/
    #main
    {
        overflow: hidden;
    }
    /*article*/
    article .inner
    {
        width: 90%;
    }

    /*footer*/
    footer .inner_b,
    footer .inner_w
    {
        width: auto;
    }
    .hide-sm
    {
        display: none;
    }
    .hide-lg
    {
        display: block;
    }
    .kv-wrapper
    {
        height: auto;
        min-height: auto;
    }
    .speed,
    .price,
    .plan-table tbody td:first-child
    {
        padding: 2%;
    }
    .table-btn
    {
        width: 96%;
        padding: 5px;

        word-break: keep-all;
    }

    dl.list-one,
    .notice
    {
        font-size: 1em;
    }
    dl.list-one dd
    {
        margin-bottom:5%;
    }
    h3
    {
        font-size: 1.5em;
    }
    .phone
    {
        font-size: 1.2em;

        margin-bottom: 6%;
    }
    span.verticle-line
    {
        display: block;
    }
    dl.list-two ul li:last-child
    {
        margin-left:auto;
    }
}
@media screen and (max-width: 540px)
{
    /*rules*/

    .rules h4
    {
        padding: 0;
    }
    .rules ol
    {
        padding-left: 10px;
    }
    .rules li
    {
        margin: 0 10px;
    }
    /*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;
    }
    .plan-table
    {
        font-size: 1em;
    }
}
@media screen and (max-width: 375px)
{
    footer .copy
    {
        width: 95%;
        margin: 10px 0 20px 20px;

        text-align: left;
    }
}
@media only screen and (min-width: 1439.99px)
{
    .cherry-right
    {
        width: 50vw;
    }
}
@media screen and (max-width: 414px)
{
    /*----------------------------------------------------
  footer
----------------------------------------------------*/

    footer .logo
    {
        line-height: 1;

        display: block;

        margin: 8px auto 0;
    }
    footer .copy
    {
        display: block;

        margin: 10px auto 20px;
    }
}
