/* @charset "EUC-JP" */

/* ブラウザスタイルの初期化 */
* {
  margin: 0px;
  padding: 0px;
  background-color: transparent;
}

/* IE 6 用ブラウザスタイルの初期化の追加 */
th, td, form {
  margin: 0px;
  padding: 0px;
  background-color: transparent;
}

div#container {
  width: 570px;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
}

img {
  border-style: none;
}

/*通常リンク*/

a:link {
	color:#003399;
	text-decoration:underline;
}

a:visited {
	color:#003399;
	text-decoration:underline;
}

a:hover {
	color:#669900;
	text-decoration:underline;
}

a:active {
	color:#336600;
	text-decoration:underline;
}

/*下線なしリンク*/

a.none:link {
	color:#003399;
	text-decoration:none;
}

a.none:visited {
	color:#003399;
	text-decoration:none;
}

a.none:hover {
	color:#669900;
	text-decoration:none;
}

a.none:active {
	color:#336600;
	text-decoration:none;
}

/*メニュー用（紺）リンク*/

a.menu:link {
	color:#333366;
	text-decoration:none;
}

a.menu:visited {
	color:#333366;
	text-decoration:none;
}

a.menu:hover {
	color:#333366;
	background:#ccff99;
	text-decoration:none;
}

a.menu:active {
	color:#336600;
	background:#ccff99;
	text-decoration:none;
}

/* 基本レイアウト*/

div#header {
  position: relative;
  top: 0px;
  left: 0px;
  height: 20px;
  z-index: 1;
  background-image: url(../images/bar.jpg);
  background-repeat: repeat-x;
}

div#header h1 {
  position: absolute;
  top: 4px;
  left: 10px;
  font-size: small;
  font-weight: bold;
  color: white;
}

div#header_tab_left {
  position: absolute;
  top: 4px;
  right: 147px;
  width: 137px;
  height: 20px;
  z-index: 2;
  background-repeat: no-repeat;
  text-align: center;
  line-height: 20px;
  vertical-align: middle;
  font-size: small;
  font-weight: bold;
  cursor: pointer;
}

div#header_tab_right {
  position: absolute;
  top: 4px;
  right: 10px;
  width: 137px;
  height: 20px;
  z-index: 2;
  background-repeat: no-repeat;
  text-align: center;
  line-height: 20px;
  vertical-align: middle;
  font-size: small;
  font-weight: bold;
  cursor: pointer;
}

div#main {
  position: relative;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  z-index: 0;
}

div#frame_top {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 10px;
  background-image: url(../images/a1.jpg);
  background-repeat: repeat-x;
}

div#frame_left {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  width: 10px;
  height: 100%;
  background-image: url(../images/b1.jpg);
  background-repeat: repeat-y;
}

div#frame_right {
  position: absolute;
  top: 0px;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 100%;
  background-image: url(../images/b2.jpg);
  background-repeat: repeat-y;
}

div#frame_bottom {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  width: 100%;
  height: 10px;
  background-image: url(../images/a2.jpg);
  background-repeat: repeat-x;
}

div#frame_top_left {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 10px;
  height: 10px;
  background-image: url(../images/L1.jpg);
  background-repeat: no-repeat;
}

div#frame_top_right {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  background-image: url(../images/R1.jpg);
  background-repeat: no-repeat;
}

div#frame_bottom_left {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 10px;
  height: 10px;
  background-image: url(../images/L2.jpg);
  background-repeat: no-repeat;
}

div#frame_bottom_right {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 10px;
  height: 10px;
  background-image: url(../images/R2.jpg);
  background-repeat: no-repeat;
}

div#contents {
  position: relative;
  padding: 10px;
}
