@charset "UTF-8";
.hl-red {
  color: #FF3B31;
  font-weight: 900;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  height: 100%;
  overscroll-behavior: none;
  cursor: default;
}

body {
  overscroll-behavior: none;
  margin: 0;
  padding: 0;
  font-family: "League Spartan", "Noto Sans JP", sans-serif;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #000009;
  position: relative;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
}

button {
  cursor: pointer;
  font-family: "League Spartan", "Noto Sans JP", sans-serif;
}

.mt-40 {
  margin-top: 40px;
}
@media screen and (max-width: 440px) {
  .mt-40 {
    margin-top: 20px;
  }
}

[data-i18n] {
  white-space: pre-line;
}

.reveal-mask {
  overflow: hidden;
  display: block;
}

.reveal-item {
  transform: translateY(400%);
  will-change: transform;
}

.entry.play .reveal-item,
.entry.play .content .reveal-item {
  animation: slideUpSelf 1s ease-out both;
  animation-delay: var(--d, 0s);
}

.content-badge.play .reveal-item {
  animation: slideUpSelf 1s ease-out both;
  animation-delay: var(--d, 0s);
}

.final-content.play .reveal-item {
  animation: slideUpSelf 1s ease-out both;
  animation-delay: var(--d, 0s);
}

.start-card.play .reveal-item {
  animation: slideUpSelf 1s ease-out both;
  animation-delay: var(--d, 0s);
}

.modal .reveal-item {
  animation: slideUpSelf 1s ease-out both;
  animation-delay: var(--d, 0s);
}

.alert-modal .reveal-item {
  animation: slideUpSelf 1s ease-out both;
  animation-delay: var(--d, 0s);
}

@keyframes slideUpSelf {
  from {
    transform: translateY(400%);
  }
  to {
    transform: translateY(0);
  }
}
/* ===== Modal 初始：完全關閉 ===== */
.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  /* 關閉時延遲 visibility，避免點到 */
}

.alert-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  /* 關閉時延遲 visibility，避免點到 */
}

/* 背景 */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.modal-backdrop-alert {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease;
  z-index: 0;
}

/* 內容面板（先就位，但不顯示） */
.modal__panel {
  position: relative;
  z-index: 1;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px 40px 40px 40px;
  width: 90%;
  max-width: 900px;
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media screen and (max-width: 440px) {
  .modal__panel {
    border-radius: 20px;
  }
}

.modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  /* 邊框厚度 */
  background: linear-gradient(45deg, #e6e6e6 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.modal__panel-alert {
  position: relative;
  z-index: 1;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.01);
  height: 100%;
  max-height: 480px;
  -webkit-backdrop-filter: blur(30px);
  backdrop-filter: blur(30px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 50px 16px 40px 16px;
  width: 90%;
  max-width: 900px;
  opacity: 0;
  transform: translateY(12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media screen and (max-width: 440px) {
  .modal__panel-alert {
    border-radius: 20px;
  }
}

.modal__panel-alert::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  /* 邊框厚度 */
  background: linear-gradient(45deg, #e6e6e6 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===== 開啟第 1 段：只讓容器與背景可見 ===== */
.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease;
  /* 開啟時立刻可見，不延遲 visibility */
}

.alert-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease;
  /* 開啟時立刻可見，不延遲 visibility */
}

.modal.is-open .modal-backdrop {
  opacity: 1;
}

.alert-modal.is-open .modal-backdrop {
  opacity: 1;
}

/* ===== 開啟第 2 段：面板進場 ===== */
.modal.is-open.panel-in .modal__panel {
  opacity: 1;
  transform: none;
}

.alert-modal.is-open.panel-in .modal__panel-alert {
  opacity: 1;
  transform: none;
}

/* ===== 標題底線圖（置中） ===== */
.modal-head {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.73px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
@media screen and (max-width: 648px) {
  .modal-head {
    font-size: 14px;
  }
}

.modal-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 240px;
  height: 12px;
  background: url("./modal_line.png") center/contain no-repeat;
  pointer-events: none;
}

/* ===== 文字區：把 SCSS 巢狀展開成一般 CSS ===== */
.modal-text {
  text-align: center;
  margin-top: 56px;
  width: 100%;
}
@media screen and (max-width: 440px) {
  .modal-text {
    margin-top: 20px;
  }
}

.modal-text-alert {
  text-align: center;
}
.modal-text-alert h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 62px;
}
@media screen and (min-width: 640px) {
  html[lang=jp] .modal-text-alert h1 {
    font-size: 48px;
  }
}
@media screen and (min-width: 640px) {
  html[lang=tc] .modal-text-alert h1 {
    font-size: 40px;
  }
}
@media screen and (min-width: 640px) {
  html[lang=sc] .modal-text-alert h1 {
    font-size: 40px;
  }
}
@media screen and (max-width: 640px) {
  .modal-text-alert h1 {
    font-size: 26px;
    line-height: 32px;
  }
}
@media screen and (min-width: 649px) and (max-height: 700px) {
  .modal-text-alert h1 {
    font-size: 26px;
    line-height: 32px;
  }
}
.modal-text-alert p {
  font-size: 30px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: 0.72px;
  margin-top: 30px;
  margin-bottom: 48px;
}
@media screen and (min-width: 640px) {
  html[lang=jp] .modal-text-alert p {
    font-size: 20px;
  }
}
@media screen and (min-width: 640px) {
  html[lang=tc] .modal-text-alert p {
    font-size: 24px;
  }
}
@media screen and (min-width: 640px) {
  html[lang=sc] .modal-text-alert p {
    font-size: 24px;
  }
}
@media screen and (max-width: 720px) {
  .modal-text-alert p {
    font-size: 18px;
    line-height: 25px;
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 0.2px;
  }
}

.modal-text h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 62px;
}
@media screen and (max-width: 720px) {
  .modal-text h1 {
    font-size: 26px;
    line-height: 32px;
  }
}

.modal-text p {
  font-size: 30px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0.72px;
  margin-top: 32px;
}
@media screen and (max-width: 720px) {
  .modal-text p {
    font-size: 18px;
    line-height: 25px;
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 0.2px;
  }
}

.alert-bg {
  position: absolute;
  z-index: -1;
  width: 100%;
}

.quiz-bg .grid-2 {
  transition: opacity 0.6s ease;
}

.quiz-bg .grid-2.is-fadeout {
  opacity: 0;
}

.grid-2 {
  position: absolute;
  z-index: 5;
  width: 100%;
  height: 57vh;
  bottom: 0;
  perspective: 400px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.grid-2 img {
  height: auto;
  width: 180%;
  object-fit: cover;
  transform: rotateX(72deg);
  transform-origin: 50% 90%;
  filter: drop-shadow(0 0 8px rgba(102, 224, 255, 0.45));
  will-change: transform;
  animation: floor-move 2s linear 0s 2 forwards;
}

.grid-2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
  z-index: 2;
}

