﻿/*
Theme Name: miyashakyo
Theme URI: http://www.okicom.co.jp
Description: yamakawa
Version: 1.1
Author: 
Author URI: */

/* ================================================================ 
The original version of this stylesheet and the associated (x)html
files are available at http://www.wpthemerkit.com

License info can be found at http://www.wpthemerkit.com/license.php
=================================================================== */
/*------------------------------------------------------------------
[Table of contents]
1. Main Containers - body, #wrapper, #main, #header, #content, #footer, etc.
2. General Classes - .entry-meta, .post, .description, .underpost, etc.
3. General Links - #content a:link, #footer a:link, etc.
4. Menu - #menu, #menu ul, #menu ul li, #menu ul li a:link, etc.
5. Sidebar Links - #sidebar ul li a:link
6. Headings - #header h1, #content h1, .post h2, .post h3, etc.
7. Date - .entry-date, .entry-month, .entry-day
8. Comments - #commentform, #respond p, etc.
9. Blockquotes - blockquote, blockquote p:first-letter, etc.
10. Align - .alignleft, .alignright, img.alignleft, img.alignright, etc.
11. Misc. and Preventative - Styles to prevent image hover strangeness etc.
-------------------------------------------------------------------*/

/*===START SECTION 1 - the main containers===*/
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 85%;
	margin: 0px;
	padding: 0px;
	color: #555555;

	background-image:url(http://www.miyashakyo.jp/images/header_back.jpg);
	background-repeat:repeat-x;

}
#wpbody{
	width: 100%;
	height: auto;
	min-height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}
#wrapper {
	width: 900px;
	margin-top: 0px;
	margin-left: -450px;
	padding: 0px;
	position: relative;
	left: 50%;

}
#header {
	height: 87px;
	width: 900px;
	background:url(http://www.miyashakyo.jp/images/header_back2.jpg) no-repeat 0 bottom;
}
#main {
	margin-top: 16px;
	width: 900px;

}
#content {
	width: 700px;
	float: right;
}
#sidebar {
	width: 185px;
	float: left;
}
#footer {
	width: 100%;
	height: 84px;
	clear: both;
	margin-top: 8px;
	background-image: url(http://www.miyashakyo.jp/images/footer_back.gif);
	background-repeat: repeat-x;
	position: relative;
	bottom: 0;

}
/*===END SECTION 1===*/

/*===START SECTION 2 - general classes===*/
.description {
	font-size:12px;
	color:#FF9933;
	position: absolute;
	top: 34px;
	left: 154px;
}
.post {
	width: 680px;
	margin-top: 8px;
	margin-right: 10px;
	margin-left: 10px;
	float: right;
	clear: both;
}
.entry-content, .entry-excerpt, .entry-text{
	clear: left;
	font-size: 120%;
	line-height: 150%;
	letter-spacing: 0.1em;

}
.entry-content img, .entry-excerpt img, .entry-text img{
	border: 4px solid #dddddd;
}
.navigation {
  clear: both;
}
.avatar {
  float: right;
  margin: 0 0 3px 5px;
}
.entry-meta {
  margin: 0 0 10px 0;
}
.underpost {
	font-size: .9em;
}
#content .underpost a {
	text-decoration: underline;
}

