@charset "UTF-8";
/* ===== Common to all ================================== */

HTML {
	scrollbar-face-color: #FEFEFC;
	scrollbar-track-color: #EEEEEE;
	scrollbar-arrow-color: #606060;
	scrollbar-3dlight-color: #808080;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #C0C0C0;
	scrollbar-darkshadow-color: #707070;
}
DIV, H1, H2, H3, H4, FORM, P, DL, DT, DD, UL, OL, LI, HR, TABLE, TD, TH,
ARTICLE, ASIDE, FOOTER, HEADER, MAIN, NAV, SECTION {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
BODY, DIV, FORM, H1, H2, H3, H4, P, DL, DT,     LI, HR, TABLE, TD, TH { padding: 0; }	/* exclude DD,UL,OL */
BODY, DIV, FORM,                        DT, DD, LI,     TABLE         { margin: 0; }

ARTICLE, ASIDE, FOOTER, HEADER, MAIN, NAV, SECTION {
	display: block;  margin: 0;  padding: 0;
}
BODY {
	font-family: "メイリオ",Meiryo,sans-serif;
	font-size: 15px;
	color: #000000;
	line-height: 1;
	background-color: #F0F0F0;
	-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
}
@media only screen and (max-width:959px) {
	BODY { padding-top: 15px; }
}
H1, H2, H3, H4 {
	font-weight: bold;
}
H1 {
	position: relative;
	left: -6px;
	text-align: center;
	margin: 0 0 17px 0;
}
.mb_wide { margin-bottom: 27px; }	/* H1 */

H2 {
	font-size: 21px;
	margin: 17px 0;
}
H3 {
	font-size: 18px;
	margin: 17px 0;
}
H4 {
	font-size: 16px;
	color: #404040;
	margin: 17px 0;
}
@media only screen and (max-width:640px) {
	H3 { line-height: 1.5; }
}
P, DL, OL, UL {
	margin: 1em 0;
}
DD {	padding: 0.2em 0 0.4em 1.8em; }

OL, UL {
	padding: 0 0 0 1.8em;
}
HR {
	width: 100%;
	height: 1px;
	margin: 0.5em auto;
	border: none 0;
	border-top: solid 1px #808080;
}
TABLE, TD, TH { border: none 0; }

TABLE {
	font-size: inherit;
	border-collapse: collapse;
	border-spacing: 0;
}
TD {
	color: #000000;
	text-align: left;
}
TH {
	text-align: center;
	white-space: nowrap;
}
.tbdr {	/* TABLE */
	background-color: #FFFFFF;
	border-collapse: separate;	/* for IE */
	border-style: solid;
	border-width: 1px 2px 2px 1px;
	border-color: #808080;
}
.tbdr TD, .tbdr TH {
	padding: 6px 10px;	padding-top: 7px\9; padding-bottom: 5px\9;	/* for ~IE10 */
	border-style: solid;
	border-width: 1px 0 0 1px;
	border-color: #909090;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {	/* for Chrome */
	.tbdr TD, .tbdr TH { padding-top: 7px; padding-bottom: 5px; }
}
.tbdr TH {
	background-color: #F0F0E0;
}
STRONG, B, TH {
	color: #404040;
	font-weight: bold;
}
EM {	font-style: normal; }

IMG {	border: none 0; }

A {
	outline: none;
	word-break: break-all;
}
A:link { color: #0000FF; }
A:visited { color: #6600C0; }
A:hover, a:active { color: #FF0099; }

A.noline:link, A.noline:visited {
	text-decoration: none;
}
A.noline:hover, A.noline:active {
	text-decoration: underline;
}

/* ==== for 3-pane layout ========================
   ( rarely change the value by Media Queries. )   */

#wrapper {
	position: relative;
	top: 0; left: 0;
	width: 100%;
}
#sidebar {
	z-index: 10;
	background-color: #EEEEEE;
}
#header {
	height: 40px;	/* = #top_mgn {height} */
	z-index: 9;
	padding: 10px 5px 0 5px;
	background-color: #FEFEFC;
}
#header_in {
	height: 21px;
	text-align: right;
	background-image: url("image/score01.gif");
	background-repeat: repeat-x;
	-webkit-background-size: 10px 21px;
		background-size: 10px 21px;
}
#hdr_logo {	/* IMG */
	width: 195px;
	height: 21px;
	background-image: url("image/hdr_logo.gif");
	background-repeat: no-repeat;
	background-position: 0px 0px;
	-webkit-background-size: 195px 21px;
		background-size: 195px 21px;
}
 @media only screen and (max-width:400px) {	/* 2020/01/20 */
	#hdr_logo {
		width: 120px;
		height: 21px;
		background-position: 0px 21px;
	}
}
#mainbox {
	width: auto;
	/* ↓ for expanding height of #content */
	min-height: 100vh;	/* if IE8, refer to JS */
	overflow: hidden;
}
#content {
	margin-bottom: -9999px;	/* -9999 is for expanding height */
	padding: 10px 10px 9999px 10px;
	background-color: #FEFEFC;
	background-image: url("image/wallpp1.gif");
	background-repeat: repeat;
	-webkit-background-size: 219px 250px;
		background-size: 219px 250px;
}

