@charset "utf-8";

.second_bg {
  position: fixed;
  top: 0; right: 0; left: 0;
  width: 100%;
  height: 100vh;
  z-index: 0;
  background: url(../img/bg_second.jpg) 50% 0 / auto 100% no-repeat;
  overflow: hidden;
}
.second_bg .loop {
  position: absolute;
  top: 0; right: -50%; left: -50%;
  width: 200%;
  height: 200%;
  background: 0 0 repeat;
  -webkit-animation: bgLoop 4.8s linear infinite both;
  animation: bgLoop 4.8s linear infinite both;
}
.second_bg #myCanvas {
  position: absolute;
  top: 0; right: -100%; left: -100%;
  margin: 0 auto;
  z-index: 10;
}
/*#secondFrame .top {
  position: fixed;
  top: 0; right: 0; left: 0;
  width: 100%;
  max-width: 1280px;
  height: 120px;
  margin: 0 auto;
  background: 50% 0 no-repeat;
  z-index: 9000;
}
#secondFrame .right {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 9000;
}
#secondFrame .bottom {
  position: fixed;
  right: 0; bottom: 0; left: 0;
  width: 100%;
  max-width: 1280px;
  height: 120px;
  margin: 0 auto;
  background: 50% 100% no-repeat;
  z-index: 9000;
}
#secondFrame .left {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  z-index: 9000;
}*/

#contents #singleBox {
  -webkit-animation: fadeIn 0.6s linear backwards;
  animation: fadeIn 0.6s linear backwards;
}
/* ---------------------------------
  メインボックス
---------------------------------- */
#contents {
  min-height: 120vh;
}
#contents #mainBox article {
  display: none;
}
#contents #mainBox article p.new:after {
  top: -43px;
  right: auto;
  left: -5px;
}
#contents .singleBox {
  position: relative;
  z-index: 1;
}

hr {
  border: none;
  display: block;
  width: 647px;
  height: 18px;
  margin: 0 0 15px;
  background: url(../img/line.png) 0 0 / 100% auto no-repeat;
}
/* ---------------------------------
  キャラクター
---------------------------------- */
.chara_nav {
  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;
  margin: 0 0 30px;
}
.chara_nav li {
  position: relative;
  width: 242px;
  margin: 0 7px;
}
.chara_nav li a {
  display: block;
  width: 242px;
  height: 78px;
  background: 0 0 no-repeat;
}
.chara_nav li a img {
  display: block;
  width: 242px;
  height: 78px;
  background: 0 100% no-repeat;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}
.chara_nav li a.player_chara,
.chara_nav li a.player_chara img {
  background-image: url(../img/character/btn_playercharacter.png);
}
.chara_nav li a.sub_chara,
.chara_nav li a.sub_chara img {
  background-image: url(../img/character/btn_subcharacter.png);
}
.chara_nav li a:hover img {
  opacity: 1;
}
#jobs {
}
#jobs .jobNav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  -ms-flex-align: end;
  align-items: flex-end;
  padding: 42px 0 0;
  margin: 0 0 24px 2px;
}
#jobs .jobNav li {
  position: relative;
}
#jobs .jobNav li:nth-child(1) { width: 112px; }
#jobs .jobNav li:nth-child(2) { width: 118px; }
#jobs .jobNav li:nth-child(3) { width: 124px; }
#jobs .jobNav li:nth-child(4) { width: 112px; }
#jobs .jobNav li:nth-child(5) { width: 118px; }
#jobs .jobNav li:nth-child(6) { width: 110px; }
#jobs .jobNav li:nth-child(7) { width: 114px; }

