@charset "utf-8";

/*
Theme Name: Rinku Medical Clinic NEWS
Theme URI:
Description:
Version: 1.5
Author: nw
*/

/* ==========================================================================

	BLOG

   ========================================================================== */

h3 {
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

/*--------------------------------
	記事カラム
--------------------------------*/

section article {
	float: right;
	width:75%;
	margin: 0 auto 100px;
}

section article .post {
	width:100%;
	padding: 0 0 60px;
	margin: 0 0 60px;
	border-bottom: 1px solid #ccc;
}

section article .post h3 {
	width: 100%;
	line-height: 1.6;
	font-size: 2.0rem;
	margin: 0 0 40px 0;
	padding: 0;
	text-align: left;
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Arial, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
}

section article .post .postInfo {
	margin: 0 0 10px 0;
}

section article .post .postInfo span {
	display: inline-block;
	font-size: 1.4rem;
	letter-spacing: 1px;
	margin: 0 20px 0 0;

}

section article .post .postInfo em {
	display: inline-block;
	font-size: 1.4rem;
	font-weight: normal;
	margin: 0 0 0 10px;
}

section article .post .postInfo em a:link,
section article .post .postInfo em a:visited { color: #7e7e7e; }
section article .post .postInfo em a:hover,
section article .post .postInfo em a:active { color: #3eaee6; }

/* 記事内のスタイル */

section article .post .postText {
	font-size: 1.5rem;
	line-height: 1.8;
	letter-spacing: 0.08em;
	word-break: break-all; /* 英語の時は消す */
	min-height:1px;
	zoom:1;
}

section article .post .postText:after {
	content:".";
	display:block;
	clear:both;
	height:0px;
	visibility:hidden;
	font-size:0px;
}

section article .post .postText a:link,
section article .post .postText a:visited	{ color:#000; text-decoration:underline; }
section article .post .postText a:hover,
section article .post .postText a:active	{ color:#999; text-decoration:none; }

section article .post .postText p {
	margin: 0 auto 20px;
}

section article .post .postText img {
	display: block;
	max-width: 100%;
	height:auto;
	margin: 0 auto 20px;
}

section article .post .postText .aligncenter {
	margin: 0 auto 20px;
}

section article .post .postText .alignleft {
	float: left;
	margin: 0 20px 20px 0;
}

section article .post .postText .alignright {
	float: right;
	margin: 0 0 20px 20px;
}

section article .post .postText .wp-caption {
	max-width: 100%;
}

section article .post .postText .wp-caption-text {
	font-size: .83em;
	margin-top: -5px;
}

section article .post .postText strong {
	font-weight: bold;
}

section article .post .postText em {
	font-style: italic;
}

section article .post .postText blockquote {
	font-style: italic;
	margin: 1.12em 40px;
	color: #666;
}

section article .post .postText ul,
section article .post .postText ol {
	margin: 1.12em 0 
}

section article .post .postText ul li {
	list-style-type: disc;
}

section article .post .postText ol li {
	list-style-type: decimal;
}

section article .post .postText h1 {
	font-size: 2em;
	margin: 1.34em 0 .67em;
	font-weight: bold;
	text-align: left;
}

section article .post .postText h2 {
	font-size: 1.5em;
	margin: 1.5em 0 .75em;
	font-weight: bold;
	text-align: left;
}

section article .post .postText h3 {
	font-size: 1.17em;
	margin: 1.66em 0 .83em;
	font-weight: bold;
	text-align: left;
}

section article .post .postText h4 {
	margin: 2.24em 0 1.12em;
	font-weight: bold;
	text-align: left;
}

section article .post .postText h5 {
	font-size: .83em;
	margin: 3.0em 0 1.5em;
	font-weight: bold;
	text-align: left;
}

section article .post .postText h6 {
	font-size: .75em;
	margin: 3.34em 0 1.67em;
	font-weight: bold;
	text-align: left;
}

/*--------------------------------
	アーカイブページ
--------------------------------*/

section article .archiveTitle {
	display: block;
	font-size: 2.0rem;
	font-weight: bold;
	margin: 0 0 60px 0;
}

section article .postList {
	margin: 0 auto 30px;
}

section article .postList li {
	border-bottom:1px solid #ccc;
	padding:30px 0;
	min-height:1px;
	zoom:1;
}

section article .postList li:first-child {
	border-top:1px solid #ccc;
}

section article .postList li h3 {
	font-size: 1.8rem;
	line-height: 1.6;
	font-weight: normal;
	text-align: left;
	margin: 5px 0 0 0;
}

section article .postList li .postInfo {
	margin: 0 0 3px 0;
}

section article .postList li .postInfo span {
	display: inline-block;
	font-size: 1.3rem;
	letter-spacing: 1px;
	margin: 0 20px 0 0;
}

section article .postList li .postInfo em {
	display: inline-block;
	font-size: 1.3rem;
	font-weight: normal;
	margin: 0 0 0 10px;
}

section article .postList li .postInfo em a:link,
section article .postList li .postInfo em a:visited { color: #626262; }
section article .postList li .postInfo em a:hover,
section article .postList li .postInfo em a:active { color: #3eaee6; }

/*--------------------------------
	サイドカラム
--------------------------------*/

section aside {
	float: left;
	width:20%;
	margin: 0 auto 100px;		
}

section aside h4 {
	font-size: 1.3rem;
	letter-spacing: 1px;
	margin: 40px 0 15px 0;
	font-weight: bold;
}

section aside h4:first-child {
	margin: 0 0 15px 0;
}

section aside ul {
}

section aside ul li {
	font-size: 1.4rem;
	line-height: 1.5;
	margin: 0 0 10px 0;
}

section aside .selectWrapper {
	width: 100%;
	position: relative;
	display: inline-block;
	margin: 0 auto;
	border: 1px solid #ccc;
}

section aside .selectWrapper::after {
	content: '';
	width: 6px;
	height: 6px;
	border-bottom: solid 2px #666;
	border-right: solid 2px #666;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 12px;
	margin-top: -5px;
	z-index: 2;
	pointer-events: none;
}

section aside .selectWrapper select {
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 2.5em;
	padding: 0 40px 0 10px;
	border: none;
	background-color: #fff;
	font-size: 1.4rem;
	color: #666;
}

section aside .selectWrapper select::-ms-expand {
    display: none;
}


/*--------------------------------
	操作系
--------------------------------*/

/* 前後記事へのリンク */

.pagelink {
	font-size: 1.4rem;
	margin-top: 60px;
	min-height:1px;
	zoom:1;
	clear:both;
}

.pagelink:after {
	content:".";
	display:block;
	clear:both;
	height:0px;
	visibility:hidden;
	font-size:0px;
}

.pagelink .pageprev {
	float: left;
	max-width: 48%;
	position: relative;
	padding: 0 0 0 16px;
	overflow: hidden;
}

.pagelink .pageprev:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: url(/common/images/arrow_left.svg) center center no-repeat;
	background-size: contain;
	position: absolute;
	left: 0px;
	top: 50%;
	-webkit-transform:translate(0, -50%);
	transform:translate(0, -50%);
}

.pagelink .pagenext {
	float: right;
	max-width: 48%;
	position: relative;
	text-align: right;
	padding: 0 16px 0 0;
	overflow: hidden;
}

.pagelink .pagenext:after {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	background: url(/common/images/arrow_right.svg) center center no-repeat;
	background-size: contain;
	position: absolute;
	right: 0px;
	top: 50%;
	-webkit-transform:translate(0, -50%);
	transform:translate(0, -50%);
}


/* ページネーション */

.pagenation {
	margin: 30px 0;
	text-align: center;
}

.pagenation ul {
	padding: 0;
	list-style: none;
	font-size: 0;
}

.pagenation ul li {
	display: inline-block;
	vertical-align: top;
	margin: 0 5px;
	font-size: 13px;
	line-height: 30px;
}

.pagenation ul li a {
	display: block;
	width: 30px;
	height: 30px;
	border: 1px solid #eee;
}

.pagenation ul li a:hover {
	background-color: #eee;
	text-decoration: none;
}

.pagenation ul li span.current {
	display: block;
	width: 30px;
	height: 30px;
	border: 1px solid #eee;
	background-color: #eee;
}

.pagenation ul li a.prev {
	width: 60px;
	padding: 0 10px 0 20px;
    background: url(/common/images/arrow_left.svg) no-repeat left center;
    background-size: 9px auto;
    border: none;
}

.pagenation ul li a.next {
	width: 60px;
	padding: 0 20px 0 10px;
    background: url(/common/images/arrow_right.svg) no-repeat right center;
    background-size: 9px auto;
    border: none;
}

.pagenation ul li a.prev:hover,
.pagenation ul li a.next:hover {
	background-color: transparent;
	opacity: 0.7;
}

	/*--------------------------------
		PC・SP出し分け
	--------------------------------*/

img.pc { display: inline !important; }
img.sp { display: none !important; }




/* ============================== SP ============================== */

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

	/*--------------------------------
		PC・SP出し分け
	--------------------------------*/
	
img.pc { display: none !important; }
img.sp { display: inline !important; }

	/*--------------------------------
		記事カラム
	--------------------------------*/

	section article {
		float: none;
		width: 100%;
		border-bottom: 1px solid #ccc;
		margin: 0 auto 30px;
	}

	section article .post {
		margin: 0 auto 30px;
		padding: 0 0 30px;
	}

	section article .post h3 {
		font-size: 1.6rem;
	    margin: 0 0 30px 0;
	}
	
	section article .post .postInfo {
	}
	
	section article .post .postInfo span {
		font-size: 1.2rem;
		margin: 0 10px 0 0;
	}
	
	section article .post .postInfo em {
		font-size: 1.2rem;
	}

	/* 記事内のスタイル */
	
	section article .post .postText {
		font-size: 1.4rem;
		line-height: 1.8;
		letter-spacing: 0.08em;
	}

	section article .post .postText a:link,
	section article .post .postText a:visited	{ color:#000; text-decoration:underline; }
	section article .post .postText a:hover,
	section article .post .postText a:active	{ color:#000; text-decoration:underline; }
	
	section article .post .postText p {
		margin: 0 auto 15px;
	}

	section article .post .postText img {
		width:100%;
		margin: 0 auto 15px;
	}

	section article .post .postText img.alignright {
		margin: 0 auto 15px;
	}
	
	section article .post .postText img.alignleft {
		margin: 0 auto 15px;
	}

	/*--------------------------------
		アーカイブページ
	--------------------------------*/
	
	section article .archiveTitle {
		font-size: 1.8rem;
		font-weight: bold;
		margin: 0 0 20px 0;
	}
	
	section article .postList li {
		border-bottom:1px solid #ccc;
		padding:15px 0;
		min-height:1px;
		zoom:1;
	}
	
	section article .postList li:first-child {
		border-top:1px solid #ccc;
	}
	
	section article .postList li h3 {
		font-size: 1.4rem;
	}
	
	section article .postList li .postInfo {
		margin: 0 auto;
	}

	section article .postList li .postInfo span {
		font-size: 1.2rem;
		margin: 0 10px 0 0;
	}

	section article .postList li .postInfo em {
		font-size: 1.2rem;
	}


	/*--------------------------------
		サイドカラム
	--------------------------------*/

	section aside {
		float: none;
		width: 100%;
		border-bottom: 1px solid #ccc;
		margin: 0 auto 50px;
		padding: 0 0 30px;
	}
	
	section aside h4 {
		font-size: 1.2rem;
		margin: 25px 0 10px;
	}
	
	section aside h4:first-child {
		margin: 0 0 10px;
	}

	section aside ul li {
		font-size: 1.3rem;
		line-height: 1.5;
		margin: 0 0 5px 0;
	}

	section aside .selectWrapper select {
		/* iOSの拡大阻止 */
		font-size: 1.6rem;
		/* transform: scale(0.9); */
		/* transform-origin: top left; */
		/* width: 111%; */

		/* デフォルトスタイルリセット */
		/* -webkit-appearance: none; */
		-moz-border-radius: 0px;
		-webkit-border-radius: 0px;
		border-radius: 0px;
	}


	/*--------------------------------
		操作系
	--------------------------------*/

	/* 前後記事へのリンク */
	
	.pagelink {
		font-size: 1.2rem;
		margin: 20px 0;
	}


	/* ページネーション */

	.pagenation {
		margin: 20px 0;
	}
	
	.pagenation ul li {
		margin: 0 4px;
		font-size: 12px;
		line-height: 24px;
	}
	
	.pagenation ul li a {
		width: 24px;
		height: 24px;
	}
	
	.pagenation ul li span.current {
		width: 24px;
		height: 24px;
	}
	
	.pagenation ul li a.prev {
		padding: 0 10px;
	}
	
	.pagenation ul li a.next {
		padding: 0 10px;
	}
	
	.pagenation ul li a.prev:hover,
	.pagenation ul li a.next:hover {
		opacity: 1;
	}



}
