/*
 * Common CSS for strm-tech.com
 *
 * 全ページ共通 (Home / Privacy Policy / CM / PIW / VC / 将来追加全ページ)
 * 現状は言語不一致バナーのみ。バナー表示判定・クローズ動作は /js/common.js に集約。
 */

/* 言語不一致バナー (4 条件 AND: ?lang= 言語強制 + Cookie cm_lang 未設定 + 外部リファラー + Accept-Language の主言語が ?lang= 値と異なる) */
.lang-banner {
    background: linear-gradient(135deg, #ffcc00 0%, #ff9900 100%);
    color: #1a1a1a;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    flex-wrap: wrap;
}

.lang-banner-text {
    font-weight: 500;
}

.lang-banner-link {
    color: #003366;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.lang-banner-link:hover {
    color: #001a33;
}

.lang-banner-close {
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #1a1a1a;
    margin-left: 8px;
    padding: 0 4px;
    font-weight: 700;
}

.lang-banner-close:hover {
    color: #666;
}

@media (max-width: 600px) {
    .lang-banner {
        font-size: 13px;
        padding: 10px 12px;
        gap: 8px;
    }
}
