/* ===== CSS Variables (カラーパレット) ===== */
:root {
  /* カラーパレット */
  --primary-color: #1A1D2E;        /* ダークネイビー */
  --secondary-color: #FFF8F1;      /* クリームベージュ */
  --accent-color: #FF7E79;         /* サーモンピンク */
  --support-color: #568c8c;        /* グレーグリーン */
  --text-color: #1A1D2E;           /* ダークネイビー */
  --text-light: #4A4D5E;          /* ライトテキスト */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --border-color: #E8ECEF;
  
  /* フォント */
  --font-japanese: 'Noto Sans JP', sans-serif;
  --font-english: 'Inter', sans-serif;
  
  /* スペーシング */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --border-radius: 12px;
  --shadow: 0 4px 16px rgba(47, 62, 158, 0.1);
}

/* 打ち消し線 */
.strike-close {
  text-decoration: line-through;
  color: #a1a1a1;
}



/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-japanese);
  color: var(--text-color);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

/* ===== ベースキャンプタイトル（トライバル調） ===== */
.basecamp-title {
  font-family: 'Rye', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo',
  sans-serif;  font-size: 3em;
  color: #4B3621;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3), -1px -1px 2px rgba(255,255,255,0.2);
  background-color: #D2B48C;
  padding: 15px 30px;
  border: 1px solid #8B4513;
  border-radius: 5px;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  max-width: 400px;
  margin: 20px auto;
  position: relative;
}

.basecamp-title::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #8B4513, #D2691E, #8B4513);
  border-radius: 5px;
  z-index: -1;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--text-color);
}

h2 {
  font-size: clamp(2rem, 5vw, 2.2rem);
  color: var(--text-color);
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text-color);
}

p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

/* ===== Buttons ===== */
.cta-button, .cta-button-large, .cta-button-final {
  display: inline-block;
  background: var(--text-color);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-japanese);
}

.cta-button {
  padding: 12px 24px;
  font-size: 14px;
}

.cta-button-large {
  padding: 16px 32px;
  font-size: 16px;
  margin-top: 2rem;
}

.cta-button-final {
  padding: 20px 40px;
  font-size: 18px;
}

.cta-button-hero {
  padding: 16px 32px;
  font-size: 15px;
  margin-bottom: 0;
  background: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-japanese);
  display: inline-block;
  width: 100%;
  max-width: 600px;
  height: 64px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-button-hero:hover {
  background: #FF6B66;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}



/* ===== Header ===== */
.header {
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-color);
}

.logo a {
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-color);
}

