@charset "UTF-8";
/*----------------------------------------
 *        Download
 *---------------------------------------- */
.quiz-wrap {
  width: 100%;
  margin-bottom: -40px;
}
@media print, screen and (min-width: 769px) {
  .quiz-wrap {
    background: url("../images/quiz/common/ttl_bg.jpg") no-repeat top center;
    margin-bottom: -80px;
  }
}

.quiz-top {
  width: 100%;
  margin: 0 auto;
}
@media print, screen and (min-width: 769px) {
  .quiz-top {
    position: relative;
    width: 1200px;
  }
}


/*----------*/
.quiz-content {
  width: 90%;
  margin: 0 auto;
}
@media print, screen and (min-width: 769px) {
  .quiz-content {
    width: 1200px;
  }
}

.quiz_edit {
}
@media print, screen and (min-width: 769px) {
  .quiz_edit {
    position: relative;
  }
  .quiz_edit::after {
    content: "";
    display: block;
    clear: both;
  }
}

.quiz_edit .category_box {
  padding-top: 10px;
}
@media print, screen and (min-width: 769px) {
  .quiz_edit .category_box {
    float: left;
    width: 33.33333%;
    padding-bottom: 50px;
    text-align: center;
  }
  .quiz_edit .category_box.open {
    padding-bottom: 140px;
  }

  .quiz_edit .category_box h3 {
    cursor: pointer;
  }
}

.quiz_edit .level_box {
  display: none;
}
@media print, screen and (min-width: 769px) {
  .quiz_edit .level_box {
    position: absolute;
    top: 250px;
    left: 0;
    width: 100%;
  }
}

.inbox {
  position: relative;
  padding: 15px 0 10px;
}
@media print, screen and (min-width: 769px) {
  .inbox {
    padding: 20px 0 0;
  }
}

