@charset "utf-8";

.gloNav_bg {
  position: fixed;
  top: 4px; right: 0; left: 0;
  width: 100%;
  max-width: 1267px;
  height: 179px;
  margin: 0 auto;
}
#top .gloNav_bg {
  -webkit-transform: translate(0,-200px);
  -ms-transform: translate(0,-200px);
  transform: translate(0,-200px);
  -webkit-transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  -o-transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}
#top.loaded .gloNav_bg {
  /*-webkit-transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1) 9.4s;
  -o-transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1) 9.4s;
  transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1) 9.4s;*/
}
#top.loaded .gloNav_bg.scrolled {
  -webkit-transform: translate(0,0px);
  -ms-transform: translate(0,0px);
  transform: translate(0,0px);
}
#gloNav {
  position: relative;
  width: 100%;
  height: 130px;
  padding: 50px 0 0;
  background: url(../img/bg_nav.png) -webkit-calc(50% - 29px) 0 no-repeat;
  background: url(../img/bg_nav.png) calc(50% - 29px) 0 no-repeat;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 300;
}
#gear4 {
  position: absolute;
  top: 4px;
  right: -webkit-calc(50% + 528px);
  right: calc(50% + 528px);
  width: 176px;
  height: 176px;
  z-index: 400;
}
#gear4 img[class*="icon"] {
  position: absolute;
  top: 0; right: 0; bottom: 6px; left: 0;
  width: 78px;
  height: 81px;
  margin: auto;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  z-index: 402;
}
#gear4 img.show {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
#gear4 img.gear {
  z-index: 401;
}
#gear4 img.gear.rotateBounce {
  -webkit-animation: rotateBounce 0.8s linear;
  animation: rotateBounce 0.8s linear;
}
#gloNav ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 960px;
  margin: 0 auto;
}
#gloNav ul li {
  position: relative;
  margin: 0 2px 0 0;
}
#gloNav ul li.new:after {
  top: 2px;
  width: 50.333px;
  height: 22px;
}
#gloNav ul li a,
#gloNav ul li span {
  display: block;
  height: 77px;
  background: 0 0 no-repeat;
}
#gloNav ul li a img {
  display: block;
  height: 77px;
  background: 0 100% no-repeat;
  opacity: 0;
  -webkit-transition: opacity 0.1s linear;
  -o-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
}
#gloNav ul li a.top,
#gloNav ul li a.top img {
  width: 98px;
  background-image: url(../img/nav_top.png);
}
#gloNav ul li a.story,
#gloNav ul li a.story img {
  width: 164px;
  background-image: url(../img/nav_story.png);
}
#gloNav ul li a.character,
#gloNav ul li a.character img {
  width: 196px;
  background-image: url(../img/nav_character.png);
}
#gloNav ul li a.system,
#gloNav ul li a.system img {
  width: 132px;
  background-image: url(../img/nav_system.png);
}
#gloNav ul li a.movie,
#gloNav ul li a.movie img {
  width: 132px;
  background-image: url(../img/nav_movie.png);
}
#gloNav ul li a.special,
#gloNav ul li a.special img {
  width: 165px;
  background-image: url(../img/nav_special.png);
}

#gloNav ul li span.movie {
  width: 132px;
  background-image: url(../img/nav_movie_gray.png);
}
#gloNav ul li span.special {
  width: 172px;
  background-image: url(../img/nav_special_gray.png);
}
#gloNav ul li a.selected:hover {
  cursor: default;
}

#gloNav ul li a.clicked img,
#gloNav ul li a.selected img {
  opacity: 1;
}
#gloNav #navCursor {
  position: absolute;
  top: 24px;
  left: 0; right: 0;
  width: 960px;
  height: 31px;
  padding-left: 18px;
  margin: 0 auto;
  opacity: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  pointer-events: none;
}
#gloNav #navCursor img {
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
#gloNav #navCursor.story img {
  -webkit-transform: translate3d(146px,0,0);
  transform: translate3d(146px,0,0);
}
#gloNav #navCursor.character img {
  -webkit-transform: translate3d(339px,0,0);
  transform: translate3d(339px,0,0);
}
#gloNav #navCursor.system img {
  -webkit-transform: translate3d(516px,0,0);
  transform: translate3d(516px,0,0);
}
#gloNav #navCursor.movie img {
  -webkit-transform: translate3d(658px,0,0);
  transform: translate3d(658px,0,0);
}
#gloNav #navCursor.special img {
  -webkit-transform: translate3d(828px,0,0);
  transform: translate3d(828px,0,0);
}
#bgmBox {
  top: 137px;
  right: -webkit-calc(50% - 490px);
  right: calc(50% - 490px);
}
.gloNav_gear {
  position: fixed;
  top: -112px;
  left: -webkit-calc(50% - 840px);
  left: calc(50% - 840px);
  z-index: 2;
}

