@charset "UTF-8";

.und_mainv_gran {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.und_mainv_gran img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gran_bg {
  background-image: linear-gradient(0deg, #231815 0%, #4b4644 50%, #231815 100%);
  color: #fff;
  /* overflow: hidden; */
}

.gran_bg_slider {
  /* background-image: url("../imgs/gran_bg01.png"); */
  background-repeat: no-repeat;
  background-size: 100%;
  text-align: center;
  padding: 150px 0 100px;
  background-repeat: no-repeat;
  margin-bottom: 100px;
}
.gram_logo {
  width: 240px;
  margin: 0 auto;
}
.gran_bg_slider h6 {
  font-size: 16px;
  line-height: 6;
  margin: 100px 0 150px;
  text-shadow:
    0px 0px 3px #000,
    0px 0px 5px #000,
    0px 0px 8px #000;
  position: relative;
}
.gran_space {
  height: 1000px;
}
.gran_window01 {
  max-width: 1200px;
  margin: 20vw auto 0;
  padding: 80px 0;
  position: relative;
  z-index: 2;
  background: none;
}
/*.gran_window01::before{content: "";width: 1px; height: calc(100% + 200px);position: absolute;display: block;background: rgba(255,255,255,1);transform: z-index: -2;top: -100px;right: 50%;z-index: -1;
  transform: scale(1,0);
  transform-origin: center top;
  transition: transform .3s 1s ease;
}*/
@media screen and (max-width: 768px) {
  .gran_window01::before {
    height: calc(100% + 160px);
    top: -80px;
    transform: scale(1, 0);
    transform-origin: center top;
    transition: transform 0.3s 1s ease;
  }
}
.gran_window01::after {
  content: "";
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(56, 56, 56, 0.9) 100%);
  position: absolute;
  top: 0;
  right: 0;
  transform: scale(0, 1);
  transform-origin: center top;
  opacity: 0;
  transition:
    transform 0.3s 1s ease,
    opacity 0.3s 1s ease;
}
.gran_window01.on {
  &::before {
    transform: none;
    transition: transform 0.6s 2s ease;
  }
  &:after {
    transform: none;
    opacity: 1;
    transition:
      transform 2.3s 0.3s ease,
      opacity 2.3s 0.3s ease;
  }
}

.gran_bg_slider h5 {
  font-size: 16px;
  line-height: 6;
  margin: 100px 0 0;
  text-shadow:
    0px 0px 3px #000,
    0px 0px 5px #000,
    0px 0px 8px #000;
}
.gran_window01 h2 {
  font-size: 24px;
  letter-spacing: 0.05em;
}
.gran_window01 h3 {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 3;
  margin-top: 40px;
}
.fadeinlist span {
  display: block;
  opacity: 0;
  transition: opacity 2.5s ease;
}
.fadeinlist.on > * {
  opacity: 1;
}
.fadeinlist.on > *:nth-of-type(2) {
  transition-delay: 0.2s;
}
.fadeinlist.on > *:nth-of-type(3) {
  transition-delay: 0.4s;
}
.fadeinlist.on > *:nth-of-type(4) {
  transition-delay: 0.6s;
}
.fadeinlist.on > *:nth-of-type(5) {
  transition-delay: 0.8s;
}
.fadeinlist.on > *:nth-of-type(6) {
  transition-delay: 1s;
}
.fadeinlist.on > *:nth-of-type(7) {
  transition-delay: 1.2s;
}
.fadeinlist.on > *:nth-of-type(8) {
  transition-delay: 1.4s;
}
.fadeinlist.on > *:nth-of-type(9) {
  transition-delay: 1.6s;
}

.gran_exterior {
  position: relative;
  padding-bottom: 40%;
}
.gran_window02 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0 300px;
  position: relative;
  border: 0px solid rgba(255, 255, 255, 0.8);
  text-align: center;
}
.gran_window02 h2 {
  font-size: 24px;
  letter-spacing: 0.05em;
}
.gran_window02 h3 {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 3;
  margin-top: 40px;
}
.gran_window02 {
  position: relative;
  .line {
    position: absolute;
    background: #fff;
    opacity: 0;
    transition:
      opacity 0.3s,
      width 0s 0.3s,
      height 0s 0.3s;
  }
  .line_top1 {
    top: 0;
    right: 50%;
    width: 0%;
    height: 1px;
  }
  .line_top2 {
    top: 0;
    left: 50%;
    width: 0%;
    height: 1px;
  }
  .line_left {
    top: 0;
    left: 0;
    width: 1px;
    height: 0%;
  }
  .line_right {
    top: 0;
    right: 0;
    width: 1px;
    height: 0%;
  }
  .line_bottom1 {
    bottom: 0;
    left: 0%;
    width: 0%;
    height: 1px;
  }
  .line_bottom2 {
    bottom: 0;
    right: 0%;
    width: 0%;
    height: 1px;
  }
}
.gran_window02.on {
  .line {
    opacity: 1;
  }
  .line_top1 {
    width: 50%;
    transition: width 0.3s linear;
  }
  .line_top2 {
    width: 50%;
    transition: width 0.3s linear;
  }
  .line_left {
    height: 100%;
    transition: height 0.4s 0.3s linear;
  }
  .line_right {
    height: 100%;
    transition: height 0.4s 0.3s linear;
  }
  .line_bottom1 {
    width: 50%;
    transition: width 0.3s 0.7s linear;
  }
  .line_bottom2 {
    width: 50%;
    transition: width 0.3s 0.7s linear;
  }
}

