@charset "UTF-8";

.hamburger.active {
  background: linear-gradient(0deg, #3d0b00, #bf4d33);
}

.move-t {
  background: linear-gradient(0deg, #3d0b00, #bf4d33);
}
.move-t>div:nth-child(1) {
  animation: MoveLeft1 40s infinite linear;
}
.move-t>div:nth-child(2) {
  animation: MoveLeft2 40s infinite linear;
}
.move-t>div:nth-child(3) {
  animation: MoveLeft3 40s infinite linear;
}
.move-t>div:nth-child(4) {
  animation: MoveLeft4 40s infinite linear;
}
@keyframes MoveLeft1 {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-200%);
  }
}
@keyframes MoveLeft2 {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(-100%);
  }
}
@keyframes MoveLeft3 {
  from {
    transform: translateY(200%);
  }
  to {
    transform: translateY(0%);
  }
}
@keyframes MoveLeft4 {
  from {
    transform: translateY(300%);
  }
  to {
    transform: translateY(100%);
  }
}

#top-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
}
#top-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
#top-bg div {
  position: relative;
  background-position: center;
  background-size: 100%;
  overflow: hidden;
}
#top-bg div::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 330%;
  background-repeat: no-repeat;
}
#top-bg div:nth-child(1) {
  background-image: linear-gradient(315deg, #285386, #9be6e4);
}
#top-bg div:nth-child(1)::after {
  background-image: url(../img/01-gx.webp);
  background-position: 38% -8vw;
}
#top-bg div:nth-child(2) {
  background-image: linear-gradient(315deg, #490200, #e4c57a);
}
#top-bg div:nth-child(2)::after {
  background-image: url(../img/02-gx.webp);
  background-position: 67% -14vw;
}
#top-bg div:nth-child(3) {
  background-image: linear-gradient(315deg, #493946, #c2bbcb);
}
#top-bg div:nth-child(3)::after {
  background-image: url(../img/03-gx.webp);
  background-position: 30% -16vw;
}
#top-bg div:nth-child(4) {
  background-image: linear-gradient(315deg, #463d8e, #84a3cd);
}
#top-bg div:nth-child(4)::after {
  background-image: url(../img/04-gx.webp);
  background-position: 51% -3vw;
}

@media (orientation: portrait){
  #top-bg {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  #top-bg div:nth-child(1) { grid-area: 2 / 1 / 3 / 2; }
  #top-bg div:nth-child(2) { grid-area: 1 / 1 / 2 / 2; }
  #top-bg div:nth-child(3) { grid-area: 1 / 2 / 2 / 3; }
  #top-bg div:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }

  #top-bg div:nth-child(1)::after {
    background-position: 38% -4vw;
  }
  #top-bg div:nth-child(2)::after {
    background-position: 67% -30vw;
  }
  #top-bg div:nth-child(3)::after {
    background-position: 30% -38vw;
  }
  #top-bg div:nth-child(4)::after {
    background-position: 51% 10vw;
  }
}

h1 {
  position: absolute;
  margin: 0 auto;
  bottom: 2vw;
  left: 0;
  right: 0;
  max-width: 1500px;
  width: 96%;
  text-align: center;
}
h1 picture {
  position: relative;
  display: block;
  margin: 0 auto;
  z-index: 1;
}
h1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  background: rgba(0, 0, 0, .6);
  width: 96%;
  height: 80%;
  border: 2px solid #000;
}
@media (orientation: portrait){
  h1 {
    bottom: 41%;
    width: 100%;
  }
  h1 picture {
    display: block;
    max-width: 600px;
    width: 96%;
  }
  h1::before {
    top: unset;
    background: rgba(0, 0, 0, .8);
    width: 100%;
    height: 60%;
    border-right: none;
    border-left: none;
  }
}

h2 {
  position: relative;
  margin: 1rem 0;
  font-size: 2em;
  text-align: center;
  font-weight: 900;
  font-style: italic;
  background: url(../img/h2-b.png), rgba(0, 0, 0, .5);
  background-size: 160px, 100%;
  background-position: center;
  color: #fff;
  padding: .5rem 0;
  text-shadow: 2px 2px 0 #6d2414;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  box-shadow: 0 0 0 3px #000;
  border-image: linear-gradient(135deg, #000, #d96600, #b9a662, #6d2414, #000) 1;
}

#thumbnail .slick-current.thumbnail-item:nth-child(1) {
  background: #d58746;
  box-shadow: 0 0 0 1px #d58746;
}
#thumbnail .slick-current.thumbnail-item:nth-child(2) {
  background: #c2bbcb;
  box-shadow: 0 0 0 1px #c2bbcb;
}
#thumbnail .slick-current.thumbnail-item:nth-child(3) {
  background: #9be6e4;
  box-shadow: 0 0 0 1px #9be6e4;
}
#thumbnail .slick-current.thumbnail-item:nth-child(4) {
  background: #6d7db5;
  box-shadow: 0 0 0 1px #6d7db5;
}

#character01.slide-item::before {
  background: linear-gradient(315deg, #490200, #e4c57a);
}
#character02.slide-item::before {
  background: linear-gradient(315deg, #493946, #c2bbcb);
}
#character03.slide-item::before {
  background: linear-gradient(315deg, #285386, #9be6e4);
}
#character04.slide-item::before {
  background: linear-gradient(315deg, #463d8e, #84a3cd);
}

a.all {
  position: relative;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 150%;
  font-weight: 700;
  border: 3px solid #000;
  padding: .8em;
  background: linear-gradient(0deg, #3d0b00, #bf4d33);
  color: #fff;
  box-shadow: 0 0 0 1px #bf4d33;
  line-height: 1.2;
  text-shadow: 1px 1px 0 #000;
  margin: 1em 0 0;
}