/* ベース全体スタイル */
body {
  font-family: sans-serif;
  max-width: 600px;
  margin: auto;
  padding: 10px;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}

/* 質問アニメーション用 */
.question {
  transition: transform 0.5s ease;
}

.question:not(.active) {
  display: none;
}

.question.active {
  display: block;
  animation: slideIn 0.4s ease;
}

.question-number{
    font-size: 13px;
}


@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* 質問の最低高さ */
#questionContainer {
  min-height: 200px;
}

/* 選択肢ラベル */
label {
  display: block;
  margin-bottom: 0.75em;
}

/* ボタン */
button {
  margin-top: 1em;
  padding: 1em;
  width: 100%;
  font-size: 1rem;
  border-radius: 6px;
}


#loadingScreen {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatUpDown {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-10px); opacity: 0.7; }
  100% { transform: translateY(0); opacity: 1; }
}

.thinking {
  font-size: 1.2em;
  animation: floatUpDown 2s ease-in-out infinite;
}


.line-register-btn {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 1.2em;
  background-color: #06c755;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1em;
}
.line-register-btn:hover {
  opacity: 0.9;
}

