/* ==============================
   ウェビナー詳細ページスタイル
============================== */

/* パディング調整 */
.padding-top {
  padding-top: 80px;
}

/* 詳細コンテナ */
.webinar-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* レイアウト */
.webinar-detail-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  margin-bottom: 60px;
}

/* ==============================
   メインコンテンツエリア
============================== */
.article-main {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.article-detail-container {
  width: 100%;
}

/* アイキャッチ画像 */
.article-image {
  margin-bottom: 30px;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* メタ情報 */
.article-meta {
  margin-bottom: 20px;
}

.webinar-date {
  font-size: 16px;
  color: #666;
  display: block;
}

/* タイトル */
.article-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 20px 0;
  line-height: 1.4;
}

/* ステータス表示 */
.webinar-status {
  margin: 20px 0;
}

.status-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: bold;
}

.status-badge.upcoming {
  background-color: #2E7D32;
  color: white;
}

.status-badge.ended {
  background-color: #666;
  color: white;
}

/* デコレーティブライン */
.decorative-lines {
  display: flex;
  gap: 10px;
  margin: 30px 0;
}

/* コンテンツ本文 */
.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin: 30px 0;
}

.article-content h2 {
  font-size: 24px;
  margin: 30px 0 20px;
  color: #333;
}

.article-content h3 {
  font-size: 20px;
  margin: 25px 0 15px;
  color: #333;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 40px;
}

.article-content li {
  margin-bottom: 10px;
}

/* 申し込みボタン */
.webinar-registration {
  text-align: center;
  margin: 40px 0;
}

.registration-button {
  display: inline-block;
  background-color: #007ACC;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.registration-button:hover {
  background-color: #005999;
}

/* 一覧に戻るボタン */
.view-all-button-container {
  text-align: center;
  margin: 40px 0;
}

.view-all-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background-color: #f0f0f0;
  border-radius: 25px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.view-all-button:hover {
  background-color: #e0e0e0;
}

.arrow-icon {
  width: 20px;
  height: auto;
}

/* ==============================
   サイドバー
============================== */
.article-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* 開催予定のウェビナー */
.upcoming-webinars {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
}

.upcoming-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #007ACC;
}

.upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* サイドバーカード */
.sidebar-card {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.sidebar-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-card .card-thumbnail {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
}

.sidebar-card .card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-card .card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-card .card-title {
  font-size: 14px;
  line-height: 1.4;
  font-weight: bold;
}

.sidebar-card .card-title a {
  color: #333;
  text-decoration: none;
}

.sidebar-card .card-title a:hover {
  color: #007ACC;
}

.sidebar-card .card-meta {
  font-size: 12px;
  color: #666;
}

/* ==============================
   関連ウェビナーセクション
============================== */
.related-webinars {
  margin-top: 80px;
}

.latest-header {
  text-align: center;
  margin-bottom: 40px;
}

.latest-decorative-lines {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

/* ==============================
   レスポンシブデザイン
============================== */
@media (max-width: 1024px) {
  .webinar-detail-layout {
    grid-template-columns: 1fr;
  }
  
  .article-sidebar {
    position: static;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .article-main {
    padding: 20px;
  }
  
  .article-title {
    font-size: 24px;
  }
  
  .upcoming-webinars {
    padding: 20px;
  }
  
  .upcoming-title {
    font-size: 20px;
  }
}