/* ------------ポップアップ------------ */
.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(#D3ECF7, #00A2EA);
  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;
}

@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;
  }
}