@charset "utf-8";

html, body {
	height : 100%;
}

body {
	width : 100%;
	position : relative;
	height : auto !important;
	height : 100%;
	min-height : 100%;
}

/* 共通クラス */
.craftcms {
	font-family : open sans condensed;
	text-transform : uppercase;
	letter-spacing : -1px;
}

.craftcms span {
	font-weight : bold;
	color : #42966b;
}

.txtal_l { text-align : left; }
.txtal_r { text-align : right; }
.txtal_c { text-align : center; }

.error { color : red; }

.border {
	background-color : #000000;
	border : none;
	height : 1px;
	color : #000000;
}

.attention {
	margin : 0px;
	padding : 5px;
	color : #FF0000;
	font-size : 10px;
}

.bold {
	font-weight : bold;
}

.pad {
	padding : 5px;
}

/* header */
#header {
	background-color : #222;
	color : #DDD;
	border-bottom : solid 1px #AAA;
	position : fixed;
	z-index : 2000;
	width : 100%;
}

#header h1#logo {
	font-family : open sans condensed;
	text-transform : uppercase;
	font-size : 20px !important;
	letter-spacing : -1px;
	line-height : 100%;
	margin : 15px 0px;
	padding : 0px;
}

#header h1#logo a {
	display : block;
	text-decoration : none;
	color : #DDD;
}

#header h1#logo span {
	font-weight : bold;
	color : #42966b;
}

#header #account {
	text-align : right;
	font-size : 12px;
	padding : 0;
	margin : 0;
	line-height : 50px;
}

#header #account span {
	margin : 0px;
	margin-right : 10px;
}

#header #account a {
	font-size : 10px;
}

#header #account a#btn_gnavi {
	margin-left: 10px;
	cursor : pointer;
	display : none;
}

#header #nav-xs {
	width : 100%;
	margin : 0px auto;
}

#header #nav-xs li {
	float : left;
	width : 14.5%;
	margin : 10px 1%;
}

#header #nav-xs li a {
	display : block;
	text-align : center;
}

#header #nav-xs li a img {
	width : 50%;
	height : auto;
}

@media (max-width : 767px) {
	#header #account a#btn_gnavi {
		display : inline-block !important;
	}
}

#header #account a#btn_gnavi img {
	width : 25px;
	height : auto;
}

/* nav */
#nav {
	background-color : #DDD;
	width : 5%;
	min-width : 50px;
	max-width : 50px;
	height : 100%;
	position : fixed;
	z-index : 500;
	padding : 0px;
	margin : 0px;
	border-right : solid 1px #AAA;
	top : 50px;
}

#nav li {
	margin : 15px 0px;
}

#nav li a {
	display : block;
	text-align : center;
}

#powerTip {
	display : none;
	position : absolute;
	left : 100px;
	background-color : #222;
	color : #DDD;
	font-size : 12px;
	padding : 5px 10px;
	z-index: 2147483647;
	-o-border-radius: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
}

#powerTip.n {
	display : none;
	position : absolute;
	left : 0;
	top : 125px !important;
	height : 25px;
	background-color : #222;
	color : #DDD;
	font-size : 12px;
	padding : 5px 10px;
	z-index: 2147483647;
	-o-border-radius: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
}

#powerTip.e:before {
	content: ' ';
    height: 0;
    position: absolute;
    width: 0;
    border: 6px solid transparent;
    border-right-color: #222;
    left: -12px;
    top: 8px;
}

#powerTip.n:before {
	content : ' ';
	height : 0;
	position : absolute;
	width : 0;
	border : 6px solid transparent;
	border-bottom-color : #222;
	left : 46%;
	top : -10px;
}

#nav li a img {
	width : 30px;
	height : auto;
	margin : 0px auto;
}

/* footer */
#footer {
	font-family : open sans condensed;
	font-size : 12px;
	letter-spacing : -1px;
	margin : 5px 0;
	background-color : #222;
	z-index : 1000;
	text-align : center;
	color : #DDD;
	position : relative;
	position : absolute; 
	bottom : 0;
	margin-bottom : 0px;
	padding-top : 10px;
	width : 100%;
}

