html, body {
	background-color:#fff;
	color:#2e2e2e;
}
.wrapper {
	background:none;
}

a {
	color:#f5a434;
}

#header {
	position:relative;
}
#header .container {
	padding-bottom:30px;
	border-bottom:5px solid #f39800;
}

#header_logo h1 {
	margin-bottom:20px;
}

#main {
	padding-top:0;
}

.blog_container {
	width:1040px;
}

#main #blog_wrapper {
}
#main #article_inner {
	display:flex;
	padding-top:20px;
	padding-bottom:50px;
}

#blog_main {
	flex:1;
}

#blog_sidebar {
	width:300px;
	margin-left:100px;
}
#blog_sidebar .sd_blog_section {
	margin-bottom:50px;
}

#blog_sidebar #blog_cat ul {
	border-bottom:1px solid #e6e6e6;
}
#blog_sidebar #blog_cat li {
	border-top:1px solid #e6e6e6;
}
#blog_sidebar #blog_cat a {
	display:block;
	padding:5px 5px 5px 0;
	font-size:.95em;
}

#blog_sidebar .sd_title {
	padding:5px;
	border-top:1px solid #2e2e2e;
	border-bottom:1px solid #2e2e2e;
	margin-bottom:20px;
}
#blog_sidebar #sd_archive li {
	margin:5px;
	font-size:.9em;
}
#blog_sidebar #sd_archive .cat_name a {
	margin-bottom: 5px;
}


.blog_article {
/*	margin-bottom:80px; */
	margin-bottom:30px;
}

.half_article_wrap {
/*	display:flex; */
/*	justify-content:space-between; */
/*	flex-wrap:wrap; */
}
.half_article {
/*	width:300px; */
	border-top:1px solid #f0f0f0;
	padding:10px 0;
	margin-bottom:0;
}

.entry-header {
	margin-bottom:25px;
}

.post_content .imageblock,
.entry-eyecatch {
	text-align:center;
	margin-bottom:45px;
	width:640px;
	height:360px;
	overflow:hidden;
	position:relative;
}
.post_content .imageblock img,
.entry-eyecatch img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	height: auto;
}
.eyecatch-top img {
	top: 0;
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
.eyecatch-bottom img {
	top: auto;
	bottom:0;
	-webkit-transform: translate(-50%, 0);
	-moz-transform: translate(-50%, 0);
	-ms-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
.post_content img {
/*	margin-top:30px;*/
/*	margin-bottom:30px;*/
	vertical-align:top;
}

.post_content p {
	overflow:hidden;
/*	padding-bottom:7px;*/
}
.post_content img.alignleft {
	float:left;
}
.post_content img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.post_content img.alignright {
	float:right;
}

.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6 {
/*	font-size:1.4em;*/
	font-size:21px;
	font-weight:bold;
	margin:10px 0;
	padding-left:10px;
}
.post_content h1,
.post_content h2 {
	font-size:21px;
	border-top: 2px solid #f5a434;
	border-left: 3px solid #f5a434;
}
.post_content h3 {
	font-size:19px;
	border-left: 3px solid #f5a434;
	padding-left:10px;
}
.post_content h4,
.post_content h5,
.post_content h6 {
	font-size:17px;
	border-bottom: 1px solid #f5a434;
}


.post_content ul,
.post_content ol {
	padding-left:1.5em;
	margin:0;
}
.post_content ul {
	list-style-type:disc;
}
.post_content em {
	font-style: italic;
}
.post_content a {
	color:#f5a434;
	text-decoration:underline;
}

.post_content #table_of_contents {
	background: #f7f7f7;
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 1em;
	font-size:.85em;
	display: none;
}
.post_content #table_of_contents.show {
	display: block;
}
.post_content #table_of_contents .table_of_contents_ttl {
	font-weight:bold;
	font-size:1.1em;
	text-align:center;
	margin-bottom:10px;
}
.post_content #table_of_contents a {
	color:#777;
	text-decoration:none;
}
.post_content #table_of_contents a:hover {
	text-decoration:underline;
}


.post_content blockquote{
	margin: 0;
	padding: 30px;
	border: 1px solid #ddd;
	background: #efefef;
	color: #444;
	position:relative;
	font-size:.9em;
}
 
.post_content blockquote:before{
	content: "“"; /* FontAwesomeの引用符（終点） */
	font-size:40px;
	line-height:1;
	color:#fdfdfd;
	position:absolute;
	left:10px;
	top:10px;
}
 
.post_content blockquote:after{
	content: "”"; /* FontAwesomeの引用符（始点） */
	font-size:40px;
	line-height:1;
	color:#fdfdfd;
	position:absolute;
	right:10px;
	bottom:-15px;
}
 
