p {
  margin: 0;
  padding: 0;
}

.loading {
  width: 300px;
  height: 190px;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.loading-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  margin-top: 0;
  margin-bottom: 16px;
}

.loading-container-animation {
  margin-top: 16px;
  opacity: 1;
  transition-property: margin-top, opacity;
  transition-timing-function: ease-out;
  transition-duration: 0.3s;
  transition-delay: 1600ms;
}

.loading-bar {
  width: 160px;
  height: 3px;
  background-color: #222222;
  display: block;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  border-radius: 2px;
}

.loading-bar .bar {
  width: 62px;
  height: 100%;
  position: absolute;
  display: block;
  top: 50%;
  left: -62px;
  background: linear-gradient(90deg, #ffffff00 0%, #ffffff80 33.85%, #ffffff80 64.06%, #ffffff00 100%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-animation: scroll 1.1s linear infinite;
  -moz-animation: scroll 1.1s linear infinite;
  -o-animation: scroll 1.1s linear infinite;
  animation: scroll 1.1s linear infinite;
}

.loading .icon-card {
  width: 80px;
  height: 80px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 18px rgba(34, 34, 34, 0.2);
  border-radius: 21px;
  overflow: hidden;
  -webkit-animation: zoomFade 0.2s;
  -moz-animation: zoomFade 0.2s;
  -o-animation: zoomFade 0.2s;
  animation: zoomFade 0.2s;
}

.loading #message {
  font-size: 12px;
  color: #767676;
  font-weight: 400;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  line-height: 20px;
}

.money-name {
  color: #767676;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 16px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Roboto', 'Noto Sans JP', 'Noto Sans CJK JP', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  opacity: 0;
}

.money-name-animation {
  opacity: 1;
  transition-property: opacity;
  transition-timing-function: ease-out;
  transition-duration: 0.2s;
  transition-delay: 250ms;
}

@-webkit-keyframes scroll {
  70% {
    left: -62px;
  }

  100% {
    left: 100%;
  }
}

@-moz-keyframes scroll {
  70% {
    left: -62px;
  }

  100% {
    left: 100%;
  }
}

@-o-keyframes scroll {
  70% {
    left: -62px;
  }

  100% {
    left: 100%;
  }
}

@keyframes scroll {
  70% {
    left: -62px;
  }

  100% {
    left: 100%;
  }
}

@-webkit-keyframes zoomFade {
  0% {
    -webkit-transform: scale(0.5, 0.5);
    opacity: 0.5;
  }

  90% {
    -webkit-transform: scale(1.02, 1.02);
  }

  100% {
    -webkit-transform: scale(1, 1);
    opacity: 1;
  }
}

@-moz-keyframes zoomFade {
  0% {
    -moz-transform: scale(0.5, 0.5);
    opacity: 0.5;
  }

  90% {
    -moz-transform: scale(1.02, 1.02);
  }

  100% {
    -moz-transform: scale(1, 1);
    opacity: 1;
  }
}

@-o-keyframes zoomFade {
  0% {
    -o-transform: scale(0.5, 0.5);
    opacity: 0.5;
  }

  90% {
    -o-transform: scale(1.02, 1.02);
  }

  100% {
    -o-transform: scale(1, 1);
    opacity: 1;
  }
}

@keyframes zoomFade {
  0% {
    transform: scale(0.5, 0.5);
    opacity: 0.5;
  }

  90% {
    transform: scale(1.02, 1.02);
  }

  100% {
    transform: scale(1, 1);
    opacity: 1;
  }
}
