.header_top_links {
    /* display: flex; */
    width: 100%;
    text-align: center;
}

.header_logo_area {
    width: 100%;
    padding: 5px;
}

.header_logo {
    width: 100px;
    height: auto;
    /* background-color: grey; */
}

.header_line {
    padding: 5px;
    width: 100%;
    background-color: #27c82d;
    color: white;
    text-align: center;
}

.header_line_reservation {
    display: flex;
    width: fit-content;
    margin: 0 auto;
}

.header_line_text {
    margin: auto 0;
}

.header_line_link {
    text-decoration: none;
    color: white;
}

/* .header_line_arrow {
    color: white;
    line-height: 1;
    margin: auto 30px;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent;
    border-width: 0.375em 0.64952em;
    border-left-color: currentColor;
    border-right: 0;
}

.header_line_icon {
    height: 60px;
    width: 60px;
    background-color: white;
} */

.header_menus {
    list-style: none;
    padding: 0;
    margin: 15px auto 5px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.header_menu_content {
    position: relative;
    padding: 0 15px 10px;
    color: black;
}

.header_menu_content::after {
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background-color: #b8ab8b;
    bottom: -1px;
    visibility: hidden;
}

.header_menu_content:hover::after {
    visibility: visible;
}

@media screen and (max-width: 479px) {
    .header {
        width: 100%;
        height: 80px;
        z-index: 100;
    }

    .header_top_links {
        display: flex;
        justify-content: space-between;
        /* アイテムを均等に配置する */
        align-items: center;
        /* アイテムを中央に揃える */
        width: 100%;
        height: 100%;
    }

    .sp_line_reservation {
        display: flex;
        flex-direction: column;
        width: 50px;
        height: 50px;
        margin: 0 10px 10px;
        font-size: 10px;
        background-color: #27c82d;
        color: white;
    }

    .sp_line_icon {
        display: flex;
        width: 25px;
        height: 25px;
        margin: 4px auto;
        background-color: white;
    }

    .sp_line_text {
        margin: 0 auto 2px;
        padding-top: 15px;
    }

    .header_logo_area {
        position: relative;
        width: initial;
        margin: 10px 25px;
        left: 65%;
        transform: translateX(-100%);
        flex-grow: 1;
        /* ロゴエリアに柔軟な成長を許可する */
        text-align: center;
        /* ロゴを中央に配置する */
    }

    .sp.sp_line_reservation,
    .header_line.pc {
        /* 他の要素も同じく柔軟に成長する */
    }

    .header_logo {
        width: 60px;
        height: auto;
    }

    .sp_hamburger_menu {
        position: relative;
        z-index: 100;
/* 
        &:has(.hamburger_menu_box input:checked) {
            .hamburger_menu_box span {
                background-color: rgba(255, 255, 255, 0);
            }

            .hamburger_menu_box span::before {
                bottom: 0;
                transform: rotate(45deg);
            }

            .hamburger_menu_box span::after {
                top: 0;
                transform: rotate(-45deg);
            }

            .hamburger_menus {
                grid-template-rows: 1fr;
            }
        } */
    }

    .hamburger_menu_box.active span {
        background-color: rgba(255, 255, 255, 0);
    }

    .hamburger_menu_box.active span::before {
        bottom: 0;
        transform: rotate(45deg);
    }

    .hamburger_menu_box.active span::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .hamburger_menus.active {
        grid-template-rows: 1fr;
    }

    .hamburger_menu_box {
        position: absolute;
        top: -65px;
        right: 0;
        display: flex;
        height: 32px;
        width: 32px;
        margin-top: 10px;
        margin-right: 10px;
        justify-content: center;
        align-items: center;
        z-index: 50;
    }

    .hamburger_menu_box span,
    .hamburger_menu_box span::before,
    .hamburger_menu_box span::after {
        content: '';
        display: block;
        height: 4px;
        width: 32px;
        border-radius: 4px;
        background-color: #666666;
        position: absolute;
    }

    .hamburger_menu_box span::before {
        bottom: 12px;
    }

    .hamburger_menu_box span::after {
        top: 12px;
    }
    .hamburger_menus {
        position: relative;
        display: grid;
        background-color: #666666;
        grid-template-rows: 0fr;
        transition: grid-template-rows 0.3s ease-in-out;
        z-index: 100;
    }

    .hamburger_menu_list {
        list-style: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
        z-index: 100;
    }

    .hamburger_menu_content {
        padding: 15px;
        padding-right: 0px;
        border-bottom: solid 1px white;
        text-align: center;
        color: white;
        text-align: left;
        z-index: 100;
    }

    .hamburger_menu_list>.hamburger_menu_content::after {
        content: '';
        width: 0;
        height: 0;
        border: 5px 0 5px 7px solid transparent;
        border-bottom: white;
        display: inline-block;
        vertical-align: middle;
        position: relative;
        top: -2px;
    }
}