/*= top page =*/
#top_biz{
	line-height: 0px;
	width: 700px;
	height: 127px;
	background-image: url(http://www.miyashakyo.jp/images/top_biz_back.gif);
	background-repeat: repeat-y;
	background-position: 0 0;
}
#top_biz_header{
	float: left;
	width: 700px;
	height: 33px;
	background-image: url(http://www.miyashakyo.jp/images/top_biz_header.gif);
	background-repeat: no-repeat;
	text-indent: -2000px;
}
#top_biz_contents{
	float: left;
	width: 700px;
	height: 86px;
	margin: 0px;
	padding: 0px;
}
#top_biz_contents ul{
	width: auto;
	margin: 0px;
	margin-top: 5px;
	margin-left: 6px;
	padding: 0px;
	display:block;
}
#top_biz_contents li{
	display: inline;
	margin: 0;
	padding: 0;
}
#top_biz_contents a{
	display: block;
	float: left;
	width: 136px;
	height: 80px;
	border: 0;
	text-indent: -2000px;
	margin-right: 2px;

}
/* shiritaikotorisuto */
#top_biz_01 a:link, #top_biz_01 a:visited{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_01.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
#top_biz_01 a:hover{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_01.jpg);
	background-repeat: no-repeat;
	background-position: 0px -80px;
}
#top_biz_02 a:link, #top_biz_02 a:visited{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_02.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
#top_biz_02 a:hover{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_02.jpg);
	background-repeat: no-repeat;
	background-position: 0px -80px;
}
#top_biz_03 a:link, #top_biz_03 a:visited{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_03.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
#top_biz_03 a:hover{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_03.jpg);
	background-repeat: no-repeat;
	background-position: 0px -80px;
}
#top_biz_04 a:link, #top_biz_04 a:visited{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_04.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
#top_biz_04 a:hover{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_04.jpg);
	background-repeat: no-repeat;
	background-position: 0px -80px;
}
#top_biz_05 a:link, #top_biz_05 a:visited{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_05.jpg);
	background-repeat: no-repeat;
	background-position: 0px 0px;
}
#top_biz_05 a:hover{
	background-image: url(http://www.miyashakyo.jp/images/top_biz_05.jpg);
	background-repeat: no-repeat;
	background-position: 0px -80px;
}

#top_biz_footer{
	float: left;
	width: 700px;
	height: 8px;
	margin: 0px;
	background-image: url(http://www.miyashakyo.jp/images/top_biz_footer.gif);
	background-repeat: no-repeat;
	text-indent: -2000px;
}


#top_topic{
	width: 700px;
	height: auto;
	background-image: url(http://www.miyashakyo.jp/images/top_topic_back.gif);
	background-repeat: repeat-y;
	background-position: 0 0;
	margin-top: 16px;
	font-sie: 90%;
	padding: 0;
}
#top_topic table{
	margin: 0px;
	padding: 0px;
	margin-left: 10px;
	width: 680px;
	
}
#top_topic tr{
	height: 37px;
	background-image: url(http://www.miyashakyo.jp/images/top_topic_line.gif);
	background-repeat: no-repeat;
	background-position: 0 bottom;
}
#top_topic td{
	margin: 0px;
	padding-left: 16px;
	vertical-align: middle;
}
#top_topic th{
	font-weight: normal;
	width: 62px;
	color: #666666;
	vertical-align: middle;
}
#top_topic a{
}
#top_topic a:link, #top_topic a:visited{
}
#top_topic a:hover{
	color: #ff9933;
}
#top_topic_next{
	margin:4px;
	margin-right:10px;
	text-align:right;
	font-size:90%;
	font-weight:bold;
}
#top_topic_next a:link,#top_topic_next a:visited{
	padding-right:10px;
	color: #999999;
	text-decoration:none;
	background-image: url(http://www.miyashakyo.jp/images/sidebar_menu_mark.gif);
	background-position:right center;
	background-repeat:no-repeat;
}
#top_topic_next a:hover{
	padding-right:10px;
	color: #ff9933;
	background-image: url(http://www.miyashakyo.jp/images/sidebar_menu_mark2.gif);
}


/*===END SECTION 2===*/

/*START SECTION 3 - style content and footer links*/
#footer_main{
	width: 900px;
	margin-top: 0px;
	margin-left: -450px;
	padding: 0px;
	position: relative;
	left: 50%;
}
#footer_menu{
	width: 900px;
	height: 18px;
	position: absolute;
	top: 2px;
	left: 0;
	text-align: center;
}
#footer_menu ul{
	margin: 0px;
	padding: 0px;
}
#footer_menu li{
	font-size: 12px;
	font-weight: bold;
	display: inline;
	list-style-type: none;
	padding: 0 16px;
	border-left: 1px solid #666666;
}
#footer_menu .footer_menu_line{
	border-left: 1px solid #cccccc;
}

