/*
 * Kaicho- Lab. CSS
 *
 * $Id: kai-main.css,v 1.8 2003/03/09 10:59:24 kai Exp $
 */

BODY {
  color: #333333;
  font-family: "Tahoma";
  line-height: 135%;
  margin: 2em 3em;
}

DIV#header, DIV#footer {
  color: #888888;
  font-size: 80%;
  padding: 0.75em;
}

DIV#header {
  float: right;
}

DIV#footer {
  text-align: right;
  line-height: 135%;
  margin-top: -1.5em;
}

ADDRESS {
  font-style: normal;
}


/*----------------------------------------------------------------------*/

A:link    { text-decoration: none; color: #339900; }
A:visited { text-decoration: none; color: #339900; }
A:hover   { text-decoration: underline; }

EM     { font-weight: bold; font-style: normal; }
STRONG { font-weight: bold; color: #FF0000; }

DIV.note, SPAN.note, SPAN.murmur {
  font-size: 80%;
  font-weight: normal;
  color: #666666;
}

A.note {
  font-size: 70%;
  vertical-align: top;
}

H2 SPAN.note {
  font-size: 65%;
}

SPAN.math {
  font-family: "Times";
}

CITE {
  font-style: normal;
}

KBD {
  color: #002AFF;
}

/*----------------------------------------------------------------------*/

H1 {
  font-size: 150%;
  font-weight: bold;
}

h2 {
  color: #e89537;
  font-size: 125%;
  font-weight: bold;
  margin-left: -1em;
  margin-top: 1.5em;
}

H3 {
  font-size: 100%;
  font-weight: bold;
  padding: 0.05em 0.35em;
  border-left: 0.5em #A7A4DA solid;
}

/*----------------------------------------------------------------------*/

DIV.section {
  background-color: #F7F3EA;
  padding-bottom: 0.5em;
  margin: 1.5em 0;
}

DIV.section H2 {
  margin-top: 0;
}

DIV.section H3 {
  margin-left: 1em;
}

DIV.section HR {
  display: inline; /* override "display: none;" */
  margin: 0 1em;
}

/* IE5 & IE5.5 のバグに対応 (でもイマイチ) */
DIV.section UL            { padding-bottom: 0.5em; } /* OK=Mozilla,IE5.5; NG=IE5 */
DIV.section UL:last-child { padding-bottom: 0em; }   /* OK=Mozilla; NG=IE5.5,IE5 */
DIV.section OL            { padding-bottom: 0.5em; }
DIV.section OL:last-child { padding-bottom: 0em; }

/*----------------------------------------------------------------------*/

TABLE {
  margin: 1em;
}

TH, TD {
  border-width: 1px;
  border-color: #999999;
  border-style: solid;
  padding: 0.25em 0.5em;
  line-height: 120%;
}

TH { background-color: #DADCEA; }
TD { background-color: #EAEDFC; }

P {
  margin: 1em;
}

UL, OL, DL {
  margin-left: 3em;
  padding-left: 0;
}

/*----------------------------------------------------------------------*/

DIV.picture {
  margin: 1em;
}

/*----------------------------------------------------------------------*/

DIV.note {
  margin: 1em 2em;
}

DIV.note DL {
  margin-left: 0;
}

DIV.note DL DT {
  float: left;
}

DIV.note DL DT.long {
  float: none;
}

DIV.note DL DD {
  margin-left: 2.5em;
}

/*----------------------------------------------------------------------*/

BLOCKQUOTE, DIV.figure {
  border: solid #DDDDDD 1px;
  padding: 0.5em;
  margin: 0.5em 1em 0.5em 1em;
}

DIV.figure { background-color: #EAEDFC; }
BLOCKQUOTE { background-color: #E8F4EB; }

BLOCKQUOTE P,             DIV.figure P             { margin: 0.5em 0; }
BLOCKQUOTE P:first-child, DIV.figure P:first-child { margin-top: 0; }
BLOCKQUOTE P:last-child,  DIV.figure P:last-child  { margin-bottom: 0; }

DIV.figure UL { padding: 0; margin: 0.5em 0 0.5em 1.5em; }
DIV.figure OL { padding: 0; margin: 0.5em 0 0.5em 1.8em; }
DIV.figure DL { padding: 0; margin: 0; }

/*----------------------------------------------------------------------*/
/* about.html */

DIV#profile DIV.picture, DIV#profile TABLE {
  float: left;
}

DIV#profile HR {
  display: block;
  clear: both;
  border: solid #F7F3EA 1px;
  margin: -0.5em;
}

