html {overflow:scroll;}

/* この設定はページ全体に影響します。本文にだけ作用するようセレクタを変えてください */
body
{
  margin:0px; font-family:Verdana,Arial; line-height:130%;
  background-color:#ffffff; background-image: url(background.gif);
  counter-reset: c1;
}
/* この設定はページ全体に影響します。本文にだけ作用するようセレクタを変えてください */
img { margin-left:12px; margin-right:24px; }
img.m_nomargin { margin:0 0 0 0; } /*テーブル内にイメージを置くときに使用*/
/* この設定はページ全体に影響します。本文にだけ作用するようセレクタを変えてください */
table { margin-left:12px; margin-right:24px; }

/* Silverlightオブジェクト --------------------------------*/
object.m_so_1 { clear:both; background-color:Transparent; margin-left:12px; margin-right:24px; }
/*枠 ------------------------------------------------------*/
table.m_note { clear:both; border-width:0; margin-left:60px; font-size:90%; }
td.m_note_1 { background:#f0e68c; color:#4b0082; padding:1em 1em 1em 1em;
              text-align:left; vertical-align:top; border:ridge 5px #c0c0c0; }
td.m_note_2 { background:#e6e6fa; color:#b22222;  padding:1em 1em 1em 1em;
              text-align:left; vertical-align:top; border:ridge 5px Gray; }
/* IFRAME -------------------------------------------------*/
iframe.m_iframe_std { clear:both; margin-left:12px; margin-right:12px; background-color:Transparent; }

/*テーブル 普通  ------------------------------------------*/
table.m_table_std { margin-left:12px; margin-right:24px; font-size:90%; }
table.m_table_std td.m_top_left { }
table.m_table_std td.m_col_header { text-align:center; font-weight:bold; background-color:#fff0f5; }
table.m_table_std td.m_row_header { text-align:center; font-weight:bold; background-color:#e6e6fa; }
/*テーブル 列ヘッダなし*/
table.m_table_row { margin-left:12px; margin-right:24px; font-size:90%; }
table.m_table_row td { border: outset 3px #ffebcd; text-align:center; background-color:#ffebcd; }
table.m_table_row td.m_top_left { border: outset 3px #ffebcd; text-align:center; background-color:#cd5c5c; color:White; }
table.m_table_row td.m_col_header { border: outset 3px #ffebcd; text-align:center; background-color:#cd5c5c; color:White; }
table.m_table_row td.m_row_header { }
/* 単純な罫線 背景色で罫線を代用。 */
table.m_table_simple { margin-left:12px; margin-right:24px; border:0px; 
                       font-size:90%; background-color:#ff6347; }
table.m_table_simple td.m_top_left { text-align:center; background-color:#fffafa; }
table.m_table_simple td.m_col_header { text-align:center; background-color:#ffc0cb }
table.m_table_simple td.m_row_header { text-align:center; background-color:#ffc0cb; }
table.m_table_simple td { text-align:center; background-color:#fffafa; border-width:0px; }
/* 枠なし TABLEの罫線は使用せず、styleのborderを使用するサンプル。 */
table.m_table_noframe1 { margin-left:12px; margin-right:24px; border-collapse: collapse; 
                         font-size:90%; background-color:#fffafa; }
table.m_table_noframe1 td.m_top_left { border-left:solid 0px black; border-right:solid 1px black; 
                                         border-bottom:solid 1px black; }
table.m_table_noframe1 td.m_col_header { border-left:solid 1px black; border-right:solid 0px black;
                                         border-bottom:solid 1px black; }
table.m_table_noframe1 td.m_row_header { border-left:solid 0px black; border-right:solid 1px black; }
table.m_table_noframe1 td { border-left:solid 1px black; border-right:solid 0px black; border-width:0px; }
/* 単純な罫線 背景色で罫線を代用。 */
/* 行ヘッダのテキストを右寄せ。年表に使用。内容は上寄せ。 */
table.m_table_chrono { margin-left:12px; margin-right:24px; border:0px; 
                       font-size:90%; background-color:#ff6347; }
table.m_table_chrono td.m_top_left { text-align:center; background-color:#fffafa; }
table.m_table_chrono td.m_col_header { text-align:center; font-weight:bold; background-color:#ffc0cb }
table.m_table_chrono td.m_row_header { text-align:right; background-color:#ffc0cb; }
table.m_table_chrono td { text-align:left; vertical-align:text-top; background-color:#fffafa; border-width:0px; }
/* 単純な罫線 背景色で罫線を代用。 */
/* 行ヘッダのテキストを右寄せ。数値用 */
table.m_table_numeric { margin-left:12px; margin-right:24px; border:0px; 
                       font-size:90%; background-color:#ff6347; }
table.m_table_numeric td.m_top_left { text-align:center; background-color:#fffafa; }
table.m_table_numeric td.m_col_header { text-align:center; font-weight:bold; background-color:#ffc0cb }
table.m_table_numeric td.m_row_header { text-align:right; background-color:#ffc0cb; }
table.m_table_numeric td { text-align:right; background-color:#fffafa; border-width:0px; }

/* 単純な罫線 背景色で罫線を代用。 */
table.m_table_normal { margin-left:12px; margin-right:24px; border-width:0px; 
                       font-size:90%; background-color:#ff6347; }
table.m_table_normal td.m_top_left { text-align:center; background-color:#fffafa; }
table.m_table_normal td.m_col_header { text-align:center; background-color:#fffafa; }
table.m_table_normal td.m_row_header { text-align:center; background-color:#fffafa; }
table.m_table_normal td { text-align:center; background-color:#fffafa; border-width:0px; }

/* ディレクトリなど系統木を書くのに。 */
table.m_table_tree { margin-left:12px; margin-right:24px;
                       font-size:80%; background-color:#faf0e6; }
table.m_table_tree td.m_top_left { }
table.m_table_tree td.m_col_header { }
table.m_table_tree td.m_row_header { }
table.m_table_tree td { text-align:left; border-width:0px; line-height:100%; }

/* 罫線の少ない表を書くのに。 */
table.m_table_panel { margin-left:12px; margin-right:24px; border-width:0px;
                       font-size:80%; background-color:#faf0e6;}
table.m_table_panel td.m_top_left { }
table.m_table_panel td.m_col_header { }
table.m_table_panel td.m_row_header { }
table.m_table_panel td { text-align:center; border-style:solid; 
                         line-height:100%; border-width:0px; }
/* 罫線の少ない表を書くのに。*/
table.m_table_panel_f { margin-left:12px; margin-right:24px; border-width:0; 
                       font-size:80%; background-color:#faf0e6;}
table.m_table_panel_f td.m_top_left { }
table.m_table_panel_f td.m_col_header { }
table.m_table_panel_f td.m_row_header { }
table.m_table_panel_f td { text-align:center; border-style:solid; 
                           line-height:100%; border-width:1px; }

/*表題 ----------------------------------------------------*/
h1.m_title
{
    clear:both;
    font-size: x-large;
    color: #191970;
}
h2.m_subtitle
{
    clear:both;
    font-size: large;
    color: #191970;
}
/*章 ------------------------------------------------------*/
h1.m_chapter:before
{
    content: counter(c1) ". ";
    counter-increment: c1;
}
h1.m_chapter
{
    clear:both;
    counter-reset: c2;
    font-size: larger;
    color: black;
}
h2.m_chapter:before
{
    content: counter(c1) "." counter(c2) ". ";
    counter-increment: c2;
}
h2.m_chapter
{
    clear:both;
    counter-reset: c3;
    font-size: medium;
    color: #484848;
}
h3.m_chapter:before
{
    content: counter(c1) "." counter(c2) "." counter(c3) ". ";
    counter-increment: c3;
}
h3.m_chapter
{
    clear:both;
    counter-reset: c4;
    font-size: small;
    color: #484848;
}
h4.m_chapter:before
{
    content: counter(c1) "." counter(c2) "." counter(c3) "." counter(c4) ". ";
    counter-increment: c4;
}
h4.m_chapter
{
    clear:both;
    counter-reset: c5;
    font-size: x-small;
    color: #484848;
}
h5.m_chapter:before
{
    content: counter(c1) "." counter(c2) "." counter(c3) "." counter(c4) "." counter(c5) ". ";
    counter-increment: c5;
}
h5.m_chapter
{
    clear:both;
    counter-reset: c6;
    font-size: x-small;
    color: #484848;
}
h6.m_chapter:before
{
    content: counter(c1) "." counter(c2) "." counter(c3) "." counter(c4) "." counter(c5) "." counter(c6) ". ";
    counter-increment: c6;
}
h6.m_chapter
{
    clear:both;
    font-size: x-small;
    color: #484848;
}
/* ソースコード表示枠 */
div.c_data2
{
    margin:12px;
    border-style:solid;
    border-width:1px;
    border-color:#6495ed;   /*外枠の色*/
    white-space:nowrap;
    font-family:Monospace;
    font-size:85%;          /*文字サイズ*/
    overflow:auto;
    background-color:#fde5d6; /*背景*/
}
div.c_data2 ol { margin-top:4; margin-bottom:4; }
div.c_data2 li
{
    border-left-color:#a9a9a9;   /*行番号との境界*/
    border-left-style:solid;
    border-left-width:5px;
    border-bottom-color:#ffd700; /*行下線*/
    border-bottom-style:solid;
    border-bottom-width:1px;
    color:#ff6347;               /*行番号の色*/
    line-height:100%;            /*行間*/
}
/* 前に使っていたソースコード表示枠 （前に書いた分はそのままなのでで使っている）*/
div.c_data { color: navy;  background-color: #ffead6; border: 1px dotted tan; 
    white-space: nowrap;  font-size:90%; overflow : auto; }
div#pre {
  font-family: 'ＭＳ Ｐゴシック','MS PGothic',sans-serif, monospace;
    padding-right: 0px; 
    font-size: 90%; 
     padding-left: 0px; 
    background: #FFDAB9;
    border: thin solid #CD853F; 
    padding-bottom: 0px; 
    margin: 0px; 
    padding-top: 0px; 
    overflow: scroll;
    overflow-x: auto; 
    overflow-y: auto; 
    white-space: nowrap; 
    min-height: 3em;
    width: expression(  
        ((document.body || document.documentElement).clientWidth > 520)? "520px" :	"auto");
    max-width: 520px;
}