#footer_menu a:link, #footer_menu a:visited{
	color: #666666;
	text-decoration: none;
}
#footer_menu a:hover{
	color: #ff9900;
}
#footer_logo{
	position: absolute;
	top: 24px;
	left: 0px;
	font-size: 12px;
	line-height: 13px;
	color: #999999;
	font-weight: bold;
}
#footer_logo img{
	border: 0;
}

#footer_copy{
	position: absolute;
	top: 46px;
	right: 0px;
	font-size: 12px;
	line-height: 18px;
	color: #999999;
	font-weight: bold;
	text-align: right;
}

#footer_copy a:link,#footer_copy a:visited{
	text-decoration: none;
	color: #999999;
	height: 14px;
	padding-left: 18px;
	background: url(http://www.miyashakyo.jp/images/footer_link.gif) no-repeat 0 1px;
	margin-left: 4px;
}
#footer_copy a:hover{
	text-decoration: underline;
	color: #ff9900;
	background: url(http://www.miyashakyo.jp/images/footer_link2.gif) no-repeat 0 1px;
}
/*===END SECTION 3===*/

/*===START SECTION 4 - style for menu, page links in the header===*/
/*
#menu{
	padding: 0;
	white-space: nowrap;
	margin: 20px 0 0 0;
	width: 750px;
}
#menu ul {
	margin: 0px;
	padding: 0px;
}
#menu li {
	display: inline;
	list-style-type: none;
	margin: 0 10px 0 0;
}
#menu li a:link, #menu li a:visited {
	text-decoration: none;
	padding: 3px;
}
#menu li a:hover {
	text-decoration: underline;
}
*/
/*===END SECTION 4===*/

/*===START SECTION 5 - sidebar links===*/
#sidebar_back{
	background: url(http://www.miyashakyo.jp/images/sidebar_menu_back.jpg) repeat-y;
	font-size: 14px;
}

#sidebar_back ul {
	margin: 0px;
	margin-left: 10px;
	padding: 0px;
	list-style-type: none;
}
#sidebar_back li {
	margin: 0px;
	padding: 0px;
	background: url(http://www.miyashakyo.jp/images/sidebar_menu_line.gif) no-repeat 0 bottom;
	padding-left: 0px;
	padding-top: 10px;
	padding-bottom: 10px;
}
#sidebar_back a:link, #sidebar_back a:visited {
	text-decoration: none;
	font-weight: bold;
	padding-left: 12px;
	background: url(http://www.miyashakyo.jp/images/sidebar_menu_mark.gif) no-repeat 0 5px;
	color: #333333;
	font-size: 15px;
}
#sidebar_back a:hover {
	color: #ff9900;
	background: url(http://www.miyashakyo.jp/images/sidebar_menu_mark2.gif) no-repeat 0 5px;
}
#sidebar_banner img{
	border:0;
	margin-bottom: 10px;
}


/*===END SECTION 5===*/

