@charset "UTF-8";

#game.question .ttl {
  margin-bottom: 1vh;
}

#dragElement {
  cursor: grab;
}

#dragElement img {
  pointer-events: none;
}

.ttl {
  max-width: 67.75vw;
}

.anno_txt {
  font-size: 16px;
  text-align: center;
  color: #ee87b4;
  font-weight: bold;
  padding: 20px 10px;
  border: 4px solid #ee87b4;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  margin-top: -2.67vh;
  margin-bottom: 4.67vh;
  max-width: 500px;
  display: none;
}

/* -------------------------------------
game_common
------------------------------------- */

.mode-change {
  max-width: 64px;
  width: 5%;
  position: fixed;
  z-index: 10;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.game__answer {
  width: 31vh;
  max-width: 280px;
  position: absolute;
  bottom: -6vh;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  line-height: 1;
  transition: fill 0.3s;
  border-radius: 20%;
  overflow: hidden;
  filter: drop-shadow(1.44vh 1.44vh 3px rgba(0, 0, 0, 0.3));
}



.game__answer.active {
  cursor: pointer;
  transition: bottom 0.3s, filter 0.3s;
}

.game__answer.active:hover {
  bottom: -6.5vh;
  filter: none;
}

@media screen and (max-height: 800px) {
  .game__answer {
    bottom: -13vh;
  }

  .game__answer.active:hover {
    bottom: -13.5vh;
    filter: none;
  }
}


.game__answer svg {
  width: 100%;
  height: auto;
}

.game__answer-1 {
  stroke: #fff;
  stroke-width: 13.12px;
}

.game__answer-1,
.game__answer-2 {
  fill: none;
  stroke-miterlimit: 10;
}

.game__answer-2 {
  stroke: #ccc;
  stroke-linecap: round;
  stroke-width: 3.5px;
}

.game__answer.active .game__answer-2 {
  stroke: #f7d998;
}

.game__answer-3 {
  mix-blend-mode: multiply;
  opacity: .5;
}

.game__answer-3,
.game__answer-4,
.game__answer-5 {
  stroke-width: 0px;
}

.game__answer-3,
.game__answer-5 {
  fill: #ccc;
}

.game__answer.active .game__answer-3,
.game__answer.active .game__answer-5 {
  fill: #f0b432;
}

.game__answer-6 {
  isolation: isolate;
}

.game__answer-4 {
  fill: #fff;
}


#game .how {
  position: relative;
}

#game .how::before {
  content: "";
  /* width:159px; */
  width: 17.67vh;
  max-width: 13.47vw;
  /* height: 18.67vh; */
  height: 26.09vh;
  max-height: 167px;
  background: url(../imgs/game/illust_1.png) no-repeat center/contain;
  position: absolute;
  left: 0;
  bottom: 0;
  transform: translate(-25%, 7%);
  -webkit-transform: translate(-25%, 7%);
  -ms-transform: translate(-25%, 7%);
  -ms-transform: translate(-25%, 7%);
  -o-transform: translate(-25%, 7%);
}

#game .how p {
  font-size: min(2.78vh, 2.88vw, 34px);
  color: #fff;
  text-align: center;
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 4.67vh;
}

#game .how p span {
  display: inline-block;
}

/* -------------------------------------
question
------------------------------------- */
#game.question .blk {
  max-width: 90%;
  width: 120.89vh;
  max-width: 84.75vw;
  position: relative;
  min-width: initial;
}

#game.question .flex {
  display: flex;
  justify-content: space-between;
}

#game.question .bg_wh {
  width: 35%;
  max-width: 380px;
  min-height: 38.89vh;
  padding: 0;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#game.question .num_blk {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 24.44vh;
  max-width: 25vw;
  max-height: 7.81vw;
  height: 6.67vh;
  background: #b2d2c3;
  border: 0.78vh solid #fff;
  border-radius: 999px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

#game.question .num_blk .num {
  font-size: min(2.78vh, 2.84vw, 25px);
}

#game.question .q_blk .imgblk {
  width: 90%;
  max-width: 192px;
  margin-bottom: 2.44vh;
}

#game.question .q_blk .imgblk img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -o-object-fit: contain;
  object-position: center;
  -o-object-position: center;
}

#game.question .q_blk .txtblk p {
  font-size: min(2.78vh, 2.12vw, 25px);
}

#game.question .q_blk .txtblk p [data-ruby]::before {
  font-size: min(1.22vh, 0.93vw, 11px);
}