.gran_exterior_img {
  z-index: 1;
  width: 100%;
  position: absolute;
  bottom: 0;
}
.gran_exterior_img img {
  width: 100%;
}
.gran_exterior_img {
  filter: brightness(0);
}
.gran_exterior_img.on {
  filter: brightness(1);
  transition: 1.5s ease-in-out;
}
.gran_exterior_img img {
  filter: brightness(2);
}
.gran_exterior_img.on img {
  filter: brightness(1);
  transition: 2s ease-in-out;
}
.gran_history_wrapper {
  overflow: hidden;
}
.gran_history {
  max-width: 1200px;
  margin: -20px auto;
  text-align: center;
  padding: 80px 0;
  background-image: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
}
.gran_history h6 {
  font-size: 30px;
  letter-spacing: 0.05em;
  font-family: "EB Garamond";
}
.gran_history h2 {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 3;
  margin-top: 40px;
}

.gran_history01 {
  width: 40%;
  margin: 40px auto;
  position: relative;
}
.gran_history01 li {
  margin-bottom: 50px;
}
.gran_history01 .active {
}
.gran_history01 .active::after {
  position: absolute;
  background-image: linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.25) 100%
  );
  content: "";
  display: block;
  width: 110vw;
  height: 90px;
  bottom: -20px;
  left: calc(50% - 55vw);
  transform: scale(0, 1);
  transition: transform 1.3s 2s ease;
  transform-origin: left top;
}
.gran_history01cap {
  font-size: 12px;
  text-align: center;
  padding: 20px;
}
.gran_history01 .active.on::after {
  transform: scale(1, 1);
}

.gran_history01 dl {
  display: flex;
  justify-content: flex-start;
}
.gran_history01 dt {
  font-weight: bold;
  font-size: 50px;
  text-align: left;
  line-height: 0.9;
  margin-right: 15px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
}
.gran_history01 dd {
  text-align: left;
    letter-spacing: 0.05em;
}
.gran_history01 h5 {
  font-size: 18px;
  margin-bottom: 5px;
}
.gran_history01 h3 {
  font-size: 20px;
}
.gran_history01 li {
  opacity: 0;
  transition: opacity 1.5s ease;
}

.gran_history02 {
  max-width: 1200px;
  margin: 80px auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-bottom: 100px;
}
.gran_history02 li {
  margin-bottom: 20px;
  width: 24%;
}
.gran_history02 dt {
  font-size: 50px;
  text-align: left;
  line-height: 0.9;
  margin-right: 15px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
  position: relative;
  overflow: hidden;
}
.gran_history02 h4 {
  position: absolute;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    font-weight: bold;
  right: -1px;
  bottom: -1px;
}
.gran_history02 dd {
  text-align: center;
}
.gran_history02 h5 {
  font-size: 22px;
  margin: 5px 0;
  font-family: "EB Garamond";
}
.gran_history02 h3 {
  font-size: 16px;
}

