/*
Theme Name: D5
Theme URI: http://blog.daichifive.com/
Description: daichifive original theme.
Version: 1.0
Author: DAICHIFIVE
Tags: 8 grid
*/


/* -----------------------------------------
html5 format
------------------------------------------*/

article,
aside,
dialog,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
	display: block;
}


/* -----------------------------------------
common
------------------------------------------*/

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
}

body {
	width: 978px;
	margin: 0 auto;
	padding: 0;
	color: #666;
	background: #fff;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
	font-size: 10px;
	line-height: 1.6;
}

body.msie {
	font-size: 62.5%;
}

body.win {
	font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
}

img {
	vertical-align: middle;
}

a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

a:hover {
	color: #e08;
	text-decoration: underline;
}

a img {
	border: none;
}

section.postcontent a.external_icon {
	background: url(img/external.gif) no-repeat center right;
	padding-right: 13px;
}

section.postcontent .amazon a.external_icon {
	background: none;
	padding-right: 0;
}


/* -----------------------------------------
clearfix
------------------------------------------*/

#search:after,
#sitemap:after,
#categories ul:after,
#music ul:after,
#footer:after,
article.post header.postheader:after,
article.page header.postheader:after,
article.post:after,
body.single article.post section.postexcerpt dl:after,
#categories li a:after {
	content: '';
	display: block;
	clear: both;
}

#search,
#sitemap,
#categories ul,
#music ul,
#footer,
article.post header.postheader,
article.page header.postheader,
article.post,
body.single article.post section.postexcerpt dl,
#categories li a {
	display: inline-block;
}

#search,
#sitemap,
#categories ul,
#music ul,
#footer,
article.post header.postheader,
article.page header.postheader,
article.post,
body.single article.post section.postexcerpt dl,
#categories li a {
	display: block;
}


/* -----------------------------------------
suiside
------------------------------------------*/

#suiside {
	width: 400px;
	height: 450px;
	position: absolute;
	left: 50%;
	top: 0;
	margin-left: 89px;
	z-index: 5;
}



/* -----------------------------------------
branding
------------------------------------------*/

#branding {
	margin: 0 0 0 124px;
	padding: 100px 0 0 0;
}

	#branding h1 {
		font-family: Arial, Helvetica, sans-serif;
		line-height: 1.1;
	}

	#branding h1 a {
				font-size: 1.6em;
				color: #e08;
				font-weight: 100;
			}

			#branding h1 a strong {
				color: #000;
				font-weight: bold;
				font-size: 1.6em;
			}

		#branding h1 a:hover,
		#branding h1 a:hover strong {
			text-decoration: none;
			color: #e08;
		}

#search {
	margin: 0 0 0 124px;
	padding: 0 0 100px 0;
	width: 234px;
}
	
	#s {
		width: 170px;
		border: solid 1px #ccc;
		float: left;
	}
	
	#s:focus {
		border: solid 1px #666;
	}
	
	#searchsubmit {
		width: 50px;
		float: right;
		border: solid 1px #ccc;
		background: #eee;
		text-align: center;
	}
	
	#searchsubmit:hover {
		border: solid 1px #e08;
		background: #e08;
		color: #fff;
		cursor: pointer;
	}


/* -----------------------------------------
maincol
------------------------------------------*/


#maincol {
	width: 730px;
	float: left;
	line-height: 1.8;
}


/* -----------------------------------------
post
------------------------------------------*/

article.post,
article.page {
	margin: 0 0 30px 0;
	position: relative;
}


/* postheader
------------------------------------------*/

