@charset "utf-8";
/*
ページ全体の基本的な設定。背景色や文字色など
*/
html {
  background-color:#000000;
}
body {
  background:url("bg_body.png") #ffffff 0 0 repeat-y;
  width:750px;
  padding:0 10px;
  margin:0 auto;
}
p{
  margin:5px 0;
}
img{
  border-width:0;
}
/*
リンク文字列に関する設定
*/
a:link {
  text-decoration:underline;
}

a:visited {
  background-color:transparent;
  text-decoration:underline;
}

a:hover {
  text-decoration: underline;
}

/*
ページトップにある操作ボタンの並ぶ行の設定
*/
div.adminmenu
{
  margin:0 0 5px 0;
  padding:0 20px;
  text-align:right;
  font-size:90%;
  background-color:#cccccc;
  border-width:1px 0;
  border-style:solid;
  border-color:#666666;
  line-height:150%;
}
div.adminmenu p{
  margin: 0;
  padding: 0;
}

/*
日記タイトルの設定
*/
h1 {
  text-align: left;
  width: 670px;
  height: 90px;
  margin:0;
  padding:30px 40px;
  background:#666666 url("bg_h1.jpg") 0 0 no-repeat;
  font-size:35px;
  line-height:45px;
  color: #ffffff;
}
h1 a{
  color:#ffffff;
}

/*
カレンダーの設定
*/
div.main div.calendar, div.main2 div.calendar{
  background-color: #fff;
  color: #000;
  margin:15px;
  line-height: 120%;
}
div.sidebar div.calendar, div.sidebar2 div.calendar
{
  margin: 5px 10px;
  line-height:120%;
}
div.calendar div.year {
  margin: 5px 0;
}

table.calendar
{
  margin:0 auto;
}
table.calendar td
{
  text-align:center;
}
table.calendar td.calendar-day
{
  width:22px;
  height:22px;
}
table.calendar td.image
{
  display:none;
}
table.calendar td.calendar-sunday
{
  background-color:#ffcccc;
  width:22px;
  height:22px;
}
table.calendar td.calendar-saturday
{
  background-color:#ccffff;
  width:22px;
  height:22px;
}
table.calendar td.calendar-weekday
{
  background-color:#cccccc;
  width:22px;
  height:22px;
}

/*
counter.rb
*/
/*
span.counter, span.counter-today, span.counter-yesterday{
  display:block;
  clear:both;
}
.counter-num-0, .counter-num-1, .counter-num-2, .counter-num-3, .counter-num-4,
.counter-num-5, .counter-num-6, .counter-num-7, .counter-num-8, .counter-num-9
{
  display:block;
  float:left;
  width:20px;
  height:20px;
  margin: 1px 0;
  padding:0;
  background:#ffffff url("bg_counter.png") 0 0 no-repeat;
  color:#000000;
  line-height:20px;
  text-align:center;
  font-weight:bold;  
}
*/

/*
1日の日記全体を囲む枠の設定
*/
div.day{
  width:730px;
  background-color:#cccccc;
  padding:0;
  margin:10px auto;
  line-height:150%;
  border:solid 1px #666666;
}

div.main div.day, div.main2 div.day
{
  width:530px;
}

/*
タイトル行全体の設定
*/
div.day h2{
  color:#ffffff;
  width:724px;
  border:solid 3px #666666;
  background:url("bg_conf.jpg") #666666 0 0 repeat-y;
  margin:0;
  padding:0;
  line-height:150%;
}
div.main div.day h2, div.main2 div.day h2{
  width: 524px;
  background:url("bg_day_h2.jpg") #666666 0 0 repeat-y;
}
/*
日付の設定
*/
h2 span.date {
  display:block;
  margin:0 10px;
  font-size:20px;
}
h2 span.date a:link, h2 span.date a:hover, h2 span.date a:visited,
h2 span.title a:link, h2 span.title a:hover, h2 span.title a:visited
{
  color:#ffffff;
}

