@charset "utf-8";

body,
h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
ol,
li,
:link,
:visited {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

a:link,
a:visited {
    color: #004f71;
}


img {
    vertical-align: 0;
}

body {
    background-color: #f2f1f0;
    color: #634c35;
    font-family: 'Questrial', sans-serif, Hiragino Sans, ヒラギノ角ゴシック;
    font-size: 18px;
}







/*logo*/

#toplogo img {
    padding: 30px 50px;
    width: 100%;
}

#toplogo{
    width: 30%;
    position: relative;
}


.sp { display: none !important; }
.pc { display: block !important; }


/* #mainLogo {
    height: 37px;
    width: 45%;
    margin: 60px 50px;
    background-repeat: no-repeat;
    background-image: url(../images/common/Naotoiwamura_logo.png);
    background-size: contain;
}

#mainLogo a {
    display: block;
    color: transparent;
    font-size: 0;
    line-height: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
} */



/*nav*/


#sideMenu {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.7);
    width: 200px;
    margin-right: -200px;
    z-index: 920;
}


#sideMenu ul {
    padding-top: 60%;
}

#sideMenu li {
    margin: 30% auto;
    text-align: center;
}

#sideMenu a {
    color: #004f71;
}




/*button*/


#openbtn {
    position: fixed;
    top: 5%;
    width: 70px;
    height: 70px;
    cursor: pointer;
    right: 50px;
    z-index: 930;
}

#openbtn span {
    transition: all .4s;
    position: absolute;
    right: 0;
    height: 3px;
    background-color: #004f71;
    bottom: 0;
    z-index: 940;
}

/*befor*/

#openbtn span:nth-of-type(1) {
    top: 25px;
    width: 100%;
}

#openbtn span:nth-of-type(2) {
    bottom: 25px;
    width: 100%;
}

/*active*/

#openbtn.active span:nth-of-type(1) {
    transform: translateY(6px) rotate(-45deg);
    top: 28px;
}

#openbtn.active span:nth-of-type(2) {
    transform: translateY(-6px) rotate(45deg);
    bottom: 28px;
}







/*slider*/


/* 
#slide img {
    width: 100vw;
    height: 450px;
    object-fit: cover;
} */




/*footer*/


footer {
    width: 100%;
    text-align: center;
}

footer small {
    font-size: 12px;
}

/*totop button*/

#totop {
    position: fixed;
    left: 45px;
    bottom: 5%;
    z-index: 990;
    width: 70px;
    height: 70px;
}

#totop a {
    width: 70px;
    height: 70px;
    color: #fff;
    display: block;
    line-height: 70px;
    font-size: 14px;
    background-color: #004f71;
    border-radius: 50%;
    text-align: center;
}



/*くコ:彡   SP*/

@media screen and (max-width:640px) {


    /*logo resize*/



    
    #toplogo{
        position: relative;
        width: 30%;
    }


    #toplogo img {
        width: 100%;
        padding: 30px;
    }
    


    .pc { display: none !important; }
    .sp { display: block !important; }

    /*maim image resize*/


    



    /*button resize*/

    #openbtn {
    position: fixed;
    bottom: 5%;
    right: 30px;
    width: 40px;
    height: 30px;
    margin-right: 0;
    }





    /*befor*/

    #openbtn span:nth-of-type(1) {
        top: 20px;
        width: 100%;
    }

    #openbtn span:nth-of-type(2) {
        bottom: 20px;
        width: 100%;
    }


    /*active*/

    #openbtn.active span:nth-of-type(1) {
        transform: translateY(6px) rotate(-45deg);
        top: 8px;
    }

    #openbtn.active span:nth-of-type(2) {
        transform: translateY(-6px) rotate(45deg);
        bottom: 7px;
    }


    /*nav*/


    #sideMenu {
        width: 100%;
        height: 100%;
        margin-right: -100vw;
    }

    #sideMenu ul {
        padding-top: 30%;
    }

    #sideMenu li {
        margin: 15% auto;
    }

    /*totop*/


    #totop {
        left: 5%;
    }


    /* footer */

    
}