/* 医師紹介ページ専用CSS */

.page-header {
    margin-top: 120px;
    background: linear-gradient(135deg, #1a4d7a, #2e6ba0);
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
}

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

.doctor-profile {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 50px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 2px solid var(--border-color);
}

.doctor-profile:last-child {
    border-bottom: none;
}

.doctor-image {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.doctor-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
    object-position: center center;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-image img.male-silhouette {
    object-fit: cover;
    object-position: center center;
}

.doctor-image img.female-silhouette {
    object-fit: cover;
    object-position: center center;
}

.doctor-image img:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.doctor-title {
    margin-bottom: 30px;
}

.doctor-title .badge {
    display: inline-block;
    background: #B8986F;
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.doctor-title h2 {
    color: #1a4d7a;
    font-size: 2rem;
    margin-bottom: 5px;
}

.doctor-name-en {
    color: var(--text-gray);
    font-size: 1rem;
    font-style: italic;
}

.doctor-message {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.doctor-message h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        margin-top: 70px;
        padding: 40px 20px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .doctor-profile {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
        padding-bottom: 50px;
    }
    
    .doctor-image {
        position: static;
    }
    
    .doctor-title h2 {
        font-size: 1.6rem;
    }
}

.doctor-message p {
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 15px;
}

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

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

.doctor-career h4,
.doctor-specialty h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.doctor-career h4 i,
.doctor-specialty h4 i {
    margin-right: 8px;
}

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

.doctor-career ul li,
.doctor-specialty ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.doctor-career ul li::before,
.doctor-specialty ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

@media (max-width: 968px) {
    .doctor-profile {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .doctor-image {
        position: relative;
        top: 0;
    }
    
    .doctor-image img {
        max-height: 400px;
    }
    
    .page-header {
        margin-top: 70px;
    }
}

@media (max-width: 576px) {
    .doctor-image img {
        max-height: 350px;
    }
}
