@charset "utf-8";
/*
Theme Name:  京はやしや
Theme URI: http://www.kyo-hayashiya.com/
*/

/************************************************************
	Reset default browser CSS.
*************************************************************/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { border: 0; font-family: inherit; font-size: 100%; font-style: inherit; font-weight: inherit; outline: 0; vertical-align: baseline; margin: 0; padding: 0;}
:focus { outline: 0;}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block;}
ol, ul { list-style: none;}
table { border-collapse: collapse;border-spacing: 0;}
caption, th, td { font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after { content: "";}
blockquote, q { quotes: "" "";}
a img { border: 0;}
html{
	font-size: 62.5%; /*10px*/
}
body{
	background :#fff;
	color: #333;
	font-family: "游明朝",YuMincho,"ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","メイリオ",Meiryo,Arial,Helvetica,sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
	word-wrap: break-word;
	/* http://keagelog.blogspot.jp/2013/03/text-size-adjust.html */
	/*-moz-text-size-adjust: none;
	-ms-text-size-adjust: 100%;*/
	-webkit-text-size-adjust: 100%;
	/*text-size-adjust: 100%;*/
}
@media only screen and (max-width: 767px){
	body{
		font-size: 1.5rem;
		line-height: 2.5rem;
	}
}
*html{ background: #fff;}


/************************************************************
	Clearfix
*************************************************************/
#wrapper:after { content:""; display: table; clear: both;}
#wrapper { zoom: 1;}
.clearfix:after { content: " "; display: block; clear: both; height: 0; visibility: hidden;}
.clearfix { display: inline-table; min-height: 1%;}
* html .clearfix { height: 1%;}
.clearfix { display: block;}


/************************************************************
	Font Awesome
*************************************************************/
.famr:before {
	margin-right: 1rem;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.faml:after {
	margin-left: 0.2rem;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.fanm:before {
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}


/************************************************************
	Link
*************************************************************/
a {
	margin: 0;
	padding: 0;
	outline: 0;
	vertical-align: baseline;
	background: transparent;
	color: #333;
	/*font-size: 90%;*/
	text-decoration: none;
}
a:hover,
a:active {
	outline: none;
	color: #666;
	text-decoration: none;

}
a:hover img:not(.op) {
	opacity: 0.75;
	filter: alpha(opacity=75);
	-moz-opacity:0.75;
	-ms-filter: "alpha( opacity=75 )";
	-moz-transition: 0.5s ease-in-out;
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
    -webkit-backface-visibility: hidden; /* 追加 */
    backface-visibility: hidden; /* 追加 */
	/* Firefox Bug */
	background: #FFF;
	/* IE8 Bug */
	display /*\**/:inline-block\9;
	zoom /*\**/: 1\9;
}
a.tel {
	text-decoration:none;
}

/************************************************************
	Link Button
*************************************************************/
.linkBtnMin {
	margin:0!important;
	position:absolute;
	top:0;
	right:0;
}
	.linkBtnMin a {
		border-radius:0.5rem;
		box-sizing: border-box;
		display: inline-block;
		font-size: 1.4rem;
		font-weight: bold;
		letter-spacing: 0.5rem;
		padding: 1rem;
		text-align: center;
		text-decoration: none;
	}
	.linkBtnMin.small a {
		width:300px;
		padding: 1.5rem 2rem;
	}
		/*.linkBtnMin a:before {
			margin-right: 1rem;
			font-size: 2.5rem;
			font-family: FontAwesome;
			font-style: normal;
			font-weight: normal;
			line-height: 1;
			-webkit-font-smoothing: antialiased;
			-moz-osx-font-smoothing: grayscale;
			content: "\f0a9";
		}
		.linkBtnMin a:hover {
			opacity: 0.75;
			filter: alpha(opacity=75);
			-moz-opacity:0.75;
			-ms-filter: "alpha( opacity=75 )";
			-moz-transition: 0.5s ease-in-out;
			-webkit-transition: 0.5s ease-in-out;
			transition: 0.5s ease-in-out;
		}*/
	@media only screen and (max-width: 767px){
		.linkBtnMin {
			position: static;
		}
		.linkBtnMin a {
			background: #9cc479 none repeat scroll 0 0;
			color: #fff;
			font-size: 100%;
			margin: 0 auto 2rem;
			max-width: 300px;
			padding: 1rem;
			width: 80%;
		}
	}
/************************************************************
	タイポグラフィ
*************************************************************/
h1 {
    font-size: 3.7rem;
    letter-spacing: 0.4rem;
    line-height: 3.7rem;
    margin: 5rem 0 8rem;
    text-align: center;
	font-family: "游明朝",YuMincho,"ヒラギノ明朝 ProN W3","Hiragino Mincho ProN","HG明朝E",Arial,Helvetica,sans-serif;
}
h1 > span {
    color: #999;
    display: block;
    font-family: "Old Standard TT",serif;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0.2rem;
}
h2 {
    font-size: 2.5rem;
    letter-spacing: 0.4rem;
    line-height: 4rem;
    margin-bottom: 4rem;
    text-align: center;
}
h2.gothic {
    font-size: 3rem;
	line-height: 1.6;
	font-family: "游ゴシック","Yu Gothic","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Arial,Helvetica,sans-serif;
}
h2 > span {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 0.3rem;
    margin-bottom: 0.5rem;
    text-align: center;
}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
	}
	@media only screen and (max-width: 767px){
		h1 {
			font-size: 2.7rem;
			line-height: 2.7rem;
			margin-bottom: 3rem;
		}
		h2 {
			line-height:4rem;
			font-size: 2.5rem;
			margin-bottom: 2rem;
		}
			h2 > span {
				display:block;
			}
		h2.gothic {
			font-size: 2rem;
		}
		h3 {
			margin-bottom: 1.5rem;
		}
	}

/************************************************************
	基本レイアウト
*************************************************************/
#wrapper {
	width: 100%;
	margin-bottom: 6rem;
}
	.inner {
		width: 1000px;
		margin: 0 auto;
	}
	#blog-content {
		float: left;
		width: 700px;
	}
		.entry-content {
			width: 100%;
			margin: 0 auto 2em auto;
		}
#blog-sidebar {
	float: right;
	width: 230px;
}
footer {
	clear: both;
}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
		.inner {
			width: 97%;
		}
		#blog-content{
			width: 73%;
		}
		#blog-sidebar{
			width: 20%;
		}
	}
	@media only screen and (max-width: 767px){
		.inner {
			width: 95%;
		}
		#blog-content {
			width: 100%;
			float: none;
			clear: both;
			margin: 0 auto 4rem;
		}
		#blog-sidebar {
			width: 100%;
			float: none;
			clear: both;
			margin: 0 auto;
		}
	}
	@media only print { /* 印刷用設定 */
		footer {
			width: 980px !important;
			margin: 1em auto 0 auto !important;
			background: #9ECE3C;
		}
	}


