.table1, th{
 border-collapse:collapse;
 border: none;
 font: 16px Arial;
}
.table1, td{
 border-collapse:collapse;
 border: none;
 font-family: Arial, sans-serif;
 font: 16px;
}

.table1{
 margin-right: auto;
 margin-left: auto;
}

/* ヘッダ領域の書式設定 */
.table1 th:nth-of-type(1) {
 border: 1px solid;
 background-color: #ccffff;
 padding-left: 10px;
 text-align: left;
}
.table1 th:nth-of-type(2) {
 border: 1px solid;
 background-color: #ccffff;
}
.table1 th:nth-of-type(4) {
 border: 1px solid;
 background-color: #ccffff;
 padding-left: 5px;
 padding-right: 5px;
}

/* データ領域の書式設定 */
	/* 通貨名 */
	.table1 td:nth-of-type(1) {
	 border: 1px solid;
	 padding-left: 10px;
	 width: 160px;
	 text-align: left;
 	 background-color: #ffffee;
	}
	/* 通貨コード */
	.table1 td:nth-of-type(2) {
	 border: 1px solid;
	 padding: 6px;
	 text-align: center;
 	 background-color: #ffffee;
	}
	/* 発行機関シンボル */
	.table1 td:nth-of-type(3) {
	 border-bottom: 1px solid;
	 height: 50px;
	 width: 50px;
	 text-align: center;
 	 background-color: #ffffee;
	}
	/* 発行機関名 */
	.table1 td:nth-of-type(4) {
	 border-bottom: 1px solid;
	 width: 355px;
	 text-align: left;
 	 background-color: #ffffee;
	}
	/* Newのマーク */
	.table1 td:nth-of-type(5) {
	 border-bottom: 1px solid;
	 padding: 5px;
 	 background-color: #ffffee;
	}
	/* 空欄 */
	.table1 td:nth-of-type(6) {
	 border-left: 1px solid;
	}
	/* 保有枚数 */
	.table1 td:nth-of-type(7) {
	 border: 1px solid;
	 padding-right: 10px;
	 text-align: right;
 	 background-color: #ffffee;
	}

/* Numismatic用 */
.table2, th{
 border-collapse:collapse;
 border: none;
 font: 16px Arial;
}
.table2, td{
 border-collapse:collapse;
 border: none;
 font-family: Arial, sans-serif;
 font: 16px Arial;
}

.table2{
 margin-right: auto;
 margin-left: auto;
}

/* ヘッダ領域の書式設定 */
.table2 th:nth-of-type(1) {
 border: 1px solid;
 background-color: #ccffff;
 padding-left: 10px;
 text-align: left;
}
.table2 th:nth-of-type(2) {
 border: 1px solid;
 background-color: #ccffff;
 padding-left: 5px;
 padding-right: 5px;
 text-align: left;
}
.table2 th:nth-of-type(3) {
 border: 1px solid;
 background-color: #ccffff;
}
.table2 th:nth-of-type(4) {
 border: 1px solid;
 background-color: #ccffff;
 padding-left: 10px;
 text-align: left;
}
.table2 th:nth-of-type(5) {
 border: 1px solid;
 background-color: #ccffff;
 padding-left: 10px;
 text-align: left;
}

/* データ領域の書式設定 */
	/* 国・国旗 */
	.table2 td:nth-of-type(1) {
	 border: 1px solid;
	 padding: 6px;
	 text-align: left;
	 vertical-align: middle;
 	 background-color: #fffff4;
	}
	/* 額面 */
	.table2 td:nth-of-type(2) {
	 border: 1px solid;
	 padding: 6px;
	 text-align: left;
 	 background-color: #fffff4;
	}
	/* サムネイル画像 */
	.table2 td:nth-of-type(3) {
	 border: 1px solid;
	 padding: 6px;
	 text-align: center;
 	 background-color: #fffff4;
	}
	/* UVアイコン */
	.table2 td:nth-of-type(4) {
	 border: 1px solid;
	 padding-left: 6px;
	 padding-right: 6px;
	 text-align: left;
 	 background-color: #fffff4;
	}
	/* カタログ・記番号 */
	.table2 td:nth-of-type(5) {
	 border: 1px solid;
	 padding: 6px;
	 text-align: left;
	 font: 12px Arial;
 	 background-color: #fffff4;
	}
	/* 特記事項 */
	.table2 td:nth-of-type(6) {
	 border: 1px solid;
	 padding: 6px;
	 text-align: left;
 	 background-color: #fffff4;
	}




