body {
  background-color: #fff;
}

#top-visual {
  text-align: center;
  margin-top: 50px;
}

#top-title {
  font-family: "M PLUS 1", sans-serif;
  font-size: 30px;
  text-align: center;
  color: #072A59;
}

#typing-start {
  font-family: "M PLUS 1", sans-serif;
  text-align: center;
  padding: 0 6px 5px;
}

#typing-start p + p {
  margin: 0;
}

#typing-start .note {
  font-size: 14px;
}

#typing-start .msg {
  color: tomato;
}

.btn-wrap {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

#left {
  width: 100%;
  height: auto;
}

#right {
  width: 100%;
  height: auto;
}

.color-bg-start {
  background-color: salmon;
}

.bg-animate-color {
  animation: random-bg 0.5s linear infinite;
}

@keyframes random-bg {
  from {
    filter: hue-rotate(0);
  }
  to {
    filter: hue-rotate(360deg);
  }
}
#r-button, #k-button, #start-button {
  background-color: #FFC223;
  color: #fff;
  border: none;
  padding: 1em 1.3em;
  transition: all 0.3s ease;
  border-radius: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  outline: none;
  align-self: center;
  cursor: pointer;
  font-family: "M PLUS 1", sans-serif;
  font-size: 16px;
  font-weight: bold;
}

#start-button {
  background-color: #FDEBA3;
  color: #7b7a7a;
  border: none;
  padding: 1em 1.3em;
  transition: all 0.3s ease;
  border-radius: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  outline: none;
  align-self: center;
  cursor: pointer;
  font-family: "M PLUS 1", sans-serif;
  font-size: 16px;
  font-weight: bold;
}

#r-button:hover, #k-button:hover, #start-button:hover {
  animation: random-bg 0.5s linear infinite, grow 1300ms ease infinite;
}

#r-button {
  padding: 1em 3.5em;
}

#k-button {
  padding: 1em 2em;
}

.fukidashi {
  display: none;
  width: 180px;
  position: absolute;
  top: 400px;
  right: 350px;
  padding: 16px;
  border-radius: 5px;
  background: #33cc99;
  text-align: left;
  color: #fff;
  font-weight: bold;
}

.fukidashi:after {
  position: absolute;
  width: 0;
  height: 0;
  left: 0;
  bottom: -19px;
  margin-left: 10px;
  border: solid transparent;
  border-color: rgba(51, 204, 153, 0);
  border-top-color: #33cc99;
  border-width: 10px;
  pointer-events: none;
  content: " ";
}

#k-button:hover + .fukidashi {
  display: block;
}

.start-fun {
  background-color: #fff !important;
  color: salmon !important;
}

@keyframes grow {
  0% {
    transform: scale(1);
  }
  14% {
    transform: scale(1.3);
  }
  28% {
    transform: scale(1);
  }
  42% {
    transform: scale(1.3);
  }
  70% {
    transform: scale(1);
  }
}
#game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  opacity: 0.8;
  z-index: 9999;
}

#game-screen {
  display: none;
  position: absolute;
  width: 748px;
  background: #fff;
  padding: 0 10px 10px;
  z-index: 10000;
}

#game-screen,
#game-screen * {
  font-family: "M PLUS 1", sans-serif;
  box-sizing: border-box;
}

#game-screen ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#game-header {
  position: relative;
  height: 40px;
  border-bottom: 1px solid #cacaca;
  margin: 0 0 5px;
}

#close-button1 {
  position: absolute;
  top: 6px;
  right: 0;
  width: 63px;
  height: 27px;
  font-size: 11px;
  font-weight: bold;
  color: #777;
  background: linear-gradient(0deg, #eee, #fff);
  padding: 1px 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

#close-button1:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background-image: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 352 512"><!-- Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) --><path d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z" fill="%23777"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 2px;
  vertical-align: -0.2em;
}

#close-button1:hover {
  background: linear-gradient(180deg, #eee, #fff);
}

#game-header .description {
  height: 40px;
  font-size: 18px;
  color: #7b7a7a;
  line-height: 40px;
  margin: 0 0 0 5px;
}

#game-banner {
  width: 728px;
  height: 90px;
  margin: 0 auto 5px;
}

#game-banner a {
  display: block;
  width: 100%;
  height: 100%;
}

