.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  /*background: linear-gradient(135deg, #ffffff, #c0c2b1);*/
}

.loading-container {
  position: absolute;
  /* 変更: absoluteに */
  width: 580px;
  height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art {
  animation: bounce 2s ease-in-out infinite;
}

.cls-1 {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 3s linear infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes dash {
  0% {
    stroke-dashoffset: 1000;
  }

  50% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -1000;
  }
}

.loading-text {
  text-align: center;
  margin-top: 20px;
  color: #535353;
  font-size: 16px;
  font-family: sans-serif;
}

.main-content {
  display: none;
  text-align: center;
  opacity: 0;
  /* 追加: フェードイン用 */
  transition: opacity 0.5s;
  /* 追加: フェードイン用 */
}

.main-content.visible {
  display: block;
  opacity: 1;
  /* 追加: フェードイン用 */
}



/* 追加: フェードアウト用 */
.loading-container.hidden {
  opacity: 0;
  transition: opacity 0.5s;
}