/* ==========================================================================
   about.css (Aboutページ専用スタイル)
   ========================================================================== */

/* --- 1. プロフィールヒーロー領域 --- */
.about-hero {
    margin-bottom: 4rem;
    padding: 3rem;
}

.profile-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.profile-visual {
    flex-shrink: 0;
    width: 300px;
}

.avatar-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05), transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
}

.visual-text {
    font-family: monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
    position: absolute;
    z-index: -1;
}

.profile-text {
    flex: 1;
}

.profile-role {
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--line-color);
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.profile-bio p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* --- 2. 研究関心タグ --- */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.5rem;
}

.interest-tag {
    font-family: monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
    cursor: default;
}

.interest-tag:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* --- 3. アカデミックタイムライン --- */
.cv-section {
    padding: 3rem;
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,0));
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 1px solid #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.timeline-year {
    font-family: monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 0.3rem 0;
}

.timeline-place {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.8rem;
}

.timeline-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

/* --- 4. 担当科目リスト（2段組みグリッド） --- */
.course-list {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0 0;
}

.course-list.grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem 2rem;
}

.course-list li {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    padding-left: 1.2rem;
    position: relative;
}

.course-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.3);
}

.course-list li.full-width {
    grid-column: span 2;
}

/* スマホ対応 */
@media (max-width: 768px) {
    .profile-grid {
        flex-direction: column;
        gap: 2rem;
    }
    
    .profile-visual {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-hero, .cv-section {
        padding: 2rem 1.5rem;
    }

    .course-list.grid-list {
        grid-template-columns: 1fr;
        gap: 0.4rem 0;
    }

    .course-list li.full-width {
        grid-column: span 1;
    }
}