/*   
Theme Name:YK-Theme
Theme URI:http://yanagi-kenji.com/
Description:シンプルなテーマ
Author:Yanagi.Kenji
Author URI:http://yanagi-kenji.com/
Version:1.0
*/


/* 全体的なルール */

* {
	margin:0;
	padding:0;
}

body {
	color:#333;
	font-family:verdana, sans-serif;
	background-color: #FFFFFF;
	background-image: url(images/bk_gra_00.gif);
	background-repeat: repeat-x;
	background-position: top;
}

a {color:#3399ff;}
a:hover {color:#ff00ff;}

a img {	border-width: 0px;}

li {list-style:none;}

/* ヘッダーテンプレート */

div#page {
	width:900px;
	background-color:#fff;
	margin:0 auto;
}
div#header {
	width: 900px;
	height: 180px;
	background-color:#330000;
	background-image: url(images/af_head01.gif);
	background-repeat: no-repeat;
	background-position: bottom;
}
div#header h1 {
	text-align:center;
	font-size:1.5em;
	margin:0 0 10px 0;
	padding-top:30px;

}
div#header h1 a:link, div#header h1 a:visited {
	color:#fff;
}
div#header h1 a:hover, div#header h1 a:active {
	color:#ffffcc;
}

div#header p {
	text-align:center;
	color:#fff;
	font-size:1em;
	margin:0 0 10px 0;
}

div#head-navi {
	background-color:#f7eeee;
	font-size: 0.8em;
	text-align:right;
	margin:0 0 10px 0;
	padding:3px 5px;
	border-top:2px solid #ccc;
	border-bottom:1px solid #660000;
}

div#head-navi a:link,
div#head-navi a:visited {
	color:#663333;
	text-decoration:none;
}

div#head-navi a:hover,
div#head-navi a:active {
	color:#cc0000;
	text-decoration:none;
}

/* フッターテンプレート */

div#footer {
	clear:both;
	width:900px;
	padding:5px 0;
	background-color:#330000;
}

div#footer a:link,
div#footer a:visited {
	color:#fff;
	text-decoration: none;
}

div#footer a:hover,
div#footer a:active {
	color:#fff;
	text-decoration:underline;
}

p#copyright {
	color:#fff;
	text-align:center;
	font-size:0.75em;
}

/* トップページテンプレート */

div#content {
	width:670px;
	float:right;
	clear:both;
}   
div#innerbox {
	padding:0 20px 20px 20px;
}
div.post {
	padding-bottom:15px;
	margin-bottom:15px;
	border-bottom:1px dashed #999;
	clear:both;
}
h2.posttitle {
	font-size:1.3em;
	text-align:center;
	margin-bottom:0.5em;
	color:#666;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-repeat: repeat-x;
	background-position: bottom;
	background-image: url(images/bk_h1_01.gif);

}

h2.posttitle a {
	display: block;
	width:630px;
	padding:5px 0;
	text-decoration:none;
}

h2.posttitle a:link,
h2.posttitle a:visited {
	color:#666;
	background-repeat: repeat-x;
	background-position: bottom;
	background-image: url(images/bk_h1_00.gif);

}

h2.posttitle a:hover,
h2.posttitle a:active {
	color:#660000;
	background-image: none;
}

div.post h3 {
	font-size:1em;
	color: #9900cc;
	border-bottom: 1px solid #330000;
	margin:20px 0 10px 0;
	padding:5px 0 2px 10px;
}

div.post h4 {
	font-size:1em;

	border-left: 10px solid #666;
	margin:20px 0 10px 0;
	padding:0 0 0 10px;
}

dl {
	margin-bottom:1em;
}
dl.metadata {
	text-align:right;
}
dl.metadata dt, dl.metadata dd {
	font-size:0.8em;
	color:#666;
	display:inline;
}
dl.metadata dd {
	border-right:1px solid #ccc;
	padding-right:0.5em;
	margin-right:0.5em;
}
dl.metadata dd.last {
	border-right:none;
}
div#content p {
	font:1em/1.5em verdana, sans-serif;
	margin-bottom:1em;
}
p.navigation {
	text-align:center;
}

/* サイドバーテンプレート */

div#sidebar {
	width:230px;
	float:left;
}



/* サイドナビ*/
div#sidebar h3 {
	padding:5px 0 5px 10px; 
	font-size:0.9em;
	color:#fff;
	border-bottom: 2px solid #ccc;
	background-color: #660000;
}
div#sidebar ul {
	margin:0 0 5px 0;
}
div#sidebar li {
	list-style:none;
	font-size:0.9em;
	border-bottom: 1px dashed #ccc;
}


div#sidebar li a {
	display: block;
	width:230px;
	padding:5px 0;
	text-indent: 10px;
	color:#666;
	background:#f8f8f8;
	text-decoration: none;
}

div#sidebar li a:hover {
	color:#000;
	background:#ffffee;
	text-decoration: none;
	text-indent:15px;
}

/* 個別記事テンプレート */