/************************************************************
	header
*************************************************************/
header#main {
    box-sizing: border-box;
	padding: 3rem 0 0;
    width: 100%;
}
header#main > a {
    display: block;
    margin: 0 auto;
    width: 202px;
}
header#main > a > img {
	display:block;
	margin:0 auto;
}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
		header#main {
			background-size: 40% auto;
		}
	}

	@media only screen and (max-width: 767px){
		header#main {
			background-image: none;
			padding: 2rem 0;
		}
		header#main > a > img {
			display: block;
			margin: 0 auto;
			max-width: 202px;
			width: 60%;
		}
	}
/************************************************************
	ヘッダー追従
*************************************************************/
.fixed {
    position: fixed;
    top: 0;
    z-index: 100;
}

/************************************************************
	ソーシャルサービス
*************************************************************/

	/* ON-OFF
	--------------------------------------------------------*/
	@media only screen and (min-width: 768px){
		.desktop {
			display: block;
		}
		.mobile {
			display: none;
		}
	}
	@media only screen and (max-width: 767px){
		.desktop {
			display: none;
		}
		.mobile {
			display: block;
		}
	}

	/* Google Map
	--------------------------------------------------------*/
	.google-maps {
		position: relative;
		padding-bottom: 43%;
		height: 0;
		overflow: hidden;
	}
	.google-maps iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100% !important;
		height: 100% !important;
	}


