@charset "utf-8";

/* =========================================================
   スタッフ紹介ページ
   ========================================================= */

.staff2-page #undercommon section {
	overflow: visible;
}

.staff2-page #animal-doctor {
	margin-bottom: 110px;
}

.staff2-page #staff-members {
	margin-bottom: 100px;
}


/* =========================================================
   獣医師紹介
   皮膚科アドバイザー部分をベースにした3カラム構造
   ========================================================= */

.doctor-list {
	margin-top: 70px;
}


/* 共通 */

.staff-doctor {
	display: grid;
	grid-template-columns: 290px 300px minmax(0, 1fr);
	align-items: stretch;
	width: 100%;
	margin-bottom: 95px;
	padding-bottom: 15px;
	overflow: visible;
}

.staff-doctor:last-child {
	margin-bottom: 0;
}


/* =========================================================
   左BIOGRAPHY
   BIOGRAPHY｜写真｜紹介文
   ========================================================= */

.staff-doctor--bio-left {
	grid-template-areas:
		"biography photo message";
}

.staff-doctor--bio-left .staff-doctor__biography {
	grid-area: biography;
}

.staff-doctor--bio-left .staff-doctor__photo {
	grid-area: photo;
}

.staff-doctor--bio-left .staff-doctor__message {
	grid-area: message;
	padding-left: 0px;
	padding-right: 0;
}


/* =========================================================
   右BIOGRAPHY
   紹介文｜写真｜BIOGRAPHY
   ========================================================= */

.staff-doctor--bio-right {
	grid-template-columns: minmax(0, 1fr) 300px 290px;
	grid-template-areas:
		"message photo biography";
}

.staff-doctor--bio-right .staff-doctor__message {
	grid-area: message;
	padding-right: 0px;
	padding-left: 0;
}

.staff-doctor--bio-right .staff-doctor__photo {
	grid-area: photo;
}

.staff-doctor--bio-right .staff-doctor__biography {
	grid-area: biography;
}


/* =========================================================
   紹介文
   ========================================================= */

.staff-doctor__message {
	padding-top: 35px;
	padding-bottom: 25px;
	box-sizing: border-box;
	font-size: 13px;
	line-height: 2;
}

.staff-doctor__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 5px 13px;
}

.staff-doctor__position {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 1.8 !important;
}

.staff-doctor__heading h2 {
	margin: 0 !important;
	font-family: serif;
	font-size: 18px !important;
	line-height: 1.8;
	font-weight: 400;
	letter-spacing: .18em;
}

.staff-doctor__department {
	margin: 4px 0 25px !important;
	font-size: 13px !important;
	line-height: 1.8 !important;
}

.staff-doctor__lead {
	margin: 45px 0 28px !important;
	font-family: serif;
	font-size: 22px !important;
	line-height: 1.65 !important;
	letter-spacing: .12em;
}

.staff-doctor__body p {
	margin: 0 0 18px !important;
	font-size: 14px !important;
	line-height: 2 !important;
}

.staff-doctor__body p:last-child {
	margin-bottom: 0 !important;
}


/* =========================================================
   人物写真
   ========================================================= */

.staff-doctor__photo {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-width: 0;
	/*min-height: 525px;*/
	overflow: hidden;
}

.staff-doctor__photo img {
	display: block;
	width: 100%;
	max-width: 300px;
	max-height: 525px;
	object-fit: contain;
	object-position: center bottom;
}


/* 人物下部を白くぼかす */

.staff-doctor__photo {
	position: relative;
}

.staff-doctor__photo::after {
	content: "";
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	height: 45px;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0),
		rgba(255, 255, 255, .96)
	);
	pointer-events: none;
}


/* =========================================================
   BIOGRAPHY
   左右とも必ず290px
   ========================================================= */

.staff-doctor__biography {
	width: 290px;
	min-width: 290px;
	padding: 20px 10px 15px;
	box-sizing: border-box;
	background: linear-gradient(
		to right,
		#ffffff 0%,
		#eeeeee 100%
	);
	font-size: 10px;
	line-height: 1.45;
	letter-spacing: 0;
}


/* 左側配置時はグラデーションを逆方向へ */

.staff-doctor--bio-left .staff-doctor__biography {
	background: linear-gradient(
		to left,
		#ffffff 0%,
		#eeeeee 100%
	);
}

