@charset "UTF-8";

/**
 * セミナー詳細ページ専用スタイルシート
 *
 * シングルカラムレイアウト
 *
 * @package SWELL Child
 * @since 1.0.0
 */

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

.seminar-detail-page {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

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

#sidebar {
  display: none !important;
}

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

form>table {
  width: 100% !important;
}

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

/* ==================================================
   レイアウト（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;
  background-color: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

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


/* ==================================================
   ページヘッダー（削除済み） -> 内部ヘッダー
   ================================================== */

.seminar-internal-header {
  margin-bottom: 30px;
  text-align: left;
}

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

.seminar-internal-header .category-label {
  display: inline-block;
  background-color: #fff;
  color: #00A6AC;
  border: 1px solid #00A6AC;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 2px;
}

/* タイトル */
.seminar-internal-header .seminar-title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
  border-bottom: none;
  /* もしあれば削除 */
}

/* メタ情報（日時・ステータス） */
.seminar-internal-header .seminar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}


/* 開催日時 */
.seminar-internal-header .seminar-datetime-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #333;
}

.datetime-icon {
  font-size: 18px;
  color: #00A6AC;
}

.datetime-text {
  font-weight: 600;
}

/* 受付ステータス */
.seminar-internal-header .status-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 2px;
}

.status-badge.accepting {
  background-color: #00A6AC;
  color: #fff;
}

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

/* ==================================================
   メインコンテンツエリア内スタイル
================================================== */

.seminar-content {
  padding: 40px;
}

.seminar-content .container {
  max-width: 100%;
  /* コンテナ幅を親に合わせる */
  margin: 0 auto;
}

/* ==================================================
   アイキャッチ画像
================================================== */

.seminar-featured-image {
  margin-bottom: 40px;
  text-align: center;
}

.seminar-featured-image img {
  width: 100%;
  height: auto;
  border: 1px solid #ddd;
}

/* ==================================================
   特典表示
================================================== */

.seminar-benefits {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #e6f7f8;
  /* 薄いティール背景 */
  border: 2px solid #00A6AC;
  border-radius: 4px;
  padding: 20px 25px;
  margin-bottom: 30px;
}

.benefits-icon {
  font-size: 32px;
  color: #00A6AC;
}

.benefits-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.benefits-label {
  font-size: 12px;
  font-weight: 600;
  color: #00A6AC;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.benefits-text {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

/* ==================================================
   CTA（申込フォームへのアンカーリンク）
================================================== */

.seminar-cta {
  text-align: center;
  margin-bottom: 40px;
}

.seminar-cta-inline {
  margin: 40px 0;
}

.cta-button {
  display: inline-block;
  padding: 18px 60px;
  background: linear-gradient(90deg, #00A6AC 0%, #00d2d9 100%);
  /* Teal Gradient */
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* ==================================================
   セクション共通スタイル
================================================== */

.seminar-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 3px solid #00A6AC;
}

.section-content {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

/* ==================================================
   対象者セクション
================================================== */

.seminar-target .section-content {
  background-color: #f8f9fa;
  padding: 25px 30px;
  border-left: 4px solid #00A6AC;
}

/* ==================================================
   プログラム内容セクション
================================================== */

.seminar-program .section-content {
  background-color: #f8f9fa;
  padding: 25px 30px;
}

/* ==================================================
   登壇者情報（旧形式 - 後方互換性）
================================================== */

.presenter-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 4px;
}

.presenter-icon {
  font-size: 24px;
  color: #00A6AC;
}

.presenter-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

/* ==================================================
   登壇者カード（新形式）
================================================== */

.speaker-cards {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.speaker-card {
  display: flex;
  gap: 25px;
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
}

.speaker-card-photo {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
}

.speaker-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #00A6AC;
}

.speaker-card-photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #00A6AC;
}

.speaker-card-photo-placeholder i {
  font-size: 48px;
  color: #999;
}

.speaker-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.speaker-card-name {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin: 0;
  padding: 0;
  border: none;
  line-height: 1.3;
}

.speaker-card-position {
  font-size: 14px;
  color: #00A6AC;
  font-weight: 600;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.speaker-card-bio {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
  margin-top: 10px;
}

/* 登壇者カード レスポンシブ */
@media (max-width: 599px) {
  .speaker-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 20px;
    gap: 20px;
  }

  .speaker-card-photo {
    width: 120px;
    height: 120px;
  }

  .speaker-card-photo-placeholder i {
    font-size: 36px;
  }

  .speaker-card-info {
    align-items: center;
  }

  .speaker-card-name {
    font-size: 18px;
  }

  .speaker-card-position {
    font-size: 13px;
  }

  .speaker-card-bio {
    font-size: 13px;
    text-align: left;
  }
}

/* ==================================================
   開催情報テーブル
================================================== */

.info-table {
  background-color: #fff;
  border: 1px solid #ddd;
}

.info-row {
  display: flex;
  border-bottom: 1px solid #ddd;
}

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

.info-label {
  flex: 0 0 160px;
  padding: 15px 20px;
  background-color: #e6f7f8;
  font-weight: 600;
  color: #005659;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.info-value {
  flex: 1;
  padding: 15px 20px;
  font-size: 15px;
  color: #333;
}

.info-value a {
  color: #00A6AC;
  text-decoration: none;
}

.info-value a:hover {
  text-decoration: underline;
}

/* ==================================================
   申込フォームセクション
================================================== */

.seminar-form-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px dashed #ddd;
}

.seminar-form {
  background-color: #f8f9fa;
  padding: 40px;
  border-radius: 4px;
}

/* Contact Form 7 フォームスタイル */
.seminar-form p {
  margin-bottom: 20px;
}

