*{
  margin:0;
  padding:0;
  font-style: normal;
  font-family: "Noto Sans JP", sans-serif;
}
#loading{
  position: fixed;
  width: 100%;
  height: 100%;
  background: #FFF;
  left: 0;
  top: 0;
  z-index: 999;
}
#loading p{
  position: absolute;
  left: 50%;
  top: 50%;
  text-align: center;
  color: #215de6;
  transform: translate(-50%,-50%);
  font-size: 18px;
  line-height: 18px;
  font-weight: 800;
  letter-spacing: 0.1rem;
  font-family: "Mochiy Pop One", sans-serif;
  animation: roop_flash 1.5s ease-in-out infinite;
}
@keyframes roop_flash {
  0%{
    opacity: 1;
  }
  50%{
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}
.mochiy-pop-one-regular {
  font-family: "Mochiy Pop One", sans-serif;
  font-weight: 400;
  font-style: normal;
}
body{
  background: #efece3;
}
header{
  position: relative;
  width: 100%;
  overflow: hidden;
}
header:after{
  content:"";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../img/effect.png") no-repeat center center;
  background-size: cover;
  mix-blend-mode: overlay;
  z-index: 0;
  left: 0;
  top: 0;
}


img{
  display: block;
  vertical-align: top;
}
.margin_w{
  position: relative;
  margin: 0 30px;
  z-index: 3;
}
h1{
  position:relative;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
}
#top h1{
  font-weight: 400;
  /*
  text-shadow: 4px 4px 0px #292929;
  */
  letter-spacing: 0.2rem;
  font-size: 52px;
  color: #FFF;
  padding-bottom: 15px;
  border-bottom:solid 2px #FFF;
  margin: 0 30px;
  width: auto;
  font-family: "Mochiy Pop One", sans-serif;
  text-shadow:
    -3px -3px 0 #2d63ca,
     0px -3px 0 #2d63ca,
     3px -3px 0 #2d63ca,
    -3px  0px 0 #2d63ca,
     3px  0px 0 #2d63ca,
    -3px  3px 0 #2d63ca,
     0px  3px 0 #2d63ca,
     3px  3px 0 #2d63ca,
     5px 5px 2px #1f4285;
}
#description{
  margin: 0 30px 30px;
  color: #FFF;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(30,110,170,1);
  font-size: 18px;
  line-height: 28px;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border: solid 2px #bcd0fe;
  text-align: justify;
  border-radius: 2px;
}
#wrapper{
  padding: 0 30px;
}
header{
  position: relative;
  max-width: 640px;
  padding: 60px 0 75px;
  margin: 0 auto 60px;
  /*
  background:url("../img/dotted.png") repeat left top #214ba5;
  background-size: 6px auto;
  */
  background-image: url("../img/dotted.png"), radial-gradient(ellipse at center,  #316df9 50%,#214ba5 100%,#214ba5 100%); 
  background-repeat: repeat;
  background-position: left top, center;
  background-size:  6px auto,auto;
  border-left: 1px solid #dcdcdc;
  border-right: 1px solid #dcdcdc;
}
header:before{
  content:"";
  position: absolute;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: solid 1px #FFF;
  border-radius: 5px;
  left: 10px;
  top:10px;
  box-sizing: border-box;
  z-index: 2;
}
#shindan{
  display: none;
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow: auto;
  left: 0;
  top: 0;
  background: rgba(255,255,255,0.95);
  z-index: 10;
}
#start_btn,#retry_btn{
  position: relative;
  width: auto;
  margin:0 30px;
}
#retry_btn{
  width: 70%;
  margin: 60px auto;
  text-decoration: none;
}
#sub{
  font-size: 36px;
}
.button{
  border-radius: 100px;
  overflow: hidden;
  background: #FFF;
  padding: 4px;
  box-shadow: 2px 2px 4px rgba(30,102,165,0.8);
}
.button_sub{
  border-radius: 100px;
  background: linear-gradient(to bottom,  #fae81d 50%,#efda11 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  color: #4e98e1;
  color: #2676ca;
  text-align: center;
  margin: 0 auto;
  cursor: pointer;
  font-weight: 800;
  border: solid 1px #cdc320;
  text-shadow: 2px 2px 0px rgba(255,255,255,1),2px 2px 0px rgba(255,255,255,1),2px 2px 0px rgba(255,255,255,1);
  padding: 12px 0;
}


#question_or {
  text-align: center;
  font-size: 40px;
  line-height: 0px;
  font-weight: 700;
  color: #FFF;
  position: relative;
  z-index: 1;
  margin: 2px 0 10px; 
  text-shadow: -3px -3px 0 #2d63ca, 0px -3px 0 #2d63ca, 3px -3px 0 #2d63ca, -3px 0px 0 #2d63ca, 3px 0px 0 #2d63ca, -3px 3px 0 #2d63ca, 0px 3px 0 #2d63ca, 3px 3px 0 #2d63ca, 5px 5px 2px #1f4285;
  font-style: italic;
  font-family: "roboto" sans-serif;
}
#question_panel_b,
#question_panel_a{
  position: relative;
  border: solid 2px #bcd0fe;
  padding: 40px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(30, 110, 170, 1);
  background: rgba(0, 0, 0, 0.3);
  color: #FFF;
  font-size: 20px;
}
#question_panel_a .q_icon,
#question_panel_b .q_icon{
  display: flex;
  position: relative;
  left: 0;
  top: 0;
  margin-right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 100%;
  border: solid 1px #fff;
  align-items: center;
  justify-content: center;
  font-size: 0;
  text-indent: -9999px;
  background: #FFF;
}
.q_active .q_icon:before{
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background: #2676ca !important;
  margin: 0 auto;
  overflow: hidden;
}
#shindan_step{
  margin-top: 55px;
}
#shindan_step ul{
  display: flex;
  justify-content: center;
  margin-bottom:0px;
}
#shindan_step li{
  list-style: none;
  border-radius: 4px;
  margin: 0;
  font-size: 28px;
  line-height: 28px;
  justify-content: center;
  align-items: center;
  cursor: default;
  font-weight: 600;
  font-family: "Roboto","sans-serif";
  color: #FFF;
  display: flex;
}
#shindan_step li:after{
  content:">";
  display: block;
  font-size: 30px;
  line-height: 30px;
  color: #FFF;
  margin: 0 5px;
  font-family: "Roboto","sans-serif";
  font-weight: 400;
  transform: scale(0.5,1);
  opacity: 0.6;
}
#shindan_step li:last-child:after{
  display: none;
}

