/*
Theme Name: Akiba Dakkan LP smp
Author: Shuco Masubuchi
Author URI: http://akiba-dakkan.jp
Description: smp用
*/


/* CSS Document */

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

#content {
	overflow-x: hidden;
}

body::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background:url(img/bg.gif) center/cover no-repeat; /*fixedをトル！*/
  -webkit-background-size:cover;/*Android4*/
  }

#load {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  background: #fff;
  z-index: 1;
}
 
#load #loader {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 500px;
  margin-left: -250px;
  text-align: center;
  color: #fff;
  z-index: 2;
}

header {
	position: relative;
	margin: 0 0 200px;
}

header img {
	width: 100%;
	height: auto;
	margin: 0 0 30px;
}

.yt {
	position: absolute;
	top: 1570px;
	left: 50%;
	margin-left: -320px;
	border: 10px solid yellow;
	border-radius: 5px;
	box-shadow: 2px 4px 10px;
}

.join {
	position: absolute;
	top: 1360px;
	width: 720px;
	left: 50%;
	margin-left: -360px;
}

#app {
	display: none;
	margin: -6px 0 0 0;
}

#app img{
	width: 100%;
	height: auto;
	margin:0;
}

nav {
	clear: both;
	overflow: hidden;
	margin-bottom:40px;
}

nav ul li a img {
	width: 100%;
	height: auto;
}

nav ul li{
	float: left;
	width: 48%;
	margin: 0 1%;
	text-decoration: none;
	list-style: none;
}

#news img {
	width: 100%;
}

#news div.wrap {
	background: url(img/news_bgm.png);
	background-size: 100%;
	padding:50px 50px;
	color: #000;
	margin-top: -7px;
	max-height: 500px;
	overflow-y: scroll;
}

#news div.wrap header{
	margin-bottom: 15px;
}

#news div.wrap p {
	font-size: 30px;
	line-height: 1.5;
}

#news div.wrap h1 {
	font-size: 45px;
}

#news div.wrap img {
	width: 100%;
	height: auto;
}

#news div.wrap article {
	margin-bottom: 80px;
}

#news div.wrap article:last-child {
	margin-bottom: 0;
}

img.bnr {
	width: 90%;
	margin: 30px 5% 0;
}

.what img.txt {
	width: 100%;
}

.txt {
	z-index: 3;
	position: relative;
}

.move {
	opacity: 0;
}

.charamove {
	-webkit-transition: all 1s ease;
	-webkit-transform: translate(0,0);
}

.lef.move {
	-webkit-transform: translate(-100px, 0);
}

.rig.move {
	-webkit-transform: translate(100px, 0);
}

.p1, .p2, .p3, .p4, .c1, .c2, .c3, .c4{
	position: absolute;
	z-index: 1;
}

.p1 {
	bottom: 0;
	right: 0px;
}

.p2 {
	bottom: 0;
	left: -180px;
}

.p3 {
	bottom: 0;
	left: -150px;
}

.p4 {
	bottom: 0;
	right: -210px;
}

.c1 {
	top: 120px;
	left: 220px;
}

.c2 {
	top: 190px;
	right: 10px;
}

.c3 {
	top: 670px;
	left: 80px;
}

.c4 {
	top: 770px;
	right: 70px;
}


#story {
	clear: both;
	margin-top: 80px;
	background: url(img/story.png) no-repeat;
	background-size: 100%;
	position: relative;
}

#battle {
	clear: both;
	margin-top: 60px;
	background: url(img/battle.png) no-repeat;
	background-size: 100%;
	position: relative;
}

#chara {
	clear: both;
	margin-top: 60px;
	background: url(img/chara.png) no-repeat;
	background-size: 100%;
	position: relative;
}

#mode {
	clear: both;
	margin-top: 60px;
	background: url(img/mode.png) no-repeat;
	background-size: 100%;
	position: relative;
}

#join {
	clear: both;
	margin-top: 60px;
	margin-bottom: 180px;
	background: url(img/jizen_bg.png) no-repeat;
	background-size: 100%;
	background-repeat: no-repeat;
	position: relative;
	overflow: hidden;

}

.btnarea {
	width: 80%;
	position: absolute;
	top: 35%;
	left: 10%;
	z-index: 3;
}

.btnarea a {
	display: block;
	width:48%;
	float: left;
	margin-right: 4%;
}

.btnarea a:nth-child(even) {
	margin-right: 0;
}

.btnarea a img {
	width: 100%;
}

.btnarea p {
	width: 48%;
	float: left;
	text-align: center;
	font-weight: bold;
	background: rgba(255,255,255,0.6);
	margin: -5px 4% 12px 0;
}

.btnarea p:nth-child(even) {
	margin-right: 0;
}

#touroku {
    position: fixed;
    bottom: 10px;
    right: 320px;
    z-index: 100;
}

#touroku a {
    text-decoration: none;
    width: 100px;
    padding: 30px 0;
    display: block;
}

#detail {
	margin: 30px 0 90px;
}

#detail img{
	width: 100%;
}

footer {
	text-align: center;
    background: black;
    color: #fff;
    height: 40px;
    display: block;
    vertical-align: middle;
    padding-top: 5px;
}