/* common.css */
:root {
    /* カラー変数 */
    --primary-color: #0047b6;
    --secondary-color: #0064d2;
    --accent-color: #ff9900;
    --text-color: #333333;
    --light-text-color: #666666;
    --white-color: #ffffff;
    --background-color: #f5f5f5;
    --sidebar-color: #0051c3;
    --sidebar-gradient: linear-gradient(to bottom, #0051c3, #023889);
    --button-color: #0047b6;
    --button-hover-color: #003b9a;
  }
  
  body, html {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
  }
  
  .wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
    position: relative;
  }
  
  /* 共通スタイル */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  section {
    padding: 60px 0;
    position: relative;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 30px;
    position: relative;
    text-align: center;
  }
  
  h3 {
    font-size: 24px;
  }
  
  p {
    margin-bottom: 15px;
  }
  
  .button {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--button-color);
    color: var(--white-color);
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s ease;
    cursor: pointer;
    border: none;
  }
  
  .button:hover {
    background-color: var(--button-hover-color);
  }
  
  .text-center {
    text-align: center;
  }
  
  /* メインコンテンツエリア */
  .main-content {
    flex: 1 1 0%;
    min-width: 0;
    background: var(--white-color);
    margin-right: 0;
    width: 0;
  }
  
  /* SP用固定申し込みボタン（初期状態は非表示） */
  .sp-apply-button {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--white-color);
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }
  
  .sp-apply-button:hover {
    background-color: #ff8800;
  }
  
  /* SP用モーダル（初期状態は非表示） */
  .sp-form-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
  }
  
  .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
  }
  
  .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    background: var(--sidebar-gradient);
    border-radius: 10px;
    padding: 20px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    color: var(--white-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
  }
  
  .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--white-color);
    cursor: pointer;
    z-index: 160;
  }
  
  .modal-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  /* アニメーション */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { 
      transform: translate(-50%, -40%);
      opacity: 0;
    }
    to { 
      transform: translate(-50%, -50%);
      opacity: 1;
    }
  }
  
  /* サイドバー */
  .sidebar {
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    background: var(--sidebar-gradient);
    padding: 32px 24px;
    color: var(--white-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    min-height: 100vh;
    height: auto;
    flex-shrink: 0;
    overflow: hidden;
    z-index: 10;
    position: relative;
  }
  
  .sidebar-content {
    position: static !important;
    top: auto !important;
    background: transparent;
  }
  
  .sidebar form,
  .sidebar .form-group,
  .sidebar .form-input {
    width: 100%;
    box-sizing: border-box;
  }
  
  .sidebar-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px; /* 余白を少し減らす */
    color: var(--white-color);
  }
  
  /* フォーム共通スタイル */
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--white-color);
  }
  
  .form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
  }
  
  .form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.3);
  }
  
  .form-input::placeholder {
    color: #aaa;
  }
  
  /* チェックボックス関連の修正 */
  .form-checkbox-group {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap; /* テキストを折り返せるように */
    margin-bottom: 15px;
  }
  
  .form-checkbox {
    margin-right: 10px;
    margin-top: 3px;
    flex-shrink: 0;
  }
  
  .checkbox-label {
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    min-width: 0; /* flexboxでの幅制限を解除 */
  }
  
  /* インラインブロック化（レイアウト調整用） */
  .inline-block {
    display: inline;
    white-space: normal;
  }
  
  /* プライバシーリンク */
  .privacy-link {
    color: var(--accent-color);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
    scroll-behavior: smooth;
  }
  
  .privacy-link:hover {
    text-decoration: none;
  }
  
  .privacy-note {
    font-size: 12px;
    margin-top: 5px;
    color: rgba(255, 255, 255, 0.7);
  }
  
  /* 送信ボタン */
  .form-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
  }
  
  .form-submit:hover {
    background-color: #ff8800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .form-submit:active {
    transform: translateY(0);
    box-shadow: none;
  }
  
  /* 必須マーク */
  .required::after {
    content: "*";
    color: #ff6b6b;
    margin-left: 3px;
    font-weight: bold;
    display: inline-block;
  }
  
  /* エラーメッセージ */
  .error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
  }
  
  /* ローディングスピナー */
  .loading-spinner {
    text-align: center;
    padding: 10px;
    font-weight: bold;
    color: var(--accent-color);
  }
  
  /* ヘッダーセクション */