#shindan_step .step_ta{
  color: #fae81d;
}

#q_text{
  margin-bottom: 0;
  font-weight: 600;
  color: #ffffff;
  font-size: 24px;
  margin-top: 2px;
}
#qno{
  font-family: "Roboto", sans-serif;
  font-size: 76px;
  line-height: 76px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}
#question_text{
  margin-bottom: 45px;
}
#shindan_load{
  position: relative;
}
#shindan_close{
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  text-indent: -9999px;
  overflow: hidden;
  font-size: 0;
  background: #0d256e;
  cursor: pointer;
}
#shindan_close:before{
  content:"";
  position: absolute;
  width: 40px;
  height: 1px;
  background: #FFF;
  transform-origin: center center;
  transform: rotate(45deg);
  left: 5px;
  top: 25px;
}
#shindan_close:after{
  content:"";
  position: absolute;
  width: 40px;
  height: 1px;
  background: #FFF;
  transform-origin: center center;
  transform: rotate(-45deg);
  left: 5px;
  top: 25px;
}
#next_btn{
  margin: 30px auto 0;
  /*
  padding: 15px 0;
  background: #f6ff12;
  width: 100%;
  border-radius: 5px;
  color: #333;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 4px 0 #135eab;
  */
  font-size: 24px;
  line-height: 24px;
}
#next_sub{
  padding: 15px 0;
}
#shindan_area{
  position: relative;
  max-width: 560px;
  padding: 40px;
  margin: 0 auto;
  /*
  background:url("../img/dotted.png") repeat left top #2997e6;
  background-size: 6px auto;
  */
  background-image: url("../img/dotted.png"), radial-gradient(ellipse at center,  #316df9 50%,#214ba5 100%,#214ba5 100%); 
  background-repeat: repeat;
  background-position: left top, center;
  background-size:  6px auto,auto;
  border: solid 1px #dfdfdf;
}
#shindan_area:before{
  content:"";
  position: absolute;
  left: 10px;
  top: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: solid 1px #FFF;
  border-radius: 5px;
}

