/*   
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:link {
	color:#0000ff;
}
a:visited {
	color:#990066;
}
a:hover,
a:active {
	color:#0000ff;
}

a img {
	border-width: 0px;
}

em {
	font-style: normal;
	font-weight: normal;
	color: #CC0000;
}

/* レイアウト */

div#page {
	width:950px;
	background-color:#fff;
	margin:0 auto;
}
div#header {
	width: 950px;
	height: 200px;
	background-image: url(images/book1.jpg);
	background-repeat: no-repeat;
	background-position: right bottom;
	border-top:2px solid #ccc;
	border-bottom:2px solid #ccc;
}

div#head-navi {
	font-size: 0.8em;
	text-align:right;
	padding:3px 5px;
	border-bottom:1px solid #999;
	border-top:2px solid #eee;
	background-color:#fff;
	background-repeat: repeat-x;
	background-position: bottom;
	background-image: url(images/bk_h1_00.gif);
}

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

div#content {
	width:680px;
	padding:15px 0;
	float:right;
	clear:both;
}   
div#innerbox {
	padding:0 10px 20px 20px;
}

div#sidebar {
	width:270px;
	float:left;
	padding:15px 0;
	background-color: #f7f7f7;
}

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

div#header h1 {
	text-align:center;
	font-size:1.4em;
	padding:15px 0 20px 0;

}
div#header h1 a:link, div#header h1 a:visited {
	color:#339933;
	text-decoration:none;
}
div#header h1 a:hover, div#header h1 a:active {
	color:#0000ff;
	text-decoration:underline;
}

div#header h2 {
	text-align:center;
	color:#999;
	font-size:1.2em;
	font-weight:normal;

}

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

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

div#head-navi table {
	margin:0 0 0 auto;
}

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

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.post {
	padding-bottom:15px;
	margin-bottom:15px;
	clear:both;
}
h2.posttitle {
	font-size:1.3em;
	letter-spacing: 0.1em;
	text-align:center;
	margin:15px 0;
	padding:5px 0;
	color:#444;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	background-position: bottom;
	background-image: url(images/bk_gra_25.gif);

}

h2.posttitle a {
	text-decoration:none;
}

h2.posttitle a:link,
h2.posttitle a:visited {
	color:#444;
}

h2.posttitle a:hover,
h2.posttitle a:active {
	color:#0000ff;
}

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

div.post h4 {
	font-size:1em;
	border-left: 10px solid #66cc66;
	margin:20px 0 10px 0;
	padding:0 0 0 5px;
}

div#content p {
	font-size:0.95em;
	margin: 0 0 1em 0;
	line-height: 1.4em;
}
div.navigation {
	text-align:center;
	margin: 30px 0 0 0;
	padding:5px 0;
	background-color:#f7f7f7;
	border-right: 10px solid #ccccff;
	border-left: 10px solid #ccccff;
	border-bottom: 1px solid #eee;
}

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#side-navi a:link,
div#side-navi a:visited {
	color:#666;
	text-decoration: none;
}

div#side-navi a:hover,
div#side-navi a:active {
	color:#0000ff;
	text-decoration:underline;
}

div#side-navi h3 {
	text-align:center;
	padding:5px 0 ; 
	font-size:0.95em;
	color:#fff;
	background-color: #330099;
	border-bottom:2px solid #ccc;
}

div#side-navi h4 {
	text-align:left;
	padding:3px 0 3px 15px; 
	margin:10px 10px 0 10px;
	font-size:0.9em;
	color:#333399;
	border:1px solid #ddddee;
	background-repeat: repeat-x;
	background-position: top;
	background-image: url(images/bk_gra_25.gif);
}

div#side-navi ul {
	margin:0 10px 15px 10px;
}
div#side-navi li {
	list-style:none;
	font-size:0.9em;
	padding:5px 0 5px 15px ;
	border-bottom:1px dashed #eee;
}

div#side-navi dl {
	margin:0 10px 15px 10px;
}
div#side-navi dd {
	list-style:none;
	font-size:0.9em;
	padding:5px 0 5px 15px ;
	border-bottom:1px dashed #eee;
}