#game-body {
  display: table;
  width: 748px;
  height: 470px;
  color: #636363;
}

#game-view1 {
  position: relative;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

#game-title {
  font-size: 24px;
}

#game-explain {
  font-size: 15px;
  padding: 0 24px;
  margin: 12px 0 74px;
}

.show {
  display: block !important;
}

#game-view2 {
  display: none;
}

#text-container {
  position: relative;
  max-width: 610px;
  height: 172px;
  border: 1px solid #d8d8d8;
  margin: 0 auto 10px;
  overflow: hidden;
}

#miss-type-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 0, 0, 0.2);
  opacity: 0;
}

#miss-type-screen.missed {
  animation: miss 0.2s;
}

#start-msg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: 14px;
  text-align: center;
  line-height: 170%;
  padding-top: 46px;
}

#start-msg p {
  padding: 0;
  margin: 0 0 4px;
}

#start-msg em {
  font-size: 24px;
  font-style: normal;
  color: #ff9c00;
}

#countdown {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #ff9c00;
  font-size: 80px;
  transform: translateX(-50%) translateY(-50%);
}

#example {
  position: absolute;
  left: 15px;
  top: 36px;
  width: 580px;
  height: 36px;
  font-size: 30px;
  line-height: 36px;
  overflow: hidden;
  font-variant-ligatures: no-common-ligatures;
}

#example > div {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  white-space: nowrap;
}

#kana {
  position: absolute;
  left: 15px;
  top: 73px;
  width: 580px;
  height: 24px;
  font-size: 20px;
  line-height: 24px;
  overflow: hidden;
  font-variant-ligatures: no-common-ligatures;
}

#kana > div {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  white-space: nowrap;
}

#sentence {
  position: absolute;
  left: 15px;
  top: 102px;
  width: 580px;
  height: 30px;
  font-size: 26px;
  line-height: 26px;
  overflow: hidden;
  /* text-transform: uppercase; */
  font-variant-ligatures: no-common-ligatures;
}

#sentence > div {
  position: absolute;
  top: 0;
  left: 0;
  height: 30px;
  white-space: nowrap;
}

#sentence .typed {
  color: #ffd0a6;
}

/* #progress-bar {
  position: absolute;
  bottom: 1px;
  left: 5px;
  width: calc(100% - 10px);
  height: 4px;
  background-color: #bcbcbc;
  transform-origin: left top;
} */
#current-wpm {
  display: none;
  position: absolute;
  top: 5px;
  right: 10px;
}

#speed-bar {
  display: none;
  position: absolute;
  top: 2px;
  left: 5px;
  width: calc(100% - 10px);
  height: 3px;
  background: linear-gradient(90deg, #87cefa, #ff6347);
  transform-origin: left top;
}

.cover {
  top: 0;
  right: 0;
  height: 3px;
  background: #fff;
  transform-origin: right top;
}

#virtual-keyboard {
  position: relative;
  width: 610px;
  margin: 0 auto;
}

#virtual-keyboard div {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  font-weight: bold;
  font-size: 16px;
  line-height: 34px;
  text-align: center;
  overflow: hidden;
}

#virtual-keyboard div.key_1 {
  top: 0;
  left: 41px;
}

#virtual-keyboard div.key_2 {
  top: 0;
  left: 82px;
}

#virtual-keyboard div.key_3 {
  top: 0;
  left: 123px;
}

#virtual-keyboard div.key_4 {
  top: 0;
  left: 164px;
}

#virtual-keyboard div.key_5 {
  top: 0;
  left: 205px;
}

#virtual-keyboard div.key_6 {
  top: 0;
  left: 246px;
}

#virtual-keyboard div.key_7 {
  top: 0;
  left: 287px;
}

#virtual-keyboard div.key_8 {
  top: 0;
  left: 328px;
}

#virtual-keyboard div.key_9 {
  top: 0;
  left: 369px;
}

#virtual-keyboard div.key_0 {
  top: 0;
  left: 410px;
}

#virtual-keyboard div.key_hyphen {
  top: 0;
  left: 451px;
}

#virtual-keyboard div.deco_key2 {
  top: 0;
  left: 492px;
}

#virtual-keyboard div.deco_key3 {
  top: 0;
  left: 533px;
}

