/*
Theme Name: AFFINGER4 Child
Template: affinger4
Version: 20170205
*/
@import url('../affinger4/style.css');

.sp {
	display: none;
}
a {
    color: #45403c;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(255,242,243,.3);
}

a:visited,
a:link {
    color: #45403c;
}

.entry-content hr {
	margin-bottom: 12px;
}

#searchform {
	position: relative;
}
body {
	background-color: #fff;
}
#content {
	padding: 20px 0;
}
#contentInner main {
	padding: 0;
}
#contentInner .home-post {
	display: none;
}

#headbox {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}
#header-l {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	max-width: none;
}

#header-l .descr {
	display: none;
}
#header-l .sitename img {
	max-width: 290px;
	width: 290px;
	height: auto;
	margin: 0;
}
#header-l .header_info {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 320px;
	color: #aaa;
	font-size: 11px;
	line-height: 1.5em;
	margin: 0 0 20px 20px;
}

#header-r {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin: 15px 0 0;
	max-width: 300px;
}
#header-r .menu-top_menu-container .menu {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	margin: 0;
	padding: 0;
}
#header-r .menu-top_menu-container .menu li {
	height: auto;
}
#header-r .menu-top_menu-container .menu li a {
	color: #45403c;
}
#header-r .menu-top_menu-container .menu li a:hover span {
	color: #45403c;
	text-decoration: underline;
}
#header-r .menu-top_menu-container .menu .fa {
	display: block;
	font-size: 30px;
	color: #ef8080;
}

#menu-side_cate{
	padding: 0;
	margin: 0 0 1em;
}

#side #menu-side_cate li {
    font-size: 12px;
    width: 50%;
    display: inline-block;
    vertical-align: top;
    padding: 5px;
    margin-right: -5px;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
#side #menu-side_cate li a {
    display: block;
    padding: 10px 0;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 3px;
}
#side #menu-side_cate li a:hover {
	background-color: #f8f8f8;
}

#side .wpp-list {
	border-top: 1px solid #eee;
	overflow: hidden;
	padding: 0;
	margin: 0 0 1em;
}
#side .wpp-list li {
	display: block;
	overflow: hidden;
	text-decoration: none;
	border-bottom: 1px solid #eee;
	position: relative;
}
#side .wpp-list li:hover {
	background-color: #f8f8f8;
}
#side .wpp-list li:hover a {
	color: #45403c;
}

#side .wpp-list li > a:first-child {
	display: inline-block;
	float: left;
	margin-right: .5em;
}
#side .wpp-list li > a:first-child img {
	width: 50px;
	height: 50px;
	padding: .5em 0;
}
#side .wpp-list li > a:nth-child(2) {
	display: block;
	height: 50px;
	font-size: 14px;
	line-height: 18px;
	margin-left: 70px;
	text-indent: 6px;
	padding: .5em 0;
}
#side .wpp-list li > a:nth-child(2):before {
	content: " ";
	position: absolute;
	top: 8px;
	left: 46px;
	width: 20px;
	height: 20px;
	margin-left: 8px;
	margin-right: 8px;
	border-radius: 20px;
	background: #cfcfcf;
}
#side .wpp-list li > a:nth-child(2):after {
	position: absolute;
	top: 9px;
	left: 52px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
}
#side .wpp-list li:nth-child(1) > a:nth-child(2):before { background: #cea24a;}
#side .wpp-list li:nth-child(2) > a:nth-child(2):before { background: #d78181;}
#side .wpp-list li:nth-child(3) > a:nth-child(2):before { background: #a7a787;}
#side .wpp-list li:nth-child(1) > a:nth-child(2):after { content:"１";}
#side .wpp-list li:nth-child(2) > a:nth-child(2):after { content:"２";}
#side .wpp-list li:nth-child(3) > a:nth-child(2):after { content:"３";}
#side .wpp-list li:nth-child(4) > a:nth-child(2):after { content:"４";}
#side .wpp-list li:nth-child(5) > a:nth-child(2):after { content:"５";}
#side .wpp-list li:nth-child(6) > a:nth-child(2):after { content:"６";}
#side .wpp-list li:nth-child(7) > a:nth-child(2):after { content:"７";}
#side .wpp-list li:nth-child(8) > a:nth-child(2):after { content:"８";}
#side .wpp-list li:nth-child(9) > a:nth-child(2):after { content:"９";}
#side .wpp-list li:nth-child(10) > a:nth-child(2):after { content:"10";left: 50px;font-size: 11px;}
#side .wpp-list li .post-stats {
	color: #fff;
}
#side .wpp-list li .post-stats {
	line-height: 0px;
	color: rgba(0, 0, 0, 0);
}
#side .wpp-list li .wpp-views {
	position:absolute;
	bottom: 12px;
	left: 65px;
	font-size: .8em;
	color: #929292;
	pointer-events: none;
}
#side .wpp-list li .wpp-author {
	position: absolute;
	bottom: 12px;
	right: 4px;
	font-size: .8em;
	color: #929292;
}

