#game-2 {
  display: none;
}
* :focus {
  outline: 1px solid #f00;
}
button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}
.wrapper {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.sub-title {
  margin-bottom: 0;
}
.cat-note {
  margin: 0 auto;
  width: 640px;
  display: flex;
  align-items: center;
}
.cat-note img {
  margin-right: 2rem;
}
.retun-btn {
  width: 960px;
  display: flex;
  justify-content: flex-end;
  margin: 0 0 2rem;
}
.retun-btn a {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #000;
}
.retun-btn img {
  margin-right: 1rem;
}
/**/
.game-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  width: 900px;
  height: 506px;
  z-index: 100;
  margin: 0 auto 12rem;
}
.game-wrap.data {
  background: #fff url("../img/dg_bg.png") 0 0 no-repeat;
  background-size: cover;
}
.game-wrap.graph {
  background: #fff url("../img/eg_bg.png") 0 0 no-repeat;
  background-size: cover;
}
/* left */
#game-1 {
  scroll-margin-top: 50px;
}
.game-left {
  width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 2rem 0;
}
.title-level h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-level h2 img {
  margin-bottom: 4rem;
}
.left-btm {
  margin: auto;
}
/* middle */
#game {
  scroll-margin-top: 68px;
}
.game-main {
  margin: 18px auto 8px;
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  flex-wrap: wrap;
  width: 500px;
  z-index: 100;
}
.game-main.lv1 {
  width: 320px
}
.game-main.lv3 {
  margin: 18px auto 2px;
  width: 525px
}
.game-main > div {
  width: 140px;
  margin: 4px;
}
.game-main.lv3 > div {
  width: 120px;
  height: 104px;
}
.game-main button {
  border: none;
  color: #FFF;
  text-decoration: none;
  font-weight: bold;
  background: transparent;
  width: 128px;
  height: 104px;
}
.game-main button:disabled {
  background: transparent;
  cursor: default;
}
.game-main button img {
  width: 128px;
  height: 104px;
}
.game-main.lv3 button {
  width: 100%;
  height: 98px;
}
.game-main button img {
  width: 128px;
  height: 104px;
}
.game-main.lv3 button img {
  width: 120px;
  height: 98px;
}
.card-no {
  display: block;
  line-height: 1;
}
.card-img {
  display: none;
}
.card-img span {
  display: block;
  width: 100%;
}

.complete {
  scroll-margin-top: 68px;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
}
.complete .message {
  display: flex;
  justify-content: center;
}
.complete .characters {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  flex-wrap: nowrap;
}
.characters img {
  position: relative;
  z-index: -10;
}
.characters button {
  z-index: 20;
  margin-top: -20px;
  display: flex;
  width: 160px;
  height: 50px;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  border: 4px solid #f80;
  border-radius: 1rem;
  justify-content: center;
  align-items: center;
  color: #111;
  background-color: #fff;
  cursor: pointer;
}
/* right-side */
.game-right {
  width: 200px;
  position: relative;
  padding: 0 2rem;
  z-index: -10;
}
.get-card  {
  padding: 2rem 0 0 0;
  position: relative;
}
.left-card {
  padding: 1rem 0 1rem 0;
  position: relative;
}
.game-right p {
  font-size: 2.4rem;
  font-weight: bold;
}
#toreta_n,
#toreta_n_2 {
  position: absolute;
  top: 53px;
  left: 48px;
}
#nokori_n,
#nokori_n_2 {
  position: absolute;
  top: 46px;
  left: 70px;
}
/**/
.voice-menu {
  margin-top: 80px;
  background: #000;
  padding: 1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.voice-menu h3 {
  font-size: 1.1rem;
  color: #4271d0;
  padding-bottom: 0.5rem;
}
.continue-btn a,
.continue-btn button {
  display: flex;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  position: relative;
  font-size: 1.1rem;
  text-align: left;
  padding: 0.3rem 0;
  margin-left: 8px;
}
.voice-menu .continue-btn a {
  padding-top: 0.6rem;
}
.voice-menu .continue-btn a::before,
.voice-menu .continue-btn button:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: solid 1px #fff;
  border-right: solid 1px #fff;
  position: absolute;
  left: -14px;
  top: 4px;
  transform: rotate(45deg);
}
.voice-menu .continue-btn button:before,
.voice-menu .continue-btn a::before {
  top: 7px;
}
.voice-menu .continue-btn a:focus {
  outline: solid 4px #f00;
  }
/**/
.replay-btn {
  margin-top: 60px;
  position: absolute;
  bottom: auto;
  right: 2rem;
  width: 160px;
  height: 50px;
}
.replay-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1rem;
  background-color: #fff;
  border: 4px solid #f80;
  transition: all .2s;
  width: 100%;
  height: 100%;
  font-size: 2rem;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}
.replay-btn a:focus {
  outline: solid 4px #f00;
}