.header-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  margin-bottom: 0;
  width: 100%;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.header-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  text-align: center;
}

.header-content-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* イベント概要セクション */
.event-overview-section {
  position: relative;
  padding: 60px 0;
  width: 100%;
}

.event-overview-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.overview-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-overview-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.event-overview-content-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

  /* 開催概要セクション */
  .event-details-section {
    background-color: #ffffff;
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  .details-table {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #e0e0e0;
  }
  
  .details-row {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
  }
  
  .details-label {
    width: 150px;
    padding: 15px;
    background-color: #f9f9f9;
    font-weight: 500;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  .details-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary-color);
  }
  
  .details-content {
    flex: 1;
    padding: 15px 20px;
    line-height: 1.6;
  }
  
  /* タイムスケジュールセクション */
  .schedule-section {
    background-color: #ffffff;
    padding: 60px 0;
    width: 100%;
    margin: 0;
    overflow: hidden;
  }
  
  .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px; /* タイトルとコンテンツの間隔を広げる */
    position: relative;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
  }
  
  .schedule-content {
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .schedule-item {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
    overflow: hidden;
  }
  
  /* グラデーション背景クラス */
  .gradient-bg-1, .schedule-item:nth-child(1) {
    background: linear-gradient(to right, #ff5f87, #6f75fb);
  }
  
  .gradient-bg-2, .schedule-item:nth-child(2) {
    background: linear-gradient(to right, #ffd166, #06d6a0);
  }
  
  .gradient-bg-3, .schedule-item:nth-child(3) {
    background: linear-gradient(to right, #118ab2, #073b4c);
  }
  
  .gradient-bg-4, .schedule-item:nth-child(4) {
    background: linear-gradient(to right, #ef476f, #ffd166);
  }
  
  .gradient-bg-5, .schedule-item:nth-child(5) {
    background: linear-gradient(to right, #8338ec, #3a86ff);
  }
  
  /* 時間帯スロット - !important追加 */
  .time-slot {
    width: 270px !important; /* !importantで上書き防止 */
    background-color: #003366 !important;
    color: white !important;
    padding: 15px 22px !important;
    font-weight: bold !important;
    text-align: center !important;
    position: relative !important;
    z-index: 2 !important;
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%) !important;
    margin-right: -45px !important;
    font-size: 24px !important;
  }
  
  /* セッションカード */
  .session-card {
    flex: 1;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-left: 20px;
    z-index: 1;
  }
  
  /* セッション情報 */
  .session-info {
    padding: 25px;
    border-bottom: 1px solid #eaeaea;
  }
  
  .session-heading {
    margin-bottom: 20px;
  }
  
  .session-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
  }
  
  .session-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
  }
  
  .session-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  
  /* 登壇者情報 */
  .speaker-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px; /* 写真が大きくなったので上部の余白を追加 */
  }
  
  .speaker-text {
    flex: 1;
  }
  
  /* 登壇者写真 - !important追加 */
  .speaker-photo {
    width: 250px !important; /* !importantで上書き防止 */
    margin-left: 20px !important;
  }
  
  .speaker-img {
    width: 100% !important;
    height: auto !important;
    border-radius: 5px !important;
    display: block !important;
  }
  
  .speaker-company {
    font-size: 12px;
    margin-bottom: 5px;
  }
  
  .speaker-name {
    font-size: 18px;
    font-weight: 700;
  }
  
  /* 登壇者プロフィール */
  .speaker-profile {
    padding: 20px 25px;
    background-color: #f9f9f9;
  }
  
  .profile-heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  
  .profile-text {
    font-size: 14px;
    line-height: 1.6;
  }
  
  /* 来場者特典セクション */
  .benefits-section {
    background-color: #f8f8f8;
    padding: 60px 0;
  }
  
  .benefits-content {
    max-width: 900px;
    margin: 0 auto;
  }
  
  .benefit-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .benefit-image {
    width: 40%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f9ff;
  }
  
  .benefit-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  .benefit-info {
    width: 60%;
    padding: 30px;
  }
  
  .benefit-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
  }
  
  .benefit-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
  }
  
  .benefit-list li {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  
  .benefit-note {
    font-size: 14px;
    color: #666;
    font-style: italic;
  }
  
  /* 参加までの流れセクション */
  .participation-flow-section {
    background-color: #ffffff;
    padding: 60px 0;
  }
  
  .flow-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .flow-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
  }
  
  .flow-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 30px;
    bottom: -30px;
    width: 1px;
    height: 20px;
    background-color: var(--primary-color);
  }
  
  .flow-step {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 30px;
    flex-shrink: 0;
  }
  
  .flow-description {
    flex: 1;
  }
  
  .flow-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .flow-text {
    line-height: 1.6;
  }
  
  /* 個人情報保護方針セクション */
  .privacy-policy-section {
    background-color: #f8f8f8;
    padding: 60px 0;
  }
  
  .privacy-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }
  
  .privacy-text {
    margin-bottom: 15px;
    line-height: 1.6;
  }
  
  .privacy-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
  }
  
  .privacy-list li {
    margin-bottom: 10px;
    line-height: 1.6;
  }
  
  .privacy-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
  }
  
  .privacy-links ul {
    margin-top: 10px;
  }
  
  .privacy-links li {
    margin-bottom: 5px;
  }
  
  .privacy-links a {
    color: var(--primary-color);
    text-decoration: underline;
  }
  
  .privacy-links a:hover {
    text-decoration: none;
  }
  
  /* フッターセクション */
  .footer-section {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
  }
  
  .footer-content {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
  }
  
  .footer-logo {
    margin-right: 30px;
  }
  
  .footer-logo-img {
    max-width: 180px;
    height: auto;
  }
  
  .footer-info {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .footer-company {
    font-weight: 700;
    margin-bottom: 5px;
  }
  
  .footer-copyright {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    padding-top: 20px;
    border-top: 1px solid #444;
  }
  
  /* PC用のスタイル */
  @media screen and (min-width: 768px) {
    .sp-apply-button,
    .sp-form-modal {
      display: none;
    }
    
    .benefit-card {
      display: flex;
    }
    
    .flow-item {
      display: flex;
    }
    
    .time-slot {
      width: 300px !important; /* PCでさらに大きく */
      font-size: 26px !important;
      padding: 18px 30px !important;
    }
    
    .speaker-photo {
      width: 280px !important; /* PCでさらに大きく */
    }
  }
  
  /* スマホ用のスタイル */
  @media screen and (max-width: 767px) {
    .sidebar {
      display: none;
    }
    
    .sp-apply-button {
      display: block;
    }
    
    .benefits-section,
    .participation-flow-section,
    .privacy-policy-section {
      padding: 40px 0;
    }
    
    .benefit-card {
      flex-direction: column;
    }
    
    .benefit-image,
    .benefit-info {
      width: 100%;
    }
    
    .benefit-title {
      font-size: 20px;
    }
    
    .flow-item {
      flex-direction: column;
    }
    
    .flow-step {
      margin-bottom: 15px;
      margin-right: 0;
      width: 60px;
      height: 60px;
      font-size: 16px;
    }
    
    .flow-item:not(:last-child)::after {
      left: 30px;
      height: 30px;
    }
    
    .flow-title {
      font-size: 18px;
    }
    
    .footer-content {
      flex-direction: column;
      text-align: center;
    }
    
    .footer-logo {
      margin-right: 0;
      margin-bottom: 20px;
    }
    
    .form-checkbox-group {
      flex-wrap: wrap;
    }
    
    .checkbox-label {
      width: 100%;
      margin-top: 5px;
    }
    
    .time-slot {
      width: 225px !important;
      font-size: 20px !important;
      padding: 12px 20px !important;
    }
    
    .speaker-photo {
      width: 200px !important;
      margin-left: 0 !important;
      margin-bottom: 15px !important;
    }
    
    .schedule-section {
      padding: 40px 0;
    }
    
    .schedule-item {
      margin-bottom: 30px;
    }
    
    .section-title {
      font-size: 24px;
      margin-bottom: 40px;
    }
  }

  @media screen and (min-width: 1400px) {
    .header-content-img,
    .event-overview-content-img {
        max-width: 900px;
    }
  }


  /* オンライン同時開催告知帯 */
.online-announcement-banner {
  background: linear-gradient(90deg, #ff8800 0%, #ffcc00 100%);
  padding: 12px 0;
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
}

.banner-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.banner-text {
  color: #ffffff;
  font-weight: 900;
  font-size: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .online-announcement-banner {
    padding: 10px 0;
  }
  
  .banner-text {
    font-size: 18px;
  }
}

@media screen and (max-width: 480px) {
  .banner-text {
    font-size: 16px;
    letter-spacing: 0.3px;
  }
}