footer {
    background: #f5f5f5;
}
.footermenust {
	display: none;
}
#footer .footerlogo img {
	width: 262px;
}

.footer-l p {
	width: 262px;
}
#footer .footer-l a:hover {
	color: #45403c;
	text-decoration: underline;
}

.footer-l .headbox {
	display: none;
}
.footer-l .footer_info {
    width: 100%;
    color: #aaa;
    font-size: 12px;
    text-align: left;
    padding-top: 4px;
    line-height: 1.5em;
    margin: 16px;
}
.footer-r {
	display: flex;
	flex-direction: row;
	font-size: 12px;
}
.footer-rbox {
	width: 45%;
}
.footer-rbox > p {
	display: block !important;
	font-weight: bolder;
}
#footer .footer-r a:hover {
	color: #45403c;
	text-decoration: underline;
}

article #breadcrumb,
article #breadcrumb ol,
article #breadcrumb ol li,
article #breadcrumb ol li a {
	color: #999999;
}

body.home main h2 {
	font-size: 14px;
	color: #444;
	font-weight: 700;
	margin: 0;
	padding: 0 !important;
}
body.page-template-page51 main h2 {
	color: #000;
	position: relative;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px 0;
	font-size: 1.4em;
	line-height: 1.4em;
	font-weight: 700;
	border-bottom: solid 1px #EEE;
}
body.home main h2 span {
	font-size: 12px;
	color: #aaa;
	vertical-align: bottom;
	margin-left: 14px;
}
body.home main .kanren {
	padding-top: 10px;
}

body.home main .flex_block3 {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
}
body.home main .kanren dl {
	width: 31%;
	margin-bottom: 23px;
	padding-bottom: 0;
	border: 1px solid #eee;
}
body.home main .kanren dl.dummy {
	opacity: 0;
}
body.home main .kanren dl a:hover {
	background: none;
}
body.home main .kanren dl a:hover .title {
	text-decoration: underline;
}

body.home main .kanren dl dt {
	float: none;
	display: inline-block;
	width: 100%;
	margin-bottom: 10px;
}
body.home main .kanren dl img {
	width: 100%;
	height: auto;
}
body.home main .kanren dl dd {
	padding: 0 15px 10px;
	margin: 0;
}
body.home main .kanren dl dd .title {
	color: #444;
	line-height: 22px;
	font-size: 16px;
	height: 4em;
	margin-bottom: 18px;
	overflow: hidden;
}
body.home main .kanren dl dd .new_post:before {
	content: 'N';
	color: #fff;
	font-size: 10px;
	background-color: #ec5c5c;
	width: 16px;
	height: 16px;
	display: inline-block;
	text-align: center;
	line-height: 16px;
	vertical-align: middle;
	margin-top: -3px;
	border-radius: 50%;
}
body.home main .kanren dl dd .smanone2 {
	font-size: 11px;
	color: #aaa;
	margin-bottom: 10px;
	line-height: 1.5em;
	height: 6.4em;
}
body.home main .kanren dl dd .blog_info {
	font-size: 11px;
	color: #aaa;
	bottom: 2px;
	width: 100%;
}
body.home main .kanren dl dd .blog_info span {
	float: right;
	margin-right: 35px;
}