article.post header.postheader,
article.page header.postheader {
	border-top: solid 1px #ccc;
}

	article.post header.postheader h2,
	article.page header.postheader h2 {
		width: 606px;
		float: right;
		margin: 0;
		padding: 4px 0;
		font-size: 1.4em;
		color: #000;
		background: #fff url(img/bar.gif) no-repeat 0 0;
	}
	
	body.single article.post header.postheader h2,
	body.single article.page header.postheader h2 {
		padding: 10px 0 8px 0;
	}
	
		article.post header.postheader h2 a {
			display: block;
			padding: 4px 0;
		}
		
		article.post header.postheader h2 a:hover {
			background: #e08;
			color: #fff;
			text-decoration: none;
		}
	
	article.post header.postheader time,
	article.page header.postheader time {
		display: block;
		width: 110px;
		float: left;
		font-size: 1.2em;
		padding: 10px 0;
	}


/* postexcerpt, postfooter
------------------------------------------*/

	body.list article.post div.postexcerpt,
	body.single article.post footer.postfooter,
	body.single article.page footer.postfooter {
		margin: 0 0 0 124px;
		padding: 0;
	}
	
		body.list article.post div.postexcerpt dl,
		body.single article.post footer.postfooter dl,
		body.single article.page footer.postfooter dl {
			margin: 0;
			padding: 5px 0;
			border-top: solid 1px #ccc;
		}
		
		body.list article.post div.postexcerpt dt,
		body.single article.post footer.postfooter dt,
		body.single article.page footer.postfooter dt {
			width: 110px;
			float: left;
		}
		
		body.list article.post div.postexcerpt dd,
		body.single article.post footer.postfooter dd,
		body.single article.page footer.postfooter dd {
			margin-left: 124px;
		}
		
			body.list article.post div.postexcerpt dd p,
			body.single article.post footer.postfooter dd p,
			body.single article.page footer.postfooter dd p {
				margin: 0;
				font-size: 1.2em;
			}
			
			#tb-url {
				width: 100%;
				border: none;
				margin: 0;
				padding: 0;
			}
			
	body.single article.post footer.postfooter,
	body.single article.page footer.postfooter {
		margin-top: 60px;
	}


/* postcontent
------------------------------------------*/

	article.post section.postcontent,
	article.page section.postcontent {
		border-top: solid 1px #ccc;
		margin: 0 0 0 124px;
		font-size: 1.4em;
	}
	
	body.list article.post section.postcontent {
		font-size: 1em;
		border-top: none;
	}

	body.single article.post section.postcontent ,
	article.page section.postcontent {
		padding-top: 30px;
	}

	section.postcontent section {
		margin: 0 0 30px 0;
		padding: 0 0 1px 0;
	}

	section.postcontent a {
		font-weight: 100;
		text-decoration: underline;
	}

	section.postcontent p {
		margin: 0 0 30px 0;
	}
		
	section.postcontent h3 {
		margin: 0 0 30px 0;
		line-height: 1.2;
		border-left: 5px #e08 solid;
		padding-left: 14px;
		color: #000;
	}

	section.postcontent strong {
		color: #000;
	}

	section.postcontent ul {
		margin: 0 0 30px 0;
	}

	section.postcontent ol {
		margin: 0 0 30px 0;
	}

	section.postcontent pre {
		background: #000;
		color: #fff;
		font-size: 0.8em;
		margin: 0 0 30px 0;
		padding: 10px;
		font-family: Verdana, sans-serif;
		overflow: auto;
		white-space: pre-wrap;
	}

	section.postcontent blockquote {
		background: #eee;
		padding: 10px;
		margin: 0 0 30px 124px;
	}

	section.postcontent cite {
		text-align: right;
		display: block;
		font-size: 0.8em;
	}

	section.postcontent table {
		border-collapse: collapse;
		width: 100%;
		margin: 0 0 30px 0;
		padding: 0;
	}

	section.postcontent caption {
		margin: 0 0 5px 0;
		padding: 0;
		line-height: 1.2;
		border-left: 5px #666 solid;
		padding-left: 14px;
		text-align: left;
	}

	section.postcontent tbody {
		margin: 0;
		padding: 0;
	}

	section.postcontent th {
		border: solid 1px #ccc;
		background: #eee;
		padding: 5px;
		text-align: left;
	}

	section.postcontent td {
		border: solid 1px #ccc;
		padding: 5px;
	}


