.nav {
    margin-bottom: 20px;
}

.nav_content {
    width: 100%;
    border-top: 1px solid #0066cc;
    border-bottom: 1px solid #0066cc;
}

.nav_list {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* align-items: center; */
    padding: 0;
    margin: auto;
}

.nav_list li:first-child {
    border-left: 1px solid #0066cc;
}

.nav_list li {
    flex: 1;
    display: flex;
    list-style: none;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #0066cc;
    box-sizing: border-box;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}

.navCourse {
    padding: 2px;
    background-color: #0066cc;
}

.navCourse a {
    color: #fff;
}

/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* これよりスマホ用 ************************************************/

@media screen and (max-width: 520px) {

    /* ここから下がハンバーガーメニューに関するCSS */

    .nav_list {
        flex-direction: column;
        max-width: none;
        width: 100%;
    }

    /* ハンバーガーアイコンの設置スペース */
    .drawer_open {
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 20px;
        z-index: 100;/* 重なり順を一番上にする */
        cursor: pointer;
    }
  
    /* ハンバーガーメニューのアイコン */
    .drawer_open span,
    .drawer_open span:before,
    .drawer_open span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background: #333;
        transition: 0.5s;
        position: absolute;
    }
  
    /* 三本線の一番上の棒の位置調整 */
    .drawer_open span:before {
        bottom: 8px;
    }
  
    /* 三本線の一番下の棒の位置調整 */
    .drawer_open span:after {
        top: 8px;
    }
  
    /* アイコンがクリックされたら真ん中の線を透明にする */
    #drawer_input:checked ~ .drawer_open span {
        background: rgba(255, 255, 255, 0);
    }

    /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
    #drawer_input:checked ~ .drawer_open span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    #drawer_input:checked ~ .drawer_open span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    
    /* メニューのデザイン*/
    .nav_content {
        width: 100vw;
        height: 100%;
        position: fixed;
        bottom: 100%;
        left: 0%; /* メニューを画面の外に飛ばす */
        z-index: 99;
        /* background-color: #0066cc; */
        text-align: center;
        /* padding-top: 20px; */
    }
  
    /* メニュー黒ポチを消す */
    .nav_list {
        list-style: none;
        /* margin-top: 50px; */
    }

    .nav_list li {
        border-bottom: 1px solid #fff;
        background-color: #0066cc;
    }

    .nav_list li a br {
        display: none;
    }

    .nav_list li a,
    .nav_list li a div {
        color: #fff;
        text-decoration: none;
    }
  
    /* アイコンがクリックされたらメニューを表示 */
    #drawer_input:checked ~ .nav_content {
        bottom: 0;/* メニューを画面に入れる */
    }    
      
}