/*ボタン設置*/
.menu-btn {
    position: fixed;
    top: 30px; /*設置位置*/
    right: 5%; /*設置位置*/
    display: flex;
    height: 60px; /*ボタンサイズ*/
    width: 60px; /*ボタンサイズ*/
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #308cff;
    border-radius:5px;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px; /*ハンバーガーラインの太さ*/
    width: 25px; /*ハンバーガーラインの巾*/
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px; /*ハンバーガーラインの間隔*/
}
.menu-btn span:after {
    top: 8px; /*ハンバーガーラインの間隔*/
}

 /*クリック時の挙動*/
#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

/*メニュー本体*/
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color: #fff; /*下欄.menu-contentの指定が優先*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #3f4973; /*ナビ仕切線の色*/
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    font-weight: bold;
    box-sizing: border-box;
    color:#3f4973; /*ナビ文字色*/
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #3f4973; /*矢印色(上)*/
    border-right: solid 2px #3f4973; /*矢印色(下)*/
    transform: rotate(45deg);
    position: absolute;
    right: 11px; /*矢印の位置*/
    top: 16px; /*矢印の位置*/
}

.menu-content {
    width: 60%;
    height: 55%;
    position: fixed;
    top: 0;
    left: 100%; /*メニューを画面外へ(100%ですべて隠れる)*/
    z-index: 80;
    background-color: rgba(255,255,255,0.9); /*背景色と透明度*/
    transition: all 0.5s; /*アニメーション設定*/
}

#menu-btn-check:checked ~ .menu-content {
    left: 40%;/*メニューを画面内へ*/
}