/*
タイトルの設定
*/
h2 span.title {
  display:block;
  margin:0 20px;
  font-size:20px;
  color:#ffffff;
}
/*
長年日記
*/
h2 span.nyear{
  display:block;
  margin:0 20px;
  text-align:right;
  color:#ffffff;
  font-size:16px;
}
h2 span.nyear a{
  color:#ffffff;
}
/*
タイトルを除いた1日の日記本文全体の設定
*/
div.body {
  border-style: solid;
  border-color: #666666;
  border-width: 1px 0 0 0;
}

/*
サブタイトルを含むセクションの設定
*/
div.section {
  margin-top: 0.7em;
  margin-left: 0em;
  margin-bottom: 0.7em;
}

/*
サブタイトルの設定
*/
div.day h3 {
  font-size:20px;
  margin: 10px;
  font-weight: bold;
  line-height:24px;
}
div.day h4, div.day h5, div.day h6
{
  margin:10px 20px;
}
/*
日記の本文(段落)の設定
*/
div.section p {
  margin: 15px 20px;
  padding:0;
  line-height: 150%;
}

/*
ツッコミ/フォーム/リンク元のキャプション設定
*/
div.caption {
  padding: 0 0 0 25px;
  margin: 5px;
  background:#cccccc url("bg_caption.png") 0 0 no-repeat;
  line-height:20px;
  font-size: 90%;
  font-weight:bold;
}

/*
ツッコミ欄全体の設定
リンク元リスト(Month/Latestモード)の設定
*/
div.comment, div.referer{
  border-top: solid #666666 1px;
  margin: 5px 0;
  padding:5px;
}
div.referer{
  text-align:right;
}

/*
ツッコミ省略版本文
*/
div.commentshort {
  font-size: 90%;
  line-height:24px;
}
span.commentator {
  font-weight: bold;
}
div.commentshort{
  margin: 10px 15px;
}

/*
ツッコミ本体
*/
div.commentbody {
  font-size: 90%;
  line-height: 150%;
  margin:0 15px;
}

/*
ツッコミした人の情報
*/
div.commentator {
  margin: 10px 0 0 0;
}
/*
ツッコミ本文
*/
div.commentbody p {
  margin: 0 10px;
}

/*
フォーム全体を囲む枠の設定
*/
div.form {
  padding:5px;
}

/*
フォームの設定
*/
div.form form {
  margin: 5px 20px;
}

div.form form.comment {
  font-size: 90%;
}

div.field {
  display: inline;
  margin-right: 2em;
}
form.comment input {

}

div.textarea {
  display: block;
  vertical-align: top;
}
form.comment textarea {
  display: block;
  color: #000000;
  width: 450px;
  height: 5em;
}

div.button {
  display: block;
  margin-left: 3em;
}



/*
リンク元リスト(Dayモード)の設定
*/
div.refererlist {
  border-style: solid;
  border-color: #cccccc;
  border-width: 1px;
  padding:5px;
}

/*
リンク元リスト一覧の設定
*/
div.refererlist ul {
  font-size: 90%;
  line-height: 150%;
}

/*
罫線の設定
*/
hr {
  border-style: solid;
  border-width: 1px 0px 0px 0px;
  border-color: #666666;
}

/*
イメージアンカーの設定
*/

div.day span.sanchor {
  display:block;
  float:left;
  background: #cccccc url("sanchor.png") 0 0 no-repeat;
  padding: 0 0 0 24px;
  color:#cccccc;
  text-decoration:none;
}

div.day span.canchor {
  display:block;
  float:left;
  background: #cccccc url("canchor.png") 0 0 no-repeat;
  height:20px;
  color:#cccccc;
  padding: 0 0 0 20px;
}

/*
日々の日記のセパレータに使われる罫線の設定
*/
hr.sep {
  display: none;
}

/*
フッタの設定
*/
div.footer
{
  padding:0 20px;
  margin:0;
  text-align:right;
  clear:both;
  border-width:1px 0;
  border-style:solid;
  border-color:#666666;
  background-color:#cccccc;
  font-size:90%;
  line-height:150%;
  width:710px;
}

