@charset "utf-8";
body {
  overflow: hidden;
  background: url("../img/background.png") no-repeat top center / 100%;
  font-family: "Hiragino Kaku Gothic", "Hiragino Sans", sans-serif;
  z-index: 1;
}

main {
  padding: 12% 0 0;
}

.sub-title {
  color: #000;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}

.title {
  margin: 5% 0 4% 0;
  text-align: center;
}

.title img {
  width: 870px;
}

.opening-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 430px;
  height: 100px;
  margin: 0 auto;
  border-radius: 27px;
  background: #F7D33E;
  color: #414141;
  font-size: 40px;
  font-weight: 600;
  text-decoration: none;
}

.result {
  color: #414141;
  font-size: 200px;
  font-weight: 800;
  text-align: center;
}

.result span {
  color: #000
}

.roulette-btn {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
  font-size: 30px;
  font-weight: 600;
}

.common-btn {
  width: 230px;
  height: 65px;
  margin-right: 15px;
  border-radius: 15px;
  background: #F7D33E;
  color: #414141;
}

.common-btn:disabled {
  opacity: .4;
}

.reset {
  margin-right: 0;
}

.num-record {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  overflow-y: scroll;
  width: 850px;
  height: 155px;
  margin: 50px auto 20px;
  padding: 25px 140px;
  border: 2px solid #CCC;
  font-weight: 600;
}

.num-record p {
  width: 25%;
  color: #414141;
  font-size: 35px;
  text-align: center;
}

.hamutaro-img {
  position: absolute;
  bottom: 2%;
  right: 2%;
  opacity: 1;
}

.hamutaro-img img {
  width: 350px;
  height: auto;
}

.slide-left {
  transform: translate(400px, 400px);
  transition: all .8s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  opacity: 0;
}

.animation {
  opacity: .3;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #FFE6C5;
  z-index: -1;
}

.animation img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 800px;
  height: 800px;
  margin: 0 auto;
}

.hide-img {
  opacity: 0;
}