/* クッキー同意バナー - 黒と緑の統一デザイン */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #00ff00;
    padding: 20px;
    border-top: 2px solid #00ff00;
    z-index: 10000;
    font-family: 'Courier New', monospace;
    backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 255, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-consent-text p {
    margin: 0 0 10px 0;
    color: #00ff00;
}

.cookie-consent-text a {
    color: #00ff00;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.cookie-consent-text a:hover {
    color: #00cc00;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    background: #000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 100px;
}

.cookie-consent-btn:hover {
    background: #00ff00;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.3);
}

.cookie-consent-btn:active {
    transform: translateY(0);
}

.cookie-consent-btn.accept {
    background: #00ff00;
    color: #000;
    font-weight: bold;
}

.cookie-consent-btn.accept:hover {
    background: #00cc00;
    color: #000;
}

.cookie-consent-btn.reject {
    background: transparent;
    color: #ff0000;
    border-color: #ff0000;
}

.cookie-consent-btn.reject:hover {
    background: #ff0000;
    color: #000;
}

.cookie-consent-btn.settings {
    background: transparent;
    color: #ffff00;
    border-color: #ffff00;
}

.cookie-consent-btn.settings:hover {
    background: #ffff00;
    color: #000;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-text {
        min-width: auto;
        margin-bottom: 15px;
    }
    
    .cookie-consent-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .cookie-consent-btn {
        flex: 1;
        min-width: 80px;
    }
}

/* プライバシーポリシーページ */
.privacy-policy {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #00ff00;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    border: 2px solid #00ff00;
    border-radius: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.privacy-policy h1 {
    color: #00ff00;
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.privacy-policy h2 {
    color: #00ff00;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid #00ff00;
    padding-bottom: 5px;
}

.privacy-policy p {
    margin-bottom: 15px;
    color: #00ff00;
}

.privacy-policy ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.privacy-policy li {
    margin-bottom: 8px;
    color: #00ff00;
}

.privacy-policy .back-btn {
    display: inline-block;
    background: #000;
    color: #00ff00;
    border: 1px solid #00ff00;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.privacy-policy .back-btn:hover {
    background: #00ff00;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 0, 0.3);
}

/* クッキー設定モーダル */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: rgba(0, 0, 0, 0.95);
    color: #00ff00;
    padding: 30px;
    border: 2px solid #00ff00;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
}

.cookie-settings-content h2 {
    color: #00ff00;
    margin-bottom: 20px;
    text-align: center;
}

.cookie-setting-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #00ff00;
    border-radius: 5px;
}

.cookie-setting-item h3 {
    color: #00ff00;
    margin-bottom: 10px;
    font-size: 16px;
}

.cookie-setting-item p {
    color: #00ff00;
    margin-bottom: 10px;
    font-size: 14px;
}

.cookie-setting-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-setting-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #00ff00;
}

.cookie-settings-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.cookie-settings-buttons .cookie-consent-btn {
    min-width: 120px;
}
