@charset "UTF-8";



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fbefef00;
}

body {
  font-family: 'Courier New', Courier, monospace, 'Yu Gothic', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header {
  text-align: center;
  margin-bottom: 1rem;
}

main {
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(52, 37, 36, 0.2);
  text-align: center;
  min-width: 300px;
  margin: 0 20px;
}

#drawButton {
  font-size: 1.3rem;
  padding: 12px 30px;
  background: #c2dbaa;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(255, 187, 187, 0.2);
  margin-bottom: 2rem;
}

#drawButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(245, 151, 151, 0.25);
  background: #ffdbdb;
}

#drawButton:active {
  transform: translateY(0);
}

#resultDisplay {
  font-size: 1.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 15px;
  background: #fafafa;
  border: 2px solid #95eeae8d;
}

footer {
  position: fixed;
  bottom: 20px;
  font-size: 0.9rem;
}





/* bodyの背景色変更 */
body.daikichi {
  background: linear-gradient(135deg, #6bdaff, #90ff8e);
  transition: background 0.5s ease;
}


body.chukichi {
  background: linear-gradient(135deg, #fcd698, #fcd698);
  transition: background 0.5s ease;
}


body.kyou {
  background: linear-gradient(135deg, #000000, #8425e3);
  transition: background 0.5s ease;
}


body.syouikichi {
  background: linear-gradient(135deg, #ffd12c, #ffd12c);
  transition: background 0.5s ease;
}


body.kichi {
  background: linear-gradient(135deg, #ffc4f2, #ffc4f2);
  transition: background 0.5s ease;
}