@media screen and (max-width:767px){
    
    .sp{
      display: block;
    }
    .pc{
      display: none;
    }
 header{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
 }
h1{
    float: left;
    margin-left: 1em;
    margin-bottom: 1em;
}
h1 img{
    width: 80%;
    height: auto;
}
.nav-toggle span{
    background-color: #000;
    width: 40%;
    height: 0.2em;
    display: block;
    position: absolute;
    left: 5px;
    transition:0.8s;
}
.nav-toggle span:nth-child(1){
    top: 0;           
}
.nav-toggle span:nth-child(2){
    top: 0.5em;
}
.nav-toggle span:nth-child(3){
    top: 1em;
}
.nav-toggle{
    position: relative;
    border-radius: 5px;
    cursor: pointer;    
    top: 0.3em;
    width: 4em;
    height: 2em;
    z-index: 10000;
    margin-left:15em;
    margin-top: 2em;
}
.open .nav-toggle span:nth-child(1){
    top: 0.5em;
    transform: rotate(45deg);
}
.open .nav-toggle span:nth-child(2){
    opacity: 0;
}
.open .nav-toggle span:nth-child(3){
    top: 0.5em;
    transform: rotate(-45deg);
}       
    .gnavi{
        width: 100%;
        height: 100vh;
        background-color:#fff;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(-100vh);
        transition: 0.8s;
        z-index: 1000;
    }
    .open .gnavi{
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        transform: translateY(0);
    }
    .gnavi ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        font-size: 1.5em;
    }
    .gnavi ul li{
        margin-bottom: 20px;
        cursor: pointer;  
    }
    .box{
        width:16em;
        height:2em;
        border: 3px solid #f8ca0e;
        font-size: 0.8em;
    }
    .button{
        background-color: #f8ca0e;
        color: #000;
        width: 5em;
        height: 2em;
        border-radius: 5px;
        font-size: 0.7em;   
        font-weight: bold;
        box-shadow: 2px 2px 3px #e8d999
      }
    .button:hover{
        opacity: 0.6;
        cursor: pointer;
        transition: all 0.5s ease 0s;
    }
    main{
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        font-size: 1em;
        margin-top: 2em;
    }
#qanda{
    margin-left: 1.4em;
    background-color: #fffe9a;
    color: #000;
    width: 12em;
    height: 2em;
    border-radius: 10px;
    font-size: 1.2em;   
    font-weight: bold;
    box-shadow: 2px 2px 2px 2px #e6e1cb;
    margin-top: 0.6em;
    margin-bottom: 2em;
}
#tel{
    margin-top: 1em;
}

#mail{
    margin-top: 1em;
}

#newyear{
    margin-top: 2em;
}
#online{
    margin-top: 35px;
}
#online ul{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
#online input{
    width: 100%;
    height: 2em;
    border: 2px solid #f8ca0e;
}
#naiyo{
    width: 100%;
    height: 20em;
    border: 2px solid #f8ca0e;
}
div select{
    border: 2px solid #f8ca0e;
    background-color: #fff;
}
#res{
    width: 100%;
}
#confirmation{
    background-color: #f8ca0e;
    color: #000;
    width: 220px;
    height: 52px;
    border-radius: 10px;
    font-size: 1.2em;   
    font-weight: bold;
    box-shadow: 4px 4px 4px 4px #e6e1cb;
    margin-top: 1.8em;
    margin-bottom: 1.2em;
    margin-left: 1.8em;
}
#home{
    background-color: #f8ca0e;
    color: #000;
    width: 220px;
    height: 52px;
    border-radius: 10px;
    font-size: 1.2em;   
    font-weight: bold;
    box-shadow: 4px 4px 4px 4px #e6e1cb;
    margin-top: 10px;
    margin-left: 1.8em;
}
footer{
    margin-top: 4em;
    background-color: #fffe9a; 
}
.footer{
    font-size: 1em;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 4em;
}
.left{
    padding-top: 1em;
    margin-left: 4em;
}
.footer div ul li{
    font-size: 0.8em;
    margin-left: 2em;
}
.center{
    margin-left: 4em;
    margin-top: 10px;
} 
strong{
    color:#0000ff;
}
.right section{
    border:solid 3px #65cdfe;
    text-align: center;
    margin-top: 16px;
    border-radius: 15px;
}
.right section ul{
    display: flex;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
.right section ul li img{
    width: 100%;
    height: auto;
}
.form{
    margin-top: 1em;
}
}