@charset "utf-8";

/* --HTML-- */
html {
	overflow-y:scroll;
	/*height:100%;*/
	-webkit-overflow-scrolling: touch;
}
html.wf-active {
  visibility: visible;
}

/* --BODY-- */
body {
	margin:0;
	padding:0;
	height:100%;
}

/* --OTHER TAGS-- */
a img, img { border:0; }
a {}

blockquote, dd, div, dl, dt, h1, h2, h3, h4, h5, h6, li, ol, ul, pre, span, table, caption, p {
	margin:0;
	padding:0;
}

h1,h2,h3,h4,h5,h6 {
	font-weight: normal;	
}
abbr, acronym {
	border:0;
}

address, cite, code, dfn, em, th, var {
	font-style:normal;
	font-weight:normal;
}

code, kbd, pre, samp, tt {
	font-family:monospace;
	line-height:100%;
}

	/* for IE7 */
	*+html code, kbd, pre, samp, tt {
	font-size:108%; 
	}

q:before, q:after { content:''; }

/* --A-- */
a {
	cursor:pointer;
	text-decoration:underline;
}

a:hover,
a:focus { text-decoration:none; }

/*figure*/
figure { margin: 0; padding: 0;}

/* --IMG-- */
img { vertical-align: bottom; }
img.width100 { width:100% !important; height:auto !important; }

/* --FORM-- */
button, fieldset, form, input, label, legend, select, textarea {
	font-family:inherit;
	font-size:100%;
	font-style:inherit;
	font-weight:inherit;
	margin:0;
	padding:0;
	vertical-align:baseline;
}
fieldset {
	border:1px solid #ccc;
	margin-bottom:1em;
	padding:0 1em 1em 1em;
}

legend {
	background:#fff;
	padding:0.3em;
}

input, textarea {
	padding:0;
	margin: 0;
	vertical-align:middle;
}

input[type="checkbox"],input[type="radio"] { vertical-align:-2px !important; margin-right:5px; }
*input[type="checkbox"],*input[type="radio"] { vertical-align:2px !important; }

input[type="submit"],input[type="button"] { padding:0em; margin: 0; cursor: pointer;}

select { padding:0.3em; }

	/* for IE6 */
	* html input { padding:0.1em; }
	* html img { vertical-align:top; }
	
	* html input.checkbox,* html input.radio { vertical-align:-0.3em; }

	/* * html input.submit { line-height:1.2; padding-top:0.2em; } */
	
	* html select { vertical-align:-0.2em; }
	
	/* for IE7 */
	*+html input { padding:0.1em; }
	
	/* *+html input.submit { line-height:1.2; padding-top:0.2em; } */
	
	*+html select { vertical-align:-0.2em; }

	/* for Opera9.27 */
	html:first-child input { padding:0.1em; }
	
	html:first-child input[type="checkbox"],html:first-child input[type="radio"] { vertical-align:middle; }

	/* html:first-child input[type="submit"] { padding:0.3em; } */
	
	html:first-child select { padding:0.2em; }

	/* for Opera9.5 [Safari3] */
	body:first-of-type input { padding:0.1em; }

	body:first-of-type input[type="checkbox"],body:first-of-type input[type="radio"] { vertical-align:-0.3em; }
	
	/* body:first-of-type input[type="submit"] { padding:0.3em 0.3em 0.2em 0.3em; } */

	/* for Safari3 */
	html:not(:only-child:only-child) input { padding:0; vertical-align:baseline; }
	
	html:not(:only-child:only-child) input[type="checkbox"],
	html:not(:only-child:only-child) input[type="radio"] { vertical-align:baseline; }
	
	html:not(:only-child:only-child) select { vertical-align:0.1em; }

input,
textarea {
	border:1px solid #888;
	padding:0.4em!important;
	border-radius:2px;
	box-sizing: border-box;
}
form .btnarea {
	text-align:center;
}

/* --LIST-- */
ol, ul {
	text-align:justify;
	text-justify:inter-ideograph;
}
li {
	list-style-type: none;	
}

/* --TABLE-- */
table {
	border-collapse:collapse;
	border-spacing:0;
	font-size:100%;
}
th,td{vertical-align:top;}

/* --HR-- */
hr { display: none; clear:both; } /* 不可視使用 */

/* -------------------------------------------
PC/SP 共通
------------------------------------------- */
article img.aligncenter {
    display: block;
    margin: 0 auto;
}
article .alignright { float: right; margin-left:1em; }
article .alignleft { float: left; margin-right:1em; }

header:after,
section:after,
article:after,
footer:after,
#contents:after,
.inner:after{
	content:"";
	display:block;
	clear:both;
}
* html #container{ display:inline-block; }
*+html #container{ display:inline-block; }

/*pagenation Layout*/
.wp-pagenavi {
	/*overflow: hidden;*/
	text-align:center;
	font-size: 90%;
	margin-bottom: 4em;
	margin-top: 2em;
}
.wp-pagenavi .current {
	width: 2em;
	height: 2em;
	text-align:center;
	line-height:2em;
	background:#009245;
	display:inline-block;
	margin:0 0.25em;
	color:#fff;
	font-weight: bold;
}
.wp-pagenavi a.page {
	width: 2em;
	height: 2em;
	text-align:center;
	line-height:2em;
	display:inline-block;
	margin:0;
	color:#009245;
}
.wp-pagenavi a.page:hover {
	background:#009245;
	opacity: 1;
	color:#fff;
}
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
	width: 2em;
	height: 2em;
	text-align:center;
	line-height:2em;
	display:inline-block;
	margin:0 0.25em;
}
.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.nextpostslink:hover {
	color:#009245;
}

/* .article */
#main article{
}
* html #main article{ display:inline-block; }
*+html #main article{ display:inline-block; }

/* P */
article p { margin-bottom:0.75em; text-align: left; }

/* -------------------------------------------
Module
------------------------------------------- */
/* ------ ClearFix ------ */
.clearfix:after {
	content:"";
	display:block;
	clear:both;
}
* html .clearfix { display:inline-block; }
*+html .clearfix { display:inline-block; }
