body {
	margin: 0px;
	padding: 0px;
}


h1 {
	margin: 0px;
	background-color: #40ff40;
}


h2 {
	clear: left;
	color: #004000;
	width:100%;
	margin-top: 10px;
	margin-bottom:10px;
/*	height: 24px;	*/
	padding-left:3px;
/*	font-size: 15px;	*/
	line-height: 180%;
	font-weight: bold;
	background-image: url(head.gif);
	background-repeat: repeat-x;
}


h3 {
	margin-top: 5px;
	margin-bottom: 3px;
	padding-bottom: 3px;
	font-size: medium;
	color: #336666;
	background-color:#c0ffc0;
}


h4 {
	text-align: center;
	border: solid 1px #000;
	color: #800000;
	background-color: #ffc0ff;
}

th  { color: #000; 
	background-color: #80ff80;		/* 緑 */
	line-height: 120%;
}	
	
td	{ color: #000;					/* ことわざ解説項目の設定 */
	background-color: #c0ffc0;		/* 薄緑 */
	font-size: 14px;				/* 文字の大きさ medium は大き目 ed_16/05/12 */
	font-weight: 600;				/* 文字の太さ defalt=400 */
	line-height: 150%;				/* edited 2011/06/10 old=125%  old-old=120% ed_16/05/12 */
	width: 1620px;					/* 2009/03/25 add */
}  

#waku {                            /* 080325 追記 */
	padding: 3px;
	text-align: center;
	border: solid 1px #000;
}

.imi { color: #800000 }				/* 080624 追記 */


#wrapper {
	margin: 2px auto;										/* 2015/07/28  add  */
	position: relative;
	width: 1024px;											/* 2015/07/28 edited from 100%  */
	/* height: 100%; right position for footer area  NG cannot use */
}

#header {
	/* text-align: center; */
	width: 1024px;											/* 2015/07/28  add  */
	margin: 2px auto;										/* 2015/07/28  add  */
	color: #000000;
	background: #fff;
}

#main {
	margin: 5px 153px;			/* 上下：0、左右：150 の隙間をピクセル値で表示 2015/07/28 edited from 5px 160px  */
	width: auto;
/*	font-size: xx-small;	*/
	line-height:1.5;
	color: #000000;
	background: #d0ffd0;			/* 薄緑 */
}

#sub {								/* 左の枠 */
	position: absolute;
	top: 1px;						/* 2015/07/28 edited from 5px.    marginは消した  */
	left: 0px;
	padding: 5px 5px;
	width: 140px;				/* 左枠の幅　2015/07/28  edited from 145px  */
	line-height:1.3;
	font-size: small;			/* 左端「関連リンク棚」の文字の大きさ */
	color: #000;
	background: #fce2e2;
}

#navi2 {
	margin: 5px 0px;
	padding: 0px;
	list-style: none;
	font-size: 14px;			/* フォントサイズを小さめにしておくことで四角の中央に文字が来る */
	line-height: 150%;
}

#navi2 li {
	float: left;				/* この行を取れば、下へ縦に並ぶ */
	margin-right: 5px;
	margin-left: 0px;
	margin-top: 2px;
	margin-bottom: 0px;
	background-color: #d0ffd0;
	border: 1px solid #000;
	text-align: center;
	width: 64px;
	height: 22px;
}

#navi2 a {
	color: #000;
	display: block;				/* aタグをブロック化する */
	width: 64px;
	height: 22px;
}

#navi2 a:hover {
	color: #fff;						/* マウスを乗せたときの文字色 */
	background-color: green;			/* マウスを載せたときの色 */
	text-decoration: none;
}


#navi3 {
	margin: 5px 3px;
	padding: 3px;
	list-style: none;
	font-size: 14px;			/* フォントサイズを小さめにしておくことで四角の中央に文字が来る */
	line-height: 150%;
}

#navi3 li {
	margin-right: 3px;			/*右マージン */
	margin-left: 0px;	
	margin-top: 3px;			/* 上のマージン下方向へ下がるので */
	margin-bottom:0px;
	background-color: #d0ffd0;
	border: 1px solid #000;
	text-align: center;
	width: 118px;
	height: 22px;
}

#navi3 a {
	color: #000;
	display: block;				/* aタグをブロック化する */
	width: 118px;
	height: 22px;
}

#navi3 a:hover {
	color: #fff;						/* マウスを乗せたときの文字色 */
	background-color: green;			/* マウスを載せたときの色 */
	text-decoration: none;
}


#extra {							/* 右端のナビゲーション */
	position: absolute;
	top: 1px;						/* 2015/07/28 edited from 10px  */
	right: 0px;
	width: 140px;					/* 右枠の幅　2015/07/28 edited from 145px  */
	padding: 5px;
	line-height:1.3;
	color: #000;
	background-color: #a0ffa0;
}

#footer {
	width: 1024px;											/* 2015/07/28  add  */
	margin: 2px auto;										/* 2015/07/28  add  */
	text-align: center;
	color: #000000;
	background-color: #b0ffb0;
}
