/*
Theme Name: Tomodachi
Theme URI: http://www.themelab.com/free-wordpress-themes/
Description: A free magazine theme.  Design by <a href="http://www.ramblingsoul.com">Rambling Soul</a>.  Coded by <a href="http://www.themelab.com">Theme Lab</a>
Version: 1.0
Author: Theme Lab
Author URI: http://www.themelab.com/
*/

@charset "utf-8";
* { padding:0; margin:0;
}
.clear {clear:both; display:block;}
body {
	background-color:#4E4741;
	background-image: url(images/background.jpg);
	background-repeat: repeat-y;
	background-position: top center;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
}

#wrap {
	background:url(images/pagebg.jpg) repeat;
	/*width:930px;*/
	width: 1030px;
	padding:10px;
	margin:10px auto 0 auto;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
#header {
	width:362px;
	height:127px;
	float:right;
	}

#header a.logo_link{
	width: 362px;
	height: 127px;
	display: block;
	background:url(images/headerbg.png) no-repeat;
	text-indent: -9999px;
}

#topnav {
	/*width:560px;*/
	width: 660px;
	height:64px;
	float:left;
	padding-top:5px;
}
#credit {font-size:10px; padding:5px 10px 5px 10px; margin:0 auto 35px auto; width:930px; }

/*SlidingDoor menu*/
#topnav ul {
	margin:0;
	padding:15px 10px 0 50px;
	list-style:none;
      }
    #topnav li {
      display:inline;
      margin:0;
      padding:0;
      }
    #topnav a {
      float:left;
      margin:0 1px 0 1px;
      padding:0 0 0 5px;
      text-decoration:none;
      }
    #topnav a span {
      float:left;
      display:block;
      padding:5px 15px 4px 6px;
      }
	#topnav .current_page_item a {background-position:0% -29px;}
	#topnav .current_page_item a span {background-position:100% -29px;}
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    #topnav a span {float:none;}
    /* End IE5-Mac hack */
      

    #topnav a:hover {
      background-position:0% -29px;
      }
    #topnav a:hover span {
      background-position:100% -29px; color:#000;
      }


}
#left p {line-height:18px; margin:10px 0 15px 0;}
#right p {line-height:18px; margin:5px 0 10px 0;}

.wideblock {
	background:#FFF8F0;
	padding:10px;
}
.wideblock img {background:#fff; padding:3px; border:solid 1px #D3CDC7;}
.wideblock img.author {float: right; margin:5px;}
#search {background:url(images/searchbar.png) no-repeat; height:73px; margin-bottom:10px;}
#wrap #right #search .keyword {
	border: 0px none #FFFFFF;
	background-color:transparent;
	width: 255px;
	float: left;
	margin-top: 12px;
}
#wrap #right #search #searchform div {
	padding-left: 12px;
	padding-top: 5px;
	height: 37px;
}
#searchbttn {
	margin-left:18px;
 background-image:url(images/searchbttn.png);
 background-repeat:no-repeat;
 background-repeat:no-repeat;
 vertical-align:top;
 height:37px;
 width:71px;
 border:none;
}
#search span {font-size:14px; font-weight:bold; color:#CCCCCC; display:block; float:left; margin-top:3px; padding:3px 5px 0 15px;}
#search span img {margin:0 5px 0 0; display:block; float:left;}
#search span a, #search span a:visited, #search span a:active{color:#CCCCCC; text-decoration:none;} #search span a:hover {color:#fff; background:#000;}
ol { margin-left:25px;}
ol li {padding:0 8px 8px 0;}
.post ul li {display: block; background:url(images/listbullet.jpg)3px 4px no-repeat; padding:0 8px 8px 25px;}

.post ul.socials li {
	display: inline;
	background: none;
	padding: 0;
}

.textfield {
	display: block;
	width:50%;
	margin:3px 3px 3px 30px;
	padding:3px;
	border: 1px solid #B9A991;
	background: #F8F7F3;
}
label {
	display: block;
	margin:3px;
	padding: 5px;
	font-weight: bold;
	text-transform: uppercase;
	color: #716148;
}
.button {
	display: block;
	padding:5px;
	margin:3px;
	border: 1px solid #716148;
	color:#000000;
	background: #F8F7F3;
}
.textfield:hover {
	background:#FFFFCC;
}
.textfield:focus {background:#ffffff;}
.hide {display:none;}

#left table {
	width:90%;
	border:1px solid #716148;
	margin-bottom:20px;
}
#left th {
	background:#E2DBD3;
	padding:5px 15px 5px 15px;
	color:#716148;
	text-align:center;
	border-bottom:1px solid #716148;
	font: bold 16px "Trebuchet MS", Verdana, sans-serif;
	text-transform: uppercase;
}
#left td {
	border-bottom:1px solid #716148;
	padding:5px 15px 5px 15px;
	border-right:1px solid #716148;
}

