/*
Theme Name: ott1
Theme URI: http://www.tosho-c3.jp/
Author: Tosho Trading LLC.
Author URI: http://www.tosho-c3.jp/
Description: The lite version theme for WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: lite, one-column, fixed-width, custom-menu, editor-style, microformats, sticky-post, translation-ready
Text Domain: twentyeleven
*/

/* Tag Rewrite */
body{
	background:#efefef;
	color: #666;
	font-family: Meiryo, DFPHSMincho-W3, "MS PGothic", Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	margin: 0;
}

table{
	border-collapse: collapse;
	width:100%;
}

th, td{
	padding: 4px 8px;
}

p{
	line-height: 2em;
	margin: 1em 0;
}

a:hover, a:active:hover{
	color: red;
}

a img{
  border: none;
}

.clear{
	clear:both;
}
/* WP Styles*/
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 0.5em;
}

.alignleft {
	display: inline;
	float: left;
	margin-right: 1em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* Common */
#page{
	margin: 0 auto;
	width:1000px;
}

#branding h1{
	color: #333;
	float: right;
	font-size: 11px;
	font-weight: normal;
	line-height: 30px;
	margin: 0;
}
#logo{
  display: block;
}

div.menu-header{
	background:#00a9b8;
	display: table;
	height: 40px;
	width: 100%;
	width:1000px;
}

#menu-top-menu{
  display: table-row;
  list-style: none;
  height: 13px;
  padding: 0;
}

#menu-top-menu>li{
  border-left: 1px dotted #dad7d0;
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding:2px 0;
}

#menu-top-menu>li>a{
  color:#fff;
  font-size: 14px;
  font-weight: bold;
  line-height: 13px;
  text-decoration: none;
}

#menu-top-menu>li:hover{


}

#menu-top-menu>li>a:hover{
  color:#dad8d8;
  text-decoration:underline;
}

#menu-top-menu>li:nth-child(1){
  border-left: 0;
}

#main{
	clear: both;
}

.menu-sidebar{
  float: right;
  margin: 10px 0 0;
  width:254px;
  
}

#menu-sidebar{
  margin: 0;
  padding: 0;
}

#menu-sidebar li {
  list-style: none;
}

#menu-sidebar>li {
}

#menu-sidebar>li>a {
  background:#00a9b8;
  color: #fff;
  display: block;
  font-size: 14px;
  line-height:46px;
  height:46px;
  font-weight: bold;
  padding-left:20px;
}

#menu-sidebar>li>ul {
  background: #fff;
  margin: 0px 0px 8px;
  overflow: hidden;
  padding: 0;
  border-top:none;
  padding-bottom:10px;
}

#menu-sidebar>li>ul>li>a {
  background: url(images/list_item_head1.png) 10px center no-repeat #fff;
  display: block;
  font-size: 11px;
  line-height:48px;
  margin-top: 1px;
  padding-left: 20px;
}

#menu-sidebar>li>ul>li>a:hover {
  background: url(images/list_item_head.png) 10px center no-repeat #00a9b8;
  color: #fff;
}

#primary{
  float: left;
  width:721px;
}

article{
  margin-top: 10px;
}

article h2.entry-title{
	background:#00a9b8;
	clear: both;
	color: #fff;
	display: block;
	font-size: 16px;
	font-weight: bold;
	height:42px;
	line-height:42px;
	margin: 0;
	padding: 0 0 0 20px;
}
#column h2.entry-title{
	background:#00a9b8;
	clear: both;
	color: #fff;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height:30px;
	line-height:30px;
	margin: 0;
	padding: 0 0 0 20px;
}
.entry-content{
	background:#FFF;
}
#column .entry-content{
	background:#FFF;
	margin:0;
	padding:0;
}

#sidebar{
  float: right;
  width:254px;
}

.entry-title2{
	background:#00a9b8;
	color: #fff;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height:42px;
	line-height:42px;
	margin-top: 10px;
	padding: 0 0 0 20px;
	width:234px;
}

