/* 社長のブログページ専用スタイル */

/* ブログコンテナ */
.blog-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* ヒーローセクション */
.blog-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
  color: white;
  padding: 4rem 2rem;
  margin-bottom: 3rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.ceo-profile {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ceo-avatar {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 123, 255, 0.3);
}

.ceo-info h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, #ffffff, #e3f2fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ceo-subtitle {
  font-size: 1.2rem;
  color: #b0bec5;
  margin-bottom: 1rem;
  font-style: italic;
}

.ceo-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ecf0f1;
  max-width: 600px;
}

/* メインコンテンツレイアウト */
.blog-main {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* 記事一覧 */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 記事カード */
.post-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.post-date {
  color: #6c757d;
  font-size: 0.9rem;
  font-weight: 500;
}

.post-category {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-category.philosophy {
  background-color: #e8f5e8;
  color: #2e7d32;
}

.post-category.technology {
  background-color: #e3f2fd;
  color: #1565c0;
}

.post-category.team {
  background-color: #fff3e0;
  color: #ef6c00;
}

.post-category.strategy {
  background-color: #fce4ec;
  color: #c2185b;
}

.read-time {
  background-color: #f8f9fa;
  color: #495057;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.post-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.post-card:hover .post-title {
  color: #007bff;
}

.post-excerpt {
  color: #495057;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.post-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tag {
  background-color: #f8f9fa;
  color: #6c757d;
  padding: 0.3rem 0.7rem;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
}

.post-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
  border: 2px solid #007bff;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.read-more:hover {
  background-color: #007bff;
  color: white;
  transform: translateX(4px);
}

.post-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.likes, .views {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* サイドバー */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-section {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
}

.sidebar-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #007bff;
}

.category-list, .recent-posts, .archive-list {
  list-style: none;
  padding: 0;
}

.category-list li, .archive-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f8f9fa;
}

.category-list li:last-child,
.archive-list li:last-child {
  border-bottom: none;
}

.category-list a, .archive-list a {
  color: #495057;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.category-list a:hover, .archive-list a:hover {
  color: #007bff;
}

.count {
  color: #adb5bd;
  font-size: 0.9rem;
}

.recent-posts li {
  padding: 0.7rem 0;
  border-bottom: 1px solid #f8f9fa;
}

.recent-posts li:last-child {
  border-bottom: none;
}

.recent-posts a {
  color: #495057;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.recent-posts a:hover {
  color: #007bff;
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.page-btn {
  padding: 0.7rem 1rem;
  color: #6c757d;
  text-decoration: none;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.page-btn:hover, .page-btn.active {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

/* 戻るボタンコンテナ */
.back-button-container {
  text-align: center;
  margin-top: 3rem;
}

.back-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #6c757d;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
  .blog-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .blog-sidebar {
    order: -1;
  }
  
  .sidebar-section {
    display: none;
  }
  
  .sidebar-section:first-child {
    display: block;
  }
}

@media (max-width: 768px) {
  .blog-container {
    padding: 1rem 0.5rem;
  }
  
  .blog-hero {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  .ceo-profile {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  
  .ceo-info h1 {
    font-size: 1.8rem;
  }
  
  .avatar-placeholder {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  .post-card {
    padding: 1.5rem;
  }
  
  .post-title {
    font-size: 1.3rem;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .post-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .post-tags {
    display: none;
  }
  
  .post-stats {
    font-size: 0.8rem;
  }
  
  .ceo-description {
    font-size: 1rem;
  }
}