@charset "utf-8";

#subNav {
  position: absolute;
  top: 230px;
  left: 58px;
  width: 230px;
}
#subNav ul {
}
#subNav ul li {
  position: relative;
}
#subNav ul li.new:after {
  content: url(../img/new.png);
  position: absolute;
  top: -6px;
  right: 4px;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-transform-origin: 100% 0;
  -ms-transform-origin: 100% 0;
  transform-origin: 100% 0;
  -webkit-animation: blink 3.2s ease-in-out infinite;
  animation: blink 3.2s ease-in-out infinite;
}
#subNav ul li a,
#subNav ul li a img {
  display: block;
  width: 225px;
  height: 65px;
}
#subNav ul li a {
  cursor: pointer;
}
#subNav ul li a img {
  background-position: 0 100%;
  opacity: 0;
  -webkit-transition: opacity 0.3s linear;
  -o-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}
#subNav ul li a.open img,
#subNav ul li a:hover img {
  opacity: 1;
}

#mainBox {
  position: relative;
  top: 80px;
  width: 1180px;
  /*width: 776px;*/
  height: 980px;
  padding: 152px 0 0;
  margin: 0 0 0 314px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  overflow-x: visible;
  overflow-y: scroll;
  -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(15%, black), color-stop(70%, black), to(transparent));
  -webkit-mask-image: -webkit-linear-gradient(transparent 0%, black 15%, black 70%, transparent 100%);
  mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(15%, black), color-stop(70%, black), to(transparent));
  mask-image: linear-gradient(transparent 0%, black 15%, black 70%, transparent 100%);
}
#mainBox article {
  display: none;
  width: 740px;
  padding: 0 0 260px;

  /*overflow: visible;*/
  overflow-y: auto;
  height: 340px;

}
#mainBox article h2,
#mainBox article section:not(:first-child) {
  margin: 42px 0 0;
}
#mainBox article h2:first-child {
  margin: 8px 0 0;
}
#mainBox article section {
  position: relative;
}
#mainBox article section.new:after {
  content: url(../img/new.png);
  position: absolute;
  top: -10px;
  left: -5px;
  display: block;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-animation: blink 3.2s ease-in-out infinite;
  animation: blink 3.2s ease-in-out infinite;
  z-index: 100;
}
#mainBox article p {
  margin: 0 0 20px;
}
#mainBox article p.caption {
  margin: -16px 0 20px;
}
#mainBox article .large_img + p.caption {
  margin: -23px 0 20px;
}
.large_img {
  position: relative;
  width: 626px;
  margin: 0 auto 20px;
}
.large_img.new:after {
  content: url(../img/new.png);
  position: absolute;
  top: -8px;
  left: -5px;
  display: block;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-animation: blink 3.2s ease-in-out infinite;
  animation: blink 3.2s ease-in-out infinite;
  z-index: 100;
}
.pop_images {
  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;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 1px 2px;
}
.pop_images li {
  position: relative;
  margin: 0 0 10px;
  text-align: left;
}
.pop_images.arrow li:not(:last-child):after {
  content: url(../img/img_arrow.png);
  position: absolute;
  top: 68px;
  right: -42px;
  z-index: 10;
}
.pop_images.arrow2 li:not(:last-child):after {
  content: url(../img/img_arrow2.png);
  position: absolute;
  top: 70px;
  right: -53px;
  z-index: 10;
}
a.pop.txt {
  display: block;
  margin: 0 0 -5px;
}
a.pop img {
  -webkit-transition: opacity 0.4s linear;
  -o-transition: opacity 0.4s linear;
  transition: opacity 0.4s linear;
}
a.pop:hover img {
  opacity: 0.85;
}

/* ストーリー */

#subNav ul li a.story,
#subNav ul li a.story img {
  background-image: url(../img/story/sub_nav_story.png)
}

#subNav ul li a.outline,
#subNav ul li a.outline img {
  background-image: url(../img/story/sub_nav_outline.png)
}

#contents.story #mainBox #story,
#contents.outline #mainBox #outline {
  display: block;
}

