*, ::after, ::before {
    box-sizing: inherit!important;
}
:root {
    --mobile-proportion: calc(100vw / 1125);
    #--mobile-height: calc((100vw * 1.62) + 436);
    --desktop-height: calc((100vw * 0.765) + 625);
}
body {
    margin: 0;
    overflow-x: hidden;
    background: linear-gradient(90deg, #FFE5DE 0%, #FFE6C4 100%);
    font-family: "PingFang TC", "Helvetica", "Arial","LiHei Pro","黑體-繁","微軟正黑體", sans-serif;
}
.anno-area {
    margin-top: 4vw;
}
img {
    width: 100%;
    height: auto;
}
.title {
    width: 40vw;
    max-width: 448px;
    margin-bottom: 40px;
}

.main-bg{
    width: 100%;
    position: fixed;
    top: 39vw;
    height: auto;
    z-index: -1;
}
.header {
    width: 100vw;
    position: fixed;
    z-index: 10;
}
.content {
    align-items: center;
    background-color: #FFF6F0;
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: min-content;
    width: 82vw;
    margin-left: auto;
    margin-right: auto;
    padding-top: 45vw;
}
.t3 .text-area {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.t3 ul {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.common {
    text-align: center;
}

.text-area {
    font-weight: normal;
    color: #362E2B;
    letter-spacing: -1px;
    text-align: center;
}

ol {
    text-align: left;
}
ul li {
    list-style-type: none;
}
ul {
    padding-inline-start: 0;
    text-align: left;
}
.schedule {
    border-radius: 10px;
    background-color: #FFF7EF;
    box-shadow: 0 0 4px 0 rgba(0,0,0,0.2);
    color: #362E2B;
    font-size: 26px;
    letter-spacing: -1px;
    line-height: 40px;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 50px;
}
.schedule p {
    text-align: left;
}
.flag {
    width: fit-content;
    top: -17px;
    position: relative;
}
.t4 {
    text-align: center;
    display: flex;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 3em;
}
.sign-up {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    font-size: 2em;
    padding: .4em .3em;
    position: fixed;
    right: 0;
    top: 35vh;
    width: 2.8em;
    height: 3em;
    color: white;
    line-height: 1.3em;
    text-align: center;
    text-decoration: none;
}
a:hover {
    text-decoration: none!important;
    color: white!important;
}
.btn-group {
    align-items: center;
    display: flex;
    justify-content: space-around;
    height: fit-content;
    width: 100%;
    margin-bottom: .8em;
}

.btn-group a {
    align-items: center;
    border-radius: 50px;
    color: #FFF;
    display: flex;
    font-size: 32px;
    font-weight: 700;
    height: 69px;
    justify-content: center;
    letter-spacing: 2px;
    line-height: 43px;
    min-width: min-content;
    padding: 0 3vw;
    text-decoration: none;
}
.btn-group .active {
    background-color: #25BF69;;
}
.btn-group .allow {
    background-color: #FFA361;;
}
.btn-group .disabled {
    background-color: #C8C8C8;
}
button.logout {
    border: none;
    border-radius: .3em;
    background-color: #F7716B;
    color: #fff;
    font-size: 1.2em;
    height: auto;
    padding: .2em .5em;
    width: auto;
    position: fixed;
    right: 1em;
    top: 2em;
    z-index: 10000;
}
.footer {
    position: relative;
    bottom: 0;
}

.direct-intro {
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 1em;
}
.direct-intro img {
    height: 3em;
    width: auto;
}
@media screen and (max-width: 767px){
    button.logout {
        font-size: .6em;
    }
    .sign-up {
        font-size: 1em;
    }
    .desktop {
        display: none;
    }

    .t1 {
        margin-top: 14px;
        width: 77vw;
        height: min-content;
    }

    .t3, .t2 {
        margin-top: calc(80px * 0.33);
        width: 77vw;
        height: min-content;
    }
    .title {
        margin-bottom: 15px;
    }

    .text-area {
        font-size: 14px;
        line-height: 30px;
    }
    .flag {
        width: 13vw;
        top: -6px;
        position: relative;
    }
    .schedule {
        font-size: 14px;
        letter-spacing: -1px;
        line-height: 20px;
        padding-bottom: 10px;
        margin-bottom: 30px;
        padding-left: 10px;
        padding-right: 10px;

    }
    ol {
        padding-inline-start: 15px;
    }
    .t4 {
        font-size: .3em;
    }
    .direct-intro {
        font-size: .3em;
    }
    .direct-intro img {
        height: 5em;
    }

    .btn-group a {
        font-size: 12px;
        height: 6vw;
    }
}
@media screen and (min-width: 767px) {
    .mobile {
        display: none;
    }
    .header {
        position: absolute;
    }
    .main-bg{
        top: 0;
    }
    .content {
        padding-top: 20vw;
        padding-left: 40px;
        padding-right: 40px;

        width: 70vw;
    }

    .t2, .t3 {
        margin-top: 80px;
    }

    .text-area {
        font-size: 37px;
    }
}