/* ==========================================
   講師紹介ページ専用スタイル
========================================== */

/* ページヘッダー */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  color: var(--bg-white);
}

.page-title {
  font-size: 3rem;
  color: var(--bg-white);
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* プロフィールカード */
.profile-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.profile-image {
  position: sticky;
  top: 100px;
}

.profile-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--primary-color);
  object-fit: cover;
}

.profile-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.profile-placeholder span {
  font-size: 8rem;
}

.profile-content {
  padding-top: 2rem;
}

.profile-name {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.profile-title {
  font-size: 1.2rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.profile-role {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-weight: 500;
}

.profile-intro {
  background-color: var(--bg-warm);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
}

.profile-intro p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  margin: 0;
}

/* 資格・経歴グリッド */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.credential-card {
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.credential-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary-color);
}

.credential-header {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  padding: 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--primary-color);
}

.credential-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}

.credential-header h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin: 0;
}

.credential-body {
  padding: 2rem;
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credential-list li {
  color: var(--text-secondary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  line-height: 1.7;
  position: relative;
  padding-left: 1.5rem;
}

.credential-list li:last-child {
  border-bottom: none;
}

.credential-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

/* タイムライン */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

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

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.5rem;
  top: 0.5rem;
  width: 30px;
  height: 30px;
  background-color: var(--bg-white);
  border: 4px solid var(--primary-color);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.current::before {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  box-shadow: 0 0 0 4px rgba(232, 115, 95, 0.2);
}

.timeline-year {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: var(--bg-white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.timeline-content {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--border-color);
}

.timeline-content h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* メッセージボックス */
.message-box {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--primary-color);
}

.message-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 2.5rem;
  text-align: center;
}

.message-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.message-title {
  color: var(--bg-white);
  font-size: 2rem;
  margin: 0;
}

.message-content {
  padding: 3rem;
}

.message-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  text-align: center;
}

.message-text:last-of-type {
  margin-bottom: 2.5rem;
}

.message-signature {
  text-align: right;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  padding-top: 2rem;
  border-top: 2px solid var(--border-color);
}

.message-signature strong {
  color: var(--primary-color);
  font-size: 1.3rem;
}

/* 概要テーブル */
.overview-table {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-color);
}

.overview-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border-color);
}

.overview-row:last-child {
  border-bottom: none;
}

.overview-label {
  background-color: var(--secondary-light);
  padding: 1.5rem 2rem;
  font-weight: 700;
  color: var(--primary-color);
  border-right: 2px solid var(--border-color);
  display: flex;
  align-items: center;
}

.overview-value {
  padding: 1.5rem 2rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.overview-value small {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* CTAセクション */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 5rem 2rem;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  background-color: var(--bg-white);
  color: var(--primary-color);
  font-weight: 700;
}

.btn-large:hover {
  background-color: var(--secondary-light);
  color: var(--primary-dark);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .page-header {
    padding: 4rem 1.5rem 3rem;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .page-subtitle {
    font-size: 1.05rem;
  }

  .profile-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .profile-image {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }

  .profile-photo {
    border-radius: 16px;
  }

  .profile-placeholder span {
    font-size: 6rem;
  }

  .profile-content {
    padding-top: 0;
  }

  .profile-name {
    font-size: 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .profile-title {
    font-size: 1rem;
  }

  .profile-role {
    font-size: 1.05rem;
  }

  .profile-intro {
    padding: 1.5rem;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    padding-left: 2rem;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: -1.25rem;
    width: 24px;
    height: 24px;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .message-header {
    padding: 2rem 1.5rem;
  }

  .message-icon {
    font-size: 3rem;
  }

  .message-title {
    font-size: 1.6rem;
  }

  .message-content {
    padding: 2rem 1.5rem;
  }

  .message-text {
    font-size: 1rem;
  }

  .overview-row {
    grid-template-columns: 1fr;
  }

  .overview-label {
    border-right: none;
    border-bottom: 2px solid var(--border-color);
    padding: 1rem 1.5rem;
  }

  .overview-value {
    padding: 1rem 1.5rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-text {
    font-size: 1rem;
  }
}
