.wrap {
	overflow: hidden;
}

body{
	width: 100%; 
	max-width: 1000px; 
	margin: 0 auto; 
	padding:0;
	background-color:#e9e9e9;
	font-family: Georgia,游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN",HGS明朝E,メイリオ,Meiryo,serif;
}

p{
	margin-left:20px;
	margin-right:20px;
}

.inner{
	background-color:#fff;
	margin-top:-20px;
}

.mainTextWrapper{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
}
.mainTextLeft{
	width:20%;
	padding-top:60px;
	background-color:#FFF;
}

.mainTextRight{
	width:80%;
	//padding-top:60px;
	background-color:#FFF;
	min-height:1000px;
}

.topLogo{
	margin:0;
	padding:0;
	height:40px;	
	max-width: 1000px; 
	background: url('head.jpg') center top no-repeat;
	margin-top:40px;
	background-repeat: no-repeat;
}

.topSpace{
	height:10px;	
	max-width: 1000px; 
	background-color:#fff;
}

.topSpace2{
	height:20px;	
	max-width: 1000px; 
	background-color:#fff;
}
.topPic{

	height: 0;
	/* 表示画像の高さ ÷ 表示画像の幅 × 100 */
	padding-top: 38.2%;
	background: url('top.jpg') 0 0 no-repeat;
	background-size: contain;
	border-top:1px solid #aaa;
	border-bottom:1px solid #aaa;
}

.topContent{
	margin:0;
	height:450px;	
	max-width: 1000px; 
	background-color:#fff;
	margin-top:-15px;
	//text-align:center;	
	border-bottom:1px solid #FFF;
}

.imgFrame{
	border: solid 1px #aaa !important; /* 枠線のスタイル 太さ 色 */
	//box-shadow: 0px 0px 3px #808080; /* 影の水平方向の距離 垂直方向の距離 ぼかしの距離 色 */
}

h2{
	font-size:30px;
	padding-top:50px;
	margin-bottom:-60px;
}


#toggle{
	display:none;
}

#menu-box{
	text-align:center;
}

h3{
	//margin-left:10px;	
	//margin-right:10px;	
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 0px;
	//padding-right: 10px;
	color: #777;/*文字色*/
	background: #fff;/*背景色*/
	//border-bottom: solid 2px #e27fde;/*下線*/
	border-bottom: solid 1px #aaa;/*下線*/
	font-size:30px;
	padding-top:60px;
}


h4 {
	border:1px solod #666;
	padding:15px;
	background-color: #CED8F6;
	border-radius: 4px;
	padding: 0.5em;/*文字周りの余白*/
	background: #dfefff;
	box-shadow: 0px 0px 0px 5px #dfefff;
	border: dashed 1px #96c2fe;
	color: #454545;
	margin-bottom:15px;
	margin-top:25px;
}


ul#menu{
	margin:0;
	padding:0;
	list-style:none;
	position: fixed; /* ヘッダーを固定(これが重要) */
}

