@charset "utf-8";
/* 医師のご紹介
-----------------------------------------------------*/

#doctor-index .doctor-index-item.index_futagawa,
#doctor-index .doctor-index-item.index_matsumoto{
    margin-top: 20px;
}


/* ----------------------------
インデックス
------------------------------- */

#main .section01 .intro {
    margin-bottom: 20px;
}
#doctor-index {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.doctor-index-item {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    width: 320px;
    border: 1px solid #AAAAAA;
    padding: 15px 15px 15px 20px;
    background: #fff;
}
.doctor-index-text {
    flex: 1;
    margin-right: 10px;
}
.doctor-index-text .name {
    font-weight: normal;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 2px;
}
.doctor-index-text .romaji {
    font-size: 10px;
    color: #951528;
    display: inline-block;
    width: 100%;
    margin-bottom: 13px;
    padding-bottom: 7px;
    position: relative;
    border-bottom: 2px solid #DDDDDD;
}
.doctor-index-text .romaji::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 25%;
    height: 2px;
    background: #951528;
}
.doctor-index-text .specialty {
    margin-bottom: 14px;
    font-size: 13px;
    color: #333;
}
.doctor-index-text .index-profile-button {
    display: inline-block;
    padding: 7px 10px 5px 13px;
    border: 1px solid #951528;
    border-radius: 20px;
    background: #fff;
    text-align: center;
    font-size: 10px;
    color: #951528;
    text-decoration: none;
    cursor: pointer;
}
.doctor-index-text .index-profile-button:hover {
    background: #951528;
    color: #FFFFFF;
}
.doctor-index-photo {
    width: 74px;
    height: 100px;
    object-fit: cover;
}
/* JSで指定した人で空ける */
.doctor-index-item.margin-top-extra {
    margin-top: 20px;
}
/* ----------------------------
プロフィール詳細
------------------------------- */
.doctor-profile {
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 25px 30px 10px;
    border: 1px solid #AAAAAA;
    border-top: 4px solid #951528;
}
/* ヘッダー内：名前・ローマ字・専門分野 ＋ 写真 */
.doctor-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.doctor-profile-text {
    flex: 1;
    min-width: 0;
}
.doctor-profile-text h2 {
    margin-bottom: 6px;
    font-size: 20px;
    font-weight: normal;
}
.doctor-profile-text .romaji {
    font-size: 11px;
    font-weight: normal;
    color: #951528;
    line-height: 1.0;
    margin-bottom: 16px;
    padding-bottom: 8px;
    position: relative;
    border-bottom: 2px solid #DDDDDD;
}
.doctor-profile-text .romaji::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 25%;
    height: 2px;
    background: #951528;
}
/* 専門分野　*/
.doctor-profile-text .specialty {
    font-size: 14px;
}
.specialty span {
    color: #951528;
}
.doctor-profile-photo {
    flex: 0 0 88px;
}
.doctor-profile-photo img.photo {
    width: 88px;
    height: auto;

}
/* 詳細セクション */
.doctor-profile-section {
    clear: both;
    margin-bottom: 20px;
    border-bottom: 1px solid #DDDDDD;
}

.doctor-profile-content > .doctor-profile-section:last-child {
    border-bottom: none;

}

.doctor-profile-content > .doctor-profile-section:not(:last-child) {
        clear: both;
    margin-bottom: 20px;
    border-bottom: 1px solid #DDDDDD;
}


.doctor-profile-section h3 {
    margin-bottom: 10px;
    padding-left: 8px;
    border-left: 2px solid #951528;
    line-height: 15px;
    font-weight: normal;
    font-size: 116%;
}

.doctor-profile-section h4 {
    font-size: 116%;
    margin-bottom: 10px;
    font-weight: normal;
}
.doctor-profile-section ul {
    margin-bottom: 20px;
    margin-left: 0;
}
.doctor-profile-section ul li {
    margin-bottom: 5px;
    font-size: 116%;
    line-height: 1.5;
    padding-left: 15px;
    background-image: url(../../images/common/icon/circle01_red.png);
    background-repeat: no-repeat;
    background-size: 4px;
    background-position: left 7px;
}
.doctor-profile-section p {
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 116%;
}


/* ----------------------------
専門外来カスタマイズ
------------------------------- */


.gairai {
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 0px;
    padding: 0px;
    border: none;

}

.gairai .doctor-profile-text h2 {
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: bold;

}

.gairai .doctor-profile-text .romaji {
    font-size: 11px;
    margin-bottom: 10px;
    border-bottom: none;
    padding: 0;
    color: #333;
}

.gairai .doctor-profile-text .specialty {
  margin-bottom: 20px;
}

.gairai .doctor-profile-text .romaji::before {
    content: none!important;
    border: none!important;
     padding: 0;

}

.gairai .doctor-profile-section h3 {
    margin-bottom: 10px;
    padding-left: 8px;
    border-left: 2px solid #951528;
    line-height: 13px;
    font-weight: normal;
    font-size: 13px!important;
}


.gairai .doctor-profile-section ul li {
    margin-bottom: 3px;
    font-size: 13px!important;
    padding-left: 13px;
}

.gairai .doctor-profile-section h4 {
    font-size: 13px!important;
    margin-bottom: 5px;
}


.gairai .doctor-profile-content > .doctor-profile-section:not(:last-child){
    margin-bottom: 15px;
}
.gairai .doctor-profile-section ul {
    margin-bottom: 10px;
}



