@charset "UTF-8";

/*ヘッダーまわりはサイトに合わせて調整してください*/
#nav-drawer {
  position: relative;
  display: flex;
  /*padding: 0 20px;*/
  /*margin-top: -10px;*/
}
/*
@media screen and (max-width:480px) {
  #nav-drawer {
    padding: 0 10px;
  }
}
*/
.gnav__menu__item {
  align-self: center;
}
@media screen and (max-width:480px) {
  .gnav {
    width: 20px;
}
}
.menu_txt {
  display: block;
  margin-top: -5px;
  padding-bottom: 14px;
  text-align: center;
  letter-spacing: 0.07rem;
  font-size: 10px;
}

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

/*アイコンのスペース*/
#nav-open {
  position: relative;
  /*
  top: 19px;
  left: 0;
  */
  display: flex;
  align-self: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
}

/*ハンバーガーアイコンをCSSだけで表現*/

#nav-open span,
#nav-open span:before,
#nav-open span:after {
  content: "";
  position: absolute;
  display: block;
  /*線の太さ*/
  width: 30px;
  height: 3px;
  cursor: pointer;
  /*長さ*/
  border-radius: 3px;
  background: #555;
}

#nav-open span {
  top: 14px;
}

#nav-open span:before {
  bottom: -8px;
}

#nav-open span:after {
  bottom: -16px;
}

@media screen and (max-width:480px) {
  #nav-open {
    top: 0;
    width: auto;
    height: auto;
  }

  #nav-open span {
    top: -8px;
  }
}

/*閉じる用の薄黒カバー*/
#nav-close {
  /*はじめは隠しておく*/
  position: fixed;
  z-index: 99;
  top: 0;
  /*全体に広がるように*/
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  transition: .3s ease-in-out;
  opacity: 0;
  background: black;
}

/*中身*/
#nav-content {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  overflow: auto;
  /*最前面に*/
  width: 290px;
  height: 100%;
  padding: 10px;
  /*背景色*/
  transition: .3s ease-in-out;
  /*滑らかに表示*/
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  background: #fff;
  /*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked~#nav-close {
  display: block;
  /*カバーを表示*/
  opacity: .5;
}

#nav-input:checked~#nav-content {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  /*中身を表示（上へスライド）*/
  box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
}

body.open {
  overflow: hidden;
}

.menu_btn {
  margin-left: 20px;
  padding-right: 5px;
  color: #fff;
  font-size: 1em;
}

.css-cancel {
  position: fixed;
  z-index: 100;
  top: 5px;
  left: 300px;
  display: block;
  width: 4px;
  height: 20px;
  margin: 0 20px 0 7px;
  padding: 0;
  transform: rotate(45deg);
  opacity: 1;
  background: #fff;
}

.css-cancel:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -8px;
  display: block;
  width: 20px;
  height: 4px;
  margin-top: -2px;
  background: #fff;
}

@media screen and (max-width:1280px) {
  .menu_btn {
    font-size: .8em;
  }
}

@media screen and (max-width:854px) {
  .menu_btn {
    display: none;
  }
}

.side_box {
  letter-spacing: 0;
  font-size: smaller;
}

.side_list_subttl {
  display: inline-flex;
}

@media screen and (max-width:768px) {
  #left_navi {
    position: unset;
    transform: none;
  }
}

.ac_menu_btn {
  position: relative;
  justify-content: center;
}
/*
.ac_menu_btn::after {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  width: 50px;
  height: 35px;
  line-height: 2;
}
*/
@media screen and (max-width:480px) {
  /*
  .ac_menu_btn::after {
    top: -15px;
    left: -20px;
  }
  */
  .sp_mr a {
    font-size: 15px;
  }
}