/* ==========================================================================
   MUD FAIR 2026 - Main Stylesheet
   ========================================================================== */

/* --- 1. デザインシステム & 共通変数（カスタムプロパティ） --- */
:root {
  /* カラーパレット */
  --color-primary: #1e3c72;      /* 深いブルー（信頼感） */
  --color-secondary: #fff176;    /* 明るいイエロー（学び・注目） */
  --color-secondary-hover: #ffd54f;
  --color-accent: #ff007f;       /* ビビッドなピンク（行動喚起） */
  --color-accent-hover: #e60073;
  --color-bg-light: #f4f8fc;     /* 薄い青みがかった背景（MUDカラー） */
  --color-bg-dark: #0f2042;      /* フッター用ダークブルー */
  --color-text-main: #2b3a4a;    /* 視認性の高いダークグレー */
  --color-text-muted: #607d8b;   /* 補足用グレー */
  --color-white: #ffffff;
  
  /* エリアカテゴリーカラー（展示エリアマップ用） */
  --color-area-1: #0084ff;       /* エリア1: ブルー */
  --color-area-2: #ffd200;       /* エリア2: イエロー */
  --color-area-3: #5cb85c;       /* エリア3: グリーン */
  --color-area-4: #f0ad4e;       /* エリア4: オレンジ */
  --color-area-5: #d9534f;       /* エリア5: レッド/ピンク */
  --color-area-6: #999999;       /* エリア6: グレー */

  /* タイポグラフィ */
  --font-family-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Yu Gothic", sans-serif;
  --font-family-ud: 'BIZ UDPGothic', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "Yu Gothic", sans-serif;
  
  /* アニメーション & トランジション */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* ボックスシャドウ */
  --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-normal: 0 8px 16px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 12px 24px rgba(0, 0, 0, 0.15);
  
  /* 角丸 */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 9999px;
}

/* --- 2. リセット CSS & 基本設定 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* 固定ヘッダー分の余白 */
}

body {
  font-family: var(--font-family-sans);
  color: var(--color-text-main);
  background-color: var(--color-white);
  font-size: 15px; /* 親サイト準拠の基本サイズ */
  line-height: 1.6; /* 親サイト準拠の行高 */
  letter-spacing: 0.025em; /* 親サイト準拠の字間 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

/* --- 3. 共通レイアウト & コンポーネント --- */
.section-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
}

.section-header-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ボタンのスタイル */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  text-align: center;
  padding: 14px 28px;
  border-radius: var(--radius-round);
  transition: all var(--transition-normal);
  font-size: 1.05rem;
}

.btn-yellow {
  background-color: var(--color-secondary);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-yellow:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

.btn-pink {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn-pink:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-normal);
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.25rem;
}

.btn-shadow {
  box-shadow: var(--shadow-normal);
}

/* ボタン脈動アニメーション */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 0, 127, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 127, 0);
  }
}

.btn-pulse {
  animation: pulse 2s infinite;
}

/* --- 4. 固定ヘッダーのスタイリング --- */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px; /* 初期高さ */
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 3px solid #003893; /* ヘッダー下ボーダー追加 */
  box-shadow: none;
  z-index: 1000;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
}

/* スクロール時にJSで付与されるクラス */
.main-header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-light);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 50px;
}

.logo-image {
  height: 100%;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
}

.main-header.scrolled .logo-image {
  height: 42px; /* スクロール時に少し小さく */
}

/* PC ナビゲーション */
.nav-pc {
  margin-left: auto; /* メニューを右側に寄せて、ロゴとの距離を離す */
}

.nav-pc ul {
  display: flex;
  align-items: center;
}

