
header {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #ff8000;
    height: 60px;
    z-index: 10;
    text-align: center;
    font-weight: bold;
    padding-left: 10px;
    padding-right: 10px;
}

#headerTitle {
    width: 100%;
    text-align: left;
    padding-left: 30px;
    font-weight: bold;
    font-size: 2.3rem;
    color: #FFF; /* 見出しテキストの色を指定する */
}

#sHeaderMenu {
    display: none;
}

.wrap input[type="checkbox"] {
    display: none;
}

/*画面サイズが992px以下だったら*/
@media (max-width: 992px) {
    #headerTitle {
        padding-left:0px;
        text-align: center;
        font-size: 35px;
    }
    #sHeaderMenu {
        display:block;
        font-size: 35px;
        color: #FFF;
        text-align: left;
    }
    .menu {
        position: fixed;
        width: 300px;
        height: 100%;
        right: -300px;
        background-color: #FFF;
        transition: all 0.3s;
    }

    .clicked .menu {
        right: 0px;
    }

    header .gnav .menu li {
        list-style: none; /* リストの[・]を消す */
        font-size:18px;
    }

    /*ハンバーガーメニュー　三本戦*/
    .ham {
        position: relative;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

    .ham_line {
        position: absolute;
        left: 10px;
        width: 30px;
        height: 3px;
        background-color: #FFF;
    }

    .ham_line1 {
        top: 10px;
    }

    .ham_line2 {
        top: 23px;
    }

    .ham_line3 {
        top: 36px;
    }
    .clicked .ham_line1 {
        transform: rotate(45deg); /*rotate(45deg)で時計回りに45度回転*/
        top: 20px;
    }

    .clicked .ham_line2 { /*width: 0pxで実質非表示*/
        width: 0px;
    }

    .clicked .ham_line3 {
        transform: rotate(-45deg); /*rotate(-45deg)で反時計回りに45度回転*/
        top: 20px;
    }
        .wrap label {
            display: block;
            padding: 8px;
            font-weight: bold;
            cursor: pointer;
        }

        .wrap .content {
            height: 0;
            overflow: hidden;
            margin-bottom: 5px;
        }

    .switch:checked + .content {
        height: auto;
        padding: 8px;
    }
}

/*画面サイズが992px以上だったら*/
@media (min-width: 992px) {
    header ul {
        display: block;
        list-style-type: none;
        margin-block-start: 0em;
        margin-block-end: 0em;
        margin-inline-start: 0px;
        margin-inline-end: 0px;
        padding-inline-start: 0px;
    }
    .gnav, #menu_wrapper {
        height: 100%;
        width: 100%;
    }
    header .gnav .menu {
        display: flex; /* 中の要素を横並びにする */
    }

        header .gnav .menu li {
            width: 100%;
            height: 100%;
        }

    .header_menu ul li ul {
        display: none;
    }
    ul {
        height: 100%;
    }

    .header_menu ul li:hover ul {
        display: block;
        background: #FFF;
    }

    .menuBtn {
        border-left: 1px solid #fff;
        padding: 0.6rem;
        font-size: 1.6rem;
        background-color: #ff8000;
        color: #fff;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-transition: all .3s;
        transition: all .3s;
    }

        .menuBtn:hover {
            background-color: #fff;
            color: #ff8000 !important;
        }

    .subMenuBtn, .subMenuBtn a {
        color: #ff8000;
        text-decoration: none;
        display: block; /* これで<li><li/>タグ内どこ押しても遷移する　*/
    }

        .subMenuBtn:hover, .subMenuBtn:hover a {
            color: #FFF;
            background: #ff8000;
        }

        .subMenuBtn a:hover {
            color: #fff;
            text-decoration: none;
        }

    .menuBtn:hover {
        color: #ff8000 !important;
    }
}