.gran_movie {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.25) 100%
  );
  padding-bottom: 100px;
}
.gran_movie h6 {
  font-family: "EB Garamond";
  font-size: 30px;
  letter-spacing: 0.05em;
  margin: 0 0 30px;
}
.gran_movie h2 {
  font-size: 20px;
  letter-spacing: 0.05em;
  margin: 0 0 30px;
  line-height: 1.8;
}
.gran_movie iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  pointer-events: none;
}
.ytmodalbtn {
  background: #555;
  display: block;
  max-width: 640px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  position: relative;
}
.usp07_btn_play {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  width: 100px;
}

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 768px) {
  .und_mainv_gran {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  .und_mainv_gran img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .gran_bg {
    background-image: linear-gradient(0deg, #231815 0%, #4b4644 50%, #231815 100%);
    color: #fff;
    /* overflow: hidden; */
  }

  .gran_bg_slider {
    /* background-image: url("../imgs/gran_bg01.png"); */
    background-repeat: no-repeat;
    background-size: 200%;
    text-align: center;
    padding: 60px 0 60px;
    background-repeat: no-repeat;
    background-position: center top 20%;
  }
  .gram_logo {
    width: 50%;
    margin: 0 auto;
  }
  .gran_bg_slider h6 {
    font-size: 4vw;
    line-height: 4;
    margin: 60px 0 80px;
    text-shadow:
      0px 0px 3px #000,
      0px 0px 5px #000,
      0px 0px 8px #000;
    position: relative;
  }
  /* .gran_bg_slider h6::after{content: "";width: 1px; height: 80px;position: absolute;display: block;background: rgba(255,255,255,1.00);transform: translate(-50%, 0);left: 50%;bottom: -80px;} */
  .gran_window01 {
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(56, 56, 56, 0.9) 100%);
    max-width: 1200px;
    margin: 0 3%;
    padding: 10% 0;
    position: relative;
    margin-top: 40vw;
  }
  /* .gran_window01::before{content: "";width: 1px; height: 100%;position: absolute;display: block;background: rgba(255,255,255,0.10);transform: translate(-50%, -50%);left: 50%;top: 50%;}
.gran_window01::after{content: "";width: 1px; height: 80px;position: absolute;display: block;background: rgba(255,255,255,1.00);transform: translate(-50%, 0);left: 50%;bottom: -80px;} */
  .gran_bg_slider h5 {
    font-size: 3.5vw;
    line-height: 4;
    margin: 80px 0 0;
    text-shadow:
      0px 0px 3px #000,
      0px 0px 5px #000,
      0px 0px 8px #000;
  }
  .gran_window01 h2 {
    font-size: 5vw;
    letter-spacing: 0.05em;
    line-height: 1.6;
  }
  .gran_window01 h3 {
    font-size: 3.2vw;
    letter-spacing: 0.05em;
    line-height: 3;
    margin-top: 20px;
  }

  .gran_exterior {
    position: relative;
    padding-bottom: 65%;
  }
  .gran_window02 {
    max-width: 1200px;
    margin: 0 3%;
    padding: 10% 0 30%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    text-align: center;
  }
  .gran_window02 h2 {
    font-size: 5vw;
    letter-spacing: 0.05em;
    line-height: 1.6;
  }
  .gran_window02 h3 {
    font-size: 3.2vw;
    letter-spacing: 0.05em;
    line-height: 3;
    margin-top: 20px;
  }
  .gran_exterior_img {
    z-index: 1;
    width: 100%;
    position: absolute;
    bottom: 0;
  }
  .gran_exterior_img img {
    width: 100%;
  }

  .gran_history {
    max-width: 1200px;
    margin: -20px 5% 0;
    text-align: center;
    padding: 60px 0 20px;
    background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.05) 100%
    );
  }
  .gran_history h6 {
    font-size: 7vw;
    letter-spacing: 0.05em;
    font-family: "EB Garamond";
  }
  .gran_history h2 {
    font-size: 3.2vw;
    letter-spacing: 0.05em;
    line-height: 3;
    margin-top: 20px;
  }
  .gran_history01 {
    width: 90%;
    margin: 40px auto;
    position: relative;
  }
  .gran_history01 li {
    margin-bottom: 10%;
  }
  .gran_history01 .active {
  }
  .gran_history01 .active::after {
    position: absolute;
    background-image: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.25) 100%
    );
    content: "";
    display: block;
    /* width: 500%; */
    height: 70px;
    bottom: -20px;
    /* left: -200%; */
  }
  .gran_history01cap {
    font-size: 10px;
    text-align: center;
    padding: 10px 20px 20px;
    text-align: left;
    line-height: 1.4;
  }
  .gran_history01 dl {
    display: flex;
    justify-content: flex-start;
  }
  .gran_history01 dt {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    font-size: 8.5vw;
    text-align: left;
    line-height: 0.9;
    margin-right: 3%;
    white-space: nowrap;
  }
  .gran_history01 dd {
    text-align: left;
    letter-spacing: 0em;
  }
  .gran_history01 h5 {
    font-size: 3.5vw;
    margin-bottom: 1%;
  }
  .gran_history01 h3 {
    font-size: 3.8vw;
    font-weight: bold;
  }

  .gran_history02 {
    max-width: 1200px;
    margin: 30px 5% 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 20px;
  }
  .gran_history02 li {
    margin-bottom: 7%;
    width: 48%;
  }
  .gran_history02 dt {
    font-size: 9vw;
    text-align: left;
    line-height: 0.9;
    margin-right: 15px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    position: relative;
    overflow: hidden;
  }
  .gran_history02 h4 {
    position: absolute;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    font-weight: bold;
    right: -1px;
    bottom: -1px;
  }
  .gran_history02 dd {
    text-align: center;
  }
  .gran_history02 h5 {
    font-size: 4.5vw;
    margin: 5px 0 2%;
    font-family: "EB Garamond";
  }
  .gran_history02 h3 {
    font-size: 3.5vw;
  }

  .gran_movie {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
    background-image: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.25) 100%
    );
    padding-bottom: 50px;
  }
  .gran_movie h6 {
    font-family: "EB Garamond";
    font-size: 7vw;
    letter-spacing: 0.05em;
    margin: 0 0 15px;
  }
  .gran_movie h2 {
    font-size: 4vw;
    letter-spacing: 0.05em;
    margin: 0 0 20px;
    line-height: 1.8;
  }
  .ytmodalbtn {
    background: #555;
    display: block;
    max-width: 640px;
    margin: 0 5%;
    aspect-ratio: 16 / 9;
    position: relative;
  }
  .usp07_btn_play {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    width: 70px;
  }
}