.post_content blockquote p{
	padding:0 0 7px;
}




#blog_sidebar .entry-eyecatch {
	width:100%;
	height:150px;
}
.half_article_wrap .entry-eyecatch {
	width:150px;
	height:75px;
	float:left;
	margin-right:10px;
	margin-bottom:0;
}
.half_article_wrap .entry-title {
	font-size: 1.2em;
	margin-bottom:5px;
}
.half_article_wrap .cat_date {
	margin-bottom: 10px;
}
.half_article_wrap .entry-header {
	margin-bottom:0;
}
.cat_name {
	line-height:1;
	float:left;
}
.post_date {
	float:right;
}

.cat_name a {
	display:inline-block;
	background-color:#f5a434;
	color:#fff;
	font-size:12px;
	font-weight:bold;
	white-space: nowrap;
	padding:5px;
	border-radius:4px;
}
.entry-title {
/*	font-size:1.55em;*/
	font-size:20px;
	line-height: 1.4;
	font-weight:bold;
}
.entry-title a {
	color:#2e2e2e;
	font-weight:bold;
/*	font-size: .8em;*/
}

.post_date {
	text-align:right;
	font-size:12px;
	line-height:22px;
	color:#c3c3c3;
}

.post_content {
	line-height:1.8;
	font-size:.95em;
}

.more-link-wrap {
	display:block;
	text-align:right;
	font-size:.9em;
}

.entry-footer {
	margin-top:20px;
}

.entry_meta {
	font-size:.7em;
	margin-bottom:10px;
}
.entry_meta a {
	color:#2e2e2e;
}
.entry_meta a:hover {
	text-decoration:underline;
}

.social_buttons {
	display:flex;
}
.social_buttons div:first-child{
	margin-right:10px;
}

.social_buttons .twitter_btn{
  width: 68px;
}

.social_buttons .arrow_box {
	position: relative;
	background: #fff;
	border: 1px solid #ccc;
	text-align: center;
	font-size: 10px;
	height: 20px;
	width: 100%;
	line-height: 20px;
	display: block;
	text-decoration: none;
	color: #2e2e2e;
	border-radius: 3px;
	font-family: "Hiragino Kaku Gothic ProN",Meiryo,sans-serif;
}




.sd_article {
	padding-bottom:20px;
	border-bottom:1px solid #e6e6e6;
	margin-bottom:30px;
}
#sd_recommend .sd_article:last-child {
	border-bottom:none;
}

.sd_article .entry-eyecatch {
	margin-bottom:10px;
}
.sd_article .entry-title {
	font-size:1em;
	line-height:1.4;
}


.nav-toggleBlog {
	top:22px;
}
.nav-toggleBlog span {
	background-color:#2e2e2e;
}

.spNavi {
	margin-top:94px;
    height: -webkit-calc(100% - 94px);
    height: -moz-calc(100% - 94px);
    height: calc(100% - 94px);
}
#spNavi {
	background-color:#fff;
}
#spNavi dt, #spNavi a {
	color:#f5a434;
	border-color:#e6e6e6;
}
.author_area {
	margin-top:40px;
}
.author_area .author_tab span {
	color:#fff;
	display:inline-block;
	background:#4F5D73 url(../img/ic_profile.png) no-repeat 5px 8px;
	padding:5px 10px 5px 22px;
	font-size:.8em;
}
.author_area .author_main {
	border: 1px solid #cfd1c9;
	padding: 12px;
	background: #f6f5ec;
	min-height: 80px;
	overflow: hidden;
}
.author_area .author_main .avatar {
	display: block;
	float: left;
	width: 80px;
}
.author_area .author_main .avatar .author_img img {
	width:80px;
}
.author_area .author_main .avatar .social_link {
	margin: 5px 0 0;
	text-align: center;
}
.author_area .author_main .author_text {
	margin-left: 96px;
	line-height: 1.5;
	font-size: .75em;
	color: #333;
}
.author_area .author_main .author_text .author_name {
	font-size:1.2em;
	line-height: 1;
	font-weight:bold;
	margin: 0 0 3px;
	padding: 0;
}
.author_area .author_main .author_text .author_name2 {
	margin: 0 0 10px;
}

#comments {
	margin-top:60px;
	font-size:.8em;
}
#comments .comments-title,
#comments #reply-title {
	font-weight:bold;
}
#comments .comment-notes {
	margin:20px 0;
}
#comments #email-notes {
	display:block;
}
#comments .comment-list {
	margin-bottom:40px;
	padding-left: 20px;
}
#comments .children {
	padding-left: 20px;
}
#comments .comment-content a {
	text-decoration:underline;
}
#comments .reply a:before {
	content:"> ";
}

