@charset "utf-8";

.doctor .section--wrap {
    margin: 20px auto;
}
.doctor--section .grid--col-2 > .grid--item {
    margin: 0 30px 0 0;
}
.doctor--section .grid--col-2 > .grid--item:last-child {
    margin: 0;
}
.doctor {
    width: 100%;
}
.doctor .doctor-img--wrap {
    width: 250px;
    margin: 0 auto 70px;
}
.doctor .doctor-img--wrap img {
    width: 100%;
}
.doctor-list--wrap {
    width: 100%;
    margin: 20px auto 0;
}
.doctor-list--wrap ul {
    padding: 0;
}
.doctor-list--wrap h3 {
    margin-bottom: 0;
    color: #0098B4;
    font-size: 1.125rem;/* 18px */
    font-weight: 500;
}
.doctor-list--wrap img {
    margin-bottom: 0;
    color: #0098B4;
    font-size: 1.125rem;/* 18px */
    font-weight: 500;
}
@media screen and (max-width: 768px) {
    .doctor--section .grid--col-2 > .grid--item {
        padding: 1px 25px;
    }
    .doctor-img02 {
        width: 70%;
        margin: 0 auto;
    }
}
/* ====================
　画像の位置設定（position）
==================== */
.doctor-list--wrap {
    position: relative;
    z-index: 0; /* ベースとなる要素に0を設定 */
}
.doctor-list--wrap .doctor-img02 {
    position: absolute;
    right: -30px;
    bottom: -200px;
    max-width: 370px;
    width: 70%;
    border-radius: 20px 0 0 20px;
    object-fit: cover;
    z-index: 1; /* 背景画像のレイヤーを1に設定 */
}
.doctor-list--wrap ul {
    position: relative;
    z-index: 2; /* テキストは画像の上に表示させるため2に設定 */
}
@media screen and (max-width: 768px) {
    .doctor-img02 {
        width: 70%;
        margin: 0 auto;
    }
}
/* ====================
　End 画像の位置設定（position）
==================== */

@media (hover: hover) {
    .doctor-icon:hover img {
        opacity: 0.5;
    }
    .doctor a:hover p {
        color: #0098B4;
    }
}
@media screen and (max-width: 768px) {
    .doctor {
        padding: 10px 10px;
    }
    .doctor-list--wrap {
        width: 100%;
    }
}