* {
  margin: 0;
  padding: 0;
  font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
  -webkit-text-size-adjust:none;
}
html,
body {
  background:#000;
  color:#fff;
  font-size:16px;
  width: 100%;
  height: 100%;
  min-width: 640px;
  min-height: 480px;
}
body {
  xoverflow: hidden;
}
a {color:#f00;}
a:hover {  text-decoration: none; }
a,img {  border:none; }
li {  list-style-type:none; }
::selection {    background:#900; }
::-moz-selection {    background:#900;  }
.noselect,
img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.legacy_ie {
  text-align:center;
  position: absolute;
  top: 15px;
  left:50%;
  width: 640px;
  margin-left: -320px;
  padding:10px 0;
  background:#000;
  z-index: 9999;
  border:2px solid #f00;
}
#container {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}


/*
body::-webkit-scrollbar {
  background:#000;
}
body::-webkit-scrollbar-thumb {
  background:#f00;
}
body::-webkit-scrollbar-button {
  background:#f00;
}
*/


/*-----------------------*/
/* loading */
/*-----------------------*/
#loading {
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index:1900;
  background-position:center center;
  background-repeat:no-repeat;
  background-color:#000;
}
#loading_progress {
  width: 640px;
  line-height: 88px;
  position: absolute;
  left: 50%;
  margin-left: -320px;
  top:50%;
  margin-top: 100px;
  line-height: 88px;
  text-align: center;
  font-size:24px;
  color:red;
}
#loading_start {
  width: 640px;
  height: 88px;
  position: absolute;
  left: 50%;
  margin-left: -320px;
  top:50%;
  margin-top: 100px;
  display: none;
}
#loading_start a {
  display: block;
  margin-left:24px;
  margin-right: 24px;
  height: 88px;
  text-align: center;
  line-height: 88px;
  background:#d00;
  color:#000;
  font-size:48px;
  font-weight: bold;
  text-decoration: none;
  font-family: Helvetica, Arial;
  border-radius: 6px;
  box-shadow:0 6px 0 #500;
}


/*-----------------------*/
/* header */
/*-----------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 1000px;
  width: 100%;
  height: 88px;
  z-index: 2000;
  background:url(../img/head_bg.png) 0 0 repeat-x;
}
#header .logo_3ds {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
}
#header .logo_game {
  display: block;
  position: fixed;
  top: 0;
  right: 0;
}

/*-----------------------*/
/* info */
/*-----------------------*/
#info {
  width: 600px;
  height: 480px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left:-300px;
  margin-top: -240px;
  background:url(../img/info2.jpg) 0 0 no-repeat;
  border-radius: 10px;
  z-index: 2000;
  display: none;
}
#info a:hover {
  opacity: 0.5;
}
#info .inner {
  position: relative;
  width: 600px;
  height: 480px;
}
#info .to_web {
  position: absolute;
  left: 323px;
  bottom: 40px;
  display: block;
  height: 70px;
  width: 240px;
  text-indent: -9999px;
  background-image:url(../img/button.png);
  background-repeat: no-repeat;
  background-position: 0 -70px;
}
#share {
  text-align: center;
  height:70px;
  width: 240px;
  position: absolute;
  left: 40px;
  bottom: 40px;
}
#share a {
  display: inline-block;
  height:70px;
  width: 70px;
  overflow: hidden;
  background-image:url(../img/button.png);
  background-repeat: no-repeat;
  text-indent: -9999px;
}
#share .share_facebook {
  background-position: 0 0;
}
#share .share_twitter {
  background-position: -70px 0;
}
#share .share_line {
  background-position: -140px 0;
}
#share:after {
  display: block;
  content: " ";
  clear: both;
}


/*-----------------------*/
/* image */
/*-----------------------*/
#image {
  position: fixed;
  top: 0;
  left: 0;
  z-index:105;
}
#image .inner {
  height: 100%;
  width: 100%;
}
#image img {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
#image #image1,
#image #edge {
  display: block;
}
#image0 {
  background:#000;
}



/*-----------------------*/
/* main */
/*-----------------------*/
#main {
  width: 100%;
  min-height: 100%;
  background:url(../img/dummy.png) 0 0 repeat;
  display: none;
}
#main .inner {
  width: 640px;
  min-height: 100%;
  margin:0 auto;
  position: relative;
  z-index: 1000;
}
#main .inner:before {
  content: " ";
  display: block;
  height: 50%;
}


.act {
  display: none;
}

.page {
  width: 100%;
}

.text0 {  background-position: 0 0; }
.text1 {  background-position: 0 -50px; }
.text2 {  background-position: 0 -100px; }
.text3 {  background-position: 0 -150px; }
.text4 {  background-position: 0 -200px; }
.text5 {  background-position: 0 -250px; }
.text6 {  background-position: 0 -300px; }
.text7 {  background-position: 0 -350px; }
.text8 {  background-position: 0 -400px; }
.text9 {  background-position: 0 -450px; }
.text10 {  background-position: 0 -500px; }
.text11 {  background-position: 0 -550px; }
.text12 {  background-position: 0 -600px; }
.text13 {  background-position: 0 -650px; }
.text14 {  background-position: 0 -700px; }
.text15 {  background-position: 0 -750px; }
.text16 {  background-position: 0 -800px; }
.text17 {  background-position: 0 -850px; }
.text18 {  background-position: 0 -900px; }
.text19 {  background-position: 0 -950px; }

.space_line {
  height: 50px;
  width: 640px;
  margin:0 auto;
}
.space_h {
  height: 360px;
  width: 640px;
  margin:0 auto;
}
.text {
  height: 50px;
  width: 640px;
  margin:0 auto;
  background-repeat: no-repeat;
  overflow: hidden;
  text-indent: -9999px;
}


div[id^=act] {
  xborder:1px solid red;
}

.page0 .text {  background-image: url(../img/text0.png);}
.page1 .text {  background-image: url(../img/text1.png);}
.page2 .text {  background-image: url(../img/text2.png);}
.page3 .text {  background-image: url(../img/text3.png);}
.page4 .text {  background-image: url(../img/text4.png);}
.page5 .text {  background-image: url(../img/text5.png);}


.kaeshite .text {
  background-image: url(../img/text0.png) !important;
}
.kaeshite .act0 .text,
.kaeshite .act1 .text,
.kaeshite .act2 .text,
.kaeshite .act3 .text {
  background-position: 0 -100px !important;
}
.kaeshite .act4 .text,
.kaeshite .act5 .text {
  background-position: 0 -50px !important;
}