/************************************************************
	サイドバー
*************************************************************/
#blog-sidebar aside {
	margin-bottom: 15px;margin-bottom: 1.5rem;
}
	#blog-sidebar aside > h2 {
		background-color: #f7f7f2;
		font-size: 1.6rem;
		line-height: 2.2;
		margin: 0 0 1rem;
	}
	@media only screen and (max-width: 767px){
		#blog-sidebar > aside > h2 {
			font-size:100%;
		}
	}

	/* 記事一覧
	------------------------------------------------------------*/
	#blog-sidebar aside ul.sideInfo {
	}
		#blog-sidebar aside ul.sideInfo li {
			margin-bottom: 7px;
		}
		#blog-sidebar aside ul.sideInfo li:last-of-type {
			border-bottom: none !important;
		}
			#blog-sidebar aside ul.sideInfo li time,
			#blog-sidebar aside ul.sideInfo li span {
				display: block;
			}
			#blog-sidebar aside ul.sideInfo li h2 {
				line-height: 1.4;
			}
	

/************************************************************
	サイドバー　ブログ用
*************************************************************/
 
#cat-list {
    margin: 10px 10px 20px;
}
#cat-list li {
    font-size: 12px;
	line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 1rem;
    text-indent: -1rem;
}
#cat-list li:before {
	margin-right: 10px;margin-right: 1rem;
	float: left;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\f101";
}
#cat-list li a {
    color: #333;
}
#cat-list li ul li {
    margin-bottom: 0;
	font-size:11px;
}
#cat-list li ul li:before {
	color: #aaa;
	content: "└";
}
#cat-list li ul li:last-of-type {
    margin-bottom: 10px;
}
#topic-list {
    margin: 10px;
}
#topic-list li {
    border-bottom: 1px dotted #abb786;
    font-size: 12px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
#topic-list li a {
    color: #3f2606;
}
#topic-list .archiveLeft {
    float: left;
}
#topic-list .archiveLeft img {
    border: 1px solid #fff;
    margin: 1px;
    outline: 1px solid #ccc;
}
#topic-list .archiveRight {
    float: right;
    font-size: 100% !important;
    line-height: 1.3em;
    width: 130px;
}
#topic-list .archiveRight a:link {
    color: #333;
    text-decoration: none;
}
#topic-list .archiveRight a:visited {
    color: #333;
    text-decoration: none;
}
#topic-list .archiveRight a:hover {
    color: #333;
    text-decoration: none;
}
#topic-list .archiveRight a:active {
    color: #333;
    text-decoration: none;
}
#topic-list .archiveDay {
    color: #3f2606;
    font-size: 93% !important;
    font-weight: bold;
	display:block;
}
#topic-list .archiveTitle {
    color: #333;
    padding-left: 1rem;
    text-indent: -1.2rem;
	display:block;
}
#topic-list .archiveTitle:before {
	margin-right: 5px;margin-right: 0.5rem;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	content: "\f101";
}
	@media only screen and (min-width: 768px) and (max-width: 999px) {
		#topic-list .archiveLeft img {
			display: block;
			margin: 0.5rem auto;
			width: 70%;
		}
		#topic-list .archiveRight {
			display: block;
			float: right;
			font-size: 100% !important;
			line-height: 1.3em;
			margin: 0 auto;
			width: 90%;
		}
	}
	@media only screen and (max-width: 767px){
		#topic-list .archiveLeft img {
			width: 120px;
			margin-right:2rem;
		}
		#topic-list .archiveRight {
			display: table-cell;
			float: none;
			font-size: 100% !important;
			height: 80px;
			vertical-align: middle;
			width: auto;
		}
	}

