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

/*
Theme Name: Junten gakuen
Theme URI: http://www.junten.ed.jp
Description: Release 09/05/10
Author: Repeat .inc
*/
/*wordpress basic css*/
img {
	border:none;
	}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
.text-box p{
	margin-bottom:10px;
	}
.aligncenter {
	display: block !important;
	margin-left: auto !important;
	margin-right: auto !important;
	}
.text-box img{
	display:inline;
	}

div#navigation{
	clear:both;
	font-size:80%;
	line-height:140%;
	margin:25px auto;
	}
div#navigation ul{
	text-align:center;
	list-style:none;
	}
div#navigation li{
	display:inline;
	}
div#navigation a{
	padding:5px 20px;
	background-color:#ECF5FF;
	border:#6666CC 1px solid;

	}
	

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

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-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;
}
/* End captions */
.post{
	width:680px;
}
.post table{
	margin-bottom:10px;
	}
.post{
	margin-bottom:20px;
	line-height:20px;
	}
.post td{
	padding:5px;
	line-height:20px;
}
.nowrap{
	white-space:nowrap;
	background-color:#F2F2F2;
	color:#FFF;
}
.post td{
	border-bottom:1px dotted #333;
	vertical-align:top;
	color:#333;
}
.post img{
	margin:0 3px;
}



/**
 * 6.5 Gallery
 * -----------------------------------------------------------------------------
 */

#content .gallery {
	margin-bottom: 20px;
}

#content .gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
}

#content .gallery-columns-1 .gallery-item {
	max-width: 100%;
}

#content .gallery-columns-2 .gallery-item {
	max-width: 48%;
	max-width: -webkit-calc(50% - 4px);
	max-width:         calc(50% - 4px);
}

#content .gallery-columns-3 .gallery-item {
	max-width: 32%;
	max-width: -webkit-calc(33.3% - 4px);
	max-width:         calc(33.3% - 4px);
}

#content .gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

#content .gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

#content .gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

#content .gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

#content .gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

#content .gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

#content .gallery-columns-1 .gallery-item:nth-of-type(1n),
#content .gallery-columns-2 .gallery-item:nth-of-type(2n),
#content .gallery-columns-3 .gallery-item:nth-of-type(3n),
#content .gallery-columns-4 .gallery-item:nth-of-type(4n),
#content .gallery-columns-5 .gallery-item:nth-of-type(5n),
#content .gallery-columns-6 .gallery-item:nth-of-type(6n),
#content .gallery-columns-7 .gallery-item:nth-of-type(7n),
#content .gallery-columns-8 .gallery-item:nth-of-type(8n),
#content .gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

#content .gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
#content .gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
#content .gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
#content .gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
	clear: left;
}

#content .gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
	color: #fff;
	font-size: 12px;
	line-height: 1.5;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 6px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	width: 100%;
}

#content .gallery-caption:before {
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#content .gallery-item:hover .gallery-caption {
	opacity: 1;

}

#content .gallery-columns-7 .gallery-caption,
#content .gallery-columns-8 .gallery-caption,
#content .gallery-columns-9 .gallery-caption {
	display: none;
}

/*テーブル中央揃え 枠線なし*/
#content .tableCenter001{
	margin-left:auto !important;
	margin-right:auto !important;
}
#content .tableCenter001 th,
#content .tableCenter001 td{
	border:none;
}
/*テーブル中央揃え 枠線あり*/
#content .tableCenter001waku{
	margin-left:auto !important;
	margin-right:auto !important;
}

.single_pager {
    clear: both;
    margin-top: 40px;
    text-align: center;
    background: #f5f5f5;
    padding: 20px;
}
.single_pager a, .single_pager span {
	text-decoration: none;
	padding: 5px;
	margin: 5px 0;
	background: #004EA2;
	display: block;
	color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}
.single_pager a:hover{
	background: #092F56;
}

#content .single_contents .cat_icon{
	font-size:11px;
	display:inline-block;
	margin:0 10px 0 0;
	color:#fff;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background:#004EA2;
	line-height:1;
	padding:3px 5px;
}

#content .single_contents .date{
	float:right;
}

#content .single_contents .right_pic_box .pic_box{
	max-width:250px;
}