#virtual-keyboard div.deco_key4 {
  top: 0;
  left: 574px;
}

#virtual-keyboard div.deco_key5 {
  top: 41px;
  width: 56px;
}

#virtual-keyboard div.key_q {
  top: 41px;
  left: 61px;
}

#virtual-keyboard div.key_w {
  top: 41px;
  left: 102px;
}

#virtual-keyboard div.key_e {
  top: 41px;
  left: 143px;
}

#virtual-keyboard div.key_r {
  top: 41px;
  left: 184px;
}

#virtual-keyboard div.key_t {
  top: 41px;
  left: 225px;
}

#virtual-keyboard div.key_y {
  top: 41px;
  left: 266px;
}

#virtual-keyboard div.key_u {
  top: 41px;
  left: 307px;
}

#virtual-keyboard div.key_i {
  top: 41px;
  left: 348px;
}

#virtual-keyboard div.key_o {
  top: 41px;
  left: 389px;
}

#virtual-keyboard div.key_p {
  top: 41px;
  left: 430px;
}

#virtual-keyboard div.key_atmark {
  top: 41px;
  left: 471px;
}

#virtual-keyboard div.deco_key6 {
  top: 41px;
  left: 512px;
}

#virtual-keyboard div.key_Enter {
  top: 41px;
  left: 553px;
  width: 57px;
  height: 77px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 21px 100%, 21px 36px, 0 36px);
          clip-path: polygon(0 0, 100% 0, 100% 100%, 21px 100%, 21px 36px, 0 36px);
}

#virtual-keyboard div.key_Enter:after {
  position: absolute;
  display: block;
  content: "";
  top: 34px;
  left: 0;
  width: 20px;
  height: 41px;
  border-top: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
}

#virtual-keyboard div.deco_key7 {
  top: 82px;
  width: 76px;
}

#virtual-keyboard div.key_a {
  top: 82px;
  left: 81px;
}

#virtual-keyboard div.key_s {
  top: 82px;
  left: 122px;
}

#virtual-keyboard div.key_d {
  top: 82px;
  left: 163px;
}

#virtual-keyboard div.key_f {
  top: 82px;
  left: 204px;
}

#virtual-keyboard div.key_g {
  top: 82px;
  left: 245px;
}

#virtual-keyboard div.key_h {
  top: 82px;
  left: 286px;
}

#virtual-keyboard div.key_j {
  top: 82px;
  left: 327px;
}

#virtual-keyboard div.key_k {
  top: 82px;
  left: 368px;
}

#virtual-keyboard div.key_l {
  top: 82px;
  left: 409px;
}

#virtual-keyboard div.key_semicolon {
  top: 82px;
  left: 450px;
}

#virtual-keyboard div.key_colon {
  top: 82px;
  left: 491px;
}

#virtual-keyboard div.deco_key8 {
  top: 82px;
  left: 532px;
}

#virtual-keyboard div.key_lShift {
  top: 123px;
  left: 0;
  width: 96px;
  text-transform: lowercase !important;
}

#virtual-keyboard div.key_z {
  top: 123px;
  left: 101px;
}

#virtual-keyboard div.key_x {
  top: 123px;
  left: 142px;
}

#virtual-keyboard div.key_c {
  top: 123px;
  left: 183px;
}

#virtual-keyboard div.key_v {
  top: 123px;
  left: 224px;
}

#virtual-keyboard div.key_b {
  top: 123px;
  left: 265px;
}

#virtual-keyboard div.key_n {
  top: 123px;
  left: 306px;
}

#virtual-keyboard div.key_m {
  top: 123px;
  left: 347px;
}

#virtual-keyboard div.key_comma {
  top: 123px;
  left: 388px;
}

#virtual-keyboard div.key_period {
  top: 123px;
  left: 429px;
}

#virtual-keyboard div.key_slash {
  top: 123px;
  left: 470px;
}

#virtual-keyboard div.deco_key9 {
  top: 123px;
  left: 511px;
}

#virtual-keyboard div.key_rShift {
  top: 123px;
  left: 552px;
  width: 58px;
  text-transform: lowercase !important;
}

#virtual-keyboard div.deco_key10 {
  top: 164px;
  left: 0;
  width: 56px;
}

