@charset "UTF-8";
*{
    margin:0;
    padding:0;
}


nav{
    display: none;
}

header{
  margin-top: -5px;
  padding:0 5px;
  position: fixed;
  display:flex;
  justify-content: space-around;
}
#showarea{
	width:85vw;
  margin-top: 5px;
  padding:0;
}

main{

}

#overlay{
  display: block; 
}
main section{
	width:92%;
}
footer{
  text-align: center;
}
/*　ハンバーガーメニュー　*/
body {
    background: #fff;
    margin: 0;
    font-family: arial;
    width: 100vw;
    height: 100vh;
	/*overflow:hidden;*/
    animation: bugfix infinite 1s;
    -webkit-animation: bugfix infinite 1s;
  }
  
  @keyframes bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
  }
  @-webkit-keyframes bugfix {
    from {
      padding: 0;
    }
    to {
      padding: 0;
    }
  }
  #overlay-button {
    position: absolute;
    right: 1.5em;
    top: 0.3em;
    padding: 20px 11px;
    z-index: 5;
    cursor: pointer;
    user-select: none;
    background-color:#09f;
  }
  #overlay-button span {
    height: 4px;
    width: 30px;
    border-radius: 2px;
    background-color: #fff;
    position: relative;
    display: block;
    transition: all .2s ease-in-out;
  }
  #overlay-button span:before {
    top: -10px;
    visibility: visible;
  }
  #overlay-button span:after {
    top: 10px;
  }
  #overlay-button span:before, #overlay-button span:after {
    height: 4px;
    width: 30px;
    border-radius: 2px;
    background-color: #fff;
    position: absolute;
    content: "";
    transition: all .2s ease-in-out;
  }
  #overlay-button:hover span, #overlay-button:hover span:before, #overlay-button:hover span:after {
    background: #fff;
  }
  
  input[type=checkbox] {
    display: none;
  }
  
  input[type=checkbox]:checked ~ #overlay {
    visibility: visible; 
  }
  
  input[type=checkbox]:checked ~ #overlay-button:hover span, input[type=checkbox]:checked ~ #overlay-button span {
    background: transparent;
  }
  input[type=checkbox]:checked ~ #overlay-button span:before {
    transform: rotate(45deg) translate(7px, 7px);
  }
  input[type=checkbox]:checked ~ #overlay-button span:after {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  #overlay {
    height: 100vh;
    width: 105vw;
    background-color:#09f;
    z-index: 2;
    visibility: hidden;
    position: fixed;
    color:#fff;
  }
  #overlay P{
    font-size: 2em;
    margin:8px 15px 0 30px;
  }
  #overlay ul {
    padding:15px 5px;
    display: flex;
    justify-content:flex-start;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100vh;
    padding-left: 0;
    list-style-type: none;
  }
  #overlay ul li {
    width:105vw;
    display: block;

  }
  #overlay ul li:nth-child(1) {
    border-top:1px solid #000;
  }
   #overlay ul li a {
    padding:10px 0;
    display: block;
    border-bottom:1px solid #000;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
  }

  #overlay ul li a:hover {
    color: #000!important;
  }