* {
  padding: 0;
  margin: 0;
  font-weight: normal;
  border: none;
  outline: none;
}

ul,
li {
  list-style: none;
}

input,
textarea {
  border: none;
  outline: none;
  background: transparent;
  color: inherit;
  min-width: none;
  font-size: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

iframe {
  display: none !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  visibility: hidden !important;
  outline: none !important;
  border: none !important;
  left: 1000000px !important;
  top: 1000000px !important;
}

html {
  -webkit-tap-highlight-color: transparent;
}

img {
  flex-shrink: 0;
  vertical-align: top;
}

.x-cloak {
  display: none !important;
}

.can_scroll {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.single_line {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.line_1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.line_2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  flex-shrink: 0;
}

.row {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-sizing: border-box;
  flex-shrink: 0;
}

.flex1 {
  flex: 1;
}

.shrink_0 {
  flex-shrink: 0;
}

.center_center {
  justify-content: center;
  align-items: center;
}

.justify_center {
  justify-content: center;
}

.align_center {
  align-items: center;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.w_full {
  width: 100%;
}

.h_full {
  height: 100%;
}

.dp_none {
  display: none;
}

.po_full {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.primary_modal {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.8);
}

.game_btn {
  cursor: pointer;
  transition: .06s;
}

.game_btn:active {
  transform: scale(0.9);
}

.touchable:active {
  opacity: 0.6 !important;
}

#bgmToggle {
  position: absolute;
  z-index: 100;
  right: 5vw;
  top: 4vw;
  width: 7vw;
  height: 7vw;
  background: url('../img/ic_music.png') center/contain no-repeat;
  background-size: 100% 100%;
  opacity: 0.7;
}
#bgmToggle.dark {
  filter: invert();
}

#bgmToggle.left {
  left: 5vw;
  right: unset;
}

#bgmToggle.active {
  animation: rotate 3s linear infinite;
  /*background-image: url('../img/ic_music.png');*/
}

@keyframes rotate {
  from {
    transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
  }
}

.bounce_ani {
  animation: _bounceInDown .8s both;
}

.bounce_ani.out {
  animation: _bounceOutUp .8s both;
}

.zoom_ani {
  animation: _zoomIn .3s both;
}

.zoom_ani.out {
  animation: _zoomOut .3s both;
}

.slide_in_down_ani {
  animation: _slideInDown .4s both;
}

.slide_in_down_ani.out {
  animation: _slideOutUp .4s both;
}

@keyframes _bounceInDown {

  0%,
  60%,
  75%,
  90%,
  100% {
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3000px, 0);
    transform: translate3d(0, -3000px, 0);
  }

  60% {
    /*opacity: 1;*/
    -webkit-transform: translate3d(0, 25px, 0);
    transform: translate3d(0, 25px, 0);
  }

  75% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  90% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }

  100% {
    -webkit-transform: none;
    transform: none;
    opacity: 1;
  }
}

@keyframes _bounceOutUp {
  20% {
    -webkit-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
  }

  40%,
  45% {
    /*opacity: 1;*/
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
  }

  100% {
    /*opacity: 0;*/
    -webkit-transform: translate3d(0, -2000px, 0);
    transform: translate3d(0, -2000px, 0);
  }
}

@keyframes _fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes _zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes _zoomOut {
  100% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }
}

@keyframes _slideInDown {
  0% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes _slideOutUp {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  100% {
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
    /*visibility: visible;*/
  }
}

@keyframes _fadeIn {
  0% {
    opacity: .2;
  }

  100% {
    opacity: 1;
  }
}

@keyframes _fadeInDown {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0, -40%, 0);
    transform: translate3d(0, -40%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes _fadeOutUp {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    -webkit-transform: translate3d(0, -40%, 0);
    transform: translate3d(0, -40%, 0);
  }
}

@keyframes _fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, -70%, 0);
  }

  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes _fadeOutDown {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}

.float_y_ani {
  animation: _float_y 1.5s infinite alternate both;
}

._fadeInUp {
  animation: _fadeInUp 1s both;
}

@keyframes _float_y {
  0% {
    transform: translateY(-8%);
  }

  100% {
    transform: translateY(8%);
  }
}

.ani_delay_03 {
  animation-delay: 0.3s;
}

.ani_delay_06 {
  animation-delay: 0.6s;
}

.ani_delay_08 {
  animation-delay: 0.8s;
}

.ani_delay_12 {
  animation-delay: 1.2s;
}

.ani_duration_s08 {
  animation-duration: .8s;
}

.ani_duration_s15 {
  animation-duration: 1.5s;
}

.ani_duration_s20 {
  animation-duration: 2s;
}