/* CSS Document */
@charset "utf-8";

/* common
-----------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 2;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
    font-size: 12px;
}

blockquote, q {
	quotes: none;
}

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

table {
	border-collapse: collapse;
	border-spacing: 0;
}

img {
	border: none;
}

a, a:link, a:visited {
    color: #328ee0;
    font-style: normal;
    text-decoration: underline;
}

a:hover {
    color: #999999;
    font-style:normal;
    text-decoration: none;
}

a:active {
    text-decoration:none;
}

strong {
    font-weight: bold;
}

/* wrapper
-----------------------------------------------------------*/
#wrapper {
	background: #ffffff url(images/bg_sub.jpg) repeat-x;
	padding-top: 40px;
}

.index#wrapper {
	background: #ffffff url(images/bg_top.jpg) repeat-x;
	padding-top: 40px;
}

/* header
-----------------------------------------------------------*/
#header {
	background-color: #4fb0e6;
	padding: 0 auto;
	margin: 0 auto;
	width: 940px;
	height: 200px;
}

.index#header {
	height: 360px;
}


/* gnave
-----------------------------------------------------------*/
#gnave {
	padding-bottom: 25px;
	margin: 0 auto;
	width: 900px;
	height: 46px;
}

#menu {
	margin: 0;
	padding: 0;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
}

#menu ul {
	list-style: none;
}

#menu ul li {
	float: left;
	position: relative;
/*	width: 100px;*/
	height: 46px;
}

#menu ul li.w80{
	width: 80px;
}

#menu ul li.w90{
	width: 90px;
}

#menu ul li.w101{
	width: 101px;
}

#menu ul li.w89{
	width: 89px;
}

#menu ul li table {
	border-collapse: collapse;
	border: none;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
}
	
#menu ul li ul {
	visibility: hidden;
	position: absolute;
	top: 45px;
	left: 0px;
	height: 0;
	z-index: 100;
}

#menu ul li ul li {
	margin-bottom: 0;
	width: 120px;
	height: 20px;
}

#menu ul li ul li.wide {
	width: 140px;
}

#menu ul li a {
	height: 20px;
}
			
#menu ul li a:hover {
	position: relative;
	z-index: 100;
}
			
#menu ul li:hover ul ,
#menu ul li a:hover ul {
	visibility: visible;
	overflow: visible;
	height: auto;
}

#menu a {
	font-size: 12px;
	color: #ffffff;
	text-decoration: none;
	display: block;
}

#menu a:hover {
	color: #328ee0;
	background-color: #ffffff;
}

#menu ul ul {
	padding-top: 2px;
}

#menu li li {
	margin-left: 0;
}

#menu ul ul a {
	font-size: 12px;
	line-height: 1.7;
	text-align: left;
	padding: 0 5px;
	border-top: solid 1px #54a1e5;
	border-right: solid 1px #348fe0;
	border-bottom: solid 1px #348fe0;
	border-left: solid 1px #54a1e5;
	background-color: #4498e3;
}

/* container
-----------------------------------------------------------*/
#container {
	padding: 0 auto;
	margin: 0 auto;
	width: 900px;
	overflow: hidden;
	position: relativel;
	zoom:1;	
}

/* side
-----------------------------------------------------------*/
#side {
	float: left;
	width: 200px;
}

#side ul {
	list-style: none;
	line-height: 350%;
	padding-left: 15px;
	padding-right: 15px;
} 

#side li {
	border-bottom: 1px dotted #777777;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-size: 14px;
}

#side li a, #side li a:link, #side li a:visited {
	text-decoration:none;
}

#side li a:hover, #side lia:active {
	text-decoration: underline;
}

#sidemain {
	background: #ffffff url(images/sb_bg.gif) repeat-y;
	width: 200px;
}

#sidelast {
	width: 200px;
	background-image: none;
}

#sidelast img {
	vertical-align: top;
}

/* main
-----------------------------------------------------------*/
#main {
	float: right;
	width: 680px;
}

#box {
	width: 680px;
	overflow: hidden;	
	padding-bottom: 20px;
}

#box h1 {
	padding-bottom: 15px;
}

#box h2 {
	background: #f3f9ff;   
	border-left: 5px solid #c4e3fe;   
 	padding-left: 20px;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-size: 14px;
	font-weight: bold;
}

