@charset "utf-8";
/* CSS Document */

/* --------------------------------------------------------------
CONTENT
-------------------------------------------------------------- */
#breadcrumbArea {
	width: 1024px;
	margin: 0 auto;
	padding: 10px 12px;
}

#breadcrumbArea ul {
	display: flex;
	flex-wrap: wrap;
	margin: -5px 0 0 -10px;
}

#breadcrumbArea ul li {
	background: no-repeat right top 6px / 7px 11px;
	font-size: 1.2rem;
	padding: 0 17px 0 0;
	margin: 5px 0 0 10px;
	position: static;
}

#breadcrumbArea ul li:last-child {
	background: none;
	padding: 0;
}

#breadcrumbArea ul li::before {
	content: none;
}

#contentsArea {
	width: 1024px;
	margin: 0 auto;
	padding: 80px 12px;
}

#contentsArea.column2 {
	display: grid;
	grid-template-columns: auto 200px;
	grid-column-gap: 40px;
}

#contentsArea #contentsRight #sideNav p.tit {
	border-top: 4px solid;
	font-weight: bold;
	padding-top: 10px;
	margin: 40px 0 20px;
}

#contentsArea #contentsRight #sideNav > *:first-child p.tit {
	margin-top: 0;
}

#contentsArea #contentsRight #sideNav select {
	width: 100%;
	padding: 10px;
	font-size: 1.6rem;
}


/* --------------------------------------------------------------
CATEGORY,SINGLE,PAGE共通
-------------------------------------------------------------- */
.aligncenter {
	display: block;
	margin: 0 auto;
}

.alignright {
	display: block;
	margin: 0 0 30px 20px;
	float: right;
}

.alignleft {
	display: block;
	margin: 0 20px 30px 0;
	float: left;
}

.wp-caption {
	/*border: 1px solid;*/
	text-align: center;
	padding: 20px;
	margin-bottom: 30px;
	max-width: 100%;
	height: auto;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption-text a, 
.wp-caption-text {
	font-size: 1.6rem;
	line-height: 1.6;
	margin: 5px 0 0;
}

.wp-video {
	margin-bottom: 30px;
}

.sticky {}

.gallery-caption {}

.bypostauthor {}

.screen-reader-text {}

#rootCatName, 
#pageTit {
	position: relative;
}

#rootCatName::before, 
/*#pageTit::before {
	content: '';
	background: url("../images/common/innerMain.jpg") no-repeat left top / 800px 180px;
	border-radius: 30px 30px 0 0;
	width: 800px;
	height: 180px;
	position: absolute;
	left: calc(50% - 300px);
	bottom: 0;
}*/

#rootCatNameArea, 
#pageTitArea {
	width: 1024px;
	margin: 0 auto;
	padding: 20px 12px;
	/*min-height: 180px;*/
	position: relative;
}

#rootCatNameArea p, 
#pageTitArea h1 {
	font-family: "Noto Serif JP", serif;
	font-size: 4.0rem;
	line-height: 1.5;
	position: relative;
	text-align: center;
}

#pageTitArea h1 {
	font-family: "Noto Serif JP", serif;
	font-weight: normal;
	letter-spacing: 0.3em;
}

#rootCatNameArea *:last-child, 
#pageTitArea *:last-child {
	margin-bottom: 0;
}

#category h1, 
#singleDetail h1 {
	border-top: 4px solid;
	font-size: 2.8rem;
	line-height: 1.5;
	padding-top: 20px;
	margin-bottom: 40px;
}


/* --------------------------------------------------------------
CATEGORY
-------------------------------------------------------------- */
#category ul {
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 228px);
	grid-row-gap: 40px;
	grid-column-gap: 38px;
}

#category ul li {
	padding-left: 0;
	position: static;
}

#category ul li::before {
	content: none;
}

#category ul li + li {
	margin-top: 0;
}

#category p {
	margin-bottom: 0;
}

#category ul li p.ph {
	margin-bottom: 10px;
}

#category ul li p.ph a {
	border-radius: 20px;
	height: 228px;
	display: block;
	overflow: hidden;
	position: relative;
}

#category ul li p.ph a img {
	position: absolute;
	right: 50%;
	bottom: 50%;
	transform: translate(50%, 50%);
}

#category ul li p.ph a img.noImage {
	width: 228px;
}

#category ul li .sent p.time {
	font-size: 1.4rem;
	margin-bottom: 5px;
}

#category ul li .sent p.catName {
	border-radius: 6px;
	font-size: 1.2rem;
	padding: 0px 10px;
	margin-bottom: 5px;
	display: inline-block;
}

.pagination {
	margin-top: 50px;
}

.pagination .navLinks {
	display: flex;
	flex-wrap: wrap;
	margin: -10px 0 0 -10px;
}

.pagination span, 
.pagination a {
	font-size: 1.6rem;
}

.pagination .current, 
.pagination a.page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px 11px;
	margin: 10px 0 0 10px;
	text-decoration: none;
	min-width: 32px;
	min-height: 30px;
}

.pagination .page-numbers.dots {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10px 0 0 10px;
}

.pagination .current {
	border: 1px solid;
	border-radius: 20px;
}

.pagination a.page-numbers {
	border: 1px solid;
	border-radius: 20px;
}


/* --------------------------------------------------------------
SINGLE
-------------------------------------------------------------- */
#singleDetail h1 {
	margin-bottom: 20px;
}

#singleDetail h2 {
	font-size: 2.6rem;
	line-height: 1.5;
	text-align: left;
	margin: 50px 0 30px;
	padding-bottom: 0;
	position: static;
}

#singleDetail h2::after {
	content: none;
}

#singleDetail #singleData {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: -10px 0 40px -20px;
}