@keyframes floor-move {
  0% {
    transform: rotateX(56deg) translateY(0);
  }
  100% {
    transform: rotateX(56deg) translateY(80px);
    /* 位移多少自己調 */
  }
}
@media (max-width: 648px) {
  .grid-2 img {
    width: 300%;
  }
  @keyframes floor-move {
    0% {
      transform: rotateX(56deg) translateY(0);
    }
    100% {
      transform: rotateX(56deg) translateY(64px);
    }
  }
}
.quiz-circle {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 400;
}
@media screen and (max-width: 1024px) {
  .quiz-circle img {
    width: 150%;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }
}

.quiz-circle img {
  height: auto;
  display: block;
  opacity: 1;
  transition: opacity 1.5s ease;
}
@media screen and (max-width: 1024px) {
  .quiz-circle img {
    max-width: none;
  }
}

.quiz-speed {
  position: absolute;
  z-index: 50;
  width: 100vw;
  perspective: 400px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  bottom: 1%;
}
@media screen and (min-width: 1440px) {
  .quiz-speed {
    bottom: -5%;
  }
}
@media screen and (max-width: 440px) {
  .quiz-speed {
    bottom: 0;
  }
}
@media screen and (min-height: 900px) and (max-width: 1440px) {
  .quiz-speed {
    bottom: 5%;
  }
}

@media screen and (max-width: 440px) {
  .quiz-speed img {
    width: 100vw;
  }
}
@media screen and (min-width: 1440px) {
  .quiz-speed img {
    width: 100vw;
  }
}

.quiz-speed .ray-2 {
  left: 16%;
  transform: rotateX(56deg);
  bottom: -20%;
}

.quiz-speed .ray-3 {
  left: 30%;
  transform: rotateX(56deg);
  bottom: -20%;
}

.quiz-speed .ray-4 {
  right: 30%;
  transform: rotateX(56deg);
  bottom: -20%;
}

.quiz-speed .ray-5 {
  right: 16%;
  transform: rotateX(56deg);
  bottom: -20%;
}

.quiz-speed .ray-6 {
  right: 8%;
  transform: rotateX(56deg);
  bottom: -20%;
}

