@charset "utf-8";

#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  z-index: 9999;
  text-align: center;
  color: var(--white-color);
}

#splash-logo {
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
}

#splash-logo svg {
  width: 40%;
}

.splashbg1,
.splashbg2 {
  display: none;
}

body.appear .splashbg1,
body.appear .splashbg2 {
  display: block;
}

body.appear .splashbg1 {
  animation-name: PageAnime;
  animation-duration: 1.4s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  bottom: 50%;
  left: 0;
  transform: scaleY(1);
  background-color: var(--main-color);
}

@keyframes PageAnime {
  0% {
    transform-origin: top;
    transform: scaleY(1);
  }

  100% {
    transform-origin: top;
    transform: scaleY(0);
  }
}

body.appear .splashbg2 {
  animation-name: PageAnime2;
  animation-duration: 1.4s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  content: "";
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  top: 50%;
  left: 0;
  transform: scaleY(1);
  background-color: var(--main-color);
}

@keyframes PageAnime2 {
  0% {
    transform-origin: bottom;
    transform: scaleY(1);
  }
  100% {
    transform-origin: bottom;
    transform: scaleY(0);
  }
}

#container {
  opacity: 0;
  position: relative;
  z-index: 1;
}

body.appear #container {
  animation-name: PageAnimeAppear;
  animation-duration: 1s;
  animation-delay: 0.2s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.header {
  position: fixed;
  width: 100%;
  height: 100px;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .header {
    height: 70px;
  }
}

.header.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}

@media screen and (max-width: 1300px) {
  .g-nav.panelactive {
    position: fixed;
    z-index: 999;
    top: 0;
    width: 100%;
    height: 100vh;
  }

  .circle-bg {
    position: fixed;
    z-index: 3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--main-color);
    transform: scale(0);
    right: -50px;
    bottom: -50px;
    transition: all 0.6s;
  }

  .circle-bg.circleactive {
    transform: scale(50);
  }

  .g-nav-list {
    display: none;
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: auto;
  }

  .g-nav.panelactive .g-nav-list {
    display: block;
  }

  .g-nav ul {
    opacity: 0;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .g-nav.panelactive ul {
    opacity: 1;
  }

  .g-nav.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: 0.2s;
    animation-fill-mode: forwards;
    opacity: 0;
  }

  .g-nav li {
    text-align: center;
    list-style: none;
    margin: 0 0 10px 0;
  }

  .g-nav li a {
    color: var(--white-color);
    text-decoration: none;
    padding: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }
}

@keyframes gnaviAnime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.openbtn {
  display: none;
}

@media screen and (max-width: 1300px) {
  .openbtn {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    cursor: pointer;
    width: 100px;
    height: 100px;
    background: var(--main-color);
  }

  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 23px;
    height: 3px;
    border-radius: 2px;
    background-color: var(--white-color);
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 33px;
  }

  .openbtn span:nth-of-type(2) {
    top: 46px;
  }

  .openbtn span:nth-of-type(3) {
    top: 58px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 41px;
    left: 28px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 52px;
    left: 28px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}

@media screen and (max-width: 768px) {
  .openbtn {
    width: 70px;
    height: 70px;
  }

  .openbtn span {
    left: 17px;
  }

  .openbtn span:nth-of-type(1) {
    top: 20px;
  }

  .openbtn span:nth-of-type(2) {
    top: 33px;
  }

  .openbtn span:nth-of-type(3) {
    top: 45px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 28px;
    left: 22px;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 40px;
    left: 22px;
  }
}

.nav05b li {
  position: relative;
  margin: 0 5px;
}

.nav05b li::before,
.nav05b li::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.2s linear;
  transition-delay: 0.2s;
}
@media screen and (max-width: 1300px) {
  .nav05b li::before,
  .nav05b li::after {
    background: var(--white-color);
  }
}

.nav05b li::before {
  right: 0;
  top: 0;
}
.nav05b li::after {
  left: 0;
  bottom: 0;
}

.nav05b li span {
  display: block;
}

.nav05b li span::before,
.nav05b li span::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 0;
  background: var(--accent-color);
  transition: all 0.2s linear;
}

.nav05b li span::before {
  left: 0;
  top: 0;
}
.nav05b li span::after {
  right: 0;
  bottom: 0;
}

.nav05b li:hover::before,
.nav05b li:hover::after {
  width: 100%;
}

.nav05b li:hover span::before,
.nav05b li:hover span::after {
  height: 100%;
}

.btn {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  border: 1px solid var(--black-color);
  padding: 40px 8px;
  text-align: center;
  outline: none;
  transition: ease 0.2s;
}

.btn.bgcenterout {
  border: 1px solid var(--white-color);
  padding: 8px 40px;
}

.btn span {
  position: relative;
  z-index: 3;
  color: var(--black-color);
}

.btn:hover span {
  color: var(--white-color);
}

.btn.bgcenterout span {
  color: var(--white-color);
}

.btn.bgcenterout:hover span {
  color: var(--black-color);
}

.bgcenterx:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--black-color);
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: top;
}

.bgcenterx:hover:before {
  transform: scale(1, 1);
}

.bgcenterout:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background: var(--white-color);
  width: 100%;
  height: 100%;
  transition: transform 0.3s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 0);
  transform-origin: center;
}

.bgcenterout:hover:before {
  transform: scale(1, 1);
}

.btnlinestretches {
  position: relative;
  color: var(--black-color);
  border: 1px solid var(--black-color);
  padding: 30px 0;
  display: inline-block;
  text-decoration: none;
  outline: none;
  transition: all 0.3s ease-in-out;
}

.btnlinestretches:hover {
  background: var(--black-color);
  color: var(--white-color);
  border-color: transparent;
}

.btnlinestretches::before,
.btnlinestretches::after {
  content: "";
  position: absolute;
  border: solid var(--black-color);
  width: 10px;
  height: 10px;
  transition: all 0.3s ease-in-out;
}

.btnlinestretches::before {
  top: -6px;
  left: -6px;
  border-width: 1px 0 0 1px;
}

.btnlinestretches::after {
  bottom: -6px;
  right: -6px;
  border-width: 0 1px 1px 0;
}

.btnlinestretches:hover::before,
.btnlinestretches:hover::after {
  width: calc(100% + 11px);
  height: calc(100% + 11px);
  border-color: var(--gray-color);
}

.flipDown {
  animation-name: flipDownAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes flipDownAnime {
  from {
    transform: perspective(2500px) rotateX(100deg);
    opacity: 0;
  }

  to {
    transform: perspective(2500px) rotateX(0);
    opacity: 1;
  }
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

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

.fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeRight {
  animation-name: fadeRightAnime;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeUpTrigger,
.fadeLeftTrigger,
.fadeRightTrigger {
  opacity: 0;
}