/* linklist
------------------------------------------*/

section.postcontent dl.linklist {
	margin: 30px 0;
}

section.postcontent dl.linklist dt {
	margin: 0 0 10px 0;
	line-height: 1.2;
	border-left: 3px #e08 solid;
	padding-left: 14px;
	color: #000;
	font-weight: bold;
}

section.postcontent dl.linklist dd {
	margin: 0 0 10px 124px;
	padding: 0;
}

section.postcontent dl.linklist dd dl {
	margin: 0;
}

section.postcontent dl.linklist dd dt {
	margin: 0;
	line-height: 1.6;
	border-left: none;
	padding: 0;
	color: #666;
	font-weight: 100;
}

section.postcontent dl.linklist dd dd {
	margin: 0;
	font-size: 0.8em;
}


/* postcontent > download
------------------------------------------*/

section.postcontent .download {
	background: #eee;
	padding: 20px;
	margin: 0 0 30px 0;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
}

section.postcontent .download a.downloadbutton {
	background: #fff;
	border: solid 1px #666;
	color: #000;
	padding: 10px;
	text-decoration: none;
}

section.postcontent .download a.downloadbutton:hover{
	background: #e08;
	border: solid 1px #e08;
	color: #fff;
	text-decoration: none;
}

section.postcontent .download a.downloadbutton b {
	color: #e08;
}

section.postcontent .download a.downloadbutton:hover b {
	color: #fff;
}


/* postcontent > amazon
------------------------------------------*/

section.postcontent .amazon {
	margin: 60px 0 60px 124px;
	padding: 0 0 30px 0;
	background: url(http://blog.daichifive.com/wp-content/uploads/amazon.gif) no-repeat bottom left;
}

	section.postcontent .amazon p {
		margin: 10px 0;
	}


/* postcontent > related
------------------------------------------*/

#related {
	margin: 30px 0 30px 124px;
}

#related h3 {
	margin: 0;
	border-top: solid 1px #ccc;
	border-bottom: solid 1px #ccc;
	padding: 12px 0 10px 0;
	font-size: 1.2em;
	background: url(img/bar.gif) no-repeat 0 0;
}

	#related ul {
		list-style-type: none;
		margin: 0;
		padding: 5px 0;
	}
	
	#related li {
		margin: 0 0 10px 0;
		font-weight: bold;
	}
	
		#related li a {
			display: block;
		}
		
		#related li a:hover {
			background: #e08;
			color: #fff;
			text-decoration: none;
		}


/* -----------------------------------------
trackback
------------------------------------------*/

#comments {
	margin: 30px 0 30px 124px;
}

#comments h3 {
	margin: 0;
	border-top: solid 1px #ccc;
	padding: 10px 0;
	background: url(img/bar.gif) no-repeat 0 0;
}

	#comments h3 strong {
		font-size: 1.2em;
	}

#comments ol.commentlist {
	list-style-type: none;
	padding: 0;;
	margin: 0;
}

#comments ol.commentlist li {
	margin: 0 0 5px 0;
	padding: 0 0 5px 0;
	border-top: solid 1px #ccc;
}

#comments ol.commentlist li .comment-body {
	position: relative;
	padding-left: 124px;
}

#comments ol.commentlist li .comment-author {
	padding: 5px 0;
	border-bottom: solid 1px #ccc;
}

#comments ol.commentlist li .comment-author cite {
	font-style: normal;
}

#comments ol.commentlist li .comment-author .says {
	display: none;
}

#comments ol.commentlist li .comment-author a {
	display: block;
}

#comments ol.commentlist li .comment-author a:hover {
	background: #e08;
	color: #fff;
	text-decoration: none;
}

