/*
* @description: 20251010 event
* @author: Chih
* @update: Chih (am 11:45 2025/9/23 v2)
*/
@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;
}

.content_wrapper {
    box-sizing: border-box;
    width: 100%;
    padding: 0vw 0 1vw;
}

/*== TOP KV ==*/


.top-wrap {
    position: relative;
    max-width: 1200px;
    width: 100%;
    height: auto;
    display: grid;
    grid-row: 1;
    place-content: center center;
    align-content: center;
    margin: 0 auto;
    min-height: 620px;
    z-index: 3;
}

.top-title,
.sub-title,
.top-pic {
    width: 100%;
}

.top-title {
    position: relative;
    z-index: 2;

    max-width: 556px;
    height: auto;
    margin: 4% auto 0;
}

.sub-title {
    max-width: 742px;
    margin: 0 auto;
}

.top-pic {
    max-width: 790px;
}

.tel {
    position: relative;
    display: block;
    margin: 1% auto;
    width: 100%;
    max-width: 524px;
    z-index: 1;
    animation-delay: 350ms;
}

/*==event content==*/

.whole-bg {
    display: block;

    margin: 0 auto;
    background: #0066cc url('../images/bg.png') center top no-repeat;
    background-attachment: fixed;
    background-size: 100%;
}

.content-wrapper {
    position: relative;
    z-index: 9;

    padding: 4%;

    border-radius: 1px;
    background-color: #ee2939;
}
.event-gift
{
    position:absolute;
    width:100%;
    height: auto;
    max-width:464px;
    z-index: 2;
    top:4%;
    left:10%;
}
.fireworks-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.firework {
    position: absolute;
    width: 91px;
    height: 91px;
    opacity: 0;
    animation: firework-effect 2s infinite;
    transform-origin: center center;
    z-index: 5;
}

.firework img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes firework-effect {
    0% {
        opacity: 0;
        transform: scale(0.1);
    }

    10% {
        transform: translateY(0) scale(0.1);
        opacity: 0.2;
    }

    20% {
        transform: translateY(-40vh) scale(0.1);
        opacity: 1;
    }

    30% {
        transform: translateY(-40vh) scale(1.5);
        opacity: 1;
    }

    100% {
        transform: translateY(-40vh) scale(2);
        opacity: 0;
    }
}

.firework-1 {
    right: 20%;
    top: 120%;
    animation-delay: 0s;
}

.firework-2 {
    left: 20%;
    top: 75%;
    animation-delay: 0.8s;
}

.firework-3 {
    right: 20%;
    top: 70%;
    width: 150px;
    height: 150px;
    animation-delay: 1.6s;
}

.firework-4 {
    left: 10%;
    top: 100%;
    animation-delay: 2.4s;
}

.firework-5 {
    left: 70%;
    top: 100%;
    animation-delay: 3.2s;
}

.balloon {
    position: absolute;
    width: 150px;
}

.balloon-left {
    top: 10%;
    left: 10%;
    animation: floatLeft 9s ease-in-out infinite;
}

.balloon-right {
    top: 20%;
    right: 10%;
    animation: floatRight 9s ease-in-out infinite;
}

@keyframes floatLeft {
    0% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(50px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(-5deg);
    }
}

@keyframes floatRight {
    0% {
        transform: translateY(0) rotate(5deg);
    }

    50% {
        transform: translateY(70px) rotate(-5deg);
    }

    100% {
        transform: translateY(0) rotate(5deg);
    }
}

.plan-box-wrap {
    place-content: center space-evenly;
}

.plan-box {
    font-family: '微軟正黑體', Verdana, Arial, Helvetica, sans-serif;
    line-height: 1.5;
    display: grid;
    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: 5fr 50px;
    grid-row-gap: 0.5rem;
    position: relative;
}

.plan-box img.chatbubble {
    position: absolute;
    width: 100%;
    max-width: 187px;
    height: auto;
    z-index: 3;
    top: -26%;
    left: 25%;
}

.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%;
}

h2.out-title {
    font: bold 2.125rem/2 '微軟正黑體', Verdana, Arial, Helvetica, sans-serif;
    margin: 6% auto 4%;
    display: block;
    color: #fff;
    text-align: center;
}

h2.out-title.fix-margin {
    margin-bottom: 8%;
}

.plan-box h2 {
    display: block;
    color: #000;
    font: bold 2.125rem/2 '微軟正黑體', Verdana, Arial, Helvetica, sans-serif;
    margin: 0 4%;
    /* background: url(../images/content-title-bg.png) center center / contain no-repeat transparent; */
}

.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;


    color: #fff;
    border: 0;
    border-radius: 1em;
    background-color: #0066cc;
    transition: 150ms ease;
}

.plan-btn:hover {
    letter-spacing: .1vw;

    background-color: #1884f0;
    transition: 150ms ease-out;
}

.plan-btn-more {
    font-size: 1.313rem;

    display: inline;
}

span.del {
    font-size: 14px;

    text-decoration: line-through;
}

strong.highlight {
    color: #cc3333;
    background-color: #fff;
}

.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: #000;
}

.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;
    font-size: 1.375rem;
    font-weight: normal;
}

dl.list-two ul li {
    display: inline-block;
    line-height: 1.5;
    letter-spacing: 2px;
    width: 100%;
    margin-bottom: 2%;
}


span.verticle-line {
    border-right: 3px solid yellows;
}

span.gift {
    font-weight: bolder;

    color: #f76f46;
}

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: #002199;
}

.bottom-btn:hover {
    transition: 350ms ease;
    letter-spacing: .1vw;

    background-color: #1641da;
}

/*----------------------------------------------------
  rules
----------------------------------------------------*/
.rules {
    width: 100%;
    margin: 0 auto 5%;
    padding: 20px 0;

    color: #fff;
}

.rules.plan-rules {
    color: #fff;
}

.rules a {
    color: yellow;
}

.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: 10px;
    margin-left: 35px;

    list-style-type: decimal;

    border-top-width: 1px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
}

.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%;
    }

}





@media screen and (max-width: 1024.9px) and (min-width:768px) {
    /*==event content==*/

    article .inner {
        width: 100%;
    }


    .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%;
    }

    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;
    }

    .top-wrap {
        min-height: 60vh;
    }
    .top-title-m
    {
        width: 100%;
        max-width: 996px;
        height: auto;
    }
    .whole-bg {
        background-image: url(../images/bg-m.jpg);
        background-color:#006eeb;
    }
    .firework
    {
        width: 60px;
        height: 60px;
    }
    .firework-3
    {
        width: 90px;
        height: 90px;
    }
    .balloon-left
    {
        top:0;
    }
    .balloon-right
    {
        right:0;
    }
    .top-title {
        width: 87%;
        margin: 3% auto;
    }

    .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%;
    }

    .plan-box img.chatbubble {
        left: 60%;
        top: -16%;
        transform: scale(0.8);
    }

    .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;
    }

    dl.list-two ul li {
        width: auto;
        padding: 2px;
    }
}

@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;
    }

    .photo {
        display: block;
    }

    .bottom-btn {
        font-size: 2.25em;
    }

}

@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;
    }
    .top-wrap
    {
        min-height:72vh;
    }

}
@media screen and (max-width: 540px) and (orientation: portrait) and (hover: none) and (pointer:coarse) {
    .top-wrap
    {
        min-height:60vh;
    }
}

@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;
    }
}