#jobs .jobNav li:before {
  content: "";
  position: absolute;
  bottom: 160px;
  display: block;
  width: 56px;
  height: 54px;
  background: url(../img/character/icon_arrow.png) 0 0 no-repeat;
  opacity: 0;
}
#jobs .jobNav li:nth-child(1):before { left: 28px; }
#jobs .jobNav li:nth-child(2):before { left: 33px; }
#jobs .jobNav li:nth-child(3):before { left: 34px; }
#jobs .jobNav li:nth-child(4):before { left: 23px; }
#jobs .jobNav li:nth-child(5):before { left: 25px; }
#jobs .jobNav li:nth-child(6):before { left: 20px; }
#jobs .jobNav li:nth-child(7):before { left: 22px; }
#jobs .jobNav li:nth-child(8):before { left: 21px; }

#jobs .jobNav li:hover:before {
  opacity: 1;
  -webkit-animation: arrowDown 0.45s ease both infinite;
  animation: arrowDown 0.45s ease both infinite;
}

#jobs .jobNav button,
#jobs .jobNav button img {
  display: block;
  background: 0 0 / 100% auto no-repeat;
}
#jobs .jobNav button {
}
#jobs .jobNav button img {
  opacity: 0;
  background-position: 0 100%;
}
#jobs.job01 .jobNav li:nth-child(1) button img,
#jobs.job02 .jobNav li:nth-child(2) button img,
#jobs.job03 .jobNav li:nth-child(3) button img,
#jobs.job04 .jobNav li:nth-child(4) button img,
#jobs.job05 .jobNav li:nth-child(5) button img,
#jobs.job06 .jobNav li:nth-child(6) button img,
#jobs.job07 .jobNav li:nth-child(7) button img,
#jobs.job08 .jobNav li:nth-child(8) button img {
  opacity: 1;
}
#jobs .jobNav li:nth-child(1) button,
#jobs .jobNav li:nth-child(1) button img {
  width: 129px;
  height: 172px;
  background-image: url(../img/character/btn_job01.png);
}
#jobs .jobNav li:nth-child(2) button,
#jobs .jobNav li:nth-child(2) button img {
  width: 130px;
  height: 157px;
  background-image: url(../img/character/btn_job02.png);
}
#jobs .jobNav li:nth-child(3) button,
#jobs .jobNav li:nth-child(3) button img {
  width: 130px;
  height: 148px;
  background-image: url(../img/character/btn_job03.png);
}
#jobs .jobNav li:nth-child(4) button,
#jobs .jobNav li:nth-child(4) button img {
  width: 111px;
  height: 160px;
  background-image: url(../img/character/btn_job04.png);
}
#jobs .jobNav li:nth-child(5) button,
#jobs .jobNav li:nth-child(5) button img {
  width: 114px;
  height: 163px;
  background-image: url(../img/character/btn_job05.png);
}
#jobs .jobNav li:nth-child(6) button,
#jobs .jobNav li:nth-child(6) button img {
  width: 107px;
  height: 161px;
  background-image: url(../img/character/btn_job06.png);
}
#jobs .jobNav li:nth-child(7) button,
#jobs .jobNav li:nth-child(7) button img {
  width: 109px;
  height: 168px;
  background-image: url(../img/character/btn_job07.png);
}
#jobs .jobNav li:nth-child(8) button,
#jobs .jobNav li:nth-child(8) button img {
  width: 110px;
  height: 164px;
  background-image: url(../img/character/btn_job08.png);
}
#jobs section {
  position: relative;
  display: none;
}
#jobs.job01 section:nth-of-type(1),
#jobs.job02 section:nth-of-type(2),
#jobs.job03 section:nth-of-type(3),
#jobs.job04 section:nth-of-type(4),
#jobs.job05 section:nth-of-type(5),
#jobs.job06 section:nth-of-type(6),
#jobs.job07 section:nth-of-type(7),
#jobs.job08 section:nth-of-type(8) {
  display: block;
}
#jobs section .jobimg {
  position: relative;
  -webkit-transform: translate3d(100%,0,0);
  transform: translate3d(100%,0,0);
  opacity: 0;
}
#jobs section:nth-of-type(1) .jobimg {
  left: -5.2%;
}
#jobs section:nth-of-type(2) .jobimg {
  top: 10.5%;
  left: -4%;
}
#jobs section:nth-of-type(3) .jobimg {
  top: 31%;
  left: -4.3%;
}
#jobs section:nth-of-type(4) .jobimg {
  top: 23%;
  left: -7.5%;
}
#jobs section:nth-of-type(5) .jobimg {
  top: 10%;
  left: -4.5%;
}
#jobs section:nth-of-type(6) .jobimg {
  top: 18.5%;
  left: -7%;
}
#jobs section:nth-of-type(7) .jobimg {
  top: 13%;
  left: -11%;
}
#jobs section:nth-of-type(8) .jobimg {
  top: 7%;
  left: -7.5%;
}
#jobs.job01 section:nth-of-type(1) .jobimg,
#jobs.job02 section:nth-of-type(2) .jobimg,
#jobs.job03 section:nth-of-type(3) .jobimg,
#jobs.job04 section:nth-of-type(4) .jobimg,
#jobs.job05 section:nth-of-type(5) .jobimg,
#jobs.job06 section:nth-of-type(6) .jobimg,
#jobs.job07 section:nth-of-type(7) .jobimg,
#jobs.job08 section:nth-of-type(8) .jobimg {
  -webkit-animation: jobImgSlideIn 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) both;
  animation: jobImgSlideIn 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) both;
}
#jobs section p {
  position: absolute;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  -webkit-transform-origin: -40% 130%;
  -ms-transform-origin: -40% 130%;
  transform-origin: -40% 130%;
}
#jobs section:nth-of-type(1) p {
  top: 5%;
  left: 45%;
}
#jobs section:nth-of-type(2) p {
  top: 2%;
  left: 46.5%;
}
#jobs section:nth-of-type(3) p {
  top: 1.7%;
  left: 43.5%;
}
#jobs section:nth-of-type(4) p {
  top: 4%;
  left: 45%;
}
#jobs section:nth-of-type(5) p {
  top: 5%;
  left: 42%;
}
#jobs section:nth-of-type(6) p { 
  top: 1.8%;
  left: 43%;
}
#jobs section:nth-of-type(7) p {
  top: 2%;
  left: 39%;
}
#jobs section:nth-of-type(8) p {
    top: 6%;
    left: 37%;
}
#jobs.job01 section:nth-of-type(1) p,
#jobs.job02 section:nth-of-type(2) p,
#jobs.job03 section:nth-of-type(3) p,
#jobs.job04 section:nth-of-type(4) p,
#jobs.job05 section:nth-of-type(5) p,
#jobs.job06 section:nth-of-type(6) p,
#jobs.job07 section:nth-of-type(7) p,
#jobs.job08 section:nth-of-type(8) p {
  -webkit-animation: bounceIn 0.4s linear 0.2s both;
  animation: bounceIn 0.4s linear 0.2s both;
}
#jobs section p .miniChara {
  position: absolute;
  top: -13%;
  right: -11%;
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  -webkit-transform-origin: 40% 90%;
  -ms-transform-origin: 40% 90%;
  transform-origin: 40% 90%;
}
#jobs section:nth-of-type(1) p .miniChara {
  position: absolute;
  top: -9%;
  right: -23%;
}

