/* top elements */
* { margin:0; 	padding: 0; }

body {
	margin: 0;
	padding: 0;
	color: #333;
	text-align: center;
	background-image: url(../images/kage_back.gif);
	background-repeat: repeat-y;
	background-position: center;
	font-size: 96%;
	line-height: 1.3em;
	background-color: #fff8dc;
}

/* links */
a {
	color: #006;
	background-color: inherit;
	text-decoration: underline;
}
a:hover {
	color: #575757;
	background-color: inherit;
	text-decoration: underline;
}

/* headers */

h2 {
	font-size: 17px;
	padding: 0px;
	color: #C00;
	letter-spacing: -1.2px;
	font-weight: bold;
	background-image: url(../images/h2_bg.gif);
	background-repeat: no-repeat;
}

h3 {
	font-size: 17px;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	padding-left: 10px;
	background-image: url(../images/bg_h3.gif);
	background-repeat: repeat-y;
	color: #900;
	font-weight: bold;

}
h2, h3   {
	padding: 10px;
	margin: 0;
}
p {
	padding: 5px;
	margin: 0px;
}


img.float-right {
  margin: 5px 0px 5px 10px;  
}
img.float-left {
  margin: 5px 10px 5px 0px;
}

#sidebar h2 {
	background-image: url(../images/h2_bg.gif);
	font-size: 100%;
	background-repeat: no-repeat;
}
/*
#main ul {
	list-style-image: url(../images/li.gif);
	margin-bottom: 10px;
	list-style-position: inside;
	margin-left: 15px;
}
*/
.code {
	margin: 5px 0;
	padding: 10px;
	text-align: left;
	display: block;
	overflow: auto;
	background: #FAFAFA;
	border: 1px solid #f2f2f2;
	border-left: 4px solid #FF9966;
	font-size: medium;
	line-height: 1.5em;
	font-weight: normal;
}
blockquote {
	background: #FAFAFA url(../images/quote.gif) no-repeat 5px 10px !important;
	background-position: 8px 10px;
	border: 1px solid #f2f2f2;
	border-left: 4px solid #FF9966;
	margin-top: 20px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 32px;
}


/**   layout **/

#content {
	padding: 0;
	width: 780px;
	text-align: left;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

/* header */
#header {
	margin: 0;
	padding: 0;
	
	background: url(../images/top.jpg);
	background-repeat: repeat-no;
}

.header_p{
	color: black;
	font-size: 14px;
	margin-left: 20px;
	margin-top: 0px;
	padding-right: 0;
	line-height: 1.3em;
	padding-top: 20px;
	}
#headerBox{
	margin-left: 15px;
	width: 350px;
	height: 200px;
	border-left-style: none;
	}

/*- メニューバー--------------------------- */

#tabs {
	float:left;
	width:780px;
	line-height:normal;
	font-size: 14px;
	font-weight: bold;
	border-left-style: none;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #600;
	background-color: #F7F3F7;

}
#tabs ul {
	margin:0;
	padding:10px 10px 0 50px;
	list-style:none;
}
#tabs li {
	display:inline;
	margin:0;
	padding:0;
}
#tabs a {
	float:left;
	background:url("../images/tableftE.gif") no-repeat left top;
	margin:0;
	padding:0 0 0 4px;
	text-decoration:none;
}
#tabs a span {
	float:none;
	display:block;
	background:url("../images/tabrightE.gif") no-repeat right top;
	color:#FC0;
	padding-top: 5px;
	padding-right: 15px;
	padding-bottom: 4px;
	padding-left: 6px;
}

}
#tabs a:hover span {
	background-position:100% -42px;
	color: #FFF;
}

#tabs #current a {
	background-position:0% -42px;
}
#tabs #current a span {
	background-position:100% -42px;
}
#tabs a:hover span {
      color:#FFF;
      }
    #tabs a:hover {
      background-position:0% -42px;
      }
    #tabs a:hover span {
      background-position:100% -42px;
      }



/* sidebar */
#sidebar {
	float: right;
	width: 230px;
	display: inline;
	padding-top: 0;
	padding-right: 0px;
	padding-bottom: 0;
	padding-left: 0px;
	margin-top: 10px;
	background-image: url(../images/bg_side.gif);
}
#sidebar ol {
	text-align: left;
	padding: 0;
	text-decoration: none;
	list-style-position: inside;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 7px;
	margin-left: 3;
}
#sidebar ol li  {
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 2px;
	padding-left: 3px;
}
#sidebar ol li a  {
	font-weight: bolder;
	background-image: none;
	text-decoration: none;	
}

#rightbar {
	float: right;
	width: 21%;
	padding: 0;
	margin: 0; 			
}

/* main カラム */
#main {
	float: left;
	padding: 0;
	width: 520px;
	margin-top: 10px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 10px;
	overflow: hidden;
}
#main li {
	list-style-position: inside;
	list-style-type: disc;
	text-indent: 20px;
}
.indent {
	margin-left: 20px;
}



.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 15px 10px 10px 10px;
	border: 1px solid #f2f2f2; 
	font-size: 95%;
}
/*お知らせの日付用*/
.small-c {
	font-size: small;
	font-weight: bold;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	color: #999;
}
/* main左box */
#boxA {
	float: left;
	width: 250px;
}
/* main右box */
#boxB {
	float: right;
	width: 265px;
}
/* footer */
#footer {
	color: #666666;
	padding: 0;
	height: 50px;
	width: 780px;
	clear: both;
	border-top-width: 2px;
	border-top-style: dotted;
	border-top-color: #999;
	background-color: #C00;
	margin: auto;
}
#footer a { 
	text-decoration: none; 
	font-weight: bold;
}
#footer-content {
	margin: 0 auto;
	width: 780px
}
#footer-content #footer-left {
	padding: 10px;
	width: 60%;
	float: right;
	text-align: right;
	color: #FFF;
	font-size: small;
	font-family: Arial, Helvetica, sans-serif;
}

/* alignment*/
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* additional*/
.clear  { clear: both; }
h1 {
	margin: 0px;
	padding: 0px;
}
.small {
	font-size:0.8em;
}
h4 {
	font-size: medium;
	font-style: italic;
	color: #C03;
}
