/* sp.css - 767px以下の画面で適用 */

/* 全体レイアウト */
.wrapper {
    flex-direction: column;
  }
  
  .main-content {
    width: 100%;
  }
  
  /* サイドバー（PCのみ表示） */
  .sidebar {
    display: none !important;
  }
  
  /* SP用固定申し込みボタン */
  .sp-apply-button,
  .sp-form-modal {
    display: block !important;
  }
  
  /* セクションの間隔調整 */
  section {
    padding: 40px 0;
  }
  
  /* 見出しサイズ調整 */
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  /* コンテナの余白調整 */
  .container {
    padding: 0 15px;
  }
  
  /* ヘッダーと概要セクション調整 */
  .header-content {
    padding: 20px 0;
  }
  
  .event-overview-content {
    padding: 30px 0;
  }

  /* スマホ用開催概要セクションのスタイル */
@media screen and (max-width: 767px) {
    .event-details-section {
      padding: 40px 0;
    }
    
    .section-title {
      font-size: 24px;
      margin-bottom: 30px;
    }
    
    .details-row {
      flex-direction: column;
    }
    
    .details-label {
      width: 100%;
      padding: 12px 15px;
      border-right: none;
      border-bottom: 1px solid #e0e0e0;
    }
    
    .details-content {
      padding: 15px;
    }
  }

/* スマホ用タイムスケジュールセクションのスタイル */
@media screen and (max-width: 767px) {
    .schedule-section {
      padding: 40px 0;
    }
    
    .section-title {
      font-size: 24px;
      margin-bottom: 40px;
    }
    
    .schedule-item {
      margin-bottom: 30px;
      flex-direction: column;
    }
    
    .time-slot {
      width: 150px;
      font-size: 16px;
      padding: 8px 15px;
      margin-bottom: 10px;
      margin-right: 0;
      clip-path: polygon(0 0, 100% 0, 90% 50%, 100% 100%, 0 100%);
    }
    
    .session-card {
      margin-left: 0;
      width: 100%;
    }
    
    .session-info {
      padding: 20px;
    }
    
    .session-title {
      font-size: 20px;
    }
    
    .speaker-info {
      flex-direction: column-reverse;
      align-items: flex-start;
    }
    
    .speaker-photo {
      width: 80px;
      margin-left: 0;
      margin-bottom: 10px;
      align-self: flex-end;
    }
    
    .speaker-profile {
      padding: 15px;
    }
  }

/* 画像サイズの調整（スマホ表示用） */
.header-content-img,
.event-overview-content-img {
    max-width: 100% !important; /* 最大幅を100%に設定（!important で上書き） */
    width: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    object-fit: contain !important;
    padding: 0 10px !important; /* 左右のパディングを調整 */
}

.header-content,
.event-overview-content {
    padding: 20px 0;
    width: 100%;
}

.sp-form-modal {
    display: none !important;
}

.sp-form-modal .modal-content {
    width: 90vw !important;
    max-width: 340px !important;
    padding: 12px 6px !important;
    font-size: 15px !important;
}

.sp-form-modal .form-input {
    font-size: 15px !important;
    padding: 8px !important;
}

.sp-form-modal .form-group {
    margin-bottom: 10px !important;
}

.sp-form-modal .form-submit {
    font-size: 16px !important;
    padding: 10px !important;
}

/* コンテナスタイルの追加調整 */
.container {
    width: 100%;
    padding: 0 10px;
}