body.home main .wpp-list {
	border-top: 1px solid #eee;
	overflow: hidden;
}
body.home main .wpp-list li {
	display: block;
	padding: 10px 0;
	overflow: hidden;
	text-decoration: none;
	border-bottom: 1px solid #eee;
	position: relative;
}
body.home main .wpp-list li > a:first-child {
	display: inline-block;
	float: left;
	margin-right: 15px;
	width: 80px;
	height: 80px;
}
body.home main .wpp-list li > a:first-child img {
	width: 100%;
	height: auto;
}
body.home main .wpp-list li > a:nth-child(2) {
	display: block;
	font-size: 16px;
	margin-bottom: 14px;
}
body.home main .wpp-list li > a:nth-child(2):before {
	background: #ec5c5c;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	width: 16px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	float: left;
	margin-top: 3px;
	margin-right: 10px;
	border-radius: 2px;
}
body.home main .wpp-list li:nth-child(1) > a:nth-child(2):before { content:"１"; }
body.home main .wpp-list li:nth-child(2) > a:nth-child(2):before { content:"２"; }
body.home main .wpp-list li:nth-child(3) > a:nth-child(2):before { content:"３"; }
body.home main .wpp-list li:nth-child(4) > a:nth-child(2):before { content:"４"; }
body.home main .wpp-list li:nth-child(5) > a:nth-child(2):before { content:"５"; }
body.home main .wpp-list li:nth-child(6) > a:nth-child(2):before { content:"６"; }
body.home main .wpp-list li:nth-child(7) > a:nth-child(2):before { content:"７"; }
body.home main .wpp-list li:nth-child(8) > a:nth-child(2):before { content:"８"; }
body.home main .wpp-list li:nth-child(9) > a:nth-child(2):before { content:"９"; }
body.home main .wpp-list li:nth-child(10) > a:nth-child(2):before { content:"10"; }
body.home main .wpp-list li .wpp-excerpt {
	color: #aaa;
	font-size: 11px;
	line-height: 16px;
}
body.home main .wpp-list li .post-stats {
	color: #fff;
}
body.home main .wpp-list li .wpp-views {
	position:absolute;
	bottom: 8px;
	left: 95px;
	font-size: .8em;
	color: #929292;
}
body.home main .wpp-list li .wpp-author a {
	position:absolute;
	bottom: 8px;
	right: 0;
	font-size: .8em;
	color: #929292;
}

body.page-template-page51 main .newlist {
	position: relative;
	border-bottom: solid 1px #EEE;
}
body.page-template-page51 main .newlist a {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	color: #202020;
	overflow: hidden;
	padding: 15px 0;
	transition: 0.345s;
}
body.page-template-page51 main .newlist a:hover {
	background-color: #f8f8f8;
}

body.page-template-page51 main .newlist a dt {
	min-width: 180px;
	height: 130px;
	margin-right: 16px;
	overflow: hidden;
}
body.page-template-page51 main .newlist img {
	max-width: inherit;
	width: 100%;
}
body.page-template-page51 main .newlist dd {
	display: inline-block;
	width: 100%;
	position: relative;
	margin-right: 0;
}
body.page-template-page51 main .newlist:nth-child(5n+1) dt {
	order: 2;
	min-width: 310px;
	height: 180px;
	margin-right: 0;
}
body.page-template-page51 main .newlist:nth-child(5n+1) dd {
	margin: 0 16px 0 12px;
}
body.page-template-page51 main .title {
	margin-bottom: .2em;
	font-size: 22px;
	line-height: 1.3em;
	font-weight: 700;
}
body.page-template-page51 main .smanone2 {
	font-size: .86em;
	line-height: 1.4em;
	color: #999;
	margin-bottom: 10px;
}
body.page-template-page51 main .blog_info {
    display: block;
    position: absolute;
	left: 0;
	font-size: 12px;
	color: #999;
}
body.page-template-page51 main .blog_info .pcone {
	margin-right: 10px;
}
body.page-template-page51 main .newlist .blog_info {
	bottom: -6px;
}
body.page-template-page51 main .newlist:nth-child(5n+1) .blog_info {
	bottom: -6px;
}

.page-template-page52 ul,
.main_cate li,
.sub_cate li,
.category_wrap ul {
	list-style: none;
}
.page-template-page52 .cate_list_tab {
	border-bottom: 1px solid #f06464;
	text-align: center;
	margin: 20px 0 0 0;
	padding: 0;
	width: 98%;
	overflow: hidden;
}
.page-template-page52 .cate_list_tab li,
.page-template-page52 .cate_list_tab li:last-child {
	width: 33%;
	float: left;
	padding: 10px;
	cursor: pointer;
}
.cate_list_tab li {
	background: #f06464;
	color: #fff;
	font-weight: bold;
}
.cate_list_tab li.off {
	color: black;
	background: #f5f5f5;
}

