/*-----一覧-----*/
.sec-doctor .h2-box.txt-dark{
	color: #fff;
}
.sec-doctor .h2-box.txt-dark > span::before{
	background: #fff;
}
.doctor__wrapper{
	margin: 80px auto;
	max-width: 1320px;
}
.doctor__wrapper a:hover{
	opacity: 0.6;
}
.doctor__wrapper ul{
	display: flex;
	flex-wrap: wrap;
}
.doctor__wrapper li{
	position: relative;
/*	width: calc(100%/4);*/
	margin-right: 2%;
	margin-bottom: 25px;
}
.doctor__wrapper li:nth-child(4n){
	margin-right: 0;
}
.doctor__wrapper li,.doctor__wrapper li img{
	max-width: 300px;
    max-height: 350px;
    border-radius: 10px;
	width: 100%;
}
.doctor__wrapper .icon-card-arrow{
	display: flex;
 justify-content: center;
 align-items: center;
 overflow: hidden;
 width: 40px;
 height: 60px;
 flex-shrink: 0;
 border: 1px solid #fff;
 border-radius: 999px;
 position: absolute;
 aspect-ratio: 1 / 1;
 transition: all ease-in-out 0.4s;
 right: 0;
 bottom: 0;
}
.doctor__wrapper .icon-card-arrow::before{
	content: "";
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(../images/common/icon-more-arrow-right-wh.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 8px;
    height: auto;
    aspect-ratio: 1 / 1;
    transition: all ease 0.33s;
    position: absolute;
}
.doctor__wrapper .name{
 width: 87%;
	display: flex;
	justify-content: space-between;
	position: absolute;
	bottom: 20px;
    left: 20px;
    right: 20px;
	font-size: 20px;
	font-weight: bold;
}
.doctor__wrapper .name > div:nth-child(1){
 width: 100%;
}
.doctor__wrapper .name span{
	font-size: 12px;
	font-weight: normal;
}
.doctor__wrapper .name div p:nth-child(2){
 width: 80%;
 max-height: 50px;
 overflow: scroll;
 margin: 10px 10px 0 0;
}
.doctor__wrapper .gradation::before{
	content: "";
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
	border-radius: 0 0 10px 10px;
    background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,1));
}

@media screen and (max-width: 1764px){
	.doctor__wrapper li:nth-child(4n){
		margin-right: 2%;
	}
	.doctor__wrapper li:nth-child(3n){
		margin-right: 0;
	}
}
@media screen and (max-width: 1385px){
	.doctor__wrapper li:nth-child(3n){
		margin-right: 2%;
	}
	.doctor__wrapper li:nth-child(2n){
		margin-right: 0;
	}
}
@media screen and (max-width: 1200px){
	.doctor__wrapper li,
	.doctor__wrapper li:nth-child(2n){
		margin-right: 2%;
	}
}

@media screen and (max-width: 896px){
	.doctor__wrapper ul{
		display: block;
	}
	.doctor__wrapper li{
		margin: 0 auto 25px auto!important;
	}
	.doctor__wrapper li:nth-child(4n){
		margin-right: auto;
	}
	.doctor__wrapper{
		margin-bottom: 0;
	}
}


/*-----single-----*/
.doctor-profile{
	width: 100%;
    display: flex;
    flex-flow: column;
    gap: 80px;
    align-items: flex-start;
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 38px 0px;
	color: #11445E;
	margin-bottom: 85px;
}
.doctor-profile img{
	width: 300px;
	height: 350px;
	border-radius: 10px;
}
.doctor-profile .name{
	font-size: 30px;
	font-weight: bold;
	display: table;
	margin-bottom: 20px;
}
.doctor-profile .name span{
	font-size: 12px;
	font-weight: normal;
	padding-left: 27px;
	display: table-cell;
	vertical-align: middle;
}
.doctor-profile .career{
	line-height: 28px;
	margin-bottom: 30px;
}
.doctor-profile h4{
	font-size: 18px;
    font-weight: bold;
	position: relative;
	padding-left: 15px;
	margin-bottom: 30px;
}
.doctor-profile h4::before{
	content:"";
    display:inline-block;
    width:1px;
    height:30px;
    background-color:#11445E;
    position:absolute;
    top:-4px;
    left:0;
}
.doctor-profile .flex__wrapper{
	padding: 0 50px;
	display: flex;
	width: 100%;
}
.doctor-profile .profile__wrapper{
	margin-left: 80px;
	width: 100%;
}
.doctor-profile .flex__box{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.doctor-profile .specialty, .doctor-profile .capacity, .doctor-profile .hobby, .doctor-profile .like, .doctor-profile .message{
	width: 48%;
	margin-bottom: 50px;
}
.doctor-profile .specialty p,.doctor-profile .capacity p,.doctor-profile .hobby p,.doctor-profile .like p,.doctor-profile .message p{
	line-height: 28px;
}


@media screen and (max-width: 896px){
	.doctor-profile .flex__wrapper{
		display: block;
		padding: 0 20px;
	}
	.doctor-profile img{
		width: auto;
		height: auto;
	}
	.doctor-profile .profile__wrapper{
		margin: 30px 0;
	}
	.doctor-profile .name{
		font-size: 25px;
	}
	.doctor-profile .flex__box{
		display: block;
	}
	.doctor-profile .specialty{
		margin-bottom: 50px;
	}
	.doctor-profile h4{
		margin-bottom: 20px;
	}
	.doctor-profile .profile__wrapper{
		margin-bottom: 0;
	}
	section.lower-contents-area{
		margin-bottom: 50px;
	}
	.doctor-profile .specialty, .doctor-profile .capacity, .doctor-profile .hobby, .doctor-profile .like, .doctor-profile .message{
		width: 100%;
		margin-bottom: 40px;
	}
}

.section::-webkit-scrollbar-track {
 background-color: darkgrey;
}