/* CSS Document */
.quiz-inner {
  width: calc(100% - 2rem);
}
@media screen and (min-width: 1025px) {
  .quiz-inner {
    width: 60vh;
  }
}
.quiz-inner {
  margin: 0 auto;
  container-type: inline-size;
}
.quiz-lead {
  text-align: center;
  color: #f5f5f5;
}
.quiz-area, .quiz-final {
  font-size: 5cqw;
  padding: 1em;
  margin: 1em auto;
  background-color: #05060a;
  color: #f5f5f5;
  border-radius: 1em;
  -webkit-box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.3);
          box-shadow: 0.25em 0.25em 0.25em rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.quiz-area::before, .quiz-final::before {
  position: absolute;
  content: "";
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/bg-yen.svg);
  background-position: center;
  background-size: 3em auto;
  opacity: 0.05;
}
.quiz-status {
  padding: 1em 0;
  border-bottom: solid 1px #333;
  margin: 0 auto 1em;
  text-align: center;
  text-box: trim-both cap alphabetic;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
}
.quiz-money {
  color: #c8142f;
  font-weight: bold;
}
.quiz-box {
  will-change: transform, opacity;
}
.quiz-box.is-slide-in {
  -webkit-animation: quizSlideIn 0.32s ease-out both;
          animation: quizSlideIn 0.32s ease-out both;
}
.quiz-box.is-slide-out {
  -webkit-animation: quizSlideOut 0.28s ease-in both;
          animation: quizSlideOut 0.28s ease-in both;
  pointer-events: none;
}
.quiz-count {
  text-align: center;
  margin: 0 auto 0.5em;
}
.quiz-question, .quiz-result-correct {
  background-color: #8a4fe3;
  border: solid 2px #05060a;
  padding: 1em 0;
  margin: 0;
  color: #f5f5f5;
  text-align: center;
  position: relative;
}
.quiz-question::after, .quiz-result-correct::after {
  position: absolute;
  content: "";
  inset: 0 auto auto 0;
  aspect-ratio: 23/30;
  width: 2em;
  -webkit-transform: translate(-1em, -1em);
          transform: translate(-1em, -1em);
  background-image: url(../img/quiz-icon-q.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.quiz-question .inner, .quiz-result-correct .inner {
  font-size: 5cqw;
  font-weight: bold;
}
.quiz-category {
  display: inline-block;
  inset: auto auto auto 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  position: relative;
  background-color: #e0c15a;
  color: #05060a;
  padding: 0.5em 1.5em;
  font-size: 0.8em;
  text-box: trim-both cap alphabetic;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  margin: 0 auto 0.5em;
  font-weight: bold;
  -webkit-clip-path: polygon(0.5em 0, calc(100% - 0.5em) 0, 100% 50%, calc(100% - 0.5em) 100%, 0.5em 100%, 0 50%);
          clip-path: polygon(0.5em 0, calc(100% - 0.5em) 0, 100% 50%, calc(100% - 0.5em) 100%, 0.5em 100%, 0 50%);
}
.quiz-result-correct {
  background-color: #e74543;
}
.quiz-result-correct::after {
  background-image: url(../img/quiz-icon-a.webp);
}
.quiz-answer-row {
  text-align: center;
  padding: 1em 0;
}
.quiz-input-wrap {
  position: relative;
  display: inline-block;
}
.quiz-input {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 1.2em;
  width: 6em;
  padding: 0.5em;
  margin: 0 auto;
  text-align: center;
  border: none;
  background-color: #f5f5f5;
  border-radius: 0.25em;
  font-weight: normal;
  color: #000;
}
.quiz-input:disabled {
  opacity: 1;
  -webkit-text-fill-color: #000;
}
.quiz-prefix, .quiz-unit {
  position: absolute;
  font-weight: bold;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  white-space: pre;
}
.quiz-prefix:disabled, .quiz-unit:disabled {
  opacity: 1;
  -webkit-text-fill-color: #000;
}
.quiz-prefix {
  inset: 50% calc(100% + 0.5em) auto auto;
}
.quiz-unit {
  inset: 50% auto auto calc(100% + 0.5em);
}
.quiz-button, .quiz-next-button, .quiz-retry-button, .quiz-share-button {
  border: none;
  background-color: #c8142f;
  color: #f5f5f5;
  text-box: trim-both cap alphabetic;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding: 0.75em 0;
  width: 10em;
  margin: 1em auto;
  font-weight: bold;
  display: block;
  border-radius: 100vh;
  font-size: 1.1em;
  cursor: pointer;
  -webkit-filter: drop-shadow(0 0 0.1em rgba(0, 0, 0, 0.3));
          filter: drop-shadow(0 0 0.1em rgba(0, 0, 0, 0.3));
  -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease, -webkit-transform 0.2s ease, -webkit-filter 0.2s ease;
}
.quiz-button:hover, .quiz-next-button:hover, .quiz-retry-button:hover, .quiz-share-button:hover {
  -webkit-filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.5));
          filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0.5));
  -webkit-transform: scale(0.95);
          transform: scale(0.95);
}
.quiz-button:disabled, .quiz-next-button:disabled, .quiz-retry-button:disabled, .quiz-share-button:disabled {
  cursor: default;
  opacity: 0.65;
  -webkit-transform: none;
          transform: none;
}
.quiz-next-button {
  background-color: #1d6dff;
}
.quiz-retry-button {
  width: 15em;
  background-color: #1d6dff;
}
.quiz-share-button {
  width: 15em;
  background-color: #f5f5f5;
  color: #05060a;
  text-align: center;
  text-indent: 1em;
}
.quiz-share-button .inner {
  position: relative;
}
.quiz-share-button .inner::before {
  position: absolute;
  content: "";
  inset: 50% calc(100% + 0.1em) auto auto;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  aspect-ratio: 1/1;
  height: 1.2em;
  background-image: url(https://www.ctv.co.jp/assets/svgs/sns/x.svg);
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: center;
}
.quiz-perfect-message {
  display: block;
  margin-bottom: 1em;
  color: #e0c15a;
  font-size: 1.1em;
  line-height: 1.2;
  font-weight: bold;
  text-align: center;
}
.quiz-final-label {
  margin: 0 auto 0.25em;
  text-align: center;
}
.quiz-final-money {
  margin: 0 auto 1em;
  text-align: center;
}
.quiz-answer-box .quiz-result-correct {
  margin-top: 0.75em;
}
.quiz-answer-box .quiz-result-line-wrap {
  margin-top: 0.75em;
}
.quiz-answer-actions {
  text-align: center;
}
.quiz-final-money {
  color: #e0c15a;
  text-align: center;
}
.quiz-result-line-wrap, .quiz-summary {
  padding: 1em;
  background-color: #fff;
  color: #05060a;
}
.quiz-summary {
  margin: 1em auto;
}
.quiz-summary ul {
  padding-left: 0.75em;
  margin: 0;
}
.quiz-summary li + li {
  margin-top: 0.5em;
}
.quiz-summary .quiz-answer-number {
  color: #c8142f;
}
.quiz-result-line {
  display: block;
}
.quiz-diff-number {
  color: #c8142f;
}
.quiz-perfect-bonus-number {
  color: #1d6dff;
}
.quiz-answer-question {
  margin: 0.5em 0 0.8em;
  padding: 0.65em 0.8em;
  border: 1px solid rgba(245, 245, 245, 0.18);
  border-radius: 0.6em;
  background: rgba(245, 245, 245, 0.06);
  color: rgba(245, 245, 245, 0.82);
  text-align: left;
}
.quiz-answer-question-category {
  margin: 0 0 0.25em;
  color: #e0c15a;
  font-size: 0.7em;
  font-weight: bold;
}
.quiz-answer-question-text {
  margin: 0;
  font-size: 0.7em;
  line-height: 1.55;
  font-weight: bold;
}
.quiz-answer-question .c-yellow {
  color: inherit;
}
.quiz-answer-note {
  display: block;
  margin-top: 0.25em;
  font-size: 0.72em;
  line-height: 1.4;
  font-weight: bold;
}

.c-yellow {
  color: #e0c15a;
}

@-webkit-keyframes quizSlideIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(48px);
            transform: translateX(48px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}

@keyframes quizSlideIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(48px);
            transform: translateX(48px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@-webkit-keyframes quizSlideOut {
  from {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateX(-48px);
            transform: translateX(-48px);
  }
}
@keyframes quizSlideOut {
  from {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    opacity: 0;
    -webkit-transform: translateX(-48px);
            transform: translateX(-48px);
  }
}
.quiz-result-correct {
  -webkit-animation: quizAnswerPop 0.32s ease-out both;
          animation: quizAnswerPop 0.32s ease-out both;
}

.quiz-result-line-wrap {
  -webkit-animation: quizResultFadeUp 0.32s ease-out 0.08s both;
          animation: quizResultFadeUp 0.32s ease-out 0.08s both;
}

.quiz-perfect-message {
  -webkit-animation: quizResultFadeUp 0.28s ease-out both;
          animation: quizResultFadeUp 0.28s ease-out both;
}

.quiz-next-button {
  -webkit-animation: quizResultFadeUp 0.28s ease-out 0.16s both;
          animation: quizResultFadeUp 0.28s ease-out 0.16s both;
}

@-webkit-keyframes quizAnswerPop {
  from {
    opacity: 0;
    -webkit-transform: translateY(12px) scale(0.96);
            transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
  }
}

@keyframes quizAnswerPop {
  from {
    opacity: 0;
    -webkit-transform: translateY(12px) scale(0.96);
            transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
  }
}
@-webkit-keyframes quizResultFadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes quizResultFadeUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(10px);
            transform: translateY(10px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
.quiz-final {
  -webkit-animation: quizFinalIn 0.36s ease-out both;
          animation: quizFinalIn 0.36s ease-out both;
}

.quiz-final-label {
  -webkit-animation: quizFinalItemIn 0.32s ease-out 0.08s both;
          animation: quizFinalItemIn 0.32s ease-out 0.08s both;
}

.quiz-final-money {
  -webkit-animation: quizFinalItemIn 0.32s ease-out 0.14s both;
          animation: quizFinalItemIn 0.32s ease-out 0.14s both;
}

.quiz-summary {
  -webkit-animation: quizFinalItemIn 0.36s ease-out 0.22s both;
          animation: quizFinalItemIn 0.36s ease-out 0.22s both;
}

.quiz-summary li {
  opacity: 0;
  -webkit-animation: quizSummaryItemIn 0.28s ease-out both;
          animation: quizSummaryItemIn 0.28s ease-out both;
}

.quiz-summary li:nth-child(1) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}

.quiz-summary li:nth-child(2) {
  -webkit-animation-delay: 0.36s;
          animation-delay: 0.36s;
}

.quiz-summary li:nth-child(3) {
  -webkit-animation-delay: 0.42s;
          animation-delay: 0.42s;
}

.quiz-summary li:nth-child(4) {
  -webkit-animation-delay: 0.48s;
          animation-delay: 0.48s;
}

.quiz-summary li:nth-child(5) {
  -webkit-animation-delay: 0.54s;
          animation-delay: 0.54s;
}

.quiz-action-buttons {
  -webkit-animation: quizFinalItemIn 0.32s ease-out 0.62s both;
          animation: quizFinalItemIn 0.32s ease-out 0.62s both;
}

.quiz-stream-lead {
  -webkit-animation: quizFinalItemIn 0.32s ease-out 0.7s both;
          animation: quizFinalItemIn 0.32s ease-out 0.7s both;
}

.stream-buttons {
  -webkit-animation: quizFinalItemIn 0.32s ease-out 0.78s both;
          animation: quizFinalItemIn 0.32s ease-out 0.78s both;
}

@-webkit-keyframes quizFinalIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px) scale(0.98);
            transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
  }
}

