/* 
Theme Name: Custom
Description: 時の館ブログ用CSS
Author: Fumiko Shiotani
*/


/* 全体のリセット */
*{
	margin: 0;
	padding: 0;
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	list-style-type: none;
/*	line-height: 1.2;*/
}

/* scrollbar表示の統一 */
html{
	overflow: scroll;
/*	overflow: -moz-scrollbars-vertical;*/
	overflow-x: scroll;
}

/* tableのボーダー表示方法の統一 */
table{
	border-collapse: collapse;
	border-spacing: 0;
}

/* 画像 */
img{
	border: 0;  /* リンクborderの非表示化 */
}

.wp-caption {
  margin-right: 10px;
  margin-bottom: 10px;
  text-align: center;
  color: #fafaef;
}

.wp-caption img {
  padding: 5px;
}

img.newgif {
  padding: 0;
}

.alignleft {
  float: left;
}

.bold {
  font-weight: bold;
}

.underline {
  text-decoration: underline;
}


/* フォント種類指定 */
*{
	font-family:
		"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
		Osaka, Georgia, Helvetica, Arial,
		"MS Pゴシック", "MS P Gothic",
		sans-serif;
}

/* リンク */
a{
	color: #1a6f96;
}
a:link{
	color: #1a6f96;
}
a:visited{
	color: #1a6f96;
}
a:hover{
	color: #999900;
  text-decoration: none;
}


/* レイアウト */
.centered{
	margin: 0 auto;
}


/* フロートクリア */
.clearfix:after{
	content: ".";
	display: block;
	height: 0px;
	visibility: hidden;
	clear: both;
}

.clearfix{
	display: inline-block;
}

* html .clearfix{
	height: 1%;
}


/* body */
body {
  position: relative;
  background-color: #0e0b05;
  font-size: 14px;
  color: #3d3c3a;
}


* html body {
  text-align: center;
}


/* wrapper */
#wrapper {
  position: relative;
  width: 900px;
  background-color: #fafaef;
  text-align: left;
}


/* ヘッダー */
#header {
  position: relative;
  width: 900px;
  height: 250px;
  background: url(header.png) 0 0 no-repeat;
  text-align: left;
  color: #e9f6f4;
}

#header h1 {
  margin-left: 10px;
  padding: 10px 0 5px;
  font-size: 16px;
  text-align: left;
  color: #fff;
}

#header p#h1_sub {
  margin-left: 25px;
  font-size: 16px;
}

#header p#h1_sub a {
  color: #cfe6cf;
}

#header p#h1_sub a:hover {
  color: #cc6;
}

#header ol#globalnavi {
  position: relative;
  width: 85%;
  margin-top: 105px;
  margin-left: 20px;
}

#header ol#globalnavi li {
  margin: 0 7px;
  padding: 10px 0;
  float: left;
}

#header ol#globalnavi li a {
  padding: 5px;
  color: #e9f6f4;
  display: block;
}

#header ol#globalnavi li a:link {
  color: #e9f6f4;
}

#header ol#globalnavi li a:hover {
  color: #cc6;
}


/* メインコンテンツ */
#contents {
  position: relative;
  width: 500px;
  min-height: 600px;
  height: auto !important;
  height: 600px;
  margin: 10px 20px 20px;
  float: right;
}

#contents #pagetitle {
  margin-top: 10px;
  border: 1px dotted #1a6f96;
  padding: 5px;
  text-align: center;
  color: #1a6f96;
}


#contents .post {
  width: 500px;
  margin: 20px 0;
  padding: 5px 0 15px;
}

#contents .post h2 {
  height: 45px;
  margin-bottom: 10px;
  padding-top: 5px;
  padding-left: 60px;
  background: url(titlepic.png) 0 0 no-repeat;
  font-weight: bold;
  font-size: 18px;
  color: #4a5a51;
}

#contents .post h2 .date {
  color: #787878;
  font-size: 14px;
}

#contents .post h2 a {
  display: block;
  font-weight: bold;
  color: #4a5a51;
}

* html #contents .post h2 a {
  padding-top: 2px;
}

#contents .post h3 {
  margin-top: 1.5em;
  font-weight: bold;
}

#contents .post h4 {
  border-left: 4px solid;
  padding-left: 10px;
  margin-top: 1em;
}

#contents .post .postcontent {
  font-size: 14px;
  line-height: 1.5;
  margin: 20px 10px 30px;
}

#contents .post .postcontent p {
  margin-top: 1em;
}

#contents .post .postcontent blockquote p {
  margin: 5px 10px;
  font-style: italic;
}

#contents .post .postcontent table.schedule thead th {
  width: 57px;
  height: 1em;
  padding: 5px 3px;
  background-color: #dedede;
  vertical-align: middle;
  text-align: center;
  font-size: 12px;
}

#contents .post .postcontent table.schedule tbody th,
#contents .post .postcontent table.schedule tbody td {
  width: 57px;
  height: 5em;
  padding: 5px 3px;
  vertical-align: top;
  text-align: center;
}

#contents .post .postcontent .dlt {
  text-decoration: line-through;
  color: #f00;
}