/************************************************************
	投稿一覧
*************************************************************/

	/* 共通
	--------------------------------------------------------*/
	.postList {
	}
		.postList > ul {
		}
			.postList > ul > li {
				margin-bottom: 1em;
				padding-bottom: 1em;
				border-bottom: 1px dotted #CCC;
			}
				.postList > ul > li:last-of-type {
					border-bottom: none !important;
				}
				.postList > ul > li.nopost {
					font-size: 100%;
					color: #999;
				}
				.postList > ul > li h1 {
					font-size: 2rem;
					letter-spacing: 0.4rem;
					line-height: 1.2;
					margin: 1rem 0;
					text-align: left;
				}

	/* テキスト
	--------------------------------------------------------*/
	.postList ul.txtList {
	}
		.postList ul.txtList li {
		}
			.postList ul.txtList li time {
				display: block;
				margin-bottom: 0.3em;
			}
			.postList ul.txtList li h2 {
				font-size: 115%;
				line-height: 1.4;
			}
		@media only screen and (max-width: 767px){
			.postList ul.txtList li time {
				font-size: 90%;
			}
			.postList ul.txtList li h2 {
				font-size: 100%;
			}
		}

	/* サムネイル
	---------------------------------------------------------- */
	.postList ul.thumbList {
	}

		.postList ul.thumbList li dl dt {
			float: left;
			width: 32%;
		}
			.postList ul.thumbList li dl dt img {
				max-width: 320px;
				height: auto;
				width: 100%;
				/* Firefox 品質重視(https://developer.mozilla.org/ja/docs/Web/CSS/image-rendering) */
				image-rendering: optimizeQuality;
			}
		.postList ul.thumbList li dl dd {
			float: right;
			width: 65%;
		}
			.postList ul.thumbList li dl dd time {
				color: #666;
				display: block;
				font-size: 1.2rem;
				margin-bottom: 0.3em;
			}
			.postList ul.thumbList li dl dd h2 {
				margin-bottom: 0.4em;
				font-size: 115%;
				line-height: 1.4;
			}
			.postList ul.thumbList li dl dd span {
				display: block;
				line-height: 1.6;
			}
		@media only screen and (max-width: 767px){
			.postList ul.thumbList li dl dd time {
				font-size: 90%;
			}
			.postList ul.thumbList li dl dd h2 {
				font-size: 100%;
			}
		}


/************************************************************
	投稿 (single.php)
*************************************************************/
article > header {
	margin-bottom: 1em;
	padding-bottom: 0.5em;
	border-bottom: 2px solid #7CA529;
}
article > header > time {
	display: block;
	text-align: right;
}
article > header > h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}
.entry-content  table {
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 1em;
}
	.entry-content  table th {
		padding: 0.5em 1em;
		border: 1px solid #9ECE3C;
		background: #7CA529;
		font-weight: bold;
		color: #fff;
	}
	.entry-content  table td {
		padding: 0.5em 1em;
		border: 1px solid #9ECE3C;
		background: #fff;
	}

.entry-content p {
	margin-bottom: 1rem;
    font-size: 1.6rem;
    line-height: 1.8;
}
.entry-content img {
	/*max-width: 100%;*/
	max-width: 400px;
	height: auto;
	width: auto; /* for ie8 */
	display: block;
	/*margin: auto;*/
	margin: 1em 0;
}

/* WordPress Default Setting */
.aligncenter,
div.aligncenter {
   margin-left: auto !important;
   margin-right: auto !important;
}
.alignleft {
   float: left;
}
.alignright {
   float: right;
}

@media only screen and (max-width: 767px){
	.entry-content p {
		font-size: 1.6rem;
		line-height: 1.6;
	}
}

@media only screen and (max-width: 599px){
}