#result{
  position: relative;
  max-width: 640px;
  padding: 30px 0 40px;
  margin: 0 auto;
  background-image: url(../img/dotted.png), radial-gradient(ellipse at center, #316df9 50%, #214ba5 100%, #214ba5 100%);
  background-repeat: repeat;
  background-position: left top, center;
  background-size: 6px auto, auto;
}
#result_sub{
  position: relative;
  max-width: 640px;
  padding: 30px 0 30px;
  margin: 0 auto;
  background-image: url(../img/dotted.png), linear-gradient(to bottom,  rgba(43,85,178,0) 0%,rgba(43,85,178,1) 40%,rgba(43,85,178,1) 100%);
  background-repeat: repeat;
  background-position: left top, center;
  background-size: 6px auto, auto;
  margin-top: -24px;
}
#result_sub_text{
  position: relative;
  max-width: 640px;
  padding: 0 0 30px;
  margin: 0 auto;
  background-image: url(../img/dotted.png), linear-gradient(to bottom,  rgba(43,85,178,1) 0%,rgba(43,85,178,1) 100%);
  background-repeat: repeat;
  background-position: left top, center;
  background-size: 6px auto, auto;
  margin-top: -24px;
}
#result_cn{
  position: relative;
  background: #FFF;
  margin: 0 30px;
  padding: 20px;
  margin-top: -40px;
  box-shadow: 0 0 2px rgba(0,0,0,0.6);
}
#result_cn h2{
  font-weight: 600;
  border-bottom: solid 1px #2b55b2;
  font-size: 24px;
  line-height: 24px;
  padding: 6px 0 12px;
  margin-bottom:15px;
  color: #2b55b2;
  display: flex;
  align-items: center;
}
#result_cn h2:before{
  content:"";
  width: 10px;
  height: 10px;
  background: #2b55b2;
  margin-right: 8px;
  margin-top: 2px;
}
#result_cn p{
  text-align: justify;
  font-size: 16px;
  line-height: 28px;
}

#result:after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1000px;
    height: 1000px;
    transform: translate(-50%, -50%);
    background: url(../img/right.png) no-repeat center center;
    background-size: 100% auto;
}
#result:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../img/effect.png) no-repeat center center;
  background-size: cover;
  mix-blend-mode: overlay;
  z-index: 0;
  left: 0;
  top: 0;
}
#r_img{
  border: solid 8px #FFF;
  box-sizing: border-box;
  box-shadow: 2px 2px 10px rgba(30, 102, 165, 0.8);
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background: #f0f0f0;
}
#r_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#result_wrap{
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}
#r_title{
  position: relative;
  font-weight: 400;
  /* text-shadow: 4px 4px 0px #292929; */
  letter-spacing: 0.2rem;
  font-size: 38px;
  color: #FFF;
  padding-bottom: 15px;
  width: auto;
  font-family: "Mochiy Pop One", sans-serif;
  text-shadow: -3px -3px 0 #2d63ca, 0px -3px 0 #2d63ca, 3px -3px 0 #2d63ca, -3px 0px 0 #2d63ca, 3px 0px 0 #2d63ca, -3px 3px 0 #2d63ca, 0px 3px 0 #2d63ca, 3px 3px 0 #2d63ca, 5px 5px 2px #1f4285;
  text-align: center;
  margin:0 30px 30px;
  border-bottom: solid 2px #FFF;
}
#r2_w{
  margin: 0 30px;
  color: #FFF;
  font-weight: 600;
  margin-top:15px;
}
#r2_w h1{
  font-weight: 400;
  letter-spacing: 0.2rem;
  font-size: 36px;
  color: #FFF;
  padding-bottom: 15px;
  margin: 0;
  width: auto;
  font-family: "Mochiy Pop One", sans-serif;
  text-shadow: -3px -3px 0 #2d63ca, 0px -3px 0 #2d63ca, 3px -3px 0 #2d63ca, -3px 0px 0 #2d63ca, 3px 0px 0 #2d63ca, -3px 3px 0 #2d63ca, 0px 3px 0 #2d63ca, 3px 3px 0 #2d63ca, 5px 5px 2px #1f4285;
}
#r2_w h2{
  text-shadow: 1px 1px 2px rgba(30, 110, 170, 1);
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
  border: solid 2px #bcd0fe;
  text-align: justify;
  border-radius: 2px;
  font-size: 24px;
  line-height: 32px;
}
#result2{
  padding: 15px;
  background: #efece3;
}
#r_set{
  position: relative;
  z-index: 2;
}
#result_sample{
  position: relative;
  display: flex;
  width: 1066%;
  padding: 40px 0 30px;
  justify-content: space-between;
  animation: 120s linear 0s infinite normal none running lotation_scroll;
  z-index: 1;
}
@keyframes lotation_scroll {
  0% {
      margin-left: 0;
  }
  100% {
      margin-left: -534.4%;
  }
}

