/* stylesheet for Kimagure notes.
 * kimagure.css (c) 2004-2010 cory.
 *
 * History:
 *  2009.01.03
 *	DIV.photo に clear: right; を追加
 *	DIV.photoL を追加
 *  2008.04.03
 *	新書式用の定義を追加
 *  2008.01.04
 *	divide from kimagure.html
 */

/* for base style ------------------------------------------------- */
BODY {
	line-height: 1.3em;
	background-color: #f8f8f8;
}
TH,TD {	/* Netscape 対策 */
	line-height: 1.3em;
}
RP,RT {
	font-size: small;
}

PRE {
	padding: 1em;
	border: 1px dashed #30ff80;
	color: black;
	background-color: #f9f9f9;
	line-height: 1.1em;
}

A:select {
	color: #800000;
	text-decoration: none;
}
A:link {
	color: #2020FF;
	text-decoration: none;
}
H2 A:link {
	color: #0000FF;
}
A:visited {
	color: #6080CC;
	text-decoration: none;
}
H2 A:visited {
	color: #0000FF;
}
A:hover {
	color: #FF9999;
	text-decoration: underline;
}
A:active {
	color: #000080;
	text-decoration: none;
}

.kakko {
	color: #404040;
	font-size: smaller;
}

.inlink {
	font-style: normal;
	font-weight: normal;
	font-size: smaller;
}

/* for headlines ------------------------------------------------------- */

H1 {
	font-size: 1.5em;
}

H2 {
	font-size: larger;
	clear: both;
}

H2:before {
	display: marker;
	color: #000000;
	//marker-offset: 3em;
	content: "§ ";
}

H3:before {
	display: marker;
	color: gray;
	marker-offset: 3em;
	content: "■ ";
}

H3 {
	border-bottom: 1px solid gray;
	/* clear: both; */
}

H4 {
	font-size: 1.1em;
}

/* 日単位区切り */

TABLE.dayhead {
	clear: both;
	margin: 1em 0 0.5em 0;
	width: 100%;
	border: none;
}

TABLE.dayhead TH,TD {
	padding: 0;
	vertical-align: middle;
}

HR.daybreak {
	border: 1px solid gray;
}

SPAN.daytitle {
	font-style: italic;
	font-weight: normal;
}

SPAN.daylink {
	font-size: smaller;
	color: #808080;
}

/* 分類別見出し */

H3.nature:before {
	display: marker;
	color: #80e080;
	marker-offset: 3em;
	content: "● ";
}

H3.nature {
	border-bottom: 1px solid #80cc80;
	/* clear: both; */
}

H3.hobby:before {
	display: marker;
	color: pink;
	marker-offset: 3em;
	content: "● ";
}

H3.hobby {
	border-bottom: 1px solid #ffcccc;
	/* clear: both; */
}


/* for paragraph style ------------------------------------------------- */
/* ニュース等の記事見出し */

P.newscite {
	margin-top: 0;
	margin-bottom: 0;
	border-left: solid 1px gray;
	border-right: solid 1px gray;
	padding-left: 0.5em;
/*	display: marker;
	color: gray;
	marker-offset: 3em;
	content: "＞ "; */
}

.ps {
	text-align: right;
	font-size: 94%;
	color: #404040;
}

/* 引用枠 */
.citebox {
	border: 1px dashed #000000;
	text-align: left;
	font-size: 96%;
	/* line-height: 150%; */
	margin: 0.5em;
	padding: 0.5em;
}

/* 引用元（右寄せ） */
P.citefrom {
	text-align: right;
}

/* 翻訳前の元稿 */
P.source {
	margin-bottom: 0;
	font-size: 94%;
}

/* 翻訳後 */
P.translation {
	margin-top: 0;
}

/* 中央揃え */
P.center {
	text-align: center;
}