.main_cate.on {
	display: block;
	width: 98%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
.sub_cate.on {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
}
.sub_cate.on::after{
	content:"";
	display: block;
	width:32%;
}
.main_cate,
.sub_cate {
	display: none;
}

.main_cate > div {
	width: 50%;
	display: inline-block;
	box-sizing: border-box;
}
.main_cate > div a {
	width: 100%;
	position: relative;
	display: inline-block;
	border-bottom: 1px solid #eeeeee;
}
.main_cate > div a:hover {
	background-color: #f8f8f8;
}

.main_cate > div img {
	width: 70px;
	height: 70px;
}
.main_cate > div .title {
	position: absolute;
	top: 10px;
	left: 80px;
	font-weight: bold;
	color: black;
}
.main_cate > div .content {
	position: absolute;
	top: 40px;
	left: 76px;
	margin: 0 8px 0 0;
	font-size: 12px;
	line-height: 14px;
	color: #aaaaaa;
}

.sub_cate > li {
	width: 32%;
	margin: 24px 0 0 0;
}
.sub_cate > li > span {
	display: inline-block;
	width: 80%;
	font-size: 14px;
	padding: 4px 16px;
	color: white;
	background: #b2a99b;
	cursor: pointer;
}
.sub_cate > li > ul {
	display: none;
	padding-left: 16px;
	margin-bottom: 0;
	padding-bottom: 0;
}
.sub_cate > li > ul > li,
.sub_cate > li > ul > li:last-child {
	position: relative;
	border-bottom: 1px solid #dddddd;
	margin-bottom: 12px;
}
.sub_cate > li > ul > li > a {
	display: inline-block;
	width: 100%;
	padding: 8px 0;
}
.sub_cate > li > ul > li > a:hover {
	background-color: #f8f8f8;
}
.sub_cate > li > ul > li > a:after {
	content: "\f054";
	font-family: FontAwesome;
	color: #bbbbbb;
	position: absolute;
	top: 6px;
	right: 16px;
}

.category h2 span,
.cat-itiran h2 span {
	margin-left: 24px;
	font-size: 16px;
	color: #888888;
}

.category article .kanren {
	position: relative;
	border-bottom: solid 1px #EEE;
}
.category article .kanren dl {
	padding: 0;
	margin: 0;
}
.category article .kanren dl:last-child {
	border-bottom-style: dotted;
}
.category article .kanren a {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	color: #202020;
	overflow: hidden;
	padding: 15px 0;
	transition: 0.345s;
}
.category article .kanren a:hover {
	background-color: #f8f8f8;
}
.category article .kanren a dt {
	min-width: 180px;
	height: 130px;
	margin-right: 16px;
	overflow: hidden;
}
.category article .kanren img {
	max-width: inherit;
	width: 100%;
}
.category article .kanren dd {
	display: inline-block;
	width: 100%;
	position: relative;
	margin-right: 0;
	padding: 0;
}
.category article .kanren .title {
	margin-bottom: .2em;
	font-size: 22px;
	line-height: 1.3em;
	font-weight: 700;
}
.category article .kanren .smanone2 {
	font-size: .86em;
	line-height: 1.4em;
	color: #999;
	margin-bottom: 10px;
}
.category article .kanren .blog_info {
    display: block;
    position: absolute;
	left: 0;
	font-size: 12px;
	color: #999;
	bottom: -4px;
}
.category article .kanren .blog_info .pcone {
	margin-left: 10px;
}

.category article .kanren dl {
	transition: 0.35s;
}
.category article .kanren dl:hover {
	background-color: #f8f8f8;
}

body.search-results .kanren dl {
	padding: 8px 0;
}
body.search-results .kanren dl:last-child {
	margin-bottom: 0;
	border-bottom-style: dotted;
}

.kanren dl {
	padding: 0;
	margin: 0;
}
.kanren dl.dummy {
/*	display: none; */
}

.kanren dl a:hover {
	background-color: #f8f8f8;
}
.kanren dt {
	float: left;
	width: 180px;
/*	height: 120px;*/
	height: auto;
	margin-right: 15px;
/*	padding: 15px 0;*/
	overflow: hidden;
}
.kanren dt img {
	width: 100%;
}
.kanren dd {
    padding-left: 195px;
	min-height: 92px;
	position: relative;
	margin: 0px;
}
.kanren dd .title {
/*	padding-top: 15px;*/
	margin-bottom: .2em;
	font-size: 22px;
	line-height: 1.3em;
	font-weight: 700;
}
.kanren dd .smanone2 {
	font-size: .86em;
	line-height: 1.4em;
	color: #999;
	margin-bottom: 10px;
}
.kanren dd .blog_info {
	font-size: 12px;
	color: #999;
	position: absolute;
	bottom: -20px;
}

body.single-post .mainbox {
	padding: 20px;
	border: solid 1px #eee;
}
body.single-post .sns li {
	width: inherit;
}
body.single-post .sns li a {
	display: inline-block;
	padding: 0 5px;
	height: 24px;
}
body.single-post .sns li a .fa-hatena,
body.single-post .sns li a i {
	border: none;
	padding: 0;
}
body.single-post .sns .hatebu a .snstext,
body.single-post .sns li a span {
	padding: 0 0 0 5px;
}
body.single-post aside .point {
	background: none;
	margin: 0;
	border: none;
}
body.single-post aside .point span {
	background: none;
}
body.single-post aside .kanren {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
/*	justify-content: space-between;	*/
}
body.single-post aside .kanren dl {
	display: inline-block;
	width: 24% !important;
	margin: 10px 1.33% 10px 0 !important;
	border: none;
}
body.single-post aside .kanren dl:nth-child(4n) {
	margin: 10px 0 10px 0px !important;
}
body.single-post aside .kanren dt {
	float: none;
	width: 100%;
	height: auto;
	margin: 0;
}
body.single-post aside .kanren dd {
	padding: 0;
	min-height: inherit;
}

/*
.category-hospital .mainbox .entry-content > div > ul a,
.category-hospital .mainbox .entry-content > div > ul a:link,
.category-hospital .mainbox .entry-content > div > ul a:visited,
*/
.sect4-list-ad a,
.sect4-list-ad a:link,
.sect4-list-ad a:visited {
	color: #2854bb;
	text-decoration: underline;
	transition: 0.35s;
}
/*
.category-hospital .mainbox .entry-content > div > ul a:hover,
*/
.sect4-list-ad a:hover {
	opacity: 0.75;
}

/*	h1 タイトル			*/
#st-page .entry-title {
	position: relative;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 .6em .4em 0;
	padding: .2em 0 .4em 0;
	font-size: 1.6em;
	line-height: 1.4em;
	font-weight: 700;
	border-bottom: solid 1px #EEE;
}
#st-page .entry-title:before {
	position: absolute;
	content: "";
	width: 5px;
	height: 1.05em;
	left: 0;
	top: 7px;
	border-left: solid 5px #e74040;
}
/*	h2 見出し			*/
.st-post .entry-content .entry-title,
#st-page .entry-content h2 {
	border-bottom: solid 2px #e74040;
	margin-bottom: .7em;
	margin-top: 1em;
	font-size: 1.5em;
	line-height: 1.5em;
	font-weight: 700;
	padding: 0 !important;
}

