

.ruby {
  height: 1.15em;
  overflow: hidden; }

.ruby.with_furigana {
  height: 1.85em; }

ruby {
  display: inline-table; }

/* Ruby styles copied from Masayasu ISHIKAWA's 2005 W3C note */
ruby * {
  display: inline;
  line-height: 1.2;
  text-indent: 0;
  text-align: center;
  white-space: nowrap; }
ruby > * {
  display: table-row-group; }
ruby > rt, ruby rtc {
  display: table-header-group;
  font-size: 60%; }
ruby rbc > *, ruby rtc > * {
  display: table-cell; }
ruby rtc + rtc {
  display: table-footer-group; }
ruby rtc > *[rbspan] {
  display: table-caption; }
ruby rp {
  display: none; }
ruby .same {
  visibility: hidden; }
ruby > rt.same {
  display: none; }

.ruby_ie {
  margin: 0;
  font-size: 165%;
  font-family: serif; }
  .ruby_ie, .ruby_ie a {
    text-decoration: none !important; }
  .ruby_ie td {
    border: none;
    text-align: center;
    padding: 0; }
  .ruby_ie tr.reading {
    font-size: 60%; }
  .ruby_ie tr+tr {
    background: transparent; }

.ruby_ie.linked {
  color: #3b9bcc; }
  .ruby_ie.linked a:hover, .ruby_ie.linked a:active {
    color: #3b9bcc; }


