@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: 100%;
margin-top: 3em;
margin-left: auto;
margin-right: auto;
font-size: 1em;
}
#menu{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    margin-top: 2em;
}
#menu h2{
    text-align: center;
    }
#menu img{
    width: 100%;
}
#menu ul li:hover{
    opacity: 0.6;
    cursor: pointer;
    transition: all 0.5s ease 0s;
  }
#menu ul li{
    padding-bottom: 10px;
    text-align: center;
}
#menu ul li p{
    padding-top: 2px;
}
#topics{
    background-color: #fffe9a;
    width: 90%;
    height: 30em;
    margin-top: 4em;
    margin-left: auto;
    margin-right: auto;
    border:solid 2px #767675;
  }
#topics h2{
  text-align: center;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
  }
  #topics ul{
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  #others{
    margin-top: 4em;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
#others ul li{
    padding-right: 20px;
    text-align: center;
    padding-bottom: 10px;
}
#others ul li p{
    padding-top: 2px;
}
footer{
    margin-top: 6em;
    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;
}
}