.entry-content2{
	background:#FFF;
	margin:0;
	width:254px;
	padding:0;
}
	.entry-content2 .one{
		background: url(images/no.1.jpg) 4px 4px no-repeat;
		border:2px solid #f00;
		border-radius:10px;
		min-height:100px;
		margin-bottom:10px;
		margin-top:10px;
		padding:5px 5px 10px;
	}
	.entry-content2 .two{
		background: url(images/no.2.jpg) 4px 4px no-repeat;
		border:2px solid #f90;
		border-radius:10px;
		min-height:100px;
		margin-bottom:10px;
		padding:5px 5px 10px;
	}
	.entry-content2 .three{
		background: url(images/no.3.jpg) 4px 4px no-repeat;
		border:2px solid #9c0;
		border-radius:10px;
		min-height:100px;
		margin-bottom:10px;
		padding:5px 5px 10px;
	}
	.entry-content2 .four{
		background: url(images/no.4.jpg) 4px 4px no-repeat;
		border:2px solid #0bf;
		border-radius:10px;
		min-height:100px;
		margin-bottom:10px;
		padding:5px 5px 10px;
	}
	.entry-content2 .five{
		background: url(images/no.5.jpg) 4px 4px no-repeat;
		border:2px solid #7218e1;
		border-radius:10px;
		min-height:100px;
		margin-bottom:10px;
		padding:5px 5px 10px;
	}
	.entry-content2 .text_box{
		padding:10px 0 0 0;
		line-height:1.6em;
		font-size:12px;
	}
	.entry-content2 .text_box:after{
		content:'';
		display:block;
		clear: both;
	}
	.entry-content2 .text_box img{
		margin: 0 10px 10px 0;
		display:block;
		float:left;
	}
	.entry-content2 .text_box span{
	}
	.entry-content2 .one .text_box img{
		border:1px solid #f00;
	}
	.entry-content2 .two .text_box img{
		border:1px solid #f90;
	}
	.entry-content2 .three .text_box img{
		border:1px solid #9c0;
	}
	.entry-content2 .four .text_box img{
		border:1px solid #0bf;
	}
	.entry-content2 .five .text_box img{
		border:1px solid #7218e1;
	}
		.entry-content2 .menu_t a{
			font-size:16px;
			font-weight:bold;
			text-decoration:underline;
			padding-left:74px;
			padding-top:5px;
			display:block;
		}
		.entry-content2 .menu_t a:hover{
			text-decoration:none;
		}
		.entry-content2 a.pic{
			display:block;
			float:left;
			border:1px solid #F00;
		}
		.entry-content2 a.pic:hover{
			border:1px solid #fff;
		}


#column .category_list{
	margin:0;
	padding:10px 0 10px 30px;
}

article>div>ul{
  padding-left: 30px;
}

article>div>ul>li{
  line-height: 2em;
  list-style: url(images/list_item_head.png);
}

article>div>a.more{
  display: block;
  margin-right: 10px;
  text-align: right;
}

#gototop{
  clear: both;
}

#gototop a{
  background: url(images/gototop.png) no-repeat;
  display: block;
  float: right;
  height:12px;
  overflow: hidden;
  text-indent: -9999px;
  width:108px;
  margin-bottom:5px;
}

#gototop a:hover{
  background-position: 0 -12px;
}

#colophon{
	clear: both;
	margin-top: 10px;
	background:#00a9b8;
}

#bottommenu{
	padding: 10px 10px 0;
}
#bottommenu ul{
	padding: 0;
	list-style: none;
	margin: 0;
	text-align: center;
}

#bottommenu ul li{
	display: inline;
	padding: 0 5px;
	margin: 5px 0;
	border-left: 1px solid #fff;
}

#bottommenu ul li:nth-child(1){
	border-left: 0;
}

#bottommenu a{
  color: #FFF;
  font-size: 12px;
}

#colophon address{
	height: 40px;
	color: #FFF;
	line-height: 40px;
	text-align: center;
	font-size: 12px;
}

#down{
	background: url(images/down.png) top left repeat-x;
}

/* Index */

