﻿@charset "UTF-8";

#wrap #mainvisual .gradation {
  position: absolute;
  top: 0;
  z-index: 1;
  display: flex;
  width: 400px;
  height: 100%;
}

body#location #wrap #mainvisual .gradation,
body#clubhouse #wrap #mainvisual .gradation {
  right: 0;
  transform: rotate(180deg);
}

#wrap #mainvisual .gradation div {
  height: 100%;
  animation: 2s gradation;
  animation-fill-mode: forwards;
}

#wrap #mainvisual .gradation div:first-child {
  background-color: rgba(226,221,219,0.95);
}

#wrap #mainvisual .gradation div:nth-child(2) {
  background-color: rgba(226,221,219,0.8);

}

#wrap #mainvisual .gradation div:nth-child(3) {
  background-color: rgba(226,221,219,0.65);

}

#wrap #mainvisual .gradation div:nth-child(4) {
  background-color: rgba(226,221,219,0.45);
}

#wrap #mainvisual .gradation div:last-child {
  background-color: rgba(226,221,219,0.2);

}

@keyframes gradation {
  0% {
    width: 0;
    }
  100% {
    width: 80px;
    }
}

body#about #wrap #mainvisual .gradation,
body#about #wrap section.view .gradation {
  position: absolute;
  top: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

body#about #wrap #mainvisual .gradation div,
body#about #wrap section.view.active .gradation div {
  width: 100%;
  animation: 2s about_gradation;
  animation-fill-mode: forwards;
}

body#about #wrap #mainvisual .gradation div:first-child {
  background-color: rgba(226,221,219,0.95);
}

body#about #wrap #mainvisual .gradation div:nth-child(2) {
  background-color: rgba(226,221,219,0.8);
}

body#about #wrap #mainvisual .gradation div:nth-child(3) {
  background-color: rgba(226,221,219,0.65);
}

body#about #wrap #mainvisual .gradation div:nth-child(4) {
  background-color: rgba(226,221,219,0.45);
}

body#about #wrap #mainvisual .gradation div:last-child {
  background-color: rgba(226,221,219,0.2);
}

body#about #wrap section.view .gradation div:first-child {
  background-color: rgba(67,71,79,0.95);
}

body#about #wrap section.view .gradation div:nth-child(2) {
  background-color: rgba(67,71,79,0.8);
}

body#about #wrap section.view .gradation div:nth-child(3) {
  background-color: rgba(67,71,79,0.65);
}

body#about #wrap section.view .gradation div:nth-child(4) {
  background-color: rgba(67,71,79,0.45);
}

body#about #wrap section.view .gradation div:last-child {
  background-color: rgba(67,71,79,0.2);
}

@keyframes about_gradation {
  0% {
    height: 0;
    }
  100% {
    height: 80px;
    }
}

#wrap section.blur_bg .gradation {
  position: absolute;
  top: 0;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

#wrap section.blur_bg.active .gradation div:first-child {
  height: 420px;
  background-color: transparent;
}

#wrap section.blur_bg.active .gradation div:nth-child(2) {
  height: 80px;
  background-color: rgba(67,71,79,0.2);
}

#wrap section.blur_bg.active .gradation div:nth-child(3) {
  height: 80px;
  background-color: rgba(67,71,79,0.4);
}

#wrap section.blur_bg.active .gradation div:nth-child(4) {
  height: 80px;
  background-color: rgba(67,71,79,0.6);
}

#wrap section.blur_bg.active .gradation div:nth-child(5) {
  height: 80px;
  background-color: rgba(67,71,79,0.8);
}

#wrap section.blur_bg.active .gradation div:last-child {
  height: 80px;
  background-color: rgba(67,71,79,0.95);
}

body#outline #wrap section.outline .gradation {
  position: absolute;
  display: flex;
  width: 1200px;
  height: 100%;
  z-index: 0;
}

body#outline #wrap section.outline.active .gradation div {
  animation: 2s outline_gradation2;
  animation-fill-mode: forwards;
}

