
.menu-onoff {
  display: none;
}
#menu-btn-check {
    display: none;
}
@media (max-width: 1050px) {
    .menu {
        display: none;
    }
    main {
        padding-right: 0; 
    }
    footer {
        margin-left: 2rem;
    }
    .header-inner {
        width: 40px;
    }
    /* メニューボタン */
    .menu-btn {
        position: fixed;
        top: 10px;
        right: 10px;
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        z-index: 101;
        background: transparent;
    }
    .menu-btn span,
    .menu-btn span:before,
    .menu-btn span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #000;
        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;
        background-color: #ffffff;
        transform: rotate(45deg);
    }
    #menu-btn-check:checked ~ .menu-btn span::after {
        top: 0;
        background-color: #ffffff;
        transform: rotate(-45deg);
    }

    /* 動かす */
    .nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 100;
        background-color: #333;
    }
    .nav ul {
        padding: 70px 10px 0;
    }
    .nav ul li {
        text-align: center;
        width: 10rem;
        border-bottom: solid 1px #ffffff;
        margin: 0 auto 1.5rem;
    }
    .nav ul li a {
        display: block;
        width: 100%;
        font-size: 1.3rem;
        box-sizing: border-box;
        color:#ffffff;
        text-decoration: none;
        padding: 9px 15px 10px 0;
        position: relative;
    }
    .nav ul li a::before {
        content: "";
        width: 7px;
        height: 7px;
        border-top: solid 2px #ffffff;
        border-right: solid 2px #ffffff;
        transform: rotate(45deg);
        position: absolute;
        right: 11px;
        top: 16px;
    }
    /* しまう */
    .nav {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;/*leftの値を変更してメニューを画面外へ*/
        z-index: 100;
        transition: all 0.5s;/*アニメーション設定*/
    }
    #menu-btn-check:checked ~ .nav {
        left: 0;/*メニューを画面内へ*/
    }

    .form-dlist {
        flex-direction: column;
        padding: 3%;
    }
    .form-dlist__term {
        padding: 0.5rem;
    }
        .form-dlist__desc {
        width: 90%;
    }
    .submit-btn {
        margin-left: 3rem;
    }


}
