.topppa-hotspot-box {
  position: relative;
  margin: auto;
}
.topppa-hotspot-box .topppa-hotspot-map {
  position: relative;
  width: 100%;
  height: 50rem;
  background-size: cover;
  background-repeat: no-repeat;
}
.topppa-hotspot-box .topppa-hotspot-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.topppa-hotspot-box .topppa-hotspot-background img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.topppa-hotspot-box .topppa-hotspot-item {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.topppa-hotspot-box .topppa-hotspot-item.map-item1:not([style*=top]) {
  top: 30%;
  left: 20%;
}
.topppa-hotspot-box .topppa-hotspot-item.map-item2:not([style*=top]) {
  top: 25%;
  left: 45%;
}
.topppa-hotspot-box .topppa-hotspot-item.map-item3:not([style*=top]) {
  top: 35%;
  left: 70%;
}
.topppa-hotspot-box .topppa-hotspot-item.map-item4:not([style*=top]) {
  top: 60%;
  left: 30%;
}
.topppa-hotspot-box .topppa-hotspot-item.map-item5:not([style*=top]) {
  top: 50%;
  left: 50%;
}
.topppa-hotspot-box .topppa-hotspot-item.map-item6:not([style*=top]) {
  top: 65%;
  left: 80%;
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-marker {
  position: relative;
  width: 3rem;
  height: 3rem;
  cursor: pointer;
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-marker .topppa-hotspot-ripple {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--topppa-color-primary);
  border-radius: 50%;
  animation: riple 2.5s infinite;
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-marker .topppa-hotspot-number {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--topppa-color-white);
  font-size: 12px;
  background-color: var(--topppa-color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.3);
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-content-box {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-100%) scale(0.95);
  width: 28rem;
  padding: 2rem;
  background-color: var(--topppa-color-white);
  border-radius: 0.8rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
  text-align: center;
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-content-box.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-100%) scale(1);
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-content-box:after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 0.8rem solid var(--topppa-color-white);
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-content-box .topppa-hotspot-title {
  margin: 0 0 1rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  line-height: normal;
}
.topppa-hotspot-box .topppa-hotspot-item .topppa-hotspot-content-box .topppa-hotspot-description {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #666;
}
.topppa-hotspot-box .topppa-hotspot-item:hover .topppa-hotspot-content-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-100%) scale(1);
}
@keyframes riple {
  0% {
    transform: scale(1);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}