/* サイドナビ */
div#text-332938151 {
	margin:20px 10px ;
	background-color: #fff;
	border: 1px solid #ccc;
}



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

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.8em/1.5em verdana, sans-serif;
	margin:20px 10px;
	padding:10px;
	background-color:#f7f7f7;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;

}
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;
}
div#comments {
	margin:20px 0 10px 0;
}

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;
	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:120px;
	float:left;
	margin:0.25em 0 0 0;
}
form#commentform p {
	font-size:0.9em;
	clear:both;
}
form#commentform sub {
	display:block;
	padding-top:2px;
}
input#author, input#email, input#url {
	width:274px;
	border:3px double #ccc;
	padding:1px 3px;
}
textarea {
	font-size:1em;
	border:3px double #ccc;
	width:400px;
}
p.submitbutton {
	text-align:left;
}
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#hometop {
	text-align:center;
	margin:10px 0 0 0 ;
}

div#hometop dt {
	text-align:left;
	font-weight: bold;
	color:#666;
	border-left: 10px solid #ffcc66;
	padding:0 0 0 8px;
	margin:0 0 10px 0;
}

div#hometop dd {
	text-align:left;
	font-size:0.9em;
	color:#666;
	margin:0 0 10px 20px;
}

/* ホーム２ */

div#home2 {
	border: 1px solid #999;
	margin:30px 0;

}

div#home2 h3{
	text-align:center;
	font-size:0.9em;
	margin:0 0 10px 0;
	padding:5px;
	background-color:#f7f7f7;
	border-bottom: 1px solid #ddd;
}

div#home2 li{
	list-style:none;
	font-size:0.85em;
	margin:0 0 5px 10px ;
}

div#home2  a:link,
div#home2  a:visited {
	text-decoration:none;
}

div#home2  a:hover,
div#home2  a:active {
	text-decoration:underline;
}

/* パンくずリスト */
div#topicpath {
	font-size:0.85em;
	color:#666;
}

div#topicpath a {
	text-decoration:none;
}

.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.term {
	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.term th {
	text-align:left;
	font-size: 0.9em;
	white-space:nowrap;
	vertical-align: top;
	padding:5px 10px;
	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.term 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.linkdata {
	border-top:1px solid #ccc;
	border-left:1px solid #ccc;
}

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

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

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

/* 下アドセンス */
div#adbtm {
	margin:30px 0 20px 30px;
}

/* コード例 */
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;
}


div.cat-post li {
	list-style-type: none;
	margin:0 0 0 10px;
	padding:5px 0;
}

div.cat-post li a:link,
div.cat-post li a:visited {
	text-decoration:none;
}

div.cat-post li a:hover,
div.cat-post li a:active {
	text-decoration:underline;
}

/* キーワード集 */
div.topkeywords {
	margin:20px;
	padding:20px;
	line-height:2em; 
	background-color:#fffff7;
	border: 1px solid #999;
}

/* キーワードリスト */

table.kw-list th {
	width:160px;
	vertical-align: top;
}

table.kw-list td {
	font-size: 0.9em;
	vertical-align: top;
	padding:10px;
}

div.konyu {
	margin:20px;
}

div.konyu a:link img,
div.konyu a:visited img {
	padding:0 2px 2px 0;
}

div.konyu a:hover img,
div.konyu a:active img {
	padding:2px 0 0 2px;
}

dl.biko {
	margin:20px 10px;
	border-top: 2px solid #cccccc;
	border-bottom: 2px solid #cccccc;
}


dl.biko dd{
	font-size: 0.9em;
	margin: 0.5em 10px;
}

dl.faq {
	margin:10px;
}

dl.faq dt{
	font-size: 0.9em;
	font-weight:bold;
	color:#0000cc;
	margin:2em 0 1em 0;
}

dl.faq dd{
	font-size: 0.9em;
	margin-bottom:0.5em;
}

/* Webリング */

#webring {
	width: 950px;
	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;
}

/* 特定商取引 */

table.tokutei {
	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.tokutei th {
	text-align:right;
	font-size: 0.9em;
	font-weight:normal;
	width:120px;
	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.tokutei 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;
}


