/*
Theme Name: OLTANA-005 Child
Theme URI: https://joyamakokusai.com/
Description: OLTANA-005の子テーマ - 城山国際医院用カスタマイズ
Author: Joyama International Clinic
Author URI: https://joyamakokusai.com/
Template: oltana-005
Version: 1.0.0
*/

/* ========================================
   言語切り替えバー - ダークスタイル
======================================== */
.ol-language-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 6px 36px;
    background-color: #f5f3f0;
    border-bottom: 1px solid #e8e4df;
    position: relative;
    z-index: 1000;
}

.ol-language-bar .ol-language-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    z-index: 1001;
}

/* テキストリンク風 */
.ol-language-bar .ol-language-switcher a.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 400;
    color: #888888;
    background: none;
    border: none;
    border-right: 1px solid #cccccc;
    border-radius: 0;
    text-decoration: none !important;
    transition: color 0.2s ease;
    position: relative;
    z-index: 1002;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.ol-language-bar .ol-language-switcher a.lang-btn:last-child {
    border-right: none;
}

/* ホバー時 - ゴールドに変化 */
.ol-language-bar .ol-language-switcher a.lang-btn:hover {
    color: #8b7355;
    font-weight: 600;
    background: none;
}

/* アクティブ（現在の言語） */
.ol-language-bar .ol-language-switcher a.lang-btn.active {
    color: #5a5a5a;
    font-weight: 600;
    background: none;
}

/* ----------------------------------------
   レスポンシブ
---------------------------------------- */
@media (max-width: 1079px) {
    .ol-language-bar {
        justify-content: center;
        padding: 6px 24px;
    }
}

@media (max-width: 640px) {
    .ol-language-bar {
        padding: 5px 16px;
    }
    
    .ol-language-bar .ol-language-switcher a.lang-btn {
        padding: 3px 10px;
        font-size: 11px;
    }
}

/* ========================================
   言語バー - クリック可能にする修正
======================================== */

.ol-language-bar {
    position: relative;
    z-index: 1000;
}

.ol-language-bar .ol-language-switcher {
    position: relative;
    z-index: 1001;
}

.ol-language-bar .ol-language-switcher a.lang-btn {
    position: relative;
    z-index: 1002;
    pointer-events: auto !important;
    cursor: pointer !important;
}