li.menu{
	display: table-cell;
	*display: inline;  
	*zoom: 1;
	width: 198px;
	margin:0px;
	padding-top:10px;
	height: 30px;
	border:1px solid #FFF;
	font-size:17px;
	text-align:center;
	background-color:#f8e0f7;
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

h1{
    font-size:10px;
    font-weight:normal;
    padding-top:4px;
    margin:0;
}

.top-left{
    float : left ;
    width : 200px ;
    //height : 150px ;
    background : #fc9 ;
    border : 1px solid #000 ;
}
.top-right{
    float : left ;
    width : 795px;
    //height : 150px ;
    background : #9cf ;
    border : 1px solid #000 ;
}
.top-clr{
    clear : both ;
    background : #09f ;
    padding : 0px ;

    margin-bottom:-23px;
}


.foot{
    height:500px;	
    margin-top: 0px;
    padding-bottom: 10px;
    padding-right: 10px;
    color: #666;/*文字色*/
    //background: #f8e0f7;/*背景色*/
    background: #fff;/*背景色*/
    border-top: solid 1px #bbb;
    font-size:12px;

    //position: fixed;
    //bottom: 0;
    //width: 100%;
    //height: 100px;
}

.footOuter{
    padding-top:20px;
    text-align: center;
}

.footBox{
    float: left;
    margin-bottom: 10px;
    font-size:15px;
    width: 190px;
}
.footAfter{
    clear:both;
    border-top:1px solid #FFF;
    padding-top:20px;	
    margin-bottom: 10px;
    font-size:15px;
}

@media only screen and (max-width: 787px) {
	 #switch{
		 display: block;  
	 }


	 body{
		 word-break:break-all;
		 margin:0;
		 padding:0;
		 width: 100%; 
		 max-width: 900px; 
		 margin: 0 auto; 
		 padding:0;
		 //background-color:#aaa;
	 }


	 #switch{
		 background-color:#ddd;
		 margin:0;
		 padding:0;
	 }


	 .topLogo{
		 width:100%;
		 margin:0;
		 padding:0;
		 height:40px;
		 padding-top:30px;	
		 background-image : url(head.jpg);
		 background-position: center center;
		 background-repeat: no-repeat;
		 background-color:#FFF;
	 }

	 .topSpace{
		 display:none;	
	}

	.topSpace2{
		display:none;	
	}


	.top-left{
		width : 100% ;
		height : 150px ;
		background : #fc9 ;
		border : 1px solid #000 ;
	}
	.top-right{
		width : 100% ;
		//height : 150px ;
		//background : #ff0000 ;
		border : 1px solid #000 ;
	}
	.top-clr{
		display:none;      
	}

	.topPic{
		display:none;
		/*
		height: 0;
		/* 表示画像の高さ ÷ 表示画像の幅 × 100 */
		padding-top: 38%;
		background: url('top.jpg') 0 0 no-repeat;
		background-size: contain;
		*/
	}


	.mainTextLeft{
		display:none;
	}

	.mainTextRight{
		width:100%;
		padding-left:20px;
	}

	.eopLogo{
		margin:0;
		padding:0;
		width:100%; 
		height:auto;	
		height:450px;	
		background-image : none;
	}

	.imgFrame{
		width:100%;	
		height: auto;
		border: solid 1px #aaa !important; /* 枠線のスタイル 太さ 色 */
		box-shadow: 0px 0px 5px #808080; /* 影の水平方向の距離 垂直方向の距離 ぼかしの距離 色 */
		margin-bottom:20px;
	}

	h3{
		padding-left: 20px;
		padding-top: 10px;
		padding-bottom: 0px;
		color: #777;/*文字色*/
		background: #fff;/*背景色*/
		border-bottom: solid 1px #aaa;/*下線*/
		font-size:30px;
		//padding-top:60px;
	}

	h2{
		font-size:30px;
		padding-top:-50px;
		margin-bottom:60px;
	}

	#menu{
		width: 100%;
		display:none;
		background-color:#ddd;
		margin:0;
		padding:0;
		border-top:1px solid #000;
	}

	#menu li{
		display: block;
		width: 100%;
		border-bottom:1px solid #aaa;
		height:20px;
		padding-bottom:10px;

	}
	#toggle{
		display: block;
		background-color:#f8e0f7;
		text-align:center;
		position: relative;
		height:30px;
		width: 100%;
		padding-top:10px;
	}


	.foot{
		height:400px;	
		margin-top: 0px;
		padding-bottom: 10px;
		padding-right: 10px;
		color: #666;/*文字色*/
		//background: #f8e0f7;/*背景色*/
		background: #fff;/*背景色*/
		//border-bottom: solid 3px #516ab6;/*下線*/
		font-size:12px;
	}

	.footOuter{
		padding-top:20px;
		text-align: center;
	}

	.footBox{
		float: left;
		margin-bottom: 10px;
		font-size:12px;
		width: 50%;
	}
	.footAfter{
		clear:both;
		padding-top:20px;	
		margin-bottom: 10px;
		font-size:12px;
	}
}/*media end*/


@media only screen and (max-width: 400px) {
	 .topLogo{
		 width:100%;
		 margin:0;
		 padding:0;
		 height:40px;
		 padding-top:30px;	
		 background-image : url(head2.jpg);
		 background-position: center center;
		 background-repeat: no-repeat;
		 background-color:#FFF;
	 }
 }


/*indexの新規記事の横並べ*/
.index-entry-thumb{
	width:220px;
	float: left;
}

.index-entry{
	overflow: hidden;
}

.attachment-thumb75{
	border: 1px #bbb solid;
}


a:link{
	color:#555;
	text-decoration:underline;
}
a:visited{
	color:#555;
	text-decoration:underline;
}
a:hover{
	color:#aaa;
	text-decoration:underline;
}

a:active{
	color:#555;
	text-decoration:underline;
}










a.footLink:link{
	color:#555;
	text-decoration:underline;
}
a.footLink:visited{
	color:#555;
	text-decoration:underline;
}
a.footLink:555{
	color:#aaa;
	text-decoration:underline;
}

a.footLink:active{
	color:#555;
	text-decoration:underline;
}


a.headLink:link{
	color:#555;
	text-decoration:none;
}
a.headLink:visited{
	color:#555;
	text-decoration:none;
}
a.headLink:555{
	color:#aaa;
	text-decoration:none;
}

a.headLink:active{
	color:#555;
	text-decoration:none;
}

.table-ul {
	//background-color: #3ae;
	display: table;
	table-layout: fixed;
	text-align: center;
	width: 100%;
	margin-left:-40px;
	background-color:#f8e0f7;
	margin-bottom:-40px;
	//margin-top:-1px;
	border-bottom:1px solid #aaa;
}
.table-ul li {
	//border-right: 1px solid #fff;
	display: table-cell;
	vertical-align: middle;
}
.table-ul li:last-child {
	border-right: 0;
}
.table-ul li a {
	color: #fff;
	display: block;
	font-size: 12px;
	text-decoration: none;
	//padding: 10px 0;
	padding-bottom:20px;
}


li.menu{
	color:#FF000;
	text-decoration:none;
}
h1{
	display:none;
}
