@font-face {
  font-family: 'fon1';
	src: url('../font/math2013.eot');
	src: url('../font/math2013.eot?#iefix') format('embedded-opentype'),
			url('../font/math2013.woff') format('woff'),
  			url('../font/math2013.ttf') format('truetype');
}
@font-face {
  font-family: 'fon2';
	src: url('../font/cmr10.eot');
	src: url('../font/cmr10.eot?#iefix') format('embedded-opentype'),
			url('../font/cmr10.woff') format('woff'),
  			url('../font/cmr10.ttf') format('truetype');
}
body, #oyaBox, .topBox{
margin: auto;
}
img, iframe{
border: 0px;
}
#oyaBox{
position: relative;
width: 800px;
}
#o_box{
position:relative;
width: 970px;
margin:auto;
	}/*
@media screen and (max-device-width : 1000px){
#o_box{width:99%;
}
}*/
.topBox{
  width:100%;height:86px;overflow: hidden;margin-bottom:0px;
text-align: left;
}

div.efon{
font-family:'fon1';
margin:0.2em 0 0.5em 0;
padding-bottom: 0.3em;
padding-left:5em;
border-bottom: 2px solid #A52A2A;
font-size: large;
}
#shado{
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius=5,MakeShadow=1);
font-size: xx-large;
font-weight: 800;
position: absolute;
top:7px;
left:7px;
z-index: -7;
}
#shado2{
color: white;
filter:progid:DXImageTransform.Microsoft.Blur(PixelRadius=2);
font-size: xx-large;
font-weight: 800;
position: absolute;
top:8px;
left:8px;
z-index: -1;
}
/*トップタイトル*/
#dai{
padding: 0;
font-size: xx-large;
font-weight: 800;
text-shadow:0px 0px 2px #ffffff, 1px 1px 5px #000000;
color:#7F1919;
padding:10px;
}
#dai a{
color:#7F1919;
text-decoration: none;
}
#dai a:hover{
background: none;
color:#D15858;
}
.cl{
clear:both;
}
/*検索ボックス*/
#kensaku{	
	position: absolute;
	top:22px;
	left: 420px;
margin-top:8px;
padding:0 0 0 0;
background-color: #ffffff;
}
#pan{
position:absolute;top:0.5em;right:1em;
font-size: small;
}
#ads1, #ads2, #ads3, #ads4, #ads5{
position: absolute;
}
#ads1{
top: 100px;
right: 0;
}
#ads2{
top:190px;
right: 0px;
}
#ads3, #ads4{
bottom:370px;
}
#ads3{left:3em;}
#ads4{left:450px;margin-left:1em;}
#ads5{
bottom: 3.5em;
right: 0;
}
#main_box{
position: relative;
margin-top:120px;
width: 100%;
margin-bottom: 630px;
border-bottom:#a52a2a 1px solid;
}
#kanren{
position: absolute;
bottom: 50px;

}
h1{
text-align: left;
text-shadow:0 0 1px #ffffff,0 0 2px #ffffff,0 0 3px #ffffff,0 0 5px #ffffff,0 0 8px #808080,0 0 18px #B3B3B3;
font-size:large;
font-weight: bold;
width:95%;
margin: auto;
color:#282828;
padding:0.7em 0 0.5em 1em;
border-radius: 0.2em;
box-shadow:3px 3px 4px 4px #C3C3C3;
box-shadow:3px 3px 4px 4px #C3C3C3;
background-color: #722625;
background: -webkit-gradient(linear, left top, left bottom, from(#DCDCDC), color-stop(30%,#ffffff), color-stop(32%,#F5F5F5),color-stop(55%,#D4D4D4), color-stop(98%,#EEEEEE),to(#DDDDF0));
background: -moz-linear-gradient(top, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
background:linear-gradient(to bottom, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #A2A7AD);
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffe1e1e1,EndColorStr=#fffafafa);
-PIE-background:linear-gradient(top, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
behavior:url("PIE.htc");
}
h1 span{
border-left: 6px solid #CE3225;
padding-left: 1em;
}
h2{
line-height:2;
border-top:2px solid #7F7F7F;
border-bottom:2px solid #7F7F7F;
background-color:#F5F5F5;
width:95%;
font-size:large;
padding-left:1em;
/*		width: 96%;
  font-size : large;
		margin-left: 0.5em;
		margin-top: 1.5em;
	line-height: 2;
  font-weight : bold;
  padding-left: 0.8em;
  border-bottom: #B4494D solid 2px;
  border-left: #B4494D solid 8px;
  box-shadow:0 -1px 6px gray;
  border-radius:5px;*/
}
h3{
		width: 90%;
  font-size : medium;
		margin-left: 0.5em;
		margin-top: 0.5em;
	line-height: 1.5;
  font-weight : bold;
  padding-left: 1em;
  background:linear-gradient(to right, #242449, #4B4B99 6px, #F3F3F3 6px, #F3F3F3);
  
  border:#F3F3F3 5px solid;
  box-shadow:0 0 5px black;
  border-radius:5px;

}
.honbun{
width: 95%;
margin: 0.5em 0 0 1em;
border-bottom: 2px solid #A52A2A;
}
.honbun p{
width: 94%;
line-height: 1.8;
font-size: medium;
text-align:left;
margin:1em 2% 1em 4%;
padding-bottom: 1em;
/*border-bottom:2px #AD776B dotted;*/
}
.honbun div{
line-height: 2;
margin:20px;
padding-bottom: 1em;
border-bottom:2px #6B86AD dotted;}
.honbun p:last-of-type, .honbun div:last-of-type{
border-bottom: none;
}
a{
  color : #000033;
}
table{
border:1px black solid;	
border-collapse: collapse;
	}
td{
text-align:center;
border:1px solid black;	
	}
img a:hover{
background-color: white;
}
#bottomBox{
margin-top:10px;
width:100%;height:120px;
text-align:center;
}
#bottomB{
width:95%;text-align:center;font-size:small;
margin-top:10px;
font-weight:normal;color:#616161;
}
#bottomB a{
color: #6B6B6B;
text-decoration: none;

}
#bottomB a:hover{
 cursor: text;
 background-color: white;
}
.bBar{
margin-top:25px;
text-align: center;padding:3px;
width: 98%;
font-size: 75%;
border-top: 2px solid #a52a2a;
}
.bBar A{
color: #353764;
border-left-style: solid;border-left-width:1px;border-left-color: #353764;
padding-left: 10px;padding-right:10px;padding-top:1px;padding-bottom:1px;
}
.bBar A:hover{
color: white;
background-color: #353764;
}
.susiki{
font-size:85%; margin-left:20px; white-space:nowrap;padding: 0px;
}
.lft{
float: left;
}
.uLine{
text-decoration: underline;
}
span.mfon{
font-family: 'fon1';
margin-left:0.2em;
margin-right:0.2em;
}
div.naviTop li a.here{
    border-bottom: 2px #AA0A00 solid;
  color : #5C5C5C;
text-shadow:1px 1px 8px #ffffff,0 0 4px #ffffff,0 0 2px #ffffff,0 0 6px #ffffff;
}
div.naviTop li a.here:hover{
color : #5C5C5C;
cursor: default;
}

/*タブレット端末　縦の時*/
@media screen and (orientation:portrait){
#naviTop li a{font-size: small;}
#ads2{left: 0;}
#ads3{left:0;}
#ads4{left:305px;}
}



/*ここかｆら*/
#naviTop{
padding: 0px;
width:100%;
margin: 40px 0px 40px 0px;
z-index: 10;
position: relative;
height:50px;
}
#naviTop ul{
 font-size:medium;
 font-weight: bolder;
 margin-left:0px;
  padding: 0px;
 }
#naviTop li{
overflow: hidden;white-space: nowrap;
display : inline;
  margin: 0px;  float:left;
  width:16.6%;
}
#naviTop li a{
display: block;     
  margin-left : 0px;
  color : #000033; 
  padding:0.7em 0px;
  border-bottom: 3px solid #9F5F5F;
  border-top: 3px solid #444444;
  
  text-align:center;
