/* ==========================================
   教授詳細プロフィール専用 (profile.css)
========================================== */

.back-link {
  display: inline-block;
  margin-bottom: 32px;
  color: #185FA5;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* --- プロフィール上部 --- */
.profile-header {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--color-border-tertiary);
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f1f5f9;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-photo svg {
  width: 80px;
  height: 80px;
}

.profile-name {
  font-size: 32px;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.profile-degree {
  font-size: 18px;
  color: #666;
  font-weight: normal;
  margin-left: 12px;
}

.profile-current-role {
  font-size: 18px;
  color: #185FA5;
  font-weight: bold;
}

/* --- CVセクション --- */
.cv-section {
  margin-bottom: 64px;
}

.cv-heading {
  font-size: 24px;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 4px solid #185FA5;
  letter-spacing: 0.05em;
}

.cv-list {
  list-style: none;
  padding: 0;
}

.cv-list li {
  display: flex;
  gap: 32px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.6;
  border-bottom: 1px dashed var(--color-border-tertiary);
  padding-bottom: 16px;
}

.cv-list li:last-child {
  border-bottom: none;
}

.cv-year {
  width: 140px;
  flex-shrink: 0;
  font-weight: bold;
  color: #185FA5;
}

.cv-detail {
  flex: 1;
  color: var(--color-text-secondary);
}

/* --- レスポンシブ（スマホ対応） --- */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .profile-degree {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .cv-list li {
    flex-direction: column;
    gap: 4px;
  }

  .cv-year {
    width: auto;
    font-size: 14px;
  }
}