*{
    position:relative;
}

html{
    scroll-behavior: smooth;
}

body{
    margin: 0px;
    padding: 0px;
    color: #000;
    font-weight: 400;
    text-align: left;
    letter-spacing: 1px;
    font-size:16px;

    background-color: #f3ece6;
    background-image: url(/images/bg.jpg?1);
    background-size: cover;
    background-position: center top;
}

.login_show{
        display: none !important;
}
body[login="true"]{

    .login_hide{
        display: none !important;
    }
    .login_show{
        display: initial !important;
    }
}




/* Google Material Symbol */
/* @font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 100 700;
    font-display: swap;
    src: url(/library/fonts/materialsymbolsoutlined.woff2) format('woff2');
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
} */





centerwrap{
	max-width: 1440px;
    position: relative;
    text-align: center;
    display: block;
    margin: auto;
}

li {
    list-style: none;
}


.m{
    display: none;
}
m{
    display: none;
}


a{
    display: contents;
    color: inherit;
}

.none{
    display: none;
}
input{
    appearance: none;
    -webkit-appearance: none;
    width: calc(100% - 30px);
    font-size: 16px;
    padding: 15px;
    border: none;
    border-radius: 0px;
    outline: none;
    border-bottom: 2px solid #dedede;
    background-color: transparent;
    color: #6f6f6f;

    &::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #cacaca;
    }
    &::-moz-placeholder { /* Firefox 19+ */
    color: #cacaca;
    }
    &:-ms-input-placeholder { /* IE 10+ */
    color: #cacaca;
    }
    &:-moz-placeholder { /* Firefox 18- */
    color: #cacaca;
    }


    &:focus{
        /* background-color: #f4f4f4; */
        border-bottom-color: #000;
        color: #000;
    }
    
}

textarea{
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;


}
label.formeach{
    margin-bottom: 15px;
    display: block;


    &.btnconnect{
        margin-top: 20px;
    }

    .label{
        margin-bottom: 5px;
    }

    .note{
        color: #df5454;
        font-size: 15px;
        margin-top: 9px;
    }
}

horizon::before {
    content: '．．．';
    display: block;
    width: 100%;
    color: #000;
    text-align: center;
    line-height: 10px;
}

section{
    .btn{
        width: 300px;
        margin: auto;
        border: 2px solid #666666;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
        color: #666666;
        border-radius: 50px;
        cursor: pointer;
        text-align: center;
        user-select: none;
        letter-spacing: 0;

        transition: transform .1s;


        .icon{
            width: 22px;
            position: absolute;
            left: 13px;
            top: 8px;
            background-color: #FFF;
            border-radius: 50px;
            border: 5px solid #FFF;
        }

        &:hover{
            transform: scale(1.02);
        }
        &:active{
            transform: scale(0.95);
        }

        &.gold{
            background-color: #b79d77;;
            color: #FFF;
            border-color: #b79d77;;
        }
    }

    .text{
        color: #777777;
        text-align: left;
    }
    .center{
        text-align: center;
    }
}

nav.scrolled{

    .pc_header .wrap::before{
       opacity: 1;
    }

    .pc_header .wrap .logo {
        height: 55px;

    }
}