background: -webkit-gradient(linear, left top, left bottom, from(#DCDCDC), color-stop(30%,#ffffff), color-stop(32%,#F5F5F5),color-stop(55%,#D4D4D4), color-stop(98%,#EEEEEE),to(#DDDDF0));
background: -moz-linear-gradient(top, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
background:linear-gradient(to bottom, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffe1e1e1,EndColorStr=#fffafafa);
-PIE-background:linear-gradient(top, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
behavior:url("PIE.htc");
height: 20px;  	
}
#naviTop li a:hover{
text-shadow:0 0 1px #FFFFFF, 0 0 4px #FFFFFF, 0 0 7px #FFFFFF, 0 0 11px #FFFFFF, 0 0 16px #FFFFFF, 0 0 22px #FFFFFF;
background: -webkit-gradient(linear, left top, left bottom, from(#C0514C), color-stop(30%,#ffffff), color-stop(32%,#F5F5F5),color-stop(55%,#F59292), color-stop(98%,#BE3535),to(#E7484E));
background: -moz-linear-gradient(top, #C0514C, #FFFFFF 30%, #F5F5F5 32%, #F59292 55%, #BE3535 98%, #E7484E);
background:linear-gradient(to bottom, #C0514C, #FFFFFF 30%, #F5F5F5 32%, #F59292 55%, #BE3535 98%, #E7484E);
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffe1e1e1,EndColorStr=#fffafafa);
-PIE-background:linear-gradient(top, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
behavior:url("PIE.htc");
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffF59292,EndColorStr=#fffafafa);
}

/*テーブルレイアウト*/
.tbl{display:inline-table;text-indent:0;}
.td{display:table-cell;padding:0.2em;color:black;}
.tr{display:table-row;}
.td.r{text-align:right;}
.td.l{text-align:left;}
.td.c{text-align:center;}

#kanren div{
text-align: left;
text-shadow:0 0 1px #ffffff,0 0 2px #ffffff,0 0 3px #ffffff,0 0 5px #ffffff,0 0 8px #808080,0 0 18px #B3B3B3;
font-size:large;
font-weight: bold;
width:95%;
margin: auto;
margin-bottom:20px;
color:#282828;
padding:0.7em 0 0.5em 1em;
border-radius: 0.2em;
box-shadow:3px 3px 4px 4px #C3C3C3;
box-shadow:3px 3px 4px 4px #C3C3C3;
background-color: #722625;
background: -webkit-gradient(linear, left top, left bottom, from(#DCDCDC), color-stop(30%,#ffffff), color-stop(32%,#F5F5F5),color-stop(55%,#D4D4D4), color-stop(98%,#EEEEEE),to(#DDDDF0));
background: -moz-linear-gradient(top, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
background:linear-gradient(to bottom, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffe1e1e1,EndColorStr=#fffafafa);
-PIE-background:linear-gradient(top, #DCDCDC, #FFFFFF 30%, #F5F5F5 32%, #D4D4D4 55%, #EEEEEE 98%, #4C657F);
behavior:url("PIE.htc");
position:relative;
}
#kanren div span{
border-left: 6px solid #CE3225;
padding-left: 1em;
color:black;
}
