/**@LLC computer**/
/**ハンバーガー**/
/* PCでは非表示にしておく */
.nav_toggle,
.toggle_nav {
    display: none;
}

/* スマホサイズで見た場合のスタイル */
@media screen and (max-width: 900px) {
    #head_container {
        display: flex;
        margin-bottom: 0;
        text-align: center;
    }

    .menu_container {
        display: none;
    }

    /* ハンバーガーのマーク */
    #toggle {
        display: block;
        position: fixed;
        width: 3rem;
        height: 3rem;
        margin-right: 2px;
        z-index: 6;
        top: 2px;
        right: 7.5px;
        background-color: #FFFFFF;
        border-radius: 30px;
        box-shadow: 0 0 5px #aaa;
    }

    #toggle:hover {
        cursor: pointer;
    }

    .nav_toggle {
        display: block;
        position: fixed;
        width: 2rem;
        height: 1.5rem;
        margin-right: 2px;
        z-index: 5;
        top: 15px;
        right: 15px;
        z-index: 6;
    }

    .nav_toggle i {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        position: absolute;
        transition: transform 0.5s, opacity 0.5s;
    }

    .nav_toggle i:nth-child(1) {
        top: 0;
    }

    .nav_toggle i:nth-child(2) {
        top: 0;
        bottom: 0;
        margin: auto;
    }

    .nav_toggle i:nth-child(3) {
        bottom: 0;
    }

    /* クリックされた後のハンバーガーのマーク */
    .nav_toggle.show i:nth-child(1) {
        transform: translateY(10px) rotate(-45deg);
    }

    .nav_toggle.show i:nth-child(2) {
        opacity: 0;
    }

    .nav_toggle.show i:nth-child(3) {
        transform: translateY(-12px) rotate(45deg);
    }

    /* クリックで表示されるメニュー：クリックされる前 */
    .toggle_nav {
        display: flex;
        position: fixed;
        /*align-items: center;*/
        padding-top: 2rem;
        justify-content: center;
        top: 0;
        left: 0;
        right: 0;
        /*bottom: 0;*/
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s, visibility 0.5s;
        background-color: #fff;
        z-index: 5;
    }

    .toggle_nav ul {
        display: block;
        padding-left: 0;
    }

    .togglenav_menu_ul li {
        margin-bottom: 30px;
        list-style: none;
    }

    .togglenav_menu_ul li a {
        color: #000000;
        text-decoration: none;
    }

    /* クリックで表示されるメニュー：クリックされた後 */
    .toggle_nav.show {
        opacity: 1;
        visibility: visible;
    }
}