#jobs section:nth-of-type(2) p .miniChara {
  position: absolute;
  top: -9%;
  right: -9%;
}
#jobs section:nth-of-type(4) p .miniChara {
  position: absolute;
  top: -12%;
  right: -14%;
}
#jobs section:nth-of-type(5) p .miniChara {
    position: absolute;
    top: 3%;
    right: -13%;
}
#jobs section:nth-of-type(6) p .miniChara {
  position: absolute;
  top: -4%;
  right: -12%;
}
#jobs section:nth-of-type(7) p .miniChara {
  position: absolute;
  top: 33%;
  right: -21%;
}
#jobs section:nth-of-type(8) p .miniChara {
    position: absolute;
    top: -16%;
    right: -9%;
}
#jobs.job01 section:nth-of-type(1) p .miniChara,
#jobs.job02 section:nth-of-type(2) p .miniChara,
#jobs.job03 section:nth-of-type(3) p .miniChara,
#jobs.job04 section:nth-of-type(4) p .miniChara,
#jobs.job05 section:nth-of-type(5) p .miniChara,
#jobs.job06 section:nth-of-type(6) p .miniChara,
#jobs.job07 section:nth-of-type(7) p .miniChara,
#jobs.job08 section:nth-of-type(8) p .miniChara {
  -webkit-animation: jobZoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s both;
  animation: jobZoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s both;
}
#jobs section .pop {
  position: absolute;
  top: 61%;
  right: 1%;
  -webkit-transform: translate3d(-8%,0,0);
  transform: translate3d(-8%,0,0);
  opacity: 0;
}
#jobs.job01 section:nth-of-type(1) .pop,
#jobs.job02 section:nth-of-type(2) .pop,
#jobs.job03 section:nth-of-type(3) .pop,
#jobs.job04 section:nth-of-type(4) .pop,
#jobs.job05 section:nth-of-type(5) .pop,
#jobs.job06 section:nth-of-type(6) .pop,
#jobs.job07 section:nth-of-type(7) .pop,
#jobs.job08 section:nth-of-type(8) .pop {
  -webkit-animation: jobPopSlideIn 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s both;
  animation: jobPopSlideIn 0.4s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s both;
}
@-webkit-keyframes jobImgSlideIn {
  0% {
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
    opacity: 0;
  }
  to {
    -webkit-transform: translate3D(0px,0,0);
    transform: translate3D(0px,0,0);
    opacity: 1;
  }
}
@keyframes jobImgSlideIn {
  0% {
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
    opacity: 0;
  }
  to {
    -webkit-transform: translate3D(0px,0,0);
    transform: translate3D(0px,0,0);
    opacity: 1;
  }
}
@-webkit-keyframes jobZoomIn {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes jobZoomIn {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
    opacity: 0;
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
@-webkit-keyframes jobPopSlideIn {
  0% {
    -webkit-transform: translate3d(-8%,0,0);
    transform: translate3d(-8%,0,0);
    opacity: 0;
  }
  to {
    -webkit-transform: translate3D(0px,0,0);
    transform: translate3D(0px,0,0);
    opacity: 1;
  }
}
@keyframes jobPopSlideIn {
  0% {
    -webkit-transform: translate3d(-8%,0,0);
    transform: translate3d(-8%,0,0);
    opacity: 0;
  }
  to {
    -webkit-transform: translate3D(0px,0,0);
    transform: translate3D(0px,0,0);
    opacity: 1;
  }
}
#character .sub01 {
  position: relative;
  padding: 294px 0 12px 96px;
}
#character .sub01 .balloon {
  position: absolute;
  top: 7px;
  left: 7px;
}
#character .sub01 .pop {
    position: absolute;
    top: 214px;
    right: 50px;
    display: block;
    width: 386px;
}
#character .sub01 .pop img {
  display: block;
  width: 386px;
  height: auto;
}
#character .sub01 .txt {
    position: absolute;
    top: 42px;
    right: 50px;
}

