/* ------------ポップアップ------------ */
.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: #ecfaff;
  border-radius: 16px;
  border: solid 4px #2dc8eb;
}

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

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

.modal_content h2{
  font-size: 1.2em;
  padding: .5em;
  text-align: center;
  font-weight: bold;
  background: #32c5e5;
  background-size: 8px 8px;
  color: #fff;
  white-space: pre-wrap;
  border: none;
  margin: 0;
  box-shadow: none;
  border-radius: 12px 12px 0 0;
}

.modal_content h2 strong {
  color: #f9ff52;
  background: #38c5e5;
}

.modal_content p{
  font-size: 1.2em;
  font-weight: bold;
  padding: 0em 0 .5em;
  text-align: center;
}

.modal_content .popUp_btn{
  width: 100%;
  margin: 8px auto;
  background: #f59537;
  border: solid 2px #fd9025;
  box-shadow: 0 5px 0 #dc7b1d;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  padding: .5em 0;
  text-align: center;
  border-radius: 6px;
}

.modal_content .pop_content {
  padding: 10px;
  background: #f5fdff;
}

.modal_content .pop_content .pop_content_img{
  width: 100%;
}


.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: 5vw;
  }
  .modal_content p{
    font-size: 5vw;
  }

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