.st-post .st-eyecatch {
	margin: 0 0 10px 0;
	text-align: center;
}
.st-post .st-eyecatch img {
	width: inherit;
	max-width: 100%;
}

/*media Queries タブレットサイズ（960px以下）
----------------------------------------------------*/
@media only screen and (max-width: 960px) {
	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
	#headbox {
		position: relative;
	}
	#s-navi {
		position: fixed;
		top: 12px;
		right: 24px;
		margin: 0;
		z-index: 1000;
	}
	#s-navi dt.trigger .op {
		max-width: none;
	}
	#s-navi dd.acordion_tree {
		background-color: #cccccc;
	}

	#header-l .sitename {
		width: 390px;
		margin: 0 auto;
	}
	#header-l .sitename img {
		width: 100%;
	}
	#header-l .header_info {
		display: none;
	}
	#header-r {
		display: none;
	}
	#side .wpp-list {
		padding: 0 8px;
		overflow: none;
	}
	#side .wpp-list li {
		overflow: visible;
	}
	#side .wpp-list li > a:first-child img {
		width: 150px;
		height: 150px;
	}
	#side .wpp-list li > a:nth-child(2) {
		height: 150px;
		font-size: 24px;
		line-height: 32px;
		text-indent: 0px;
		margin-left: 70px;
	}
	#side .wpp-list li > a:nth-child(2):before {
		top: 2px;
		left: -14px;
		width: 20px;
		height: 20px;
		border-radius: 2px;
	}
	#side .wpp-list li > a:nth-child(2):after {
		top: 3px;
		left: -3px;
		font-size: 14px;
	}
	#side .wpp-list li:nth-child(10) > a:nth-child(2):after {
		left: -3px;
	}
	#side .wpp-list li .wpp-views {
		left: 166px;
		bottom: 20px;
		font-size: 14px;
	}
	#side .wpp-list li .wpp-author {
		display: inline-block;
		position:absolute;
		bottom: 20px;
		right: 0px;
		color: #929292;
		font-size: 14px;
	}
	#side .wpp-list li .wpp-author a {
		color: #929292;
	}

	#side

	.footer-rbox {
		 width: 50%;
	}
	.footer-l p {
		margin: 0 auto;
		text-align: center;
	}
	.footer-l .footer_info {
		text-align: center;
	}

	#content {
		padding: 20px 0;
	}

	body main {
		margin: 0 16px;
	}

	.main_cate.on {
		width: auto;
	}
	.main_cate > div {
		width: 100%;
	}
	.sub_cate > li {
		width: 48%;
		margin: 18px 0 0 0;
	}

	.kanren dl {
		position: relative;
		margin-bottom: 10px;
		padding-bottom: 10px;
	}
	.kanren dt {
		width: 20%;
		height: auto;
		margin: 0;
	}
	.kanren dd {
		position: static;
		padding: 0 0 0 20%;
		margin: 0 0 12px 12px;
		min-height: inherit;
	}
	.kanren dd .title {
		margin-bottom: 4px;
		font-size: 14px;
		line-height: 18px;
	}
	.kanren dd .smanone2 {
		font-size: 10px;
		line-height: 12px;
		margin-bottom: 6px;
	}
	.kanren dd .blog_info {
		font-size: 10px;
		bottom: 8px;
	}

	.category .kanren dd {
		margin: 0 0 12px 12px;
	}

	body.page-template-page51 main .newlist a {
		padding: 8px 0;
	}
	body.page-template-page51 main .newlist a dt {
		min-width: inherit;
		width: 30%;
		height: auto;
		margin-right: 16px;
	}
	body.page-template-page51 main .newlist dd {
		width: 70%;
		margin-right: 0;
	}
	body.page-template-page51 main .newlist:nth-child(5n+1) dt {
		min-width: inherit;
		width: 50%;
		height: auto;
		margin-right: 0;
	}
	body.page-template-page51 main .newlist:nth-child(5n+1) dd {
		width: 50%;
		margin: 0 16px 0 12px;
	}
	body.page-template-page51 main .title {
		margin-bottom: 4px;
		font-size: 18px;
		line-height: 22px;
	}
	body.page-template-page51 main .smanone2 {
		margin-bottom: 0;
	}
	body.page-template-page51 main .smanone2 p {
		font-size: 14px;
		line-height: 22px;
		margin-bottom: 0;
	}
	body.page-template-page51 main .blog_info p {
/*		font-size: 10px;*/
	}
	body.page-template-page51 main .blog_info pcone {
		margin-right: 10px;
	}
	body.page-template-page51 main .newlist .blog_info {
		bottom: 0px;
	}
	body.single-post aside .kanren dd .kanren-t {
		font-size: 15px;
		line-height: 20px;
	}
	body.single-post aside .kanren dd .smanone2 {
		font-size: 12px;
		line-height: 16px;
	}

	.category article .kanren {
		padding: 0;
		margin: 0;
	}
	.category article .kanren  a {
		padding: 8px 0;
	}
	.category article .kanren  a dt {
		min-width: inherit;
		width: 30%;
		height: auto;
		margin-right: 16px;
	}
	.category article .kanren  dd {
		width: 70%;
		margin: 0;
	}
	.category article .kanren  .title {
		margin-bottom: 4px;
		font-size: 18px;
		line-height: 22px;
	}
	.category article .kanren  .smanone2 {
		margin-bottom: 0;
	}
	.category article .kanren  .blog_info pcone {
		margin-right: 10px;
	}