div.post img {
	border-style: none;
}
div.post img.wp-smiley {
	border:none;
}
div.post img.floatleft {
	float:left;
	margin:0 8px 8px 0;
}
div.post blockquote {
	font:0.75em/1.5em verdana, sans-serif;
}
div.post ul, div.post ul ul, div.post ol, div.post ol ol{
	margin:0 0 1em 25px;
}
div.post li {
	font-size:1em;
	line-height:1.5em;
}
div.post li li {
	font-size:1em;
}
hr {
	border-top:solid #ccc;
	background:#fff;
	color:#fff;
	border-width:1px 0 0 0;
	margin:1em 0;
}
code {
	font-family:"courier new", courier, monotype;
	font-size:1em;
}

input#trackbackurl {
	width:400px;
	font-size:0.75em;
	margin-bottom:1em;
	color:#666;
}
ol#commentlist {
	margin:0 0 15px 0;
	font-size:0.8em;
}
ol#commentlist li.commentcontent {
	display:block;
	list-style:none;
	margin-bottom:1em;
	padding:20px 15px 10px 15px;
	background:url(images/comment.png) no-repeat #f6fee2;
	border:1px solid;
	border-color:#efefef #ccc #ccc #efefef;
}
ol#commentlist li dl.metadata dt,
ol#commentlist li dl.metadata dd {
	font-size:0.88em
}
ol#commentlist li, ol#commentlist p {
	font-size:1em;
}
p.note {
	background:#FFF8D5;
	padding:3px 8px;
	color:#666;
	border:2px solid #E5AB6A
}
form#commentform label {
	width:140px;
	float:left;
	margin:0.25em 10px 0 0;
	font-weight:bold;
}
form#commentform p {
	clear:both;
}
form#commentform sub {
	display:block;
	padding-top:2px;
}
input#author, input#email, input#url {
	width:244px;
	border:3px double #ccc;
	padding:1px 3px;
}
textarea {
	font-size:1em;
	border:3px double #ccc;
	width:400px;
}
p.submitbutton {
	text-align:center;
}
p.submitbutton input {
	padding:3px 1em;
	font-weight:bold;
	color:#555;
}
/* Mac IE 文字化け回避対策 */
input, select, textarea {
	font-family:"ヒラギノ角ゴ Pro W3", osaka, verdana, "ＭＳ ゴシック", sans-serif;
}

/* トップニュース */
div#topnews {
	margin:20px 0;
	padding:10px 0;
	border-top: 1px solid #0000ff;
	border-bottom: 1px solid #0000ff;
}

div#topnews dt{
	font-size:0.9em;
	font-weight:bold;
}

div#topnews dd{
	font-size:0.9em;
}


/* ホームリスト */
div.new {
	margin:20px 0;
	padding-bottom:10px;
	border: 1px solid #bbbbcc;
}

div.new h3{
	text-align:center;
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px 10px;
	background-color:#eeeeee;
	border-bottom: 1px solid #bbbbcc;
}

div.new li{
	list-style:none;
	font-size:0.85em;
	margin:0 10px ;
}

.center {
	text-align:center;
}

.right {
	text-align:right;
}

.left {
	text-align:left;
}

/* 表 */

table.data {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #ccc;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ccc;
}

table.data th {
	text-align:left;
	font-size: 0.9em;
	width:100px;
	vertical-align: top;
	padding:5px 10px;
	background-color:#f7f7f7;
	border-right-width: 1px;
	border-right-style: dashed;
	border-right-color: #ccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

table.data td {
	font-size: 0.9em;
	padding:5px 10px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #ccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

/* 本紹介 */

table.book {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #ccc;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ccc;
}

table.book th {
	text-align:center;
	width:100px;
	vertical-align: top;
	padding:10px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #ccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

table.book td {
	font-size: 0.9em;
	padding:10px;
	vertical-align: top;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #ccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

/* リンク表 */

table.linkdata {
	border-left-width: 1px;
	border-left-style: solid;
	border-left-color: #ccc;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #ccc;
}

table.linkdata th {
	text-align:left;
	font-size: 0.9em;
	width:100px;
	vertical-align: top;
	padding:5px 10px;
	background-color:#f7f7f7;
	border-right-width: 1px;
	border-right-style: dashed;
	border-right-color: #ccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

table.linkdata td {
	font-size: 0.9em;
	padding:5px 10px;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #ccc;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

/* サイドアドセンス */
div#sidead {
	margin:20px 0;
	text-align:center;
}

/* 下アドセンス */
div#adbtm {
	margin:30px 0 20px 0;
	padding:10px;
	border-top:1px dashed #ccc;
}


/* 上アドセンス */
div#ad-top {
	margin:10px 0 20px 20px;
}


/* コード例 */
div.code {
	margin:20px 10px;
	padding:10px 30px;
	font-size: 0.9em;
	color:#666;
	background-color:#f7f7f7;
	border-top: 1px solid #cccccc;
	border-bottom: 1px solid #cccccc;
}

/* Webリング */

#webring {
	width: 900px;
	margin-right: auto;
	margin-left: auto;
	background-color: #FFFFFF;
	text-align: center;
	font-size: 0.7em;
}

#webring a:link,
#webring a:visited,
#webring a:hover {
	color: #ccc;
	text-decoration: none;
	margin-right:2px;
}

#text-578562811 {
	padding: 0 0 10px 10px;
}

#sidebar dd {
	font-size:0.8em;
	padding:5px 10px;
}

#sidebar dd a{
	text-decoration: none;
}

#sidebar dd a:hover{
	text-decoration: underline;
}
