header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--body_color);
    width: 100%;
    /* padding: 0.7rem; */
    border-bottom: solid 0.5px var(--text_color);
}
header a {
    color: unset;
    text-decoration: none;
}

header .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    width: 100%;
    margin: auto;
    padding: 0 8px;
}

header ul {
    display: flex;
    gap: 16px;
}

/* header .inner .main_menu {
    display: flex;
} */

/* header .inner li {
    padding: 1rem;
} */

/* ロゴ */
/* header .myicon1 {
    fill: black;
} */

/* .menu-item:hover > .sub-menu li {
    padding: 0;
} */

@media screen and (max-width: 768px) {
    header {
        position: fixed;
        top: 0px;
        left: 0;
        width: 100%;
    }

    header nav {
        display: none;
    }

    header .inner {
        background-color: var(--body_color);
        z-index: 999;
    }

    /* 非表示 */
    header .inner {
        position: relative;
    }

    header .inner .main_menu {
        flex-direction: column;
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(0%, 7%);
        -webkit-transform: translate(0%, 7%);
        background-color: var(--body_color);
        width: 100% !important;
        padding: 1rem;
        height: calc(100vh / 2);
        border-top: solid 0.5px var(--text_color);
    }
}

/* サブメニュー */

/* .sub-menu li {
    display: none;
}

.menu-item:hover > .sub-menu li {
    display: block;
} */

/* ハンバーガーメニュー */
.hamburger_menu {
    display: none !important;
    cursor: pointer;
}

.hamburger_menu span {
    display: block;
    width: 30px;
    height: 1px;
    margin: 8px;
    margin-left: auto;
    background-color: var(--text_color);
    border-radius: 1px;
    transition: 0.5s;
}

.hamburger_menu .Centerline {
    width: 26px;
}

.hamburger_menu .Lastline {
    width: 22px;
}

/* ハンバーガーメニューが「開」状態のときのスタイル */
.hamburger_menu.open .Firstline {
    transform: rotate(45deg) translate(7px, 6px);
}

.hamburger_menu.open .Centerline {
    opacity: 0;
}

.hamburger_menu.open .Lastline {
    transform: rotate(-45deg) translate(7px, -6px);
    width: 30px !important;
}

@media screen and (max-width: 768px) {
    .hamburger_menu {
        display: block !important;
    }
    .drawer-overlay {
        display: none;
        width: 100%;
        height: 100%;
        display: none;
        background: #000000d4;
        opacity: 0.7;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 998;
    }
}
