.custom-popup-wrapper .popup-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 300px;
  width: 90%;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
  z-index: 9999;
  animation: fadeInUp 0.3s ease;
  cursor: pointer;
}

.custom-popup-wrapper .popup-content {
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
}

.custom-popup-wrapper .popup-image {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
}

.custom-popup-wrapper .popup-text {
  flex: 1;
  margin-left: 10px;
}

.custom-popup-wrapper .popup-text h4 {
  margin: 0 0 4px;
  font-size: 16px;
  color: #333;
}

.custom-popup-wrapper .popup-text p {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.custom-popup-wrapper .popup-close {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  border: none;
  font-size: 20px;
  color: #999;
  cursor: pointer;
}

.custom-popup-wrapper .popup-close:hover {
  color: #333;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.custom-popup-wrapper .modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.custom-popup-wrapper .modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 90%;
  width: 400px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease;
}

.custom-popup-wrapper .modal-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 10px;
}

.custom-popup-wrapper .modal-content h4 {
  margin: 10px 0 6px;
  font-size: 18px;
  color: #333;
}

.custom-popup-wrapper .modal-content p {
  font-size: 14px;
  color: #555;
}

.custom-popup-wrapper .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
}

.custom-popup-wrapper .modal-close:hover {
  color: #333;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* モバイル対応 */
@media (max-width: 480px) {
  .custom-popup-wrapper .popup-container {
    right: 10px;
    left: 10px;
    max-width: none;
    width: auto;
  }
}