/* 段落の字下げ */
P.indent {
	text-indent: 1em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

/* 2行目以降字下げ（注釈行など） */
P.indentline {
	margin-left: +1em;
	text-indent: -1em;
}

/* 段落の先頭の文字を大きくする */
P.bigfirst:first-letter {
	font-size: 1.5em;
}

/* 写真枠 */
DIV.photo {
	float: right;
	clear: right;
	border: 1px solid white;
	background-color: #404040;
	text-align: right;
	color: #cccccc;
	font-size: smaller;
	padding: 0.5em;
	margin-left: 0.5em;
}

DIV.photoL {
	float: left;
	clear: left;
	border: 1px solid white;
	background-color: #404040;
	text-align: right;
	color: #cccccc;
	font-size: smaller;
	padding: 0.5em;
	margin-right: 0.5em;
}

H3.photo {
	border-bottom: none;
	text-align: left;
	font-size: medium;
	margin: 0 0 0.5em 0;
}

DIV.photocomment {
	color: #808080;
	display: none;
	text-align: right;
	vertical-align: top;
	font-size: smaller;
}

/* PR枠 */
DIV.prbox {
	float: right;
	clear: right;
	border: none;
	color: #202020;
	font-size: smaller;
	text-align: right;
	margin-left: 0.5em;
}

DIV.prboxL {
	float: left;
	clear: left;
	border: none;
	color: #202020;
	font-size: smaller;
	text-align: right;
	margin-right: 0.5em;
}

/* ID枠 */
DIV.licenses {
	text-align: right;
	vertical-align: top;
	font-size: smaller;
	line-height: 100%;
	margin-top: 0.2em;
}

IMG.licensetag {
	border: none;
	margin: 2px;
	float: left;
}

P#location {
	margin-left: 0;
	font-style: italic;
}

P#lastmod {
	margin-right: 0;
	text-align: right;
}

/* 特殊表組 */
/* 数値表 */
TABLE.numtable {
	border: thin solid #000000;
}
TABLE.numtable CAPTION {
	text-align: right;
}
TABLE.numtable TH,TD {
	//border-bottom: thin solid #606060;
	border: none;
	spacing: 0;
	padding: 8px;
}
TABLE.numtable TD {
	text-align: right;
}

/* キーボードレイアウト表示 (TABLE) */
TABLE.keylayout {
	border: thin solid #000000;
}
TABLE.keylayout CAPTION {
	text-align: center;
}
TABLE.keylayout TH {
	border: none;
}
TABLE.keylayout TD {
	spacing: 1px;
	padding: 3px;
	border: thin solid #606060;
}
TABLE.keylayout TD {
	width: 1.5em;
	height: 1.5em;
	text-align: center;
}
TABLE.keylayout TD.point {
	background-color: #ffcccc;
}

/* for heading style --------------------------------------------------- */
/* 表紙関連 */

H1.toppage {
	clear: none;
}
P.toppage {
	margin-top: 1em;
	margin-left: 1em;
	color: #808080;
	font-size: smaller;
}
DIV.kncaljump {
	font-size: normal;
	text-align: center;
	margin-top: 1.5em;
	//position: absolute;
	//bottom: 0;
	//left: 0;
}

DIV.kncalendar {
	//position: absolute;
	//top: 0;
	//right: 0;
	float: right;
	margin: 0 0 0 1em;
	padding: 0;
	border-left: 4px double gray;
	font-size: smaller;
	text-align: right;
}

TABLE.kncalendarframe {
	margin: 0;
	padding: 4px;
}
TABLE.kncalendarframe TD {
	vertical-align: top;
}

TABLE.kncalendar {
	margin: 0;
	padding: 1px;
}

TABLE.kncalendar TH {
	text-align: center;
	border: none;
	margin: 0;
	padding: 0 1px 0 1px;
	font-size: smaller;
}
TABLE.kncalendar CAPTION {
	text-align: center;
	font-style: italic;
}
TABLE.kncalendar TH.sun,TH.hol {
	background-color: #ffc0c0;
}
TABLE.kncalendar TH.mon,TH.tue,TH.wed,TH.thu,TH.fri {
	background-color: transparent;
}
TABLE.kncalendar TH.sat {
	background-color: #c0c0ff;
}

TABLE.kncalendar TD {
	text-align: center;
	border: none;
	margin: 0;
	padding: 0 1px 0 1px;
	font-size: smaller;
}
TABLE.kncalendar TD.sun,TD.hol {
	background-color: #ffc0c0;
}
TABLE.kncalendar TD.mon,TD.tue,TD.wed,TD.thu,TD.fri {
	background-color: transparent;
}
TABLE.kncalendar TD.sat {
	background-color: #c0c0ff;
}