.column h2{
	background: url(images/title_bg3.png) top left no-repeat;
	border-bottom: none;
	color:#fff;
	text-align:center;
	font-size: 16px;
	font-weight: bold;
	display: block;
	height: 32px;
	line-height: 32px;
	clear: both;
}

.column a.more{
	display: block;
	text-align: right;
}

#position{
  margin-top: 10px;
}

ul.category_list li a img{
  vertical-align: middle;
}
#index_r1 .entry-content,
#index_r2 .entry-content{
	width:721px;
	margin: 0;
	padding:0;
	border-top:none;
}
#index_r1 .entry-content p,
#index_r2 .entry-content p{
	padding:10px 15px;
	margin:0px;;
	background-color:#FFF;
}
#column{
	width:721px;
	margin:10px 0;
}
#content .entry-content{
	width:721px;
	margin:0;
	border-top:none;
	background-color:#FFF;
}
#content .entry-content p{
	margin:0;
	padding:10px 20px;;
}

.category_list0{
	border-top:none;
	margin:0;
	padding:0 4px 0 20px;
	list-style-type:none;
	background:#FFF;
}
#bian{
	margin:0;
	padding:0;
}
ul.category_list0>li{
	line-height: 2em;
	list-style: url(images/list_item_head.png);
	padding:0 4px 0 5px;

}

img.m_af{
  width: 100%;
}

.school_title{
	background-image: url('/wp-content/uploads/bg.jpg');
	font-size: 18px;
	font-weight: bold;
	height: 100px;
	line-height: 100px;
	padding-left: 320px;
}

@media screen and (max-width: 593px) {
  img{
    max-width:100%;
  }
  .entry-content table{
    width:100%!important;
  }

  #page{
    width: 100%;
  }

  #branding{
  	height:60px;
  	overflow:hidden;
  }

  #branding h1{
  	line-height:1.2em;
  	float:none;
  	position:absolute;
  	z-index:1;
  	padding-left:0.5em;
  }

  div.menu-header{
    display: none;
  }

  #primary{
    width: 100%;
    float: none;
  }

  #index_r1 .entry-content,
  #index_r2 .entry-content,
  #content .entry-content {
    width: 100%;
  }

  #column {
    width: 100%;
  }

  #primary table,
  #primary thead,
  #primary tbody,
  #primary tfoot,
  #primary tr,
  #primary th,
  #primary td {
    display: block;
  }

  #sidebar{
    width: 100%;
    float: none;
    display: none;
  }

  .entry-title2 {
    padding: 0;
    text-align: center;
    width: 100%;
  }

  .entry-content2{
    width: 100%;
  }

  .entry-content2 .one{
    border: 2px solid #f00;
    border-radius: 10px;
  }

  .entry-content2 .two{
    border: 2px solid #f90;
    border-radius: 10px;
  }

  .entry-content2 .three{
    border: 2px solid #9c0;
    border-radius: 10px;
  }

  .entry-content2 .four{
    border: 2px solid #0bf;
    border-radius: 10px;
  }

  .entry-content2 .five{
    border: 2px solid #7218E1;
    border-radius: 10px;
  }
  .request_btn{
    background:none!important;
    padding:0!important;
    height:auto!important;
    line-height:1.5em!important;
  }

  .school_title{
    background: none;
    border:2px solid #01A8B8;
    border-radius: 0.2em;
    font-size: 18px;
    height:auto;
    padding:0.5em;
    line-height:1.5em;
  }

.t_m{	
	margin:8px 0;
	overflow:hidden;
}

.no123{	
	width:100%;
	margin:8px 0;
}
.noone{	
	border:2px solid #f00;
	border-radius:10px;
	float: left;
	width:31%;
 
}
.no01{
	padding:2px 0;
	display:block; 
	margin:0 auto;     
}
.notwo{	
	border:2px solid #f90;
	border-radius:10px;
	float: left;
	width:31%;
	margin-left:5px;
}
.nothree{	
	border:2px solid #9c0;
	border-radius:10px;
	float: left;
	width:31%;
	margin-left:5px;
}
.simg{
	padding:4px;
	width:90%;	
}
.t01{
	padding:4px;
}

}