/*
* @description: 2024 Jul. event
* @author: Chih
* @update: Chih (AM11:31 2024/7/9  v3)
*/
@charset 'UTF-8';
@import 'reset.css';
/*----------------------------------------------------*/

.hide-sm
{
    display: block;
}

.hide-lg,
.hide-lg-md,
.hide-lg-md.flex-box
{
    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
{
    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: 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 0;
}
article .inner.fix-top
{
    margin-top: -3vw;
}

.content_wrapper
{
    box-sizing: border-box;
    width: 100%;
    padding: 0vw 0 1vw;
}

/*== TOP KV ==*/
.top-kv
{
    padding-bottom: 6%;
}
.top-kv h2
{
    position: relative;

    overflow: visible;
    flex-direction: column;

    width: 100%;
    max-width: 1000px;
    margin: auto;

    align-items: center;
    justify-content: space-between;
}
.top-title1,
.top-title2
{
    position: relative;
    z-index: 1;

    width: 100%;
    height: auto;
    margin: 5% auto 0;
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.35)) drop-shadow(0 4px 6px rgb(72 47 47 / 0.64));
}
.top-title1
{    
    max-width: 691px;
    margin-top:10%;
}
.top-title2
{    
    max-width: 389px;
}
.m-top
{
    width: 100%;
    max-width: 1080px;
    height: auto;
    margin: auto;
}
.top-wrap
{
    max-width: 850px;
    width: 100%;
    height: auto;
    display:grid;
    grid-row: 1;
    place-content: center center;
    align-items: end;
}
.subtitle-wrap
{
    padding:10% 0;
    place-content: end center;
    background-color: rgba(0, 0, 0, 0.3);
    border-top:medium solid #997826;
    border-bottom:medium solid #997826;
    margin:10% auto;
    min-width: 485px;
}
.sub-title
{
    position: relative;

    width: 100%;
    max-width: 347px;
    height: auto;
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.35)) drop-shadow(0 4px 6px rgb(72 47 47 / 0.64));
}
.giftcard,.photo,.ps5
{
    position: absolute;
    width:100%;
    height: auto;
}
.giftcard,.ps5
{
    filter: drop-shadow(0 4px 3px rgb(0 0 0 / 0.35)) drop-shadow(0 4px 6px rgb(72 47 47 / 0.64));
}
.ps5
{
    
    z-index: 3;
    right: 10vw;
    top: 17vw;

    width: 100%;
    max-width: 245px;
    height: auto;

    -webkit-animation: float 5s ease-in-out infinite alternate;
            animation: float 5s ease-in-out infinite alternate;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
}
@-webkit-keyframes float
{
    0%
    {
        transform: translateY(0);
    }
    50%
    {
        transform: translateY(-30px);
    }
    100%
    {
        transform: translateY(0);
    }
}
@keyframes float
{
    0%
    {
        transform: translateY(0);
    }
    50%
    {
        transform: translateY(-30px);
    }
    100%
    {
        transform: translateY(0);
    }
}
.photo
{
    max-width:335px;
    border-bottom:medium solid #997826;
    left:0;
    bottom:75px;
}
.giftcard
{
    max-width: 142px;
    right: 10vw;
    bottom:3vw;
    -webkit-animation: float 4s ease-in-out infinite alternate;
            animation: float 4s ease-in-out infinite alternate;
    -webkit-animation-delay: 1s;
            animation-delay: 1s;
}
.tel
{
    color: #fff ;
    font:normal 1.125em/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;
    letter-spacing: 3px;
}
.tel a
{
    color: #fff;
    text-decoration: underline;
}
.tel a:hover
{
    color:rgb(211, 248, 163);
    text-decoration: none;
}
.tel-small
{
    font-size:0.75rem;
}
/*==event content==*/

.whole-bg
{
    display: block;

    margin: 0 auto;

    background: #081f16 url(../images/whole-bg.jpg) no-repeat top center;
    background-size: contain;
}

.content-wrapper
{
    position: relative;
    z-index: 9;

    padding: 4%;

    border-radius: 1px;
    background-color: #2a6655;
}
.plan-box-wrap
{
    place-content: center space-evenly;
}
.plan-box
{
    font-family: '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.5;
    display:grid;
    min-height: 506px;
    margin: 5% auto;
    padding: 6% 0;

    transition: 300ms ease;
    text-align: center;

    border-radius: 2px;
    background-color: #fff;

    place-content: center space-between;
    grid-auto-columns: minmax(50px, auto);
    grid-template-rows: 7fr 175px;
    grid-row-gap: 0.5rem;

}
.plan-box:hover
{
    transition: 300ms ease;
    transform: translateY(-5px);
}
.plan-box.other
{
    margin: auto;

    color: #fff;
    border-width: 0;
    background-color: transparent;
}
.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 h2
{
    display: block;
    color: rgb(255, 255, 255);      
    font: bold 2.125em/2 '微軟正黑體', Verdana, Arial, Helvetica, sans-serif;
    margin: 0 4%;
    background: transparent url('../images/content-title-bg.png') center center / contain no-repeat ;
}
.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-box h4.hide
{
    color: #fff;
}
.plan-box ol
{
    width: fit-content;
    margin: auto;
    text-align:left;
    color: #f23846;
}