/*
更新フォーム
*/
form.update {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
form.update input, form.update textarea, form.commentstat input {
  background-color: #ffffff;
  color: #000;
}

form.update span.field {
  display: inline;
}

form.update div.field.title {
  display: block;
  margin: 10px auto;
}
form.update div.field.title input {

}

form.update div.textarea {
  display: block;
}
form.update textarea {
  display: block;
  margin-left: 3em;
  margin-bottom: 1em;
  width: 450px;
  height: 15em;
}

form.update span.checkbox.hidediary {
  margin-left: 1em;
}

/*
ツッコミ状態変更フォーム
*/
div.comment form {
  margin-top: 0em;
}

/*
エラーメッセージ表示の設定
*/
p.message {
  text-align: center;
  font-size: large;
  background-color: #d00;
  color: #fff;
  padding: 8px;
}

/*
整形済みテキスト(preタグ)の設定
引用(blockquoteタグ)の設定
*/
div.section pre
{
  width:650px;
  margin:10px auto;
  padding:5px;
  background-color:#333333;
  color:#33ff33;
  overflow:scroll;
}

div.section blockquote {
  width:650px;
  margin:10px auto;
  border:dotted #666666 2px;
  padding: 5px;
}
div.main pre, div.main blockquote, div.main2 pre, div.main2 blockquote
{
  width:480px;
}
div.section blockquote p {
  margin: 10px 0;
}

/*
箇条書きの設定
*/
div.section ul, div.section ol {
  margin:15px 30px 15px 50px;
  padding:0;
}
div.section ul ul, div.section ol ol {
  margin: 5px 10px 5px 20px;
}

/*
項目リストの設定
*/
div.section dl {
  margin-left: 5em;
}

div.section dt {
  margin-bottom: 0.2em;
  font-weight: bold;
}

div.section dd {
  margin: 0em 3em 0.5em 1em;
}

/*
テーブルの設定
*/
div.section table {
  margin: 0.5em 1em 0.5em 5em;
  border-style: solid;
  border-width: 2px;
  border-color: #aaf;
  border-collapse: collapse;
}
div.section th, div.section td {
  padding: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: #aaf;
}
/*
footnote
*/
div.footnote{
  border-style:dashed;
  border-width:1px 0 0 0;
  border-color:#666666;
  padding: 0 20px;
}
/*
サイドバー関連
*/
div.main, div.main2{
  width:540px;
}
div.main
{ 
  float:left;
  margin: 0 0 0 4px;
}
div.main2
{ 
  float:right;
}

div.sidebar, div.sidebar2 {
  color: #000000;
  width: 200px;
  padding:0;
}
div.sidebar
{
  float:right;
}
div.sidebar2
{
  float:left;
  margin: 0 0 0 4px;
}

div.sidebar p.recentitem, div.sidebar2 p.recentitem{
  display:list-item;
  list-style-type:square;
  margin:5px 10px 5px 25px;
}
div.sidebar div.recentsubtitles, div.sidebar2 div.recentsubtitles
{
  margin:0 20px;
  line-height:120%;
}

div.sidebar h2, div.sidebar2 h2, div.sidebar h3{
  background:#666666 url("bg_side_h2.jpg") 0 0 no-repeat;
  width:180px;
  height:40px;
  padding:0 10px;
  margin: 5px 0;
  color:#ffffff;
  font-size: 16px;
  line-height:40px;
 }

div.sidebar ul, div.sidebar ol, div.sidebar2 ul, div.sidebar2 ol
{
  margin:5px 10px 5px 25px;
  padding:0;
  line-height:120%;
}

div p
{
  margin: 5px 10px;
}
/*
設定画面
*/
div.conf div.body{
  padding: 0 10px;
}

/*
その他
*/
div.weather{
  font-size:90%;
  text-align:right;
  margin:2px 20px;
 }