/*===START SECTION 6 - style the headings===*/
#header div#headertitle{
	width: 310px;
	height: 40px;
	position: absolute;
	left: 0px;
	top:  34px;
}
#header div#headertitle h1{
	width: 310px;
	height: 40px;
	font-size:100%;
	margin: 0;
	padding: 0;
}
#header div#headertitle a{
	width: 310px;
	height: 40px;
	border: 0;
	background: url(http://www.miyashakyo.jp/images/tilte.jpg) no-repeat 0 0;
	text-indent: -2000px;
	display: block;
}
/*
#content h1 {
	font-size: 1.5em;
}
#sidebar h1 {
	font-size: 1.4em;
}
#sidebar h2 {
	font-size: 1.1em;
}
.post h2 {
	font-size: 1.8em;
	margin: 45px 0 10px 0;
	padding: 0;
}
.post h3 {
  font-size: 1.8em;
  margin: 0;
  padding: 0;
}
*/
/*=  search  =*/
#header div#search{
	width: 219px;
	height: 27px;
	vertical-align: top;
	margin-top: 3px;
	position: absolute;
	top: 0px;
	left: 680px;
	background: url(http://www.miyashakyo.jp/images/header_search_back.gif) no-repeat 0 0;
}
div#search img{
	border: 0px;
	vertical-align: top;
	margin-left: 10px;
}
div#search input{
	width: 138px;
	height: 17px;
	border: 0;
	margin-left: 3px;
}
/*\*//*/
	div#search input{
	}
/**/
div#search button {
	width: 35px;
	height: 20px;
	border: 0;
	background: url(http://www.miyashakyo.jp/images/header_search_button.gif) no-repeat 0 0;
	text-indent: -2000px;
	cursor: pointer;
	margin-left: 3px;
	display:inline;
}
/*\*//*/
	div#search button {
		letter-spacing: -9999px;
	}
/**/
#header div#headerlink{
	position: absolute;
	right: 0px;
	top: 60px;
}
#header div#headerlink a{
	width: auto;
	font-size: 14px;
	font-weight: bold;
	padding-left: 16px;
	margin-left: 5px;
	background: url(http://www.miyashakyo.jp/images/header_linkmark.gif) no-repeat left center;
}
#header div#headerlink a:link,#header div#headerlink a:visited{
	color: #ff9900;
	text-decoration: none;
}
#header div#headerlink a:hover{
	color: #ffcc00;
	top: 58px;
	font-size: 16px;
	padding-left: 20px;
	text-decoration: underline;
	background: url(http://www.miyashakyo.jp/images/header_linkmark2.gif) no-repeat left center;
}
#header div#headerlink a:active{
	color: #ffff00;
}
/*===END SECTION 6===*/

/*===START SECTION 7 - style the post date===*/
/*===END SECTION 7===*/

/*===START SECTION 8 - comment form and comments===*/
#respond p {
	font-size: .9em;
}
#commentform input {
	
}
#commentform textarea {
	
}
#commentform {	
	padding: 10px;
}
li.author {
	padding: 5px;
}
ol.commentlist {
	list-style-type: none;
	margin: 0px;
	padding: 0px;
}
ol.commentlist li {
	margin: 15px 0 0 0;
}
#content ol.commentlist li a {
	text-decoration: underline;
}
/*===END SECTION 8===*/

/*===START SECTION 9 - oh you're so fancy with those blockquotes....===*/
blockquote {
  font: 1.2em/1.6em Georgia, "Times New Roman", Times, serif;
  width: 345px;
  background: url(images/blockquote1.png) no-repeat right bottom;
  padding: 0 10px 0 30px;
  text-indent: -30px;
	display: inline;
}
blockquote p:first-letter {
  background: url(images/blockquote2.png) no-repeat left center;
  padding: 0 0 0 30px;
  font: italic 1.7em Georgia, "Times New Roman", Times, serif;
}
/*===END SECTION 9===*/

/*===START SECTION 10 - images when inserted into a post.===*/
.alignleft {
  float: left;
}
.alignright {
  float: right;
}
img.aligncenter, div.aligncenter {
	display: block;
	margin: 0 auto;
}
img.alignright, div.alignright {
	margin: 1px 0 2px 10px;
	display: inline;
}
img.alignleft, div.alignleft {
	margin: 1px 10px 2px 0;
	display: inline;
}
.wp-caption-text {
  font-size: .7em;
  line-height: 1.1em;
  margin: 0;
}
/*===END SECTION 10===*/

/*===START SECTION 11 - Misc. and Preventatives===*/
a.image:link, a.image:visited, a.image:hover {
	background: none;
	padding: 0;
}
a.image img {
	border: none;
}
/*===END SECTION 11===*/
#pankuzu{
	color: #999999;
	height: auto;
	margin-bottom: 4px;
}
#pankuzu a:link,#pankuzu a:visited{
	color: #000099;
}
#pankuzu a:hover{
	color: #ff9900;
}

