@charset "UTF-8";

/**
 * セミナー一覧ページ専用スタイルシート
 *
 * 2カラムレイアウト（メイン + サイドバー）
 * 配色: Shwat Teal (#00A6AC)
 *
 * @package SWELL Child
 * @since 1.1.0
 */

/* ==================================================
   基本設定
================================================== */

.seminar-list-page {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background-color: #fff;
}

/* SWELLのデフォルトコンテナpadding無効化 */
#content.l-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

#main-content {
  width: 100% !important;
}

#sidebar {
  display: none !important;
}

/* ==================================================
   ページヘッダー
================================================== */

.seminar-list-header {
  background-color: #fff;
  background-image: url('../images/bg-seminar-header.png');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 40px;
}

.seminar-list-header .container {
  max-width: 1200px;
  margin: 0 auto;
}

.seminar-list-header .page-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
}

.seminar-list-header .page-description {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* ==================================================
   メインレイアウト（2カラム）
================================================== */

.seminar-archive-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 0 20px;
  gap: 40px;
}

/* メインコンテンツ（左側） */
.seminar-main-content {
  width: 72%;
  flex: 1;
}

/* サイドバー（右側） */
.seminar-sidebar {
  width: 25%;
  min-width: 280px;
  flex-shrink: 0;
}

/* ==================================================
   セミナーリスト（メインコンテンツ）
================================================== */

.seminar-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* セミナーカード */
.seminar-card {
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  /* 少し丸みを持たせる */
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.seminar-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
  border-color: #00A6AC;
}

.seminar-card-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

/* サムネイル画像 */
.seminar-thumbnail {
  flex: 0 0 360px;
  /* 少し大きめに調整 */
  width: 360px;
  min-height: 220px;
  overflow: hidden;
  background-color: #f0f0f0;
  position: relative;
}

.seminar-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.seminar-card:hover .seminar-thumbnail img {
  transform: scale(1.05);
}

/* 受付ステータスバッジ */
.status-badge-wrapper {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

.status-badge.accepting {
  background-color: #00A6AC;
  /* Shwat Teal */
  color: #fff;
}

.status-badge.closed {
  background-color: #666;
  color: #fff;
}

/* カード本文 */
.seminar-card-body {
  flex: 1;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* カテゴリーラベル */
.seminar-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.category-label {
  display: inline-block;
  background-color: #fff;
  color: #00A6AC;
  border: 1px solid #00A6AC;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* タイトル */
.seminar-card .seminar-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.seminar-card:hover .seminar-title {
  color: #00A6AC;
}

/* メタ情報 */
.seminar-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.meta-icon {
  color: #00A6AC;
  width: 18px;
  text-align: center;
  margin-top: 2px;
}

/* 詳細を見るボタン */
.seminar-view-more {
  margin-top: auto;
  text-align: right;
}

.view-more-text {
  color: #00A6AC;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.seminar-card:hover .view-more-text {
  color: #007d82;
}

/* 受付終了カード */
.seminar-card.is-closed {
  background-color: #fafafa;
}

.seminar-card.is-closed .seminar-thumbnail {
  filter: grayscale(100%);
  opacity: 0.8;
}

.seminar-card.is-closed .seminar-title {
  color: #666;
}

/* ==================================================
   ページネーション
================================================== */

.seminar-pagination {
  margin-top: 60px;
  text-align: center;
}

.seminar-pagination .page-numbers {
  display: inline-flex;
  gap: 5px;
  list-style: none;
}

.seminar-pagination a,
.seminar-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  border-radius: 4px;
}

.seminar-pagination a:hover,
.seminar-pagination .current {
  background-color: #00A6AC;
  border-color: #00A6AC;
  color: #fff;
}

/* ==================================================
   サイドバー
================================================== */

.seminar-sidebar-widget {
  background: #fff;
  padding: 25px;
  margin-bottom: 30px;
  border: 1px solid #eee;
  border-radius: 4px;
}

.sidebar-widget-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #00A6AC;
  color: #333;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-widget-title i {
  color: #00A6AC;
}

/* 最新記事リスト */
.latest-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.latest-post-item a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: #333;
  transition: opacity 0.3s;
}

.latest-post-item a:hover {
  opacity: 0.7;
}

.post-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 2px;
  background: #eee;
}

.post-info {
  flex: 1;
}

.post-date {
  display: block;
  font-size: 12px;
  color: #888;
  margin-bottom: 2px;
}

.post-title {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* お問い合わせバナー */
.contact-banner a {
  display: block;
  background-color: #00A6AC;
  color: #fff;
  text-align: center;
  padding: 15px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.3s;
}

.contact-banner a:hover {
  background-color: #008a90;
}

.contact-banner i {
  margin-right: 5px;
}

/* サービス一覧リスト */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  border-bottom: 1px solid #f0f0f0;
}

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

.service-list a {
  display: block;
  padding: 12px 5px;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  position: relative;
}

.service-list a:hover {
  color: #00A6AC;
  padding-left: 10px;
}

.service-list a::after {
  content: '\f054';
  /* FontAwesome chevron-right */
  font-family: "Font Awesome 5 Free";
  /* または "Font Awesome 6 Free" */
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #ccc;
  transition: color 0.3s;
}

.service-list a:hover::after {
  color: #00A6AC;
}

/* ==================================================
   レスポンシブデザイン
================================================== */

/* タブレット（768px以下） */
@media (max-width: 900px) {
  .seminar-archive-layout {
    flex-direction: column;
    gap: 60px;
  }

  .seminar-main-content,
  .seminar-sidebar {
    width: 100%;
    min-width: auto;
  }

  /* カードを少しコンパクトに */
  .seminar-thumbnail {
    flex: 0 0 240px;
    width: 240px;
  }
}

/* スマホ（599px以下） */
@media (max-width: 599px) {
  .seminar-list-header {
    padding: 30px 15px;
    margin-bottom: 30px;
  }

  .seminar-list-header .page-title {
    font-size: 24px;
  }

  .seminar-archive-layout {
    padding: 0 15px;
  }

  /* カード縦積み */
  .seminar-card-link {
    flex-direction: column;
  }

  .seminar-thumbnail {
    width: 100%;
    height: 200px;
    flex: none;
  }

  .seminar-card-body {
    padding: 20px;
  }

  .seminar-card .seminar-title {
    font-size: 18px;
  }

  /* サイドバー調整 */
  .seminar-sidebar-widget {
    padding: 20px;
  }
}

/* ==================================================
   一覧を見るリンク
================================================== */

.sidebar-more-link {
  margin-top: 15px;
  text-align: right;
}

.sidebar-more-link a {
  color: #00A6AC;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.sidebar-more-link a:hover {
  opacity: 0.7;
}

.sidebar-more-link a i {
  margin-left: 5px;
}