#roop_imgs{
  position: relative;
}
#roop_imgs:before{
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 590px;
  height: 590px;
  transform: translate(-50%,-50%);
  background: url("../img/right.png") no-repeat center center;
  background-size: 100% auto;  
}
.result_cn{
  position: relative;
  width:2.7%;
  margin: 0;
  aspect-ratio: 1 / 1;
  border: solid 6px #FFF;
  background: #fff;
  box-shadow: 2px 2px 10px rgba(30,102,165,0.8);
  mix-blend-mode: screen;
}
.result_cn img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  box-sizing: border-box;
}
@media screen and (max-width:769px) {
  #wrapper{
    padding: 0;
  }
}
@media screen and (max-width:640px) {
  body{
    background: #2d63ca;
  }
  .margin_w {
    margin: 0 calc(100vw * 30 / 640);
  }
  #top h1 {
    font-size: calc(100vw * 54 / 640);
    margin: 0 calc(100vw * 30 / 640);
  }
  #description {
    margin: 0 5px 30px;
    font-size: 16px;
    line-height: 24px;
  }
  #start_btn, #retry_btn {
    margin: 0 5px;
  }
  #sub {
    font-size: 24px;
  }
  #result_sample{
    font-size: 24px;
    width: 1600%;
    animation: 120s linear 0s infinite normal none running lotation_scroll_sp;
  }
  header{
    border: none;
    margin: 0;
    padding: 30px 0;
  }
  #shindan_area{
    padding: 25px;
  }
  #q_text {
    font-size: 20px;
  }
  #question_text {
    margin-bottom: 25px;
  }
  #question_panel_b, #question_panel_a {
    padding: 30px 15px;
  }
  #question_or {
    font-size: 34px;
  }
  #shindan_step li {
    font-size: 20px;
    line-height: 20px;
  }
  #qb_text,#qa_text{
    flex: 1;
  }
  #question_panel_b, #question_panel_a{
    font-size: 16px;
  }
  #r_title{
    font-size: calc(100vw * 45 / 640);
    margin: 0 20px 25px;
  }
  #r2_w h1{
    font-size: calc(100vw * 42 / 640);
    margin-top: 10px;
    padding-bottom: 10px;
  }
  #r2_w {
    margin: 0 20px;
  }
  #result_cn {
    margin: 0 20px;
    margin-top: -50px;
    padding: 10px 15px 15px;
  }
  #r_img {
    max-width: 280px;
  }
  #start_btn, #retry_btn {
    margin: 30px 5px 60px;
    width: auto;
  }
  #retry_btn {
    margin: 30px 20px 60px;
    width: auto;
  }
  #r2_w h2 {
    font-size: 18px;
    line-height: 28px;
  }
}
@keyframes lotation_scroll_sp {
  0% {
      margin-left: 0;
  }
  100% {
      margin-left: -801.8%;
  }
}