.inbox::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  left: 70px;
  width: 20px;
  height: 20px;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: -1;
}
@media print, screen and (min-width: 769px) {
  .inbox::after {
    top: 10px;
    width: 40px;
    height: 40px;
  }
}
.category1 .inbox::after { background: #ffb400;}
.category2 .inbox::after { background: #5abefa;}
.category3 .inbox::after { background: #8cc85a;}
@media print, screen and (min-width: 769px) {
  .category1 .inbox::after { left: 14%;}
  .category2 .inbox::after { left: 48%;}
  .category3 .inbox::after { left: 82%;}
}

.inbox ul {
  width: 96%;
  margin: 0 auto;
  padding: 10px 15px 0;
  overflow: hidden;
}
@media print, screen and (min-width: 769px) {
  .inbox ul {
    padding: 30px 0;
  }
}
.category1 .inbox ul { background: #ffb400;}
.category2 .inbox ul { background: #5abefa;}
.category3 .inbox ul { background: #8cc85a;}

.inbox ul > li {
  margin-bottom: 10px;
}
@media print, screen and (min-width: 769px) {
  .inbox ul > li {
    float: left;
    width: 33.33333%;
    text-align: center;
    cursor: pointer;
  }
}


/*----------*/
.quiz_wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  height: 90%;
  margin: 5%;
  z-index: 9999;
  overflow-y: auto;
}
@media print, screen and (min-width: 769px) {
  .quiz_wrap {
    top: 50%;
    left: 50%;
    width: 960px;
    height: 600px;
    margin: -300px 0 0 -480px;
    overflow-y: hidden;
  }
}
.quiz_wrap.open {
  display: block;
}

.quiz_wrap.category1 {
  background: url("../images/quiz/common/category1_bg.png") repeat 0 0;
  background-size: 20px 20px;
}
.quiz_wrap.category2 {
  background: url("../images/quiz/common/category2_bg.png") repeat 0 0;
  background-size: 20px 20px;
}
.quiz_wrap.category3 {
  background: url("../images/quiz/common/category3_bg.png") repeat 0 0;
  background-size: 20px 20px;
}
@media print, screen and (min-width: 769px) {
  .quiz_wrap.category1,
  .quiz_wrap.category2,
  .quiz_wrap.category3 {
    background-size: 40px 40px;
  }
}

.quiz_wrap .quiz_wrap_in {
  position: relative;
  padding-bottom: 20px;
}
@media print, screen and (min-width: 769px) {
  .quiz_wrap .quiz_wrap_in {
    height: 600px;
    padding-bottom: 0;
  }
}

.quiz_wrap .quiz_wrap_in .btn_close {
  position: absolute;
  top: 5px;
  left: 5px;
  color: #686868;
  font-size: 30px;
}
@media print, screen and (min-width: 769px) {
  .quiz_wrap .quiz_wrap_in .btn_close {
    top: 10px;
    right: 10px;
    left: auto;
    cursor: pointer;
  }
}

.quiz_wrap h3 {
  padding: 20px 0;
  text-align: center;
}
@media print, screen and (min-width: 769px) {
  .quiz_wrap h3 {
    padding: 40px 0;
  }
}

.choice_box > dt {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 0 10px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: bold;
}
@media print, screen and (min-width: 769px) {
  .choice_box > dt {
    padding: 0 50px;
    font-size: 30px;
  }
}

.choice_box > dt span {
  width: calc(100% - 75px);
}
@media print, screen and (min-width: 769px) {
  .choice_box > dt span {
    width: calc(100% - 115px);
  }
}

.choice_box > dt .icon {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  padding-top: 13px;
  background: #e62010;
  border-radius: 50%;
  color: #FFF;
  font-size: 30px;
  text-align: center;
  box-sizing: border-box;
}
@media print, screen and (min-width: 769px) {
  .choice_box > dt .icon {
    width: 85px;
    height: 85px;
    margin-right: 30px;
    padding-top: 20px;
    font-size: 40px;
  }
}

@media print, screen and (min-width: 769px) {
  .quiz_box dl > dd.illust {
    position: absolute;
    bottom: 0;
    right: 10px;
  }
}

.choice_list {
  margin: 0 10px;
  padding: 15px 0;
}
@media print, screen and (min-width: 769px) {
  .choice_list {
    width: 580px;
    margin: 0 50px;
    padding: 40px 0;
  }
}

.choice_list > li {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 10px;
  background: #FFF;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: bold;
  box-sizing: border-box;
}
@media print, screen and (min-width: 769px) {
  .choice_list > li {
    min-height: 1em;
    padding: 15px;
    font-size: 25px;
    cursor: pointer;
  }
}
.choice_list > li .icon {
  margin-right: 5px;
  font-size: 30px;
}
@media print, screen and (min-width: 769px) {
  .choice_list > li .icon {
    font-size: 25px;
  }
}

.choice_list > li + li {
  margin-top: 10px;
}
@media print, screen and (min-width: 769px) {
  .choice_list > li + li {
    margin-top: 30px;
  }
}

.correct,
.incorrect,
.result_ttl {
  margin-top: 15px;
  text-align: center;
}

.answer_list {
  margin: 0 10px;
  padding: 15px 0;
}
@media print, screen and (min-width: 769px) {
  .answer_list {
    width: 520px;
    margin: 0 110px;
    padding: 30px 0;
  }
}
.ans_ttl {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
}
@media print, screen and (min-width: 769px) {
  .ans_ttl {
    font-size: 30px;
    text-align: left;
  }
}
.ans_txt {
  margin-top: 15px;
  font-size: 14px;
  line-height: 1.4;
}
@media print, screen and (min-width: 769px) {
  .ans_txt {
    font-size: 18px;
  }
}

.res_img {
  margin-top: 20px;
  text-align: center;
}
@media print, screen and (min-width: 769px) {
  .res_img {
    width: 580px;
    margin: 40px auto 0;
  }
}

.res_txt {
  margin: 15px 10px 0;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}
@media print, screen and (min-width: 769px) {
  .res_txt {
    margin: 30px 50px 0;
    font-size: 20px;
  }
}

@media print, screen and (min-width: 769px) {
  .retry_box {
    position: absolute;
    bottom: 50px;
    width: 100%;
    text-align: center;
  }
}

.next_btn,
.result_btn,
.close_btn,
.retry_btn,
.lv2_btn,
.lv3_btn {
  width: 160px;
  margin: 20px auto 0;
  padding: 10px;
  background: #e62010;
  color: #FFF;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}
@media print, screen and (min-width: 769px) {
  .next_btn,
  .result_btn {
    position: absolute;
    left: 110px;
    bottom: 50px;
    width: 250px;
    margin: 0;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
  }

  .close_btn,
  .retry_btn,
  .lv2_btn,
  .lv3_btn {
    display: inline-block;
    width: 250px;
    margin: 0 10px;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
  }
}


/*----------*/
#question #box2,
#question #box3,
#question #box4,
#answer #box1,
#answer #box2,
#answer #box3,
#answer #box4,
#result #count0,
#result #count1,
#result #count2,
#result #count3,
#result #count4,
.correct.none,
.incorrect.none,
.next_btn.none,
.result_btn.none,
.result_ttl.none,
.close_btn.none,
.retry_btn.none,
.lv2_btn.none,
.lv3_btn.none {
  display: none;
}


/*----------*/
body.lock {
  position: fixed;
  width: 100% !important;
}

.layer {
  position: fixed;
  top: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  z-index: 9998;
}
