@charset "utf-8";

@import url("https://fonts.googleapis.com/css2?family=Zen+Kurenaido&display=swap");

/*-----------------------------------------
リセットCSS
-----------------------------------------*/
* {
  box-sizing: border-box;
}

html, body, div, p, span, h1, h2, h3, h4, h5, h6,
iframe, blockquote, pre,
a, address, em, img, small, strike, strong, sub, sup, b, u, i,
table, caption, tbody, tfoot, thead, tr, th, td,
ul, ol, li, dl, dt, dd, form, label,
article, aside, canvas, details, figure, figcaption,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font-weight: normal;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/*-----------------------------------------
BASE
-----------------------------------------*/

body.index {
  scrollbar-gutter: stable;
}

html {
  font-size: clamp(0.875rem, 1vw, 1rem);
}

body {
  font-weight: 500;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  position: relative;
  margin-bottom: clamp(120px, 18vw, 220px);
}

.inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.contents {
  position: relative;
}

.pc {
  display: block;
}

.tab {
  display: none;
}

.sp {
  display: none;
}

@media (max-width: 768px) {
  .pc {
    display: none;
  }
  .tab {
    display: block;
  }
  .sp {
    display: none;
  }
}
@media (max-width: 480px) {
  .sp {
    display: block;
  }
}
/* ===========================

============================ */
.frame {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}
.top-img {
  position: absolute;
  width: 30vw;
  height: 30vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}
.top-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: bottom;
  filter: invert(1) brightness(2);
  opacity: 0.3;
}
.endroll {
  will-change: transform;
  transform: translateY(100vh) translateZ(0);
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
.endroll.never-enough {
  animation-name: endroll;
}

ul {
  list-style: none;
  margin: 0;
}

li {
  font-family: "Zen Kurenaido", sans-serif;
  font-size: 24px;
  text-align: center;
  color: #fff;
  letter-spacing: 4px;
}
.endroll ul li, .endroll ul li span {
  color: transparent;
  background-image: linear-gradient(
    48deg,
hsl(0, 60%, 75%) 0%,
hsl(345, 25%, 77%) 5%,
hsl(335, 28%, 77%) 10%,
hsl(120, 50%, 75%) 45%,
hsl(180, 50%, 75%) 60%,
hsl(210, 55%, 75%) 75%,
hsl(270, 60%, 75%) 90%,
hsl(0, 60%, 75%) 100%


  );
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: Grad 45s linear infinite;
}

@keyframes Grad {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 300% 0%;
  }
}


@media screen and (max-width: 480px) {
  li {
    font-size: 18px;
  }
}
li span {
  display: block;
  margin-bottom: 20px;
  font-size: 100%;
}

.end-spbr {
  display: none;
}
@media screen and (max-width: 480px) {
  .end-spbr {
    display: block;
  }
}

ul + ul {
  margin-top: 200px;
}

li + li {
  margin-top: 100px;
}

@keyframes endroll {
  0% {
    transform: translateY(100vh);
  }
  100% {
    transform: translateY(-100%);
  }
}
.end-img {
  position: absolute;
  width: 60vw;
  height: 20vh;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 2s;
}
.end-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  vertical-align: bottom;
}

.scrolled {
  opacity: 0;
  transition: 13s;
}

.endscrolled {
  opacity: .8;
  overflow: hidden;
  transition: 2s;
  animation: endimage;
}


/* @keyframes endimage {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
} */

.bgwihte {
  background-color: rgb(224, 240, 224);
  transition: 4s;
}

.bottom-message-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: none;
}

.bottom-message-on {
  display: block;
  overflow: hidden;
}

.message {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeIn 15.5s linear 1 normal forwards;
}
@keyframes fadeIn {
  0% {
    opacity: .5;
    transform: translateY(100vh);
  }
  40% {
    opacity: 1;
    transform: translateY(20vh);
  }
  60% {
    opacity: 1;
    transform: translateY(20vh);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

.message li {
  width: 60%;
}

.sp-br {
  display: none;
}

@media screen and (max-width: 768px) {
  .bottom-message-wrap {
  height: 100vh;
}
  .message li {
    width: 90%;
  }
  .sp-br {
    display: block;
  }
}



