/* header */

#top-bar {
    width: 100%;
    background: #ffffff;
    color: #000000;
    position: relative;
}
.top-logo-box {
    width: 50%;
    margin: 30px auto;
}
.top-navi-box {
    width: 30%;
    position: absolute;
    z-index: 1;
    bottom: 10px;
    right: 10%;
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: end;
    gap: 20px;
}
#top-icon {
    display: block;
    width: 161px;
    margin: 0 auto;
}


.material-icons-outlined {
    vertical-align: middle;
}
.header-icons {
    font-size: 48px!important;
}


.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    padding: 10px 20px;
    background-color: #000000;
    color: #ffffff;
    width: 100%;
}

.custom-menu {
    background: #000000;
    color: #ffffff;
    display: flex;
}
.custom-menu ul {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: 20px 0;

}
.custom-menu ul li {
    font-size: 1.3rem;
    display: inline-block;
    justify-content: center;
    color: #ffffff;
    padding: 0 10px;

}


/* ハンバーガーボタン */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #fff!important;
    cursor: pointer;
    margin-left: auto;
    background: #000000!important;
    border: none!important;
}
@media (max-width: 1100px) {
    .top-navi-box {
        position: static;
        width: auto;
        background: transparent;
        display: flex;
        gap: 10px;
        margin: 10px 0 10px 0;
        justify-content: center;
    }
    .custom-menu ul li {
        font-size: 0.8rem;
        display: inline-block;
        justify-content: center;
        color: #ffffff;
        padding: 0 10px;

    }
}

/* モバイル用レイアウト調整 */
@media (max-width: 768px) {
    #top-bar {
        flex-direction: column;
        align-items: center;
    }
    #top-icon {
        display: block;
        width: 80px;
        margin: 0 auto;
    }
    .material-icons-outlined {
        vertical-align: middle;
    }
    .header-icons {
        font-size: 24px!important;
    }
    .header-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }
    .menu-toggle {
        color: #ffffff;
        display: block;
    }

    .custom-menu {
        display: none;
        width: 100%;
    }

    .custom-menu ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .custom-menu ul li {
        display: block;
        padding: 10px 0;
        border-top: 1px solid #333;
        width: 100%;
    }

    .custom-menu.active {
        display: block;
    }
}