#virtual-keyboard div.deco_key11 {
  top: 164px;
  left: 61px;
}

#virtual-keyboard div.deco_key12 {
  top: 164px;
  left: 102px;
}

#virtual-keyboard div.deco_key13 {
  top: 164px;
  left: 143px;
}

#virtual-keyboard div.key_space {
  top: 164px;
  left: 184px;
  width: 181px;
  text-transform: lowercase !important;
}

#virtual-keyboard div.deco_key14 {
  top: 164px;
  left: 370px;
}

#virtual-keyboard div.deco_key15 {
  top: 164px;
  left: 411px;
}

#virtual-keyboard div.deco_key16 {
  top: 164px;
  left: 452px;
  width: 56px;
}

#virtual-keyboard div.deco_key17 {
  top: 164px;
  left: 513px;
}

#virtual-keyboard div.deco_key18 {
  top: 164px;
  left: 554px;
  width: 56px;
}

#virtual-keyboard div.active {
  background-color: #ff9c00 !important;
  border-color: #ff9c00 !important;
  color: #fff !important;
}

#game-result {
  display: none;
  width: 728px;
}

#current-result {
  position: relative;
  float: left;
  width: 590px;
  height: 337px;
  border: 1px solid #d0d0d0;
  margin: 0 0 12px;
}

#game-result .result-title {
  height: 37px;
  font-size: 15px;
  font-weight: bold;
  line-height: 37px;
  overflow: hidden;
  margin: 0;
  padding: 0 0 0 10px;
}

#current-result .result-title {
  color: #027fff;
  border-bottom: 1px solid #d0d0d0;
}

#example-list {
  position: absolute;
  top: 49px;
  left: 12px;
  width: 376px;
  height: 274px;
  padding: 10px;
  overflow: auto;
  border: 1px solid #d0d0d0;
}

#example-list ul {
  width: 354px;
}

#example-list ul li {
  font-size: 16px;
  margin-bottom: 12px;
  overflow-wrap: break-word;
}

#example-list .sentence {
  text-transform: uppercase;
}

#example-list .miss {
  color: #f00;
}

#game-result .result-data {
  position: absolute;
  width: 188px;
  height: 298px;
  top: 37px;
  right: 0;
  padding: 12px 11px 0 11px;
  background: #f7f7f7;
}

#game-result .result-data ul li {
  position: relative;
  border-bottom: 1px solid #d0d0d0;
}

#game-result .result-data ul li .title {
  position: absolute;
  font-size: 11px;
  height: 32px;
  line-height: 32px;
  top: 0;
  left: 0;
}

#game-result .result-data ul li .data {
  color: #027fff;
  font-size: 14px;
  height: 32px;
  line-height: 32px;
  width: 166px;
  text-align: right;
  font-weight: bold;
  padding-right: 6px;
}

#game-result .result-data ul li:last-child .data {
  text-transform: uppercase;
}

#prev-result {
  position: relative;
  width: 138px;
  height: 337px;
  float: right;
  border-top: 1px solid #d0d0d0;
  border-right: 1px solid #d0d0d0;
  border-bottom: 1px solid #d0d0d0;
}

#prev-result .result-title {
  border-bottom: 1px solid #d0d0d0;
}

#prev-result .result-data {
  width: 137px;
}

#prev-result .result-data ul li .data {
  width: 115px;
}

#result-comment {
  position: relative;
  width: 728px;
  height: 53px;
  text-align: center;
  border: 1px solid #d0d0d0;
  margin: 12px 0 0;
  clear: both;
}

#result-comment .container {
  position: absolute;
  width: 726px;
  font-size: 14px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  padding: 0 18px;
}

#btn-area {
  position: relative;
  margin: 18px 0 0;
}

#game-result .btn {
  position: absolute;
  display: block;
  width: 129px;
  height: 39px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  line-height: 39px;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

#replay-button {
  top: 0;
  right: 289px;
  background-color: #027fff;
}

#close-button2 {
  top: 0;
  right: 0;
  color: #7b7a7a !important;
  background-color: #f4f5f5;
}

#miss-only-button {
  top: 0;
  left: 164px;
  background-color: #23c21f;
}

@keyframes miss {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}/*# sourceMappingURL=style.css.map */