/* ==========================================================================
  全体調整のCSS
  ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");

html {
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP Bold", sans-serif;
  background-color: #de750d;
}

/* ==========================================================================
  アニメーションCSS
  ========================================================================== */

.animate-fade-in-up {
  animation: fade-in-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@media (max-width: 640px) {
  .animate-fade-in {
    animation: fadeIn 1.2s ease;
  }

  .animate-bounce {
    animation: bounce 1.5s infinite;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   ハンバーガーメニュー
   ========================================================================== */

.hamburger {
  display: none;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  transition: all 0.3s;
}

.bar.change1 {
  transform: rotate(45deg);
  position: relative;
  top: 7px;
}

.bar.change2 {
  opacity: 0;
}

.bar.change3 {
  transform: rotate(-45deg);
  position: relative;
  top: -7px;
}

.menu {
  width: 100%;
  height: 100%;
  padding: 0 8% 0 8%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  list-style: none;
  gap: 20px;
  position: fixed;
  top: 0;
  z-index: 9999;
  color: #fff;
}

.menu li {
  padding-bottom: 12px;
  padding-top: 14px;
  position: relative;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 36px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

@media screen and (max-width: 1024px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 20px;
    cursor: pointer;
  }
}

/* ==========================================================================
  その他TailwindCSS以外での微調整CSS
  ========================================================================== */

#schedule-grid div article {
  margin: 0 !important;
}

#sp-top-nav {
  padding-top: env(safe-area-inset-top);
}

#sp-bottom-nav {
  padding-bottom: calc(env(safe-area-inset-bottom) + 16px);
}