#game.question .choice {
  width: 63%;
  max-width: 678px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}



.choice__check {
  position: absolute;
  width: 100%;
  height: 100%;
}

.choice__check input {
  position: absolute;

  width: 100%;
  height: 100%;
  opacity: 0;
}

.choice__check-mark {
  display: none;
  position: absolute;
  margin-top: 7%;
  left: 5%;
  width: 15%;
  height: auto;
}

#game.question .choice.game__selectmode--all .choice_item::before {
  background-image: none !important;
}

.choice_item img {
  pointer-events: none;
}


#game.question .choice.game__selectmode .choice__check input:checked+.choice__check-mark {
  display: block;
}

#game.question .choice.game__selectmode .choice__check-box {
  margin-top: 6%;
  margin-left: 5%;
  width: 13%;
  height: auto;
}

#game.question .choice.game__selectmode--drop .choice__check,
.mode-drop {
  display: none;
}

#game.question .choice.game__selectmode--all input {
  cursor: pointer;
}

#game.question .choice.game__selectmode--all .choice_item:hover {
  background-color: #fcf0d6;

}



#game.question .choice .choice_item {
  width: 32%;
  height: 21.25vh;
  max-height: 170px;
  padding: 5px;
  border: 5px solid #f0b432;
  border-radius: 3.33vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 15px 1.67vh 5px 0px rgba(0, 0, 0, 0.3);
}

#game.question .choice .choice_item:nth-of-type(-n + 3) {
  margin-bottom: 2.34vh;
}

#game.question .choice .choice_item::before {
  content: "";
  width: 5.67vh;
  max-width: 4.32vw;
  height: 5.67vh;
  max-height: 4.32vw;
  background: #f0b432 url(../imgs/common/num_1.svg) no-repeat center/34% 45%;
  border-radius: 3.33vh 0 10px 0;
  position: absolute;
  left: -5px;
  top: -5px;
  transition: 0.3s;
}

#game.question .choice .choice_item:nth-child(2):before {
  background-image: url(../imgs/common/num_2.svg);
}

#game.question .choice .choice_item:nth-child(3):before {
  background-image: url(../imgs/common/num_3.svg);
}

#game.question .choice .choice_item:nth-child(4):before {
  background-image: url(../imgs/common/num_4.svg);
}

#game.question .choice .choice_item:nth-child(5):before {
  background-image: url(../imgs/common/num_5.svg);
}

#game.question .choice .choice_item:nth-child(6):before {
  background-image: url(../imgs/common/num_6.svg);
}

.question .choice .choice_item .imgblk {
  width: 48%;
  max-width: 9.89vh;
  height: auto;
  /* max-width: 173px; */
  /* height: 16.4vh; */
  margin-bottom: 1.67vh;
}

.question .choice .choice_item p {
  line-height: 1.2;
}

