@charset "UTF-8";

html, body, h1, h2, h3, h4, ul, ol, dl, li, dt, dd, p, div, span, img, a, table, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: normal;
  font-size: 100%;
  vertical-align:baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
article, header, footer, aside, figure, figcaption, nav, section {
  display:block;
}
body {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
ol, ul {
  list-style: none;
  list-style-type: none;
}

body {
    font-family: Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

/* top */

#wrap,
#page2 {
    margin:0 auto;
    max-width: 1200px;
}

#wrap .bg {
    position: relative;
}

#wrap .btn {
    position: absolute;
    bottom: 6%;
    width: 90%;
    left: 0;
    right: 0;
    margin: auto;
}

/* page2 */

#page2 .bg {
    position: relative;
}

#page2 ul {
    position: absolute;
    top: 25%;
    width: 80%;
    left: 0;
    right: 0;
    margin: auto;
}

#page2 ul li {
    width: 33.333%;
    float: left;
    padding: 1%;
    box-sizing: border-box;
}

/* page3 */

#page3 .bg {
    position: relative;
}

#page3 .bt2,
#page3 .bt3,
#page3 .bt4,
#page3 .bt5 {
    position: absolute;
    top: 29%;
    width: 65%;
    left: 0;
    right: 0;
    margin: auto;
}

#page3 .btn {
    position: absolute;
    top: 47%;
    width: 87%;
    left: 0;
    right: 0;
    margin: auto;
}

#page3 .load {
    position: absolute;
    top: 47%;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 2;

    display: none;
}

#page3 .load_text {
    position: absolute;
    top: 61%;
    left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    font-weight: bold;
    color: red;
    text-shadow: 2px 2px 1px #fff;
    font-size: 30px;

    display: none;
}

#page3 .over {
    width: 100%;
    height: 100%;
    background: #0000004f;
    z-index: 2;
    position: fixed;
}

/* page4 */
#page4 .bg {
    position: relative;
    top: -1px;
}

#page4 .btn {
    position: absolute;
    bottom: 26%;
    width: 90%;
    left: 0;
    right: 0;
    margin: auto;
}


.effect {
    background-image: url(img/effect.gif);
    z-index: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: none;
}

.bt5 {
    background: #ecece3;
    border-radius: 50%;
}

.anime {
    background-image: url(img/anime.gif);
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    background-repeat: repeat;
    pointer-events: none;
}

.anime2 {
    background-image: url(img/anime.gif);
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    background-repeat: repeat;
    background-position: left;
    pointer-events: none;
}