/* 医師紹介ページ専用CSS - カード型デザイン v2.42.0 */

/* 医師紹介セクション */
.doctor-intro {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: clamp(60px, 10vw, 100px) 0;
}

.page-header {
    margin-top: 80px;
    background: linear-gradient(135deg, #2C7A7B, #4FD1C5);
    color: #ffffff;
    text-align: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.page-header p {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.95;
    letter-spacing: 0.1em;
    margin: 0;
}

.page-header .container {
    max-width: 100%;
    width: 100%;
    padding: 0 20px;
    margin: 0;
}

/* カード型医師プロフィール */
.doctor-profile {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    padding: 50px !important;
    margin-bottom: 50px !important;
    transition: all 0.3s ease;
    border: 1px solid rgba(44, 122, 123, 0.15) !important;
}

.doctor-profile:hover {
    box-shadow: 0 15px 50px rgba(44, 122, 123, 0.15);
    transform: translateY(-5px);
}

/* カード内グリッドレイアウト */
.doctor-profile-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 45px;
    align-items: start;
}

/* 医師画像エリア */
.doctor-image-wrapper {
    position: relative;
}

.doctor-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.05), rgba(79, 209, 197, 0.05));
    aspect-ratio: 3 / 4;
    width: 100%;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}

.doctor-profile:hover .doctor-image img {
    transform: scale(1.03);
}

/* バッジ */
.doctor-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #F6AD55 0%, #FBD38D 100%);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.3);
    z-index: 2;
}

/* 医師情報エリア */
.doctor-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* タイトルエリア */
.doctor-title {
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(44, 122, 123, 0.1);
}

.doctor-title h2 {
    color: #2C7A7B;
    font-size: 2.2rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
}

.doctor-name-en {
    color: var(--text-gray);
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 10px;
    display: block;
}

.doctor-position {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 8px;
}

/* メッセージエリア */
.doctor-message {
    background: linear-gradient(135deg, rgba(44, 122, 123, 0.03), rgba(79, 209, 197, 0.03));
    padding: 35px;
    border-radius: 15px;
    border-left: 4px solid #4FD1C5;
    position: relative;
}

.doctor-message::before {
    content: '"\f10d"';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2.5rem;
    color: rgba(44, 122, 123, 0.08);
}

.doctor-message h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-message h3::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #2C7A7B, #4FD1C5);
    border-radius: 2px;
}

.doctor-message p {
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 18px;
    font-size: 1.02rem;
}

.doctor-message p:last-child {
    margin-bottom: 0;
}

/* 経歴・専門エリア */
.doctor-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.doctor-career,
.doctor-specialty {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(44, 122, 123, 0.08);
    transition: all 0.3s ease;
}

.doctor-career:hover,
.doctor-specialty:hover {
    border-color: rgba(44, 122, 123, 0.2);
    box-shadow: 0 5px 20px rgba(44, 122, 123, 0.08);
}

.doctor-career h4,
.doctor-specialty h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-career h4 i,
.doctor-specialty h4 i {
    color: #4FD1C5;
    font-size: 1.1rem;
}

.doctor-career ul,
.doctor-specialty ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doctor-career ul li,
.doctor-specialty ul li {
    padding: 12px 0 12px 28px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 0.98rem;
    transition: all 0.2s ease;
}

.doctor-career ul li:hover,
.doctor-specialty ul li:hover {
    padding-left: 32px;
    color: var(--primary-color);
}

.doctor-career ul li::before,
.doctor-specialty ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #2C7A7B, #4FD1C5);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.doctor-career ul li:hover::before,
.doctor-specialty ul li:hover::before {
    width: 8px;
    height: 8px;
    left: 2px;
}

/* 単一列の詳細情報（総院長用） */
.doctor-details-full {
    display: block;
}

.doctor-details-full .doctor-career,
.doctor-details-full .doctor-specialty {
    margin-bottom: 25px;
}

.doctor-details-full .doctor-career:last-child,
.doctor-details-full .doctor-specialty:last-child {
    margin-bottom: 0;
}

/* タブレット対応 */
@media (max-width: 1024px) {
    .doctor-profile {
        padding: 40px;
    }
    
    .doctor-profile-grid {
        grid-template-columns: 280px 1fr;
        gap: 35px;
    }
    
    .doctor-details {
        grid-template-columns: 1fr;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .page-header {
        margin-top: 86px;
        height: 220px;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .doctor-profile {
        background: #ffffff !important;
        padding: 30px 25px !important;
        margin-bottom: 35px !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
        border: 1px solid rgba(44, 122, 123, 0.15) !important;
    }
    
    .doctor-profile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .doctor-image {
        max-width: 100%;
        aspect-ratio: 3 / 4;
    }
    
    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    
    .doctor-badge {
        top: 12px;
        left: 12px;
        padding: 6px 16px;
        font-size: 0.85rem;
    }
    
    .doctor-title h2 {
        font-size: 1.8rem;
    }
    
    .doctor-message {
        padding: 25px 20px;
    }
    
    .doctor-message h3 {
        font-size: 1.2rem;
    }
    
    .doctor-message p {
        font-size: 0.98rem;
    }
    
    .doctor-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .doctor-career,
    .doctor-specialty {
        padding: 25px 20px;
    }
}

/* スマートフォン対応 */
@media (max-width: 576px) {
    .doctor-profile {
        padding: 25px 20px;
    }
    
    .doctor-image {
        aspect-ratio: 3 / 4;
    }
    
    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    
    .doctor-title h2 {
        font-size: 1.6rem;
    }
    
    .doctor-message {
        padding: 20px 18px;
    }
    
    .doctor-message::before {
        font-size: 2rem;
        top: 15px;
        right: 15px;
    }
    
    .doctor-career,
    .doctor-specialty {
        padding: 20px 18px;
    }
    
    .doctor-career h4,
    .doctor-specialty h4 {
        font-size: 1.1rem;
    }
    
    .doctor-career ul li,
    .doctor-specialty ul li {
        font-size: 0.95rem;
        padding: 10px 0 10px 25px;
    }
}

/* プリント対応 */
@media print {
    .doctor-profile {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .doctor-profile:hover {
        transform: none;
    }
}