@keyframes quizFinalIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(16px) scale(0.98);
            transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0) scale(1);
            transform: translateY(0) scale(1);
  }
}
@-webkit-keyframes quizFinalItemIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(12px);
            transform: translateY(12px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@keyframes quizFinalItemIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(12px);
            transform: translateY(12px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}
@-webkit-keyframes quizSummaryItemIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(16px);
            transform: translateX(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes quizSummaryItemIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(16px);
            transform: translateX(16px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
.quiz-money {
  display: inline-grid;
  place-items: center;
  font-size: 2em;
  min-width: 3ch;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: -0.05em;
  -webkit-perspective: 400px;
          perspective: 400px;
}

.quiz-money-old,
.quiz-money-new {
  grid-area: 1/1;
  display: block;
  min-width: 3ch;
  text-align: center;
  -webkit-transform-origin: center center;
          transform-origin: center center;
}

.quiz-money.is-money-rolling .quiz-money-old {
  -webkit-animation: quizMoneyOldRoll 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
          animation: quizMoneyOldRoll 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.quiz-money.is-money-rolling .quiz-money-new {
  -webkit-animation: quizMoneyNewRoll 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
          animation: quizMoneyNewRoll 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@-webkit-keyframes quizMoneyOldRoll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0) rotateX(0deg);
            transform: translateY(0) rotateX(0deg);
  }
  45% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-110%) rotateX(-80deg);
            transform: translateY(-110%) rotateX(-80deg);
  }
}

