@charset "utf-8";

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  height: 100svh;
  overflow: hidden;
  justify-content: space-between;
}

.nav-list {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  position: fixed;
  right: 3vw;
  bottom: 4vw;
}

.nav-list li {
  display: inline-block;
  border-bottom: 1px solid var(--color-accent);
  font-size: clamp(24px, 2.431vw, 40px);
  color: var(--color-accent);
  pointer-events: auto;
  height: min-content;
}

.nav-list__works {
  margin-bottom: 4em;
  margin-left: 1em;
}

.nav-list__about {
  margin-bottom: 1.4em;
}

.nav-list__contact {
  margin-left: 0.4em;
}

@media (max-width: 768px) {
  .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
  }

  .nav-list {
    position: initial;
    width: 100vw;
    padding-top: 24px;
    padding-bottom: 0;
    padding-right: 20;
    padding-left: 20px;
    flex-direction: column;
    align-items: start;
    height: min-content;
  }

  .nav-list li {
    font-size: clamp(10px, 4.8vw, 32px);
  }

  .nav-list__works {
    margin-left: 20vw;
  }

  .nav-list__about {
    margin: 0;
    margin-left: 8vw;
    margin-bottom: -4vw;
  }

  .nav-list__contact {
    margin-left: auto;
    margin-right: 18vw;
    margin-bottom: 6vw;
  }
}

.top-image {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  z-index: -9999;
  transform-origin: center;
}

/* SVG を領域いっぱいにフィット */
.top-image svg {
  transition-duration: 500ms;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .top-image {
    position: initial;
    width: 180vw;
    height: 60svh;
  }

  .top-image svg {
    rotate: -62deg;
    translate: 5vw;
    margin-top: calc(32svh - 50vw);
  }
}
