body {
  color: black;
}

p {
  /*** margin: .4em 0 1em 1.2em; ***/
  margin: 5px 0 3px 15px;
  line-height: 1.5em;
}


/******************* h ********************/
h1, h2, h3, h4, h5, h6 {
  color: black;
  background: none;
  margin: 0;
  padding-top: .5em;
  padding-bottom: .17em;
  border-bottom: 1px dashed #596d9d;
  letter-spacing:1px;
  font-family:Arial, sans-serif;
}

h1 {
  font-size: 18px;
  background: white url(ge.png) 0 0 no-repeat;
  margin-top:5px;
  border-top: 1px dashed #596d9d;
  padding:6px 3px;
  font-weight: bold;
}
h1 .editsection {
  font-size: 53%;
}

h2 {
  font-size: 125%;
  border-left:5px solid #596d9d;
  padding-left:8px;
  background-image:url(h2bg.png);
  background-repeat:repeat-y;
  color:#009;
  font-weight: bold;
}
h2 .editsection {
  font-size: 67%;
}
h3, h4, h5, h6 {
  border-bottom: none;
  font-weight: bold;
}

h3 {
  margin-left:.5em;
  font-size: 120%;
  padding-left:5px;
  background-image:url(h3bg.png);
  background-repeat:repeat-y;
  color:#66f;
}
h3 .editsection { font-size: 76%; font-weight: normal; }
h4 {
  margin-left:1.2em;
  font-size: 100%;
  color:#444;
  letter-spacing:1px;
  border-left:solid 3px #9cc;
  padding-left:3px;
}
h4 .editsection { font-size: 86%; font-weight: normal; }
h5 {
  margin-left:1.2em;
  font-size: 100%;
}
h5 .editsection {
  font-weight: normal;
}
h6 { margin-left:1.2em;font-size: 80%;  }
h6 .editsection { font-size: 125%; font-weight: normal; }
/******************* h ********************/

ul {
  line-height: 1.5em;
  list-style-type: square;
  /*** margin: .3em 0 1em 3em; ***/
  margin: 5px 0 5px 35px;
  padding: 0;
  list-style-image: url(bullet.gif);
}
li ul{
  margin: .3em 0 1em 1.8em;
}
ol {
line-height: 1.5em;
margin: .3em 0 1em 3em;
padding: 0;
list-style-image: none;
}
li {
margin-bottom: .1em;
}
dt {
font-weight: bold;
margin-bottom: .1em;
}
dl {
margin-top: .2em;
margin-bottom: .2em;
margin-left:1em;
}
dd {
line-height: 1.5em;
margin-left: .2em;
margin-bottom: .1em;
}

fieldset {
border: 1px solid #2f6fab;
margin: 1em 0 1em 0;
padding: 0 1em 1em;
line-height: 1.5em;
}
fieldset.nested {
margin: 0 0 0.5em 0;
padding: 0 0.5em 0.5em;
}
legend {
padding: .5em;
font-size: 95%;
}
form {
border: none;
margin: 0;
}

textarea {
width: 100%;
padding: .1em;
}

input.historysubmit {
padding: 0 .3em .3em .3em !important;
font-size: 94%;
cursor: pointer;
height: 1.7em !important;
margin-left: 1.6em;
}
select {
vertical-align: top;
}
abbr, acronym, .explain {
border-bottom: 1px dotted black;
color: black;
background: none;
cursor: help;
}
q {
font-family: Times, "Times New Roman", serif;
font-style: italic;
}
code {
background-color: #f9f9f9;
}
pre {
margin-left:2.2em;
padding: .7em;
width:95%;
border: 1px dashed #2f6fab;
/*    background-color: #f9fbf6;*/
line-height: 1.3;
overflow: auto;
overflow-y: hidden;
height:100%;
white-space: -moz-pre-wrap; /* Mozilla */
white-space: -pre-wrap;     /* Opera 4-6 */
white-space: -o-pre-wrap;   /* Opera 7 */
white-space: pre-wrap;      /* CSS3 */
word-wrap: break-word;      /* IE 5.5+ */
background-image:url(prebg.png);
background-repeat:repeat-y;
}

/* Table */
table.wikitable td, table.wikitable th{
padding: 0.2em 0.6em;
}

div#bodyContent table {
  background:#FFF;
  border-spacing:0;
  border-collapse:collapse;
  margin-left:25px;
  margin-bottom:5px;
  margin-top:5px;
}

div#bodyContent table th {
padding:3px 5px;
border-bottom:1px solid gray;
background:#f5f5f5;
color:#1D5EB3;
border: 1px solid #CACACA;
text-align: left;
}

div#bodyContent table td {
  padding:2px 2px;
  border:1px solid #CACACA;
}

/*** 目次 ***/
#toc, .toc, .mw-warning {
  border: 1px solid #aaa;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  padding: 5px;
  font-size: 95%;
}

#toc td, .toc td, .mw-warning td {
  padding:10px 15px;
  background-color: #fcfffe;
}

#toc h2,.toc h2 {
  display: inline;
  border: none;
  padding: 0;
  font-size: 100%;
  font-weight: bold;
}
#toc #toctitle, .toc #toctitle, #toc .toctitle, .toc .toctitle {
  text-align: center;
}
div#toctitle {
  background-color:#f1f3f0;
}

#toc ul, .toc ul {
  list-style-type: none;
  list-style-image: none;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}
#toc ul ul, .toc ul ul {
  margin: 0 0 0 2em;
}
#toc .toctoggle, .toc .toctoggle {
  font-size: 94%;
}
table#toc {
  float:right;
}
/*** 目次 ***/

/**** キャラ情報 START ****/
div#charinfo {
  float:right;
  background-color:white;
  border:1px dashed black;
  margin:0 10px 5px 5px;
  padding:5px 10px 5px 0px;
}
/**** キャラ情報 END ****/

