@charset "utf-8";
/* CSS Document */

/* 位置を右上に固定 */
#toggle {
    position: absolute;
    top: 10px;/* ハンバーガーメニューの位置（上から） */
    right: 25px;
}
/* ハンバーガーメニューの大きさ指定 */
#toggle-box {
    position: relative;
    width: 36px;
    height: 32px;
    cursor: pointer;
}
#toggle-box > span {
  width: 100%;
  height: 1px;
  left: 0;
  display: block;
  background: #000;
  position: absolute;
  transition: transform .6s ease-in-out;
}
#toggle-box > span:nth-child(1) {
    top: 0;
}
#toggle-box > span:nth-child(2) {
    top: 50%;
    transform: translatey(-50%);
}
#toggle-box > span:nth-child(3) {
    bottom: 0;
}

/* ハンバーガーメニュークリックで、「×」マークにアニメーション */
.is-open #toggle-box > span {
    background: #0;
}
.is-open #toggle-box > span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg) translatey(-50%);
}
.is-open #toggle-box > span:nth-child(2) {
  width: 0;
}
.is-open #toggle-box > span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg) translatey(-50%);
}

/* 重なり順指定 */
#toggle {
    z-index: 1000;
}
#main {
    position: static;
    z-index: 990;
}

/* 中身メニュー、初期は非表示 */
#nav-content {
    z-index: 900;
    overflow: auto;
    width: 100%;
    height: 100%;
    background: #fff;
    color: #000;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .6s ease, visibility .6s ease;
}
#nav-content ul {
    list-style: none;
    padding-top: 30px;
}
#nav-content a {
    display: block;
    color: #000;
    text-decoration: none;
    padding-top: 30px;
    padding-right: 0;
    padding-left: 30px;
    padding-bottom: 30px;
    transition: opacity .6s ease;
}
#nav-content a:hover {
    opacity: 0.6;
    padding-bottom: 0px;
}

.menu_title a img {
    margin-right: 5px;
}

/* is-openクラスが追加されると、メニューが表示される */
.is-open {
    overflow: hidden;
}
.is-open #nav-content {
  z-index: 999;
  visibility: visible;
  opacity: 1;
}
.is-open #nav-content a{
  pointer-events: auto;
}
