/* Logo Overlay Animation */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #fff;
}

.logo-overlay {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeOut 2s ease 2s forwards;
}

.logo-overlay img {
  width: 200px;
  opacity: 0;
  transform: scale(0.8);
  animation: fadeInScale 1.2s ease forwards;
}

@media (max-width: 1024px) {
  .main-header {
    height: 80px;
  }
}

@keyframes fadeInScale {
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.main-content {
  opacity: 0;
  animation: showMain 1s ease 3.2s forwards;
}

@keyframes showMain {
  to {
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}

/* Character Animation */
.char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main Page - Title Section */
.title {
  margin: 0 auto !important;
}

.title img {
  width: 50%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  #information {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .title img {
    width: 60%;
    max-width: 300px;
  }
}

/* Archive Page */
@media (max-width: 1024px) {
  .wp-view-toggle {
    display: none;
  }
}

/* History Page */
.history-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2%;
  column-gap: 2%;
  max-width: 980px;
  margin: 0 auto;
}

.history-block {
  display: block;
  width: 48%;
  padding: 12px 4px;
  border: 1px solid #000;
  border-radius: 4px;
  margin-bottom: 2%;
  transition: .3s;
}

.history-block:hover {
  background-color: black;
  color: white;
}
