@charset "UTF-8";
/* CSS Document */
/*----------------------------------------------------------
  nazopost
--------------------------------------------------------- */
#quiz {
  text-align: center;
}
#quiz .gamen {
  max-width: 100%;
  margin: 0 auto;
}
#quiz .gamen.board {
  background: url(../img/nazopost/classic/sp/board_top.jpg) repeat-x center top;
  width: 100%;
  margin: 0 auto;
  background-size: auto 20vh;
  padding-top: 20vh;
}
#quiz .board .chara {
  background: url(../img/nazopost/classic/sp/board_bottom.jpg) repeat-x center top;
  background-size: auto 200%;
  padding: 10vh 0;
}
#quiz .board .chara img.ken {
  position: absolute;
  left: 5vw;
  bottom: 6vh;
  width: 25vw;
}
#quiz .board .chara img.koguma {
  position: absolute;
  right: 5vw;
  bottom: 6vh;
  width: 14vw;
}
#quiz .board .title {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 96vw;
  margin: -10vh auto 0;
  left: 0;
  right: 0;
  position: absolute;
}
#quiz .board .title span {
  display: inline-block;
  vertical-align: top;
}
#quiz .board .title .level {
  width: 20%;
}
#quiz .board .title .question {
  width: 75%;
}
#quiz .opgamen {
  width: 100%;
  height: auto;
  margin: 0 auto;
}
#quiz .opgamen img:hover {
  cursor: pointer;
}
#quiz .board {
  position: relative;
}
#quiz .board .inner {
  text-align: center;
  padding: 1vh 0;
  background: #EBE4CB;
}
#quiz .board .inner ul li {
  text-align: left;
  vertical-align: top;
  width: 100%;
}
#quiz .board .inner ul li img {
  max-width: 40%;
  vertical-align: middle;
}
#quiz .board .inner ul li a {
  text-decoration: none;
  color: #545454 !important;
  vertical-align: middle;
}
#quiz .board .inner ul li a span {
  font-weight: bold;
  font-size: 17px;
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  max-width: 58%;
  padding-left: 1.6em;
  text-indent: -1.7em;
  line-height: 1.8;
}
#quiz .board .inner ul li span:before {
  content: " ";
  display: inline-block;
  vertical-align: middle;
  width: 30px;
  height: 30px;
  background-size: 1.4em;
  background-repeat: no-repeat;
  background-position: bottom;
  margin-right: 4px;
}
#quiz .board .inner ul li.num1 span:before {
  background-image: url(../img/nazopost/classic/sp/num01.png);
}
#quiz .board .inner ul li.num2 span:before {
  background-image: url(../img/nazopost/classic/sp/num02.png);
}
#quiz .board .inner ul li.num3 span:before {
  background-image: url(../img/nazopost/classic/sp/num03.png);
}
#quiz .board p.btn {
  background: #EBE4CB;
  margin: 0 auto;
}
#quiz .board p.btn img {
  width: 70%;
}
#quiz .gamen.board .inner p.btn a img:hover {
  opacity: 1 !important;
}
#quiz .gamen.board .inner p.endbtn {
  text-align: center;
  margin-top: 20px;
}
#quiz .board p.comment {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  padding: 0.8em;
  　font-size: 1em;
  text-align: left;
  margin: 10px 0;
}
#quiz .board .inner .clearBox .img-l {
  width: 30%;
  display: inline-block;
  vertical-align: top;
}
#quiz .board .inner .clearBox .auto {
  width: 60%;
  display: inline-block;
  vertical-align: top;
}
#quiz .board .inner .clearBox .auto img {
  width: 100%;
  max-width: inherit;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  #quiz .board .inner {
    padding: 3vh 6vw 4vh;
  }
}
@media all and (orientation: landscape) {
  #quiz .board .title img {
    height: 60px;
  }
  #quiz .board .chara {
    padding: 15vh 0;
  }
  #quiz .board .chara img.ken {
    position: absolute;
    left: 5vw;
    bottom: 6vh;
    width: 20vw;
  }
  #quiz .board .chara img.koguma {
    position: absolute;
    right: 5vw;
    bottom: 6vh;
    width: 12vw;
  }
  #quiz .board .inner {
    padding: 8vw 0vw 8vw;
  }
  #quiz .board .inner.result img {
    height: 160px;
  }
  #quiz .board .inner .answer img {
    height: 80px;
  }
  #quiz .board .inner.outcome img {
    height: 90px;
  }
  #quiz .board .inner.outcome p.endbtn img {
    height: 60px;
  }
  #quiz .board .inner ul li {
    text-align: center;
    display: inline-block;
    width: 30%;
  }
  #quiz .board .inner ul li img {
    max-width: 55%;
  }
  #quiz .board .inner ul li a span {
    text-align: left;
    display: block;
    max-width: inherit;
    font-size: 13px;
  }
  #quiz .board .inner ul li span:before {
    width: 20px;
    height: 20px;
  }
  #quiz .board p.comment {
    margin-bottom: -40px;
  }
  #quiz .gamen.board .inner p.btn a img {
    height: 20px;
    margin: -20px auto -20px;
  }
  #quiz .board .inner .clearBox .img-l img {
    height: 80px;
  }
  #quiz .board .inner .clearBox ul li {
    display: block;
    width: inherit;
  }
}
@media all and (min-device-width: 414px) and (orientation: landscape) {
  #quiz .board .inner {
    padding: 6vw 0vw 8vw;
  }
  #quiz .board .inner.result img {
    height: 200px;
  }
  #quiz .board p.comment {
    font-size: 0.8em;
  }
  #quiz .board .inner.outcome img {
    height: 140px;
  }
  #quiz .board .inner.outcome p.endbtn img {
    height: 80px;
  }
  #quiz .board .inner .clearBox .img-l {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    padding-left: 40px;
  }
  #quiz .board .inner .clearBox .auto {
    width: 60%;
    display: inline-block;
    vertical-align: top;
  }
  #quiz .board .inner .clearBox .auto img {
    width: 80%;
    max-width: inherit;
  }
}
#quiz.styleB .gamen.board {
  padding-top: 17vh;
}
#quiz.styleB .gamen.board .title {
  margin-top: -7vh;
  z-index: 1;
}
#quiz.styleB .gamen.board .chara {
  padding: 9vh 0;
}
#quiz.styleB .gamen.board .inner {
  min-height: 50vh;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-line-pack: center;
      align-content: center;
}
#quiz.styleB .gamen.board .inner ul {
  margin-top: 15px;
}
#quiz.styleB .gamen.board .inner ul li {
  border-bottom: 2px dashed #FFF;
}
#quiz.styleB .gamen.board .inner ul li a {
  display: block;
  padding: 1.5vh 3vw;
  border-radius: 8px;
  position: relative;
  text-decoration: none;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  color: #333;
}
#quiz.styleB .gamen.board .inner ul li a img {
  max-height: 15.5vh;
  max-width: none;
}
#quiz.styleB .gamen.board .inner ul li a img:hover {
  opacity: 1;
}
#quiz.styleB .gamen.board .inner ul li a dl, #quiz.styleB .gamen.board .inner ul li a dt, #quiz.styleB .gamen.board .inner ul li a dd {
  padding: 0;
  margin: 0;
}
#quiz.styleB .gamen.board .inner ul li a dl {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#quiz.styleB .gamen.board .inner ul li a dl dt {
  -ms-flex-preferred-size: 40%;
      flex-basis: 40%;
  max-width: 40%;
  padding-left: 7vw;
}
#quiz.styleB .gamen.board .inner ul li a dl dd {
  text-align: center;
}
#quiz.styleB .gamen.board .inner ul li a dl dd img {
  max-height: none;
  max-width: 90%;
}
#quiz.styleB .gamen.board .inner ul li a:before {
  display: inline-block;
  font-size: 5vw;
  line-height: 5vw;
  padding: 0.4em 0.5em 0.15em;
  border-radius: 5vw;
  color: #FFF;
  background: #333;
  font-family: "Noto Sans Japanese";
  font-weight: bold;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  height: 19px;
  left: 1vw;
}
#quiz.styleB .gamen.board .inner ul li a:hover {
  background: rgba(255, 255, 255, 0.7);
}
#quiz.styleB .gamen.board .inner ul li:last-child {
  border-bottom: none;
}
#quiz.styleB .gamen.board .inner ul li:nth-child(1) a:before {
  content: "1";
}
#quiz.styleB .gamen.board .inner ul li:nth-child(2) a:before {
  content: "2";
}
#quiz.styleB .gamen.board .inner ul li:nth-child(3) a:before {
  content: "3";
}
#quiz.styleB .gamen.board .result.inner {
  padding: 3vh 3vw;
}
#quiz.styleB .gamen.board .answer.inner {
  padding: 3vh 3vw 0;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  position: relative;
  display: block;
}
#quiz.styleB .gamen.board .answer.inner p {
  word-break: normal;
  width: auto;
}
#quiz.styleB .gamen.board .answer.inner .text .imgs img {
  max-height: 18vh;
}
#quiz.styleB .gamen.board .answer.inner .text .title {
  display: block;
  position: relative;
  text-align: left;
  padding-top: 0;
  font-family: "Noto Sans Japanese";
  font-weight: bold;
  margin: 0;
}
#quiz.styleB .gamen.board .answer.inner .text .title p {
  font-family: "mplus-1c";
  font-weight: bold;
  font-size: 22px !important;
  padding-left: 1.5em;
  text-indent: -1.6em;
  line-height: 1.5;
}
#quiz.styleB .gamen.board .answer.inner .text .title p:before {
  display: inline-block;
  font-size: 20px;
  line-height: 20px;
  padding: 7px 9px 5px;
  border-radius: 20px;
  color: #FFF;
  background: #333;
  font-family: "Noto Sans Japanese";
  font-weight: bold;
  margin-right: 0.2em;
  text-indent: 0;
}
#quiz.styleB .gamen.board .answer.inner .text .title p.no1:before {
  content: "1";
}
#quiz.styleB .gamen.board .answer.inner .text .title p.no2:before {
  content: "2";
}
#quiz.styleB .gamen.board .answer.inner .text .title p.no3:before {
  content: "3";
}
#quiz.styleB .gamen.board .answer.inner .comment {
  -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
  max-width: 100%;
  margin: 10px 0 0;
}
#quiz.styleB .gamen.board .answer.inner .comment .imgBox {
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
#quiz.styleB .gamen.board .answer.inner .comment .imgBox .cont {
  text-align: left;
}
#quiz.styleB .gamen.board.lv1 .inner ul li a:before {
  background: #e04c77;
}
#quiz.styleB .gamen.board.lv1 .inner ul li a:hover {
  border: 2px solid #e04c77;
}
#quiz.styleB .gamen.board.lv1 .answer.inner .text .title p:before {
  background: #e04c77;
}
#quiz.styleB .gamen.board.lv2 .inner ul li a:before {
  background: #ea711f;
}
#quiz.styleB .gamen.board.lv2 .inner ul li a:hover {
  border: 2px solid #ea711f;
}
#quiz.styleB .gamen.board.lv2 .answer.inner .text .title p:before {
  background: #ea711f;
}
#quiz.styleB .gamen.board.lv3 .inner ul li a:before {
  background: #c82020;
}
#quiz.styleB .gamen.board.lv3 .inner ul li a:hover {
  border: 2px solid #c82020;
}
#quiz.styleB .gamen.board.lv3 .answer.inner .text .title p:before {
  background: #c82020;
}

