*{
    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;
    min-height: 100vh;

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

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

nav{

    .pc_header{

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


            .logo{
                height: 55px;
                top: 20px;
                left: 30px;
                position: absolute;
            }

            .btnWrap{
                right: 20px;
                position: absolute;
                top: 15px;
                

                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;

            }

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

}


/* ............................................................ */
@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;
    }

}