@charset "utf-8";

/*----------------------------------------------------*/ 
/* common
------------------------------------------------------*/ 
#mv {
	background:#FFFFFF url(/lib/img/uniq/staff/mv.jpg) center bottom no-repeat;
}


#contents p {
	font-size:108%;
	margin-top:10px;
}

#contents section {
	margin-top:20px;
}

.column2 {
	overflow:hidden;
	margin-top:20px;
}

.column2 > section {
	width:310px;
	float:right;
}

.column2 > section:first-child {
	float:left;
}

@media only screen and (max-width: 767px) {
	
#mv {
	background:#FFFFFF url(/lib/img/uniq/staff/mv.jpg) center bottom no-repeat;
	background-size:contain;
}
	
.column2 > section {
	width:100%;
	float:none;
}

.column2 > section:first-child {
	float:none;
}

	
}

/*----------------------------------------------------*/ 
/* custum
------------------------------------------------------*/ 

#contents .doctormessage {
	background:#FFFFFF;
	margin-bottom:80px;
	padding:15px 20px 20px;
}

#contents .doctormessage dl {
	display:table;
	margin-bottom:20px;
}

#contents .doctormessage dl dt {
	display:table-cell;
	vertical-align:middle;
	width:140px;
}

#contents .doctormessage dl dd {
	color: #008885;
	display:table-cell;
	font-size:123.1%;
	font-weight:bold;
	line-height:1.8;
	vertical-align:middle;
}

#contents .msgtxt {
	background:linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(100, 100, 100, 0) 97.5%, #646464 100%);
	background-size:8px 100%, 100% 3em;
	line-height:3em;
	overflow:hidden;
	padding:0 .5em;
}

#contents .msgtxt p {
	line-height:2.8em;
	margin:0;
}

#contents ul.list {
	margin:15px 0 15px 25px;
}

#contents table.history {
	width:100%;
}

@media only screen and (max-width: 767px) {

#contents .doctormessage {
	margin-bottom:40px;
	padding:15px 10px 10px;
}

#contents .doctormessage dl {
	margin-bottom:10px;
}

#contents .doctormessage dl dt {
	width:20%;
}

#contents .doctormessage dl dt img {
	height:auto;
	width:90%;
}

#contents .doctormessage dl dd {
	font-size:1.4rem;
	line-height:1.5;
}

#contents .msgtxt {
	background:linear-gradient(90deg, rgba(237, 119, 128, 0) 0%, rgba(237, 119, 128, 0) 50%, #fff 0%, #fff 100%), linear-gradient(180deg, rgba(100, 100, 100, 0) 0%, rgba(100, 100, 100, 0) 97%, #646464 100%);
	background-size:8px 100%, 100% 2.6em;
	line-height:2.6em;
	padding:0;
}

#contents .msgtxt p {
	font-size:1.4rem;
	line-height:2.6em;
}


#contents .doctormessage  div.photo {
	float:none;
	text-align: center;
	width: 100%;
}

}

/* history */

#contents table.history {
	width:600px;
}

#contents table.history th,
#contents table.history td {
	padding:5px 15px;
	vertical-align:top;
	font-weight:normal;
}

#contents table.history th {
	text-align:right;
	width:40%;
}

#contents table.history th.month {
	width:3em;
}

/* staff */
#contents #staffmb {
	margin-bottom:80px;
}

#contents #staffmb ul {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

#contents #staffmb ul li {
	margin-bottom:40px;
	width:30%;
}

#contents #staffmb ul li img {
	height:auto;
	width:100%;
}

#contents dl.staff_hd {
	background:#FFFFFF;
	box-sizing:border-box;
	margin-bottom:10px;
	padding:3px;
}

#contents dl.staff_hd dd {
	display:block;
	padding:14px 14px 18px;
}

#contents dl.staff_detail dt {
	border-bottom:1px dashed #646464;
	font-weight:bold;
	padding:5px;
}

#contents dl.staff_detail dd {
	font-size:93%;
	padding:5px;
}


/* certificate */
#contents .certificate ul {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

#contents .certificate ul li {
	margin-bottom:40px;
	width:22%;
}

#contents .certificate ul::before{
 content:"";
 display: block;
 order:1;
	width:22%;
}
#contents .certificate ul::after{
 content:"";
 display: block;
	width:22%;
}

#contents .certificate ul li img {
	height:auto;
	width:100%;
}

#contents .certificate ul li span {
	display:block;
	padding-top:10px;
}


@media only screen and (max-width: 767px) {

#contents table.history {
	width:100%;
}

#contents table.history th {
	background:#FFFFFF;
	border-left:3px solid #6b584d;
	box-sizing:border-box;
	display:block;
	font-weight:bold;
	padding:5px 10px 5px 12px;
	text-align:left;
	width:auto;
}

#contents table.history td {
	display:block;
}

/* staff */
#contents #staffmb {
	margin-bottom:30px;
}

#contents #staffmb ul {
	display:block;
}

#contents #staffmb ul li {
	margin-bottom:20px;
	width:auto;
}

/* certificate */
#contents .certificate ul li {
	margin-bottom:20px;
	width:48%;
}

#contents .certificate ul::before,
#contents .certificate ul::after {
 display:none;
}

#contents .certificate ul li span {
	font-size:1.3rem;
}

}

/**/

#contents .doctorinfo > section {
	position: relative;
	overflow: hidden;
	margin:0 0 80px;
	min-height:450px;
 padding-right: 450px;
}

#contents .doctorinfo > section#certificate_mori {
 padding: 0;
}

#contents .doctorinfo h2 + section {
	margin-top: 0px;
}

#contents .doctorinfo > section .message {
 margin-bottom: 15px;
}

#contents .doctorinfo > section .photo {
	position:absolute;
	top:0;
	right:0;
	width:400px;
}

#contents .doctorinfo > section .photo img {
	height:auto;
	width:100%;
}

@media only screen and (max-width: 767px) {

#contents .doctorinfo > section {
	border:2px solid #CCC;
	border-radius:10px;
	margin:0 0 30px;
	min-height:0;
	padding:10px;
}
	
#contents .doctorinfo > section .photo {
	margin-bottom:10px;
	position:relative;
	top:auto;
	right:auto;
	text-align:center;
	width:auto;
}

}

/* academic */
#contents #academic_list,
#contents #member_list {
	margin:0 0 80px;
}

#contents #academic_list > ul > li {
	border-bottom:1px dashed #CCCCCC;
	padding:20px 0 10px;
}

#contents #academic_list > ul > li > ul,
#contents #member_list ul {
	letter-spacing:-.40em;
}

#contents #academic_list > ul > li > ul > li,
#contents #member_list ul li {
	box-sizing:border-box;
	display:inline-block;
	letter-spacing:normal;
	line-height:1.6;
	margin-bottom:10px;
	padding-left:1em;
	position:relative;
	vertical-align:top;
	width:32%;
}

#contents #academic_list > ul > li > ul > li.long {
	width:100%;
}

#contents #academic_list > ul > li > ul > li:before,
#contents #member_list ul li:before {
	content:"・";
	height:1em;
	left:0;
	position:absolute;
	top:0;
	width:1em;
}

@media only screen and (max-width: 767px) {

#contents #academic_list,
#contents #member_list {
	margin:0 0 40px;
}

#contents #academic_list > ul > li {
	border-bottom:1px dashed #CCCCCC;
	padding:10px 0 5px;
}

#contents #academic_list > ul > li > ul > li,
#contents #member_list ul li {
	margin-bottom:6px;
	width:100%;
}

}