@charset "UTF-8";

html {
  height: 100vh;
  font-size: .52083vw;
  overflow: hidden !important;
}

body {
  margin: 0;
  padding: 0;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  line-height: 180%;
  color: #ffffff;
  background-color: #000000;
  font-feature-settings: "palt";
  font-variant-ligatures: none;
  -webkit-text-size-adjust: none;
  letter-spacing: 0.1em;
  overflow-wrap: break-word;
  overscroll-behavior: none;
}

/*==================
#loading
==================*/
.wrap {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #000000;
  color: #ffffff;
  text-align: center;
  top: 0;
}

#container {
  width: 10%;
  height: 3px;
  position: absolute;
  left: 45%;
  top: 46%;
  font-size: 14px;
  font-family: "myriad-variable", sans-serif;
  font-variation-settings: "wdth" 100, "wght" 500;
  letter-spacing: 0.05em;
  opacity: 1;
  transition: opacity 1s;
  text-align: center;
}

#container.show {
  opacity: 0;
}

@media (max-width: 800px) {
  #container {
    width: 30%;
    left: 35%;
  }
}

/*==================
#video
==================*/

img {
  vertical-align: top;
  image-rendering: optimizeQuality;
  max-width: 100%;
  height: auto;
}

img[src*=".svg"] {
  width: 100%;
}

.video_wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.video_wrapper > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

@media (max-width: 800px),
       (orientation: landscape) and (max-height: 450px) {
  .video_wrapper > video {
    display: block;
    height: 100%;
  }
}

/*==================
#sound button
==================*/

.movie__btn {
  width: 50%;
  display: flex;
  justify-content: right;
  align-items: center;
  position: absolute;
  right: 1.7%;
  bottom: 2%;
  z-index: 2;
}

.sound-icon {
  width: 22px;
  height: 10px;
  margin: 5px 0.5% 0 0;
  outline: none !important;
}

.sound-icon img {
  width: 100%;
  height: auto;
}

.sound-button {
  padding: 0;
  margin: 0;
}

button {
  color: #ffffff;
  font-size: 1rem;
  border: none;
  padding: 0;
  appearance: none;
  background-color: initial;
  cursor: pointer;
  font-family: "myriad-variable", sans-serif;
  font-variation-settings: "wdth" 90, "wght" 600;
}

@media (min-width: 2000px) {
  .sound-icon {
    width: 1.5%;
    margin: 1% 0.5% 0 0;
  }
}

@media (max-width: 800px) {
  .movie__btn {
    right: 4%;
     bottom: 5px;
  }

  .sound-icon {
    width: 9.5%;
   margin: 10px 2.5% 0 0;
  }
}

@media (orientation: landscape) and (max-height: 450px) {
  .movie__btn {
    right: 2%;
    bottom: 5px;
  }

  .sound-icon {
    width: 4.5%;
    margin: 10px 1.5% 0 0;
  }
}

/*==================
#HEADER
==================*/

header {
  width: 96%;
  position: absolute;
  top: 0.2%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
}

h1 {
  width: 130px;
  position: absolute;
  left: 0;
  text-align: left;
}

ul.sns-nav {
  width: 60%;
  position: absolute;
  right: 0;
  top: 3vh;
  text-align: right;
}

ul.sns-nav li {
  width: 25px;
  display: inline-block;
  margin-left: 1.5%;
}

ul.sns-nav li.mail-icon {
  width: 30px;
}

ul.sns-nav li img {
  max-width: 100% !important;
}

ul.sns-nav li img:hover {
  opacity: 0.3;
}

@media (max-width: 800px) {
  header {
    width: 90%;
    top: -20px;
  }

  h1 {
    width: 80px;
    top: 0;
  }

  ul.sns-nav {
    width: 52%;
    top: 2.3vh;
  }

  ul.sns-nav li {
    width: 22px;
    margin-left: 3%;
  }

  ul.sns-nav li.mail-icon {
    width: 26px;
  }
}

@media (orientation: landscape) and (max-height: 450px) {
  ul.sns-nav {
    top: 4vh;
  }
}