main {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 1024px;
  padding: 184px 0 60px;
  margin: 0 auto;
}

body:not(#top) main h1 {
  display: none;
}

/* ---------------------------------
  サブナビ
---------------------------------- */
#contents #subNavWrap {
  position: relative;
  width: 240px;
  z-index: 5;
}
#contents #subNav {
  display: block;
  padding: 0 0 20px;
}
#contents #subNav .arrow {
  position: absolute;
  top: 3px; left: -50px;
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  -webkit-transition: top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  -o-transition: top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: top 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
#contents #subNav:hover .arrow {
  opacity: 1;
}
#contents #subNav.hover1 .arrow {
  top: 67px;
}
#contents #subNav.hover2 .arrow {
  top: 129px;
}
#contents #subNav.hover3 .arrow {
  top: 193px;
}
#contents #subNav.hover4 .arrow {
  top: 255px;
}
#contents #subNav.hover5 .arrow {
  top: 318px;
}
#contents #subNav.hover6 .arrow {
  top: 381px;
}
#contents #subNav.hover7 .arrow {
  top: 444px;
}
#contents #subNav li {
  position: relative;
  margin: 0 0 1px;
  -webkit-animation: subNavslideIn 0.5s ease 0.2s both;
  animation: subNavslideIn 0.5s ease 0.2s both;
}
#contents #subNav li:nth-child(2) {
  -webkit-animation-delay: 0.35s;
  animation-delay: 0.35s;
}
#contents #subNav li:nth-child(3) {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}
#contents #subNav li:nth-child(4) {
  -webkit-animation-delay: 0.65s;
  animation-delay: 0.65s;
}
#contents #subNav li:nth-child(5) {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}
#contents #subNav li:nth-child(6) {
  -webkit-animation-delay: 0.95s;
  animation-delay: 0.95s;
}
#contents #subNav li a {
  display: inline-block;
  width: 240px;
  height: 60px;
  background: 0 0 no-repeat;
  cursor: pointer;
}
#contents #subNav li a img {
  display: inline-block;
  width: 240px;
  height: 60px;
  background: 0 100% no-repeat;
  opacity: 0;
}
#contents #subNav li a.clicked img,
#contents #subNav li a[data-open] img {
  opacity: 1;
}
@-webkit-keyframes subNavslideIn {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0,25px,0);
    transform: translate3d(0,25px,0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
}
@keyframes subNavslideIn {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(0,25px,0);
    transform: translate3d(0,25px,0);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }
}
/* ---------------------------------
  シングルボックス
---------------------------------- */
#contents #singleBox {
  position: relative;
  right: 0;
  margin: 0 auto;
  width: 988px;
  z-index: 3;
  -webkit-animation: subNavslideIn 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.3s backwards;
  animation: subNavslideIn 0.5s cubic-bezier(0.215, 0.61, 0.355, 1) 0.3s backwards;
}
#contents #singleBox .frame {
  position: relative;
  width: 988px;
  margin: 50px auto 50px;
  padding: 2px 0;
  background: url(../img/bg_single_frame_middle.png) 50% 0 repeat-y;

}
#contents #singleBox .frame:before {
  content: "";
  position: absolute;
  bottom: -webkit-calc(100% - 1px);
  bottom: calc(100% - 1px);
  left: 0;
  width: 988px;
  height: 50px;
  background: url(../img/bg_single_frame_header.png) 50% 0 no-repeat;
}
#contents #singleBox .frame:after {
  content: "";
  position: absolute;
  top: -webkit-calc(100% - 1px);
  top: calc(100% - 1px);
  left: 0;
  width: 988px;
  height: 50px;
  background: url(../img/bg_single_frame_footer.png) 50% 0 no-repeat;
}
#contents div[id$="Box"] .frame p:last-child {
  margin-bottom: 0 !important;
}
/* ---------------------------------
  メインボックス
---------------------------------- */
#contents #mainBox {
  position: relative;
  width: 780px;
  z-index: 5;
}
#contents #mainBox article {
  display: none;
}
#contents #mainBox .frame {
  position: relative;
  width: 780px;
  margin: 50px auto 50px;
  padding: 2px 0;
  background: url(../img/sp/bg_content_frame_middle.png) 50% 0 repeat-y;

}
#contents #mainBox .frame:before {
  content: "";
  position: absolute;
  bottom: -webkit-calc(100% - 1px);
  bottom: calc(100% - 1px);
  left: 0;
  width: 780px;
  height: 50px;
  background: url(../img/sp/bg_content_frame_header.png) 50% 0 no-repeat;
}
#contents #mainBox .frame:after {
  content: "";
  position: absolute;
  top: -webkit-calc(100% - 1px);
  top: calc(100% - 1px);
  left: 0;
  width: 780px;
  height: 50px;
  background: url(../img/sp/bg_content_frame_footer.png) 50% 0 no-repeat;
}
#contents #mainBox > button {
  display: none;
}

