@charset "UTF-8";
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color:hsla(220,95%,15%,0.80);}
.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;
}
/*メニューの装飾CSS*/
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    background-color:rgba(227,240,255,0.80);
}
.menu-content p img{display: block;margin:3rem auto 0;width: 35%;height: auto;}
.menu-content ul {
    padding: 10px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #bbb;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:hsla(220,95%,15%,1.00);
    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 #aaa;
    border-right: solid 2px #aaa;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

/*メニューを外す*/
.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color:rgba(227,240,255,1.00);
    transition: all 0.5s;/*アニメーション設定*/
}
/*チェックがついたとき、メニュー表示*/
#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}


@media screen and (max-width: 1024px) {
.hmLogo{display:block;width:100%;height:8rem;padding:1rem 0 1rem 1rem;position:fixed;margin-top:-8rem;background-color:#fff;font-weight:700;color:#021948;}
.hmLogo img{display:block;width:20%;height:auto;}

.btn_hm{display:block;width:100%;color:#fff;background:#B81C21;padding:1.5rem 0;text-align:center;margin:3.5rem 0 0;font-size: 1.5rem;}

.btn_hm_bl{display:block;width:100%;color:#fff;background:#021948;padding:1.5rem 0;text-align:center;margin:0.1rem 0 2rem;font-size: 1.5rem;}
}
@media screen and (max-width: 768px) {
.hmLogo{display:block;width:100%;height:8rem;padding:1rem 0 1rem 1rem;position:fixed;margin-top: -8rem;background-color:#fff;font-weight:700;color:#021948;}
.hmLogo img{display:block;width:30%;height:auto;margin-bottom: 1rem;}

.btn_hm{display:block;width:100%;color:#fff;background:#B81C21;padding:1.5rem 0;text-align:center;margin:3.5rem 0 0;font-size: 1.5rem;}

.btn_hm_bl{display:block;width:100%;color:#fff;background:#021948;padding:1.5rem 0;text-align:center;margin:0.1rem 0 2rem;font-size: 1.5rem;}
}
@media screen and (max-width: 480px) {
.hmLogo{display:block;width:100%;height:8rem;padding:1rem 0 1rem 1rem;position:fixed;margin-top: -8rem;background-color:#fff;font-weight:700;color:#021948;}
.hmLogo img{display:block;width:46%;height:auto;}

.btn_hm{display:block;width:100%;color:#fff;background:#B81C21;padding:1.5rem 0;text-align:center;margin:3.5rem 0 0;font-size: 1.5rem;}

.btn_hm_bl{display:block;width:100%;color:#fff;background:#021948;padding:1.5rem 0;text-align:center;margin:0.1rem 0 2rem;font-size: 1.5rem;}
}
