@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  /* background-color: #555555; */
  background-color: #fcfcfc;
  color: #707070;
}

.body.color-anim {
  background-color: #373737;
}

:root {
  font-size: 14px;
  line-height: 1.6;
}


/* common */
.contents {
  padding: 0 3vw;
  max-width: 1000px;
  width: 100%;
  margin: clamp(80px, 9vw, 150px) auto;
}


/* common > content-title*/
.content-title {
  width: 100%;
  font-size: clamp(27px, 4.5vw, 50px);
  font-weight: 800;
  display: flex;
  align-items: center;
}

.content-title::before,
.content-title::after {
  content: "";
  height: 1px;
  background-color: #505050;
}

.content-title::before {
  margin-right: 3%;
  width: 20%;
}

.content-title::after {
  margin-left: 3%;
  width: 100%;
}


/* load-anim */
.load-anim {
  background-color: #FCFCFC;
  position: fixed;
  height: 100vh;
  width: 100vw;
  z-index: 30;
  display: none;
}

.load-anim.color-anim{
  background-color: transparent;
  background: linear-gradient(to bottom, #010101, #3a3a3a);
}

.load-anim.is-active {
  display: block;
}

.load-group {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(150px, 25vw, 300px);
  height: clamp(150px, 25vw, 300px);
}

.load-group img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: circle-anim 15s linear infinite, load-content 3s ease;
}

@keyframes load-content {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0.8;
  }

  70% {
    opacity: 0.3;
  }

  100% {
    opacity: 0.7;
  }
}

.load-group p {
  font-size: clamp(12px, 2vw, 24px);
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-45%, -50%);
  color: #13a9bd;
}

.load-group p span {
  opacity: 0;
  animation: dots 3s infinite;
  padding: 0 0.7%;
}

.load-group p span:nth-of-type(1) {
  animation-delay: .3s;
  margin-left: 3%;
}

.load-group p span:nth-of-type(2) {
  animation-delay: .6s;
}

.load-group p span:nth-of-type(3) {
  animation-delay: .9s;
}

@keyframes dots {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* header */
.header {
  width: 150px;
  height: 100vh;
  background: linear-gradient(to bottom right, #f0f0f0, #f5f5f5);
  padding-top: 8vh;
  position: fixed;
  z-index: 10;
  box-shadow: 0px 0px 8px #00000001;
}

.header.color-anim {
  background: linear-gradient(to bottom, #3a3a3a, #010101);
}

.header-inner {
  margin: 0 auto;
  width: max-content;
}


/* header-logo / animation */
.anim-icon {
  position: relative;
  width: 80px;
  height: 80px;
  cursor: pointer;
}

.anim-img {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.anim-circle-img {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: circle-anim 15s linear infinite;
  transition: width .3s ease;
}

.anim-circle-img:hover {
  width: 120%;
}


/* header-logo > animation */
@keyframes circle-anim {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


.nav {
  width: max-content;
  margin: 70% auto 0;
  display: flex;
  flex-direction: column;
  row-gap: 2.5vh;
}

.nav li {
  font-weight: 700;
}

.nav li a {
  font-size: clamp(15px, 1.7vw, 18px);
  width: max-content;
  display: block;
  padding: 4px 6px 2px;
  position: relative;
  color: #8c8c8c;
  transition: transform .3s ease;
}

/* nav li a > hover */
.nav li a:hover {
  transform: scale(1.1);
  color: #606060;
}

.nav li a::after {
  background-color: #00000028;
  bottom: 0;
  content: "";
  display: block;
  height: 1px;
  left: 0;
  position: absolute;
  transition: .5s all;
  width: 0;
}


/* nav.color-anim  */
.nav.color-anim li a {
  color: #a4a4a4;
}

.nav.color-anim li a:hover {
  color: #606060;
  transform: scale(1.2);
}

.nav.color-anim li a::after {
  background-color: #c2c2c228;
}


.nav li a:hover::after {
  width: 100%;
}

/* nav li a > scroll-action */
.nav li a.scroll-action {
  transform: scale(1.1);
  color: #606060;
}


/* hum-menu */
.hum-menu {
  display: none;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 7px;
  transition: transform 1s ease;
}

.hum-menu li {
  width: 32px;
  height: 3px;
  background-color: #707070;
  box-shadow: 0px 0px 8px #00000001;
  border-radius: 2px;
  transition: transform .3s ease;
}


/* hum-menu > active */
.hum-menu.hum-active li:nth-of-type(1) {
  transform: translateY(5px) rotate(45deg);
  width: 37px;
}

.hum-menu.hum-active li:nth-of-type(2) {
  display: none;
}

.hum-menu.hum-active li:nth-of-type(3) {
  transform: translateY(-5px) rotate(-45deg);
  width: 37px;
}

/* hum-menu > inner */
.hum-inner {
  display: none;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: #FCFCFC;
  position: fixed;
  z-index: 15;
  top: 80px;
  left: 100vw;
  flex-direction: column;
  align-items: center;
  padding-top: 5vh;
  transition: left 0.5s ease, right 0.5s ease;
}

.hum-inner.color-anim {
  background-color: #373737;
}


.hum-inner.hum-active {
  left: 0;
}

.hum-inner li {
  width: 100%;
  height: 10vh;
}

.hum-inner li:hover {
  background: linear-gradient(to bottom right, #f0f0f0, #f5f5f5);
}

.hum-inner li.color-anim:hover {
  background: #202020;
}

.hum-inner li a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.hum-inner li a span {
  font-size: 20px;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* main */
.main {
  margin-left: 150px;
  width: calc(100% - 150px);
}



/* footer */
/* footer-btn */
.footer {
  background: linear-gradient(to bottom right, #505050, #8d8d8d);
  margin: 1vw 0 0 150px;
  width: calc(100% - 150px);
}

.footer-inner {
  height: clamp(90px, 10vw, 140px);
  position: relative;
}

.footer-message {
  color: #FCFCFC;
  font-size: clamp(16px, 3vw, 40px);
  font-weight: 600;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.copyright {
  font-size: 8px;
  color: #FCFCFC;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}


@media(max-width: 770px) {

  /* header */
  .header {
    width: 100%;
    max-width: none;
    height: 80px;
    padding: 0 4vw;
    background: linear-gradient(to bottom right, rgba(240, 240, 240, 0.9), rgba(245, 245, 245, 0.9));
  }

  .header.color-anim {
    background: linear-gradient(to bottom right, rgba(58, 58, 58, 0.9), rgba(1, 1, 1, 0.9));
  }

  .header-inner {
    margin: 0;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .anim-icon {
    position: relative;
    width: 60px;
  }

  .anim-circle-img {
    pointer-events: none;
  }

  .nav {
    display: none;
  }

  .hum-menu {
    display: flex;
  }

  .hum-inner {
    display: flex;
  }

  .main {
    margin-left: 0;
    width: 100%;
  }

  /* footer */
  .footer {
    margin-left: 0;
    width: 100%;
  }
}