@charset "utf-8";
/*  style　[  Smart Phone ]
=================================================================== */
/* ～767px(xs) ____________________________________________________ */
@media screen and (max-width: 767px) {
  
  
/*----------------------------------------------
   nav
---------------------------------------------*/
/*ハンバーガーメニュー*/
#nav-drawer {
  position: relative;
  margin: -10px 0 0;
  width: 47px;
}
  
  .en-menu {
  font-family: Arial, Helvetica, "sans-serif";
  font-size: 0.6em;
  margin:  -2px 0 0 0;
  text-align: center;
  line-height: 100%;
}


/*チェックボックス等は非表示に*/
.nav-unshown {
  display:none;
}

/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    width: 47px;
    height: 42px;
    vertical-align: middle;
    border: #f75065 1.5px solid;
    padding: 10px;
    border-radius: 10px;
    pointer-events: pointer;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #555;
    display: block;
    content: '';
    cursor: pointer;
    
}
#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 {
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;/*最前面に*/
    width: 90%;/*右側に隙間を作る*/
    max-width: 330px;/*最大幅*/
    height: 100%;
    background: #fff;/*背景色*/
    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-content {
  background-color: rgba(255,255,255,0.9);
  /*height: 52px;
  margin-top: -52px;*/
}
#nav-content ul {
  margin: 0 auto;
  list-style: none;
}
#nav-content ul li {
  /*width: 25%;*/
  text-align: center;
}
#nav-content ul li a {
  display: block;
  padding: 15px 0;
}
#nav-content ul li a:hover {
  /*background-color: rgba(253,228,145,1);*/
  color: #c00;
}
  
  


}
/*----------------------------------------------
   480px以下
  ---------------------------------------------*/
@media screen and (max-width: 480px) {
  /*ハンバーガーメニュー*/
#nav-drawer {
  position: relative;
  margin: -7px 0 0;
}
  
.en-menu {
  font-size: 0.6em;
  margin: -4px 0 0 0;
}


}