/* non-contents */
#non-contents {
	width : 90%;
	max-width : 400px;
	margin-bottom : 40px;
}

#non-contents .box {
	margin-top : 70px;
	margin-bottom : 10px;
	padding-top : 0px;
	
}

#non-contents .box h3.title {
	margin : 0px;
	height : 40px;
	background-color : #444;
	color : #DDD;
	line-height : 40px;
	padding : 0px 10px;
	font-size : 17px;
}

#non-contents .box .box_inner {
	border : solid 1px #DDD;
}

#non-contents .box .box_inner table.table {
	margin : 0px;
}

#non-contents .box .box_inner.pad {
	padding : 5px;
}

/* contents */
#contents {
	float : right;
	width : 100%;
	padding-top : 60px;
	padding-left : 60px;
	margin-bottom : 40px;
}

@media (max-width:767px) {
	#contents {
		padding-top : 60px;
		padding-left : 15px;
		
	}
}

@media (min-width:768px) {
	#contents {
		padding-top : 60px !important;
	}
}

#contents .box {
	margin-bottom : 10px;
	padding-top : 0px;
}

@media (max-width:767px) {
	#contents .box {
		padding-top : 0px;
		margin-bottom : 20px;
	}
}

#contents .box h3.title {
	margin : 0px;
	height : 40px;
	background-color : #444;
	color : #DDD;
	line-height : 40px;
	padding : 0px 10px;
	font-size : 17px;
}

#contents .box .box_inner {
	border : solid 1px #DDD;
}

#contents .box .box_inner.pad {
	padding : 5px;
}

#contents .box .box_inner h4.title {
	font-size : 15px;
	line-height : 1.3;
}

/* リスト */
#contents .box .box_inner ul.inline li {
	display : inline;
	margin : 0px 5px;
}

#contents .box .box_inner ul.list {
	margin : 0px;
}

#contents .box .box_inner ul.list li {
	padding : 5px;
	border-bottom : solid 1px #DDD;
}

#contents .box .box_inner ul.list li:last-child {
	border-bottom : none;
}

/* テーブル */
#contents .box .box_inner table.table {
	margin : 0px;
}

/* カテゴリ */
.category {
	border : solid 1px #AAA;
	padding : 3px 5px;
	margin-right : 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	font-size : 12px;
}

/* 試合速報 */
#game_list span.public_game {
	border : solid 1px #AAA;
	padding : 3px 5px;
	margin-right : 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	font-size : 12px;
}

#game_list span.public_game.public {
	background-color : #F00;
	color : #FFF;
}

#game_list span.public_game.private {
	background-color : #00F;
	color : #FFF;
}

#game_list span.game_title {
	font-weight : bold;
}

#game_list span.game_datetime {
	float : right;
}

#game_list p span.enemy_name {
	font-weight : bold;
}

#game_list p span.progress_status {
	float: right;
	font-weight : bold;
}

#game_list table.game_borad th {
	font-weight : bold;
}

#game_list table.game_borad td {
	text-align : center;
}

#game_list .btn_area {
	margin : 5px auto;
}

/* 試合内容 */
#game_play h4.game_play_title {
	margin : 5px 5px;
	margin-top : 10px;
	padding : 5px 10px;
	border : solid 1px #AAA;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	font-size : 15px;
}

#game_play h5.game_play_title {
	margin : 5px 5px;
	padding : 5px 10px;
	border-bottom : solid 1px #AAA;
}

#game_play .game_play_table {
	margin : 5px auto;
	width : 99%;
}

#game_play .game_play_table th,
#game_play .game_play_table td {
	padding : 5px;
	text-align : center;
}

#game_play .game_play_table th {
	background-color : #555;
	color : #FFF;
}

#game_play .game_play_table td.txtal_l {
	text-align : left;
}

#game_play .game_play_table td.vertical {
	vertical-align : middle;
}

#game_play .game_play_table td img {
	text-align : center;
	margin : 0px auto;
}