/* メニューボタンのスタイル */
.menu-button {
    padding: 10px 20px;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
    border: none;
    border-radius: 30px; /* ここでメニューボタンの丸みを設定 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.menu-button:hover {
    background-color: #f5f5f5;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* ヘッダー部分のスタイル */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1001;
    padding-top: 10px;
}

.logo {
    width: 150px;
    height: auto;
    z-index: 10;
}

.nav-toggle {
    order: 1;
    flex-basis: 15%;
    display: flex;
    justify-content: flex-start;
}

.language-switcher {
    margin-left: auto;
    order: 3;
    flex-basis: 15%;
    display: flex;
    justify-content: flex-end;
}



header {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-list {
    display: flex;
    list-style-type: none;
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    align-items: center;
}

.nav-item a {
    text-decoration: none;
    color: inherit;
    padding: 10px;
    transition: color 0.3s;
}

.nav-item a:hover {
    color: #3498db;
}

.close-button a {
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    right: 10px;
    top: 10px;
}

/* フッター部分のスタイル */
footer {
    background-color: #f9f9f9;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid #e4e4e4;
    font-size: 0.9rem;
}

/* メディアクエリによるレスポンシブ対応 */
@media (min-width: 769px) {
    .close-button {
        display: none;
    }

    .nav-toggle {
        display: none; 
    }
}

@media (max-width: 768px) {
    .close-button {
        display: none;
    }

    .nav-list.active .close-button {
        display: block;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
        position: fixed;
        width: 100%;
        top: 60px;
        left: 0;
        background-color: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
        z-index: 1001;
    }

    .nav-list.active {
        display: flex;
    }

    .logo-container {
        order: -1;
    }
}

