@charset "utf-8";

#nav-drawer {
    display: none;
}

@media (max-width:786px) {

    .index-list {
        display: none;
    }

/*ヘッダーまわりはサイトに合わせて調整してください*/
/* header {
  padding:10px;
  background: skyblue;
} */

#nav-drawer {
display: block;
}

/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
  position: absolute;
  top: 23px;
  right: 25px;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
  position: absolute;
  height: 3px;/*線の太さ*/
  width: 25px;/*長さ*/
  border-radius: 3px;
  background: #ffa500;
  display: block;
  content: '';
  cursor: pointer;
  /* top: 20px;
  right: 20px; */
}
#nav-open span:before {
  bottom: -8px;
}
#nav-open span:after {
  bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
  display: none;/*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;/*全体に広がるように*/
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}

/* #nav-content::after {
    content: url(../img/xxx.png);
    position: fixed;
    top:100px;
    right: 10px;
} */

/*中身*/
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;/*最前面に*/
  width: 80%;/*右側に隙間を作る（閉じるカバーを表示）*/
  max-width: 432px;/*最大幅（調整してください）*/
  height: 100%;
  background: /*#ffe2c6;*//*背景色*/url(../img/angel-d.jpg) no-repeat fixed;
  transition: .3s ease-in-out;/*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
  display: block;/*カバーを表示*/
  opacity: .5;
}

#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);/*中身を表示（右へスライド）*/
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

/*--------------------------------------------*/

nav.index-splist {
    width: 100%;
    margin: 5px auto;
  }
  
  nav.index-splist ul li {
    width: 100%;
    float: none;
    list-style-type: none;
    text-decoration: none;
    margin: 10px auto;
  }
  
  nav.index-splist ul li a {
    display: block;
    height: 2em;
    text-align: center;
    line-height: 35px;
    background-color: /*rgba(105, 176, 118, 0.5)*/#efffe0;/*#ccffe5*/
    text-decoration: none;
    transition-duration: 0.7s;
    /*border-radius: 30px;*//*検討中*/
    box-shadow: 0 0 5px 5px #ffe2c6;
    color: #ffa500;
   /* margin: 5px 0; */
  }
  
  ul li a:hover {
    background-color: #ffe2c6;
  }

}