/* ---- Flexible Menu ------------------------- */

#fx_box { z-index: 20; }

#fx_menu {	/* UL */
	width: 120px;
	list-style-type: none;
	margin: 0;
	padding-left: 0;
}
#fx_menu LI {
	white-space: nowrap;
}
#fx_menu A {
	display: block;
	width: auto;
	text-decoration: none;
}

/* ==== ID & Class ============================ */

/* ---- Display ------------------------------- */

.table_0 { display: table; }
.table_c {
	display: table;
	margin: 0 auto;
}
.td_vm, .td_vt {
	display: table-cell;	/* for ~IE7 */ *display: inline;  *zoom: 1;
	text-align: left;
}
.td_vm { vertical-align: middle; }
.td_vt { vertical-align: top; }

/* ---- Font-Color ---------------------------- */

.fc_teal   { color: #008080; }
.fc_exred  { color: #FF0066; }
.fc_mdred  { color: #C00000; }
.fc_dkred  { color: #990000; }
.fc_brown  { color: #800000; }
.fc_yellow { color: #FFFF00; }
.fc_ltyell { color: #FFFFA0; }

/* ---- Font-Weight --------------------------- */

.nobold  { font-weight: normal; }
.isbold  { font-weight: bold; }
.isbold0 { font-weight: bold;  color: #404040; }
.isbold1 { font-weight: bold;  color: #008060; }
.isbold2 { font-weight: bold;  color: #B00000; }
.isbold3 { font-weight: bold;  color: #FF0066; }

/* ---- Align,Valign -------------------------- */

.center	{ text-align: center; }
.right	{ text-align: right; }

.vtop	{ vertical-align: top; }
.vmid	{ vertical-align: middle; }
.vbot	{ vertical-align: bottom; }

.center TABLE {
	margin-left: auto;
	margin-right: auto;
}

/* ---- Width --------------------------------- */

.w100 {	width: 100%; }

/* ---- Margin -------------------------------- */

.mt0 {	margin-top: 0; }
.mb0 {	margin-bottom: 0; }

/* ---- Other --------------------------------- */

#footer {
	margin-top: 40px;
	padding: 10px 1% 16px 1%;
	border-top: solid 1px #707070;
}
#copyr { float: left; }

#btmlnk {
	font-size: 14px;
	text-align: right;
}
#noscr_msg {
	position: fixed;
	top: 0;  left: 0;
	z-index: 100;
	font-size: 16px;
	color: #FF0000;
	font-weight: bold;
	line-height: 1.5;
	margin: 10px;
	padding: 10px 15px;
	background-color: #FFFFFF;
	border: solid 2px #606060;
}

.clear	{ clear: both; }
.nowrap	{ white-space: nowrap; }

.lh_s { line-height: 1.4667; }

.mw_s {
	margin-left: 1.5%;
	margin-right: 1.5%;
}
.box_s {
	line-height: 1.4667;
	margin-left: 1.5%;
	margin-right: 1.5%;
}
.dot1 {	margin-right: 8px; }	/* IMG */

/* ---- Back to Top --------------------------- */

#toTop {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 16px;
	z-index: 20;
}
#toTop SPAN {
	color: #FFFFC0;
	margin-right: 2px;
}
#toTop A, #toTop A:link, #toTop A:visited {
	font-size: 13px;
	color: #FFFFFF;
	text-decoration: none;
	letter-spacing: 1px;
	padding: 3px 6px;
	background-color: #707070;
	border: solid 2px #FFFFFF;
	border-radius: 10px;
	box-shadow: 0 8px 12px rgba(255,255,255,0.9);
}
#toTop A:hover, #toTop A:active {
	color: #FFFF00;
	background-color: #4040FF;
}

/* ---- Clearfix ------------------------------ */

#footer:after, .cfx:after {
	display: block;
	clear: both;
	height: 0;
	content: "";
}
#footer, .cfx { *zoom: 1; }	/* for ~IE7 */

/* ==== @ Print =============================== */

@media print {
	BODY { background-color: transparent !important; }
	H4, STRONG, B, TH { color: #000000; }
	#sidebar, #header, #fx_box { display: none !important; }

	#mainbox {
		min-height: 0;
		overflow: visible;
	}
	#content {
		margin: 0 !important;
		padding: 0 !important;
		background-color: transparent !important;
		background-image: none !important;
	}
}