.seminar-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.seminar-form input[type="text"],
.seminar-form input[type="email"],
.seminar-form input[type="tel"],
.seminar-form textarea,
.seminar-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  background-color: #fff;
}

.seminar-form textarea {
  min-height: 120px;
  resize: vertical;
}

.seminar-form input::placeholder,
.seminar-form textarea::placeholder {
  color: #999;
}

/* 送信ボタン（詳細ページ専用） */
.seminar-form input[type="submit"],
.seminar-form .wpcf7-submit {
  display: block;
  width: 100%;
  padding: 18px;
  background: linear-gradient(90deg, #00A6AC 0%, #00d2d9 100%) !important;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  border: none !important;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.seminar-form input[type="submit"]:hover,
.seminar-form .wpcf7-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Contact Form 7 エラーメッセージ */
.seminar-form .wpcf7-not-valid-tip {
  color: #e74c3c;
  font-size: 12px;
  margin-top: 5px;
}

.seminar-form .wpcf7-validation-errors {
  border: 1px solid #e74c3c;
  padding: 15px;
  margin-top: 20px;
  background-color: #fff5f5;
  color: #e74c3c;
  border-radius: 4px;
}

.seminar-form .wpcf7-response-output {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #27ae60;
  background-color: #f0fff4;
  color: #27ae60;
  border-radius: 4px;
}

/* フォームエラー */
.form-error {
  text-align: center;
  padding: 30px;
  background-color: #fff5f5;
  color: #e74c3c;
  font-size: 14px;
  border-radius: 4px;
}

/* ==================================================
   受付終了メッセージ
================================================== */

.seminar-ended-notice {
  text-align: center;
  padding: 40px;
  background-color: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.seminar-ended-notice p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.seminar-ended-notice p:last-child {
  margin-bottom: 0;
}

.seminar-ended-notice a {
  color: #00A6AC;
  text-decoration: none;
}

.seminar-ended-notice a:hover {
  text-decoration: underline;
}

/* ==================================================
   一覧へ戻るリンク
================================================== */

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

.back-link {
  display: inline-block;
  padding: 15px 30px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background-color: #00A6AC;
  color: #fff;
  border-color: #00A6AC;
}

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

.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";
  /* FontAwesome 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;
}

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

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

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

/* スマホ（599px以下） */
@media (max-width: 599px) {
  /* .seminar-internal-header 自体のパディングは不要（親要素にあるため） */

  .seminar-internal-header .seminar-title {
    font-size: 22px;
  }

  .seminar-internal-header .status-badge {
    padding: 6px 18px;
    font-size: 14px;
  }

  .seminar-datetime-header {
    font-size: 14px;
  }

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

  .seminar-content {
    padding: 20px;
    /* パディング縮小 */
  }

  .section-title {
    font-size: 18px;
  }

  .section-content {
    font-size: 14px;
    line-height: 1.8;
  }

  .seminar-target .section-content,
  .seminar-program .section-content {
    padding: 20px;
  }

  .presenter-info {
    padding: 15px;
  }

  .presenter-name {
    font-size: 16px;
  }

  .info-row {
    flex-direction: column;
  }

  .info-label {
    flex: none;
    padding: 12px 15px;
    background-color: #e6f7f8;
  }

  .info-value {
    padding: 12px 15px;
  }

  .seminar-form {
    padding: 20px 15px;
  }

  .seminar-form input[type="submit"],
  .seminar-form .wpcf7-submit {
    font-size: 16px;
    padding: 15px;
  }

  .back-link {
    display: block;
    width: 100%;
    padding: 12px;
  }
}

/* 小さめスマホ（480px以下） */
@media (max-width: 480px) {
  .seminar-internal-header .seminar-title {
    font-size: 20px;
  }

  .seminar-internal-header .category-label {
    font-size: 11px;
    padding: 4px 10px;
  }

  .section-title {
    font-size: 16px;
  }

  .section-content {
    font-size: 13px;
  }

  .benefits-text {
    font-size: 14px;
  }
}

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

.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;
}

/* ==================================================
   パンくずリスト - 現在のページタイトル表示
================================================== */

.single .p-breadcrumb__item:last-child>span.p-breadcrumb__text {
  display: inline-flex !important;
}

/* ==================================================
   会社紹介セクション
   追加日: 2026-01-19
================================================== */

.seminar-company-intro {
  margin-top: 40px;
}

.company-intro-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 4px;
  border: 1px solid #eee;
  font-size: 15px;
  line-height: 1.9;
  color: #333;
}

/* 見出しスタイル（■マーク付き） */
.company-intro-content p {
  margin-bottom: 1em;
}

.company-intro-content p:last-child {
  margin-bottom: 0;
}

/* リンクスタイル */
.company-intro-content a,
.company-intro-content .company-intro-link {
  color: #00A6AC;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.company-intro-content a:hover,
.company-intro-content .company-intro-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* 注釈スタイル（※マーク） */
.company-intro-content small,
.company-intro-content .note {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  color: #888;
  line-height: 1.7;
}

/* 番号付きリスト風（①②など） */
.company-intro-content .service-item {
  margin-bottom: 15px;
  padding-left: 0;
}

.company-intro-content .service-item:last-child {
  margin-bottom: 0;
}

.company-intro-content .service-name {
  color: #00A6AC;
  font-weight: 600;
}

/* セクション区切り */
.company-intro-content .section-block {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px dashed #eee;
}

.company-intro-content .section-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* 会社紹介 レスポンシブ */
@media (max-width: 599px) {
  .company-intro-content {
    padding: 20px 15px;
    font-size: 14px;
    line-height: 1.8;
  }

  .company-intro-content small,
  .company-intro-content .note {
    font-size: 11px;
  }
}