/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(32, 64, 64, 0.95);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;  /* 変更：右寄せのため */
    align-items: center;
    padding: 0 2rem;
    position: relative;  /* 追加：絶対配置の基準点として */
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #9FE2BF;
}

.language-selector {
    position: relative;
    padding: 0 1rem;
    margin-left: auto;
}

.language-selector button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
}

.language-selector button i {
    margin-right: 0.25rem;
}

/* Mobile Menu Button */
.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        justify-content: space-between;
    }
    
    .logo {
        position: static;
    }
    
    .language-selector {
        position: static;
    }
    
    .mobile-menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(32, 64, 64, 0.95);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }

    .nav-links.show {
        display: flex;
    }
}