/* 基本スタイルシート */

/* 全体 */

body {
	margin: 0;
	padding: 0;
	background-color: #eee;
	color: #00;
	font-family: sans-serif;
	font-size: medium;
	text-align: left;
	color: #000;
	background-color: #dec;
}

div#wrap {
	width: 800px;
	margin: 0 auto;
	padding: 0 80px;
	color: #000;
	background-color: #fff;
	background-image: url('/img/background/main_back.gif');
	background-position: top center;
	background-repeat: repeat-y;
}

a:link {
	color: #00f;
	background-color: transparent;
}

a:visited {
	color: #0080cc;
	background-color: transparent;
}

a:hover {
	color: #f00;
	background-color: transparent;
}

a:active {
	color: #f00;
	background-color: #ff0;
}

a img {
	border: none;
}

table {
	empty-cells: show;
}

.no-display {
	display: none;
}

p.error {
	margin: 5px 10px;
	padding: 10px;
	text-align: center;
	font-size: 16px;
	color: #808080;
	background-color: #fff;
	border: #808080 solid 1px;
}

span.image-title {
	font-size: small;
}

/* ヘッダー */

div#header {
	position: relative;
	height: 75px;
	margin: 0;
	padding: 5px 0 50px 0;
}

table#top_table {
	width: 100%;
	margin: 0;
	padding: 0;
	border-spacing: 0;
	empty-cells: show;
}

td#top_table_logo {
	width: 150px;
	margin: 0;
	padding: 5px;
	text-align: left;
	vertical-align: middle;
}

td#top_table_content {
	margin: 0;
	padding: 5px 10px;
	text-align: center;
	vertical-align: middle;
	font-size: 11px;
	font-weight: bold;
	line-height: 140%;
}

th#top_table_title {
	margin: 0;
	padding: 5px 10px 5px 5px;
	text-align: right;
	vertical-align: middle;
}

th#top_table_title h1 {
	margin: 0;
	padding: 0;
	font-size: 18px;
	line-height: 100%;
	white-space: nowrap;
}

th#top_table_title div#top_title_rule {
	margin: 5px 0 0 0;
	padding: 0;
	font-size: 12px;
	font-weight: normal;
	line-height: 100%;
}

/* メニュー */

ul#menu {
	display: block;
	list-style-type: none;
	position: absolute;
	width: 750px;
	bottom: 0;
	left: 0;
	margin: 0;
	padding: 0 25px;
	background-image: url('/img/label/menu.gif');
	background-position: bottom left;
	background-repeat: repeat-y;
}

ul#menu li {
	display: block;
	width: 150px;
	height: 50px;
	margin: 0;
	padding: 0;
	float: left;
	background-image: url('/img/label/menu_item.gif');
	background-position: top center;
	background-repeat: no-repeat;
}

ul#menu li a {
	display: block;
	margin: 0;
	padding: 17px 3px;
	text-decoration: none;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	line-height: 100%;
}

ul#menu li,
ul#menu li a:link,
ul#menu li a:visited {
	color: #543;
}

ul#menu li:hover,
ul#menu li a:hover,
ul#menu li a:active {
	color: #fed;
	text-decoration: underline;
}

ul#menu li.selectedMenu,
ul#menu li.selectedMenu a:link,
ul#menu li.selectedMenu a:visited {
	color: #543;
	font-style: italic;
}

ul#menu li.selectedMenu:hover,
ul#menu li.selectedMenu a:hover,
ul#menu li.selectedMenu a:active {
	color: #fed;
	text-decoration: underline;
}

ul#menu a:active {
	color: #543 !important;
	background-color: transparent;
	background-image: url('/img/background/mesh-w1.gif');
}

/* サイドバー */

div#sidebar {
	width: 200px;
	height: auto;
	margin: 0;
	padding: 5px 0;
	overflow: hidden;
	overflow-x: hidden;
	overflow-y: visible;
	float: left;
}

div#sidebar h4 {
	width: 180px;
	height: 18px;
	margin: 0;
	padding: 15px 5px;
	color: #000;
	font-size: 15px;
	line-height: 100%;
	text-align: center;
	background-image: url('/img/label/submenu_head.gif');
	background-position: top center;
	background-repeat: no-repeat;
}

div.sidebar-block {
	margin: 5px 0 15px 0;
	padding: 0;
}

div.sidebar-item {
	margin: 0;
	padding: 5px;
}

ul.sidebar-menu {
	list-style-type: none;
	display: block;
	margin: 5px;
	padding: 0;
}

ul.sidebar-menu li {
	display: block;
	width: 180px;
	height: 30px;
	margin: 8px 0;
	padding: 0;
	background-image: url('/img/label/submenu.gif');
	background-position: top left;
	background-repeat: no-repeat;
}

ul.sidebar-menu a {
	display: block;
	margin: 0;
	padding: 8px 0 0 24px;
	text-decoration: none;
	font-weight: bold;
	font-size: 13px;
	line-height: 100%;
}

ul.sidebar-menu a:link,
ul.sidebar-menu a:visited {
	color: #007;
}

ul.sidebar-menu a:hover,
ul.sidebar-menu a:active {
	color: #007;
	text-decoration: underline;
}

ul.sidebar-menu li.selectedMenu a {
}

ul.sidebar-menu li.selectedMenu a:link,
ul.sidebar-menu li.selectedMenu a:visited {
	color: #007;
	font-style: italic;
}

ul.sidebar-menu li.selectedMenu a:hover,
ul.sidebar-menu li.selectedMenu a:active {
	color: #003;
	text-decoration: underline;
}

ul.sidebar-menu a:active {
	background-color: transparent;
	background-image: url('/img/background/mesh-w1.gif');
}

div#pageview {
	padding: 5px;
	text-align: center;
	font: normal normal bold 16px/1.0 serif;
}

div#pageview-of-day {
	padding: 5px;
	text-align: center;
	font: normal normal bold 14px/1.0 serif;
}

/* 内容 */

div#content {
	width: 600px;
	height: auto;
	margin: 0;
	padding: 5px 0;
	overflow: hidden;
	overflow-x: hidden;
	overflow-y: visible;
	float: right;
}

p.page-info {
	margin: 0;
	padding: 10px;
	line-height: 150%;
	text-align: center;
}

p.above {
	margin: 5px 10px 15px 10px;
	padding: 0;
	font-size: 10px;
	line-height: 100%;
	text-align: right;
}

p.above a {
	color: #808080;
	text-decoration: none;
}

/* ページャー */

ul.pager {
	list-style-type: none;
	display: block;
	margin: 0;
	padding: 0;
	line-height: 100%;
	text-align: center;
}

ul.pager li {
	display: inline;
	margin: 0 5px;
	padding: 0;
}

div.pager {
	margin: 0;
	padding: 0;
	line-height: 100%;
	text-align: center;
}

/* フリーエリア */

div.main {
	margin: 0;
	padding: 5px 10px;
}

/* ウィジェット */

div.widget {
	margin: 0;
	padding: 5px 10px;
}

/* フッター */

div#footer {
	margin: 10px auto 0 auto;
	padding: 17px 10px 3px 10px;
	height: 20px;
	line-height: 100%;
	clear: both;
	text-align: center;
	color: #fff;
	background-image: url('/img/background/footer.gif');
	background-position: bottom center;
	background-repeat: no-repeat;
}