/* -------------------------------------
answer
------------------------------------- */
.answer.correct .bg_wh::before {
  content: "";
  /* width: 146px; */
  width: 16.22vh;
  max-width: 19.01vw;
  height: 148px;
  background: url(../imgs/game/illust_2.png) no-repeat center/contain;
  position: absolute;
  top: 23%;
  left: 3%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.answer.disappointing .bg_wh::before {
  content: "";
  /* width: 106px; */
  width: 11.78vh;
  max-width: 13.8%;
  height: 147px;
  background: url(../imgs/game/illust_3.png) no-repeat center/contain;
  position: absolute;
  top: 21%;
  left: 10.2%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

/* -------------------------------------
result
------------------------------------- */
.result .comment .txtblk_inner {
  min-height: 6.67vh;
  background: #f0b432;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result .comment .txtblk_inner::before {
  border-right: 2.54vw solid #f0b432;
}

.mode-drop.sp-mode,
.game__selectmode--drop.sp-mode .choice__check,
.anno_txt.sp-mode,
.game__exp2.sp-mode {
  display: block !important;

}

.game__exp2 {
  display: none;
}

.game__exp1.sp-mode {
  display: none;
}

.game__selectmode--drop.sp-mode .choice_item::before {
  background-image: none !important;
}

@media screen and (min-width: 1440px) {
  .ttl {
    margin: 0 auto 2vh;
  }

}

@media screen and (max-height: 900px) {}

@media screen and (max-width: 1440px) {
  .ttl {
    margin: 0 auto 4vh;
  }

}

@media screen and (max-width: 640px) {

  /**
  #game.question .choice.game__selectmode--drop .choice__check,
  .mode-drop {
    display: block;
  }**/

  #game.question .choice .choice_item::before {
    width: 27%;
    max-width: initial;
    height: auto;
    max-height: initial;
    padding-top: 27%;
    border-radius: 30px 0 10px 0;
  }

  #game.question .choice.game__selectmode--sp .choice_item::before {
    background-image: none !important;
  }

  #game .how {
    margin-bottom: 13%;
  }

  #game .how::before {
    width: 24%;
    max-width: 101px;
    height: 106px;
    max-height: initial;
    left: 0;
    bottom: 0;
    transform: translate(-10%, 85%);
    -webkit-transform: translate(-10%, 85%);
    -ms-transform: translate(-10%, 85%);
    -ms-transform: translate(-10%, 85%);
    -o-transform: translate(-10%, 85%);
    z-index: 5;
  }

  #game .how p {
    font-size: min(7.08vw, 34px);
  }

  .game__answer {
    width: 100%;
    max-width: 280px;
    position: relative;
    top: auto;
    left: auto;
    bottom: 0;
    transform: none;
    line-height: 1;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }

  .game__answer.active {
    cursor: pointer;
    transition: bottom 0.3s, filter 0.3s;
  }

  .game__answer.active:hover {
    bottom: -10px;
    filter: none;
  }

  /* -------------------------------------
	question
	------------------------------------- */
  #game.question .ttl {
    margin-bottom: 5%;
  }

  #game.question .blk {
    padding: 5% 0 27%;
  }

  #game.question .flex {
    display: block;
  }

  #game.question .bg_wh {
    width: 100%;
    max-width: initial;
    min-height: initial;
    margin-bottom: 9%;
    padding: 15.48% 5% 14.29%;
    display: block;
  }

  #game.question .q_blk .imgblk {
    width: 90%;
    max-width: 192px;
    margin: 0 auto 7%;
  }

  #game.question .num_blk {
    width: 51%;
    max-width: 207px;
    height: 12.5vw;
    max-height: 62px;
    border: 7px solid #fff;
  }

  #game.question .num_blk .num {
    font-size: min(5.21vw, 25px);
  }

  #game.question .q_blk .txtblk p {
    font-size: min(5.21vw, 25px);
  }

  #game.question .q_blk .txtblk p [data-ruby]::before {
    font-size: min(1.22vh, 11px);
  }

  #game.question .choice {
    width: 97%;
    max-width: initial;
    flex-direction: initial;
  }

  #game.question .choice .choice_item {
    width: 48%;
    height: 41.67vw;
    max-height: 200px;
    padding: 5px;
    border: 5px solid #f0b432;
    border-radius: 30px;
    box-shadow: 15px 1.67vh 5px 0px rgba(0, 0, 0, 0.3);
  }

  #game.question .choice .choice_item:hover {
    background-color: #fcf0d6;
  }



  #game.question .choice .choice_item:nth-of-type(-n + 3),
  #game.question .choice .choice_item {
    margin-bottom: 4%;
  }

  #game.question .choice .choice_item .imgblk {
    margin-bottom: 1em;
    width: 48%;
    max-width: 84px;
  }

  /* -------------------------------------
	answer
	------------------------------------- */
  .answer.correct .bg_wh::before {
    content: "";
    width: 22%;
    max-width: 86.8px;
    height: 88px;
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    transform: translate(-25%, 34%);
    -webkit-transform: translate(-25%, 34%);
    -ms-transform: translate(-25%, 34%);
    -ms-transform: translate(-25%, 34%);
    -o-transform: translate(-25%, 34%);
  }

  .answer.disappointing .bg_wh::before {
    content: "";
    width: 16%;
    max-width: 63px;
    height: 88px;
    top: auto;
    left: auto;
    bottom: 0;
    right: 0;
    transform: translate(-25%, 34%);
    -webkit-transform: translate(-25%, 34%);
    -ms-transform: translate(-25%, 34%);
    -ms-transform: translate(-25%, 34%);
    -o-transform: translate(-25%, 34%);
  }

  /* -------------------------------------
	result
	------------------------------------- */
  .result .comment .txtblk_inner::before {
    border-right: 15px solid #f0b432;
  }
}

@media screen and (max-width: 480px) {
  #game.question .choice .choice_item {
    border-radius: 6.25vw;
  }

  #game.question .choice .choice_item::before {
    border-radius: 6.25vw 0 10px 0;
  }
}