#contents .post .postcontent p.wp-caption-text {
  margin: 0;
  padding: 0;
  font-size: 12px;
}

#contents .post .postcontent h3.similar-posts {
  margin-top: 30px;
  font-size: 13px;
  font-weight: bold;
}

#contents .post p.tweetbutton {
  margin: 10px 0 20px;
  text-align: right;
}

#contents .post p.postinfo {
  margin-top: 5px;
  padding-top: 5px;
  font-size: 12px;
  text-align: right;
  color: #999;
  border-top: 1px dotted #ccc;
}

#contents p.pagelink {  		/* 前後ページへのリンク */
  margin: 10px 0;
  padding: 10px 0;
  font-size: 12px;
}

#contents .toprevpage {
  float: left;
}

#contents .tonextpage {
  float: right;
}

#contents .totoppage {
  margin-bottom: 20px;
  text-align: center;
  font-size: 12px;
}

#contents .more-link {			/* 「続きを読む」リンク */
  display: block;
  margin-top: 15px;
  font-size: 13px;
}

#contents .more-link:hover {
  text-decoration: underline;
}

.weblog_single #contents {		/* 個別記事表示 */
  width: 650px;
  float: left;
}

.weblog_single #contents .post {
  width: 650px;
}


/* ie6,7対策 */
* html #contents .post .postcontent table.schedule thead th,
* html #contents .post .postcontent table.schedule tbody th,
* html #contents .post .postcontent table.schedule tbody td {
  width: 63px;
  font-size: 14px;
}


/* サイドメニュー */
#sidemenu {
  position: relative;
  width: 170px;
  margin: 10px 0 30px;
  padding-left: 10px;
  text-align: right;
  float: left;
}

#sidemenu h2,
#sidemenu_r h2 {
  margin: 20px 0 10px;
  padding: 5px 15px;
  background: url(sidemenu_h3.png) top right no-repeat #c8c464;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

#sidemenu ul {
  margin-left: 10px;
  margin-right: 5px;
}

#sidemenu_r ul {
  margin-left: 5px;
  margin-right: 10px;
}

#sidemenu ul li,
#sidemenu_r ul li {
  margin-top: 7px;
  font-size: 12px;
}

#sidemenu dl,
#sidemenu_r dl {
  margin: 0 10px 0 20px;
  font-size: 12px;
}

#sidemenu dl dt,
#sidemenu_r dl dt {
  margin-top: 5px;
  font-weight: bold;
}

#sidemenu p.feed {
  margin-right: 10px;
}


/* 右サイドメニュー */
#sidemenu_r {
  position: relative;
  width: 170px;
  margin: 10px 0 30px;
  padding-right: 10px;
  float: right;
}

#sidemenu_r h2 {
  background: url(sidemenu_h3_r.png) top left no-repeat #c8c464;
}

/* カレンダー */
#wp-calendar {
  width: 100%;
  padding-right: 10px;
  font-size: 14px;
}

#wp-calendar thead th {
  font-size: 12px;
}

#wp-calendar th,
#wp-calendar td {
  text-align: center;
}

#wp-calendar caption {
  width: 100%;
  margin: 20px 0 10px;
  padding: 5px 15px;
  background: url(sidemenu_h3_r.png) top left no-repeat #c8c464;
  font-weight: bold;
  color: #fff;
  text-align: left;
}

#wp-calendar #prev {
  text-align: left;
  padding-top: 10px;
  padding-left: 5px;
}

#wp-calendar #next {
  text-align: right;
  padding-top: 10px;
  padding-right: 5px;
}


/* タグクラウド */
p#tag_cloud {
  margin-left: 5px;
  margin-right: 10px;
}

p#tag_cloud a {
  margin-right: 2px;
}


/* ie6,7対策 */
* html #sidemenu,
* html #sidemenu_r {
  width: 180px;
}

* html #wp-calendar {
  margin-top: 20px;
}

* html #wp-calendar thead th {
  padding-top: 10px;
}


/* フッター部 */
#footer {
  clear: both;
  position: relative;
  height: 100%;
  padding: 10px 0;
  border-top: 1px solid # #0e0b05;
  background-color: #0e0b05;
  color: #ccc;
  font-size: 12px;
  text-align: center;
}

#footer address {
  margin: 10px 0;
}

#footer ul {
  margin-bottom: 10px;
}

#footer ul li {
  display: inline;
}


/* 独立ページ */
.pagetemplate {
  background: #040302;
  color: #ccc;
}

.pagetemplate a:hover {
  color: #cc6;
}

.pagetemplate #wrapper {
  background: #040302;
}

.pagetemplate #header {
  width: 900px;
  height: 160px;
  margin: 0 auto;
  background: none;
  text-align: right;
}

.pagetemplate #header h1 {
  margin-top: 5px;
  margin-left: 30px;
}

.pagetemplate #header #globalnavi {		/* グローバルナビ */
  width: 510px;
  margin-top: 5px;
  margin-left: auto;
}

.pagetemplate #header #globalnavi li {
  height: 20px;
  width: 100px;
  margin: 0;
  padding-top: 30px;
  background: url(icon_g.png) center top no-repeat;
  text-align: center;
  float: left;
}

