/* ------------ポップアップ------------ */
.modal_wrap input {
  display: none;
}

.modal_wrap .modal_overlay #modal_label {
  border: none;
  background: none;
}

.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999999;
  width: 100%;
  height: 100%;
  background-color: rgba(50, 50, 50, 0.6);
  opacity: 0;
  transition: opacity 0.2s, transform 0s 0.2s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
  position: absolute;
  top: 50%;
  left: 50%;
  align-self: flex-start;
  width: 80%;
  max-width: 400px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transition: 0.5s;
  line-height: 1.4;
  font-weight: 100;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 12px 27px 2px;
  background-color: #fff;
}

.modal_content a{
  color: #333;
  text-decoration: none;
}

.modal_content a:hover{
  text-decoration: none;
}

.modal_content h2{
  font-size: 1.4rem;
  padding: .5em;
  text-align: center;
  font-weight: bold;
  background: linear-gradient(#f7eed3, #ffac00);
  color: #fff;
  white-space: pre-wrap;
  border: none;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
}

.modal_content p{
  font-size: 1.7rem;
  font-weight: bold;
	margin-top:12px;
  padding: 0em 0 .5em;
  text-align: center;
}

.modal_content .popUp_btn{
  width: 100%;
  margin: 0 auto;
  background-color: #50D890;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  padding: .5em 0;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 5px 0 #30B870;
}

.modal_content .pop_content .pop_content_img{
  width: 100%;
}
/* 
@media screen and (max-width : 480px) {
  .modal_content .pop_content .pop_content_img {
	 margin:-1.5em auto -1.5em;
	}
} */


.modal_wrap input:checked~.modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s;
}

.modal_content img{
  max-width: 100%;
  vertical-align: bottom;
}

.popBtn_wrap{
  position: relative;
  background-image: url(/wp-content/themes/custom-theme/images/pop/map.png);
  background-size: cover;
  height: 340px;
}

.popBtn_wrap button {
  background-color: #fff;
  font-size: 1em;
  padding: 0.3em 1em;
  border-radius: 5px;
  border: 1px solid #333;
  box-shadow: black 3px 2px 0px 0px;
}

.button_hokkaido {
  position: absolute;
  top: 46px;
  right: 24px;
}

.button_tohoku {
  position: absolute;
  top: 149px;
  right: 24px;
}

.button_kanto {
  position: absolute;
  bottom: 60px;
  right: 54px;
}

.button_hokuriku {
  position: absolute;
  top: 176px;
  right: 154px;
}

.button_chubu {
  position: absolute;
  bottom: 7px;
  right: 154px;
}

.button_kansai {
  position: absolute;
  bottom: 50px;
  left: 130px;
}

.button_chugoku {
  position: absolute;
  bottom: 96px;
  left: 84px;
}

.button_shikoku {
  position: absolute;
  bottom: 7px;
  left: 73px;
}

.button_kyushu {
  position: absolute;
  bottom: 49px;
  left: 6px;
}

/* .button_okinawa {
  position: absolute;
  top: 46px;
  left: 37px;
} */

#modal_content_in {
  background-color: #adecff;
}

#modal_content_in h2 {
  background: #2fc6f4;
  border-bottom: 3px solid #fff;
}

@media screen and (max-width : 480px) {
  .modal_content h2{
    font-size: 4vw;
  }
  .modal_content p{
    font-size: 5vw;
  }

  .modal_content .popUp_btn{
    font-size: 4vw;
  }

  .popBtn_wrap{
     height: 68vw;
  }

  .popBtn_wrap button {
    font-size: 0.9em;
  }

  .button_hokkaido {
    top: 8vw;
    right: 3vw;
  }
  
  .button_tohoku {
    top: 29vw;
    right: 4vw;
  }
  
  .button_kanto {
    bottom: 10vw;
    right: 5vw;
  }
  
  .button_hokuriku {
    top: 33vw;
    right: 32vw;
  }
  
  .button_chubu {
    bottom: 2.5vw;
    right: 24vw;
  }
  
  .button_kansai {
    bottom: 12vw;
    left: 25vw;
  }
  
  .button_chugoku {
    bottom: 22vw;
    left: 10vw;
  }
  
  .button_shikoku {
    bottom: 2vw;
    left: 16vw;
  }
  
  .button_kyushu {
    bottom: 11.2vw;
    left: 0.8vw;
  }
  
  /* .button_okinawa {
    top: 6vw;
    left: 7vw;
  } */
}