/************************************************************
	 Extensions
*************************************************************/

	/* パンくず＋ソーシャルボタン（横並び）
	--------------------------------------------------------*/
	div#bcsb {
		margin: 0 auto;
		width: 1000px;
	}
		@media only screen and (max-width: 999px) {
			div#bcsb {
				width: 100%;
			}
		}
		@media only screen and (min-width: 768px) and (max-width: 999px) {
		}
		@media only screen and (max-width: 767px){
		}

		/* パンくず (Yoast WordPress SEO: Internal Links)
		--------------------------------------------------------*/
		p#breadcrumbs {
		}
			@media only screen and (max-width: 600px){
				p#breadcrumbs {
					font-size: 90%;
					/*width: 95%;*/
				}
			}
	
		/* Social Button
		--------------------------------------------------------*/
		div.sbver {
			margin-bottom: 1.5em;
		}
			div#bcsb > div.sbver {
				margin-bottom: 0 !important;
			}

		div.sbver li {
			list-style-type: none;
			float: right;
			margin-left: 0.5em;
		}
	
			@media only screen and (max-width: 600px){
				div.sbver {
					margin-bottom: 1em;
				}
			}

	
	/* WP-Page Navi
	------------------------------------------------------------*/
	.wp-pagenavi {
		margin-bottom: 2em;
		font-size: 90%;
	}
		@media only screen and (max-width: 767px){
			.wp-pagenavi {
				margin-bottom: 2.5em;
				font-size: 100%;
			}
		}
	.wp-pagenavi a,
	.wp-pagenavi a:link {
		margin: 3px 4px;
		padding: 1px 5px 1px 5px;
		/*background-color: #e7e8e3;*/
		border: 1px solid #9ECE3C;
		color: #333;
		text-decoration: none;
	}
	 
	.wp-pagenavi a:visited {
		margin: 3px 4px;
		padding: 1px 5px 1px 5px;
		/*background-color: #e7e8e3;*/
		border: 1px solid #9ECE3C;
		color: #333;
		text-decoration: none;
	}
	 
	.wp-pagenavi a:hover {
		background-color: #7CA529;
		border: 1px solid #7CA529!important;
		color: #fff;
	}
	 
	.wp-pagenavi a:active {
		margin: 3px 4px;
		padding: 1px 5px 1px 5px;
		/*background-color: #e7e8e3;*/
		border: 1px solid #9ECE3C;
		color: #333;
		text-decoration: none;
	}
	/* 現在ページ */
	.wp-pagenavi span.current {
		margin: 3px 4px;
		padding: 1px 5px 1px 5px;
		border: 1px solid #7ca529!important;
		color: #fff;
		background-color: #7CA529;
	}
	/* 先頭,最後 */
	.wp-pagenavi a.previouspostslink,
	.wp-pagenavi a.nextpostslink {
	}
	/* Page x/x */
	.wp-pagenavi span.pages {
		margin: 3px 4px 3px 0;
		padding: 1px 5px 1px 5px;
		color: #333;
		border: 1px solid #9ECE3C;
		/*background-color: #e7e8e3;*/
	}
	/* 省略(...) */
	.wp-pagenavi span.extend {
		margin: 3px 4px;
		padding: 1px 5px 1px 5px;
		/*background-color: #e7e8e3;*/
		border: 1px solid #9ECE3C;
		color: #333;
	}
	
	/* Page navigation (prev/next)
	------------------------------------------------------------*/
	article > #prev_next {
		margin-top: 20px;
		font-size: 90%;
		text-align: center;
	}
	article > #prev_next a {
		padding: 0 20px;
	}
		@media only screen and (max-width: 767px){
			article > #prev_next {
				font-size: 100%;
			}
		}
	
/************************************************************
	フォーム
*************************************************************/
input[type="text"],
textarea {
	max-width: 90%;
	padding: 0.25rem;
	font-size: 100%;
	vertical-align: middle;
}
textarea {
	height: auto;
	line-height: 1.5;
}
select {
	max-width: 90%;

}
input[type="submit"],
input[type="reset"],
input[type="button"] {
	padding: 0.2rem 0.5rem;
	background: #999;
	border: 0;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
	border-radius: 5px;
	font-size: 90%;
	color:#fff;
}
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
	/*background: #000;*/
	cursor:pointer;
}
*:first-child+html input[type="submit"]{ padding:3px;}

/* iPhone独自スタイル（グラデーション, 角丸）を解除 */
input[type="submit"] {
  -webkit-appearance: none;
}
/************************************************************
	PC/SP切替
*************************************************************/
.pc {
	display:block;
}
.sp {
	display: none;
}
	@media only screen and (max-width: 767px){
		.pc {
			display: none;
		}
		.sp {
			display:block;
		}
	}