#rss_box {
	width: 1050px;
	margin: 0 auto;
	padding: 0;
	padding-top: 5px;
}
#rss_box:after {
	clear: both;
	display: block;
	content: ".";
	height: 0px;
	visibility: hidden;
}

#rss_box div.left {
	width: 520px;
	float: left;
	background-color: #ffffff;
	border-bottom: 3px solid #8B0000;
}

#rss_box div.right {
	width: 520px;
	float: right;
	background-color: #ffffff;
	border-bottom: 3px solid #8B0000;
}

#rss_box div.rss_list {
	height: 180px;
	padding: 5px;
	overflow: auto;
	background-color: #fff;
	border: 2px solid #8B0000;
	border-bottom: none;
	font-style: normal;
	font-size: 12px;
	line-height: 1.2ems;
}

#rss_box div.rss_title_j {
	line-height: 20px;
	height: 20px;
	background: url(images/rss_title_j.gif) right bottom no-repeat;
	border-left: 2px solid #8B0000;
}

#rss_box div.rss_title_e {
	line-height: 20px;
	height: 20px;
	background: url(images/rss_title_e.gif) right bottom no-repeat;
	border-left: 2px solid #8B0000;
}
div.right_ad {
}
div.top_ad {
	width: 1000px;
	margin: 0 auto;
	text-align: center;
	padding-top: 10px;
}



/* sayz add content*/
/*
.note.rounded {
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    border-radius:5px;
}
 
.note.rounded:before {
    border-width:8px; /* Triggers a 1px 'step' along the diagonal in Safari 5 (and Chrome 10) */
    border-color:#fff #fff transparent transparent; /* Avoids the 1px 'step' in webkit. Background colour shows through */
    -webkit-border-bottom-left-radius:5px;
    -moz-border-radius:0 0 0 5px;
    border-radius:0 0 0 5px;
}

.se_up   {  
	border-radius: 20px;        /* CSS3草案 */  
	-webkit-border-radius: 20px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 20px;   /* Firefox用 */  
}  
.se_down   {  
	border-radius: 20px;        /* CSS3草案 */  
	-webkit-border-radius: 20px;    /* Safari,Google Chrome用 */  
	-moz-border-radius: 20px;   /* Firefox用 */  
}  
*/


/*リスト*/
div.b250x3 {
 background-color: #FF0000;
 width: 1000px;
 margin-top: 0px;
 margin-right: auto;
 margin-bottom: 0px;
 margin-left: auto;
 padding-top: 10px;
 padding-right: 0px;
 padding-bottom: 10px;
 padding-left: 0px;
}
div.b250x3:after {
 visibility: hidden;
 clear: both;
 display: block;
 height: 0px;
 content: ".";
}
div#b250 {
 background-color: #ffffff;
 width: 330px;
text-align: left;
 display: inline;
}
div.b250x3 div.left {
 float: left;
}
div.b250x3 div.center {
 float: left;
 margin-left: 5px;
}
div.b250x3 div.right {
 float: left;
 margin-left: 5px;
}
div#b250 div.content {
 border: 2px solid #666666;
 overflow: auto;
 font-size: 12px;
 line-height: 130%;
 height: 200px;
 padding: 5px;
}


/*google adsenseボックス*/
.sjout {
	background-color: #f1eee9;;
}
.sjout:after {
	height: 0px;
	visibility: hidden;
	content: ".";
	display: block;
	clear: both;
}
.sjin {
	width: 1020px;
	margin-top: 5px;
	margin-bottom: 5px;
}
.sjleft {
	background-color: #f1eee9;;
	float: left;
	width: 728px;
	margin-right: 5px;
	margin-left: 10px;
}
.sjright {
	background-color: #f1eee9;;
	float: right;
	width: 262px;
	margin-right: 10px;
	margin-left: 5px;
}