*{
    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;
    padding-top: 90px;

    /* background-color: #f3ece6; */
    /* background-image: url(/images/bg.jpg?1); */

    background: linear-gradient(
        to left,
        #9b9ad9 0%,   /* 右邊：淡紫色 */
        #c8d7f0 40%,  /* 中間：淡藍紫 */
        #e3fbff 100%  /* 左邊：淺藍幾乎接近白 */
    );
   
}

body[page="blog"] nav .pc_header .wrap .btnWrap li[page="blog"]:after
,body[page="service"] nav .pc_header .wrap .btnWrap li[page="service"]:after
,body[page="page"] nav .pc_header .wrap .btnWrap li[page="page"]:after
,body[page="passport"] nav .pc_header .wrap .btnWrap li[page="passport"]:after
,body[page="login"] nav .pc_header .wrap .btnWrap li[page="login"]:after
{
    content: '';
    background-color: #4abec8;
    display: block;
    width: 85%;
    height: 3px;
    position: absolute;
    left: 7.5%;
    bottom: -22px;
}

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

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

li {
    list-style: none;
}


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


a{
    display: contents;
    color: inherit;
}


section{

    h2.maintitle{
        text-align: center;
        color: #666666;
        letter-spacing: 2px;
        font-size: 30px;
        margin-block-end: 5px;
        font-weight: 500;
    }
    h3.entitle{
        text-align: center;
        color: #666666;
        margin-block-start: 0;
        font-size: 15px;
    }
    .horizon-icon{
        width: 80px;
        margin: auto;
        display: block;
        margin-bottom: 20px;
        margin-top: 10px;
    }
    .text{
        text-align: left;
        font-size: 18px;
        line-height: 1.8;
    }

    .btn{
        background-color: #FFF;
        width: 300px;
        margin: auto;
        border: 2px solid #a7a7d3;
        height: 50px;
        line-height: 50px;
        font-size: 18px;
        color: #a7a7d3;
        border-radius: 12px;
        cursor: pointer;
        text-align: center;
    }
}

nav{

    .pc_header{

        .wrap{
            position: fixed;
            width: 100%;
            height: 90px;
            z-index: 10;
            left: 0px;
            top: 0px;
            background-color: #FFF;


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

            .btnWrap{
                left: 400px;
                position: absolute;
                top: 23px;


                &.right{
                    right: 20px;
                    left: auto;
                }
                

                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;
                    }
                }
            }

        }

    }

    .m_header{
        display: none;


        &.active{
            .btnWrap{
                right: 0;

            }

            .menuBtn .in li{
                    background-color: #FFF;
            }


            .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{
            top: 0;
            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: fixed;
                top: 1px;
                right: 2px;
                width: 60px;
                height: 60px;
                z-index: 15;
                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: #6563ab;
            position: fixed;
            z-index: 10;
            width: 55%;
            height: 100vh;
            right: -80%;
            z-index: 14;
            top: 0;

            -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: 11;
            background-color: #000;
            opacity: 0.5;
            display: none;
            top: 0;
        }

        
    }

}

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

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


section.demo{

    min-height: 800px;

}

.bg1{
    background-image: url(/images/biglogo.png?);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: right -10% top 10%;
}






/* ............................................................ */
@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); */
        padding-top: 60px;
    }


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

    section {
        h2.maintitle {
            letter-spacing: 1px;
            font-size: 21px;
        }
    }
    section {
        h3.entitle {
            font-size: 12px;
        }
    }
    section {
        .horizon-icon {
            width: 65px;
        }
    }
    section {
        .text {
            text-align: left;
            font-size: 15px;
            line-height: 1.6;
            /* padding-left: 30px;
            padding-right: 30px; */
        }
    }

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

}