body {
  font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック", YuGothic, "メイリオ", "Meiryo", sans-serif;
}

.annotation {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin-left: 0px;
  margin-top: 0px;
  padding: 0em;
  width: 240px;
  color: #fff;

}


p {
  margin: 0;
}

.anno_icon {
  width: 40px;
  height: 40px;
  position: absolute;
  top: -40px;
  left: -20px;
  cursor: pointer;

}
.anno_icon img{
  width: 100%;
  height: 100%;
}

.anno_icon::before, 
.anno_icon::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;

}




.anno_icon:hover::before, 
.anno_icon:hover::after {
  border: 1px solid #6699CC;
  animation: pulsate 2s linear infinite;
}
.anno_icon:hover::after {
  animation-delay: 1s;
}
@keyframes pulsate {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}




.anno_contents {
  display: none;
  background: rgba(20, 20, 20, 0.8);
  width: 300px;
  height: auto;
  padding: 5%;
  border-radius: 5px;
  
  opacity:0;
}
@media only screen and (max-width: 768px) {
  .anno_contents {
    width: 100%;
  }
}


.anno_contents p{
  color: #fff;
  font-size: 15px;
  font-weight: bold;

}

@media only screen and (max-width: 768px) {
  .anno_contents p{
    font-size: 13px;
  }
}
.annotation:hover {
  z-index: 9999;
  opacity: 1!important;
}
.annotation:hover .anno_contents {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -10px;
  left: 20px;
  animation-name:fadeInAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
}

@media only screen and (max-width: 768px) {
  .annotation:hover .anno_contents {
    left: -50%;
    top: 10px;
  }
}


@keyframes fadeInAnime{
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.annotation:hover .anno_contents::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 0;
  margin-left: -25px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: 20px solid rgba(20, 20, 20, 0.8);
}

@media only screen and (max-width: 768px) {
  .annotation:hover .anno_contents::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 50%;
    margin-left: -10px;
    transform: translateY(-50%);
    border: 10px solid transparent;
    border-bottom: 20px solid rgba(20, 20, 20, 0.8);
  }
}





#annoInfo1::before {
  content: '2';
  color: #fff;
  font-weight: bold;
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: #fff;
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  border: 0px solid #fff;
  border-radius: 50%;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  background-image: url("zad2.gif");
}

#annoInfo11 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin-left: 15px;
  margin-top: 15px;
  padding: 1em;
  width: 240px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: .5em;
  font-size: 8px;
  line-height: 1.2;
  transition: opacity .5s;
}

/*  pointer-events: none;*/

#annoInfo2 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin-left: 0px;
  margin-top: 0px;
  padding: 0em;
  width: 240px;
  color: #fff;
  pointer-events: none;
}
#annoInfo2::before {
  content: '1';
  color: #fff;
  font-weight: bold;
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: #fff;
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  border: 0px solid #fff;
  border-radius: 50%;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  background-image: url("zad2.gif");
}

#annoInfo22 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  margin-left: -265px;
  margin-top: 15px;
  padding: 1em;
  width: 240px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  border-radius: .5em;
  font-size: 8px;
  line-height: 1.2;
  transition: opacity .5s;
}

/*  pointer-events: none;*/

#number {
  position: absolute;
  z-index: -1;
}

#btnInfo1 {
  position: absolute;
  z-index: 2;
  content: '';
  color: #fff;
  font-weight: bold;
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: #fff;
  position: absolute;
  margin-left: -12px;
  margin-top: -12px;
  top: 0px;
  left: 0px;
  width: 24px;
  height: 24px;
  border: 0px solid #fff;
  border-radius: 50%;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  background-image: url("lod2.gif");
}

#btnInfo2 {
  position: absolute;
  z-index: 2;
  content: '';
  color: #fff;
  font-weight: bold;
  -webkit-text-stroke-width: 0px;
  -webkit-text-stroke-color: #fff;
  position: absolute;
  margin-left: -12px;
  margin-top: -12px;
  top: 0px;
  left: 0px;
  width: 24px;
  height: 24px;
  border: 0px solid #fff;
  border-radius: 50%;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  background-image: url("lod2.gif");
}

