html,body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #dcdcdc;
  font-family: "lucida grande", tahoma, verdana, arial, "Hiragino Kaku Gothic Pro","Osaka",Meiryo,"メイリオ","ＭＳ ゴシック",sans-serif;
}

@media (orientation:landscape) {
    html.ipad.ios7 > body {
        position: fixed;
        bottom: 0;
        width:100%;
        height: 644px !important;
        margin: 0;
        padding: 0;
        background-color: #dcdcdc;
        font-family: "lucida grande", tahoma, verdana, arial, "Hiragino Kaku Gothic Pro","Osaka",Meiryo,"メイリオ","ＭＳ ゴシック",sans-serif;
    }
}

@media print {
	body { display:none; }
}

a {
    color: #0645ad;
    text-decoration: none;
}

a:hover {
text-decoration: underline;
}

a:link {
    color: #0645ad;
}

#container {
  background-color: transparent;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  width: 100%;

  height:auto !important;

  min-height:100%;
}

header {
  height: 40px;
  width: 100%;
  position: relative;
  background-color: #cacaca;
}

#content{
  position: absolute;
  top: 0;
  bottom: 0;
  overflow: hidden;
  margin-top: 40px;
  width: 100%;
}

#toolbarDiv
{
    background-color: transparent;
    width: 100%;
}

#toolbarDiv.fullpage {
    top: 0;
    left: 0;
    height:     40px;
    width:      100%;
    border:     none;
    z-index:    999999;
    background-color: #cacaca;
}

#footerbarDiv
{
    position: relative;
    width:100%;
}

footer {
  position: absolute;
  clear: both;
  width: 100%;
  height: 40px;
  bottom: 0;        /* stick to bottom */
  left: 0;
  background-color: #cacaca;
}

.navigator .highlight{
    opacity:    0.4;
    filter:     alpha(opacity=40);
    border:     2px solid #900;
    outline:    none;
    background-color: #900;
}
.highlight{
    opacity:    0.4;
    filter:     alpha(opacity=40);
    border:     2px solid #0A7EbE;
    outline:    10px auto #0A7EbE;
    background-color: white;
    -moz-background-size:contain;
    background-size:contain;
}
.highlight:hover, .highlight:focus{
    filter:     alpha(opacity=70);
    opacity:    0.7;
    -moz-background-size:contain;
    background-size:contain;
    background-color: transparent;
}

.hfdleft {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.hfspanleft {
    position: absolute;
    line-height:40px;
    left: 10px;
}

.hfspanleft * {
    margin:0px 0px 0px 0px;
    padding: 0px;
    display: inline;
}

@media only screen and (max-width:968px) {
.hfspanleft {
  font-size:70%;}
}

.hfdright {
  position: absolute;
  line-height: 40px;
  right: 10px;
  white-space: nowrap;
  overflow: hidden;
}

/*--------追加----------*/
/*サイドメニュー*/
#content{
  display: grid;
  grid-template: "view side_menu" 1fr
  /1fr auto;
}
#view{
  grid-area: view;
}
#side_menu{
  grid-area: side_menu;
  background-color: #BBBCBF;
  width: 220px;
  overflow-y: scroll;
}
#side_menu ul{
  margin: 0;
  padding: 0;
  list-style-type: none;
}
#side_menu li{
  margin: 1em;
}

/* バーガー */
#burger_btn{
  position: fixed;
  background:#57a2c7;
  cursor: pointer;
    width: 50px;
    height:50px;
  border-radius: 5px;
  top:4px;
  right: 12px;
  z-index:    9999999;
}
#burger_btn span{
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
background: #fff;
  width: 45%;
}
#burger_btn span:nth-of-type(1) {
  top:15px; 
}
#burger_btn span:nth-of-type(2) {
  top:23px;
}
#burger_btn span:nth-of-type(3) {
  top:31px;
}

/*activeクラスが付与されると線が回転して×に*/
#burger_btn.is-active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
#burger_btn.is-active span:nth-of-type(2) {
opacity: 0;/*真ん中の線は透過*/
}
#burger_btn.is-active span:nth-of-type(3){
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}


@media only screen and (max-width:768px) {
  #toolbarDiv > .hfdright{
    position: fixed;
    top: 40px;
    right: 0;
    width: 100vw;
    overflow: scroll;
    z-index:    8888888;
    background: #eeeeee;
    display: none;
    padding-top:16px;
    height: 56px;
  }
  #toolbarDiv.is-active > .hfdright{
    display: block;
  }
  #side_menu{
    width: 100vw;
    margin-top: 64px;
    display: none;
  }
  #side_menu.is-active{
    display: block;
  }
  #burger_btn{
    display: inline-block;
  }  
}

@media screen and (min-width: 768px){
  #burger_btn{
    display: none;
  }
}
/* ここまで */