/* ---------------------------------
  ストーリー
---------------------------------- */
#story #subNav li a.about,
#story #subNav li a.about img {
  background-image: url(../img/story/subnav_about.png);
}
#story #subNav li a.intro,
#story #subNav li a.intro img {
  background-image: url(../img/story/subnav_story.png);
}
#story #subNav li a.past,
#story #subNav li a.past img {
  background-image: url(../img/story/subnav_past.png);
}

#past .txt_past04 {
  position: relative;
}

/* ---------------------------------
  キャラクター
---------------------------------- */
.gathering.back,
.gathering.back + .gathering_new {
  -webkit-transform: scale(0.88);
  -ms-transform: scale(0.88);
  transform: scale(0.88);
}
#click04 {
  top: 280px;
  left: 190px;
  width: 90px;
  height: 135px;
}
/* ---------------------------------
  システム
---------------------------------- */
#system #subNav li a.outline,
#system #subNav li a.outline img {
  background-image: url(../img/system/subnav_outline.png);
}
#system #subNav li a.battlesystem,
#system #subNav li a.battlesystem img {
  background-image: url(../img/system/subnav_battlesystem.png);
}
#system #subNav li a.town,
#system #subNav li a.town img {
  background-image: url(../img/system/subnav_town.png);
}
#system #subNav li a.customize,
#system #subNav li a.customize img {
  background-image: url(../img/system/subnav_gamesystem.png);
}
#system #subNav li a.costume,
#system #subNav li a.costume img {
  background-image: url(../img/system/subnav_costume.png);
}
#system #subNav li a.enhancement,
#system #subNav li a.enhancement img {
  background-image: url(../img/system/subnav_enhancement.png);
}

#system article#monster .img01 {
  margin: 0 0 0 -11px;
}
.treasure01 .pop {
  position: absolute;
  top: 256px;
  left: 310px;
  width: 281px;
  height: auto;
}
#monster .newIcon {
  width: 62px;
  height: 31px;
}
#monster .newIcon.mon4 {
  top: 670px;
}
#monster .newIcon.mon5 {
  top: 1000px;
}
#monster .newIcon.mon6 {
  top: 1000px;
}
#monster .newIcon.mon7 {
  top: 1390px;
}
#monster .newIcon.mon8 {
  top: 1390px;
}
#monster .pop.boss {
  top: 310px;
  left: 310px;
  width: 281px;
  height: auto;
}

/* ---------------------------------
ギャラリー
---------------------------------- */
#gallery #subNav li a.movie,
#gallery #subNav li a.movie img {
  width: 107px;
  height: 34px;
  background-image: url(../img/gallery/subnav_movie.png);
}
.mv_list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 auto;
}
.mv_list li {
  margin: 0 18px 36px;
}
.mv_list li.new:after {
  top: -18px;
  right: -12px;
}
.mv_list h3 {
  margin: 0 0 6px;
  text-align: center;
}
.mv_list h3 img {
  height: 26px;
}
.mv_list .play_btn {
  border: 3px solid #be8432;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 1px 1px 0px 0px #be8432;
  box-shadow: 1px 1px 0px 0px #be8432;
}
.mv_list .play_btn,
.mv_list .mv_obj {
  width: 384px;
  height: 216px;
}
.mv_list .play_btn:after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  display: block;
  width: 384px;
  height: 216px;
  background: rgba(255,185,1,0.15) url(../img/movie/on.png) 50% 50% / 384px auto no-repeat;
  opacity: 0;
  z-index: 2;
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}
.mv_list .play_btn:hover:after {
  opacity: 1;
}

/* ---------------------------------
  スペシャル
---------------------------------- */
#special .banner {
  width: 822px;
}
#special .banner li {
  margin: 0 10px 16px;
  opacity: 1;
  -webkit-transform: translate(0%,0);
  -ms-transform: translate(0%,0);
  transform: translate(0%,0);
}
#special .banner a:hover {
  -webkit-animation: none;
  animation: none;
}
#special .banner li a {
  display: block;
  width: 254px;
  height: 92px;
}
#special .banner li a img {
  width: 254px;
  height: 92px;
}

@media screen and (min-width: 1280px) {
}