@charset "Shift_JIS";

/*
 * スタイル: 闇黒日記風
 *
 * http://members.jcom.home.ne.jp/pctips/www/sample/AtNetHome4th/ より
 */

/*
指定なき限りは普通に表示
*/

* {
	line-height: 125%;
	font-style: normal;
	font-weight: normal;
	text-align: left;
	margin: 0;
	padding: 0;
}

body {
	color: #000000;
	background-color: #fdfdfd;
	font-size: 100%;
	margin: 0.5em;
}

/*
ブロックレヴェル要素
*/

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	margin: 1em 0 0 0;
}

h1 {
	font-weight: bold;
	font-size: 225%;
	color: #333333;
	background-color: #ededed;
	font-weight: bold;
	text-align: right;
	padding: 0.25em 1em;
	border-style: solid;
	border-width: thin medium medium thin;
	border-color: #666666;
}

h2 {
	font-size: 175%;
	color: gray;
	background-color: #fdfdfd;
	text-align: center;
	padding: 0.125em 1em;
	border-style: solid none;
	border-width: thin;
	border-color: gray;
}

h3 {
	font-size: 150%;
	color: #555555;
	background-color: #fbfbfb;
	padding: 0.125em 2em;
	border-style: solid none;
	border-width: thin;
	border-color: #dddddd;
}

h4 {
	font-size: 125%;
	color: #666666;
	background-color: #fafafa;
	padding: 0.125em 1em;
	border-style: solid none;
	border-width: thin 1em;
	border-color: #dddddd;
}

h5 {
	font-size: 100%;
	color: #777777;
	background-color: #f3f3f3;
	padding: 0.125em 0.75em;
	border-style: solid none;
	border-width: thin;
	border-color: #bbbbbb;
}

h6 {
	font-size: 100%;
	color: #848484;
	background-color: #f0f0f0;
	padding: 0.125em 0.5em;
	border-style: solid none;
	border-width: thin;
	border-color: #dddddd;
}

blockquote {
	border-style: dotted;
	border-width: thin;
	border-color: #00aa77;
	margin: 0.5em 1em;
}

p {
	color: #333333;
	background-color: #fdfdfd;
	font-size: 1em;
	margin: 0.5em 0 0.5em 1em;
	padding: 0.125em;
}

pre {
	color: #880000;
	background-color: #ffffff;
	margin: 0.5em 1em 0 1em;
	padding: 0.5em;
	border-style: dotted;
	border-color: #880000;
	border-width: thin;
}

address {
	color: #000000;
	background-color: #eeeeee;
	text-align: center;
	margin: 1em 0 0 0;
	padding: 0.25em 0;
	border-style: solid;
	border-width: thin;
	border-color: #cccccc;
}

ul, ol {
	margin: 0 0 0 1em;
	padding: 0.5em 0;
}

li {
	margin: 0.125em 0 0.125em 1em;
}

dl {
	margin: 0.25em 0;
}

dt {
	color: #111111;
	background-color: #f6f6f6;
	border-style: solid none;
	border-width: thin;
	border-color: #666666;
	margin: 0.25em 0;
	padding: 0.125em 1em;
}

dd {
	margin: 0.25em 0 0.25em 1em;
}

/*
インライン要素
*/

a img {
	border: none;
}

em {
	color: #ee0000;
	background-color: #fefefe;
	font-weight: bold;
}

strong {
	color: #ff0000;
	background-color: #fefefe;
	font-weight: bold;
	border-style: none none double none;
	border-color: #bb3366;
}

q {
	quotes: "「" "」";
	color: #00aa77;
	background-color: #fdfdfd;
}

q:before {
	content: open-quote;
}

q:after {
	content: close-quote;
}

cite {
	font-style: normal;
	font-weight: normal;
	color: #666666;
	background-color: #dddddd;
}

samp {
	color: #333333;
	background-color: #eeeeee;
}

code {
	color: #000033;
	background-color: #ededed;
}

dfn, abbr, acronym {
	border-style: none none dotted none;
	border-width: thin;
}

dfn {
	color: #006633;
	background-color: #eeeeee;
	border-color: #006633;
}

abbr, acronym {
	color: #339966;
	background-color: #eeeeee;
	border-color: #339966;
}

kbd {
	color: #808000;
	background-color: #eeeeee;
	quotes: "[" "]";
}

kbd:before {
	content: open-quote;
}

kbd:after {
	content: close-quote;
}


del {
	text-decoration: line-through;
}

ins {
	text-decoration: underline;
}

a[href] {
	text-decoration: underline;
}

a:link, a:visited, a:active, a:focus {
	background-color: transparent;
}

a:link {
	color: black;
}

a:visited {
	color: gray;
}

a:hover {
	color: maroon;
	background-color: #ffffcc;
}

a:active {
	color: red;
}

a:focus {
	color: green;
}

/*
 * tntable.cssより
 */

table {
	font-size: 1em;
	margin-right: auto;
	margin-left: auto;
	border-width: thin;
	border-style: solid;
	border-color: #cfcfcf;
	border-collapse: collapse;
	border-spacing: 0;
	empty-cells: show;
	padding: 0.2em;
}

caption {
	color: black;
	background-color: #fdfdfd;
	text-align: center;
	margin-right: auto;
	margin-left: auto;
}

thead th {
	background-color: #ededed;
	border-width: thin;
	border-style: solid;
	border-color: black;
}

thead th, tfoot th, tfoot td {
	background-color: #ededed;
	color: black;
	border-style: solid;
	border-width: medium thin;
	border-color: black;
}

th, td {
	padding: 0.2em;
	color: black;
	background-color: #fdfdfd;
	text-align: center;
}

th {
	border-style: solid;
	border-width: thin;
	border-color: #dddddd black;
}

td {
	text-align: left;
	border-style: solid;
	border-width: thin;
	border-color: #dfdfdf #cfcfcf;
}

/******************************************************************************
 * ここからは当サイト独自
 ******************************************************************************/

h1 {
	margin-bottom: .5em;
}

td ul, td li {
	margin: 0;
	padding: 0;
	list-style: none;
}

pre {
	overflow: auto;
}

/* .ad { */
.ad-block {
	text-align: center;
}

#select-style {
	color: #000;
	background: #eee;
	position: absolute;
	top: 4px;
	right: 4px;
	border: thin solid gray;
	padding: .125em .5em;
}

/* 段組のためのコンテナ */

#column-content {
	width: 100%;
	float: left;
	margin-right: -176px;
}

#content {
	margin-right: 176px;
}

#sidebar {
	float: right;
	width: 160px;
}

#footer, address {
	clear: both;
}

/* 段組のためのコンテナの中身 */

#sidebar h2 {
	font-size: 1em;
}

#sidebar input[size] {
	width: 85%;
}

#sidebar dd {
	margin-left: 8px;
}

#content > :first-child,
#sidebar > :first-child {
	margin-top: 0;
}

#sidebar input[size] {
	width: 120px;
}
