@charset "utf-8";

/*-----------------------------------------------------
医師のご紹介（深川用）
-----------------------------------------------------*/

/*アクセントカラー*/
:root {
--accent-color: #07A989;
}

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

#doctor-index {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

/* スマートフォンで１列*/
@media screen and (max-width: 600px) {
    #doctor-index {
        grid-template-columns: 1fr;
		margin-bottom: 25px;
    }
}

.doctor-index-item {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    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.0;
    margin-bottom: 0px;
}
.doctor-index-text .romaji {
    font-size: 11px;
    color: var(--accent-color);
    display: inline-block;
    width: 100%;
    margin-bottom: 13px;
    padding-bottom: 5px;
    position: relative;
    border-bottom: 2px solid #DDDDDD;
}
.doctor-index-text .romaji::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 25%;
    height: 2px;
    background: var(--accent-color);
}
.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 var(--accent-color);
    border-radius: 20px;
    background: #fff;
    text-align: center;
    font-size: 10px;
    color: var(--accent-color);
    text-decoration: none;
    cursor: pointer;
	font-weight: bold;
}
.doctor-index-text .index-profile-button:hover {
    background: var(--accent-color);
    color: #FFFFFF;
}
.main__inner .doctor-index-photo {
    width: 74px;
    height: 100px;
    object-fit: cover;
}

/* ----------------------------
プロフィール詳細
------------------------------- */
.doctor-profile {
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 30px;
    padding: 25px 30px 10px;
    border: 1px solid #AAAAAA;
    border-top: 4px solid var(--accent-color);
}

/* スマートフォンでパディング狭く*/
@media screen and (max-width: 600px) {
.doctor-profile {
  padding: 15px 15px 10px;
margin-bottom: 20px;
	}
}

/* ヘッダー内：名前・ローマ字・専門分野 ＋ 写真 */
.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: 2px;
    font-size: 20px;
    font-weight: normal;
}
.doctor-profile-text .romaji {
    font-size: 12px;
    font-weight: normal;
    color: var(--accent-color);
    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: var(--accent-color);
}
/* 専門分野　*/
.doctor-profile-text .specialty {
    font-size: 14px;
    margin-bottom: 20px;
}
.specialty span {
    color: var(--accent-color);
}
.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 var(--accent-color);
    line-height: 15px;
    font-weight: normal;
    font-size: 14px;
}

.doctor-profile-section h4 {
    font-size: 14px;
    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: 14px;
    line-height: 1.5;
    padding-left: 15px;
    background-image: url(/fukagawa/image/common/list_dot-green.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: 14px;
}




