@charset "utf-8";
/* CSS Document */

/****************************************
		一般的な設定
*****************************************/
title {
  padding-left: 30px;
  line-height: 30px;
  background-color: #99c7ff;
}
body {
  color: #333;
  font-family: Helvetica, Arial, Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  height: auto;
  font-size: 16px !important;
  line-height: 1.6;
  position: relative;
  background-color: #abe1fa;
}
a:link {
  color: #8c4600;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  color: #f39800;
}
a:visited {
  color: #8c4600;
}
a:hover img {
  filter: alpha(opacity=70);
  -moz-opacity: 0.7;
  opacity: 0.7;
}

/****************************************
		基本的なレイアウト
*****************************************/
#wrapper {
  margin: 3px auto 0;
  background-color: #fff;
  width: 1024px;
  border: 1px solid #333;
  padding: 5px 10px;
}
h1 {
  text-align: center;
  font-size: x-large;
  background: #99c7ff;
  color: #000000;
  padding: 4px 10px;
  margin: 10px 0;
}

h2 {
  background-color: #abe1fa;
  font-size: 18px;
  color: #000;
  padding-left: 10px;
  line-height: 34px;
}
p {
  margin: 5px 20px 10px;
  text-align: justify;
  text-indent: 1em;
}

ul {
  margin-right: 20px;
  text-align: justify;
}
ul li {
  line-height: 1.5;
  padding: 0.5em 0;
}
ol {
  counter-reset: number; /*数字をリセット*/
  list-style-type: none !important; /*数字を一旦消す*/
  padding: 0.5em 30px;
  /*background: #f5faff;*/
}
ol li {
  position: relative;
  padding-left: 50px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 40px;
}

ol li:before {
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*以下数字のデザイン変える*/
  display: inline-block;
  background: yellow;
  border: red 2px solid;
  color: red;
  font-family: Helvetica, Arial, Verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
  font-weight: bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
/****************************************
		計算式
*****************************************/
span.i {
  font-style: italic;
}

span.eq {
  padding: 0px 2px;
}

span.eqi {
  font-style: italic;
  padding: 0px 2px;
}

dl.eq {
  padding: 5px 10px;
  margin: 10px 10px;
}

dl.eq dt {
  text-align: left;
  float: right;
  clear: right;
  width: 10%;
}

dl.eq dd {
  text-align: center;
  font-size: large;
  width: 50%;
  margin-left: 25%;
}
span.sigma {
  font-size: xx-large;
}

/****************************************
		その他
*****************************************/
/* 図 */
div.fig {
  text-align: center;
  width: 90%;
  margin-top: 20px;
  margin-bottom: 20px;
}

div.figcap {
  text-align: left;
  margin-top: 10px;
}
.txtR {
  text-align: right;
  padding: 5px 10px;
  margin: 10px 10px;
}

img.fig {
  margin-left: 10%;
  width: 80%;
  text-align: center;
}

span.fignum {
  font-weight: bold;
  margin-right: 1em;
}

.txtCenter {
  text-align: center;
}
