.fixed-mv {
  --default-human-svg: url('img/human01.svg');
  --default-back-svg: url('img/back01.svg');
  position: fixed;
  inset: 0 0 0 var(--sws-site-grid-sidebar-width);
  z-index: -1;
  overflow: hidden;
  background-color: var(--sws-color-bg);
}

body.page-template-theme-floor-guide .fixed-mv {
  background-color: var(--sws-color-9);
}

body.page-home .fixed-mv {
	background-color: transparent;
}

.fixed-mv__back,
.fixed-mv__line,
.fixed-mv__human {
  position: absolute;
  inset: 0;
}

/* back */
.fixed-mv__back {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
}

.fixed-mv__back--current {
  background-image: var(--default-back-svg);
}

.fixed-mv__back.is-visible {
  opacity: 1;
}

/* line */
.fixed-mv__line svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* human */
.fixed-mv__human {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: translateY(10px);
}

.fixed-mv__human--current {
  background-image: var(--default-human-svg);
}

.fixed-mv__human.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fixed-mv__human.is-fadeout {
  opacity: 0;
  transform: translateY(0);
}

/* contents */
.page-content {
  position: relative;
  z-index: 1;
}

.scene-section {
  min-height: 100vh;
  padding: 120px 5vw;
}

/* line animation */
.fixed-mv__line svg path,
.fixed-mv__line svg line {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: draw 3s linear forwards;
}

.fixed-mv__line svg path:nth-child(odd),
.fixed-mv__line svg line:nth-child(odd) {
  animation-delay: 0.2s;
}

.fixed-mv__line svg path:nth-child(even),
.fixed-mv__line svg line:nth-child(even) {
  animation-delay: 0.4s;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media screen and (max-width: 768px) {
  .fixed-mv {
    --default-human-svg: url('img/human01@2x.svg');
    --default-back-svg: url('img/back01@2x.svg');
  }
}
