@import url(http://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/css?family=Modern+Antiqua);
/* reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
  margin: 0;
  padding: 0;
}
address, caption, cite, code, dfn, em, strong, th, var {
  font-style: normal;
}
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption, th {
  text-align: left;
}
q:before, q:after {
  content: '';
}
object, embed {
  vertical-align: top;
}
legend {
  display: none;
}
h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
}
img, abbr, acronym, fieldset {
  border: 0;
}
body {
  font: 15px/1.9 "Yu Mincho", "inherit", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  font-weight: 300;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  color: #000;
  background: #fff5e1;
}
a {
  color: #0066ff;
  text-decoration: none;
}
a:hover, .active {
  text-decoration: underline;
}
a:active, a:focus, input:active, input:focus {
  outline: 0;
}
/* ヘッダー
------------------------------------------------------------*/
#mainnav a {
  color: #fff;
  font: 15px/1.9 "Yu Mincho", "inherit", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
  ;
}
/* フッター
------------------------------------------------------------*/
#footer {
  clear: both;
  padding: 1%;
  text-align: center;
  font-size: 1.5vw;
}
/* 共通
------------------------------------------------------------*/
img {
  max-width: 100%;
  height: auto;
}
/* RESPONSIVE 設定
------------------------------------------------------------*/
@media only screen and (min-width: 900px) {
  body {
    font-size: 16px;
  }
  #wrapper {
    width: 100%;
    text-align: center;
  }
  #sidebar {
    width: 20%;
    position: fixed;
    top: 0;
    right: 0;
    background: #490000;
    height: 100%;
    border-left-width: thick;
    border-left-style: solid;
    border-left-color: #fff;
  }
  a#menu {
    display: none;
  }
  .panel {
    display: block !important;
  }
  #sidebar h1 {
    padding: 20% 20% 0;
    width: 60%;
  }
  #mainnav ul {
    padding: 10%;
  }
  #mainnav li {
    font-size: 16px;
    padding: 2% 0;
  }
  #content {
    width: 80%;
    text-align: center;
    background-color: #fff5e1;
  }
  #content img {
    width: 40%;
    margin: 0 0 5%;
  }
  #menu1 img {
    width: 40%;
    margin: 2% 0 5%;
    }
  #menu11 img {
    width: 40%;
    margin: 0 0 2%;
    }
  #menu12 img {
    width: 70%;
    margin: 3% 0 5%;
    }
    
  #footer {
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 1vw;
  }
}
@media only screen and (max-width: 899px) {
  #sidebar {
    position: fixed;
    width: 100%;
    z-index: 500;
  }
  #sidebarWrap {
    width: 100%;
    height: 60px;
    background: #490000;
    border-bottom: 1px solid #333;
  }
  #sidebar h1 {
    text-align: center;
    padding-top: 13px;
  }
  #sidebar h1 img {
     width: auto !important;
     max-height: 40px;
  }
   #menu1 img {
    padding-top: 60px;
    }
  a#menu {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 40px;
    margin: 10px;
  }
  #menuBtn {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    margin: -1px 0 0 -7px;
    background: #fff;
    transition: .2s;
  }
  #menuBtn:before, #menuBtn:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 18px;
    height: 2px;
    background: #fff;
    transition: .3s;
  }
  #menuBtn:before {
    margin-top: -7px;
  }
  #menuBtn:after {
    margin-top: 5px;
  }
  a#menu .close {
    background: transparent;
  }
  a#menu .close:before, a#menu .close:after {
    margin-top: 0;
  }
  a#menu .close:before {
    transform: rotate(-45deg);
  }
  a#menu .close:after {
    transform: rotate(-135deg);
  }
  .panel {
    width: 100%;
    display: none;
    overflow: hidden;
    position: relative;
    left: 0;
    top: -10px;
    z-index: 100;
  }
  #mainnav {
    position: absolute;
    top: 0;
    width: 100%;
    text-align: right;
  }
  #mainnav ul {
    width: 100%;
    overflow: auto;
    border-bottom: 1px solid #fff;
    background: #490000;
    text-align: left;
  }
  #mainnav li a {
    position: relative;
    display: block;
    padding: 5px 25px;
    border-bottom: 1px solid #ccc;
    color: #fff;
    font-weight: 400;
  }
  #mainnav li a:before {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 5px;
    width: 6px;
    height: 6px;
    margin: -4px 0 0 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #content {
    text-align: center;
  }
}