body#outline #wrap section.outline.active .gradation div:first-child {
  animation: 2s outline_gradation1;
  animation-fill-mode: forwards;
  background-color: rgba(67,71,79,1);
}

body#outline #wrap section.outline.active .gradation div:nth-child(2) {
  background-color: rgba(67,71,79,0.9);
}

body#outline #wrap section.outline.active .gradation div:nth-child(3) {
  background-color: rgba(67,71,79,0.85);
}

body#outline #wrap section.outline.active .gradation div:nth-child(4) {
  background-color: rgba(67,71,79,0.8);
}

body#outline #wrap section.outline.active .gradation div:nth-child(5) {
  background-color: rgba(67,71,79,0.75);
}

body#outline #wrap section.outline.active .gradation div:last-child {
  background-color: rgba(67,71,79,0.7);
}

@keyframes outline_gradation1 {
  0% {
    width: 0;
    }
  100% {
    width: 800px;
    }
}

@keyframes outline_gradation2 {
  0% {
    width: 0;
    }
  100% {
    width: 80px;
    }
}


/* SPのみCSS START */
@media screen and (max-width: 959px) {
  #wrap #mainvisual .gradation {
    width: 145px;
    height: 100%;
  }
  
  body#about #wrap #mainvisual .gradation {
    height: auto;
  }

  body#outline #wrap section.outline .gradation {
    width: 90%;
  }
  
  #wrap #mainvisual .gradation div {
    animation: 2s sp_gradation 1s;
    animation-fill-mode: forwards;
  }
  
  body#about #wrap #mainvisual .gradation div,
  body#about #wrap section.view.active .gradation div {
    animation: 2s sp_gradation2;
    animation-fill-mode: forwards;
  }
  
  #wrap #mainvisual .gradation div:first-child {
    background-color: rgba(226,221,219,0.95);
  }

  #wrap #mainvisual .gradation div:nth-child(2) {
    background-color: rgba(226,221,219,0.8);
  }

  #wrap #mainvisual .gradation div:nth-child(3) {
    background-color: rgba(226,221,219,0.65);
  }

  #wrap #mainvisual .gradation div:nth-child(4) {
    background-color: rgba(226,221,219,0.45);
  }

  #wrap #mainvisual .gradation div:nth-child(5) {
    background-color: rgba(226,221,219,0.2);
  }

  #wrap section.blur_bg.active .gradation div {
    height: 40px;
  }

  #wrap section.blur_bg.active .gradation div:first-child {
    height: 210px;
    background-color: transparent;
  }

  #wrap section.blur_bg.active .gradation div:nth-child(2) {
    background-color: rgba(67,71,79,0.2);
  }

  #wrap section.blur_bg.active .gradation div:nth-child(3) {
    background-color: rgba(67,71,79,0.4);
  }

  #wrap section.blur_bg.active .gradation div:nth-child(4) {
    background-color: rgba(67,71,79,0.6);
  }

  #wrap section.blur_bg.active .gradation div:nth-child(5) {
    background-color: rgba(67,71,79,0.8);
  }

  #wrap section.blur_bg.active .gradation div:last-child {
    background-color: rgba(67,71,79,0.95);
  }

  body#outline #wrap section.outline.active .gradation div {
    animation: 2s sp_outline_gradation2;
    animation-fill-mode: forwards;
  }

  body#outline #wrap section.outline.active .gradation div:first-child {
    animation: 2s sp_outline_gradation1;
    animation-fill-mode: forwards;
  }
}
/* SPのみCSS END */

@keyframes sp_gradation {
  0% {
    width: 0;
    }
  100% {
    width: 29px;
    }
}

@keyframes sp_gradation2 {
  0% {
    height: 0;
    }
  100% {
    height: 40px;
    }
}

@keyframes sp_outline_gradation1 {
  0% {
    width: 0;
    }
  100% {
    width: 50%;
    }
}

@keyframes sp_outline_gradation2 {
  0% {
    width: 0;
    }
  100% {
    width: 10%;
    }
}