@colorset "utf-8";

/* 文章の幅指定 */

.container {
  font-size: 18px;               /* 文字サイズ */
  line-height:32px;              /* 行間 */
  max-width: 42em;               /* １行文字数 */
  margin-left: 1em; 1            /* 左インデント */
  text-align: justify;           /* 両端揃え */
  text-justify: inter-ideograph; /* 両端揃えの種類 */
}

/* 表題の文字指定 */

.titl {
  background-color: #6495ED;
  color: white;
}

/* 著者名の文字サイズ */

nm {
  font-size: medium;
}

/* Copyrightの文字指定 */

.cp {
  color: gray;
  font-size: small;
  margin-left: 48em;
  margin-top: -1px;
}

/* 区切り線 */

.line {
  border-top: 2px solid #ccc;
}

/* リンク下線の非表示 */

a {
  text-decoration: none;
}

/* 強調文字（太字）*/

fb {
  font-weight: bold;
}

/* 強調文字（太字・青）*/

fbbl {
  font-weight: bold;
  color: blue;
}

/* 強調文字（青）*/

fbl {
  color: blue;
}

/* 強調文字（赤）*/

frd {
  color: red;
}

/* 強調文字（青、太字、Courier）*/

fbc {
  color: blue;
  font-weight: bold;
  font-family: Courier;
}

/* 文字サイズ */

fs {
  font-size: 14px;
}

f8 {
  font-size: 0.7em;
}

/* 表 */

table {
  margin-left: 3em;
  border-collapse:collapse;
  border-width: 2px;
  border-style: solid;
  border-color: #ccc;
  font-size: 16px;
}

table.mag8 {
  margin-left: 8em;
  border-spacing:10px;
}
table.mag17 {
  margin-left: 17em;
  border-spacing:10px;
}
td.spac10 {
  border-style:none;
  border-spacing:10px;
}


th, td {
  border-width: 2px;
  border-style: solid;
  border-color: #ccc;
  padding: 3px 5px;
  font-size: 14px;
  line-height:18px
}
th {
  background-color: #CCFFFF;
}

th.c1 {
  width:11em;
}
th.c3 {
  width:5em;
}
th.c4 {
  width:7em;
}
td.c3 {
  text-align: center;
}
td.c4 {
  text-align: center;
}
th.cc1 {
  width:4em;
}


/* プログラムコード */

.prog {
  line-height: 22px;
  max-width:35em;
  margin-left: 3em;
  padding-top:0.8em;
  padding-bottom: 0.8em;
  padding-left: 1em;
  font-family: Courier;
  font-size: 15px;
  color: white;
  background-color: black
}
.progw {
  line-height: 22px;
  max-width:44em;
  margin-left: 2em;
  padding-top:0.8em;
  padding-bottom: 0.8em;
  padding-left: 1em;
  font-family: Courier;
  font-size: 15px;
  color: white;
  background-color: black
}
.progww {
  line-height: 22px;
  max-width:50em;
  margin-left: 2em;
  padding-top:0.8em;
  padding-bottom: 0.8em;
  padding-left: 1em;
  font-family: Courier;
  font-size: 13px;
  color: white;
  background-color: black
}
.progwww {
  line-height: 20px;
  max-width:60em;
  margin-left: 2em;
  padding-top:0.3em;
  padding-bottom: 0.3em;
  padding-left: 1em;
  font-family: Courier;
  font-size: 14px;
  color: white;
  background-color: black
}

.progwwww {
  line-height: 18px;
  max-width:60em;
  margin-left: 2em;
  padding-top:0.3em;
  padding-bottom: 0.3em;
  padding-left: 1em;
  font-family: Courier;
  font-size: 13px;
  color: white;
  background-color: black
}

.datlist {
  line-height: 20px;
  max-width:60em;
  margin-left: 2em;
  padding-top:0.3em;
  padding-bottom: 0.3em;
  padding-left: 2em;
  font-family: Courier;
  font-size: 14px;
  color: white;
  background-color: black
}

.datlistw {
  line-height: 18px;
  max-width:60em;
  margin-left: 2em;
  padding-top:0.3em;
  padding-bottom: 0.3em;
  padding-left: 1em;
  font-family: Courier;
  font-size: 13px;
  color: white;
  background-color: black
}

/* 文法 */

.str {
  line-height: 22px;
  max-width:35em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  margin-left: 3em;
  padding-top:0.8em;
  padding-bottom: 0.8em;
  padding-left: 1em;
  font-size:15px;
  background-color: silver
}

.strw {
  line-height: 22px;
  max-width:43em;
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  margin-left: 3em;
  padding-top:0.8em;
  padding-bottom: 0.8em;
  padding-left: 1em;
  font-size:14px;
  background-color: silver
}

/* 箇条書き（段下げ） */

ul  {
  margin: 0;
  padding: 0;
}
ul li  {
  list-style: none;
  padding-left: 3em;
  text-indent: -1.3em; 
}

.lir {
  margin: 2em;
  padding: 0;
}
/* 改行幅の調整 */

.ls {
  margin-top: 0.8em;
}

.lm {
  margin-top: -0.8em;
}

.lmw {
  margin-top: -1.2em;
}





/* 強調文字（青）*/

fc {
  color: blue;
}



/* 強調文字（赤）*/

fg {
  color: red;
}

/* 強調文字（黄）*/

fy {
  color: yellow;
}

/* 強調文字（Courier）*/

fr {
  font-family: Courier;
}

/* 図の上部改行幅の調整 */

.figtop {
  margin-top: -1em;
}
.btop {
  position: relative;
  top: 5px;
}







/* プログラム例の解説文 */

.pge {
  padding-left: 9em;
  text-indent: -9em; 
}



/* 強調文字（青、太字、Courier）*/

mj {
  color: blue;
  font-weight: bold;
  font-family: Courier;
}