.nav-pc li {
  display: flex;
  align-items: center;
  height: 40px;
  margin: 0 4px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.nav-pc li.active {
  background-color: #adcfff; /* 表示箇所の明示を濃く */
}

.nav-pc a {
  font-weight: 700;
  color: #003893; /* 濃い青 */
  font-size: 0.9rem;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; /* テキストの途中で折り返されないようにする */
  transition: all var(--transition-fast);
}

.nav-pc a:hover {
  background-color: #f0f4fa;
  color: #003893;
}

/* PC向けCTAボタン */
.header-cta-pc {
  margin-left: 20px;
}

.btn-header-yellow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffb700; /* 濃い黄色（ゴールド） */
  color: #003893; /* 濃い青 */
  font-weight: 800;
  font-size: 0.95rem;
  padding: 10px 24px;
  border-radius: var(--radius-round);
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(255, 183, 0, 0.2);
  white-space: nowrap;
}

.btn-header-yellow:hover {
  background-color: #ffa000;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 183, 0, 0.4);
}

/* ハンバーガーボタン (SP用) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: var(--radius-round);
  transition: all var(--transition-normal);
}

/* ハンバーガー開閉アニメーション */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* スマホ ナビゲーション (初期状態非表示) */
.nav-sp {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-bg-dark);
  padding: 120px 40px 40px;
  z-index: 1050;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.nav-sp.active {
  opacity: 0.98;
  visibility: visible;
}

.nav-sp ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.nav-sp a {
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.nav-sp a:hover {
  color: var(--color-secondary);
}

/* --- 5. メインビジュアルのスタイリング --- */
.hero-section {
  position: relative;
  padding-top: 90px; /* 固定ヘッダー分の余白 */
  overflow: hidden;
  background-color: #eef7fc;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
}

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

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 6px 20px;
  border-radius: var(--radius-round);
}

.hero-main-visual {
  max-width: 800px;
  width: 100%;
  margin-bottom: 40px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.08));
}

.hero-main-image {
  width: 100%;
  height: auto;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
  width: 100%;
}

.hero-cta-group .btn {
  min-width: 250px;
}

.hero-arrow {
  margin-top: 10px;
  animation: bounce 2s infinite;
}

.arrow-image {
  width: 45px;
  height: auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* --- 6. MUDとは（イントロダクション）のスタイリング --- */
.about-section {
  position: relative;
  background-color: var(--color-bg-light);
  overflow: hidden;
}

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

.about-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  border: 1px solid rgba(30, 60, 114, 0.1);
  text-align: center;
}

.about-lead {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.about-text {
  font-size: 1.05rem;
  color: var(--color-text-main);
  text-align: left;
  line-height: 1.8;
}

/* --- 7. MUDを知る・学ぶ（セミナーエリア） --- */
.seminar-section {
  background-color: var(--color-white);
}

.seminar-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
  max-width: 960px; /* 横幅が広すぎないように制限 */
  margin-left: auto;
  margin-right: auto;
}

.seminar-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-normal);
  /* overflow: hidden; を削除してバッジの見切れを防ぐ */
  transition: all var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.seminar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

.seminar-card .card-header-band {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 30px 20px 20px;
  text-align: center;
  display: block;
  position: relative;
  /* overflow: hidden を消したため、ヘッダーに直接上の角丸を設定 */
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.card-category-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  padding: 4px 20px;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-light);
  white-space: nowrap;
}

.card-date-title {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-top: 5px;
}

.card-content {
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-event-title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}

.card-event-subtitle {
  display: block;
  font-size: 1.05rem; /* ひとまわり小さく */
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 8px;
  line-height: 1.4;
}

.card-event-time {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.badge-target {
  background-color: #d78f30;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-round);
  letter-spacing: 0.05em;
}

.card-teacher-banner {
  background-color: #e8f0fa;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(30, 60, 114, 0.05);
}

.card-teacher-banner + .card-teacher-banner {
  margin-top: -12px; /* 講師バナーが連続する場合の間隔を詰める */
}

.teacher-badge {
  width: 145px;
  height: 145px;
  min-width: 145px;
  border-radius: var(--radius-round);
  border: 2px solid var(--color-primary);
  overflow: hidden; /* 丸形に切り抜く設定 */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
}

.teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 縦横比を維持して切り抜き表示 */
  display: block;
}

