#cookie-consent-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

.cookie-popup-container {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}

.cookie-popup-content {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 50px 70px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.cookie-text-container {
    flex: 3;
    padding-right: 30px;
    display: flex;
    justify-content: center;
}

.cookie-button-container {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.cookie-popup-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #575757;
}

.cookie-link {
    color: #0066cc;
    text-decoration: underline;
}

#cookie-consent-accept {
    background-color: #0068DE;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    min-height: 40px;
}

.cookie-close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    position: absolute;
    top: 0;
    right: 20px;
}

/* 大画面サイズでの表示調整 */
@media (min-width: 1440px) {
    .cookie-text-container {
        flex: 4;
    }
    
    .cookie-button-container {
        flex: 1;
    }
}

/* タブレットサイズでの表示調整 */
@media (max-width: 1024px) {
    .cookie-popup-content {
        padding: 40px 50px;
    }
    
    .cookie-text-container {
        flex: 2;
    }
    
    .cookie-button-container {
        flex: 1;
    }
}

/* スマートフォンサイズでの表示調整 */
@media (max-width: 768px) {
    .cookie-popup-content {
        flex-direction: column;
        align-items: stretch;
        padding: 35px;
        padding-top: 45px; /* ×ボタンのためのスペース */
    }
    
    .cookie-text-container {
        flex: auto;
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    .cookie-button-container {
        flex: auto;
        max-width: none;
        width: 100%;
    }
    
    #cookie-consent-accept {
        width: 100%;
    }
    
    .cookie-close-btn {
        top: 0;
        right: 10px;
    }
}

/* 小さい画面サイズでの表示調整 */
@media (max-width: 480px) {
    .cookie-popup-content {
        padding: 30px 20px;
        padding-top: 40px; /* ×ボタンのためのスペース */
    }
}