#singleDetail #singleData p {
	margin: 10px 0 0 20px;
}

#singleDetail #singleData p.time {
	font-size: 1.4rem;
}

#singleDetail #singleData p.catName {
	border-radius: 6px;
	font-size: 1.2rem;
	padding: 0px 10px;
}

#singleDetail .txt > *:last-child, 
#singleDetail .txt > .anc:last-child > *:last-child {
	margin-bottom: 0;
}

#singleDetail .txt > h2:first-child {
	margin-top: 0;
}

#postNav {
	border-top: 1px solid;
	padding-top: 50px;
	margin-top: 50px;
	position: relative;
}

#postNav p {
	margin-bottom: 0;
}

#postNav .box {
	width: 100%;
	display: grid;
	grid-auto-columns: 1fr;
	grid-auto-flow: column;
	align-items: center;
	column-gap: 10px;
	min-height: 46px;
	position: absolute;
}

#postNav .box p a {
	display: inline-block;
}

#postNav .box p#prev a {
	background: no-repeat left center / 20px 20px;
	padding-left: 30px;
}

#postNav .box p#next {
	justify-self: end;
}

#postNav .box p#next a {
	background: no-repeat right center / 20px 20px;
	padding-right: 30px;
}

#postNav p#return {
	text-align: center;
	width: 200px;
	margin: 0 auto;
	position: relative;
}

#postNav p#return a {
	border: 1px solid;
	border-radius: 30px;
	text-decoration: none;
	padding: 10px;
	display: block;
}


/* --------------------------------------------------------------
PAGE
-------------------------------------------------------------- */
#pageDetail .txt > *:last-child, 
#pageDetail .txt > .anc:last-child > *:last-child {
	margin-bottom: 0;
}

#pageDetail .txt > h2:first-child {
	margin-top: 0;
}


/*__________ TAB-SP __________*/
@media screen and (max-width: 959px) {

	#breadcrumbArea {
		padding: 10px;
	}

	#rootCatNameArea, 
	#pageTitArea {
		padding: 60px 10px;
	}

	#contentsArea.column2 {
		grid-template-columns: 100%;
		grid-row-gap: 50px;
	}

}


/*__________ TAB __________*/
@media screen and (max-width: 959px) and (min-width: 768px) {

	#breadcrumbArea {
		width: 768px;
	}

	#contentsArea {
		width: 768px;
		padding: 50px 10px;
	}

	#rootCatName::before, 
	#pageTit::before {
		border-radius: 30px 0 0 0;
		width: calc(50% + 174px);
		left: calc(50% - 174px);
	}

	#rootCatNameArea, 
	#pageTitArea {
		width: 768px;
	}

	#category ul {
		grid-template-columns: repeat(3, 224px);
	}

	#category ul li p.ph a {
		height: 224px;
	}

}


/*__________ SP __________*/
@media screen and (max-width: 767px) {

	#breadcrumbArea {
		width: auto;
		min-width: 320px;
		max-width: 520px;
	}

	#contentsArea {
		width: auto;
		min-width: 320px;
		max-width: 520px;
		padding: 30px 10px 50px;
	}

	#rootCatName, 
	#pageTit {
		position: static;
	}

	#rootCatName::before, 
	#pageTit::before {
		content: none;
	}

	#rootCatNameArea, 
	#pageTitArea {
		width: auto;
		min-width: 320px;
		max-width: 520px;
		min-height: initial;
	}

	#rootCatNameArea p, 
	#pageTitArea h1 {
		font-size: 3.5rem;
	}

	.aligncenter {
			margin: 0 auto 30px;
		}

	.alignright, 
	.alignleft {
		float: none;
		margin: 0 auto 30px;
	}

	#category ul {
		justify-content: center;
		grid-template-columns: repeat(auto-fit, 228px);
	}

	#postNav .box {
		min-height: initial;
		margin-bottom: 10px;
		position: static;
	}

}


/*__________ SP2 __________*/
@media screen and (max-width: 530px) {

	#category ul {
		grid-template-columns: auto;
	}

	#category ul li p.ph a {
		height: auto;
		padding-top: 100%;
	}

	#category ul li p.ph a img.noImage {
		width: 100%;
	}

}


/* --------------------------------------------------------------

-------------------------------------------------------------- */
/*____________________  ____________________*/


/*__________ TAB-SP __________*/
@media screen and (max-width: 959px) {}


/*__________ TAB __________*/
@media screen and (max-width: 959px) and (min-width: 768px) {}


/*__________ SP __________*/
@media screen and (max-width: 767px) {}







a[href$=".pdf"]:after {
  display: inline-block;
  text-decoration: inherit;
	content:"";
  margin-top: 5px;
  margin-left: 0.3em;
	width:16px;
	height:16px;
	background-size:15px;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-image: url(/wp_per/wp-content/themes/PER-Clinic-Original/images/common/ic-pdf.png);
	vertical-align: text-top;
}





/* 医師紹介 */
.doctorColumn2 {
	display: grid;
	column-gap: 30px;
}

.doctorColumn2.phL {
	grid-template-columns: 240px auto;
}

.doctorColumn2.phR {
	grid-template-columns: auto 240px;
}

.doctorColumn2 p.ph {
	margin-bottom: 0;
}

.doctorColumn2 p.ph img {
	width: 200px;
}

.doctorColumn2 .sent *:first-child {
	margin-top: 0;
}

.doctorColumn2 .sent > *:last-child {
	margin-bottom: 0;
}



/*__________ SP __________*/
@media screen and (max-width: 767px) {

	.doctorColumn2.phL, 
	.doctorColumn2.phR {
		grid-template-columns: auto;
		row-gap: 30px;
		justify-content: center;
	}

	.doctorColumn2 p.ph {
		text-align: center;
	}

}