.teacher-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-accent); /* ピンク */
  background-color: rgba(255, 0, 127, 0.08); /* 薄ピンクの背景 */
  padding: 2px 10px;
  border-radius: var(--radius-sm);
  width: fit-content;
  margin-bottom: 4px;
  display: inline-block;
}

.teacher-info {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.teacher-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.teacher-dept {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.card-event-desc {
  font-family: var(--font-family-ud);
  font-size: 1.05rem;
  color: var(--color-text-main);
  line-height: 1.75;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-note-pink {
  background-color: #ffeef5;
  color: var(--color-accent);
  padding: 10px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: auto;
  border-radius: var(--radius-sm);
}

.cta-area {
  text-align: center;
  margin-top: 20px;
}

/* --- 8. MUDを見る・触れる（展示エリア・マップ） --- */
.exhibition-section {
  position: relative;
  background-color: var(--color-bg-light);
  overflow: hidden;
}

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

.exhibition-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.exhibition-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.exhibition-icon-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.exhibition-header-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.exhibition-label {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.exhibition-title {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--color-primary);
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.exhibition-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.6;
}

/* マップの中央寄せ */
.map-visual-container {
  max-width: 800px;
  margin: 0 auto 50px;
  background-color: var(--color-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  max-width: 100%;
}

/* 縦積みカードリスト */
.exhibition-cards-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* エリアカード共通スタイル */
.exhibition-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.exhibition-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-normal);
}

/* ヘッダー帯 */
.exhibition-card .card-header-band {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  border-top-left-radius: calc(var(--radius-md) - 2px);
  border-top-right-radius: calc(var(--radius-md) - 2px);
}

/* ボディなし（エリア6等）の場合は全方向を丸める */
.exhibition-card.no-body .card-header-band {
  border-radius: calc(var(--radius-md) - 2px);
}

/* エリア番号バッジ（統一ロイヤルブルー背景） */
.card-number-badge {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background-color: #003893; /* 濃い青で統一 */
  color: var(--color-white);
  border: 2px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  border-radius: 4px;
}

.card-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* 左寄せ */
  line-height: 1.3;
}

.card-area-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-white);
  text-align: left; /* 左揃え */
}

.card-area-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-top: 2px;
  text-align: left; /* 左揃え */
}

.card-header-icon {
  margin-left: auto;
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1); /* 黒画像を白画像に反転 */
}

/* カードボディ */
.card-body {
  padding: 24px 30px;
}

.card-intro-text {
  font-family: var(--font-family-ud);
  font-size: 1.1rem;
  color: var(--color-text-main);
  text-align: center;
  font-weight: 700;
  line-height: 1.6;
}

/* リストアイテム */
.card-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-details-list li {
  position: relative;
  padding-left: 24px;
}

/* エリアカラーの丸ドット擬似要素 */
.card-details-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  line-height: 1.7;
}

.card-details-list .item-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-text-main);
  line-height: 1.4;
  margin-bottom: 4px;
}

