/* 通知システム */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
}

.notification {
  margin-bottom: 10px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  animation: slideIn 0.3s ease-out;
  cursor: pointer;
}

.notification.error {
  background-color: #fee;
  border-left: 4px solid #dc3545;
  color: #721c24;
}

.notification.success {
  background-color: #d4edda;
  border-left: 4px solid #28a745;
  color: #155724;
}

.notification.warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  color: #856404;
}

.notification.info {
  background-color: #d1ecf1;
  border-left: 4px solid #17a2b8;
  color: #0c5460;
}

.notification-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.6;
  color: inherit;
}

.notification-close:hover {
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
  .notification-container {
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .notification {
    padding: 12px 16px;
    font-size: 13px;
  }
}
