body { 
  font-family	: serif;
  margin	: 2em 1.5em 3em;
}

p, li, dd { 
  line-height	: 1.5;
  text-align	: justify;
}

h2, h3, h4, h5 { 
  font-weight	: bold;
  margin	: 2em 0 0.5em;
}

h1 + h2,
h2 + h3,
h3 + h4,
h4 + h5
{ 
  margin-top	: 0.25em;
}

h5 + h5
{ 
  margin-top	: 1em;
}

h1 { font-size	: 300%; text-align	: center; }
h2 { font-size	: 200%; }
h3 { font-size	: 150%; }
h4 { font-size	: 120%; }
h5 { 
  font-size	: 100%;
  width	: 95%;
  border-bottom	: 1px solid black;
  padding-left	: 0.5em;
}

ul { 
  list-style-type	: circle;
  padding-left	: 2em;
}

address { 
  text-align	: right;
  font-style	: normal;
}

dt { 
  border	: 1px solid gray;
  padding	: 0.25em;
  border-radius	: 10%;
  margin	: 0.75em 0 0.25em;
  width	: 1em;
  text-align	: center;
}

dd { 
  margin-left	: 1em;
}

em { 
  font-weight	: normal;
  font-style	: normal;
}

rp, rt { 
  color	: gray;
  vertical-align	: bottom;
  letter-spacing	: normal;
}

rtc:first-of-type:before { 
  content	: "(";
}

rtc:last-of-type:after { 
  content	: ")";
  color	: gray;
}

rtc:last-child:after { 
  content	: "";
}

rtc:after { 
  content	: ", ";
  color	: gray;
}

table { 
  margin	: auto;
}

caption { 
  text-align	: center;
  margin	: auto;
}

th { 
  white-space	: nowrap;
}

q:before { 
  content	: "";
}

q:after { 
  content	: "";
}

/* 傍点。うーむ */
em.bou { 
  border-bottom	: 1px dotted black;
}

/* 振り假名、割り注は小書き */
rp, rt, .warityuu, .annotation { 
  font-size	: 75%;
  font-weight	: normal;
}

/* 短歌の字餘りの字 */
em.correct { 
  font-weight	: bold;
}

em.wrong { 
  font-style	: italic;
}

/* 注 */
*[title] { 
  text-decoration	: underline;
}

*[title]:after { 
  content	: "*";
  font-size	: 75%;
  margin-right	: 0.25em;
  vertical-align	: top;
}

/* 短歌は行頭二字下げ字間二分空き */
.tanka { 
  display	: block;
  text-indent	: -3em;
  text-align	: left;
  margin	: 0.25em 5em;
  margin-right	: 0;
  letter-spacing	: 0.5em;
}

/* 改行は上の句と下の句の間に制限する。
   .moto と .suwe の間には non-width space &#x200b; を入れる
   */
.moto, .suwe { 
  white-space	: nowrap;
}

/* 原文割注は括弧つきにしておく */
.warityuu:before { 
  content : "(";
}

.warityuu:after { 
  content : ")";
}

/* 注記的に書かれてゐる節 */
.note { 
  font-size	: 90%;
  margin-left	: 4em;
}

/* 字音の同のところ。うーむ。 */
.annotation dt,
.annotation dd
{ 
  display	: inline;
}


/* 凡例 */
#explanatory-note { 
  margin	: 0 auto 3em;
  padding-bottom	: 1em;
  border-bottom	: solid 1px black;
}

/* 目録 */
ul#toc > li > ul > li { 
  display	: inline;
  margin-right	: 0.5em;
  white-space	: nowrap;
}

/* 序、目録、文書末尾 */
#eop, #eotoc, #eod { 
  text-align	: right;
}

/* 奧付 */
#colophon { 
  margin-top	: 3em;
  border-top	: solid 1px black;
  padding-top	: 1em;
}

/* 喉音輕重等第圖 */
#kouom-keityou { 
  text-align	: center;
}

#kouom-keityou tbody td { 
  font-size	: 50%;
  text-align	: center;
  width	: 6em;
  height	: 5em;
}

#kouom-keityou td em { 
  font-size	: 200%;
}

#kouom-keityou thead td, 
#kouom-keityou tfoot td { 
  font-size	: 100%;
}

#kouom-keityou .keityou { 
  white-space	: normal;
  width	: 1em;
}

#kouom-keityou tbody th { 
  text-align	: left;
}

#kouom-keityou tfoot th { 
  vertical-align	: bottom;
}

#kouom-keityou thead td
, #kouom-keityou tfoot td { 
  font-size	: 120%;
  text-align	: center;
  vertical-align	: middle;
}

/* 字音開合指掌圖 */
table#ziom-kaigaf-body .gaf { 
  background-color	: black;
  color	: white;
}

table#ziom-kaigaf-body .kaigaf { 
  background-color	: #999;
}

table#ziom-kaigaf-body td { 
  font-size	: 50%;
  text-align	: center;
  height	: 5em;
  width	: 5em;
}

table#ziom-kaigaf td em { 
  font-size	: 200%;
}

/* 字音假名三會圖説 */
.samkwai tbody th { 
  width	: 1em;
  white-space	: normal;
}

.samkwai tbody td { 
  font-size	: 50%;
  text-align	: center;
  height	: 6em;
  width	: 4em;
}

.samkwai em { 
  font-size	: 200%;
  border-radius	: 50%;
}

.samkwai em:first-child { 
  border	: 1px solid gray;
  padding	: 0.25em;
}

#samkwai-2 em:first-child,
#samkwai-3 em:first-child
{ 
  font-size	: inherit;
  padding	: 1em 0.5em;
}
