/* ------------------------- Hide Scrollbar -------------------------------------------------- */

body::-webkit-scrollbar {
  display: none;
}
body {
  -ms-overflow-style: none;
}
html {
  scrollbar-width: none;
}

/* ------------------------- Page Transition -------------------------------------------------- */
.no-scroll-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 900;
  display: none;
}
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 800;
  pointer-events: none;
  background: transparent;
}

.loading-screen {
  position: relative;
  padding: 0;
  width: 100%;
  height: 100%;
  left: 0;
  will-change: top;
}

.loading-screen,
.loading-container .rounded-div-wrap.top .rounded-div,
.loading-container .rounded-div-wrap.bottom .rounded-div {
  background: var(--color-dark-dark);
}

.loading-container .rounded-div-wrap.top .rounded-div,
.loading-container .rounded-div-wrap.bottom .rounded-div {
  height: 745%;
}

.loading-container .rounded-div-wrap.top {
  top: 0;
  position: absolute;
  transform: translateY(-99%) scale(1, -1);
  z-index: 2;
  height: 0vh;
  will-change: height;
}

.loading-container .rounded-div-wrap.bottom {
  top: unset;
  bottom: 0;
  position: absolute;
  transform: translateY(99%);
  z-index: 2;
  height: 0vh;
  will-change: height;
}

.loading-container .loading-words {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
  display: block;
  will-change: opacity;
}

.loading-container .loading-words h2 {
  margin: 0;
  padding: 0;
  color: var(--color-white);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  padding-left: 0.6em;
  white-space: nowrap;
  padding-right: 0.4em;
  will-change: opacity;
}

.loading-container .loading-words h2.jap {
  font-size: calc(clamp(3.25em, 5vw, 4.5em) * 0.65);
  transform: translate(-50%, 10%);
}

.loading-container .dot {
  display: block;
  position: absolute;
  border-radius: 50%;
  background: var(--color-white);
  left: 0;
  top: 47%;
  bottom: auto;
  width: calc(clamp(16px, 1.2vw, 19px) / 1.65);
  height: calc(clamp(16px, 1.2vw, 19px) / 1.65);
  transform: translate(0, 0) scale(1);
}

.loading-container .loading-words h2.active {
  display: block;
}

.loading-container .loading-words .home-active,
.loading-container .loading-words .home-active-last {
  opacity: 0;
  display: none;
}

.loading-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 90;
  background: #fff;
  visibility: hidden;
  opacity: 0;
}

.once-in {
  will-change: transform;
}

@media screen and (max-width: 540px) {
  .loading-container .loading-words h2 {
    padding-left: 0;
  }

  .loading-container .dot {
    display: none;
  }

  .loading-container .dot {
    top: 42%;
  }
}

.hamburger-menu-button {
  width: 30px;
  height: 30px;
  padding: 6px;
  position: relative;
  margin: 10px 0;
  z-index: 100;
  background: #e3be21;
  border: 5px solid white;
  box-sizing: content-box;
  border-radius: 50%;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  outline: 0;
}
.hamburger-menu-button-open {
  top: 50%;
  margin-top: -1px;
  right: 0px;
  left: 0;
  margin: 0 auto;
}
.hamburger-menu-button-open,
.hamburger-menu-button-open::before,
.hamburger-menu-button-open::after {
  position: absolute;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 4px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.hamburger-menu-button-open::before,
.hamburger-menu-button-open::after {
  left: 0;
  content: "";
}
.hamburger-menu-button-open::before {
  top: 6px;
}
.hamburger-menu-button-open::after {
  bottom: 6px;
}
.hamburger-menu-button-close {
  background: transparent;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}
.hamburger-menu-button-close::before {
  -webkit-transform: translateY(-6px) rotate(45deg);
  transform: translateY(-6px) rotate(45deg);
}
.hamburger-menu-button-close::after {
  -webkit-transform: translateY(6px) rotate(-45deg);
  transform: translateY(6px) rotate(-45deg);
}

@media (max-width: 768px) {
  .illustration-school img::after {
    position: absolute;
    content: "";
    width: 150%;
    height: 1px;
    transform: rotate(-24deg);
    background-color: rgb(222, 222, 222);
    top: 50%;
    left: -110px;
  }
}

.path {
  stroke-dasharray: 0;
  stroke-dashoffset: 0;
  animation: none;
}
.animpath .path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: dash 2s linear infinite, fill 0s linear infinite;
}
.dasharray_none {
  stroke-dasharray: 0 !important;
  stroke-dashoffset: 0 !important;
  animation: none !important;
}