#button ul {
	list-style: none;
}

#button li {
	float: left;
}

.entry-content {
	padding-top: 10px;
	padding-bottom: 50px;
	overflow: hidden;
}

#nav-below {
	overflow: hidden;
	padding: 0 20px;
}

.nav-previous {
	float: left;
}

.nav-next {
	float: right;
}
	
#message {
	border: solid 2px #39F;
}

span.day {
	padding-right: 15px;
}

#box_s {
	width: 674px;
	margin-bottom: 10px;
	padding: 2px;
	border: 1px #c4e3fe solid;
}

#school {
	width: 674px;
}

#school h2 {
	background: #c4e3fe;   
	border: 2px solid #39b6ff;   
 	padding: 1px 10px;
	font-size: 14px;
	font-weight: bold;
}

#school span.day {
	display: block;
	color: #777;
	font-size: 10px;
}

#diary {
	border-left: 2px solid #39b6ff;
	border-right: 2px solid #39b6ff;
	border-bottom: 2px solid #39b6ff;   
	padding: 15px;
	overflow: hidden;
}

#diary td {
	vertical-align: middle;
}

#news {
	width: 674px;
	margin-bottom: 10px;
	padding: 2px;
	border: 1px #e0e0e0 solid;
}

/*子要素のハミ出し対策S*/
.clearfix:after {
	display: block;
	content: &quot;.&quot;
	clear: both;
	height: 0;
	visibility: hidden;
}

.clearfix {
	display:inline-block;
}
/*子要素のハミ出し対策E*/

#description {
	width: 654px;
	padding: 10px;
	background: #74c2fa url(images/bg_box.gif) repeat-x;
}

#description h2 {
	background-color: #ffffff;
	margin: 0 0 1px;
	padding: 4px 6px;
	font-size: 14px;
}

#description span.day {
	display: block;
	color: #777;
	font-size: 10px;
	text-align: right;
}

/* totop
-----------------------------------------------------------*/
#totop {
	background-color: #ffffff;
	margin: 0 auto;
	padding-right: 35px;
	width: 865px;
	height: 24px;
	text-align: right;
}

/* footer
-----------------------------------------------------------*/
#footer {
	background-color: #328ee0;
}

#fnave {
	margin: 0 auto;
	padding-top:20px;
	width: 900px;
	text-align: right;
}

#fnave li {
	display: inline;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	font-size: 14px;
	padding-left: 10px;
}

#fnave li a, #fnave li a:link, #fnave li a:visited {
    color: #ffffff;
    font-style: normal;
    text-decoration: none;
}

#fnave li a:hover {
    color: #ffffff;
    font-style:normal;
    text-decoration: underline;
}

#fnave li img {
	padding-right: 5px;
}

#address {
	margin: 0 auto;
	padding: 20px 0 0 0;
	width: 900px;
	color: #ffffff;
}

#counter {
	margin: 0 auto;
	width: 900px;
	color: #ffffff;
	text-align: right;
	padding: 0 10px 20px 0;
}
span.counter {
	position: relative;
	border: 1px solid #fff;
	padding: 2px 5px;
}

/* copyright
-----------------------------------------------------------*/
#copyright {
	background-color: #ffffff;
	padding: 20px 0;
}

#copy {
	margin: 0 auto;
	width: 900px;
}

/* caption
-----------------------------------------------------------*/
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	padding: 10px;
}

.alignright {
	float: right;
	padding: 10px;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	/* optional rounded corners for browsers that support it */
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

a[href $='.pdf'] {
background:url(../../../wp-content/uploads/2011/07/pdf01.gif) no-repeat;
padding-left: 20px;
}

* html a.pdf {
	background : transparent url(../../uploads/2011/07/pdf01.gif) no-repeat scroll 0% 0%;
padding-left: 20px;
}

/* IE-6要素
----------------------------------------------------------- */
* html a{
	behavior: expression(
	this.className += this.getAttribute("href").match(/^http.*/) && (!this.getAttribute("href").match("css-lecture.com")) ? " external" : "",
	this.className += this.getAttribute("href").match(/\.pdf$/) ? " pdf" : "",
	this.style.behavior = "none"
	);
}