#comments .required {
	font-weight:bold;
	color:red;
}
#commentform p {
	margin-bottom:5px;
}
#comments label {
	vertical-align:top;
	width:150px;
	display: inline-block;
	float:left;
	clear:both;
}
#comments input[type=text],
#comments input[type=email],
#comments input[type=url],
#comments textarea {
	width:calc(100% - 150px);
	padding:5px;
	border-radius:5px;
	border: 1px solid #aaa;
}



.pagination{
	text-align: center;
	font-size:.9em;
	margin-top:100px;
}
.pagination a {
	color:#2e2e2e;
}
a.page-numbers,
.pagination .current{
	background: #fff;
	border: solid 1px #2e2e2e;
	padding:3px 8px;
	margin:0 2px;
	text-decoration: none;
	line-height:1.2;
	font-size: .9em;
}
.pagination .current{
	background: #2e2e2e;
	border: solid 1px #2e2e2e;
	color: #fff;
	font-weight:bold;
}

.blog_cat_title {
	border-bottom: 1px solid #f5a434;
	color: #f5a434;
	line-height:1;
	font-weight: bold;
	padding-bottom:8px;
	margin-bottom:35px;
}

#sd_archive li,
#sd_archive a {
	color:#2e2e2e;
}

.comment-metadata a,
#sd_tag a {
	color:#999;
}


.post_content figure {
	max-width:100%;
}


#bn_rehab_home {
	margin-bottom:50px;
}

@media screen and (max-width: 979px) {
	/* 979px以下用（タブレット用）の記述 */
}
@media screen and (max-width: 767px) {
	/* 767px以下用（タブレット／スマートフォン用）の記述 */

	body {
		padding-top:94px;
	}
	body::before {
		display: none;
	}

	.blog_container {
		width:100%;
	}

	#header {
		background-color:#fff !important;
		height: auto !important;
		padding:10px 20px 0 !important;
		position:fixed;
	}
	#header .container {
		padding-bottom:10px;
	}
	#header_logo h1 {
		margin:0 0 10px;
	}
	#header_logo a {
		line-height:1;
		padding:0;
	}
	#main {
		padding-top:0;
	}
	#main #article_inner {
		display:block;
	}
	
	.category .blog_article {
		padding-bottom:30px;
		border-bottom:1px solid #e6e6e6;
		margin-bottom:30px;
	}
	.half_article_wrap {
		display:block;
	}
	.half_article {
		width:100%;
		border-top:none;
	}
	
	#blog_sidebar {
		width:auto;
		margin:0;
	}
	
	.post_content iframe {
		max-width:100%;
	}

	#blog_sidebar #blog_cat {
		display:none;
	}

	#sd_recommend .sd_recommend_inner {
		display:flex;
		justify-content:space-between;
		flex-wrap:wrap;
	}
	#sd_recommend .sd_article {
		width:48%;
	}



	#comments label {
		width:auto;
		float:none;
	}
	#comments input[type=text],
	#comments input[type=email],
	#comments input[type=url],
	#comments textarea {
		width:100%;
	}

	#sd_recommend .cat_name,
	#sd_recommend .post_date {
		float:none;
		text-align:left;
	}
	
	#spNavi li dd a {
		border-bottom:none;
		border-color:#e6e6e6;
	}
	#spNavi li dd li:last-child a {
		border-top:1px solid #e6e6e6;
	}
	
	#spNavi dt:after, #spNavi a:after {
		border-color:#f5a434;
	}

	.post_content .imageblock,
	.entry-eyecatch {
		margin-bottom:25px;
		width:100%;
		height:auto !important;
	}
	.entry-eyecatch:after {
		padding-top:50%;
		display:block;
		content:"";
	}
	.entry-eyecatch > a {
		position:absolute;
		top:0;
		left:0;
		bottom:0;
		right:0;
	}
	.post_content .imageblock {
		margin-bottom:0;
	}

	.post_content .contents_anchor {
		margin-top:-84px;
		padding-top:84px;
	}

	.post_content #table_of_contents {
		font-size:.9em;
	}

	.pagination {
		margin-bottom:40px;
	}
	
	
	a.page-numbers,
	.pagination .current{
		padding:10px;
		line-height:1;
	}

	#bn_rehab_home {
		text-align:center;
	}
	
	.cat_name a {
		margin-bottom:3px;
	}
	
	.half_article_wrap .entry-eyecatch {
		width: auto;
	    float: none;
	    margin-right: 0;
	    margin-bottom: 10px;
	}	
}
