.language-dropdown {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 999998;
}

.dropdown-button {
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-menu {
    z-index: 999997;
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-top: 5px;
    min-width: 120px;
    
    /* アニメーション関連の追加 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

/* 表示時のスタイル */
.language-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    /* オプション選択時のアニメーション */
    transition: background-color 0.2s ease;
}

.language-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-option.active {
    color: black;
    font-weight: bold;
}

.language-option.inactive {
    color: #666;
    font-weight: normal;
}