li {
    list-style: none;
}

.header_contents {
    background-color: #7a0000;
    height: 100px;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.rogos {
    display: flex;
    justify-content: flex-start;
}

.rogo {
    height: 60px;
    padding: 15px 30px 0 0;
}

.company_name {
    padding-top: 10px;
    font-size: 20px;
    color: #fff;
}

.menu {
    display: flex;
}

.menu_btn {
    display: inline-flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    text-align: center;
    margin: 30px 5px;
    background-color: #b24c00;
    height: 54px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    width: 100px;
}

.a_menu {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    margin: 0 auto;
    padding-top: 18px;
}

.b_menu {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    margin: 0 auto;
    padding-top: 5px;
}

.btn_b {
    position: relative;
    top: -13px;
}

.menu_btn:hover {
    background-color: #f5964f;
}

.hamburger_menu {
    display: none;
}

@media screen and (max-width:768px) {
    body {
        font-family: "MS Pゴシック", sans-serif;
    }

    .menu {
        display: none;
    }

    .header_contents {
        height: 140px;
    }

    .rogos {
        display: block;
    }

    .rogo {
        height: 30px;
        padding: 5px 0 0;
    }

    .company_name {
        padding: 0;
        font-size: 15px;
        white-space: nowrap;
    }

    .company_name br {
        display: none;
    }

    .hamburger_menu {
        display: block;
    }

    .menu_btn_sp {
        position: fixed;
        top: 20px;
        right: 30px;
        display: flex;
        height: 50px;
        width: 50px;
        justify-content: center;
        align-items: center;
        z-index: 999999;
        background-color: #7a0000;
        border-radius: 5px;
    }

    .menu_btn_sp span,
    .menu_btn_sp span:before,
    .menu_btn_sp span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background-color: #ffffff;
        position: absolute;
    }

    .menu_btn_sp span:before {
        bottom: 8px;
    }

    .menu_btn_sp span:after {
        top: 8px;
    }

    #menu_btn_check:checked ~ .menu_btn_sp span {
        background-color: rgba(255, 255, 255, 0);
        /*メニューオープン時は真ん中の線を透明にする*/
    }

    #menu_btn_check:checked ~ .menu_btn_sp span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #menu_btn_check:checked ~ .menu_btn_sp span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    #menu_btn_check {
        display: none;
    }

    .menu_content {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 99999;
        background-color: #7a0000;
        transition: all 0.5s;
    }
}

.menu_content ul {
    padding: 70px 10px 0;
}

.menu_content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}

.menu_content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color: #ffffff;
    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 #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

#menu_btn_check:checked ~ .menu_content {
    left: 0;
}

}
