@charset "UTF-8";
#modal {
  position: fixed;
  max-height: 90vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 86%;
  max-width: 650px;
  font-size: 20px;
  overflow: auto;
  border-radius: 1.5em;
  background: #fff;
  z-index: 9999;
}
#modal_bg {
  background: rgba(0,0,0,0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
}
#modal_in {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #fff;
}
.modal_slides_wrap {
  width: 400%;
  overflow: hidden;
  transition: transform 1s ease;
  align-items: start;
}
.q1_head {
  width: 66%;
  margin: 0 auto;
}
#modal_in img {
  max-width: 100%;
  height: auto;
}
.modal_slide {
  padding: 2.5em 2em;
  background: #fff;
  width: 25%;
  float: left;
}
.q1_title {
  display: block;
  text-align: center;
  font-size: 3.5em;
  font-weight: bold;
  line-height: 1.15;
  margin: 0.25em auto;
}
.q1_title_text {
  font-size: 1.2em;
  text-align: center;
}
#modal_slide1 .qa_wrap {
  padding-top: 2em;
}
.qa_num {
  text-align: center;
  margin-bottom: 1.3em;
}
.q_text {
  font-size: 1.9em;
  font-weight: bold;
  display: table;
  margin: 0 auto;
  white-space: nowrap;
}
.q_text .red {
  color: #c10600;
}
#modal .a_button {
  font-size: 1.35em;
  color: #555555;
  display: block;
  border: 1px solid #9b9b9b;
  border-radius: 0.625em;
  padding: 0.95em;
  padding-left: 4em;
  margin-top: 0.6em;
  background-image: url(../images/modal/a_check.png);
  background-repeat: no-repeat;
  background-position: 1em center;
  white-space: nowrap;
  transition: transform 0.5s ease,border 0.5s ease,box-shadow 0.5s ease;
  background-size: 2em auto;
}
#modal .a_button.icon_x {
  background-image: url(../images/modal/a_check_no.png);
}
#modal_slide1 .q_text {
  display: block;
}
.q_text small {
  font-size: 0.65em;
}
.q1_title small {
  font-size: 0.7em;
}
.result_box {
  text-align: center;
}
.result_text2 {
  background: #c10600;
  color: #fff;
  display: inline-block;
  padding: 0 1em;
  line-height: 2.3;
  font-weight: bold;
}
.result_text1 {
  margin-bottom: 2.3em;
}
#modal_slide4 .result_button {
  display: block;
  background-color: #00a523;
  color: #fff;
  font-size: 1.5em;
  padding: 1.1em 0;
  margin: 0 auto;
  border-radius: 0.6em;
  background-image: url(../images/modal/btn_arrow.png);
  background-repeat: no-repeat;
  background-position: 95% center;
  margin-bottom: 1.6em;
}
.result_text3 {
  padding: 1.8em 0 3em;
}
.result_tips li {
  text-align: left;
  font-size: 0.9em;
  font-weight: bold;
}
#modal,#modal_bg {
  display: none;
}
#modal .a_button:hover {
  opacity: 1;
  transform: translateY(-0.15em);
  box-shadow: 0 0.5em 0.75em -0.15em rgba(0, 0, 0, 0.1);
  border-color: #7c4dff;
  text-decoration: none;
}
#modal .a_button.pulse {
  animation: pulse 0.4s ease-in-out;
}
.result_image {
  width: 98.6%;
  margin: 0 auto;
}

#ridatsu_popup {
  position: fixed;
  z-index: 999999;
  width: 100%;
  max-height: 100%;
  overflow: auto;
  left: 0;
  top: 50%;
  transform: translate(-0%,-50%);
  display: none;
}
.popup {
  position: relative;
  max-width: 614px;
  margin: 0 auto;
  text-align: center;
  padding: 1.3%;
}
.popup_btn {
  position: absolute;
  z-index: 99999;
  bottom: 7%;
  display: block;
  width: 76%;
  left: 12%;
}
.popup_close {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 8.1%;
}
.popup img {
  height: auto;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(124, 77, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(124, 77, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(124, 77, 255, 0);
  }
}
@media screen and (max-width:750px){
  #modal {
    font-size: 2.6666vw;
  }
  #modal_in .qa_num img {
    height: 2.75em;
    width: auto;
  }
}