
/* ============================================
  scrollbar always visible
============================================ */
html {
  overflow-y: scroll;
}

body {
  overflow: visible;
}

#content {
  overflow: visible;
}

#kids-quiz {
  overflow: visible;
}

/* モバイルでのスクロールバーと余白を防止 */
@media screen and (max-width: 767px) {
  html {
    height: 100%;
    height: -webkit-fill-available;
    overflow: hidden;
  }

  body {
    height: 100%;
    height: -webkit-fill-available;
    overflow: hidden;
    position: relative;
  }

  #content {
    height: 100%;
    height: -webkit-fill-available;
    overflow: visible;
    position: relative;
  }
}

/* ============================================
  general
============================================ */
img{
  max-width: 100%;
  height: auto;
}

/* ◇ .grid_box
-------------------------------- */
.grid_box {
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 1.02675585284%
}
.grid_box.col1 {
  grid-template-columns: 1fr;
  gap: 20px;
}
.grid_box.col2 {
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
.grid_box.col3 {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px 32px;
}

.grid_box.gap20 {
  gap: 20px 20px;
}

@media only screen and
(max-width : 767px) {

  .grid_box.sp_col1 {
      grid-template-columns: 1fr;
  }
  
}

/* ============================================
  #kids-quiz 
============================================ */
#kids-quiz {
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  min-height: 745px;
  background: url("../img/main_bg.jpg") center bottom no-repeat;
  background-size: cover;
  align-content: center;
  position: relative;

  @media screen and (max-width: 767px) {
    min-height: 100svh;
    min-height: -webkit-fill-available;
    height: 100svh;
    height: -webkit-fill-available;
    min-block-size: 100svb;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  ._animation{
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
  }
  
  .logo {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 100;
    animation-delay: 1s;
    animation-name: slideDown;
    -webkit-animation-name: slideDown;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-fill-mode: both;
    animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
    will-change: transform, opacity;
    visibility: visible !important;
    opacity: 0;

    @media screen and (max-width: 767px) {
      top: 4vw;
      left: 4vw;
    }

    img{
      @media screen and (max-width: 767px) {
        max-width: 30vw;
      }
    }
  }

  .logo._animation {
    opacity: 0;
  }

  article {
    position: relative;
    max-width: 1040px;
    margin: 0 auto;

    @media screen and (max-width: 767px) {
      max-width: 100vw;
    }
    > section {
      min-height: 639px;

      @media screen and (max-width: 767px) {
        min-height: 90svh;
      }

    }


  }
  
  /* opening-section
  ----------------------------------- */
  .opening-section, .epilogue-section {
    position: relative;

    .next {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      text-align: center;
      animation: animation-zoomIn 0.3s ease 1.2s forwards;
    }
  }

  /* title-section
  ----------------------------------- */
  #title-section {
    position: relative;

    @media screen and (max-width: 767px) {
      margin-top: 10vh;
    }

    .title-inner {
      width: fit-content;
      position: relative;
      margin: 0 auto;
      padding-top: 141px;

      @media screen and (max-width: 767px) {
        padding-top: 35vw;
      }

      .title {
        position: absolute;
        top: 0;
        left: 16px;
        animation-delay: 2.4s;
        animation-duration: 0.5s;
        animation-name: fadeIn;
        animation-fill-mode: forwards;
        opacity: 0;
        z-index: 1;

        @media screen and (max-width: 767px) {
          width: 68vw;
          top: 4vw;
        }
      }
      .character {
        position: absolute;
        top: -9px;
        right: -69px;
        animation-delay: 1.5s;
        animation-duration: 1.5s;
        animation-name: animation-fadeInLong;
        animation-fill-mode: forwards;
        opacity: 0;
        z-index: 1;

        @media screen and (max-width: 767px) {
          top: 12vw;
          right: 0;
          width: 40vw;
        }
      }

      .main-logo {
        animation-duration: 1.2s;
        animation-name: animation-fadeIn;
        animation-fill-mode: forwards;

        @media screen and (max-width: 767px) {
          width: 90vw;
          margin-inline: auto;
        }
      }

      .start {
        position: relative;
        margin-top: -24px;
        text-align: center;
        animation: animation-fadeIn 0.5s ease 3.2s forwards, blink 2s linear 3.2s infinite;
        z-index: 2;
        @media screen and (max-width: 767px) {
          margin-top: -6vw;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 24vw;
          }
        }
      }
    }
    .joint_development {
      text-align: right;
      @media screen and (max-width: 767px) {
        margin-top: 7vw;
        padding-right: 2vw;
      }
    }
  }

  /* opening1-section
  ----------------------------------- */
  #opening1-section {
    .inner {
      height: 80vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
      .text {
        animation-duration:1.8s;
        animation-name: animation-fadeIn;
        animation-fill-mode: forwards;
        opacity: 0;
        img{
          @media screen and (max-width: 767px) {
            max-width: 80vw;
            max-height: 62svh;
          }
        }
      }
      .next {
        animation-delay: 1.8s;
        img{
          @media screen and (max-width: 767px) {
            max-width: 24vw;
          }
        }
      }
    }
  }

  /* opening2-section
  ----------------------------------- */
  #opening2-section {
    .inner {
      height: 80vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
      @media screen and (max-width: 767px) {
        height: 74svh;
      }
    }
    .spot {
      position: relative;

      padding-top: 221px;
      width:472px;
      @media screen and (max-width: 767px) {
        padding-top: 54vw;
        width: 90vw;
      }
      &::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 690px;
        background-image: url("../img/spotlight.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 1;
  
      }
      
      @media screen and (max-width: 767px) {
        &::before {
          height: 78svh;
          left: -5%;
          width: 110%;
          background-position: 100% 100% !important;
          background-size: 100% auto !important;
          -webkit-background-size: 100% auto !important;
        }
      }
      .lines {
        position: absolute;
        top: 7px;
        left: 30px;
        z-index: 1;

        animation-delay: 1.3s;
        animation-duration: 0.6s;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
        animation-name: popup;
        @media screen and (max-width: 767px) {
          top: 8vw;
          left: -5vw;
          width: 110%;
          text-align: center;
        }
        img{
          @media screen and (max-width: 767px) {
            width: 92%;
          }
        }
      }

      .laughter {
        position: absolute;
        top: -21px;
        left: 0;
        z-index: 2;
        animation: animation-fadeInDown 0.5s ease 1.8s forwards;

        @media screen and (max-width: 767px) {
          top: 5vw;
          left: 0;
        }

        > span {
          position: absolute;
          z-index: 2;
          opacity: 0;

          img {
            max-width: inherit;
            @media screen and (max-width: 767px) {
              max-width: 20vw;
            }
          }
        }
        .no1 {
          top: 8px;
          left: 0;
          animation: laughter-loop-no1 3.2s ease 1.8s infinite, tossing .3s infinite;
          @media screen and (max-width: 767px) {
            top: 6vw;
          }
        }
        .no2 {
          top: -18px;
          left: 151px;
          animation: laughter-loop-no2 3.2s ease 2.2s infinite, tossing .3s infinite;
          @media screen and (max-width: 767px) {
            top: 3vw;
            left: 23vw;
          }
        }
        .no3 {
          top: 68px;
          left: 52px;
          animation: laughter-loop-no3 3.2s ease 2.6s infinite, tossing .3s infinite;
          @media screen and (max-width: 767px) {
            top: 17vw;
            left: 6vw;
          }
        }
        .no4 {
          top: 30px;
          left: 198px;
          animation: laughter-loop-no4 3.2s ease 3.1s infinite, tossing .3s infinite;
          @media screen and (max-width: 767px) {
            top: 11vw;
            left: 28vw;
          }
          img {
            @media screen and (max-width: 767px) {
              max-width: 16vw;
            }
          }
        }
      }

      .character {
        position: relative;
        text-align: center;
        margin-bottom: 24px;
        z-index: 1;
        
        animation: animation-fadeInDown 0.8s ease 0.8s forwards;

        @media screen and (max-width: 767px) {
          margin-bottom: 4vw;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 55%;
          }
        }
      }

    }
    .next {
      animation-delay: 3.4s;

      img{
        @media screen and (max-width: 767px) {
          max-width: 24vw;
        }
      }
    }
  }

  /* epilogue-section
  ----------------------------------- */
  #epilogue-section {
    .inner {
      height: 72vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
      .text {
        animation-duration:1.8s;
        animation-name: animation-fadeIn;
        animation-fill-mode: forwards;
        opacity: 0;
        img{
          @media screen and (max-width: 767px) {            
            max-width: 80vw;
            max-height: 62svh;
          }
        }
      }
      .next {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        text-align: center;
        animation: animation-zoomIn 0.3s ease 1.2s forwards;
        
        img{
          @media screen and (max-width: 767px) {
            max-width: 24vw;
          }
        }
      }
    }
  }

  /* epilogue-section_end
  ----------------------------------- */
  #epilogue-section_end {

    .inner {
      height: 72vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 40px;
      @media screen and (max-width: 767px) {
        height: 78svh;
      }
    }
    .spot {
      position: relative;

      padding-top: 190px;
      width:472px;
      @media screen and (max-width: 767px) {
        padding-top: 65vw;
        width: 90vw;
      }

      &::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 690px;
        background-image: url("../img/spotlight.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        opacity: 1;
  
      }
      
      @media screen and (max-width: 767px) {
        &::before {
          height: 86svh;
          left: -5%;
          width: 110%;
          background-position: 100% 100% !important;
          background-size: 100% auto !important;
          -webkit-background-size: 100% auto !important;
        }
      }
      .lines {
        position: absolute;
        top: 67px;
        right: -252px;
        animation-delay: 1.3s;
        animation-duration: 0.6s;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
        animation-name: popup;
        @media screen and (max-width: 767px) {
          top: 16vw;
          right: inherit;
          left: -3vw;
          width: 100%;
          text-align: center;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 77%;
          }
        }
      }

      .character {
        position: relative;
        text-align: center;
        margin-bottom: 24px;
        
        animation: animation-fadeInDown 0.8s ease 0.8s forwards;

        @media screen and (max-width: 767px) {
          margin-bottom: 4vw;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 80%;
          }
        }
      }
    }
    .end-text , .return {
      display: none;
      opacity: 0;
    }
    &.end {
      .spot{
        display: none;
        opacity: 0;
      }

      .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 100svh;
        height: 100vh;
        height: -webkit-fill-available;
        max-height: 100svh;
        max-height: -webkit-fill-available;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        gap: 40px;

        @media screen and (max-width: 767px) {
          gap: 6vw;
        }

        &::before {
          pointer-events: none;
          content: "";
          position: fixed;
          top: 0;
          left: 0;
          width: 100vw;
          height: 100%;
          background: rgba(0, 0, 0, 0.5);
        }
      }

      .end-text , .return {
        display: block; 
      }
      .end-text {
        opacity: 0;
        transform: translate(-50%, -50%);
        animation: animation-down 1s ease 0.5s forwards;
        text-align: center;
        img{
          @media screen and (max-width: 767px) {
            max-width: 70%;
          }
        }
      }
      .return {
        margin-top: 14px;
        opacity: 0;
        animation: animation-fadeIn .5s ease 1.8s forwards, blink 2s linear 2.2s infinite;
        @media screen and (max-width: 767px) {
          margin-top: 2vw;
          img{
            @media screen and (max-width: 767px) {
              max-width: 24vw;
            }
          }
        }
      }
    }
  }

  /* question-section
  ----------------------------------- */
  .question-section {
    margin-top: 110px;
    @media screen and (max-width: 767px) {
      margin-top: 17vw;
    }

    .inner {
      position: relative;
      box-sizing: border-box;
      width: 907px;
      height: 611px;
      padding: 60px 72px;
      background: url("../img/question_bg.png") no-repeat center / cover;
      box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
      margin-inline: auto;

      @media screen and (max-width: 767px) {
        width: 90vw;
        height: 152vw;
        padding: 6vw;
        background: url("../img/question_bg_sp.png") no-repeat center / auto 100%;
      }

      &::before {
        content: "";
        position: absolute;
        top: -50%;
        left: 0;
        width: 100%;
        height: 50%;
        background-image: url("../img/question_decoration.png"), url("../img/question_decoration.png");
        background-position: 210px 100%, 618px 100%;
        background-repeat: repeat-y, repeat-y;
        background-size: auto, auto;
      }
    }

    @media screen and (max-width: 767px) {
      .inner::before {
        background-image: url("../img/question_decoration_sp.png"), url("../img/question_decoration_sp.png");
        background-position: 10.6vw 100%, 73.6vw 100%;
        background-size: 5.6vw auto, 5.6vw auto;
        background-repeat: repeat-y, repeat-y;
      }
    }

    .no {
      text-align: center;
      margin-top: -92px;
      margin-bottom: 36px;
      @media screen and (max-width: 767px) {
        margin-top: -11vw;
        margin-bottom: 4vw;
      }
      img{
        @media screen and (max-width: 767px) {
          max-width: 48vw;
        }
      }
    }

    .image {
      @media screen and (max-width: 767px) {
        text-align: center;
      }
      img{
        margin-inline: auto;
        @media screen and (max-width: 767px) {
          max-width: 100%;
        }
      }
    }

    .question {
      text-align: center;
      margin-bottom: 36px;

      animation: animation-fadeIn 0.5s ease 0.5s forwards;
    }

    .answerBox {
      animation: animation-fadeIn 0.5s ease 1s forwards;
      
      .answersList {
        margin-top: 0;
        @media screen and (max-width: 767px) {
          padding-left: 6vw;
          padding-right: 6vw;
          gap: 2vw;
        }

        li{
          @media screen and (max-width: 767px) {
            text-align: center;
          }
        }
      }

      &.sp_col1 {
        gap: 2vw;
      }
    }

  }
  /* question-section_ok
  ----------------------------------- */
  .question-section._ok {
    .inner {
      .answer {
        position: relative;
        text-align: center;
        margin-bottom: 36px;
        animation: animation-fadeIn 0.5s ease .5s forwards;

        @media screen and (max-width: 767px) {
          margin-bottom: 6vw;
          padding-left: 6vw;
          padding-right: 6vw;
        }

        &::before {
          content: "";
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 129px;
          height: 129px;
          background: url("../img/correct.svg") no-repeat center / contain;

        }

        @media screen and (max-width: 767px) {
          &::before {
            width: 20vw;
            height: 20vw;
          }
        }
      }

      .correct-pchan {
        margin-top: -45px;
        text-align: center;
        animation: slide-skew .5s ease .8s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          margin-top: -4vw;
          padding-left: 6vw;
          padding-right: 6vw;
        }
      }
      .text {
        text-align: center;
        padding-right: 45px;
        margin-top: 24px;
        animation: animation-fadeIn 0.5s ease 1.5s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          padding-right: 8vw;
          padding-left: 8vw;
          text-align: center;
        }
      }

      .next {
        position: absolute;
        bottom: 60px;
        right: 55px;
        animation: animation-fadeIn 0.5s ease 2s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          bottom: 8vw;
          right: 0;
          width: 100%;
          text-align: center;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 22vw;
          }
        }
      }
    }
  }

  /* question-section_ng
  ----------------------------------- */
  .question-section._ng {
    .inner {
      .answer {
        position: relative;
        text-align: center;
        margin-bottom: 36px;
        animation: animation-fadeIn 0.5s ease .5s forwards;

        @media screen and (max-width: 767px) {
          margin-bottom: 6vw;
          padding-left: 6vw;
          padding-right: 6vw;
        }

        &::before {
          content: "";
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          width: 129px;
          height: 129px;
          background: url("../img/incorrect.svg") no-repeat center / contain;

        }
        @media screen and (max-width: 767px) {
          &::before {
            width: 20vw;
            height: 20vw;
          }
        }
      }
      .incorrect {
        position: relative;
        text-align: center;
        margin-top: 24px;
        animation: animation-fadeIn 0.5s ease .8s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          margin-top: 4vw;
          text-align: left;
          padding-left: 6vw;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 45vw;
            margin-top: 8vw;
          }
        }

        &::before {
          content: "";
          position: absolute;
          top: -6%;
          left: 1%;
          width: 171px;
          height: 209px;
          background: url("../img/hint-qchan.svg") no-repeat center / contain;
          animation: animation-fadeIn 0.5s ease 1.2s forwards;
          opacity: 0;
          @media screen and (max-width: 767px) {
            width: 25vw;
            left:initial;
            right: 0;
            background-position: 0 0;
          }
        }
      }
      .text {
        text-align: center;
        padding-right: 45px;
        margin-top: 44px;
        animation: animation-fadeIn 0.5s ease 1.5s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          padding-right: 8vw;
          padding-left: 8vw;
          text-align: center;
        }
      }
      .prev {
        position: absolute;
        bottom: 60px;
        right: 55px;
        animation: animation-fadeIn 0.5s ease 2s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          bottom: 8vw;
          right: 0;
          width: 100%;
          text-align: center;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 22vw;
          }
        }
      }
    }
  }
  /* question-section_levelup
  ----------------------------------- */
  .question-section._levelup {
    .inner {
      .results {
        text-align: center;
        animation: animation-fadeIn 0.5s ease 0.2s forwards;
        opacity: 0;
        margin-bottom: 32px;
        @media screen and (max-width: 767px) {
          margin-bottom: -18vw;
        }
      }
      .title {
        text-align: center;
        animation: popup 0.5s ease 0.5s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          padding-left: 13vw;
          padding-right: 13vw;
          margin-top: 22vw;
        }
      }
      .bar {
        text-align: center;
        margin-top: 42px;
        animation: animation-fadeIn 0.5s ease 1s forwards;
        opacity: 0;
        background: url("../img/level-bar.svg") no-repeat center / contain;

        @media screen and (max-width: 767px) {
          margin-top: 4vw;
        }

        img {
          animation: bar-animation 1s ease 1.5s forwards;
          opacity: 0;
        }
      }
      .pchan {
        text-align: center;
        margin-top: -24px;
        animation: animation-fadeIn 0.5s ease 2.5s forwards;
        opacity: 0;
        @media screen and (max-width: 767px) {
          margin-top: 4vw;
          padding-left: 9vw;
          padding-right: 9vw;
        }
      }
      .next {
        position: absolute;
        bottom: 60px;
        right: 55px;
        animation: animation-fadeIn 0.5s ease 2.8s forwards;
        opacity: 0;


        @media screen and (max-width: 767px) {
          bottom: 8vw;
          right: 0;
          width: 100%;
          text-align: center;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 22vw;
          }
        }
      }
    }
  }

  /* question-section_comment
  ----------------------------------- */
  .question-section._comment {
    .inner {
      position: relative;
      .qchan {
        position: relative;
        width: fit-content;
        margin-inline: auto;
      }
      .text1 {
        position: absolute;
        /* top: 21px;
        left: -209px; */
        animation: animation-fadeIn 0.5s ease 0.8s forwards;
        opacity: 0;
      }
      .laughter {
        position: absolute;
        /*top: 56%;
        right: -202px; */
        animation: animation-fadeIn 0.5s ease 1.4s forwards , tossing .3s infinite;
        opacity: 0;
      }
      .character {
        animation: animation-fadeIn 0.5s ease 0.5s forwards;
        opacity: 0;
        text-align: center;
      }
      .text2 {
        margin-top: 8px;
        animation: animation-fadeIn 0.5s ease 1.8s forwards;
        opacity: 0;
        text-align: center;
      }
    }
    .next {
      position: absolute;
      bottom: 60px;
      right: 55px;
      animation: animation-fadeIn 0.5s ease 2.5s forwards;
      opacity: 0;

      @media screen and (max-width: 767px) {
        bottom: 8vw;
        right: 0;
        width: 100%;
        text-align: center;
      }

      img{
        @media screen and (max-width: 767px) {
          max-width: 22vw;
        }
      }
    }
  }
  /* question-section_last
  ----------------------------------- */
  .question-section._last {
    .inner {
      position: relative;
      .qchan {
        padding-top: 173px;
        width: fit-content;
        margin-inline: auto;
        @media screen and (max-width: 767px) {
          padding-top: 47vw;
        }
      }

      .lines {
        position: absolute;
        top: 104px;
        left: 204px;
        animation: animation-fadeIn 0.5s ease 0.8s forwards;

        @media screen and (max-width: 767px) {
          top: 12vw;
          left: 0;
          width: 100%;
          text-align: center;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 70%;
          }
        }
      }
      .laughter {
        position: absolute;
        top: 56%;
        right: 144px;
        animation: animation-fadeIn 0.5s ease 1.4s forwards;

        @media screen and (max-width: 767px) {
          top: 66vw;
          right: inherit;
          left: 5vw;
          text-align: center;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 60%;
          }
        }
      }
      .character {
        position: relative;
        left: -24px;
        animation: animation-fadeIn 0.5s ease 0.5s forwards;
        @media screen and (max-width: 767px) {
          left: 0;
          text-align: center;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 90%;
          }
        }
      }
      .next {
        position: absolute;
        bottom: 60px;
        right: 55px;
        animation: animation-fadeIn 0.5s ease 2.2s forwards;
        opacity: 0;

        @media screen and (max-width: 767px) {
          bottom: 8vw;
          right: 0;
          width: 100%;
          text-align: center;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 22vw;
          }
        }
      }
    }
  }
  /* question1-section
  ----------------------------------- */
  #question1-section {
    .inner {
      animation: slideDown 1s ease 0.5s forwards;
      opacity: 0;

      .question {
        text-align: center;
        margin-bottom: 36px;

        animation: animation-fadeIn 0.5s ease 1.5s forwards;

        @media screen and (max-width: 767px) {
          margin-bottom: 6vw;
        }
      }

      .image {
        img{
          @media screen and (max-width: 767px) {
            max-width: 69%;
          }
        }
      }

      .answerBox {
        animation: animation-fadeIn 0.5s ease 2s forwards;
      }

      .decoration {
        position: absolute;
        bottom: 32px;
        right: 49px;
        animation: slideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 2.5s forwards;
        @media screen and (max-width: 767px) {
          bottom: 3vw;
          right: 0vw;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 70vw;
          }
        }
      }
    }
  }

  /* question1-section_ng
  ----------------------------------- */
  #question1-section_ng {
    .text {
      img{
        @media screen and (max-width: 767px) {
          max-width: 70%;
        }
      }
    }
  }

  /* question2-section
  ----------------------------------- */
  #question2-section {
    .no {
      margin-bottom: 12px;
    }
    .question {
      margin-bottom: 20px;
      img{
        @media screen and (max-width: 767px) {
          max-width: 80%;
        }
      }
    }
    .answersList {
      margin-top: 0;
      gap: 7px 20px;
      @media screen and (max-width: 767px) {
        margin-top: 25vw;
        gap: 2vw 4vw;
        padding-left: 6vw;
        padding-right: 6vw;
      }
    }
    .image {
      position: absolute;
      bottom: 41px;
      animation: animation-fadeIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 1.8s forwards;
      left: 68px;
      pointer-events: none;

      @media screen and (max-width: 767px) {
        top: 26vw;
        left: 0;
        width: 100%;
        text-align: center;
      }

      img{
        @media screen and (max-width: 767px) {
          width: auto;
          height: 23.5vw;
        }
      }
    }
    .decoration {
      position: absolute;
      bottom: 32px;
      right: 49px;
      animation: slideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 2.0s forwards;

      @media screen and (max-width: 767px) {
        bottom: 3vw;
        right: 0vw;
      }
      img{
        @media screen and (max-width: 767px) {
          max-width: 60vw;
        }
      }
    }
  }

  /* question2-section_ok
  ----------------------------------- */
  #question2-section_ok {
    .text {
      img{
        @media screen and (max-width: 767px) {
          max-width: 80%;
        }
      }
    }
  }

  /* question2-section_ng
  ----------------------------------- */
  #question2-section_ng {
    .text {
      text-align: center;
      padding-right: 0;

      @media screen and (max-width: 767px) {
        padding-right: 8vw;
        margin-top: 18vw;
      }

      img{
        @media screen and (max-width: 767px) {
          max-width: 70%;
        }
      }
    }
  }


  /* question3-section
  ----------------------------------- */
  #question3-section {
    .inner {
      .question {
        @media screen and (max-width: 767px) {
          margin-bottom: 6vw;
        }
      }
      .decoration {
        position: absolute;
        bottom: 32px;
        left: 100px;
        animation: slideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 1.4s forwards;

        @media screen and (max-width: 767px) {
          bottom: 3vw;
          left: 0;
          width: 100%;
          text-align: center;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 60vw;
          }
        }
      }

      .image {
        img{
          @media screen and (max-width: 767px) {
            max-width: 60%;
          }
        }
      }
    }
  }

  /* question3-section_ok
  ----------------------------------- */
  #question3-section_ok {
    .inner {
      .question {
        img{
          @media screen and (max-width: 767px) {
            height: 17vw;
          }
        }
      }
      .correct-pchan {
        margin-top: -15px;
      }
    }
  }

  /* question3-section_ng
  ----------------------------------- */
  #question3-section_ng {
    .inner {
      .answer {
        img{
          @media screen and (max-width: 767px) {
            height: 17vw;
          }
        }
      }
      .text {
        @media screen and (max-width: 767px) {
          margin-top: 18vw;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 80%;
          }
        }
        
      }
    }
  }
  /* question3_comment
  ----------------------------------- */
  #question3-comment {
    .inner {
      .qchan {
        padding-top: 82px;
        @media screen and (max-width: 767px) {
          padding-top: 24vw;
        }
      }
      .text1 {
        top: 21px;
        left: -209px;
        animation: animation-fadeIn 0.5s ease 0.8s forwards;

        @media screen and (max-width: 767px) {
          top: 4vw;
          left: -13vw;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 72vw;
          }
        }
      }
      .laughter {
        top: 56%;
        right: -202px;
        animation: animation-fadeIn 0.5s ease 1.4s forwards , tossing .3s infinite;

        @media screen and (max-width: 767px) {
          top: 22vw;
          right: inherit;
          left: -9vw;
        }

        img{
          @media screen and (max-width: 767px) {
            max-width: 26vw;
          }
        }
      }
      .character {
        animation: animation-fadeIn 0.5s ease 0.5s forwards;
        img{
          @media screen and (max-width: 767px) {
            max-width: 75%;
          }
        }
      }
      .text2 {
        animation: animation-fadeIn 0.5s ease 1.8s forwards;
        img{
          @media screen and (max-width: 767px) {
            max-width: 80%;
          }
        }
      }
    }
    .next {
      animation: animation-fadeIn 0.5s ease 2.5s forwards;
    }
  }

  /* question4-section
  ----------------------------------- */
  #question4-section {
    .no {
      margin-bottom: 9px;
    }
    .question {
      margin-bottom: 16px;
      @media screen and (max-width: 767px) {
        margin-bottom: 2vw;
      }
    }
    .answersList {
      margin-top: 0;
      gap: 7px 20px;
      @media screen and (max-width: 767px) {
        gap: 1vw 4vw;
        padding-left: 6vw;
        padding-right: 6vw;
      }
    }
    .image {
      position: absolute;
      bottom: 41px;
      animation: animation-fadeIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 1.8s forwards;
      left: 128px;
    }
    .decoration {
      position: absolute;
      bottom: 32px;
      right: 49px;
      animation: slideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 2.0s forwards;

      @media screen and (max-width: 767px) {
        bottom: 3vw;
        right: 0;
        left: 0;
        width: 100%;
        text-align: center;
      }
      img{
        @media screen and (max-width: 767px) {
          max-width: 60vw;
        }
      }
    }
  }
  /* question4-section_ok
  ----------------------------------- */
  #question4-section_ok {
    .inner {
      .correct-pchan {
        margin-top: -15px;
        @media screen and (max-width: 767px) {
          margin-top: -4vw;
        }
      }
    }
    .text {
      @media screen and (max-width: 767px) {
      }
      img{
        @media screen and (max-width: 767px) {
          max-width: 80%;
        }
      }
      
    }
  }

  /* question4-section_ng
  ----------------------------------- */
  #question4-section_ng {
    .inner {
      .text {
        @media screen and (max-width: 767px) {
          margin-top: 18vw;
        }
      }
    }
  }
  /* question5-section
  ----------------------------------- */
  #question5-section {
    .inner {
      .no {
        margin-bottom: 9px;
      }
      .question {
        margin-bottom: 16px;
      }
      .answersList {
        margin-top: 0;
        gap: 7px 20px;
      }
      .image {
        text-align: center;
      }
      .decoration {
        position: absolute;
        bottom: 32px;
        left: 49px;
        animation: slideIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) 1.4s forwards;

        @media screen and (max-width: 767px) {
          bottom: 3vw;
          right: 0;
          left: 0;
          width: 100%;
          text-align: center;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 70vw;
          }
        }
      }
    }
  }
  /* question5-section_ok
  ----------------------------------- */
  #question5-section_ok {
    .inner {
      .correct-pchan {
        margin-top: -15px;
        @media screen and (max-width: 767px) {
          margin-top: 4vw;
        }
      }
      .text {
        @media screen and (max-width: 767px) {
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 80%;
          }
        }
        
      }
    }
  }
  /* question5-section_ng
  ----------------------------------- */
  #question5-section_ng {
    .inner {
      .text {
        @media screen and (max-width: 767px) {
          margin-top: 18vw;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 70%;
          }
        }
      }
    }
  }
  /* question5-levelup
  ----------------------------------- */
  #question5-levelup {
    .inner {
      .bar {
        margin-top: 10px;
        @media screen and (max-width: 767px) {
          margin-top: 2vw;
        }
      }
      .pchan {
        @media screen and (max-width: 767px) {
          margin-top: 4vw;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 63%;
          }
        }
      }
    }
  }

  /* question5-comment
  ----------------------------------- */
  #question5-comment {
    .inner {
      .qchan {
        width: fit-content;
        margin-inline: auto;
        padding-top: 82px;
        @media screen and (max-width: 767px) {
          padding-top: 16vw;
        }
      }
      .text1 {
        position: absolute;
        top: 21px;
        left: 209px;
        width: 286px;
        animation: animation-fadeIn 0.5s ease 1.6s forwards;

        @media screen and (max-width: 767px) {
          position: static;
          top: inherit;
          left: 0;
          text-align: center;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 90%;
          }
        }

      }
      .lines {
        position: absolute;
        top: 21px;
        left: -209px;
        width: 259px;
        animation: animation-fadeIn 0.5s ease 0.8s forwards;
        @media screen and (max-width: 767px) {
          top:0;
          left: -2vw;
          width: 36vw;

        }
      }
      .laughter {
        position: absolute;
        top: 70%;
        right: inherit;
        left: -152px;
        animation: animation-fadeIn 0.5s ease 2.0s forwards , tossing .3s infinite;
        @media screen and (max-width: 767px) {
          top: 22vw;
          left: inherit;
          right: -3vw;
          width: 26vw;
        }
      }
      .character {
        animation: animation-fadeIn 0.5s ease 0.5s forwards;
        text-align: center;

        img{
          @media screen and (max-width: 767px) {
            max-width: 77%;
            margin-left: 5vw;
          }
        }
      }
      .text2 {
        margin-top: 8px;
        animation: animation-fadeIn 0.5s ease 2.5s forwards;
        text-align: center;
        @media screen and (max-width: 767px) {
          margin-top: 2vw;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 95%;
          }
        }
      }
    }
    .next {
      animation: animation-fadeIn 0.5s ease 3s forwards;
    }
  }


    /* question6-section
  ----------------------------------- */
  #question6-section {
    .question {
      margin-bottom: 61px;
      @media screen and (max-width: 767px) {
        margin-bottom: 8vw;
      }
      img{
        @media screen and (max-width: 767px) {
          max-width: 70%;
        }
      }
    }
    .answersList {
      margin-top: 0;
      gap: 7px 20px;
    }
    div.image {
      padding-left: 34px;
      position: relative;
      .image {
        @media screen and (max-width: 767px) {
          text-align: center;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 80%;
          }
        }
      }
      .laughter {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 2;
        animation: animation-fadeInDown 0.5s ease 1.8s forwards, tossing .3s infinite;
        @media screen and (max-width: 767px) {
          top: 0;
          left: 8vw;
          width: 35vw;
        }
      }
    }
  }
  /* question6-section_ok2
  ----------------------------------- */
  #question6-section_ok2 {
    .inner {
      .lines {
        animation: animation-fadeIn 0.5s ease 6.1s forwards;
        @media screen and (max-width: 767px) {
          top: 25vw;
        }
      }
      .character {
        background: url("../img/q6-ok-qchan2.png") no-repeat center / contain;
        img {
          animation: q6-flicker-extended 5.8s steps(60, end) forwards;
        }
      }

      .next {
        animation: animation-fadeIn 0.5s ease 6.8s forwards;

      }
    }
  }
  /* question6-section_ok3
  ----------------------------------- */
  #question6-section_ok3{
    .inner {
      .qchan {
        padding-top: 232px;
        @media screen and (max-width: 767px) {
          padding-top: 55vw;
        }
      }
      .lines {
        top: 104px;
        @media screen and (max-width: 767px) {
          top: 19vw;
        }
      }
      .character {
        left: 81px;
        @media screen and (max-width: 767px) {
          left: 0;
          width: 100%;
          text-align: center;
        }
        img{
          @media screen and (max-width: 767px) {
            max-width: 70%;
          }
        }
      }

      .next {
        animation: animation-fadeIn 0.5s ease 1.5s forwards;
      }
    }
  }
} 