/* ---------------------------------
システム
---------------------------------- */
#system article#gamesystem .img01 {
  float: right;
  margin: 34px -4px 24px 0;
}
#contents #mainBox.gamesystem article#gamesystem,
#contents #mainBox.stage article#stage,
#contents #mainBox.treasure article#treasure,
#contents #mainBox.route article#route,
#contents #mainBox.monster article#monster,
#contents #mainBox.basesystem article#basesystem {
  display: block;
}
#system h3 {
  position: relative;
  margin: 52px 0 0;
}
#system h3.new:after {
  top: -24px;
  right: auto;
  left: -2px;
}
.chara_list {
  position: relative;
  margin: 0 0 20px;
}
.chara_list .go_chara_page {
  position: absolute;
  top: -60px;
  right: 0;
  display: block;
  width: 137px;
  height: 53px;
  background: url(../img/system/btn_character.png) 0 0 no-repeat;
}
.chara_list .go_chara_page img {
  display: block;
  width: 137px;
  height: 53px;
  background: url(../img/system/btn_character.png) 0 100% no-repeat;
  opacity: 0;
  -webkit-transform: opacity 0.15s linear;
  -ms-transform: opacity 0.15s linear;
  transform: opacity 0.15s linear;
}
.chara_list .go_chara_page:hover img {
  opacity: 1;
}
.chara_list p {
  position: relative;
  width: 594px;
  margin: 0 auto 16px;
  background: 0 0 / 100% auto no-repeat
}
.chara_list.assist .job01 {
  height: 306px;
  background-image: url(../img/system/txt_gamesystem11.png);
}
.chara_list.assist .job02 {
  height: 310px;
  background-image: url(../img/system/txt_gamesystem12.png);
}
.chara_list.assist .job03 {
  height: 310px;
  background-image: url(../img/system/txt_gamesystem13.png);
}
.chara_list.assist .job04 {
  height: 310px;
  background-image: url(../img/system/txt_gamesystem14.png);
}

