:root {
  --nav-art-height: 164px;
  --footer-art-height: 543px;
  --footer-overlap: 100px;
}

[v-cloak] {
  display: none !important;
}

.nav-title-style {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

.bg-blue-02,
.hover\:bg-blue-02:hover {
  background-color: #b5d8e8;
}

@keyframes nav-footer-shake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-8deg); }
  40% { transform: rotate(8deg); }
  60% { transform: rotate(-5deg); }
  80% { transform: rotate(5deg); }
}

.group:hover .shake-icon {
  animation: nav-footer-shake 0.5s ease-in-out infinite;
}

.custom-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: var(--nav-art-height);
  filter: drop-shadow(0 4px 6px rgb(0 0 0 / 10%));
  transition: top 240ms ease, transform 400ms cubic-bezier(.4, 0, .2, 1);
}

.custom-header__art,
.custom-footer__art,
.custom-header__art img,
.custom-footer__art img {
  display: block;
  width: 100%;
}

.custom-header__art,
.custom-footer__art {
  position: absolute;
  inset: 0;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.custom-header__art img,
.custom-footer__art img {
  height: 100%;
  object-fit: cover;
}

.custom-header__art {
  z-index: 2;
}

.custom-header__art img {
  object-position: center top;
}

.custom-header nav {
  position: relative;
  z-index: 3;
  height: 100%;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

body.mobile-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.mobile-nav-menu {
  position: absolute;
  z-index: 1;
  top: calc(70% - 3px);
  left: 0;
  width: 100%;
  max-height: calc(100dvh - var(--nav-art-height) + 3px);
  padding-top: 19px;
  overflow-y: auto;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

.custom-footer {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: var(--footer-art-height);
  color: white;
  background-color: var(--home-paper-color, #fffdf5);
}

.custom-footer__art {
  z-index: 0;
}

.custom-footer__art img {
  object-position: center bottom;
}

.custom-footer > div {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .custom-header.is-minimized {
    transform: translateY(calc(-100% + 70px));
  }

  .custom-header.is-minimized nav {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
  }

  .custom-header.is-minimized:hover {
    transform: translateY(0);
  }

  .custom-header.is-minimized:hover nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (min-width: 1024px) {
  .nav-title-style {
    font-size: 16px;
    letter-spacing: 5px;
  }

  .custom-header nav > a,
  .custom-header nav > ul {
    transform: translateY(-10px);
  }
}

@media (max-width: 1439px) {
  :root {
    --nav-art-height: 147px;
    --footer-art-height: 407px;
  }
}

@media (max-width: 1023px) {
  :root {
    --nav-art-height: 110px;
    --footer-art-height: 305px;
  }
}

@media (max-width: 767px) {
  :root {
    --nav-art-height: 83px;
    --footer-art-height: 229px;
  }
}

@media (max-width: 640px) {
  :root {
    --footer-overlap: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-header,
  .custom-header nav {
    transition: none;
  }

  .group:hover .shake-icon {
    animation: none;
  }
}