.plan-title:not(.plan-title2)
{
    width: 100%;
}
.plan-title
{
    font: bolder 1.875em/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    margin-top: 5%;
    padding: .5%;

    text-align: center;

    color: #fff;
}
.plan-title2
{
    width: 49%;
}
.first-title
{
    margin-top: -8.5%;
}
.plan-btn
{
    font-size: 1.875em;
    line-height: 1.3;

    position: relative;

    display: block;

    width: 270px;
    margin: 5% auto 0;
    padding: 2% 0;

    transition: 350ms ease;

    color: #fff;
    border: 0;
    border-radius: 1em;
    background-color: #1c9a76;
    transition: 350ms ease;
}
.plan-btn:hover
{
    transition: 350ms ease;
    letter-spacing: .05vw;

    background-color: #2a6655;
    transition: 350ms ease-out;
}
.plan-btn-more
{
    font-size: 1.313rem;

    display: inline;
}
span.del
{
    font-size: 14px;

    text-decoration: line-through;
}
strong.highlight
{
    color: #9bfff7;
}
.plan-box h4.smaller-h4
{
    font-size: 17px;
    line-height: 30px;
}
.about-event
{
    padding: 3% 0;
}

span.star
{
    color: yellow;
}
.notice
{
    font: 1.5em/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    color: #fff;
}
.about-title
{
    font: bolder 2.25rem/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    text-align: center;

    color: #fff;
}
dl.list-one
{
    font: 1.45em/1.5 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    margin-bottom: 8%;

    text-align: center;

    color: #fff;
}
dl.list-two
{
    margin-bottom: 2%;

    text-align: left;
}
dl.list-one dt
{
    font-weight: bolder;
}
dl.list-one dd
{
    font-size: 1.65rem;
    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 yellows;
}
span.gift
{
    font-weight: bolder;

    color: yellow;
}
span.verticle-line
{
    margin: 0 1%;
}
.btn-wrap
{
    text-align: center;
}
.bottom-btn
{
    font: normal 2.5rem/2 '微軟正黑體',Verdana, Arial, Helvetica, sans-serif;

    display: inline-block;

    margin: 4% auto;
    padding: 0 4% 0 5%;

    transition: 350ms ease;
    text-align: center;

    color: #fff;
    border-radius: 4em;
    background: #172127;
}
.bottom-btn:hover
{
    transition: 350ms ease;
    letter-spacing: .1vw;

    background-color: #1c9a76;
}
/*----------------------------------------------------
  rules
----------------------------------------------------*/
.rules
{
    width: 100%;
    margin: 0 auto 5%;
    padding: 20px 0;

    color: #fff;
}

.rules h4
{
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2;

    text-align: center;
}

.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: 1em;
    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;
    text-shadow: 0 0 5px black;
}
.rules ul li
{
    list-style-type: disc;
}

.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;
}
/*----------------------------------------------------
   Back to 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: 1367.99px) and (min-width: 1023.99px)
{
    /*==event content==*/
    .hide-lg,
    .hide-lg.flex-box
    {
        display: none;
    }
    .hide-sm
    {
        display: block;
    }
    .hide-sm.flex-box
    {
        display: flex;
    }
    article .inner
    {
        width: 100%;
    }
    .photo
    {
        display:none;
    }
    .ps5
    {
        top: 32vw;
        right: 12vw;
    }
    .giftcard
    {
        left:15vw;
        bottom:8vw;
    }
}





