.popup_wrap input {
  display: none;
}
.popup_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 98;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}
.popup_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
.popup_content {
  position: relative;
  align-self: center;
  width: 90%;
  max-width: 800px;
  padding: 30px 40px;
  box-sizing: border-box;
  background: #ffff;
  line-height: 1.4em;
  transition: 0.5s;
  text-align: justify;
}
.close_btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 14px;
  cursor: pointer;
  padding: 8px;
  background: #66CDAA;
  color: #ffff;
  border-radius: 15px;
  line-height: 14px;
  font-weight: bold;
}
.popup_wrap input:checked ~ .popup_overlay {
  opacity: 1;
  transform:scale(1);
  transition: opacity 0.5s;
  z-index: 15;
}
.popup_wrap input:checked ~ .popup_overlay .popup_content {
  transform: translateY(50px);
}
.open_btn01 {
  display: block;
  text-align: left;
  vertical-align: middle;
  text-decoration: none;
  max-width: 151px;
  min-width: 151px;
  margin: auto;
  font-weight: bold;
  background: #008F79;
  color: #fff;
  transition: 0.5s;
  border-radius: 6px;
  font-size: 0.8em;
  width: 151px;
  line-height: 38px;
  height: 41px;       /* 囲み線border3pxを考慮 */ 
  border: 3px solid #008F79;
  padding-left: 10px;
}
.open_btn01:hover {
  color: #008F79;
  background: #fff;
}
.open_btn01:after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  right: 10%;
  width: 0;
  height: 0;
  margin-top: -5px;
  border: 6px solid transparent;        /*top right bottom を透明化 */ 
  border-left: 10px solid #fff;
}
.open_btn02 {
  display: flex;
  align-items: center;
  padding: 20px 12px 15px;
  text-decoration: none;
  font-weight: bold;
  background: #008F79;
  color: #fff;
  transition: 0.5s;
  border-radius: 10px;
  font-size: 1.1em;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: 0px 4px 8px 0px #3333;
  justify-content: center;
}
.open_btn02:hover {
  color: #008F79;
  background: #fff;
}
.open_btn02:after {
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  right: 3%;
  width: 0;
  height: 0;
  margin-top: -5px;
  border: 6px solid transparent;        /*top right bottom を透明化 */ 
  border-left: 10px solid #fff;
}
.open_btn03 {
  display: flex;
  align-items: center;
  padding: 10px;
  text-decoration: none;
  font-weight: 600;
  line-height: 150%;
  background: #008F79;
  color: #fff;
  transition: 0.5s;
  font-size: 16px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  box-shadow: 0px 4px 8px 0px #3333;
  justify-content: center;
  border-radius: 999px;
  width: 300px;
  height: 44px;
}
.open_btn03 span {
  flex-grow: 1;
  margin-left: 26px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 150%;
}
@media screen and (min-width: 740px) {
  .open_btn03 {
    width: 400px;
    height: 57px;
    padding: 15px 20px;
    justify-content: center;
  }
  .open_btn03 span {
    font-size: 18px;
  }
}
.select_btn {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 32px;
  background: #8D8B8B;
  border-radius: 4px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  line-heigt: 1.2em;
  -webkit-box-shadow: 0px 6px 3px -3px rgba(0,0,0,0.4);
  box-shadow: 0px 6px 3px -3px rgba(0,0,0,0.4);
  -webkit-transition: .12s;
  transition: .12s;
}
.select_btn:hover {
  background: #ffffff;
  border: solid 1px #8D8B8B;
  color: #8D8B8B;
  opacity: 0.8;
}


