/*
Theme Name: SecondStudio style Red 001
Theme URI: http://www.secondstudio.net//
Description: SecondStudio original theme.
Version: 1.0
Author: Hideaki Takata
Author URI: http://www.secondstudio.net/
*/

/*
* Tag resettings
*/

body {
  margin: 0;
  padding: 0;
  background: #F4D064 url("images/body_bg.gif") repeat-x top center;
  text-align: center;
  font-size: 12px;
  font-family: "ヒラギノ角ゴ Pro W3", Osaka, "メイリオ", "ＭＳ Ｐゴシック", sans-serif;
}

h2 {
	margin: 0 0 3px 0;
	font-size:  1.5em;
}

/*
* Layout settings
*/

#wp_badge {
	margin:0px;
	padding:0px;
	position:absolute;
	right:0px;
	top:0px;
	border-style: none;
}

#wrapper {
	margin: 10px auto;
	padding:  0;
	width:  780px;
	text-align: left;
}

#header {
	margin-bottom: 5px;
	width:  780px;
	height: 200px;
	background: url('images/header_bg.jpg') left top no-repeat;
}

#header a {
	display:  block;
	width:  780px;
	height: 200px;
	overflow: hidden;
	text-indent: -5000px;
	text-decoration: none;
}

#main {
	width: 780px;
	float: left;
	background-color: #FFF;
}

#main a,
#main a:link,
#main a:visited {
	color: #C27E0A;
	text-decoration: none;
}

#main a:hover,
#main a:active,
#main a:focus {
	color: #D51717;
	text-decoration: underline;
}

#contents {
	padding-top:  10px;
	padding-left: 10px;
	width:  508px;
	float: left;
}

.post {
	width:  508px;
	padding-bottom: 20px;
	float:  left;
}

.post h2 {
	border-bottom: 3px solid #F4D064;
}

#main h2 a,
#main h2 a:link,
#main h2 a:visited,
#main h2 a:hover,
#main h2 a:active,
#main h2 a:focus {
	color: #D51717;
}

.post .postmeta {
	text-align: right;
	font-size: 0.85em;
	color: #666;
}

.post .postcontent {
	line-height: 1.6em;
}

.post code.prettyprint {
	display: block;
	width: 500px;
	padding: 1px;
	border: 1px solid #ccc;
	overflow: auto;
	background-color: #efefef;
	white-space: pre;
	line-height: 100%;
}

.post em {
	color: #933;
}

.post img {
	padding: 3px;
	border: 1px solid #EEE;
}

.post img.alignright {
	float: right;
	margin-left: 10px;
	margin-bottom: 5px;
}

.post img.alignleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 5px;
}

.post .postmetadata {
	padding: 5px;
	border: 1px solid #F4D064;
	background-color: #FFE;
	clear: both;
	font-size: 0.85em;
}

.post .postmetadata img {
	padding: 0;
	border-style: none;
}

#sidebar {
	margin-top: 10px;
	padding-right: 10px;
	width:  220px;
	float:  right;
}

#sidebar .sidemenu {
	margin-bottom: 20px;
}

#sidebar h2 {
	border-bottom: 2px solid #D51717;
	font-size: 1.16em;
	color: #D51717;
}

#sidebar ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

#sidebar a,
#sidebar a:link,
#sidebar a:visited {
	color: #730D0D;
}

#sidebar a:hover,
#sidebar a:active,
#sidebar a:focus {
	color: #D51717;
}

#sidebar #webBadge {
	text-align: center;
}

#sidebar #webBadge img {
	border-style: none;
}

#footer {
	padding: 10px;
	margin-bottom: 2px;
	clear: both;
	border-top: 1px solid #F4D064;
	background-color: #FFE;
	color: #666;
	font-size: 0.85em;
}

#footer a,
#footer a:link,
#footer a:visited {
	color: #730D0D;
	text-decoration: none;
}

#footer a:hover,
#footer a:active,
#footer a:focus {
	color: #D51717;
	text-decoration: underline;
}

#footer a:hover img,
#footer a:active img,
#footer a:focus img {
	text-decoration: none;
}

#footerlogo {
	height: 25px;
	background: url('images/footerlogo_bg.gif') right top no-repeat;
	text-indent: -5000px;
}