.und_mainv_gran {
  .capIn {
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  img {
    opacity: 0;
    transform: scale(1.05);
    filter: saturate(0.5);
    transition:
      opacity 1.2s ease-in-out,
      transform 1.9s ease-in-out,
      filter 2.5s ease-in-out;
  }
  &.on {
    .capIn {
      transition: opacity 2s 1s ease;
      opacity: 1;
    }
    img {
      filter: saturate(1);
      transform: scale(1);
      opacity: 1;
    }
  }
}

.gran_history02 {
  li {
    h4,
    dd {
      z-index: 5;
      opacity: 0;
    }
    img {
      scale: 1.05 1.05;
      filter: blur(0) saturate(0) brightness(1.2) grayscale(2);
      opacity: 0;
      transition:
        opacity 0.9s ease-in-out,
        filter 0.9s ease,
        transform 0.5s ease-in-out,
        scale 2.2s ease;
    }
  }
  &.on {
    li {
      h4,
      dd {
        opacity: 1;
        transition: 0.6s ease;
      }
      img {
        scale: 1 1;
        opacity: 1;
        clip-path: inset(0 -50%);
        filter: blur(0px) saturate(1) brightness(1);
      }
      &:nth-of-type(1) {
        h4,
        dd {
          transition-delay: 0s;
        }
        img {
          transition-delay: 0.2s;
        }
      }
      &:nth-of-type(2) {
        h4,
        dd {
          transition-delay: 0.1s;
        }
        img {
          transition-delay: 0.3s;
        }
      }
      &:nth-of-type(3) {
        h4,
        dd {
          transition-delay: 0.2s;
        }
        img {
          transition-delay: 0.4s;
        }
      }
      &:nth-of-type(4) {
        h4,
        dd {
          transition-delay: 0.3s;
        }
        img {
          transition-delay: 0.5s;
        }
      }
      &:nth-of-type(5) {
        h4,
        dd {
          transition-delay: 0.4s;
        }
        img {
          transition-delay: 0.6s;
        }
      }
      &:nth-of-type(6) {
        h4,
        dd {
          transition-delay: 0.5s;
        }
        img {
          transition-delay: 0.7s;
        }
      }
      &:nth-of-type(7) {
        h4,
        dd {
          transition-delay: 0.6s;
        }
        img {
          transition-delay: 0.8s;
        }
      }
      &:nth-of-type(8) {
        h4,
        dd {
          transition-delay: 0.7s;
        }
        img {
          transition-delay: 0.9s;
        }
      }
    }
  }
}

.canvas_wrapper {
  width: 100%;
  height: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20vw;
  position: sticky;
  top: 50vh;
  @media (max-width: 767px) {
    margin-top: 40vw;
  }
}
#canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
  @media (max-width: 767px) {
    aspect-ratio: 1/1;
  }
}
canvas {
  display: block;
}