.pagetemplate #header ol#globalnavi li a,
.pagetemplate #header ol#globalnavi li a:link {
  color: #285bab;
}

.pagetemplate #header ol#globalnavi li a:hover {
  color: #cc6;
}

.pagetemplate li.current_page_item a,
.pagetemplate li.current_page_item a:hover {
  color: #787878;
}

.pagetemplate #contents {			/* コンテンツ */
  width: 900px;
  margin: 0;
  padding-bottom: 50px;
  background: url(pagebackg.png) 30px bottom no-repeat #040302;
}

.pagetemplate #contents .post {
  width: 350px;
  margin: 20px 10px 10px 0;
  padding: 0;
  float: right;
}

.pagetemplate #contents .post h2 {
  height: 1.5em;
  background: none;
  margin-top: 10px;
  margin-bottom: 0;
  padding: 0;
  border: none;
  font-weight: bold;
  font-size: 16px;
  color: #cc6600;
}

.pagetemplate #contents .postcontent {
  margin: 0;
  background: none;
  font-size: 13px;
	line-height: 1.2;
}

.pagetemplate #contents .postcontent h3 {
  margin-top: 20px;
  font-size: 14px;
  font-weight: bold;
}

.pagetemplate #contents .postcontent p {
  margin: 1em 0;
}

.pagetemplate #contents .postcontent dl{
  margin-bottom: 20px;
}

.pagetemplate #contents .postcontent dl dt {
  margin: 20px 0 0 0;
  font-size: 14px;
  font-weight: bold;
}

.pagetemplate #contents .postcontent dl dd {
  margin: 10px 0 0 15px;
}

.pagetemplate #contents .postcontent ul li,
.pagetemplate #contents .postcontent ol li {
  margin-left: 1em;
  list-style-type: disc;
}

.pagetemplate #contents .postcontent .liststyle_none li {
  list-style-type: none;
}

.pagetemplate #contents .postcontent .sitemap_list li {
  margin-top: 10px;
}

.pagetemplate #contents .postcontent .notes {
  color: #966;
  font-size:12px;
}

.pagetemplate #contents .postcontent a.toForm,
.pagetemplate #contents .postcontent a.toForm:link {
  text-decoration: underline;
  font-size: 14px;
  color: #2f7fda;
}

.pagetemplate #contents .postcontent a.toForm:hover {
  text-decoration: none;
  color: #cc6;
}

.pagetemplate #contents .postcontent a.toBlog,
.pagetemplate #contents .postcontent a.toBlog:link {
  color: #808000;
}

.pagetemplate #contents .postcontent a.toBlog:hover {
  text-decoration: underline;
}

.pagetemplate #contents p#backtoparent {
  padding-right: 20px;
  font-size: 13px;
  text-align: right;
}

.pagetemplate #contents p#backtoparent a {
  padding: 0;
}

.pagetemplate #contents #subpages{		/* 子ページのリスト */
  clear: left;
  margin-top: 1em;
  font-size: 13px;
}

.pagetemplate #contents #subpages ul {
  margin: 0;
}

.pagetemplate #contents #subpages ul li {
  margin: 5px 0 0;
  height: 14px;
  padding-left: 18px;
  background: url(list.png) 0 3px no-repeat;
}

.pagetemplate #contents #subpages ul li a {
  padding: 0;
}

.pagetemplate #contents #subpages ul li a,
.pagetemplate #contents #subpages ul li a:link {
  color: #2f7fda;
}

.pagetemplate #contents #subpages ul li a:hover {
  color: #cc6;
}

.pagetemplate #contents #subpages ul li.current_page_item a,
.pagetemplate #contents #subpages ul li.current_page_item a:link {
  color: #787878;
}

.pagetemplate #contents #paypal_logo {		/* Paypalロゴ */
  margin-top: 45px;
  margin-left: auto;
}

.pagetemplate #contents ul.link_banners {		/* バナーリスト */
  margin: 0;
  padding: 0;
}

.pagetemplate #contents ul.link_banners li {
  margin: 5px 0 0 0;
  padding: 0;
  list-style-type: none;
}

.pagetemplate #contents .post .error404 p#apology img {	/* 404 error */
  margin-left: -55px;
  margin-bottom: 10px;
}

.pagetemplate #contents .post .error404 p#apology {
  font-size: 12px;
  color: #aaa;
}

.pagetemplate #contents .post .error404 #secret_key {
  display: block;
  width: 23em;
  margin: 10px 0;
  padding: 5px;
  background: #fff;
  color: #333;
  font-family: courier new;
  text-align: center;
}

.pagetemplate #contents .post .error404 p#look_for {
  margin-top: 25px;
}

.pagetemplate #contents .post .error404 ul li {
  margin: 5px 0;
}

.pagetemplate #contents .post .error404 #search_box {
  margin-top: 10px;
}

.pagetemplate #footer {
  height: 100%;
  background: none;
  border: none;
}

/* ie対策 */
* html .pagetemplate #header #globalnavi {
  margin-left: 390px;
}



/* =======================================EOF */


