body{
	padding: 0;
	margin:0;
	font-family: 'cwTeXYen', sans-serif;
  background-image: url(../img/bg.png);
  background-size: 100vw;
  background-repeat: no-repeat;
}

nav {
 display: flex;
 justify-content: center;
 text-align: center;
}
nav a{
  flex:1;
}

a.selected {
  z-index:100;
}

a.close{
  position:fixed;
  right:10px;
  top:10px;
}


@media screen and (min-width: 992px) {
  #header{
    margin-left: 30px;
  }

  #food_menu{
    max-width: 100%;
    display: flex;
    justify-content: space-between;
  }

  #food_menu a img{
    box-sizing: border-box;
    padding: 0 100px 0 100px;
    max-width: 100%;
  }
  div.wrap{
    box-sizing: border-box;
    display: flex;
    max-height: 100%;
    max-width: 100%;

  }

  div.img_wrap{
    box-sizing: border-box;
    flex:1;
    padding: 40px;
    max-height: 100%;
    max-height: 100%;
    margin: 0;
    text-align : center;
  }
  div.img_wrap img.inbox{  
    max-width: 100%;
    vertical-align : middle;
  }

  div.intro{
    padding-left: 20px;
    max-height: 100%;
    flex: 1.3;
    width: 50%;
    line-height: 36px;
    font-size: 1.5em;

  }
  .pop {
    overflow: scroll;
    box-sizing: border-box;
    background-color:#FFFFFF;
    border:1px solid #999999;
    display:none;
    position:fixed;
    top:10px;
    bottom: 10px;
    left:10px;
    right:10px;
    z-index:500;
   
  }


}

@media screen and (min-width: 300px) and (max-width: 991px){ 
  #header{
    text-align: center;
  }
  #food_menu{
    max-width: 100%;
    text-align: center;
  }
  #food_menu a img{
    box-sizing: border-box;
    padding: 0 100px 0 100px;
    max-width: 100%;
  }
  div.intro h1{
    text-align: center;
  }

  div.wrap{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }
   div.img_wrap{
    box-sizing: border-box;
    padding: 0;
    max-height: 100%;
    max-height: 100%;
    margin: 0;
    text-align : center;
   
  }
  img.inbox{
    max-width:100%;
  }

  div.intro{
    
    max-width: 100%;
    line-height: 20px;
    font-size: 1.5em;
  }
  .pop {
    overflow: scroll;
    background-color:#FFFFFF;
    border:1px solid #999999;
    display:none;
    position:fixed;
    top:10px;
    bottom: 10px;
    text-align:left;
    left:10px;
    right:10px;
    z-index:500;
    padding: 20px;
  }

}