.staff-doctor__biography h3 {
	margin: 0 0 7px !important;
	padding: 0 0 5px !important;
	border-bottom: 1px solid #777 !important;
	font-family: "Noto Sans Japanese", sans-serif !important;
	font-size: 20px !important;
	line-height: 1.05 !important;
	font-weight: 400 !important;
	letter-spacing: .03em !important;
	text-align: left !important;
}

.staff-doctor__biography h3:nth-of-type(2) {
	margin-top: 22px !important;
}

.staff-doctor__biography dl {
	margin: 0;
	padding: 0 0 20px;
}

.staff-doctor__biography dt {
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.45;
	font-weight: 700;
}

.staff-doctor__biography dd {
	margin: 0;
	font-size: 12px;
	line-height: 1.45;
}

.staff-doctor__biography ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.staff-doctor__biography li {
	position: relative;
	margin: 0 0 3px;
	padding-left: 0;
	font-size: 14px;
	line-height: 1.5;
}


/* =========================================================
   下部スタッフ一覧
   ========================================================= */

.staff-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 55px;
	row-gap: 55px;
	margin-top: 65px;
}

.staff-card {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	gap: 0px;
	align-self: flex-start;
	min-width: 0;
	overflow: visible !important;
}

.staff-card__photo {
	position: relative;
	align-self: flex-start;
}

.staff-card__photo::after {
	content: "";
	position: absolute;
	z-index: 2;
	right: 0;
	bottom: 0;
	left: 0;
	height: 30px;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0),
		rgba(255, 255, 255, .95)
	);
	pointer-events: none;
}

.staff-card__photo img {
	display: block;
	width: 100%;
	max-width: 170px;
	height: auto;
	margin: 0 auto;
}

.staff-card__content {
	min-width: 0;
}

.staff-card__position {
	display: inline;
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 1.7 !important;
}

.staff-card__name {
	display: inline;
	margin: 0 0 0 8px !important;
	font-size: 14px !important;
	line-height: 1.7;
	font-weight: normal;
}

.staff-card__profile {
	margin: 7px 0 10px !important;
	font-size: 14px !important;
	line-height: 1.6 !important;
	border-top: 1px dotted #666;
	padding: 10px 0px 0px 0px;
}

.staff-card__message {
	margin: 0 !important;
	font-size: 14px !important;
	line-height: 1.75 !important;
}


/* =========================================================
   LINK・フッターとの回り込み防止
   ========================================================= */

.staff2-page #link {
	clear: both;
}

.staff2-page footer {
	clear: both;
}


/* =========================================================
   1021px以下
   ========================================================= */

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

	.staff-doctor,
	.staff-doctor--bio-right {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 200px 250px;
	}

	.staff-doctor--bio-left {
		grid-template-areas:
			"biography photo message";
	}

	.staff-doctor--bio-right {
		grid-template-columns: minmax(0, 1fr) 200px 250px;
		grid-template-areas:
			"message photo biography";
	}

	.staff-doctor__biography {
		width: 250px;
		min-width: 250px;
	}

	.staff-doctor__photo {
		min-height: 470px;
	}

	.staff-doctor__photo img {
		max-width: 200px;
		max-height: 470px;
	}

	.staff-doctor--bio-left .staff-doctor__message {
		padding-left: 25px;
	}

	.staff-doctor--bio-right .staff-doctor__message {
		padding-right: 25px;
	}

	.staff-doctor__lead {
		font-size: 19px !important;
	}

}


/* =========================================================
   タブレット
   ========================================================= */

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

	.doctor-card {
		gap: 25px;
	}

	.doctor-card__visual {
		grid-template-columns: 47% 53%;
	}

	.doctor-card__history {
		grid-template-columns: 52px minmax(0, 1fr);
	}

	.doctor-card__history dt,
	.doctor-card__history dd,
	.doctor-card__license li {
		font-size: 9px;
	}

	.doctor-card__catch {
		font-size: 17px !important;
	}

	.staff-grid {
		column-gap: 25px;
	}

	.staff-card {
		grid-template-columns: 125px minmax(0, 1fr);
		gap: 15px;
	}

}


