/* 文字コードUTF-8 */
@charset "UTF-8";

body {
  margin: 0;
  padding: 0;
  user-select: none;
  font-family: sans-serif;
  background-color: #7d7d7d;
}

h1,
h2,
h3 {
  margin: 2px;
}
h4 {
  margin: 0;
  padding: 0;
}

#loading {
  width: 356px;
  height: 640px;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: block;
}

#loading img {
  position: absolute;
  left: 50%;
  margin-right: -50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

#stage {
  width: 356px;
  height: 640px;
  overflow: hidden;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
  background-size: cover;
}

#enemy_info {
  padding: 4px;
  height: 60px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
}

#enemy_time {
  font-size: x-large;
}
#enemy_text {
  height: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#enemy_hp {
  width: 180px;
}

#enemy_img {
  width: 354px;
  height: 354px;
}

#attack_effect {
  top: 60px;
  width: 354px;
  height: 354px;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 0);
  display: none;
}

#player_command {
  height: 40px;
  margin-bottom: 2px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#attack_button {
  width: 100px;
  padding: 4px;
  color: white;
  background-color: #990101;
  border-radius: 100vh;
}

#heal_button {
  width: 100px;
  padding: 4px;
  color: white;
  background-color: #3a5ba0;
  border-radius: 100vh;
}

#special_button {
  width: 100px;
  padding: 4px;
  color: white;
  background-color: #ffa500;
  border-radius: 100vh;
}

#player_info {
  margin-top: -8px;
  padding: 4px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
}

#player_text {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#player_img {
  width: 84px;
  height: 84px;
}
#player_class {
  width: 260px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
#player_status0,
#player_status1,
#player_status2,
#player_status3,
#player_status4,
#player_status5 {
  width: 49%;
  height: 22px;
}

#heal_effect {
  top: 340px;
  max-height: 280px;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 0);
  display: none;
}

#special_effect {
  top: 0px;
  max-height: 350px;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 0);
  display: none;
}

#button_position {
  display: flex;
}

#info_button {
  width: 30px;
  margin: 4px;
  padding: 4px;
  color: white;
  background-color: #4c5e68;
  border-radius: 100vh;
}

#run_button {
  width: 100px;
  margin: 4px;
  padding: 4px;
  color: white;
  background-color: #4c5e68;
  border-radius: 100vh;
}

#next_button {
  width: 180px;
  margin: 4px;
  padding: 4px;
  color: white;
  background-color: #4c5e68;
  border-radius: 100vh;
}

#damage_effect {
  top: 360px;
  max-height: 350px;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, 0);
  display: none;
}

#affiliate {
  display: flex;
}

#gameover {
  width: 356px;
  padding-top: 265px;
  padding-bottom: 265px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.75);
  display: none;
}
