/* Overall body style with a vibrant background */
body {
  font-family: 'Arial', sans-serif;
  background-color: #fffae6; /* Light yellow background for a bright feel */
  padding: 20px;
  padding-bottom: 100px;
}
  
/* Header style */
h1 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 20px;
  color: #ff7043; /* A vibrant orange for the header */
}

/* Hidden class for results */
.hidden {
  display: none;
}

/* Questions title with a bolder style */
h2.question-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #1e88e5; /* Bright blue for titles */
}
  
/* Labels for options with bigger clickable area */
label {
  display: block;
  margin-bottom: 10px;
  line-height: 1.5;
  padding: 10px;
  background-color: #f5f5f5; /* Light background */
  border-radius: 10px; /* Rounded corners */
  cursor: pointer; /* Pointer to indicate clickable */
  transition: background-color 0.3s ease;
}

/* Hover effect on labels */
label:hover {
  background-color: #ffcc80; /* Orange on hover */
}

/* Correct answer styling */
label.correct::after {
  content: '✔'; /* Checkmark for correct answers */
  color: green;
  font-size: 18px;
  margin-left: 10px;
}

/* Incorrect answer styling */
label.incorrect::after {
  content: '✘'; /* Cross mark for incorrect answers */
  color: red;
  font-size: 18px;
  margin-left: 10px;
}

/* Button style with some animation */
button {
  display: block;
  margin: 20px auto;
  padding: 10px 20px;
  font-size: 18px;
  background-color: #1e88e5; /* Bright blue */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s;
}

/* Button hover effect */
button:hover {
  background-color: #1565c0;
  transform: scale(1.05); /* Slight zoom on hover */
}

/* Result section style */
#result {
  margin-top: 20px;
  text-align: left;
  background-color: #fffff4;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h3.inresult {
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  color: #494949;/*文字色*/
  background: #fff1d2;/*背景色*/
  border-left: solid 10px #ffc953;/*左線*/
  border-bottom: solid 3px #ffe07b;/*下線*/
}

div.whitebox {
  background-color: rgb(255, 255, 255);
  padding:10px 0px 10px 20px;
  line-height: 1.5;
}

/* フッターのスタイル */
footer {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  right:0px;
  width:100%;
}

.quest-list {
  list-style-type: none; /* デフォルトの点を削除 */
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.quest-list li {
  background: linear-gradient(120deg, #4CAF50, #81C784); /* グラデーション背景 */
  border: 1px solid #3E8E41; /* ボーダー */
  border-radius: 10px; /* 角を丸く */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* ホバー効果用 */
  overflow: hidden;
}

.quest-list li a {
  display: block;
  padding: 15px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
}

.quest-list li:hover {
  transform: scale(1.05); /* 少し拡大 */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* 影を追加 */
}

.quest-list li a:hover {
  text-decoration: underline; /* ホバー時にアンダーラインを表示 */
}

.quest-list li:nth-child(odd) {
  background: linear-gradient(120deg, #3F51B5, #7986CB); /* 奇数行の異なる色 */
}
