
body{
margin-left: 1em;
padding-right:1em; 
}

body, th, td{
  font-size: 90%;/*90%*/
  line-height: 1.5em;/*0.8em*/
  font-family: Meiryo, sans-serif;
}

a{text-decoration:none; }
a:link    {color:#000099; }
a:visited {color:#000099;}
a:active  {color:#000099;}
a:hover{
color: #CC0000;
text-decoration: underline;
}



/*
////////////////////////////////////////////////////
// �C���f���g
////////////////////////////////////////////////////
*/

.mt1{margin-top:1em;}
.mt2{margin-top:2em;}

.mb0{margin-bottom:0;}

.i0{margin-left: 0;}
.i1{margin-left: 1em;}
.i2{margin-left: 2em;}
.i3{margin-left: 3em;}


h1{
width:100%;
font-size: 150%;
text-align:left;
font-weight: bold;

padding:10px;
margin:0.5em 0;

background-color: #EBEBEB;
border-top: 2px solid #CCCCCC;
border-bottom: 2px solid #CCCCCC;
}


h2{
width:100%;
font-size: 100%;
text-align:left;
font-weight: bold;

padding:5px 0;
margin:1em 0 0 0;

background-color: #EBEBEB;
border-top: 1px dotted #CCCCCC/*#000066*/;
border-bottom: 1px dotted #CCCCCC/*#000066*/;
}


h3{
width:100%;
font-size: 100%;
text-align:left;
font-weight: bold;

padding:5px 0;
margin:1em 0 0 0;
background-color: #FFFFFF;
border-top: 1px dotted #CCCCCC;
border-bottom: 1px dotted #CCCCCC;
}

h4{
width:100%;
font-size: 100%;
text-align:left;
font-weight: bold;

padding-bottom:5px;
margin:1em 0 0 0;

background-color: #FFFFFF;
border-bottom: 1px dotted #CCCCCC;
}

h5{
width:100%;
font-size: 100%;
text-align:left;
font-weight: bold;
padding:0;
margin:1em 0 0 0;
background-color: #FFFFFF;
border-bottom: 1px dotted #CCCCCC;
}

h6{
width:100%;
font-size: 100%;
text-align:left;
font-weight: bold;
padding:0;
margin:1em 0 0 0;
background-color: #FFFFFF;
}



/*///////////////////////////////////*/

/* 
position: relative;
position: absolute;  絶対配置 プレビューされない
*/
.auto_hnum {
  counter-reset: h2count; 
}
.auto_hnum h2{
  counter-increment: h2count; 
  counter-reset: h3count;
}
.auto_hnum h3{
  counter-increment: h3count; 
  counter-reset: h4count;
}
.auto_hnum h4{
  counter-increment: h4count; 
  counter-reset: h5count;
}
.auto_hnum h5{
  counter-increment: h5count;
  counter-reset: h6count;
}

.auto_hnum h6{
  counter-increment: h6count;
  counter-reset: h7count;
}


.auto_hnum h2:before{ content: "(" counter(h2count) ") ";}
.auto_hnum h3:before{ content: counter(h3count) ") ";}
.auto_hnum h4:before{ content: counter(h4count) ". ";}
.auto_hnum h5:before{ content: "(" counter(h5count,lower-latin) ") ";}

.auto_hnum h6:before{ content: counter(h6count,lower-latin) ") ";}


.AutoIndent section{
margin-left: 1em;
}

h2~p{margin-left: 1em;}
h3~p{margin-left: 1em;}
h4~p{margin-left: 1em;}
h5~p{margin-left: 1em;}
h6~p{margin-left: 1em;}


/*HTML5*/
article, aside, figure, figcaption, footer, header, nav, section,p {
display: block;
}














