/* =================
   イベントカード（横並びレイアウト）
   ================= */
   .event-cards-container {
    background: #f6f6f6;
    margin: 0 30px;
  }
  .event-card {
    background: #f6f6f6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    max-width: 1240px;
    margin: 0 auto 80px;
    display: flex;
    height: auto;
    cursor: pointer;
  }
  
  .event-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  
  .event-card:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
  }
  
  /* 画像エリア（左側40%） */
  .card-image-section {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  /* ホバー時の画像拡大を削除 */
  
  .card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
  }
  
  .placeholder-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.6;
  }
  
  /* 時間情報（新デザイン） */
  .time-info {
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }
  
  .time-label {
    /* フォールバック用の色 */
    color: #0070ba;
    background: linear-gradient(45deg, #0070ba 0%, #00a68d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 4px 0px 8px 0px;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    display: inline-block;
  }
  
  .time-label::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(45deg, #0070ba 0%, #00a68d 100%);
    border-radius: 1px;
  }
  
  /* コンテンツエリア（右側60%） */
  .card-content-section {
    width: 100%;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    margin-left: 16px;
  }
  
  .card-title {
    width: fit-content;
    font-size: 24px;
    font-weight: 700;
    /* フォールバック用の色 */
    color: #0070ba;
    background: linear-gradient(45deg, #0070ba 0%, #00a68d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px 0;
    line-height: 1.4;
  }
  
  /* 登壇者情報 */
  .speakers-info {
    margin-bottom: 16px;
  }
  
  .speaker-info {
    margin-bottom: 12px;
  }
  
  .speaker-info:last-child {
    margin-bottom: 0;
  }
  
  .speaker-name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 2px;
    display: inline;
  }
  
  .speaker-affiliation {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 4px;
  }
  
  .speaker-role {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
  }
  
  /* アクションボタン */
  .card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
  }
  
  .card-btn {
    padding: 12px 24px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
    background: #de7900;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }
  
  .card-btn:hover {
    background: white;
    color: #de7900;
    border: 2px solid #de7900;
    text-decoration: none;
  }
  
  /* =================
         モーダル
  ================= */
  .event-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 透明な黒の背景 */
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
  }
  
  .event-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .event-modal-content {
    background: #f6f6f6;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  }
  
  /* 新しいモーダルヘッダー（青いヘッダー） */
  .modal-header {
    background: linear-gradient(45deg, #0070ba 0%, #00a68d 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px;
    border-radius: 20px 20px 0 0;
  }
  
  .modal-header-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin: 0;
  }
  
  .event-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: white;
    transition: all 0.3s ease;
  }
  
  .event-modal-close:hover {
    background: white;
    color: #007cba;
    transform: rotate(90deg);
  }
  
  /* 新しいモーダルボディ */
  .modal-body {
    padding: 32px;
  }
  
  /* 講演者セクション（画像+テキスト情報） */
  .speaker-section {
    margin-bottom: 32px;
    background: #ffffff;
  }
  
  .speaker-info-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
  }
  
  /* 左側：カード画像 */
  .speaker-image-section {
    flex: 0 0 200px;
    width: 200px;
    height: 200px;
    overflow: hidden;
  }
  
  .speaker-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .speaker-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    font-size: 12px;
    text-align: center;
  }
  
  .speaker-image-placeholder .placeholder-icon {
    font-size: 32px;
    margin-bottom: 8px;
    opacity: 0.6;
  }
  
  /* 右側：企業ロゴ+テキスト情報 */
  .speaker-info-details {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 152px;
    justify-content: space-between;
  }
  
  /* 企業ロゴ */
  .company-logo-section {
    margin-bottom: 16px;
  }
  
  /* 講演者情報を常に下辺に配置 */
  .speaker-text-info {
    margin-top: auto;
  }
  
  .company-logo {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    border-radius: 8px;
  }
  
  /* 講演者テキスト情報 */
  .speaker-detail {
    margin-bottom: 16px;
  }
  
  .speaker-detail:last-child {
    margin-bottom: 0;
  }
  
  .speaker-text-info .speaker-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    display: inline;
  }
  
  .speaker-text-info .speaker-affiliation {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 4px;
  }
  
  .speaker-text-info .speaker-role {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
  }
  
  /* 講演タイトル */
  .lecture-title {
    width: fit-content;
    font-size: 24px;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(45deg, #0070ba 0%, #00a68d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.4;
  }
  
  /* 講演内容 */
  .lecture-content {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 32px;
    white-space: pre-line;
  }
  
  /* 申込みボタンセクション */
  .modal-action {
    text-align: center;
  }
  
  .apply-button {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b1a 100%);
    color: white;
    border: 2px solid #ff8c42;
    border-radius: 25px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.3);
    text-decoration: none;
    display: inline-block;
  }
  
  .apply-button:hover {
    background: white;
    color: #ff8c42;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 66, 0.4);
    border: 2px solid #ff8c42;
  }
  
  /* アンカーリンク用の追加スタイル */
  .apply-link {
    text-align: center;
  }
  
  /* アニメーション */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(60px) scale(0.95);
    }
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  /* レスポンシブ対応 */
  @media (max-width: 768px) {
    .event-cards-container {
      margin 0 30px;
    }
    
    /* カードを縦積みレイアウトに変更 */
    .event-card {
      flex-direction: column;
      max-width: 400px;
      margin: 0 auto 40px;
    }
  
    .card-image-section {
      width: 100%;
      height: 100%;
    }
  
    .card-content-section {
      width: 94%;
      padding: 12px;
      margin-left: 0;
    }
  
    .time-info {
      margin-bottom: 12px;
    }
  
    .time-label {
      font-size: 14px;
      padding: 3px 0px 6px 0px;
    }
  
    .time-label::after {
      height: 1px;
    }
  
    .card-title {
      font-size: 18px;
      margin-bottom: 12px;
    }
  
    .speakers-info {
      margin-bottom: 12px;
    }
    
    .speaker-info {
      margin-bottom: 8px;
    }
  
    .speaker-name {
      font-size: 14px;
    }
  
    .speaker-affiliation,
    .speaker-role {
      font-size: 12px;
    }
  
    /* モーダル */
    .event-modal-content {
      width: 95%;
      max-height: 95vh;
      border-radius: 16px;
    }
  
    .modal-header {
      padding: 16px 20px;
    }
  
    .modal-header-title {
      font-size: 16px;
    }
  
    .event-modal-close {
      width: 32px;
      height: 32px;
      font-size: 16px;
    }
  
    .modal-body {
      padding: 24px 20px;
    }
  
    .speaker-section {
      margin-bottom: 24px;
    }
  
    .speaker-info-layout {
      gap: 16px;
    }
  
    .speaker-image-section {
      flex: 0 0 40%;
      width: 40%;
      height: 100%;
    }
  
    .speaker-info-details {
      padding: 20px;
      min-height: 150px;
    }
  
    .company-logo {
      max-width: 100px;
      max-height: 50px;
    }
  
    .speaker-text-info .speaker-name,
    .speaker-text-info {
      font-size: 18px;
    }
  
    .speaker-text-info .speaker-affiliation,
    .speaker-text-info .speaker-role {
      font-size: 14px;
    }
  
    .lecture-title {
      font-size: 20px;
    }
  
    .lecture-content {
      font-size: 14px;
      margin-bottom: 24px;
    }
  }
  
  @media (max-width: 480px) {
    .card-image-section {
      width: 100%;
      height: 100%;
    }
    
    .event-modal-content {
      width: 98%;
      margin: 1%;
      border-radius: 16px;
    }
  
    .event-modal-header {
      padding: 20px 20px 0 20px;
    }
  
    .event-modal-body {
      padding: 12px 20px 20px 20px;
    }
  
    .event-modal-close {
      width: 36px;
      height: 36px;
      font-size: 20px;
      top: 16px;
      right: 16px;
    }
  
    .speaker-info-layout {
      gap: 12px;
    }
  
    .speaker-image-section {
      flex: 0 0 40%;
      width: 40%;
      height: 100%;
    }
  
    .speaker-info-details {
      padding: 16px;
      min-height: 120px;
    }
  
    .company-logo {
      max-width: 80px;
      max-height: 40px;
    }
  
    .speaker-text-info .speaker-name,
    .speaker-text-info {
      font-size: 16px;
    }
  
    .speaker-text-info .speaker-affiliation,
    .speaker-text-info .speaker-role {
      font-size: 12px;
    }
  }
  