/* キャラクター */
#chara_box {
  margin: 0 auto;
}
#chara_box article {
    position: relative;
    top: 60px;
    width: 1080px;
    height: 1100px;
    margin: 0 auto;
    overflow-y: auto;
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(15%, black), color-stop(70%, black), to(transparent));
    -webkit-mask-image: -webkit-linear-gradient(transparent 0%, black 15%, black 70%, transparent 100%);
    mask-image: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(15%, black), color-stop(70%, black), to(transparent));
    mask-image: linear-gradient(transparent 0%, black 15%, black 70%, transparent 100%);
}
#chara_box .chara_txt {
  position: relative;
  width: 401px;
  -webkit-transform-origin: 70% 120%;
  -ms-transform-origin: 70% 120%;
  transform-origin: 70% 120%;
}
#chara_box .chara_txt:after {
  content: url(../img/character/balloon_dot.png);
  position: absolute;
  -webkit-animation: balloonDotAnim 3s ease-in-out alternate infinite both;
  animation: balloonDotAnim 3s ease-in-out alternate infinite both;
}
#chara_box .wolf {
  position: relative;
  padding: 152px 0 0;
}
#chara_box .wolf:before {
  content: url(../img/character/arrow_wolf.png);
  position: absolute;
  top: 515px;
  left: 320px;
}
#chara_box .wolf .chara_img {
  position: absolute;
  top: 181px;
  left: 350px;
  z-index: 3;
}
#chara_box .wolf .chara_txt {
  position: relative;
  top: 7px;
  left: 130px;
  margin: 0 0 352px;
  -webkit-animation: balloonAnim 3s ease-in-out alternate infinite both;
  animation: balloonAnim 3s ease-in-out alternate infinite both;
}
#chara_box .wolf .chara_txt:after {
  left: 167px;
  bottom: -50px;
}
#chara_box .princess .chara_img {
  position: absolute;
  top: 749px;
  left: 120px;
  z-index: 3;
}
#chara_box .princess .chara_txt {
  margin: 0 0 264px 495px;
  -webkit-transform-origin: 30% 120%;
  -ms-transform-origin: 30% 120%;
  transform-origin: 30% 120%;
  -webkit-animation: balloonAnim2 3s ease-in-out alternate infinite both;
  animation: balloonAnim2 3s ease-in-out alternate infinite both;
}
#chara_box .princess .chara_txt:after {
  left: 125px;
  bottom: -50px;
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
  -webkit-filter: FlipH;
  filter: FlipH;
  -ms-filter: "FlipH";
  -webkit-animation: balloonDotAnim2 3s ease-in-out alternate infinite both;
  animation: balloonDotAnim2 3s ease-in-out alternate infinite both;
}
#chara_box .prince .chara_img {
    position: absolute;
    top: 1676px;
    left: 430px;
    z-index: 3;
}
#chara_box .prince .chara_txt {
  margin: 0 0 265px 120px;
  -webkit-animation: balloonAnim 3s ease-in-out alternate infinite both;
  animation: balloonAnim 3s ease-in-out alternate infinite both;
}
#chara_box .prince .chara_txt:after {
  left: 253px;
  bottom: -50px;
}
#chara_box .witch {
  height: 1200px;
}
#chara_box .witch .chara_img {
  position: absolute;
  top: 2568px;
  left: 12px;
  z-index: 3;
}
#chara_box .witch .chara_txt {
  margin: 0 0 0 492px;
  -webkit-animation: balloonAnim2 3s ease-in-out alternate infinite both;
  animation: balloonAnim2 3s ease-in-out alternate infinite both;
}
#chara_box .witch .chara_txt:after {
  left: 86px;
  bottom: -50px;
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
  -webkit-filter: FlipH;
  filter: FlipH;
  -ms-filter: "FlipH";
  -webkit-animation: balloonDotAnim2 3s ease-in-out alternate infinite both;
  animation: balloonDotAnim2 3s ease-in-out alternate infinite both;
}


#subNav ul li a.stage, #subNav ul li a.stage img {
    background-image: url(../img/system/sub_nav_stage.png);
}

#subNav ul li a.collection, #subNav ul li a.collection img {
    background-image: url(../img/system/sub_nav_collection.png);
}


#chara_box .chara_txt2 {
    position: relative;
    width: 1080px;
    margin: 0 0 30px;
    text-align: center;
}


.witch_pop {
    width: 1020px;
    margin: 42px 0 40px;
    text-align: right;
}

/* システム */
#subNav ul li a.action,
#subNav ul li a.action img {
  background-image: url(../img/system/sub_nav_action.png);
}
#subNav ul li a.monster,
#subNav ul li a.monster img {
  background-image: url(../img/system/sub_nav_monster.png);
}
#subNav ul li a.present,
#subNav ul li a.present img {
  background-image: url(../img/system/sub_nav_present.png);
}

#contents.action #mainBox #action,
#contents.monster #mainBox #monster,
#contents.present #mainBox #present,
#contents.stage #mainBox #stage,
#contents.collection #mainBox #collection
 {
  display: block;
}

/* ギャラリー */
#subNav ul li a.movie,
#subNav ul li a.movie img {
  background-image: url(../img/gallery/sub_nav_movie.png)
}
#subNav ul li a.imageboard,
#subNav ul li a.imageboard img {
  background-image: url(../img/gallery/sub_nav_imageboard.png)
}

