.popup_window {
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.popup_show {
  display: block;
}

.popup_show .popup_front {
  animation-name: popup_show_anime;
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(.22,1.1,.77,1.12);
  animation-fill-mode: forwards;
}

@-webkit-keyframes popup_show_anime {
  0% {
    -webkit-transform: translate(-50%,-50%) scale(0);
    transform: translate(-50%,-50%) scale(0)
  }
  100% {
    -webkit-transform: translate(-50%,-50%) scale(1);
    transform: translate(-50%,-50%) scale(1)
  }
}

@keyframes popup_show_anime {
  0% {
    -webkit-transform: translate(-50%,-50%) scale(0);
    transform: translate(-50%,-50%) scale(0);
  }
  100% {
    -webkit-transform: translate(-50%,-50%) scale(1);
    transform: translate(-50%,-50%) scale(1);
  }
}

.popup_back {
  background-color: rgba(0,0,0,0.4);
  width:100%;
  height:100%;
  position:fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  text-align: center;
}

.popup_front {
  display: block;
  background-color: #fff;
  max-width: 680px;
  width: 100%;
  /* height: 390px; */
  z-index: 9999;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: 0 auto;
  text-align: center;
  /* border-radius: 5px; */
  border: 1px solid #ff0718;
  padding: 20px;
}

.popup_nofixed .popup_front {
  position: absolute;
}

.popup_title {
  font-size: 20px;
  color: #ff0718;
  text-align: center;
  margin-top: 80px;
  margin-bottom: 40px;
  width: 100%;
  letter-spacing: 2px;
}

.popup_text {
  margin-bottom: 40px;
  color: #616161;
  width: 100%;
}

.text_red {
  color: #ff0718;
}

.popup_btn_wrap {
  text-align: center;
  width: 100%;
  margin-bottom: 80px;
}

a.popup_btn {
  display: inline-block;
  padding: 10px;
  width: 60%;
  background: #ff0718;
  color: #fff;
}

a.popup_btn:hover {
  opacity: 0.8;
}

.popup_close {
  display: block;
  cursor: pointer;
  width: 38px;
  height: 38px;
  position: absolute;
  top: 20px;
  right: 20px;
  margin:0;
  /* border-radius: 50%; */
  /* background-color:rgba(230,230,230,0.8); */
  /* position: absolute;*/
}

.popup_close span {
  color: #ff0718;
  font-size: 50px;
  line-height: 40px;
  pointer-events: none;
}

@media screen and (max-width:767px) {
  .popup_front {
    width: 86%;
  }
  /* .popup_close {
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
    top: 20px;
    right: 20px;
  } */
}




/* 各ポップアップ個別のスタイル
------------------------------------------------------------------------------ */
#popup_size_chart .popup_front {
  top: 100px;
  max-width: 1320px;
}