nav{
    position: fixed;
    top: 0;
    z-index: 10;

    

    .pc_header{

       

        .wrap{
            position: fixed;
            width: 100%;
            height: 100px;
            z-index: 10;
            left: 0px;
            top: 0px;

            &::before {
                content: "";
                inset: 0;
                position: absolute;
                background: linear-gradient( to bottom, rgba(241, 234, 228, 1) 0%, rgba(241, 234, 228, 0) 100% );
                opacity: 0;
                transition: opacity .3s;
                pointer-events: none;
            }



            .logo{
                height: 66px;
                top: 16px;
                left: 30px;
                position: absolute;
                transition: height .3s;
            }

            .btnWrap{
                right: 20px;
                position: absolute;
                top: 15px;
                user-select: none;
                

                li{
                    display: inline-block;
                    list-style: none;
                    color: #272828;
                    padding-left: 20px;
                    padding-right: 20px;
                    letter-spacing: 1px;
                    height: 45px;
                    line-height: 45px;
                    cursor: pointer;
                    vertical-align: middle;
                    margin-right: -5px;
                    font-size: 16px;
                    padding-left: 15px;
                    padding-right: 15px;

                    &.btn{
                        background-color: #666666;
                        color: #FFF;
                        border-radius: 50px;
                        padding-left: 25px;
                        padding-right: 25px;
                    }
                }
            }

            /* 登入區 */
            .nav_login_wrap{

                .loginer_photo{
                    background-color: #FFF;
                    width: 30px;
                    height: 30px;
                    display: inline-block;
                    vertical-align: middle;
                    border-radius: 50px;
                    background-size: cover;
                    background-position: center;
                    box-shadow: 0px 0px 7px #70707057;
                }
                .loginer_name{
                    display: inline-block;
                    vertical-align: middle;
                    color: #7d7d7d;
                    margin-left: 1px;
                    font-size: 15px;
                }

            }

        }

    }

    .m_header{
        display: none;


        &.active{
            .btnWrap{
                right: 0;

            }

            .wrap{
                .menuBtn{
                    .in{ 
                    
                        li{
                            background-color: #FFF;
                            height: 2px;
                        }
                        li[nth="1"] {
                            transform: rotate(45deg)  translateY(-6px);
                            transform-origin: left bottom;
                        }
                        li[nth="2"] {
                            width: 0%;
                        }
                        li[nth="3"] {
                            transform: rotate(-45deg)  translateY(6px);
                            transform-origin: left bottom;
                        }
                    }
                }

            }

            .btnWrap-cancel{
                display: block;
            }
            
        }
        

        .wrap{
            position: fixed;
            /* background-color: #FFF; */
            width: 100%;
            height: 65px;
            z-index: 10;
            z-index: 11;

            .logo{
                height: 40px;
                top: 13px;
                left: 13px;
                position: absolute;
            }

            .menuBtn {
                position: absolute;
                top: 0px;
                right: 10px;
                width: 60px;
                height: 60px;
                z-index: 12;
                cursor: pointer;

                .in {
                    position: absolute;
                    top: 20px;
                    left: 10px;
                    width: 40px;
                    height: 21px;

                    li {
                        background-color: #585858;
                        height: 1px;
                        list-style: none;
                        position: absolute;
                        width: 100%;
                        -webkit-transition: all 0.3s;
                        -moz-transition: all 0.3s;
                        -o-transition: all 0.3s;
                        transition: all 0.3s;
                    }

                    li[nth="1"] {
                        top: 0px;
                    }
                    li[nth="2"] {
                        top: 50%;
                        margin-top: -1.5px;
                        width: 50%;
                        right: 0;
                    }
                    li[nth="3"] {
                        bottom: 0px;
                    }
                    
                }
            }

        }

        .btnWrap{
            background-color: #b6ac82;
            position: fixed;
            z-index: 10;
            width: 55%;
            height: 100vh;
            right: -80%;
            z-index: 10;

            -webkit-transition: right 0.3s;
            -moz-transition: right 0.3s;
            -o-transition: right 0.3s;
            transition: right 0.3s;

            .in{
                padding: 30px;
                padding-top: 70px;
                padding-left: 0px;
                padding-right: 0px;


                li{
                    padding-bottom: 8px;
                    padding-top: 8px;
                    color: #FFF;
                    padding-left: 30px;
                    padding-right: 30px;
                    font-weight: 500;
                    font-size: 18px;
                }
            }
        }

        .btnWrap-cancel{
            width: 100%;
            height: 100%;
            position: fixed;
            z-index: 9;
            background-color: #000;
            opacity: 0.5;
            display: none;
        }

        
    }

}

footer{
    padding: 50px;
    background-color: #585858;

    .copyright {
        text-align: center;
        color: #FFF;
        font-size: 13px;
    }
}


section.demo{

    min-height: 800px;

}

/* noteAlert  */
/* ...............................  */
.noteAlert{
    display: none;

    background-color: #0000009c;
    width: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    margin-left: -150px;
    margin-top: -50px;
    border-radius: 10px;
    text-align: center;
}
.noteAlert span{
            color: #FFF;
            font-size: 50px;
            margin-top: 17px;
}

.noteAlert .text {
        color: #FFF;
        text-align: center;
        margin: 15px;
        font-size: 18px;
        margin-top: 5px;
}


.chat_bubble{
    background-color: #FFF;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 21px;
    right: 19px;
    box-shadow: 0 0 20px #0000001a;
    z-index: 100;
    border-radius: 100px;
    cursor: pointer;

    span{
            position: absolute;
            left: 16px;
            top: 17px;
            font-size: 29px;
            color: #91846f;
    }
}




/* ............................................................ */
@media screen and (max-width: 1240px) {

    .pc{
        display: none;
    }
    pc{
        display: none;
    }
    .m{
        display: initial;
    }
    m{
        display: initial;
    }

    body{
        background-image: url(/images/bg_m.jpg?1);
    }


    nav .pc_header{
        display: none;
    }
    nav .m_header{
        display: block;
    }

    section {
        .btn {
            max-width: 70%;
            font-size: 15px;
            height: 45px;
            line-height: 45px;
            max-width: 100%;
        }
    }

    section input{
        padding-bottom: 10px;
        padding-top: 10px;
    }

    section {
        & .btn {
            .icon {
                width: 19px;
                position: absolute;
                left: 13px;
                top: 8px;
                background-color: #FFF;
                border-radius: 50px;
                border: 5px solid #FFF;
            }
        }
    }
    

}