.chara_list.assist .job05 {
    height: 310px;
    background-image: url(../img/system/txt_gamesystem27.png);
}

.chara_list.assist .job06 {
    height: 310px;
    background-image: url(../img/system/txt_gamesystem28.png);
}

.chara_list.assist .job07 {
    height: 310px;
    background-image: url(../img/system/txt_gamesystem29.png);
}

.chara_list.assist .job08 {
    height: 317px;
    background-image: url(../img/system/txt_gamesystem30.png);
}

.chara_list.extra .job01 {
  height: 317px;
  background-image: url(../img/system/txt_gamesystem16.png);
}
.chara_list.extra .job02 {
  height: 317px;
  background-image: url(../img/system/txt_gamesystem17.png);
}
.chara_list.extra .job03 {
  height: 317px;
  background-image: url(../img/system/txt_gamesystem18.png);
}
.chara_list.extra .job04 {
  height: 317px;
  background-image: url(../img/system/txt_gamesystem19.png);
}

.chara_list.extra .job05 {
    height: 317px;
    background-image: url(../img/system/txt_gamesystem31.png);
}

.chara_list.extra .job06 {
    height: 317px;
    background-image: url(../img/system/txt_gamesystem32.png);
}

.chara_list.extra .job07 {
    height: 317px;
    background-image: url(../img/system/txt_gamesystem33.png);
}

.chara_list.extra .job08 {
    height: 317px;
    background-image: url(../img/system/txt_gamesystem34.png);
}


.chara_list p a {
  position: absolute;
  bottom: 24px;
  left: 204px;
  width: 303px;
  height: auto;
}

.chara_list p a img {
  width: 303px;
  height: auto;
}

/* ---------------------------------
ギャラリー
---------------------------------- */
#contents #mainBox.movie article#movie {
  display: block;
}
.mv_list h3 {
  text-align: center;
}
.mv_list .play_btn {
  position: relative;
  display: block;
  background: #000;
  -webkit-box-shadow: 0 0 7px 2px rgba(255,235,139,1);
  box-shadow: 0 0 7px 2px rgba(255,235,139,1);
}

/*new*/
#monster .pop.boss {
    position: absolute;
    top: 342px;
    left: 342px;
    width: 290px;
    height: auto;
}

#monster .pop.boss img {
    width: 100%;
    height: auto;
}

.gate_open .pop_image_center {
    position: relative;
}

.gate_open .pop_image_center .img_route01 {
    position: absolute;
    top: 230px;
    left: 254px;
    width: 289px;
    height: 116px;
    pointer-events: none;
}

.gate_open .pop_image_center .img_route02 {
    display: block;
    width: 378px;
    height: 120px;
    margin: 42px auto 0;
}