
/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #fff;
	font: .81em/150% Arial, Helvetica, sans-serif;
	color: #666;
}
a {
	color: #026acb;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}

/* list */
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 10px 0 .4em;
	color: #000;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 768px;
	margin: 0 auto;
}

#pagewrap_800 {
	width: 800px;
	margin: 0 auto;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	height: 140px;
	text-align: center;
	margin: 0 auto;
}

/* site logo */
#site-logo {
		width: 50%;
		margin: 0 auto;
}

/* #site-logo a {
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #fff;
	text-decoration: none;
}*/

/* site description 
#site-description {
	font: italic 100%/130% "Times New Roman", Times, serif;
	color: #fff;
	position: absolute;
	top: 55px;
}*/

/* sub-nav */
#sub-nav {
		position: absolute;
	right: 12px;
	bottom: 0;
	z-index: 100;
	
	float: right;

}

#sub-nav a {
	line-height: 100%;
	font-weight: bold;
	font-size: 200%;
	color: #FFBFBF;
	display: block;
	padding: 14px 30px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);

}
#sub-nav a:hover {
	color: #FFBFBF;
	background: #474747;
	/* gradient */
	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);
}
/**/
#searchform #s {
	width: 140px;
	float: right;
	background: #fff;
	border: none;
	padding: 6px 10px;
	/* border radius */
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	/* transition */
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {

	width: 100%;
	background: #ccc;
	margin: 0;
	padding: 0;
		position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
	/* gradient */
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top,  #b9b9b9,  #6a6a6a);
	background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}

#main-nav li:first-child {
	margin-left: 10px;
	

}

#main-nav li.itis {

	background: #474747;

}

#main-nav a {
	line-height: 100%;
	font-weight: bold;
	font-size: 200%;
	color: #fff;
	display: block;
	padding: 14px 30px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);

}
#main-nav a:hover {
	color: #fff;
	background: #474747;
	/* gradient */
	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);
}


#sns {
	margin-top: 30px;
	padding: 0;
	text-align: center;

}

#sns .sns_list {  

	display: -moz-inline-box;
	display: inline-block;
	margin: 0 10px 0;
	vertical-align:top; 
}



/************************************************************************************
CONTENT
*************************************************************************************/
#content {
	background: #423324;
	margin: 15px auto;
	padding: 20px 0;
	width: 728px;
		
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);

}

#content_800 {

	margin: 15px auto;
	padding: 0;
	width: 100%;

}


#gamebox {
	position: relative;
	width: 640px;
	height: 800px;
	margin:0px 42px;
}

#gamebox_h480 {
	position: relative;
	width: 640px;
	height: 480px;
	margin:0px 42px;
}

#gamebox_h400 {
	position: relative;
	width: 640px;
	height: 400px;
	margin:0px 42px;
}


/************************************************************************************
GAMETITLE
*************************************************************************************/

#gametitle {
	margin: 0 auto;
	padding: 5px 0;
	width: 728px;
	display: block;
	height: 50px;
	border-bottom:1px dashed #f00;

}




#gametitle .gname {
	float:left;
	width: 80%;
	padding:0;
	font-size: 120%;
    text-shadow: 1px 1px 2px #ccc;
    font: bold Arial, Helvetica, sans-serif;

}

#gametitle .ops {
	float:left;
	width: 20%;
	padding:0;
	text-align: right;
	font-size: 100%;
    font: bold Arial, Helvetica, sans-serif;
}



/* post image 
h1 {
    font-size: 200%;
    text-shadow: 1px 1px 2px #ccc;
    font: bold Arial, Helvetica, sans-serif;


}

.gametitle {
	width: 80%;
	margin: 0 0 5px;
	padding: 0;
	font: bold 20px/120% Arial, Helvetica, sans-serif;
		float: left;
}
.game-title a {
	text-decoration: none;
	color: #666;
		vertical-align:top; 
}
.game-meta {
	margin: 0 0 10px;
	font: bold 20px/120% Arial, Helvetica, sans-serif;
	text-align: right;
		float: right;
}


.game-image {
		width: 40%;
	margin: 0px;
	float: left;
		padding: 10px 0 0 0;
}

.game-about {
		width: 56%;
	margin: 0;
	float: right;
	padding: 0 0 0 10px;
}

.text-about {
		clear:both;
		width: 100%;

		padding: 10px 0 0 0;
}

*/
/************************************************************************************
AD
*************************************************************************************/


.adsense {
	margin: 0 0 10px 0;
	padding: 0;
	text-align: center;

}

.adsense .ad_list {  

	display: -moz-inline-box;
	display: inline-block;
	vertical-align:top; 
}

.adsense .ad_list_erase {  

	display: -moz-inline-box;
	display: inline-block;
	vertical-align:top; 
}



/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
	width: 280px;
	float: right;
	margin: 30px 0 30px;
}
.widget {
	background: #fff;
	margin: 0 0 30px;
	padding: 10px 20px;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.widgettitle {
	margin: 0 0 5px;
	padding: 0;	
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-top: solid 1px #eee;
}

/* flickr widget */
.widget .flickr_badge_image {
	margin-top: 10px;
}
.widget .flickr_badge_image img {
	width: 48px;
	height: 48px;
	margin-right: 12px;
	margin-bottom: 12px;
	float: left;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #aaa;
	font-size: 150%;
	text-align: center;
	margin: 50px 0 30px;
}
#footer a {
	color: #aaa;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }







	/* シェアボタン2017.12.16追加*/
.share {
	width:50%;
	margin: 0 auto;
	margin-top:15px;
	padding: 0px;
}


.share ul {
	margin:0px;
	padding: 0px;
	list-style:none;
}

.share li a {
	display: block;
	text-align: center;
	padding: 5px 0px;
	color: #ffffff;
	font-size: 15px;
	text-decoration: none;
}

.share li a:hover {
	opacity: 0.8;
}

.share ul:after {
	content: "";
	display: block;
	clear: both;
}

.share li {
	float: left;
	width: 25%;
	margin: 0px;
	padding: 0px;
}
.share-tw {
	background-color: #55acee;
}
.share-fb {
	background-color: #3b5998;
}
.share-gp {
	background-color: #dd4b39;
}
.share-hb {
	background-color: #2c6ebd;
}

/************************************************************************************
How to Play
*************************************************************************************/

.mybox{
    background: none;
    border: 1px solid #f00;
    margin: 5px auto;
    padding: 20px;
    position: relative;
        width: 640px;
	font-size:1.4em;
	line-height:1.6;
}
.mybox:after{
    background: none;
    border: 1px solid #f00;
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 100%;
    height: 100%;
    z-index: -1;
}