.ethical-transformation::before {
  position: absolute;
  content: "";
  background: url("../images/illustrations/ethical-ring.svg") no-repeat;
  background-size: contain;
  width: 140px;
  height: 29px;
  left: 0;
  right: 0px;
  margin: 0 auto;
  top: -50px;
  animation: ethicalcap 3s ease infinite alternate both;
}
.ethical-transformation::after {
  position: absolute;
  content: "";
  background: url("../images/illustrations/ethical-shadow.svg") no-repeat;
  background-size: contain;
  width: 180px;
  height: 50px;
  left: 0;
  right: 0px;
  margin: 0 auto;
  bottom: -80px;
  animation: ethicalshadow 5s ease infinite alternate both;
  z-index: -1;
}

@media (max-width: 768px) {
  .ethical-transformation::after {
    bottom: -30px;
    max-width: 100px;
  }
  .free_your_brand {
    max-width: 90%;
    margin: 0 auto;
  }
}

@keyframes ethicalcap {
  from {
    transform: translateY(-10px);
  }
  to {
    transform: translateY(10px);
  }
}
@keyframes ethicalshadow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
  100% {
    transform: scale(1);
  }
}

.invalid-feedback,
.empty-feedback {
  display: none;
}

.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
}

.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
}

.is-invalid,
.was-validated :invalid {
  border-color: #dc3545;
}

.eagle {
  animation: float 4.5s ease infinite alternate both;
}

#typeText::after {
  content: "|";
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.scroll-arrow {
  width: 50px;
  height: 50px;
  color: #000;
  cursor: pointer;
  transform-origin: bottom center;
  -webkit-animation: bounce 3s infinite;
  animation: bounce 3s infinite;
}
.scroll-arrow svg {
  transform: rotate(180deg);
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(10px);
  }
}

@keyframes bounce {
  from,
  30%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.21, 0.61, 0.35, 1);
    animation-timing-function: cubic-bezier(0.21, 0.61, 0.35, 1);
    transform: translate(0, 0);
  }
  61.5%,
  79% {
    -webkit-animation-timing-function: cubic-bezier(0.21, 0.61, 0.35, 1);
    animation-timing-function: cubic-bezier(0.21, 0.61, 0.35, 1);
    transform: translate(0, 0) scale(1.03, 0.95);
  }
  47.5%,
  51% {
    -webkit-animation-timing-function: cubic-bezier(0.45, 0.04, 0.57, 0.09);
    animation-timing-function: cubic-bezier(0.45, 0.04, 0.57, 0.09);
    transform: translate(0, -40%) scale(0.95, 1.05);
  }
  68.5% {
    -webkit-animation-timing-function: cubic-bezier(0.45, 0.04, 0.57, 0.09);
    animation-timing-function: cubic-bezier(0.45, 0.04, 0.57, 0.09);
    transform: translate(0, -20%) scale(0.98, 1.02);
  }
  89.5% {
    -webkit-animation-timing-function: cubic-bezier(0.45, 0.04, 0.57, 0.09);
    animation-timing-function: cubic-bezier(0.45, 0.04, 0.57, 0.09);
    transform: translate(0, -10%) scale(0.98, 1.02);
  }
}