/* ===== Hero Section ===== */
.hero {
  background: var(--secondary-color);
  padding: 120px 0 60px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-top-image {
  text-align: center;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero-top-img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.hero-top-image .hero-title {
  text-align: center;
  margin-bottom: 2rem;
}

.hero-top-image .event-info {
  max-width: 600px;
  margin: 0 auto 2rem auto;
}

.hero-top-image .cta-button-large {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 600px;
  height: 64px;
  line-height: 1.2;
  align-items: center;
  justify-content: center;
  background-color: #4c4c4c;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.event-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--text-color);
}

.icon {
  font-size: 1.2rem;
}

/* ===== Section Styles ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-notice {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 126, 121, 0.1);
  border-radius: var(--border-radius);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.notice-text {
  font-size: 0.9rem;
  color: var(--text-color);
  margin: 0;
  font-weight: 600;
  line-height: 1.6;
}

/* ===== About Section ===== */
.about {
  padding: var(--section-padding);
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.skills-list {
  margin: 2rem 0;
}

.skills-list h3 {
  margin-bottom: 1.5rem;
}

.skills-list ul {
  list-style: none;
  padding: 0;
}

.skills-list li {
  padding: 1rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  font-weight: 500;
}

.skills-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.highlight {
  background: linear-gradient(120deg, rgba(255, 126, 121, 0.2) 0%, rgba(255, 126, 121, 0.1) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.4em;
  background-position: 0 88%;
  font-weight: 700;
  color: var(--text-color);
  padding: 0.5rem;
  border-radius: var(--border-radius);
  display: inline-block;
  margin-top: 1rem;
}

.about-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* ===== Schedule Section ===== */
.schedule {
  padding: var(--section-padding);
  background: var(--light-gray);
}

/* ===== Problems Section ===== */
.problems {
  padding: var(--section-padding);
  background: var(--white);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.problem-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
}

.problem-text {
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.solution-text {
  color: var(--text-light);
  font-weight: 500;
}

/* ===== Organizers Section ===== */
.organizers {
  padding: var(--section-padding);
  background: var(--light-gray);
}

.organizers-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.organizer-group {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.organizer-group h3 {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.organizer-group p {
  color: var(--text-light);
  font-weight: 500;
  margin: 0;
}

/* ===== FAQ Section ===== */
.faq {
  padding: var(--section-padding);
  background: var(--white);
}

.faq-content {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  background: var(--text-color);
  color: var(--white);
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}

.faq-answer {
  padding: 1.5rem;
  background: var(--light-gray);
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
}

/* ===== Final CTA Section ===== */
.final-cta {
  padding: var(--section-padding);
  background: var(--text-color);
  color: var(--white);
  text-align: center;
}

.cta-title {
  color: var(--white);
  margin-bottom: 2rem;
}

/* ===== Podcast Section ===== */
.podcast-adventure {
  padding: var(--section-padding);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.podcast-adventure::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFF8F1;
  z-index: 0;
  pointer-events: none;
}

.podcast-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)) padding-box,
              linear-gradient(135deg, rgba(123, 175, 175, 0.5), rgba(47, 62, 158, 0.5)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 36px rgba(47, 62, 158, 0.15), 0 2px 0 rgba(255, 255, 255, 0.5) inset;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.podcast-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* タイトル上の小さなバッジ */
.podcast-header::before {
  content: 'PODCAST';
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: linear-gradient(135deg, #7BAFAF, #2F3E9E);
  border-radius: 999px;
}

.podcast-title {
  font-family: var(--font-japanese);
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  color: var(--text-color);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  letter-spacing: 0.01em;
}

.podcast-icon {
  display: inline-block;
  font-size: 2rem;
}

.podcast-subtitle {
  font-size: 1rem;
  color: var(--support-color);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

.podcast-player iframe {
  box-shadow: 0 10px 28px rgba(47, 62, 158, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-radius: 16px !important;
  border: 1px solid rgba(47, 62, 158, 0.12);
}

.podcast-player iframe:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(47, 62, 158, 0.22);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .podcast-card {
    padding: 1.5rem;
    border-radius: 28px;
  }
  .podcast-title {
    flex-direction: column;
    gap: 0.5rem;
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  /* モバイルでのデコレーション（柔らかい光彩を背面に） */
  .podcast-card::after {
    content: '';
    position: absolute;
    inset: -8%;
    border-radius: inherit;
    background: radial-gradient(420px 220px at 50% -10%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)),
                radial-gradient(360px 260px at 10% 90%, rgba(123, 175, 175, 0.18), rgba(123, 175, 175, 0)),
                radial-gradient(460px 300px at 90% 10%, rgba(47, 62, 158, 0.15), rgba(47, 62, 158, 0));
    z-index: -1;
    filter: blur(4px);
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--text-color);
  color: var(--white);
  padding: 3rem 0;
}

.footer-organizer {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-organizer-small {
  color: var(--white);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-info h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-info p {
  opacity: 0.8;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  /* ロゴのサイズをスマホ表示時に小さくする */
  .logo h1 {
    font-size: 1.1rem;
  }
  
  .container {
    padding: 0 20px;
  }
  
  /* ヘッダーメニューをスマホ表示時には非表示 */
  .nav {
    display: none;
  }
  
  .header-content {
    justify-content: center;
  }
  
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  /* スマホ表示時のヒーロータイトル調整 */
  .hero-top-image .hero-title {
    font-size: clamp(1.5rem, 4.5vw, 2.2rem);
    margin-bottom: 1rem;
    text-align: left;
  }
  
  /* h2タイトルを左寄せ */
  .section-title {
    text-align: left;
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }
  
  /* タイムテーブルのサブタイトルを左寄せ */
  .section-subtitle {
    text-align: left;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .problems-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 2rem;
  }
  
  .podcast-title {
    font-size: 1.4rem;
  }
  
  .organizers-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
  }

  .footer-organizer {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
  }
  
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .event-info {
    padding: 1rem;
  }
  
  .problem-card, .organizer-group {
    padding: 1.5rem;
  }
  
  .cta-button-large, .cta-button-final {
    padding: 14px 28px;
    font-size: 14px;
  }
  
  /* モバイル表示時のボタンサイズ調整 */
  .cta-button-hero {
    height: 56px;
    font-size: 14px;
    padding: 12px 24px;
  }
  
  .hero-top-image .cta-button-large {
    height: 56px;
    font-size: 14px;
    padding: 12px 24px;
  }
}

/* Mobile S だけヘッダーとロゴがかぶるのでpadding追加 */
@media (max-width: 320px){
  .hero { padding-top: 130px; }  /* ここも微調整OK */
}

/* ================================
   ヘッダーのレイアウト固定用スタイル
   ※ speakers.htmlデイ利用している Tailwind CDN の preflight によるリセットや
      .container ユーティリティの上書きを防ぐため
   ================================ */

/* ヘッダー直下の .container に幅・左右余白を固定 */
.header > .container {
  max-width: var(--container-max-width) !important; 
  padding-left: 24px !important;  
  padding-right: 24px !important; 
  margin-left: auto !important;   
  margin-right: auto !important;  
}

/* ロゴの見た目を固定（Tailwind初期化で消える余白やフォントサイズを復元） */
.header .logo h1 {
  font-family: var(--font-japanese) !important; 
  font-weight: 700 !important;
  font-size: 1.5rem !important;
  line-height: 1.2 !important;
  color: var(--text-color) !important;
  margin: 0 !important;
}

/* ロゴとナビゲーションの間隔・配置を固定 */
.header .header-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 2rem !important;
}

/* ナビゲーション部分の並びと間隔を固定 */
.header .nav {
  display: flex !important;
  align-items: center !important;
  gap: 2rem !important;
}

/* ナビゲーションリンクの見た目を固定 */
.header .nav-link {
  color: var(--text-color) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}
.header .nav-link:hover {
  color: var(--text-color) !important;
}

/* CTAボタンの表示崩れを防ぐ */
.header .cta-button {
  display: inline-block !important;
}

/* 固定ヘッダーの下に隠れないよう、speakers のメインだけ上余白を足す */
.with-header-offset { 
  padding-top: 100px !important;  /* PC/タブレット */
}

@media (max-width: 320px){
  .with-header-offset { 
    padding-top: 130px !important; 
  } 
}

/* ================================
   ハンバーガー関連
   ================================ */
.hamburger{
  display:none;
  flex-direction:column;
  justify-content:space-between;
  width:24px; height:18px;
  background:none; border:none; padding:0; cursor:pointer;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

/* モバイルメニューはデフォルト非表示（Tailwind使ってないので自前定義） */
.hidden{ display:none !important; }

/* モバイルメニューの見た目 */
.mobile-nav{
  background:#fff; border-top:1px solid var(--border-color);
  padding:12px 24px; display:flex; flex-direction:column; gap:12px;
}

/* ---- スマホ幅でだけ切り替え ---- */
@media (max-width: 768px){
  /* ここが効いていないと「ハンバーガーにならない」 */
  .header .nav{ display:none !important; }       /* PC用ナビを隠す */
  .hamburger{ display:flex; }                    /* ハンバーガーボタンを出す */
  .header-content{ justify-content:space-between !important; }
}

/* 参考：PCでは横並びにしておく（念のため） */
@media (min-width: 769px){
  .header .nav{ display:flex; align-items:center; gap:2rem; }
}

/* --- modal関連 --- */

.hidden { 
  display: none !important; 
}

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}

.modal-content {
  background: #fff; border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  width: 92vw; max-width: 960px;
  max-height: 80vh; overflow-y: auto;
  padding: 24px; position: relative;
}

.modal-close {
  position: absolute; top: 8px; right: 12px;
  font-size: 24px; color: #666;
  background: none; border: none; cursor: pointer;
}

.modal-header {
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 2px solid var(--light-gray);
  background: var(--secondary-color);
}

.modal-title {
  margin: 0;
  color: var(--text-color);
  font-size: 1.5rem;
  text-align: center;
}

/* --- speaker item */
.modal-body-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* カード本体 */
.speaker-card{
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}

/* 画像・テキストの見た目を一覧に寄せる */
.speaker-card img{
  width: 140px; height: 140px;
  object-fit: cover;
  border-radius: 9999px;
  display: block; margin: 0 auto 12px;
}

.speaker-name{
  color: var(--text-color);
  font-weight: 700;
  font-size: 18px;
  margin: 4px 0 2px;
}

.speaker-company{
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.speaker-title-block { margin-bottom: 10px; }

/* ラベル「登壇タイトル」 */
.speaker-title-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 2px 0;       /* 行間を詰める */
  text-align: center;      /* 左寄せにしたいときは left に */
}

/* 実際のタイトル */
.speaker-title-text {
  margin: 0 0 2px 0;       /* 行間を詰める */
  font-size: 0.875rem;
  font-weight: 400;
  color: rgb(47, 62, 158); /* 指定色 */
  text-align: center;      /* 左寄せにしたいときは left に */
}

.speaker-bio{
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}

.speaker-links{
  margin-top: 12px;
  display: flex;
  gap: 16px;
  justify-content: center;
}

.speaker-links a{
  color: #2563eb; /* ブルー系 */
  text-decoration: none;
}
.speaker-links a:hover{ text-decoration: underline; }

/* モバイルは1列 */
@media (max-width: 768px){
  .modal-body-grid{ grid-template-columns: 1fr; }
}

/* 背景スクロール抑止（任意） */
.body-no-scroll { overflow: hidden; }

/* ===== ノンプロクエスト ===== */
.nonpro-quest {
  padding: 4rem 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quest-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)) padding-box,
              linear-gradient(135deg, rgba(123, 175, 175, 0.5), rgba(47, 62, 158, 0.5)) border-box;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 14px 36px rgba(47, 62, 158, 0.15), 0 2px 0 rgba(255, 255, 255, 0.5) inset;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.quest-header {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* タイトル上の小さなバッジ */
.quest-header::before {
  content: 'NON-PRO QUEST';
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  background: linear-gradient(135deg, #7BAFAF, #2F3E9E);
  border-radius: 999px;
  text-transform: uppercase;
}

.quest-title {
  font-family: var(--font-english);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-color);
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.quest-banner {
  text-align: center;
  margin-bottom: 0;
}

.quest-banner a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quest-banner a:hover {
  transform: translateY(-4px);
}

.quest-banner-image {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
}

.quest-banner a:hover .quest-banner-image {
  box-shadow: 0 8px 24px rgba(47, 62, 158, 0.25);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .quest-card {
    padding: 1.5rem;
    border-radius: 28px;
  }
  .quest-title {
    flex-direction: column;
    gap: 0.5rem;
    font-size: clamp(1.6rem, 6vw, 2rem);
  }
  /* モバイルでのデコレーション（柔らかい光彩を背面に） */
  .quest-card::after {
    content: '';
    position: absolute;
    inset: -3%;
    border-radius: inherit;
    background: radial-gradient(420px 220px at 50% -10%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)),
                radial-gradient(360px 260px at 10% 90%, rgba(123, 175, 175, 0.18), rgba(123, 175, 175, 0)),
                radial-gradient(460px 300px at 90% 10%, rgba(47, 62, 158, 0.15), rgba(47, 62, 158, 0));
    z-index: -1;
    filter: blur(4px);
  }
}

/* ===== オープニングセッションタイムライン ===== */
.opening-header {
  text-align: center;
  margin-bottom: 2rem;
}

.opening-section-title {
  font-family: 'Rye', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #8B4513;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.opening-timeline {
  position: relative;
  padding: 2rem 0;
}

/* opening-timelineの縦線は削除（opening-revenueの縦線と重複するため） */

.opening-item {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem 2rem 1.5rem 60px;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  /* schedule-gridと統一した背景色 */
  background: linear-gradient(180deg, #F5DEB3 0%, #F8F4E6 50%, #FEFEFE 100%);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* 時間表示の丸い点 */
.opening-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--text-color);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--text-color);
}

/* ホバー効果（schedule-gridと統一） */
.opening-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 統合されたオープニングセッション */
.opening-session-unified {
  background: #556B2F; /* フォレスト系の緑色 - session-blockと統一 */
  color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  /* opening-itemの制約をリセット */
  position: static;
  margin-left: 0;
  padding-left: 2rem;
  width: 100%;
  max-width: none;
}

/* 統合セッションの疑似要素を無効化 */
.opening-session-unified::before {
  display: none;
}

.opening-session-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: none;
}

.opening-session-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.opening-session-header .opening-section-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.opening-session-time {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

.opening-session-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: none;
  position: relative;
  padding-left: 2rem;
}

/* タイムライン軸の縦線（最背面） */
.opening-session-details::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
  z-index: 0; /* 最背面に配置 */
}

.opening-session-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  margin-left: -2rem;
  padding-left: 3rem;
}

/* 各アイテムの丸（白い背景丸） */
.opening-session-item::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  background: var(--white);
  border-radius: 50%;
  z-index: 2; /* 線の前面に表示 */
}

/* 各アイテムの小さな濃い緑丸 */
.opening-session-item::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 1.625rem;
  width: 8px;
  height: 8px;
  background: #2D5016; /* 濃い緑色 */
  border-radius: 50%;
  z-index: 3; /* 白丸の前面に表示 */
}

.opening-session-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.opening-session-speaker-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.opening-session-speaker-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .opening-session-details {
    padding-left: 1.5rem;
  }
  
  .opening-session-details::before {
    left: 0.5rem;
  }
  
  .opening-session-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    margin-left: -1.5rem;
    padding-left: 2.5rem;
  }
  
  .opening-session-item::before {
    left: 0.25rem;
    top: 1.2rem;
    width: 10px;
    height: 10px;
  }
  
  .opening-session-item::after {
    left: 0.3125rem;
    top: 1.3125rem;
    width: 6px;
    height: 6px;
  }
  
  .opening-session-time-small {
    min-width: auto;
    text-align: center;
    font-size: 0.85rem;
  }
  
  .opening-session-speaker-info {
    justify-content: center;
    gap: 0.8rem;
  }
  
  .opening-session-speaker-image {
    width: 40px;
    height: 40px;
  }
}

