@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');



*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100vw;
    margin: 0;
    padding: 0;
    background-color: #efefef;
    font-family: "source-han-sans-japanese", sans-serif;
}

img {
    display: inline-block;
    vertical-align: bottom;
    max-width: 100%;
    width: 100%;
}

dl, dt, dd {
    margin: 0;
    padding: 0;
}

figure {
    margin: 1rem 0 2rem;
}

figcaption {
    font-size: 14px;
    padding: 0 1%;
    line-height: 120%;
}

p {
  font-family: "source-han-sans-japanese", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 200%;
    margin: 0 0 2rem;
    color: #333;
}

.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255);
  z-index: 9999;
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #4d565c;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

section {
    margin: 5rem auto;
    width: 100%;
}

.inner {
    width: min(600px, 100%);
    margin: 0 auto;
}

.hero_image {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero_image img {
  opacity: 0.5;
  transform: scale(0.5);
}

.scroll_down {
    opacity: 1;
    transition: 0.5s ease-in-out;
    position:absolute;
    /* bottom: 0; */
    left: 50%;
    animation: arrowmove 1s ease-in-out infinite;
    display: flex;
    justify-content: center;
    transform: translateX(-50%);
  }

  #sd_first {
    bottom: 0;
  }
  
  .scroll_sign_position {
    position: relative;
  }

  #sd_second {
    position: absolute;
    z-index: 999;
    top: 100px;
  }
  
  .scroll_text {
    display: block;
    margin-top: 70px;
    font-size: 12px;
    color: #333;
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: -1px;
  }
  
  .arrow {
    position: absolute;
    width: 28px;
    height: 5px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
  }
  
  .arrow:first-child {
    animation: move 3s ease-out 1s infinite;
  }
  
  .arrow:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
  }
  
  .arrow:before,
  .arrow:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: #333;
  }
  
  .arrow:before {
    left: 0;
    transform: skew(0deg, 30deg);
  }
  
  .arrow:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
  }
  
  @keyframes move {
    25% { opacity: 1; }
    33% { opacity: 1; transform: translateY(30px); }
    67% { opacity: 1; transform: translateY(40px); }
    100% { opacity: 0; transform: translateY(55px) scale3d(0.5, 0.5, 0.5); }
  }

.bg_effect {
    width: 100vw;
    height: 100vh;
    background-image: url('./images/damaged_tokyo.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease-in-out;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1; 
}

.caption {
  position: absolute;
  color: #fff;
  /* background-color: rgba(0, 0, 0, 0.8); */
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.9);
  padding: 5px 10px;
  box-sizing: border-box;
  border-radius: 3px;
  top: 10px;
  left: 10px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.container {
    position: relative;
    width: 100vw;
    height: 400vh;
}

.content {
    position: relative;
    z-index: 1;
  }
  
.content p {
    background-color: #333;
    opacity: 0;
    transition: 0.5s ease-in-out;
    color: #fff;
    width: min(400px, 80%);
    margin: 80vh auto;
    font-size: 16px;
    line-height: 160%;
    padding: 1% 2%;
    box-shadow: 0px 5px 15px 0px rgba(255, 255, 255, 0.35);
  }

.video_area {
  margin-top: 100vh;
}

.video_wrap {
    width: 100vh;
    height: 700vh;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 820px) {
  .video_wrap {
    width: 100vw;
  }
}

.byline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 1rem auto;
    font-size: 16px;
    line-height: 140%;
    font-family: "source-han-serif-jp-subset", sans-serif;
}

.byline dt {
  font-size: 0.8em;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 2% 10%;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 14px;
    color: #fff;
}

@media screen and (max-width: 620px) {
    p {
        padding: 0 10%;
    }
}