test {
 font: 14px Arial;
}


<!----以前作ったヘッダ、フッタ等-------->




/*メインの表の書式*/
.contents {
  position: relative;
  top: 24px;/*ヘッダーの逃げ*/
  bottom: 100px;
  height: auto;
  z-index: 0;
  margin-right: auto;
  margin-left: auto;
  background-color: #ffffff;
  font: Arial;/* フォントサイズ/種類を指定する */
  padding-right: 5px;
  padding-bottom: 35px;/*フッターの逃げ*/
}

table {
  /*EXCELに合わせるので特に設定しない*/
}

/*通貨名用のヘッダ*/
.header {
  position: fixed; /* ヘッダーを固定する */
  top: 0; /* 上端から配置の基準位置を決める */
  right: 0; /* 右から配置の基準位置を決める */
  left: 0; /* 左から配置の基準位置を決める */
  height: 30px; /* ヘッダーの高さを指定する */
  padding: 1px; /* ヘッダーの余白を指定する(上下左右) */
  text-align: left; /* ヘッダーテキストの位置を指定する(左詰め) */
  background-color: #ffffff; /* ヘッダーの背景色を指定する */
  font: bold 19px Arial Black;/* ヘッダーのフォントサイズ/種類を指定する */
  color: #000000; /* フォントの色を指定する */
  z-index: 10;/*メインの表より上に表示*/
  margin-right: auto;
  margin-left: auto;
}

/*Update日付用のヘッダ*/
.header2 {
  position: fixed; /* ヘッダーを固定する */
  top: 14px; /* 上端から配置の基準位置を決める */
  right: 5%; /* 右から配置の基準位置を決める */
  left: 0; /* 左から配置の基準位置を決める */
  height: 35px; /* ヘッダーの高さを指定する */
  padding: 1px; /* ヘッダーの余白を指定する(上下左右) */
  text-align: right; /* ヘッダーテキストの位置を指定する(右詰め) */
  font: 12px Arial;/* ヘッダーのフォントサイズ/種類を指定する */
  color: #000000; /* フォントの色を指定する */
  z-index: 10;/*メインの表より上に表示*/
  margin-right: auto;
  margin-left: auto;
  /*background-color: #ffff00; /* ヘッダーの背景色を指定する 背景色を設定せず通貨名用ヘッダを見えるようにする */
}

/*コピーライト表示*/
.footer {
  position: fixed; /* フッターを固定する */
  bottom: 0; /* 下端から配置の基準位置を決める */
  left: 0; /* 左から配置の基準位置を決める */
  right: 0; /* 右から配置の基準位置を決める */
  height: 5px; /* フッターの高さを指定する */
  padding:13px; /* フッター内側の余白を指定する(上下左右) */
  text-align: center; /* フッターテキストの位置を指定する(左詰め/中央/右詰め) */
  background-color: #ffffff; /* フッターの背景色を指定する */
  font: 16px Arial;/* フッターのフォントサイズ/種類を指定する */
  color: #000000; /* フッターのフォントの色を指定する */
  z-index: 10;/*メインの表より上に表示*/
  margin-right: auto;
  margin-left: auto;
}

.footer span {
  font: 12px Arial;/* フッターのフォントサイズ/種類を指定する */
  color: #888888; /* フッターのフォントの色を指定する */
}

/*Home Backボタン*/
.footer2 {
  position: fixed; /* フッターを固定する */
  bottom: 0; /* 下端から配置の基準位置を決める */
  left: 0; /* 左から配置の基準位置を決める */
  right: 0; /* 右から配置の基準位置を決める */
  height: 15px; /* フッターの高さを指定する */
  padding:7px; /* フッター内側の余白を指定する(上下左右) */
  text-align: left; /* フッターテキストの位置を指定する(左詰め/中央/右詰め) */
  /*background-color: #ffffff; /* フッターの背景色を指定する */
  font: 16px Arial Black;/* フッターのフォントサイズ/種類を指定する */
  color: #000000; /* フッターのフォントの色を指定する */
  text-decoration: none;
  z-index: 10;/*メインの表より上に表示*/
  margin-right: auto;
  margin-left: auto;
}