.opening-session-time-small {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  min-width: 100px;
  flex-shrink: 0;
}

.opening-session-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.opening-session-speaker {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* 開場・受付用のスタイル */
.opening-revenue {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 60px;
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

/* 開場・受付専用の縦線（最背面、繋がった線） */
.opening-revenue::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 18px;
  bottom: -2rem; /* より長く伸ばして繋がるように */
  width: 2px;
  background: var(--text-color);
  opacity: 0.3;
  z-index: 0; /* 最背面に配置 */
}

/* 開場・受付の丸い点（少し小さめ） */
.opening-revenue::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--support-color);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--support-color);
  z-index: 2; /* 線の上に表示 */
}

.opening-time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  min-width: 120px;
  flex-shrink: 0;
}

.opening-content {
  flex: 1;
}

.opening-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.opening-detail {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== タイムテーブルグリッドレイアウト ===== */
.schedule-grid {
  display: grid;
  /* デスクトップ・タブレット：2カラム2行 */
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 2rem;
  margin: 2rem 0;
}

.schedule-section {
  padding: 2rem;
  border-radius: var(--border-radius);
  min-height: 300px;
}

/* ===== エリア別の背景色とボーダー ===== */
.park-area,
.factory-area,
.bar1-area,
.bar2-area {
  /* 共通のグラデーション背景（NAVIボタンと同調、明るくなる方向） */
  background: linear-gradient(180deg, #F5DEB3 0%, #F8F4E6 50%, #FEFEFE 100%);
  /* 枠線を削除 */
  border: none;
  /* グラデーションの自然な境界線 */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* ===== エリアNAVIボタン（ベースキャンプ・トライバル調） ===== */
.area-navigation {
  margin: 2rem 0;
  text-align: center;
}

.nav-title {
  font-family: 'Rye', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo',  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.nav-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.nav-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.3rem;
  background: linear-gradient(145deg, #F5DEB3 0%, #F8F4E6 100%);
  border: none;
  border-radius: 20px;
  text-decoration: none;
  color: #654321;
  transition: all 0.4s ease;
  box-shadow: 
    0 4px 15px rgba(0,0,0,0.2),
    inset 0 2px 5px rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.nav-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
}

.nav-button:hover::before {
  left: 100%;
}

.nav-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.3),
    inset 0 2px 5px rgba(255,255,255,0.3);
  border-color: #D2691E;
}

.nav-icon {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.nav-label {
  font-family: 'Rye', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo',  font-size: 0.8rem;
  font-weight: 700;
  color: #8B4513;
  margin-bottom: 0.15rem;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}

.nav-desc {
  font-size: 0.65rem;
  color: #654321;
  line-height: 1.2;
  text-align: center;
  font-weight: 500;
}

/* エリア別のボタンカラー（ホバー時） */
.park-nav:hover {
  background: linear-gradient(135deg, #e6e6fa 0%, #f0f8ff 100%);
}

.factory-nav:hover {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
}

.bar1-nav:hover {
  background: linear-gradient(135deg, #fff0f5 0%, #ffe6f2 100%);
}

.bar2-nav:hover {
  background: linear-gradient(135deg, #f0fff0 0%, #e6ffe6 100%);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .nav-buttons {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
  
  .nav-button {
    padding: 0.6rem 0.4rem;
  }
  
  .nav-icon {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }
  
  .nav-label {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
  }
  
  .nav-desc {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .nav-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .nav-button {
    padding: 0.5rem 0.3rem;
  }
  
  .nav-icon {
    font-size: 1rem;
  }
  
  .nav-label {
    font-size: 0.8rem;
  }
  
  .nav-desc {
    font-size: 0.65rem;
  }
}

/* ホバー時の微細な変化を追加 */
.schedule-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

/* セッションカードのホバー効果 */
.session-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(85, 107, 47, 0.4);
  transition: all 0.3s ease;
}

/* ===== エリアヘッダーのスタイル ===== */
.area-header {
  text-align: center;
}

.area-name {
  font-family: 'Rye', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo',  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #8B4513;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.area-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #2F1B14;
}

/* ===== エリア内のタイムライン構造 ===== */
.area-timeline {
  margin-top: 2rem;
  position: relative;
}

/* 左側の縦線 */
.area-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--text-color);
  opacity: 0.3;
}

/* タイムラインアイテム */
.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
  padding-left: 60px;
}

/* 時間表示の丸い点 */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 10px;
  width: 10px;
  height: 10px;
  background: var(--text-color);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--text-color);
}

/* セッションブロック */
.session-block {
  background: #556B2F; /* フォレスト系の緑色 */
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
}

.session-time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.session-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #f5deb3;
}

