/*--------------------------------------
スマホ
--------------------------------------*/
@media screen and (max-width: 1280px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
/*----- ハンバーガーメニュー -----*/

.hamburger {
  display : block;
  position: absolute;
  z-index : 3;
  right : 13px;
  top   : 20px;
  width : 42px;
  height: 42px;
  cursor: pointer;
  text-align: center;
}
.hamburger span {
  display : block;
  position: absolute;
  width   : 30px;
  height  : 2px ;
  left    : 6px;
  background : #fff;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition   : 0.5s ease-in-out;
  transition        : 0.5s ease-in-out;
}
.hamburger span:nth-child(1) {
  top: 10px;
}
.hamburger span:nth-child(2) {
  top: 20px;
}
.hamburger span:nth-child(3) {
  top: 30px;
}

/* ナビ開いてる時のボタン */
.hamburger.active span:nth-child(1) {
  top : 16px;
  left: 6px;
  -webkit-transform: rotate(315deg);
  -moz-transform   : rotate(315deg);
  transform        : rotate(315deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
  top: 16px;
  -webkit-transform: rotate(-315deg);
  -moz-transform   : rotate(-315deg);
  transform        : rotate(-315deg);
}

nav.globalMenuSp {
  position: absolute;
  z-index : 2;
  top  : 80px;
  left : 0;
  color: #000;
  background: #fff;
  text-align: center;
  transform: translateX(100%);
  transition: all 0.6s;
  width: 100%;
}

nav.globalMenuSp ul {
  background: #000;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  font-size: 2em;
}

nav.globalMenuSp ul li {
  list-style-type: none;
  padding: 0;
  width: 100%;
  border-bottom: 1px solid #fff;
}
nav.globalMenuSp ul li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
nav.globalMenuSp ul li:hover{
  background :#f7cf6a;
}

nav.globalMenuSp ul li a {
  display: block;
  color: #fff;
  padding: 1em 0;
  text-decoration :none;
}
nav.globalMenuSp ul li:hover a{
  color: #000;
}

/* このクラスを、jQueryで付与・削除する */
nav.globalMenuSp.active {
  transform: translateX(0%);
}




  /*-------------------------------背景*/
  .logo-img {
    line-height: 1em;
  }

  body {
    width: 100%;
    background-color: #fff;
  }
  section{
    padding: 80px 0px;
  }
  .contents-area{
    font-size: 0.8em;
  }
  h2{
    font-size: 8em;
  }
  /*---TOP----*/
  #top {
    display: block;
    overflow: inherit;
  }

  .top_img {
    height: 100vh;
    width: 100%;
  }

  /*---------- ストーリー ------------*/
.story_text{
  width: 70%;
}
  /*---- キャラクター ----*/
  #character .character_pf, #character .character_pf:nth-child(even),
  #lineup .lineup_frex, #lineup .lineup_frex_rowre .lineup_frex:nth-child(odd){
    display: block;
    width: auto;
  }

  #character .character_pf:nth-child(even),#lineup .lineup_frex_rowre .lineup_frex:nth-child(odd) {
    flex-direction: row;
  }

  #character .character_pf{
    padding: 5em;
  }

  #character .character_txt_box {
    width: auto;
  }

  #character .character_img img {
    width: 200px;
    height: 200px;
  }

/*---- ラインナップ ----*/
#lineup .lineup_txt_box h3{
  text-align: center;
}
  #lineup .lineup_txt{
    width: 100%;
    justify-content: center;
  }
  #lineup .btn_n {
      display: block;
  }
#lineup .lineup_img img{
  width: 300px;
  object-fit: unset;
  height: auto;
}

/*----- コンタクト -----*/
#contact .contact_img{
  width: 100%;
  display: grid;
  padding: 10em 0;
}
.image_box{

}
#contact figure{
  margin: 5em 0;
}

}

@media screen and (max-width: 768px) {
  #top {
    display: flex;
    overflow: inherit;
  }
  .top_img {
    height: 100vh;
    width: auto;
  }
}