@media screen and (orientation: landscape) {
  #quiz.styleB .gamen.board .title .question {
    text-align: left;
  }
  #quiz.styleB .gamen.board .chara img.ken {
    bottom: 1vh;
    left: 2vw;
    width: auto;
    height: 27vh;
  }
  #quiz.styleB .gamen.board .chara img.koguma {
    bottom: 1vh;
    right: 2vw;
    width: auto;
    height: 20vh;
  }
  #quiz.styleB .gamen.board .inner {
    min-height: 70vh;
    padding-top: 15vh;
  }
  #quiz.styleB .gamen.board .inner ul li {
    border-bottom: 0;
  }
  #quiz.styleB .gamen.board .inner ul li a {
    padding: 0;
  }
  #quiz.styleB .gamen.board .inner ul li a img {
    max-height: 22vh;
  }
  #quiz.styleB .gamen.board .inner ul li a dl {
    display: block;
  }
  #quiz.styleB .gamen.board .inner ul li a dl dt {
    max-width: 100%;
    padding-left: 0;
    text-align: center;
  }
  #quiz.styleB .gamen.board .inner ul li a:before {
    display: inline-block;
    font-size: 20px;
    line-height: 20px;
    padding: 7px 9px 5px;
    border-radius: 20px;
    color: #FFF;
    background: #333;
    font-family: "Noto Sans Japanese";
    font-weight: bold;
    margin-top: -20px;
  }
  #quiz.styleB .gamen.board .result.inner {
    padding-top: 15vh;
  }
  #quiz.styleB .gamen.board .answer.inner {
    position: relative;
    min-height: 50vh;
    padding-top: 15vh;
  }
  #quiz.styleB .gamen.board .answer.inner p {
    word-break: normal;
    width: auto;
  }
  #quiz.styleB .gamen.board .answer.inner .text {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #quiz.styleB .gamen.board .answer.inner .text .imgs {
    max-width: 25%;
    -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
  }
  #quiz.styleB .gamen.board .answer.inner .text .imgs img {
    max-height: 110px;
  }
  #quiz.styleB .gamen.board .answer.inner .text .title {
    text-align: left;
    padding-top: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    font-family: "Noto Sans Japanese";
    font-weight: bold;
  }
  #quiz.styleB .gamen.board .answer.inner .text .title p {
    font-family: "mplus-1c";
    font-weight: bold;
    font-size: 22px !important;
    padding-left: 1.4em;
    text-indent: -1.4em;
  }
  #quiz.styleB .gamen.board .answer.inner .text .title p:before {
    display: inline-block;
    font-size: 20px;
    line-height: 20px;
    padding: 7px 9px 5px;
    border-radius: 20px;
    color: #FFF;
    background: #333;
    font-family: "Noto Sans Japanese";
    font-weight: bold;
    margin-right: 0.2em;
    text-indent: 0;
  }
  #quiz.styleB .gamen.board .answer.inner .text .title p.no1:before {
    content: "1";
  }
  #quiz.styleB .gamen.board .answer.inner .text .title p.no2:before {
    content: "2";
  }
  #quiz.styleB .gamen.board .answer.inner .text .title p.no3:before {
    content: "3";
  }
  #quiz.styleB .gamen.board .answer.inner .comment {
    font-size: 0.8em;
    margin-top: 10px;
    text-align: left;
  }
  #quiz.styleB .gamen.board .answer.inner .comment .imgBox .img {
    position: absolute;
    right: 0;
    bottom: 0;
    top: auto;
  }
  #quiz.styleB .gamen.board .answer.inner .comment .imgBox .img img {
    max-height: 60vh;
  }
  #quiz.styleB .gamen.board .answer.inner .comment .imgBox .cont {
    padding-right: 12vw;
  }
  #quiz.styleB .gamen.board p.btn img, #quiz.styleB .gamen.board p.endbtn img {
    max-height: 18vh;
    width: auto;
  }
}