/*-- ここまで --*/
}

/*media Queries スマホサイズ（600px以下）
----------------------------------------------------*/
@media only screen and (max-width: 600px) {
	#header-l .sitename {
		width: 390px;
	}
	#header-l .sitename img {
		width: 100%;
		max-width: 390px;
    }
	#header-l .header_info {
		font-size: 10px;
		margin: 0 0 0 32px;
	}

	#side .wpp-list li > a:first-child {
		margin-right: 5px;
	}
	#side .wpp-list li > a:first-child img {
		width: 75px;
		height: 75px;
		padding: .5em 0;
	}
	#side .wpp-list li > a:nth-child(2) {
		height: 80px;
		font-size: 14px;
		line-height: 20px;
		margin-left: 65px;
	}
	#side .wpp-list li .wpp-views {
		left: 85px;
		bottom: 16px;
		font-size: 10px;
	}
	#side .wpp-list li .wpp-author {
		bottom: 16px;
		font-size: 10px;
	}

	.footer-r {
		display: block;
		font-size: 12px;
	}
	.footer-rbox {
		 width: 100%;
	}

	#content {
		padding: 15px 0;
	}

	body main {
		margin: 0 8px;
	}
	body.home main h2 span {
		display: block;
		margin: 0;
		line-height: 18px;
		font-size: 10px;
	}

	body.home main .flex_block3 {
		display: inline;
	}
	body.home main .kanren dl {
		display: inline-block;
		float: left;
		width: 48%;
		margin: 0 0.8% 16px 0.8px;
	}
	body.home main .st-pagelink {
		clear: both;
	}
	.category h2,
	.cat-itiran h2 {
		font-size: 16px;
	}
	.category h2 span,
	.cat-itiran h2 span {
		display: block;
		margin-left: 0;
		font-size: 14px;
	}
	.sub_cate > li {
		width: 98%;
		margin: 12px 0 0 0;
	}

	body.home main .kanren dl dd {
		padding: 0 6px 10px 6px;
		margin: 0 0 12px 0;
	}

	body.page-template-page51 main .newlist:nth-child(5n+1) a {
		display: block;
	}
	body.page-template-page51 main .newlist:nth-child(5n+1) dt {
		max-width: 400px;
		width: 100%;
	}
	body.page-template-page51 main .newlist a dt {
		margin-right: 8px;
	}
	body.page-template-page51 main .newlist:nth-child(5n+1) dd {
		margin-right: 8px;
		width: 100%;
	}
	body.page-template-page51 main .title {
		font-size: 14px;
		line-height: 20px;
	}
	body.page-template-page51 main .smanone2 {
		margin-bottom: 20px;

	}
	body.page-template-page51 main .smanone2 p {
		font-size: 10px;
		line-height: 18px;
	}
	body.page-template-page51 main .blog_info p {
		font-size: 10px;
	}

	body.single-post aside .kanren {
		display: block;
	}
	body.single-post aside .kanren dl {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		width: 100% !important;
		margin: 10px 0 10px 0 !important;
	}
	body.single-post aside .kanren dl:nth-child(4n) {
		margin: 10px 0 10px 0 !important;
	}
	body.single-post aside .kanren dt {
		width: 25%;
	}
	body.single-post aside .kanren dd {
		width: 75%;
		margin: 0 0 0 12px;
	}
	body.single-post aside .kanren dd .kanren-t {
		font-size: 13px;
		line-height: 18px;
	}
	body.single-post aside .kanren dd .smanone2 {
		font-size: 10px;
		line-height: 15px;
	}

	.category article .kanren a dt {
		margin-right: 8px;
	}
	.category article .kanren .title {
		font-size: 14px;
		line-height: 20px;
	}
	.category article .kanren .smanone2 {
		margin-bottom: 20px;

	}

/*	h1 タイトル			*/
	.st-post h1.entry-title,
	#st-page .entry-title {
		font-size: 18px;
		line-height: 22px;
	}
/*	h2 見出し			*/
	.st-post .entry-content .entry-title,
	#st-page .entry-content h2 {
		font-size: 16px;
		line-height: 20px;
	}
	.st-post .entry-content p,
	#st-page .entry-content p {
		font-size: 14px;
		line-height: 16px;
	}

	.st-post .toc_list li,
	#st-page .toc_list li {
		font-size: 15px;
		line-height: 24px;
	}


/*-- ここまで --*/
}
