/* 担当医師紹介コンテンツ */

.inner50 {
    width: 100%;
    max-width: 840px;
    padding: 0 20px;
    margin: auto;
}
/*担当医のご紹介*/
.doctorBox-wrap{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    grid-gap: 20px;
    width: 100%;
    max-width: 860px;
    margin: auto;
}
.doctorBox-wrap .doctorBox{
    width: calc(34% - 20px);
    align-content: flex-start;
    padding: 0;
    background-color: transparent;
    filter: unset;
}
.doctorBox-wrap .doctorBox .img{
    width: calc(100% - 60px);
}
.doctorBox-wrap .doctorBox .img img{
    max-width: 200px;
}
.doctorBox-wrap .doctorBox .text{
    width: calc(100% - 0px);
}
.doctorBox-wrap .doctorBox .text h3,
.doctorBox-wrap .doctorBox .text h3 span,
.doctorBox-wrap .doctorBox .text h3 small{
    text-align: center;
    margin-bottom: 0;
}

.doctorBox{
    margin: 30px auto 0;
    padding: 30px 30px 30px;
    width: 100%;
    max-width: 890px;
    display: flex;
    flex-wrap: wrap;
    grid-gap: 20px;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: white;
    border-radius: 20px;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.15));
}
.doctorBox .text h3 {
    font-size: clamp(16px,2.5vw,22px);
    font-weight: bold;
    margin-bottom: 20px;
}
.doctorBox p.baloon{
    width: 35%;
    height: auto;
    max-width: 130px;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    text-align: center;
    font-size: clamp(13px,2.5vw,14px);
    color: #86c22a;
    border: solid 1px #86c22a;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    grid-gap: 5px;
    position: absolute;
    top: -20px;
    right: 5%;
}
.doctorBox p.baloon strong{
    font-size: clamp(15px,2.5vw,16px);
    font-weight: bold;
}
.doctorBox .img{
    width: calc(30% - 20px);
    text-align: center;
}
.doctorBox .img img{
    border-radius: 50%;
    width: 100%;
    max-width: 254px;
    border: 2px solid transparent;
    transition: .4s;
}
.doctorBox a:hover .img img{
    opacity: 1;
    border: 2px solid #86c22a;
}
.doctorBox .text{
    width: calc(70% - 20px);
}
.doctorBox .text p{
    font-size: clamp(14px,2.5vw,15px);
}
.doctorBox a{
    display: contents;
}
.doctorBox .text p span,
.doctorBox .text h3 span{
    display: block;
    font-size: clamp(15px,2.5vw,16px);
    font-weight: bold;
    color: #86c22a;
    margin-bottom: 8px;
}
.doctorBox .text h3 small{
    font-size: 75%;
    font-weight: normal;
    margin-left: 10px;
}
@media only screen and (max-width: 890px) {
    .doctorBox-wrap {
        grid-gap: 0;
        padding: 0;
    }
    .doctorBox-wrap .doctorBox,
    .doctorBox{
        width: 100%;
    }
    .doctorBox-wrap .doctorBox .img {
        width: calc(55% - 20px);
    }
    .doctorBox-wrap .doctorBox .text {
        width: calc(45% - 0px);
    }
    .doctorBox-wrap .doctorBox .text h3,
    .doctorBox-wrap .doctorBox .text h3 small{
        display: block;
        margin: 0;
        text-align: left;
    }
    .doctorBox + .doctorBox{
        padding-top: 30px;
        border-top: dashed 1px #86c22a;
        border-radius: unset;
    }
    .doctorBox .text,
    .doctorBox .img{
        width: 100%;
    }
    .doctorBox .text h3,
    .doctorBox .text h3 span{
        text-align: center;
        margin-bottom: 5px;
    }
    .doctorBox .img img{
        max-width: 220px;
        margin: auto;
    }
}