/* 六條線：依序水平排，角度往右下傾 */
.quiz-bg {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
  z-index: 990;
}
@media screen and (max-width: 480px) {
  .quiz-bg {
    bottom: -100px;
  }
}
.quiz-bg .noise {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

.quiz-bg.is-visible {
  display: flex;
  opacity: 1;
}

.quiz-group {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.quiz-group img {
  position: absolute;
  transform-origin: center;
  will-change: transform, opacity, top, left, right, bottom;
  opacity: 0;
}

/* ======================
    進場動畫 (共用)
   ====================== */
@keyframes fly-in {
  0% {
    top: var(--from-top);
    left: var(--from-left);
    right: var(--from-right);
    bottom: var(--from-bottom);
    transform: translate(var(--from-x, 0), var(--from-y, 0)) scale(0);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
}
/* 出場動畫 (共用) */
@keyframes fly-out {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    top: var(--to-top, auto);
    left: var(--to-left, auto);
    right: var(--to-right, auto);
    bottom: var(--to-bottom, auto);
    transform: scale(1.5);
    opacity: 0;
  }
}
/* q0進場配置 */
.q0-1 {
  --from-top: 50%;
  --from-right: 50%;
  --from-x: 100%;
  --from-y: -50%;
  --st: 0.3s;
  --st2: .8s;
  --fly: 1.2s;
  top: 10%;
  right: 5%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q0-2 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 100%;
  --from-y: 50%;
  --st: .6s;
  --fly: 1.2s;
  z-index: 9999;
  right: 1%;
  bottom: 1%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q0-3 {
  --from-bottom: 50%;
  --from-right: 50%;
  --from-x: 50%;
  --from-y: -50%;
  --st: 0.2s;
  --fly: 2.0s;
  /* 最後飛 */
  bottom: 5%;
  right: 50%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* q0出場配置 */
.q0-1.fly-out {
  --to-top: -10%;
  --to-right: -20%;
  animation: fly-out var(--st2) ease-in forwards;
}

.q0-2.fly-out {
  --to-right: -15%;
  --to-bottom: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q0-3.fly-out {
  --to-bottom: -20%;
  --to-right: 100%;
  animation: fly-out var(--st) ease-in forwards;
}

/* q1進場配置 */
.q1-1 {
  --from-top: 50%;
  --from-left: 50%;
  --from-x: -50%;
  --from-y: -50%;
  --st: 0.3s;
  --st2: .8s;
  --fly: 1.2s;
  top: 20%;
  left: 15%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q1-2 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 50%;
  --from-y: 50%;
  --st: .8s;
  --fly: 1.6s;
  z-index: 9999;
  right: 15%;
  bottom: 5%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q1-3 {
  --from-top: 50%;
  --from-right: 50%;
  --from-x: 50%;
  --from-y: -50%;
  --st: 0.2s;
  --st2: 1.6s;
  --fly: 2.0s;
  /* 最後飛 */
  top: 20%;
  right: -5%;
  z-index: 999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* q1出場配置 */
.q1-1.fly-out {
  --to-top: 0%;
  --to-left: -5%;
  animation: fly-out var(--st2) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q1-1.fly-out {
    --to-top: 0%;
    --to-left: 100%;
  }
}

.q1-2.fly-out {
  --to-right: -15%;
  --to-bottom: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q1-3.fly-out {
  --to-top: -10%;
  --to-right: -35%;
  animation: fly-out var(--st2) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q1-3.fly-out {
    --to-top: 110%;
    --to-right: 110%;
  }
}

/* q2 進場配置 */
.q2-1 {
  /* 從畫面中心稍往左下飛入 */
  --from-top: 50%;
  --from-left: 50%;
  --from-x: -60%;
  --from-y: 40%;
  --st: 0.8s;
  --fly: 1.2s;
  top: 30%;
  left: 5%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q2-2 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -50%;
  --st: 0.6s;
  --fly: 1.2s;
  top: 5%;
  right: 5%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q2-3 {
  /* 從中心往右下飛入 */
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 50%;
  --from-y: 50%;
  --st: 0.8s;
  --fly: 2s;
  bottom: -20%;
  right: -20%;
  z-index: 999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* q2 出場配置*/
.q2-1.fly-out {
  --to-top: 60%;
  --to-left: -30%;
  animation: fly-out var(--st) ease-in forwards;
}

.q2-2.fly-out {
  --to-right: -25%;
  --to-top: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q2-3.fly-out {
  --to-right: -30%;
  --to-bottom: -30%;
  animation: fly-out var(--st) ease-in forwards;
}

/* q3 進場配置 */
.q3-1 {
  --from-top: 50%;
  --from-left: 50%;
  --from-x: -50%;
  --from-y: -30%;
  --st: 0.4s;
  --fly: 1.2s;
  top: 35%;
  left: 10%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q3-2 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -50%;
  --st: 0.8s;
  --fly: 2s;
  top: 2%;
  right: 5%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q3-3 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 55%;
  --from-y: 55%;
  --st: 0.4s;
  --fly: 2s;
  bottom: 5%;
  right: -5%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* q3 出場 */
.q3-1.fly-out {
  --to-top: 50%;
  --to-left: -15%;
  animation: fly-out var(--st) ease-in forwards;
}
@media (max-width: 648px) {
  .q3-1.fly-out {
    --to-top: 95%;
    --to-left: -30%;
  }
}

.q3-2.fly-out {
  --to-right: -25%;
  --to-top: -15%;
  animation: fly-out var(--st) ease-in forwards;
}
@media (max-width: 648px) {
  .q3-2.fly-out {
    --to-right: -20%;
    --to-top: -10%;
  }
}

.q3-3.fly-out {
  --to-right: -30%;
  --to-bottom: -10%;
  animation: fly-out var(--st) ease-in forwards;
}
@media (max-width: 648px) {
  .q3-3.fly-out {
    --to-right: -40%;
    --to-bottom: -5%;
  }
}

/* ======================
   Q4
   ====================== */
.q4-1 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 40%;
  --from-y: -40%;
  --st: 0.4s;
  --fly: 1.2s;
  top: 2%;
  right: 2%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q4-2 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 60%;
  --from-y: -20%;
  --st: 0.4s;
  --fly: 1.4s;
  top: 25%;
  right: 15%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q4-3 {
  --from-left: 50%;
  --from-bottom: 50%;
  --from-x: -50%;
  --from-y: 50%;
  --st: 0.6s;
  --fly: 1.6s;
  bottom: 30%;
  left: -8%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* 出場 */
.q4-1.fly-out {
  --to-top: -28%;
  --to-right: -28%;
  animation: fly-out var(--st) ease-in forwards;
}

.q4-2.fly-out {
  --to-top: 50%;
  --to-right: -15%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q4-2.fly-out {
    --to-top: 95%;
    --to-right: -20%;
  }
}

.q4-3.fly-out {
  --to-bottom: 35%;
  --to-left: -35%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q4-3.fly-out {
    --to-bottom: 80%;
    --to-left: -25%;
  }
}

/* ======================
   Q5
   ====================== */
.q5-1 {
  --from-left: 50%;
  --from-top: 50%;
  --from-x: -40%;
  --from-y: 40%;
  --st: 0.4s;
  --fly: 1.2s;
  z-index: 1200;
  top: 45%;
  left: -2%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q5-2 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -40%;
  --st: 0.4s;
  --fly: 1.4s;
  top: 10%;
  right: 0%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q5-3 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: -50%;
  --from-y: 50%;
  --st: 0.6s;
  --fly: 2s;
  bottom: 10%;
  right: 5%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* 出場 */
.q5-1.fly-out {
  --to-top: 60%;
  --to-left: -30%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q5-1.fly-out {
    --to-top: 100%;
    --to-left: -20%;
  }
}

.q5-2.fly-out {
  --to-top: 0%;
  --to-right: -30%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q5-2.fly-out {
    --to-top: 0%;
    --to-right: -20%;
  }
}

.q5-3.fly-out {
  --to-bottom: -30%;
  --to-right: -10%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q5-3.fly-out {
    --to-bottom: -25%;
    --to-right: -25%;
  }
}

/* ======================
   Q6
   ====================== */
.q6-1 {
  --from-left: 50%;
  --from-top: 50%;
  --from-x: -50%;
  --from-y: 40%;
  --st: 0.4s;
  --fly: 1.2s;
  top: 30%;
  left: 5%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q6-2 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -40%;
  --st: 0.4s;
  --fly: 1.4s;
  top: 5%;
  right: 5%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q6-3 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 50%;
  --from-y: 50%;
  --st: 0.8s;
  --fly: 1.6s;
  right: -10%;
  bottom: -10%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* 出場 */
.q6-1.fly-out {
  --to-top: 40%;
  --to-left: -20%;
  animation: fly-out var(--st) ease-in forwards;
}

.q6-2.fly-out {
  --to-top: -10%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q6-3.fly-out {
  --to-bottom: -20%;
  --to-right: -40%;
  animation: fly-out var(--st) ease-in forwards;
}

/* ======================
   Q7
   ====================== */
.q7-1 {
  --from-left: 50%;
  --from-bottom: 50%;
  --from-x: -40%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.2s;
  bottom: 20%;
  left: 8%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q7-2 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 40%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.4s;
  bottom: 5%;
  right: 5%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q7-3 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -40%;
  --st: 0.6s;
  --fly: 1.6s;
  top: 20%;
  right: -10%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* 出場 */
.q7-1.fly-out {
  --to-bottom: 5%;
  --to-left: -15%;
  animation: fly-out var(--st) ease-in forwards;
}

.q7-2.fly-out {
  --to-bottom: 5%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q7-3.fly-out {
  --to-top: 10%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

/* ======================
   Q8
   ====================== */
.q8-1 {
  --from-left: 50%;
  --from-top: 50%;
  --from-x: -40%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.2s;
  top: 20%;
  left: 5%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q8-2 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 40%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.4s;
  bottom: 5%;
  right: 5%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q8-3 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -40%;
  --st: 0.6s;
  --fly: 1.6s;
  z-index: 1200;
  top: 30%;
  right: 5%;
  width: 282px;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* 出場 */
.q8-1.fly-out {
  --to-top: 20%;
  --to-left: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q8-2.fly-out {
  --to-bottom: 0%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q8-3.fly-out {
  --to-top: 30%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

/* ======================
   Q9
   ====================== */
.q9-1 {
  --from-left: 50%;
  --from-top: 50%;
  --from-x: -40%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.2s;
  z-index: 1200;
  top: 20%;
  left: 5%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q9-2 {
  --from-right: 50%;
  --from-bottom: 50%;
  --from-x: 40%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.4s;
  bottom: 5%;
  right: 5%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q9-3 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -40%;
  --st: 0.6s;
  --fly: 1.6s;
  z-index: 1200;
  top: 30%;
  right: 0;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* 出場 */
.q9-1.fly-out {
  --to-top: 35%;
  --to-left: -25%;
  animation: fly-out var(--st) ease-in forwards;
}

.q9-2.fly-out {
  --to-bottom: -10%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q9-2.fly-out {
    --to-bottom: 100%;
  }
}

.q9-3.fly-out {
  --to-top: 30%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q9-3.fly-out {
    --to-top: 75%;
  }
}

/* ======================
   Q10
   ====================== */
.q10-1 {
  --from-left: 50%;
  --from-top: 50%;
  --from-x: -40%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.2s;
  z-index: 1200;
  top: 40%;
  left: 5%;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q10-2 {
  --from-left: 50%;
  --from-bottom: 50%;
  --from-x: -50%;
  --from-y: 50%;
  --st: 0.4s;
  --fly: 1.4s;
  bottom: -15%;
  left: 10%;
  z-index: 9999;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

.q10-3 {
  --from-right: 50%;
  --from-top: 50%;
  --from-x: 50%;
  --from-y: -40%;
  --st: 0.6s;
  --fly: 1.6s;
  top: 30%;
  right: -5%;
  z-index: 1200;
  animation: fly-in var(--fly) ease-out var(--st) forwards, q1-float 4s ease-in-out infinite calc(var(--fly) + var(--st));
}

/* 出場 */
.q10-1.fly-out {
  --to-top: 30%;
  --to-left: -25%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q10-1.fly-out {
    --to-top: 10%;
    --to-left: -20%;
  }
}

.q10-2.fly-out {
  --to-bottom: -15%;
  --to-left: 0%;
  animation: fly-out var(--st) ease-in forwards;
}

.q10-3.fly-out {
  --to-top: 30%;
  --to-right: -25%;
  animation: fly-out var(--st) ease-in forwards;
}
@media screen and (max-width: 648px) {
  .q10-3.fly-out {
    --to-top: 95%;
    --to-right: -25%;
  }
}

@media screen and (min-width: 1200px) and (max-height: 950px) {
  .q9-3 {
    width: 300px;
  }
}
@media screen and (min-width: 1200px) and (max-height: 820px) {
  .q10-2 {
    width: 300px;
  }
}
/* ========== max-width: 1568px ========== */
@media (max-width: 1568px) {
  .q3-3 {
    width: 500px;
  }
  .q4-3 {
    width: 400px;
  }
  .q6-3 {
    width: 500px;
  }
}
@media (max-width: 1368px) {
  .q7-1 {
    left: 2%;
  }
  .q7-3 {
    right: -15%;
  }
}
/* ========== max-width: 1200px ========== */
@media (max-width: 1200px) {
  /* Q0 */
  .q0-1 {
    top: 5%;
  }
  .q0-2 {
    width: 200px;
  }
  /* Q1 無 */
  .q2-1 {
    width: 200px;
    top: 50%;
    left: 0;
  }
  .q2-3 {
    width: 300px;
    bottom: 0;
    right: 0;
  }
  .q3-1 {
    width: 300px;
    left: -5%;
  }
  .q3-3 {
    width: 400px;
    right: -10%;
  }
  .q4-3 {
    width: 300px;
    left: -10%;
  }
  .q5-1 {
    left: -10%;
  }
  .q5-2 {
    width: 300px;
    top: 10%;
  }
  .q6-3 {
    width: 400px;
    bottom: -10%;
    right: -10%;
  }
  .q7-1 {
    left: 5%;
  }
  .q7-3 {
    width: 360px;
  }
  .q9-1 {
    width: 200px;
    left: 0%;
  }
  .q9-3 {
    width: 240px;
  }
  .q10-1 {
    width: 200px;
    left: 0%;
  }
  .q10-2 {
    width: 300px;
  }
  .q10-3 {
    width: 240px;
  }
}
/* ========== max-width: 1024px ========== */
@media (max-width: 1024px) {
  .q1-3 {
    width: 240px;
    top: 20%;
  }
  .q2-1 {
    width: 200px;
    top: 50%;
    left: 0;
  }
  .q2-3 {
    width: 240px;
    bottom: 0;
    right: 0;
  }
  .q3-1 {
    width: 200px;
    left: -5%;
  }
  .q3-3 {
    width: 300px;
  }
  .q4-1 {
    top: -10%;
    right: -12%;
  }
  .q4-2 {
    width: 120px;
    right: 5%;
  }
  .q4-3 {
    width: 200px;
    left: -10%;
  }
  .q5-1 {
    left: -15%;
    top: 50%;
  }
  .q5-2 {
    width: 200px;
    top: 5%;
  }
  .q6-1 {
    width: 200px;
    left: -10%;
  }
  .q6-3 {
    width: 300px;
    bottom: 0;
    right: 0;
  }
  .q7-1 {
    left: -5%;
    bottom: 15%;
    z-index: 1200;
  }
  .q7-3 {
    width: 200px;
    right: -5%;
  }
  .q8-1 {
    left: -5%;
    top: 50%;
  }
  .q8-3 {
    width: 200px;
  }
}
/* ========== max-width: 648px ========== */
@media (max-width: 648px) {
  /* Q0 */
  .q0-3 {
    right: 65%;
  }
  /* Q1 */
  .q1-1 {
    width: 48px;
    top: 30%;
    left: 70%;
    z-index: 9999;
  }
  .q1-2 {
    width: 100px;
    right: 2%;
    bottom: 2%;
  }
  .q1-3 {
    right: 80%;
    top: 80%;
    width: 180px;
    z-index: 9999;
  }
  /* Q2 */
  .q2-1 {
    top: 42%;
    left: -5%;
    width: 120px;
  }
  .q2-2 {
    width: 48px;
    top: 0;
    right: 0;
  }
  .q2-3 {
    width: 200px;
    bottom: -15%;
    right: -15%;
  }
  /* Q3 */
  .q3-1 {
    width: 120px;
    top: 80%;
  }
  .q3-2 {
    width: 64px;
    top: 0;
    right: 0;
  }
  .q3-3 {
    width: 150px;
    right: -20%;
    bottom: 15%;
  }
  /* Q4 */
  .q4-1 {
    top: -10%;
    right: -25%;
  }
  .q4-2 {
    top: 80%;
    right: 5%;
    width: 96px;
  }
  .q4-3 {
    width: 100px;
    left: -5%;
    bottom: 60%;
  }
  /* Q5 */
  .q5-1 {
    top: 80%;
    left: -10%;
    width: 120px;
  }
  .q5-2 {
    z-index: 999;
    right: -10%;
    top: 30%;
    width: 100px;
  }
  .q5-3 {
    width: 72px;
    bottom: 5%;
    right: 5%;
  }
  /* Q6 */
  .q6-1 {
    width: 90px;
    left: 0%;
    top: 40%;
  }
  .q6-2 {
    width: 64px;
    top: 0;
    right: 0;
  }
  .q6-3 {
    width: 120px;
    right: -5%;
    bottom: 5%;
  }
  /* Q7 */
  .q7-1 {
    left: -8%;
    bottom: 10%;
    width: 120px;
  }
  .q7-2 {
    width: 100px;
  }
  .q7-3 {
    width: 90px;
    top: 30%;
  }
  /* Q8 */
  .q8-1 {
    left: -8%;
    top: 50%;
    width: 120px;
  }
  .q8-2 {
    width: 90px;
  }
  .q8-3 {
    width: 90px;
    top: 70%;
  }
  /* Q9 */
  .q9-1 {
    left: -8%;
    top: 70%;
    width: 120px;
  }
  .q9-2 {
    width: 90px;
    bottom: 90%;
    right: 0;
  }
  .q9-3 {
    width: 90px;
    top: 75%;
  }
  /* Q10 */
  .q10-1 {
    left: -8%;
    top: 25%;
    width: 100px;
  }
  .q10-2 {
    width: 120px;
    bottom: -5%;
    left: 2%;
  }
  .q10-3 {
    width: 90px;
    top: 80%;
  }
}
.section {
  opacity: 0;
  transition: opacity 0.5s ease;
  overflow: hidden;
  width: 100%;
  height: 100%;
  align-items: flex-start;
  justify-content: center;
  animation-delay: 2s;
}

.section.is-active {
  opacity: 1;
}

.section.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.entry {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}
.entry-logo {
  position: absolute;
  left: 32px;
  top: 24px;
  z-index: 999;
  cursor: pointer;
  pointer-events: auto;
}
.entry-logo > img {
  width: 72px;
}
@media screen and (max-width: 640px) {
  .entry-logo > img {
    width: 42px;
  }
}
.entry-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  left: 0%;
}
.entry-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform-origin: left center;
  transition: transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 800ms ease;
}
@media screen and (max-width: 960px) {
  .entry-bg {
    left: -20%;
  }
}
.entry .content {
  position: absolute;
  top: 50%;
  left: calc(50% - 150px);
  transform: translateY(-50%);
  width: 60%;
  text-align: center;
  padding-right: 150px;
  transition: opacity 400ms ease;
  will-change: opacity;
}
@media screen and (max-width: 640px) {
  .entry .content {
    top: auto;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    padding: 0;
  }
}

@media screen and (max-width: 640px) {
  .entry-fix3 {
    right: 24px !important;
  }
}

.quiz-bg .entry-logo {
  transition: opacity 0.6s ease;
  width: 100%;
}

.entry-logo {
  display: flex;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 640px) {
  .entry-logo {
    gap: 16px;
  }
}
.entry-logo button {
  background-color: transparent;
  outline: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.entry-logo button img {
  width: 288px;
}

.quiz-bg .entry-logo.is-fadeout {
  opacity: 0;
}

.entry-fix {
  right: 32px;
  left: auto !important;
}

.entry-fix2 {
  justify-content: space-between;
  left: auto !important;
  padding: 0 24px;
  right: 0 !important;
}

.entry-bg img {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
.entry.zoom-bg .entry-bg img {
  transform: translateX(-80%) scale(1.8);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}

.entry.zoom-bg .content {
  opacity: 0;
  pointer-events: none;
}

.btn-style-fill3, .btn-style-fill2, .btn-style-fill-2, .btn-style-fill-1, .btn-style-fill {
  padding: 10px 36px;
  border-radius: 100px;
  font-weight: 400;
  letter-spacing: 0.72px;
  min-width: 200px;
  min-height: 72px;
  font-size: 32px;
}
@media screen and (min-width: 581px) {
  html[lang=jp] .btn-style-fill3, html[lang=jp] .btn-style-fill2, html[lang=jp] .btn-style-fill-2, html[lang=jp] .btn-style-fill-1, html[lang=jp] .btn-style-fill {
    font-size: 24px;
  }
}

@media screen and (min-width: 581px) {
  .extra-text {
    font-size: 32px !important;
  }
}

.btn-style-fill {
  border: none;
  color: #FFFFFF;
  z-index: 1024;
}
@media screen and (max-width: 648px) {
  .btn-style-fill {
    font-size: 20px;
    min-width: 120px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill {
    font-size: 20px;
    min-width: 172px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
html[lang=jp] .btn-style-fill {
  font-size: 16px;
}
.btn-style-fill-1 {
  border: none;
  color: #FFFFFF;
  z-index: 1024;
}
@media screen and (max-width: 648px) {
  .btn-style-fill-1 {
    font-size: 20px;
    min-width: 120px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill-1 {
    font-size: 20px;
    min-width: 172px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
.btn-style-fill-2 {
  border: none;
  color: #FFFFFF;
  z-index: 1024;
}
@media screen and (max-width: 648px) {
  .btn-style-fill-2 {
    font-size: 20px;
    min-width: 120px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill-2 {
    font-size: 20px;
    min-width: 172px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
.btn-style-fill2 {
  border: 1px solid #DF3232;
  background-color: #FFFFFF;
  color: #DF3232;
}
.btn-style-fill2:hover {
  border-color: #E14E4E;
  color: #E14E4E;
}
@media screen and (max-width: 648px) {
  .btn-style-fill2 {
    font-size: 20px;
    min-width: 120px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill2 {
    font-size: 20px;
    min-width: 172px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
.btn-style-fill3 {
  border: none;
  color: #FFFFFF;
}
@media screen and (max-width: 648px) {
  .btn-style-fill3 {
    font-size: 16px;
    min-width: 172px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill3 {
    font-size: 20px;
    min-width: 172px;
    height: 60px;
    min-height: auto;
    padding: 2px 0 0 0;
  }
}

.title-main img {
  width: 100%;
  max-width: 720px;
}
@media screen and (max-width: 580px) {
  .title-main img {
    max-width: 240px;
  }
}
.title-main p {
  color: #FFFFFF;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  line-height: 51.2px;
  letter-spacing: 1.5px;
  margin-top: 40px;
}
@media screen and (min-width: 581px) {
  html[lang=jp] .title-main p {
    font-size: 24px;
  }
}
@media screen and (min-width: 581px) {
  html[lang=tc] .title-main p {
    font-size: 24px;
  }
}
@media screen and (min-width: 581px) {
  html[lang=sc] .title-main p {
    font-size: 24px;
  }
}
@media screen and (max-width: 580px) {
  .title-main p {
    font-size: 18px;
    line-height: 25px;
    margin-top: 20px;
    font-weight: 300;
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: translate(50%, -50%) scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: translate(50%, -50%) scale(1.2) rotate(15deg);
  }
}
@keyframes q1-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes q1-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.q-container::-webkit-scrollbar {
  display: none;
}

.q-container {
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: calc(100% - 120px);
  margin-top: 160px;
  padding-bottom: 20px;
  opacity: 0;
  transform: scale(0.95);
  will-change: transform, opacity;
  animation: q-container-in 1.5s linear forwards;
  animation-delay: 1s;
  position: relative;
  z-index: 1200;
  scrollbar-width: none;
  overflow-y: auto;
}
@media screen and (min-width: 649px) and (max-height: 830px) {
  .q-container {
    margin-top: 132px;
  }
}
@media screen and (max-height: 900px) {
  .q-container {
    margin-top: 120px;
  }
}
@media screen and (max-width: 649px) {
  .q-container {
    margin-top: 120px;
  }
}
.q-header {
  position: absolute;
  top: -110px;
  max-height: 160px;
  z-index: 999;
  opacity: 1;
  transition: opacity 0.6s ease;
}
.q-header img {
  max-width: 890px;
}
@media screen and (max-width: 648px) {
  .q-header img {
    max-width: 620px;
  }
}
@media screen and (max-width: 648px) {
  .q-header {
    top: -72px;
    max-height: 130px;
  }
}
@media screen and (min-width: 720px) and (max-height: 960px) {
  .q-header {
    max-height: 130px;
    top: -140px;
  }
}
@media screen and (min-width: 649px) and (max-height: 720px) {
  .q-header {
    max-height: 100px;
    top: -160px;
  }
}
.q-header img {
  z-index: 5;
  padding-left: 8px;
}
.q-quiz {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 88px;
  flex-direction: column;
  position: relative;
  margin-top: 80px;
}
@media screen and (max-width: 648px) {
  .q-quiz {
    margin-top: 32px;
    gap: 48px;
  }
}
@media screen and (min-width: 649px) and (max-height: 960px) {
  .q-quiz {
    margin-top: 32px;
    gap: 78px;
  }
}
@media screen and (max-height: 720px) {
  .q-quiz {
    gap: 58px;
  }
}
.q-title {
  color: #FFF;
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  line-height: 48px;
  letter-spacing: 0.9px;
  display: block;
  max-width: 880px;
  z-index: 1;
  width: calc(100dvw - 32px);
}
@media screen and (min-width: 641px) {
  html[lang=jp] .q-title {
    font-size: 22px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=tc] .q-title {
    font-size: 24px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=sc] .q-title {
    font-size: 24px;
  }
}
@media screen and (max-width: 648px) {
  .q-title {
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 25.6px;
    top: 148px;
    letter-spacing: 0.5px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .q-title {
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 25.6px;
  }
}
@media screen and (min-width: 649px) and (max-height: 960px) {
  .q-title {
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: 38px;
  }
}
@media screen and (min-width: 649px) and (max-height: 720px) {
  .q-title {
    font-size: 22px;
    line-height: 28px;
  }
}

.q-header.is-hidden {
  opacity: 0;
  pointer-events: none;
  /* 保險：透明時不能互動 */
}

@keyframes q-container-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.q-quiz-bg img {
  opacity: 0.8;
  height: auto;
  object-fit: cover;
}

.mcq {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 280px));
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  border: 0;
  margin: auto;
  padding: 0;
  flex: 1;
  position: relative;
}
@media screen and (max-width: 648px) {
  .mcq {
    grid-template-columns: repeat(2, minmax(160px, 160px));
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .mcq {
    grid-template-columns: repeat(2, minmax(280px, 280px));
  }
}

.mcq input[type=radio] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.actions {
  display: flex;
  gap: 0px;
}
@media screen and (max-width: 648px) {
  .actions {
    gap: 20px;
    align-items: center;
    justify-content: center;
  }
}

/* 卡片樣式在 label 上 */
.mcq label {
  position: relative;
  /* 保證 ::before 能定位 */
  display: flex;
  flex-direction: column;
  place-items: center;
  height: 100%;
  min-height: 160px;
  padding: 24px 16px 16px 16px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.72px;
}
@media screen and (min-width: 641px) {
  html[lang=jp] .mcq label {
    font-size: 20px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=tc] .mcq label {
    font-size: 20px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=sc] .mcq label {
    font-size: 20px;
  }
}
@media screen and (min-width: 649px) and (max-height: 768px) {
  .mcq label {
    min-height: 120px;
  }
}
@media screen and (max-width: 649px) {
  .mcq label {
    min-height: 120px;
    font-size: 14px;
    line-height: 20px;
  }
}

/* 漸層邊框效果 */
.mcq label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* 邊框厚度 */
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 0%, rgba(183, 224, 246, 0.6) 65%, rgb(111, 193, 237) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.mcq label:hover::before {
  background: linear-gradient(90deg, #406E87 0%, #6FC1ED 100%);
}

.mcq.is-scored input[type=radio]:checked + label::before {
  background: linear-gradient(90deg, #6FC1ED 0%, #6FC1ED 100%);
  padding: 3px;
}

/* ❌ 錯誤狀態：紅色描邊 */
.mcq.is-scored input[type=radio]:checked + label.is-incorrect::before {
  background: linear-gradient(90deg, #DF3232 0%, #DF3232 100%);
  box-shadow: 0 0 0 2px #DF3232 inset;
  /* 模擬你原本的內框 */
}

.mcq.is-scored input[type=radio]:checked + label.is-incorrect {
  color: #DF3232;
}

.msg-correct,
.msg-wrong {
  grid-column: 1/-1;
  display: none;
  margin-top: 12px;
  font-size: 16px;
  text-align: center;
  color: #FFF;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  /* 28px */
  letter-spacing: 0.72px;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -60px;
}
@media screen and (min-width: 641px) {
  html[lang=jp] .msg-correct,
html[lang=jp] .msg-wrong {
    font-size: 20px;
  }
}
@media screen and (max-width: 580px) {
  .msg-correct,
.msg-wrong {
    font-size: 14px;
    line-height: 20px;
    bottom: -40px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .msg-correct,
.msg-wrong {
    font-size: 16px;
    line-height: 20px;
    bottom: -40px;
  }
}
@media screen and (max-height: 720px) {
  .msg-correct,
.msg-wrong {
    font-size: 16px;
  }
}

#final.section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.final {
  opacity: 0;
  /* 初始透明 */
  will-change: opacity, transform;
  backdrop-filter: blur(30px);
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  z-index: 1200;
}
@media screen and (max-width: 648px) {
  .final {
    border-radius: 20px;
    margin-top: 80px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .final {
    margin-top: 80px;
  }
}
.final-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-direction: column;
  padding: 160px 32px 80px 32px;
  max-width: 900px;
  width: min(90vw, 900px);
  position: relative;
  text-align: center;
}
html[lang=tc] .final-card {
  padding-bottom: 150px;
  padding-top: 140px;
}
@media screen and (max-width: 640px) {
  html[lang=tc] .final-card {
    padding: 70px 20px 150px 20px;
  }
}
html[lang=en] .final-card {
  padding-bottom: 150px;
}
@media screen and (max-width: 640px) {
  html[lang=en] .final-card {
    padding: 70px 20px 150px 20px;
  }
}
@media screen and (max-width: 640px) {
  html[lang=jp] .final-card {
    padding: 70px 20px 24px 20px;
  }
}
@media screen and (max-width: 640px) {
  html[lang=sc] .final-card {
    padding: 80px 20px 24px 20px;
  }
}
.final-card h2 {
  font-size: 52px;
  font-style: normal;
  font-weight: 600;
  line-height: 48px;
}
@media screen and (min-width: 641px) {
  html[lang=jp] .final-card h2 {
    font-size: 48px;
    line-height: 64px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=tc] .final-card h2 {
    font-size: 40px;
    line-height: 57px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=sc] .final-card h2 {
    font-size: 40px;
    line-height: 57px;
  }
}
@media screen and (max-width: 640px) {
  .final-card h2 {
    font-size: 26px;
    line-height: 33.8px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .final-card h2 {
    font-size: 32px;
    line-height: 40px;
  }
}
.final-card h1 {
  font-size: 32px;
  font-weight: 500;
  line-height: 44.8px;
  margin-top: 20px;
  max-width: 640px;
}
@media screen and (min-width: 641px) {
  html[lang=jp] .final-card h1 {
    font-size: 28px;
    line-height: 40px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=tc] .final-card h1 {
    font-size: 24px;
    line-height: 36px;
  }
}
@media screen and (min-width: 641px) {
  html[lang=sc] .final-card h1 {
    font-size: 24px;
    line-height: 36px;
  }
}
@media screen and (max-width: 640px) {
  .final-card h1 {
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
    white-space: normal;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .final-card h1 {
    font-size: 24px;
    line-height: 28px;
  }
}
.final-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0.72px;
}
@media screen and (min-width: 641px) {
  html[lang=jp] .final-card p {
    margin-top: 20px;
  }
}
@media screen and (max-width: 648px) {
  .final-card p {
    font-size: 14px;
    font-weight: 300;
  }
}
.final-main-wrap {
  position: absolute;
  display: inline-block;
  top: -20%;
}
@media screen and (max-width: 1200px) {
  .final-main-wrap {
    width: 160px;
    top: -72px;
  }
}
@media screen and (max-width: 648px) {
  .final-main-wrap {
    width: 120px;
    top: -80px;
  }
}
.final-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-direction: column;
  color: #FFF;
  position: relative;
  gap: 10px;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  /* 邊框厚度 */
  background: linear-gradient(45deg, #e6e6e6 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.final.play {
  animation: final-fade-in 1s ease forwards;
  animation-delay: 0.2s;
  /* 你要的延遲 */
}

.final-main-wrap img:first-child {
  display: block;
  max-width: 100%;
}

/* 星星共同樣式 */
.final-main-wrap .star {
  position: absolute;
  top: 15%;
  /* 大致右上角，可以自己微調 */
  right: -20%;
  width: 32px;
  /* 星星大小 */
  height: 32px;
  transform: translate(50%, -50%);
  pointer-events: none;
  animation: twinkle 2s ease-in-out infinite;
}
@media screen and (max-width: 648px) {
  .final-main-wrap .star {
    right: -40%;
  }
}

/* 第二顆延遲 1s，交錯閃爍 */
.final-main-wrap .star-2 {
  top: -20%;
  /* 位置可以和 star-1 稍微錯開 */
  right: 30%;
  width: 56px;
  /* 可以比 star-1 小一點 */
  animation-delay: 1s;
}
@media screen and (max-width: 648px) {
  .final-main-wrap .star-2 {
    right: 10%;
  }
}

.final-main-wrap .star-3 {
  top: 20%;
  /* 位置可以和 star-1 稍微錯開 */
  left: -50%;
  width: 32px;
  /* 可以比 star-1 小一點 */
  animation-delay: 1.5s;
}
@media screen and (max-width: 648px) {
  .final-main-wrap .star-3 {
    top: 120%;
    left: -70%;
  }
}

@keyframes final-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.final-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: -1;
  /* 保證在最下層 */
  pointer-events: none;
  /* 避免擋住按鈕點擊 */
}
.final-bg img {
  width: 140%;
}
@media screen and (max-width: 648px) {
  .final-bg img {
    width: 160%;
  }
}

.radiant-bg {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, #fff 0deg 5deg, transparent 5deg 10deg);
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-style-fill-2 {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0px 16px;
  white-space: nowrap;
  margin: 40px;
  border-radius: 100px;
  color: #FFFFFF;
  background: transparent;
  /* 中間透明 */
  backdrop-filter: blur(40px);
  /* 你的模糊效果 */
  cursor: pointer;
  overflow: hidden;
  /* 防止 ::before 外溢 */
  z-index: 0;
  /* 確保內文在上 */
}
@media screen and (max-width: 648px) {
  .btn-style-fill-2 {
    margin: 0;
    left: 40px;
  }
}

.btn-style-fill-2::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 填滿整個按鈕 */
  border-radius: inherit;
  padding: 2px;
  /* 邊框厚度 */
  background: linear-gradient(90deg, #F5F5F5 0%, rgba(122, 122, 122, 0.2) 33%, rgba(130, 130, 130, 0.6) 67%, #8A8A8A 96%);
  /* 用 mask 讓中間透明，只留下邊框 */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  /* 邊框在文字下層 */
  pointer-events: none;
  /* 不擋點擊 */
}

.btn-style-fill-1 {
  position: relative;
  border-radius: 100px;
  padding: 1px;
  margin: 40px;
  height: 72px;
  transition: all 0.18s ease-in-out;
  transform: translate3d(0, 0, 0);
  transition: background 1s ease;
  background: linear-gradient(90deg, #F5F5F5 0%, rgba(122, 122, 122, 0.2) 33%, rgba(130, 130, 130, 0.6) 67%, #8A8A8A 96%);
}
@media screen and (max-width: 648px) {
  .btn-style-fill-1 {
    margin: 40px 40px 40px;
  }
}
@media screen and (max-width: 648px) {
  .btn-style-fill-1 {
    height: 60px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill-1 {
    height: 60px;
  }
}
.btn-style-fill-1 .btnInner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-radius: inherit;
  height: 72px;
  background: #FCFCFC;
  color: #838383;
  backdrop-filter: blur(40px);
  transition: all 0.3s ease;
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill-1 .btnInner {
    height: 60px;
  }
}
@media screen and (max-width: 648px) {
  .btn-style-fill-1 .btnInner {
    height: 60px;
  }
}

.btn-style-fill-1:hover {
  position: relative;
  border-radius: 100px;
  padding: 1px;
  /* 邊框厚度 */
  background: none;
  transition: all 0.18s ease-in-out;
  transform: translate3d(0, 0, 0);
  color: #ffffff;
}
@media screen and (min-width: 648px) and (max-height: 700px) {
  .btn-style-fill-1:hover {
    height: 60px;
  }
}
.btn-style-fill-1:hover::after, .btn-style-fill-1:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: 100% 100%;
  background-position: 0 0;
  background-image: conic-gradient(from var(--angle) at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, var(--glowColor) 50%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  animation: rotate 2s infinite linear;
  z-index: 0;
}
.btn-style-fill-1:hover::before {
  filter: blur(20px);
}
.btn-style-fill-1:hover .btnInner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  border-radius: inherit;
  color: white;
  background: #0D1F2D;
  backdrop-filter: blur(40px);
  transition: all 0.18s ease;
}
@media screen and (min-width: 648px) and (max-height: 820px) {
  .btn-style-fill-1:hover .btnInner {
    height: 60px;
  }
}
@media screen and (max-width: 648px) {
  .btn-style-fill-1:hover .btnInner {
    height: 60px;
  }
}

.btn-fix {
  position: absolute;
  bottom: 30px;
  padding-top: 50px;
}
@media screen and (max-height: 720px) {
  .btn-fix {
    bottom: 5px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-fix {
    bottom: 40px;
  }
}

.btn-style-fill {
  position: relative;
  border-radius: 100px;
  padding: 1px;
  /* 邊框厚度 */
  background: none;
  transition: all 0.18s ease-in-out;
  transform: translate3d(0, 0, 0);
  color: #ffffff;
  margin: 40px;
  box-shadow: 0 0 24px 8px rgba(15, 138, 246, 0.42), 0 0 72px 24px rgba(15, 138, 246, 0);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill {
    height: 60px;
  }
}
.btn-style-fill::after, .btn-style-fill::before {
  content: "";
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  border-radius: inherit;
  background-size: 100% 100%;
  background-position: 0 0;
  background-image: conic-gradient(from var(--angle) at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, var(--glowColor) 50%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  animation: rotate 2s infinite linear;
  z-index: 0;
}
.btn-style-fill .btnInner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72px;
  border-radius: inherit;
  background: #0D1F2D;
  backdrop-filter: blur(40px);
  transition: all 0.18s ease;
}
@media screen and (max-width: 648px) {
  .btn-style-fill .btnInner {
    height: 60px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .btn-style-fill .btnInner {
    height: 60px;
  }
}
.btn-style-fill:hover .btnInner {
  color: #0F8AF6;
}

.btn-style-fill3 {
  position: relative;
  border-radius: 100px;
  padding: 1px;
  transition: all 0.18s ease-in-out;
  transform: translate3d(0, 0, 0);
  transition: background 1s ease;
  color: #838383;
}
.btn-style-fill3.btn-active {
  background: transparent;
}
.btn-style-fill3 .btnInner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-radius: inherit;
  background: #2B2B2B;
  backdrop-filter: blur(40px);
  transition: all 0.3s ease;
}

.btn-style-fill3.btn-active:hover .btnInner {
  color: #0F8AF6;
}

/* 按鈕激活狀態 */
.btn-style-fill3.btn-active {
  position: relative;
  border-radius: 100px;
  padding: 1px;
  /* 邊框厚度 */
  background: none;
  transition: all 0.18s ease-in-out;
  transform: translate3d(0, 0, 0);
  color: #ffffff;
  box-shadow: 0 0 24px 8px rgba(15, 138, 246, 0.42), 0 0 72px 24px rgba(15, 138, 246, 0);
}
.btn-style-fill3.btn-active::after, .btn-style-fill3.btn-active::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-size: 100% 100%;
  background-position: 0 0;
  background-image: conic-gradient(from var(--angle) at 50% 50%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 33%, var(--glowColor) 50%, rgba(0, 0, 0, 0) 66%, rgba(0, 0, 0, 0) 100%);
  animation: rotate 2s infinite linear;
  z-index: 0;
}
.btn-style-fill3.btn-active .btnInner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border-radius: inherit;
  background: #0D1F2D;
  backdrop-filter: blur(40px);
  transition: all 0.18s ease;
}
/* 需要這兩個自定義屬性 */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --glowColor {
  syntax: "<color>";
  initial-value: #0F8AF6;
}
/* 動畫 keyframes */
@keyframes rotate {
  0% {
    --angle: 0deg;
    --glowColor: #0F8AF6;
  }
  100% {
    --angle: 360deg;
    --glowColor: #0F8AF6;
  }
}
@keyframes wiggle {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(4px, 0) rotate(-2deg);
  }
  40% {
    transform: translate(-8px, 0) rotate(5deg);
  }
  60% {
    transform: translate(8px, 0) rotate(-5deg);
  }
  80% {
    transform: translate(-4px, 0) rotate(2deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}
.wiggle {
  animation: wiggle 150ms ease-in-out 3;
}

#quiz-start.section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.quiz-start {
  opacity: 0;
  /* 初始透明 */
  will-change: opacity, transform;
  backdrop-filter: blur(10px);
  border-radius: 40px;
  z-index: 1200;
}
@media screen and (max-width: 648px) {
  .quiz-start {
    border-radius: 20px;
  }
}
@media screen and (min-width: 649px) and (max-height: 819px) {
  .quiz-start {
    margin-top: 80px;
  }
}

.quiz-start.play {
  animation: final-fade-in 1s ease forwards;
  animation-delay: 0.2s;
}

.quiz-start::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  /* 邊框厚度 */
  background: linear-gradient(45deg, #e6e6e6 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.quiz-content {
  color: #FFF;
}
@media screen and (max-width: 648px) {
  .quiz-content {
    top: -20px;
  }
}
.quiz-content h1 {
  font-size: 52px;
  font-weight: 600;
  line-height: 62px;
}
@media screen and (min-width: 641px) {
  html[lang=jp] .quiz-content h1 {
    font-size: 46px;
  }
}
@media screen and (max-width: 640px) {
  .quiz-content h1 {
    font-size: 26px;
    line-height: 32px;
  }
}
@media screen and (min-width: 649px) and (max-height: 700px) {
  .quiz-content h1 {
    font-size: 26px;
    line-height: 32px;
  }
}
.quiz-content p {
  font-size: 28px;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 0.72px;
  margin-top: 32px;
}
@media screen and (max-width: 640px) {
  .quiz-content p {
    font-size: 18px;
    line-height: 25px;
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 0.2px;
  }
}
@media screen and (min-width: 649px) and (max-height: 700px) {
  .quiz-content p {
    font-size: 18px;
    line-height: 25px;
  }
}

.start-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
  flex-direction: column;
  padding: 80px 40px 200px 40px;
  max-width: 900px;
  width: min(90vw, 900px);
  height: 100%;
  max-height: 530px;
  position: relative;
  text-align: center;
  color: white;
}
@media screen and (max-width: 1200px) {
  .start-card {
    max-height: 480px;
    padding-bottom: 200px;
  }
}
@media screen and (max-width: 648px) {
  .start-card {
    max-height: 400px;
    padding-top: 80px;
    padding-bottom: 160px;
  }
}
@media screen and (min-width: 649px) and (max-height: 720px) {
  .start-card {
    max-height: 480px;
    padding-bottom: 240px;
  }
}
@media screen and (max-height: 700px) {
  .start-card {
    max-height: 400px;
    padding-bottom: 160px;
  }
}
.start-card h2 {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.73px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
@media screen and (max-width: 648px) {
  .start-card h2 {
    font-size: 14px;
  }
}
.start-card h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 240px;
  height: 12px;
  background: url("./modal_line.png") center/contain no-repeat;
  pointer-events: none;
}

.grid-2.is-fadeout,
.quiz-speed.is-fadeout {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.button-share-layout {
  position: absolute;
  bottom: -130px;
}

html[lang=jp] .button-share-layout {
  display: none;
}

html[lang=sc] .button-share-layout {
  display: none;
}

/*# sourceMappingURL=style.css.map */
