body.state-start .for-question,
body.state-start .for-answer,
body.state-start .for-next {
  display: none;
}

body.state-question .start-only,
body.state-explain .start-only {
  display: none;
}

body.state-question .for-next,
body.state-explain .for-answer {
  display: none;
}


body {
  background: #fef5e3;
  position: relative;
  padding-top: 100px;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  inset: 0;

  background-image: url(../img/bg/quiz_curtain.png);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;

  z-index: 5;
  pointer-events: none;
}

.hidden {
  display: none !important;
}

.bubble {
  background: white;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 16px;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.bubble>* {
  margin: 0;
}

.bubble-text {
  text-align: center;
}

.title-image {
  display: inline;
  width: 90%;
  max-width: 350px;
  height: auto;
  margin: auto;
}

.mascot {
  max-width: 240px;
  margin: auto;
}

.main-layout {
  max-width: 900px;
  margin: auto;
}

#answer-area,
#next-area,
#start-area,
#again-area {
  min-width: 450px;
  min-height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.b-btn img,
.q-btn img {
  display: block;
  width: 80%;
  max-width: 100px;
  height: auto;
  margin: auto;
}

.t-btn img,
.f-btn img {
  display: block;
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: auto;
}

.s-btn img,
.n-btn img,
.a-btn img {
  display: block;
  width: 80%;
  max-width: 300px;
  height: auto;
  margin: auto;
}

#next-area,
#start-area,
#again-area {
  margin: 38px 0 0;
}

.dot-img {
  display: block;
  width: 7%;
  max-width: 30px;
}

.footer-stage {
  width: 100%;
  background: #c89b63;
  box-shadow: inset 0 8px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
}

.footer-banner {
  max-width: 320px;
}

/* タブレット */
@media (min-width:641px) {
  .title-image {
    max-width: 500px;
  }

  .bubble {
    height: 120px;
  }

  .mascot {
    display: block;
  }
}

/* PC */
@media (min-width:1025px) {
  .stage-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
  }

  .left-column {
    display: flex;
    width: 130px;
    justify-content: center;
  }

  .pc-only {
    display: block;
  }

  .mobile-only {
    display: none;
  }

  .center-column>.bubble,
  .center-column>.answer-row,
  .center-column>.progress,
  .center-column>#explain-text {
    order: 0;
  }
}