@keyframes quizMoneyOldRoll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0) rotateX(0deg);
            transform: translateY(0) rotateX(0deg);
  }
  45% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(-110%) rotateX(-80deg);
            transform: translateY(-110%) rotateX(-80deg);
  }
}
@-webkit-keyframes quizMoneyNewRoll {
  0% {
    opacity: 0;
    -webkit-transform: translateY(110%) rotateX(80deg);
            transform: translateY(110%) rotateX(80deg);
  }
  45% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0) rotateX(0deg);
            transform: translateY(0) rotateX(0deg);
  }
}
@keyframes quizMoneyNewRoll {
  0% {
    opacity: 0;
    -webkit-transform: translateY(110%) rotateX(80deg);
            transform: translateY(110%) rotateX(80deg);
  }
  45% {
    opacity: 0.8;
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0) rotateX(0deg);
            transform: translateY(0) rotateX(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-box.is-slide-in,
  .quiz-box.is-slide-out,
  .quiz-result-correct,
  .quiz-result-line-wrap,
  .quiz-perfect-message,
  .quiz-next-button,
  .quiz-final,
  .quiz-final-label,
  .quiz-final-money,
  .quiz-summary,
  .quiz-summary li,
  .quiz-action-buttons,
  .quiz-stream-lead,
  .stream-buttons {
    -webkit-animation: none;
            animation: none;
  }
  .quiz-summary li {
    opacity: 1;
  }
  .quiz-money.is-money-rolling .quiz-money-old,
  .quiz-money.is-money-rolling .quiz-money-new {
    -webkit-animation: none;
            animation: none;
  }
}
.stream-buttons {
  text-align: center;
  margin: 1rem auto;
}

.stream-button {
  display: inline-block;
  margin: 0.5rem;
  height: 3rem;
  background-position: center;
  background-size: cover;
  aspect-ratio: 2/1;
}
.stream-button.tver {
  background-image: url(../img/tver_free.webp);
}
.stream-button.locipo {
  background-image: url(../img/locipo_free.webp);
}/*# sourceMappingURL=quiz.css.map */