.card-details-list .item-desc {
  display: block;
  font-family: var(--font-family-ud);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* エリア別の配色 (枠線とヘッダー背景) */
.area-blue { border: 2px solid #0084ff; }
.area-blue .card-header-band { background-color: #0084ff; }
.area-blue .card-details-list li::before { color: #0084ff; }

.area-yellow { border: 2px solid #ffd200; }
.area-yellow .card-header-band { background-color: #ffd200; }
.area-yellow .card-details-list li::before { color: #ffd200; }
/* 黄色背景での可読性向上対策 (MUD配慮) */
.area-yellow .card-area-name,
.area-yellow .card-area-subtitle {
  color: var(--color-text-main);
}
.area-yellow .card-header-icon {
  filter: none; /* 黄色背景では黒アイコンのまま */
}

.area-green { border: 2px solid #2e7d32; }
.area-green .card-header-band { background-color: #2e7d32; }
.area-green .card-details-list li::before { color: #2e7d32; }

.area-orange { border: 2px solid #ef6c00; }
.area-orange .card-header-band { background-color: #ef6c00; }
.area-orange .card-details-list li::before { color: #ef6c00; }

.area-magenta { border: 2px solid #B6007C; }
.area-magenta .card-header-band { background-color: #B6007C; }
.area-magenta .card-details-list li::before { color: #B6007C; }

.area-pink { border: 2px solid #D990AC; }
.area-pink .card-header-band { background-color: #D990AC; }

/* --- 9. ペーパートークセクション（同時開催・講師紹介統合） --- */
.co-event-section {
  background-color: #003893; /* 鮮やかなロイヤルブルー（スクショ準拠） */
  color: var(--color-white);
  padding: 80px 0;
}

.co-event-header {
  text-align: center;
  margin-bottom: 50px;
}

.co-event-title-badge {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.co-event-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.15em;
  margin-bottom: 25px;
}

.co-event-logo-container {
  max-width: 380px;
  margin: 0 auto 35px;
}

.co-event-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* 立体文字タイトル */
.paper-talk-title-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 20px;
}

.paper-talk-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-align: center;
  line-height: 1.2;
  /* 立体的なシャドウ（黄色、シアン、マゼンタのズレ） */
  text-shadow: 
    1px 1px 0 #0f2042,
    2px 2px 0 #00aeef,
    4px 4px 0 #ec008c,
    6px 6px 0 #fff200;
}

.co-event-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 15px;
  font-weight: 500;
}

.co-event-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin: 45px 0;
  width: 100%;
}

.paper-talk-list {
  display: flex;
  flex-direction: column;
}

.paper-talk-item {
  display: flex;
  align-items: center;
  padding: 40px 0;
  gap: 40px;
}

/* 丸型日付バッジ */
.talk-date-badge {
  width: 150px;
  height: 150px;
  min-width: 150px;
  border-radius: var(--radius-round);
  border: 2px solid var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #003893;
  color: var(--color-white);
  line-height: 1.3;
}

.talk-date-badge .day {
  font-size: 2rem;
  font-weight: 900;
}

.talk-date-badge .time {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 5px;
}

/* 講師プロフィール */
.talk-speaker {
  width: 180px;
  min-width: 180px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.talk-speaker .speaker-img-wrap {
  width: 150px;
  height: 160px;
  border: 4px solid var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-normal);
  margin-bottom: 12px;
  background-color: var(--color-white);
  aspect-ratio: 358 / 382;
}

.talk-speaker .speaker-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.talk-speaker .speaker-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 4px;
  white-space: nowrap;
}

.talk-speaker .speaker-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.3;
}

/* トーク詳細・説明文 */
.talk-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* 黄色いタイトルボックス */
.talk-title-box {
  background-color: #FBF366; /* 若干薄いイエロー */
  color: #003893; /* ロイヤルブルー */
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-light);
}

.talk-title-box .talk-title {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.35;
}

.talk-title-box .talk-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 6px;
}

.talk-text {
  font-family: var(--font-family-ud);
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.95);
  text-align: justify;
}

/* 公式サイト誘導リンク */
.co-event-more {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.co-event-more .more-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.btn-more {
  background-color: var(--color-white);
  color: #003893;
  border: 2px solid var(--color-white);
  font-weight: 800;
  padding: 14px 35px;
  border-radius: var(--radius-round);
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-more:hover {
  background-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.15);
}

/* --- 10. お申し込みセクション --- */
.contact-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-bg-dark));
  color: var(--color-white);
  padding: 80px 24px;
}

.contact-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  box-shadow: var(--shadow-heavy);
}

.contact-logo-wrap {
  max-width: 180px;
  margin: 0 auto 24px;
  background-color: var(--color-white);
  padding: 10px;
  border-radius: var(--radius-md);
}

.contact-logo {
  width: 100%;
  height: auto;
}

.contact-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.contact-text {
  font-family: var(--font-family-ud);
  font-size: 1.1rem;
  margin-bottom: 35px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.contact-btn-wrap {
  display: flex;
  justify-content: center;
}

/* --- 11. フッター --- */
.main-footer {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  padding: 50px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo {
  max-width: 150px;
  background-color: var(--color-white);
  padding: 6px;
  border-radius: var(--radius-sm);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-info {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
}





/* --- アバウトセクション（MUDとは）新テキスト＆黄色の楕円ボタン用スタイル --- */
.about-content {
  max-width: 1080px; /* 本文枠の幅を広げて改行とボタンが横一列に並ぶようにする */
  background-color: rgba(255, 255, 255, 0.95);
  padding: 50px 40px;
}

.about-text-styled {
  font-family: var(--font-family-ud);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 2.5;
  text-align: center;
  margin-bottom: 40px;
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-color: rgba(30, 60, 114, 0.3);
  text-decoration-thickness: 1px;
}

.about-btn-group {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap; /* PCでは絶対に折り返さず横一列に並べる */
  margin-top: 30px;
}

.btn-yellow-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff200; /* 鮮やかなイエロー */
  color: var(--color-primary);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 14px 45px;
  border-radius: var(--radius-round);
  box-shadow: 0 4px 15px rgba(255, 242, 0, 0.3);
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
  white-space: nowrap; /* ボタンテキストの途中で折り返されないようにする */
  flex: 1; /* 横一列で均等幅にする */
  max-width: 280px; /* 広がりすぎないように上限を設ける */
}

.btn-yellow-round:hover {
  background-color: #ffe600;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 242, 0, 0.5);
}

/* PC表示・スマホ表示用の改行制御 */
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}

/* ==========================================================================
   メディアクエリ (レスポンシブデザイン：スマートフォン＆タブレット対応)
   ========================================================================== */

/* タブレットサイズ (1024px 以下) */
@media screen and (max-width: 1024px) {
  .map-visual-container {
    max-width: 700px;
    margin: 0 auto 30px;
  }
  
  .exhibition-cards-list {
    max-width: 700px;
  }

  /* タブレット幅でのナビゲーション改行崩れ防止 */
  .nav-pc a {
    padding: 0 10px;
    font-size: 0.85rem;
  }
  
  .btn-header-yellow {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* モバイル・スマートフォンサイズ (768px 以下) */
@media screen and (max-width: 768px) {
  html {
    font-size: 15px; /* 基本フォントサイズをやや小さく */
  }

  .section-container {
    padding: 60px 16px;
  }

  .section-title {
    font-size: 1.85rem;
  }

  /* スマホでの改行制御の反転 */
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }

  /* ヘッダーの調整 */
  .main-header {
    height: 70px;
  }

  .main-header.scrolled {
    height: 60px;
  }

  .logo-image {
    height: 36px;
  }

  .main-header.scrolled .logo-image {
    height: 32px;
  }

  .header-cta-pc {
    display: none;
  }

  .nav-pc {
    display: none; /* PCナビゲーション非表示 */
  }

  .menu-toggle {
    display: flex; /* ハンバーガーボタン表示 */
  }

  .nav-sp {
    display: block; /* SP用ドロワーメニューの有効化 */
  }

  /* ヒーローエリアの調整 */
  .hero-section {
    padding-top: 70px;
    min-height: auto;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .hero-main-visual {
    margin-bottom: 24px;
  }

  /* ヒーローエリアボタンのスマホ表示対応 (復元) */
  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  /* アバウトセクション */
  .about-content {
    padding: 24px 16px;
  }

  /* 新テキストと黄色の楕円ボタン (スマホ版) */
  .about-text-styled {
    font-family: var(--font-family-ud);
    font-size: 1.05rem;
    line-height: 2.1;
    text-align: center;
    text-underline-offset: 5px;
    margin-bottom: 30px;
  }
  
  .about-btn-group {
    flex-direction: column; /* スマホでは縦積み */
    gap: 12px;
    width: 100%;
    margin-top: 20px;
  }
  
  .btn-yellow-round {
    width: 100%;
    max-width: none;
    font-size: 1.05rem;
    padding: 12px 20px;
  }

  /* 展示エリア・マップ (スマホ版) */
  .exhibition-title {
    font-size: 1.85rem;
  }

  .exhibition-lead {
    font-size: 0.95rem;
    padding: 0 10px;
  }

  .map-visual-container {
    padding: 12px;
    margin-bottom: 30px;
  }

  .exhibition-cards-list {
    gap: 20px;
  }

  .exhibition-card .card-header-band {
    padding: 12px 15px;
    gap: 10px;
    border-top-left-radius: calc(var(--radius-md) - 2px);
    border-top-right-radius: calc(var(--radius-md) - 2px);
  }

  .exhibition-card.no-body .card-header-band {
    border-radius: calc(var(--radius-md) - 2px);
  }

  .card-number-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 1.05rem;
  }

  .card-area-name {
    font-size: 1.05rem;
  }

  .card-area-subtitle {
    font-size: 0.75rem;
  }

  .card-header-icon {
    height: 26px;
  }

  .card-body {
    padding: 16px 20px;
  }

  .card-intro-text {
    font-family: var(--font-family-ud);
    font-size: 1rem;
    line-height: 1.6;
  }

  .card-details-list {
    gap: 15px;
  }

  .card-details-list .item-title {
    font-size: 1.05rem;
  }

  .card-details-list .item-desc {
    font-family: var(--font-family-ud);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
  }

  /* 同時開催・ペーパートークセクション (スマホ版) */
  .co-event-section {
    padding: 60px 0;
  }

  .co-event-title-badge {
    font-size: 1.25rem;
  }

  .co-event-lead {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }

  .co-event-logo-container {
    max-width: 280px;
    margin: 0 auto 25px;
  }

  .paper-talk-title-wrap {
    max-width: 320px;
    margin: 0 auto 15px;
    text-align: center;
  }

  .paper-talk-title {
    font-size: 1.6rem;
    text-shadow: 
      1px 1px 0 #0f2042,
      2px 2px 0 #00aeef,
      3px 3px 0 #ec008c,
      4px 4px 0 #fff200;
  }

  .co-event-note {
    font-size: 0.85rem;
    padding: 0 10px;
  }

  .paper-talk-item {
    flex-direction: column;
    gap: 25px;
    padding: 30px 0;
    text-align: center;
  }

  .talk-date-badge {
    width: 130px;
    height: 130px;
    min-width: 130px;
  }

  .talk-date-badge .day {
    font-size: 1.7rem;
  }

  .talk-date-badge .time {
    font-size: 0.85rem;
  }

  .talk-speaker {
    width: 100%;
    min-width: 0;
  }

  .talk-speaker .speaker-img-wrap {
    width: 140px;
    height: 150px;
  }

  .talk-content {
    width: 100%;
  }

  .talk-title-box {
    padding: 14px 18px;
    text-align: center;
  }

  .talk-title-box .talk-title {
    font-size: 1.15rem;
  }

  .talk-title-box .talk-subtitle {
    font-size: 0.85rem;
  }

  .talk-text {
    font-family: var(--font-family-ud);
    font-size: 1rem;
    line-height: 1.75;
    text-align: left;
  }

  .co-event-more {
    margin-top: 35px;
    padding: 0 10px;
  }

  .co-event-more .more-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .btn-more {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* セミナーカード (スマホ版) */
  .card-date-title {
    font-size: 1.8rem;
  }
  
  .card-event-title {
    font-size: 1.3rem;
  }

  .card-event-subtitle {
    font-size: 0.95rem; /* スマホでもひとまわり小さく */
    margin-top: 6px;
  }

  .card-event-time {
    font-size: 1.2rem;
    flex-wrap: wrap;
    gap: 10px;
  }

  .card-teacher-banner {
    padding: 12px;
    gap: 12px;
  }

  .teacher-name {
    font-size: 1.05rem;
  }

  /* お申し込み */
  .contact-card {
    padding: 30px 20px;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .contact-text {
    font-family: var(--font-family-ud);
    font-size: 1rem;
    line-height: 1.6;
  }

  .card-event-desc {
    font-family: var(--font-family-ud);
    font-size: 0.95rem;
    line-height: 1.75;
  }
}
