/*   
Theme Name:YK-Theme
Theme URI:http://www.19771206.com/
Description:シンプルなテーマ
Author:Yanagi.Kenji
Author URI:http://www.19771206.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:#3333cc;
}
a:visited {
	color:#993399;
}
a:hover,
a:active {
	color:#0000ff;
}

a img {
	border: none;
}

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

/* レイアウト */

div#page {
	width:950px;
	margin:0 auto;
	padding-top:5px;
	background-color:#fff;
}
div#header {
	width: 950px;
	background-color:#fff;
}

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

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

div#sidebar {
	width:280px;
	float:left;
	text-align:center;
	background-color:#f7f7f7;
}


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


div#header h1 {
	text-align:left;
	font-size:1.4em;
	padding:10px 15px;
	display:inline
}
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 p {
	color:#999;
	font-size:0.9em;
	display:inline
}

div#header-img {
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
}

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

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 ul {
	float: right;
}

div#head-navi li {
	list-style-type: none;
	width:100px;
	float: left;
	border-left:1px solid #999;
	text-align:center;
}


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

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;
	text-align:center;
	margin-bottom:0.5em;
	padding:5px 0;
	color:#333;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-repeat: repeat-x;
	background-position: bottom;
	background-image: url(images/bk_h1_00.gif);

}

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

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

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
}
p.navigation {
	text-align:center;
}

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#sidebar h3 {
	text-align:left;
	padding:5px 20px;
	margin-bottom:5px;
	font-size:1em;
	color:#fff;
	background-color: #110099;
	border-bottom: 2px solid #ddd;
}


div#sidebar ul {
	margin:0 0 5px 10px;
	text-align:left;
}
div#sidebar li {
	list-style:none;
	font-size:0.95em;
	padding:3px 0 3px 10px;
	background-repeat: no-repeat;
	background-position: left 0.5em;
	background-image: url(images/list30.gif);
}


div#sidebar a:link,
div#sidebar a:visited {
	color:#555;
	text-decoration: none;
}

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

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

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#topicpath {
	font-size:0.85em;
	color:#666;
	padding:5px 0;
}

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

.center { text-align:center; }
.right { text-align:right; }
.left {	text-align:left; }

.photo {
	padding:3px;
	border: 1px solid #ccc;
}

/* 表 */

table.data {
	width:630px;
	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:140px;
	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.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;
}

/* 科目別本表 */

table.kamokubook {
	width:630px;
	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.kamokubook th {
	text-align:center;
	font-size: 0.95em;
	width:140px;
	vertical-align: top;
	padding:15px 0;
	background-color:#fff;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #eee;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #ccc;
}

table.kamokubook td {
	vertical-align: top;
	font-size: 0.95em;
	padding:15px 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.cat-post li {
	list-style-type: none;
	margin:0 0 0 10px;
}

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#linkpage a {
	display:block;
	font-weight:bold;

}

div#linkpage li {
	font-size:0.9em;
}

/* ホーム目次 */

div#home-index h4 {
	font-size:1em;
	border-left: 10px solid #66cc66;
	border-bottom: 1px solid #ddd;
	margin:0 0 10px 0;
	padding:5px 0 3px 5px;
	background-color:#f7f7f7;
}

div#home-index li {
	list-style:none;
	font-size:0.95em;
	color:#66cc66;
	padding:3px 0;
}

/* 共有テンプレート外 */

div#new-post {
	margin:30px 0 40px 0;
	border:1px solid #6666ff;
}

div#new-post h3 {
	text-align:center;
	padding:3px;
	font-size:1em;
	background-color: #eeeeff;
	border-bottom:2px solid #ddd;
}

div#new-post ul {
	margin:10px;
}

div#new-post li {
	list-style:none;
	font-size:0.9em;
	padding:3px 0;
}

div#text-304697211  {
	text-align:left;
	margin:15px 0 ;
}

div#categories-303588511,
div#side-top,
div#meta  {
	margin:20px 10px;
	background-color: #fff;
	border:1px solid #ddd;
}

div#text-322934591 {
	margin:20px 10px;
	background-color: #fff;
	border:1px solid #ddd;
	text-align:right;
	padding:10px 0 ;
}

div#ad-top {
	text-align:center;
	padding:7px 0;
	margin-bottom:30px;
	border-top: 1px solid #6666ff;
	border-bottom: 1px solid #6666ff;
}

div#ad-btm {
	margin:25px 0;
	text-align:left;
}

table.bookdata {
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

table.bookdata th {
	text-align:center;
	font-weight: normal;
	padding:2px;
	background-color: #eee;
	border-right: 1px solid #ccc;
}

table.bookdata td {
	text-align:center;
	width:155px;
	padding:15px 0;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}


#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;
}