/* =========================================================
   スマートフォン
   ========================================================= */

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

	.staff2-page #undercommon {
		width: auto;
		margin-right: 15px;
		margin-left: 15px;
	}

	.staff2-page #undercommon h2.mainimg {
		margin-bottom: 35px;
	}

	.staff2-page #undercommon h2.mainimg img {
		display: block;
		width: 100%;
		height: auto;
		min-height: 92px;
		object-fit: cover;
	}

	.staff2-page #undercommon section {
		padding: 0;
	}

	.staff2-page #undercommon section h3.ttl {
		font-size: 22px;
		line-height: 1.45;
		letter-spacing: .04em;
	}

	.staff2-page #animal-doctor {
		margin-bottom: 80px;
	}

	.staff2-page #staff-members {
		margin-bottom: 70px;
	}


	/* =============================================
	   獣医師
	   ============================================= */

	.doctor-list {
		margin-top: 50px;
	}

	.staff-doctor,
	.staff-doctor--bio-left,
	.staff-doctor--bio-right {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin-bottom: 75px;
		padding-bottom: 65px;
		border-bottom: 1px solid #ddd;
	}

	.staff-doctor:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}


	/* 紹介文 */

	.staff-doctor__message,
	.staff-doctor--bio-left .staff-doctor__message,
	.staff-doctor--bio-right .staff-doctor__message {
		order: 1;
		width: 100%;
		padding: 0;
	}

	.staff-doctor__heading {
		display: block;
	}

	.staff-doctor__position {
		display: block;
		font-size: 12px !important;
	}

	.staff-doctor__heading h2 {
		display: block;
		margin-top: 3px !important;
		font-size: 18px !important;
	}

	.staff-doctor__department {
		margin-top: 6px !important;
		font-size: 12px !important;
	}

	.staff-doctor__lead {
		margin: 30px 0 22px !important;
		font-size: 19px !important;
	}

	.staff-doctor__body p {
		font-size: 13px !important;
		line-height: 1.95 !important;
	}


	/* 写真 */

	.staff-doctor__photo {
		order: 2;
		width: 100%;
		min-height: 0;
		margin-top: 25px;
	}

	.staff-doctor__photo img {
		width: auto;
		max-width: 78%;
		max-height: 420px;
	}


	/* BIOGRAPHY */

	.staff-doctor__biography {
		order: 3;
		width: 100%;
		min-width: 0;
		margin-top: 0;
		padding: 22px;
		background: #eeeeee !important;
	}

	.staff-doctor__biography h3 {
		font-size: 18px !important;
	}

	.staff-doctor__biography dt,
	.staff-doctor__biography dd,
	.staff-doctor__biography li {
		font-size: 11px;
		line-height: 1.6;
	}


	/* =============================================
	   下部スタッフ
	   ============================================= */

	.staff-grid {
		display: block;
		margin-top: 50px;
	}

	.staff-card {
		display: grid;
		grid-template-columns: 115px minmax(0, 1fr);
		gap: 18px;
		align-items: center;
		margin-bottom: 45px;
		padding-bottom: 40px;
		border-bottom: 1px solid #ddd;
	}

	.staff-card:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: 0;
	}

	.staff-card__photo img {
		max-width: 115px;
	}

	.staff-card__position {
		display: block;
		font-size: 11px !important;
	}

	.staff-card__name {
		display: block;
		margin: 3px 0 0 !important;
		font-size: 14px !important;
	}

	.staff-card__profile {
		margin: 7px 0 10px !important;
		font-size: 11px !important;
	}

	.staff-card__message {
		font-size: 11px !important;
		line-height: 1.8 !important;
	}

}


/* =========================================================
   幅の狭いスマートフォン
   ========================================================= */

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

	.doctor-card__photo img {
		max-width: 88%;
	}

	.staff-card {
		grid-template-columns: 95px minmax(0, 1fr);
		gap: 13px;
	}

	.staff-card__photo img {
		max-width: 95px;
	}

}


/* =========================================================
   374px以下
   ========================================================= */

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

	.staff2-page #undercommon {
		margin-right: 10px;
		margin-left: 10px;
	}

	.doctor-card__biography {
		padding: 16px;
	}

	.doctor-card__history {
		grid-template-columns: 55px minmax(0, 1fr);
	}

	.staff-card {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 10px;
	}

	.staff-card__photo img {
		max-width: 110px;
	}

	.staff-card__position,
	.staff-card__profile,
	.staff-card__message {
		font-size: 10px !important;
	}

	.staff-card__name {
		font-size: 13px !important;
	}

}