#comments ol.commentlist li .comment-meta {
	width: 110px;
	position: absolute;
	left: 0;
	top: 0;
	padding: 5px 0;
}
	


/* -----------------------------------------
pagebar
------------------------------------------*/

#pagebar {
	margin: 15px 0 45px 124px;
	font-family: Arial, Helvetica, sans-serif;
}

	#pagebar a,
	#pagebar span {
		padding: 5px;
		font-size: 1.2em;
		border:solid 1px #ccc;
	}

	#pagebar a:hover,
	#pagebar span {
		border:solid 1px #e08;
		background: #e08;
		text-decoration: none;
		color: #fff;
	}

/* -----------------------------------------
subcol
------------------------------------------*/

#subcol {
	width: 234px;
	float: right;
	padding-top: 220px;
}

	#subcol section {
		margin: 0 0 20px 0;
	}
	
	#subcol h3 {
		margin: 0;
		border-top: solid 1px #ccc;
		border-bottom: solid 1px #ccc;
		padding: 10px 0;
		background: url(img/bar.gif) no-repeat 0 0;
	}
	
	#popular ol {
		padding: 5px 0 0 20px;
		margin: 0 0 20px 0;
	}
	
	#popular li {
		margin: 0 0 10px 0;
		color: #e08;
		font-weight: bold;
	}
	
	#popular h4 {
		margin: 0;
	}
	
		#popular h4 a {
			display: block;
		}
		
		#popular h4 a:hover {
			background: #e08;
			color: #fff;
			text-decoration: none;
		}
	
	#popular p {
		margin: 0;
		color: #666;
		font-weight: 100;
	}



/* -----------------------------------------
linklist
------------------------------------------*/

#linklist {
	clear: both;
}

	#linklist h3 {
		margin: 0;
		border-top: solid 1px #ccc;
		border-bottom: solid 1px #ccc;
		padding: 10px 0;
		background: url(img/bar.gif) no-repeat 0 0;
	}

	#linklist ul {
		list-style-type: none;
		margin: 0;
		padding: 5px 0 15px 0;
	}
	
	#linklist li {
		line-height: 2;
	}

	#sitemap {
		width: 482px;
		float: left;
	}
	
		#categories ul {
			margin: 0 0 0 -14px;
		}
		
		#categories li {
			width: 248px;
			float: left;
		}
		
			#categories li a {
				display: block;
				margin: 0 0 0 14px;
				padding: 0;
				text-align: right;
			}
			
			#categories li a:hover {
				color: #fff;
				background: #e08;
				text-decoration: none;
			}
				
				#categories li a span {
					float: left;
				}
	
		#archives {
			width: 234px;
			float: left;
		}
			
			#archives li {
				font-size: 0.9em;
			}
			
				#archives li strong {
					font-size: 1.12em;
				}
		
		#pages {
			width: 234px;
			float: right;
		}
			
			#pages li a {
				display: block;
				margin: 0;
				padding: 0;
			}
			
			#pages li a:hover {
				color: #fff;
				background: #e08;
				text-decoration: none;
			}
			
	#music {
		width: 482px;
		float: right;
	}
	
		#music ul {
			margin: 0 -10px 0 0;
			padding: 10px 0 15px 0;
		}
		
		#music li {
			width: 70px;
			height: 70px;
			float: left;
		}
		
			#music li a {
				display: block;
				overflow: hidden;
				width: 56px;
				height: 56px;
				border: solid 2px #ccc;
			}
			
			#music li a:hover {
				border: solid 2px #e08;
			}
			
				#music li a img {
					width: 56px;
				}
	
	#tags {
		clear: both;
	}


/* -----------------------------------------
footer
------------------------------------------*/

#footer {
	margin: 10px 0;
	border-top: solid 1px #ccc;
	padding: 10px 0;
}


	#credit {
		margin: 0;
		float: left;
	}
	
	#gototop {
		margin: 0;
		float: right;
	}


