@charset "utf-8";

/* CSS Document */
html {
  font-size : 62.5%;
  /* 16px * 62.5% = 10px */
  width     : 100%;
  box-sizing: border-box;
}

body {
  color      : #fff;
  font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
  font-family: 'EB Garamond', serif;
  font-family: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size  : 1.6em;
  text-align : left;
  background : #010101;
}

img,
svg {
  vertical-align: bottom;
  width         : 100%;
  height        : auto;
}

a:hover {
  opacity: 0.5;
}

.none {
  display: none;
}

* {
  margin : 0;
  padding: 0;
}

* {
  list-style: none;
}

* {
  text-decoration: none;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing        : border-box;
}

a {
  color: #fff;
}

#modal-container {
  display   : none;
  position  : fixed;
  background: rgba(0, 0, 0, .9);
  top       : 0;
  bottom    : 0;
  left      : 0;
  right     : 0;
  z-index   : 10000;
}

#modal-container>div {
  display        : flex;
  height         : 100vh;
  justify-content: center;
  align-items    : center;
}

#modal-container > div > img {
 width: 85%;
 height: 85%;
 object-fit: contain;
}


img.popup {
  cursor: pointer;
}

.sa {
  opacity: 0;
  transition: all .5s ease-in-out;
}

.sa--up {
  transform: translate(0, 30px);
}


.sa.show {
  opacity: 1;
  transform: none;
  transition: all .5s ease-in-out;
}

.text {
  display: flex;
  overflow: hidden;
}


.text span {
  display: block;
  transform: translate(0, 105%);
  transition: transform cubic-bezier(0.215, 0.61, 0.355, 1) 2s;
}

.text.-visible span {
  transform: translate(0, 0);
}

.text span:nth-child(2) {
  transition-delay: 0.08s;
}
.text span:nth-child(3) {
  transition-delay: 0.16s;
}
.text span:nth-child(4) {
  transition-delay: 0.24s;
}
.text span:nth-child(5) {
  transition-delay: 0.34s;
}
.text span:nth-child(6) {
  transition-delay: 0.44s;
}
.text span:nth-child(7) {
  transition-delay: 0.54s;
}
.text span:nth-child(8) {
  transition-delay: 0.64s;
}
.text span:nth-child(9) {
  transition-delay: 0.74s;
}
.text span:nth-child(10) {
  transition-delay: 0.84s;
}
.text span:nth-child(11) {
  transition-delay: 0.94s;
}
.text span:nth-child(12) {
  transition-delay: 1.04s;
}
.text span:nth-child(13) {
  transition-delay: 1.14s;
}
.text span:nth-child(14) {
  transition-delay: 1.24s;
}
.text span:nth-child(15) {
  transition-delay: 1.34s;
}
.text span:nth-child(16) {
  transition-delay: 1.44s;
}
.text span:nth-child(17) {
  transition-delay: 1.54s;
}
.text span:nth-child(18) {
  transition-delay: 1.64s;
}
.text span:nth-child(19) {
  transition-delay: 1.74s;
}
.text span:nth-child(20) {
  transition-delay: 1.84s;
}
.text span:nth-child(21) {
  transition-delay: 1.94s;
}


.text.show {
  opacity: 1;
}

.text.show span {
  transform: translate3d(0, 0, 0);
}

.text.show span {
  display: block;
  transform: scale3d(1, 1, 1);
  opacity: 1;
}

@media screen and (max-width:640px){
  .wrap {
    width: 100%;
  }
  .text-move {
    font-size: 30px;
  }
}

/*===========================================================*/
/* ハンバーガーメニュー	*/
/*===========================================================*/


.openbtn {
  position: fixed;
  z-index : 9999;
  top     : 20px;
  right   : 50px;
  cursor  : pointer;
  width   : 50px;
  height  : 50px;
  display : none;
}

.menu {
  position : absolute;
  top      : 42px;
  font-size: 1.2rem;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn span {
  display         : inline-block;
  transition      : all 0.4s;
  position        : absolute;
  height          : 2px;
  border-radius   : 2px;
  background-color: #fff;
  width           : 50%;
  transform       : translateX(-50%);
  left: 50%;
}

.openbtn.active span:nth-of-type(1) {
  top      : 18px;
  left     : 18px;
  transform: translateY(6px) rotate(-45deg);
  width    : 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top      : 30px;
  left     : 18px;
  transform: translateY(-6px) rotate(45deg);
  width    : 30%;
}

#g-nav {
  position        : fixed;
  z-index         : 999;
  top             : 0;
  right           : -100%;
  width           : 30%;
  height          : 100vh;
  background-color: #010101;
  transition      : all 0.6s;
}

#g-nav.panelactive {
  right: 0;
}

@media (max-width: 1200px) {

  .openbtn {
    display: block;
  }

  #g-nav,
  #g-nav.panelactive #g-nav-list {
    width: 100%;
  }

}


@media (max-width: 1024px) {

  .openbtn {
    right: 30px;
  }

}

@media (max-width: 599px) {

  .openbtn {
    right: 20px;
    top: 8px;
  }

}

/*ナビゲーション*/
#g-nav ul {
  position : absolute;
  width: 100%;
  z-index  : 999;
  top      : 50%;
  left     : 50%;
  transform: translate(-50%, -50%);
}

#g-nav li {
  list-style: none;
  text-align: center;
}

#g-nav li a {
  color          : #fff;
  text-decoration: none;
  padding        : 40px;
  display        : block;
  text-transform : uppercase;
  letter-spacing : 0.1em;
  font-size      : 1.8rem;
  font-weight    : bold;
  transition     : all 0.5s;
}

#g-nav li a:hover {
  color: #ccc;
}

@media (max-width: 768px) {

  #g-nav li a {
    color          : #fff;
    text-decoration: none;
    padding        : 15px;
    display        : block;
    text-transform : uppercase;
    letter-spacing : 0.1em;
    font-size      : 1.4rem;
    font-weight    : bold;
    transition     : all 0.5s;
  }
}