#contents.movie #mainBox #movie,
#contents.imageboard #mainBox #imageboard {
  display: block;
}
.mv_list {
  width: 714px;
  margin: 0 auto;
}
.mv_list li {
  position: relative;
  float: left;
  margin: 0 1px 20px;
  -webkit-animation: fadeIn 0.5s linear 0.3s both;
  animation: fadeIn 0.5s linear 0.3s both;
}
.mv_list li:nth-child(2n+1) {
  clear: left;
}
.mv_list li.new:after {
  content: url(../img/new.png);
  position: absolute;
  top: -14px;
  right: 11px;
  display: block;
  width: 55px;
  height: 21px;
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
  -webkit-animation: blink 3.2s ease-in-out infinite;
  animation: blink 3.2s ease-in-out infinite;
  z-index: 100;
}
.mv_list li.recitation.new:after {
  right: 62px;
}
.mv_list h3 {
  margin: 0;
  text-align: center;
}
.mv_list h3 img {
  position: relative;
  left: -2px;
}.mv_list .play_btn {
  position: relative;
  display: block;
  width: 354px;
  height: 210px;
  padding: 10px 9px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: url(../img/gallery/bg.png) 0 0 no-repeat;
}.mv_list .play_btn {
  position: relative;
  display: block;
  width: 354px;
  height: 210px;
  padding: 10px 9px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: url(../img/gallery/bg.png) 0 0 no-repeat;
}
.mv_list .play_btn {
  position: relative;
  display: block;
  width: 354px;
  height: 210px;
  padding: 10px 9px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: url(../img/gallery/bg.png) 0 0 no-repeat;
}
.mv_list .play_btn:after {
  content: url(../img/gallery/on.png);
  position: absolute;
  top: 41px;
  left: 111px;
  display: block;
  width: 128px;
  height: 128px;
  opacity: 0;
}
.mv_list .play_btn:hover:after {
  opacity: 1;
}
.mv_list .mv_obj {
  width: 332px;
  height: 188px;
  background: url(../img/loading.gif) 50% 50% no-repeat;
}

/* スペシャル */
#subNav ul li a.n1shop,
#subNav ul li a.n1shop img {
  background-image: url(../img/special/sub_nav_n1shop.png);
}

#subNav ul li a.benefits,
#subNav ul li a.benefits img {
  width: 232px;
  height: 70px;
  background-image: url(../img/special/sub_nav_benefits.png);
}
#subNav ul li a.tieup,
#subNav ul li a.tieup img {
  background-image: url(../img/special/sub_nav_tieup.png);
}

#subNav ul li a.standard,
#subNav ul li a.standard img {
  background-image: url(../img/special/sub_nav_standard.png);
}

#contents.tieup #mainBox #tieup,
#contents.n1shop #mainBox #n1shop,
#contents.standard #mainBox #standard
 {
  display: block;
}
.n1shop #mainBox {
  margin: 0 0 0 262px;
}
.n1shop #mainBox article {
  padding: 0 0 260px 52px;
}
.n1shop_txt {
  position: relative;
}
.pop_art {
  position: absolute;
  top: 292px;
  left: 192px;
}
.shop_btns {
  position: relative;
  text-align: center;
}
.shop_btns ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -webkit-justify-content: center;
  -ms-flex-pack: justify;
  justify-content: center;
  margin: 0 115px;
}
.shop_btns ul li a,
.shop_btns ul li a img {
  display: block;
  width: 232px;
  height: 74px;
}
.shop_btns ul li a img {
  background-position: 0 100%;
  opacity: 0;
  -webkit-transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear;
}
.shop_btns ul li a:hover img {
  opacity: 1;
}

.shop_btns ul li a.ps4,
.shop_btns ul li a.ps4 img {
  background-image: url(../img/special/btn_n1shop_ps4.png);
}
.shop_btns ul li a.vita,
.shop_btns ul li a.vita img {
  background-image: url(../img/special/btn_n1shop_psvita.png);
}
.shop_btns ul li a.nsw,
.shop_btns ul li a.nsw img {
  background-image: url(../img/special/btn_n1shop_nsw.png);
}

.shop_btns ul li a.ps,
.shop_btns ul li a.ps img {
  background-image: url(../img/special/btn_ps.png);
}
.shop_btns ul li a.es,
.shop_btns ul li a.es img {
  background-image: url(../img/special/btn_es.png);
}
.shop_btns ul li a.steam,
.shop_btns ul li a.steam img {
  background-image: url(../img/special/btn_steam.png);
}
#tieup .link {
  display: block;
  width: 350px;
  height: 29px;
  background: url(../img/special/link_tieup01.png) 0 0 no-repeat;
}
#tieup .link img {
  display: block;
  width: 350px;
  height: 29px;
  background: url(../img/special/link_tieup01.png) 0 100% no-repeat;
  opacity: 0;
}
#tieup .link:hover img {
  opacity: 1;
}


a.preorder,
a.preorder img {
  display: block;
  width: 232px;
  height: 74px;
  margin: auto
}
a.preorder img {
  background-position: 0 100%;
  opacity: 0;
  -webkit-transition: opacity 0.5s linear;
  -o-transition: opacity 0.5s linear;
  transition: opacity 0.5s linear;
}
a.preorder:hover img {
  opacity: 1;
}

a.preorder,
a.preorder img {
  background-image: url(../img/special/btn_preorder.png);
}

.pop_images.center {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}