.session-content {
  margin-bottom: 1rem;
}

.session-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.session-content li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.session-content li:last-child {
  border-bottom: none;
}

.session-cta {
  margin-top: 1rem;
}

.session-cta-button {
  display: inline-block;
  background: var(--text-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.session-cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-1px);
  border: none;
}

/* 休憩ブロック */
.break-block {
  background: var(--light-gray);
  color: var(--text-light);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: left;
  margin-bottom: 1rem;
  border: 2px dashed var(--border-color);
}

.break-time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--support-color);
}

.break-label {
  font-size: 0.8rem;
  margin-top: 0.25rem;
  opacity: 0.8;
}

/* クロージングブロック */
.closing-block {
  background: var(--support-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: left;
  margin-bottom: 1rem;
}

.closing-time {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.closing-label {
  font-size: 0.8rem;
  margin-top: 0.25rem;
  opacity: 0.9;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 768px) {
  .schedule-grid {
    /* スマートフォン：1カラム4行に変更 */
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 1rem;
  }
  
  .schedule-section {
    /* スマホ表示時はパディングを調整 */
    padding: 1.5rem;
    min-height: 250px;
  }
}

/* ===== 固定CTAボタン（モバイルのみ表示） ===== */
.fixed-cta {
  display: none; /* デフォルトでは非表示 */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.fixed-cta a {
  display: inline-block;
  background: var(--text-color);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.fixed-cta a:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 126, 121, 0.4);
}

/* ハンバーガーメニューが表示される画面サイズでのみ固定CTAを表示 */
@media (max-width: 768px) {
  .fixed-cta {
    display: block;
  }
}