@charset "utf-8";

/* --- 1. ヒーロー・導入 --- */
.director-hero {
    background: linear-gradient(rgba(36,74,61,0.8), rgba(36,74,61,0.8)), url('../images/director-bg.jpg') center/cover;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.profile-flex {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.portrait-box {
    position: relative;
    width: 320px;
}

.portrait-box img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 20px 20px 0 var(--accent-color);
}

.profile-name-tag h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.profile-name-tag h3 small {
    font-size: 1rem;
    color: var(--text-sub);
    font-weight: normal;
}

.encounter-story {
    margin-top: 30px;
    padding: 25px;
    background: #fff;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- 2. 経歴・タイムライン --- */
.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 60px;
}

.career-block {
    background: #fdfaf5;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.career-block .icon { font-size: 2rem; display: block; margin-bottom: 15px; }

.timeline-container {
    max-width: 700px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 30px;
    border-left: 2px solid #eee;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -37px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
}

.timeline-item .year {
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 5px;
}

/* --- 3. 治療雑感 (特別な引用枠) --- */
.thought-wrapper {
    background: #fff;
    padding: 60px;
    border-radius: 50px 0 50px 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.thought-quote h3 {
    font-family: 'Noto Serif JP', serif;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.5;
}

.thought-quote .emphasis {
    font-weight: bold;
    font-size: 1.15rem;
    margin: 30px 0;
    padding: 20px;
    background: #fdfaf5;
    border-radius: 10px;
}

.signature {
    text-align: right;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
}

/* --- 4. 趣味・ギャラリー --- */
.hobby-flex {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

.hobby-entry { margin-bottom: 25px; }
.hobby-entry strong { color: var(--accent-color); font-size: 1.2rem; display: block; margin-bottom: 5px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-grid figcaption {
    font-size: 0.75rem;
    margin-top: 5px;
    text-align: center;
    color: var(--text-sub);
}

/* --- 5. モバイル対応・ロゴ重なり修正込 --- */
@media (max-width: 850px) {
    .header-inner { justify-content: space-between; padding: 0 15px; }
    
    .logo { 
        font-size: 1.05rem; /* 重なり防止 */
        flex: 1; 
        line-height: 1.3;
        white-space: normal; 
        word-break: keep-all; 
    }

    .profile-flex { flex-direction: column; gap: 40px; text-align: center; }
    .portrait-box { width: 100%; max-width: 280px; margin: 0 auto; }
    .portrait-box img { box-shadow: 15px 15px 0 var(--accent-color); }
    .encounter-story { text-align: left; }
    
    .career-grid, .hobby-flex { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: 200px; }
    .thought-wrapper { padding: 40px 20px; }
}