@media screen and (max-width: 1024.9px) and (min-width:768px)
{
    /*==event content==*/

    article .inner
    {
        width: 100%;
    }

    .top-title
    {
        width: 58%;
    }
    .photo
    {
        display:none;
    }
    
    .giftcard
    {
        left:15vw;
        bottom:8vw;
    }
    .hide-lg
    {
        display: block;

        width: 100% !important;
    }
    /* .hide-lg.flex-box
    {
        display:flex;
        display:-webkit-flex;
    } */

    .hide-sm
    {
        display: none;
    }

    header .inner
    {
        width: auto;
    }
    footer .inner_b,
    footer .inner_w
    {
        width: auto;
    }
    .content-wrapper
    {
        margin: 0 5%;
    }
    .gift
    {
        right: 2%;

        width: 24%;
    }
    dl.list-one
    {
        padding: 0 3%;
    }
 
    .plan-title
    {
        font-size: 1.5em;

        margin-top: 15%;

        background-size: cover;
    }


    .plan-box p,
    .plan-box h4
    {
        font-size: 1.2em;
    }
    .plan-btn
    {

        width: 80%;
    }
}

@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;;
    }


    .hide-lg
    {
        display: block;

        width: 100%;
    }
    .hide-lg.flex-box
    {
        display:         flex;
        display: -webkit-flex;

        width: 100%;
    }
    .hide-lg img
    {
        width: 100% !important;
        height: auto;
    }
    .hide-sm
    {
        display: none;
    }

    .content_wrapper
    {
        height: auto;
        padding: 0 ;
    }
    .photo
    {
        left: -8vw;

        width: 30%;
    }
    .ps5
    {
        width: 25%;
    }
    .top-title
    {
        width: 87%;
        margin: 3% auto 0;
    }

    .content-wrapper
    {
        margin: 0 5%;
    }
    .plan-box-wrap
    {
                flex-direction: column;

        -webkit-flex-direction: column;
    }
    .plan-box
    {
        min-height: auto;
        padding: 6% 4%;

        flex-basis: auto;
    }
    .plan-title
    {
        font-size: 1.3em;

        margin-top: 10%;

        background-size: cover;
    }
    .plan-title2
    {
        width: 100%;
    }
    .plan-box h3
    {
        font-size: 1.5em;
    }
    .plan-btn
    {
        font-size: 1.25em;

        width: 80%;
    }
    .plan-box img
    {
        width: 80%;
    }
    .about-event
    {
        width: 90%;
        margin: auto;
        padding: 20px 0;
    }
    .about-title
    {
        font-size: 1.75rem;
    }
    dl.list-one
    {
        font-size: 1.25rem;
    }
    dl.list-one dd
    {
        font-size: 1.5rem;
    }
    .bottom-btn
    {
        font-size: 1.5rem;

        padding: 0 7% 0 8%;
    }
    /*----------------------------------------------------
  header
----------------------------------------------------*/
    header .inner
    {
        width: 100%;
    }

    /*----------------------------------------------------
  main
---------------------------------------------------*/
    #main
    {
        overflow: hidden;
    }

    /*----------------------------------------------------
  article
----------------------------------------------------*/
    article .inner
    {
        width: 100%;
    }

    /*----------------------------------------------------
  footer
----------------------------------------------------*/
    footer .inner_b,
    footer .inner_w
    {
        width: auto;
    }
}
@media only screen and (orientation: landscape) and (hover: none) and (pointer: coarse)
{
    article .inner
    {
        width: 95%;
    }
    .hide-lg
    {
        display: none;
    }
    .hide-sm
    {
        display: block;
    }
    .hide-sm.flex-box
    {
        display:         flex;
        display: -webkit-flex;
    }
    .hide-lg-md,
    .hide-lg-md.flex-box
    {
        display: none;
    }
    .top-kv h2
    {
        padding: 3%;
    }
    .top-title
    {
        margin-bottom: 0;
    }

    .bottom-btn
    {
        font-size: 2.25em;
    }
    .ps5
    {
        top:32vw;
    }
}
@media only screen and (orientation: portrait) and (hover: none) and (pointer:coarse)
{
    .hide-lg-md,
    .hide-lg-md.flex-box
    {
        display:         flex;
        display: -webkit-flex;
    }

}
@media screen and (max-width: 540px)
{
    article .inner
    {
        width: 100%;
    }



    .hide-lg
    {
        display: block;

        width: 100%;
    }
    .hide-lg-md,
    .hide-lg-md.flex-box,
    .hide-lg.flex-box
    {
        display:         flex;
        display: -webkit-flex;
    }

    /*----------------------------------------------------
  footer
----------------------------------------------------*/

    footer .inner_b,
    footer .inner_w
    {
        line-height: 20px;

        text-align: center;
    }
}
@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;
    }
    .hide-lg-md,
    .hide-lg-md.flex-box
    {
        display:         flex;
        display: -webkit-flex;
    }
}


@media screen and (max-width: 320px)
{
    /*==menu==*/
    .whole-bg
    {
        padding-top: 0;
    }
    .hide-lg-md,
    .hide-lg-md.flex-box
    {
        display:         flex;
        display: -webkit-flex;
    }
}