h3.post_title{
	display: block;
	width: 680px;
	margin-top: 8px;
	background-image: url(http://www.miyashakyo.jp/images/post_title_back.gif);
	background-repeat: no-repeat;
	background-position: 0 bottom;
	font-weight: bold;
}
h3.post_title span.post_title_pack{
	padding-right: 2px;
	background-color: #ffffff;
}
h3.post_title a:link,h3.post_title a:visited{
	color: #ff6600;
	text-decoration: none;
}
h3.post_title a:hover{
	color: #ffcc66;
	text-decoration: underline;
}
h3.post_title span.post_title_date{
	display: block;
	float: right;
	
	font-family: sans-serif;
	margin-top: -18px;
	font-weight: normal;
	font-size:  12px;
	color: #666666;
}
/* profile_title patch */
h3.post_title_profile{
	display: block;
	font-weight: bold;
	border: 1px solid #cccccc;
	border-left: 4px solid #ff6600;
}
h3.post_title_profile span{
	display: block;
	padding-top: 5px;
	padding-left: 8px;
	padding-bottom: 5px;
	background-color: #ffffff;
}
h3.post_title_profile a:link,h3.post_title_profile a:visited{
	color: #ff6600;
	text-decoration: none;
}
h3.post_title_profile a:hover{
	color: #ffcc66;
	text-decoration: underline;
}


h2#category_title{
	margin: 0px;
}
.entry-text img{
	border: 5px solid #dddddd;
	margin: 5px;
}

/*---------------------
         INQ
---------------------*/
table#inq input.input_inq,
table#inq input.wpcf7-validates-as-required,
textarea.wpcf7-validates-as-required {
border: 5px solid #d6d6d6;
width: 300px;
padding: 10px;
font-weight: normal;
color: #555;
font-size: 95%; /* Resets 1em to 10px */
}
table#inq input {
width: 300px;
padding: 10px;
font-weight: bold;
color: #555;
}

.sred {
color: #c00;
}
/* hide from Mac IE \*/ 
* html input.input_inq { height:40px; } 
* html input.wpcf7-validates-as-required { height:40px; } 
/* */ 

/*---------------------
    access_counter
---------------------*/
div#access_counter{
	font-family: 'Arial Black', Helvetica, sans-serif;
	color: #333333;
}
div#access_counter span{
	width: 100%;
	border-bottom: 2px solid #9999ff;
	color: #9999ff;
}
div#access_counter ul{
	width: 100%;
	margin: 0px;
	padding: 0px;
}
div#access_counter li{
	width: 100%;
	margin: 0px;
	padding: 0px;
	padding-top: 4px;
	border-bottom: 1px dotted #cccccc;
	text-align: right;
}

/*---------------------
        sitemap
---------------------*/
div#sitemap{
	font-size:90%;
}
div#sitemap h2{
	font-size:100%;
	border-bottom:2px dotted #cccccc;
}

div#sitemap dl{
	margin-left: 30px;
}
div#sitemap dt{
	margin-top: 16px;
	padding-left: 24px;
	padding-bottom: 2px;
	background-image:url(http://www.miyashakyo.jp/images/footer_link.gif);
	background-position:0px 6px;
	background-repeat:no-repeat;
	border-bottom:2px dotted #cccccc;
	font-weight:bold;
}
div#sitemap dd{
	padding-left: 16px;
	padding-bottom: 2px;
	background-image:url(http://www.miyashakyo.jp/images/sidebar_menu_mark.gif);
	background-position:0px 8px;
	background-repeat:no-repeat;
}
div#sitemap a:link{
	color:#333333;
}
div#sitemap a:visited{
	color:#993300;
}
div#sitemap a:active{
	margin: 24px;
}
div#sitemap a:hover{
	color:#FF9900;
}