/* Cookie同意バナーのスタイル */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.cookie-consent-text {
  flex: 1;
  color: #e5e5e5;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-consent-text p {
  margin: 0;
}

.cookie-consent-link {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-consent-link:hover {
  color: #93bbfc;
}

.cookie-consent-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-consent-btn-primary,
.cookie-consent-btn-secondary {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookie-consent-btn-primary {
  background-color: #4f46e5;
  color: white;
}

.cookie-consent-btn-primary:hover {
  background-color: #4338ca;
}

.cookie-consent-btn-secondary {
  background-color: rgba(75, 85, 99, 0.8);
  color: #e5e5e5;
  border: 1px solid rgba(156, 163, 175, 0.3);
}

.cookie-consent-btn-secondary:hover {
  background-color: rgba(75, 85, 99, 1);
  color: white;
}

#cookie-consent-options {
  margin-top: 1rem;
}

#cookie-consent-options label {
  display: block;
  margin: 0.5rem 0;
  cursor: pointer;
}

#cookie-consent-options input[type="radio"] {
  margin-right: 0.5rem;
}

.cookie-consent-note {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.5rem;
}

/* レスポンシブ対応 */
@media (max-width: 640px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-consent-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-consent-btn-primary,
  .cookie-consent-btn-secondary {
    flex: 1;
  }
}