/* =====================================================
   ACGG2026 Joint AGS – Main Stylesheet
   Main Stylesheet
   ===================================================== */

/* ===== CSS Variables ===== */
:root {
  /* Primary palette – deep teal/ocean inspired */
  --primary: #0a4f6e;
  --primary-light: #0d6a93;
  --primary-dark: #063347;
  --accent: #00b4a6;
  --accent-light: #00d4c4;
  --accent-dark: #008a7e;

  /* Secondary – warm gold */
  --gold: #e8a020;
  --gold-light: #f0bc52;

  /* Neutral */
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-gray: #edf1f5;
  --mid-gray: #8a9ab0;
  --dark-gray: #2c3a4a;
  --text-primary: #1a2a3a;
  --text-secondary: #4a5a6a;

  /* Backgrounds */
  --bg-section: #ffffff;
  --bg-alt: #f3f7fa;

  /* UI */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(10, 79, 110, 0.08);
  --shadow-md: 0 8px 24px rgba(10, 79, 110, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 79, 110, 0.18);
  --transition: 0.3s ease;

  /* Typography */
  --font-body: "Montserrat", sans-serif;
  --font-heading: "Montserrat", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: hidden;
  /* 2段ナビの高さ分オフセット（ロゴ行約65px + メニュー行約38px = 103px） */
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ===== Container ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ===== Buttons ===== */
.btn {
  /* 既存のスタイル */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  /* font-size: 0.95rem; */
  /* 固定値をコメントアウトまたは削除 */
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;

  /* 新しいフォントサイズ設定 */
  /* 最小0.75rem、ビューポート幅の2%（例）、最大0.95rem */
  font-size: clamp(0.75rem, 2vw, 0.95rem);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 180, 166, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
  background: var(--bg-section);
}
.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  background: rgba(0, 180, 166, 0.1);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* =========================================
   NAVBAR
   ========================================= */
/* =========================================
   NAVBAR – 2-ROW LAYOUT
   Row 1: Logo (+ hamburger on mobile)
   Row 2: Menu links (desktop only)
   ========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  transition: all var(--transition), transform var(--transition), opacity var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(10, 79, 110, 0.08);
}

/* モバイル: 初期状態でヘッダーを非表示にし、スクロール後に表示 */
@media (max-width: 1024px) {
  .navbar {
    transform: translateY(-100%);
    opacity: 0;
  }
  .navbar.scrolled {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Shared row wrapper */
.nav-row {
  width: 100%;
  box-sizing: border-box;
}

/* Row 1 – Logo row */
.nav-row--logo {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(10, 79, 110, 0.07);
}
.navbar.scrolled .nav-row--logo {
  padding: 0.4rem 0;
}

/* Row 2 – Menu row (hidden on mobile) */
.nav-row--menu {
  background: var(--primary);
  padding: 0;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Menu row container: full-width horizontal list */
.nav-container--menu {
  justify-content: center;
  padding: 0 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-abbr {
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  transition: font-size var(--transition);
  white-space: nowrap;
}
.logo-year {
  font-size: clamp(0.7rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--accent);
  transition: font-size var(--transition);
  white-space: nowrap;
}
.navbar.scrolled .logo-abbr { font-size: 1.2rem; }
.navbar.scrolled .logo-year  { font-size: 0.8rem; }

/* Desktop nav-menu: horizontal strip in Row 2 */
.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  justify-content: center;
}

/* ドロワー用メニューはデスクトップでは常に非表示 */
.nav-menu--drawer {
  display: none;
}

.nav-link {
  padding: 0.55rem 0.7rem;
    font-size: clamp(0.72rem, 1.1vw, 0.1rem);
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  border-radius: 0;
  transition: all var(--transition);
  white-space: nowrap;
  display: inline-block;
  text-align: center;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent-light);
  background: rgba(255,255,255,0.10);
}

/* Mobile menu overlay */
.nav-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  cursor: pointer;
  pointer-events: none;
}
.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile menu open state */
.nav-menu.open {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 100%; max-width: 100%;
  flex-direction: column;
  background: var(--white);
  padding: 5rem 2rem 2rem;
  gap: 0.5rem;
  z-index: 1000;
  overflow-y: auto;
  animation: slideInMenuRight 0.3s ease;
  align-items: flex-start;
  justify-content: flex-start;
}
.nav-menu.open .nav-link {
  color: var(--text-primary);
  border-radius: var(--radius-sm);
}
.nav-menu.open .nav-link:hover,
.nav-menu.open .nav-link.active {
  color: var(--accent);
  background: rgba(0, 180, 166, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =========================================
   HERO
   ========================================= */
/* =========================================
   HERO – Photo Background
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  color: var(--white);
  padding: 0 max(4vw, 2rem);
  box-sizing: border-box;
}

/* Background photo layer */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Fallback color while photo loads */
  background-color: #3d1a08;
  transform: scale(1.04);
  transition: transform 8s ease-out;
  will-change: transform;
}
.hero-bg.loaded {
  transform: scale(1);
}

/* Overlay – autumn warm tone, bright and seasonal */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(80, 30, 10, 0.38) 0%,
      rgba(60, 20, 5, 0.18) 55%,
      rgba(40, 10, 0, 0.04) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(20, 8, 0, 0.08) 0%,
      transparent 35%,
      rgba(60, 20, 5, 0.18) 100%
    ),
    linear-gradient(
      135deg,
      rgba(180, 80, 20, 0.10) 0%,
      rgba(200, 120, 30, 0.06) 50%,
      transparent 100%
    );
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Content – left-aligned, constrained to left half */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;
}

/* Small label pill */
.hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.45rem 1.2rem;
  border-radius: 3px;
  margin-bottom: 1.8rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeSlideDown 0.8s ease both;
}

/* Main logo block */
.hero-logo-block {
  margin-bottom: 1.6rem;
  animation: fadeSlideUp 0.9s ease 0.1s both;
  max-width: 100%;
}

.hero-abbr {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 9vw, 7.5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #ffffff;
  text-shadow:
    0 2px 40px rgba(0, 0, 0, 0.4),
    0 0 80px rgba(0, 180, 166, 0.2);
  margin-bottom: 0.5rem;
  word-break: break-word;
}

.hero-logo-divider {
  width: 52px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), transparent);
  margin: 0.8rem 0;
}

.hero-logo-sub {
  font-size: clamp(0.72rem, 1.8vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  word-break: break-word;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.2rem;
  max-width: 460px;
  animation: fadeSlideUp 0.9s ease 0.25s both;
}

/* Date / location row */
/* Hero event info block (date + venue) */
.hero-event-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.8rem;
  animation: fadeSlideUp 0.9s ease 0.35s both;
}

.hero-event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 0.7rem 1.4rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}

.hero-event-date i {
  color: var(--accent-light);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.hero-event-date span {
  font-size: clamp(1.1rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-event-venue {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  width: fit-content;
  max-width: 100%;
}

.hero-event-venue i {
  color: var(--accent-light);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.hero-event-venue span {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* モバイル対応 */
@media (max-width: 1024px) {
  .hero {
    padding: 0 1rem;
    align-items: flex-start;
    padding-top: 8rem;
    padding-bottom: 5rem;
    min-height: 100svh;
  }

  .hero-content {
    width: 100%;
    overflow: hidden;
    text-align: center;
  }

  .hero-logo-block {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-logo-divider {
    margin: 0.8rem auto;
    background: linear-gradient(90deg, transparent, var(--accent-light), transparent);
  }

  .hero-satellite-event {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-event-date,
  .hero-event-venue {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-satellite-event {
    flex-wrap: wrap !important;
    border-radius: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.6rem 1rem !important;
    gap: 0.5rem !important;
  }

  .hero-satellite-event span {
    font-size: 0.85rem !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .hero-event-info {
    margin-bottom: 1.5rem;
  }

  .hero-event-date,
  .hero-event-venue {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-event-date {
    padding: 0.55rem 1rem;
  }

  .hero-event-date i {
    font-size: 1.1rem;
  }

  .hero-event-date span {
    white-space: normal;
  }

  .hero-event-venue {
    padding: 0.5rem 1rem;
  }

  .hero-event-venue span {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 0.75rem;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: fadeIn 1s ease 1s both;
}

.scroll-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  animation: bounceDown 2s ease-in-out infinite;
  transition: all var(--transition);
}
.scroll-circle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

@keyframes bounceDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* =========================================
   COUNTDOWN BAR
   ========================================= */
.countdown-bar {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  padding: 2rem 0;
  color: var(--white);
}

.countdown-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.countdown-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.countdown-grid {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.countdown-item {
  text-align: center;
}

.count-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-light);
}

.count-unit {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.countdown-sep {
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

/* =========================================
   ABOUT
   ========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-lead {
  font-size: 1.2rem !important;
  font-weight: 500;
  color: var(--text-primary) !important;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.about-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.about-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================
   TIMELINE (KEY DATES)
   ========================================= */
.timeline {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--primary));
  opacity: 0.3;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
  position: relative;
}

.timeline-dot {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent);
  margin-top: 0.35rem;
  position: relative;
  z-index: 1;
  margin-left: 18px;
}

.timeline-dot-accent {
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold);
  width: 18px;
  height: 18px;
  margin-left: 16px;
}

.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.timeline-content:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.timeline-item-conference .timeline-content {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
  border-color: transparent;
}
.timeline-item-conference .timeline-content h3,
.timeline-item-conference .timeline-content p,
.timeline-item-conference .timeline-content .timeline-date {
  color: rgba(255, 255, 255, 0.95) !important;
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
  display: block;
}

.timeline-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* =========================================
   SPEAKERS
   ========================================= */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.speaker-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.speaker-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--accent);
}

.speaker-photo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Country flag badge on speaker photo
   表示/非表示の切り替え方法:
   表示: <body class="show-country"> （デフォルト）
   非表示: <body> （classを削除するだけ）
*/
.speaker-flag {
  position: absolute;
  bottom: 2px;
  right: -4px;
  font-size: 1.5rem;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35));
  pointer-events: none;
  display: none; /* デフォルト非表示 */
}
body.show-country .speaker-flag {
  display: block; /* show-country クラスがbodyにある場合のみ表示 */
}

.speaker-country {
  font-size: 0.78rem;
  color: var(--mid-gray);
  font-weight: 500;
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
  display: none; /* デフォルト非表示 */
}
body.show-country .speaker-country {
  display: block; /* show-country クラスがbodyにある場合のみ表示 */
}

/* Flag emoji map via data-country on .speaker-card */
.speaker-card[data-country="jp"] .speaker-flag::before {
  content: "🇯🇵";
}
.speaker-card[data-country="au"] .speaker-flag::before {
  content: "🇦🇺";
}
.speaker-card[data-country="cn"] .speaker-flag::before {
  content: "🇨🇳";
}
.speaker-card[data-country="kr"] .speaker-flag::before {
  content: "🇰🇷";
}
.speaker-card[data-country="tw"] .speaker-flag::before {
  content: "🇹🇼";
}
.speaker-card[data-country="in"] .speaker-flag::before {
  content: "🇮🇳";
}
.speaker-card[data-country="sg"] .speaker-flag::before {
  content: "🇸🇬";
}
.speaker-card[data-country="nz"] .speaker-flag::before {
  content: "🇳🇿";
}
.speaker-card[data-country="us"] .speaker-flag::before {
  content: "🇺🇸";
}
.speaker-card[data-country="gb"] .speaker-flag::before {
  content: "🇬🇧";
}
.speaker-card[data-country="de"] .speaker-flag::before {
  content: "🇩🇪";
}
.speaker-card[data-country="fr"] .speaker-flag::before {
  content: "🇫🇷";
}
.speaker-card[data-country="ca"] .speaker-flag::before {
  content: "🇨🇦";
}
.speaker-card[data-country="th"] .speaker-flag::before {
  content: "🇹🇭";
}
.speaker-card[data-country="my"] .speaker-flag::before {
  content: "🇲🇾";
}
.speaker-card[data-country="id"] .speaker-flag::before {
  content: "🇮🇩";
}
.speaker-card[data-country="ph"] .speaker-flag::before {
  content: "🇵🇭";
}
.speaker-card[data-country="vn"] .speaker-flag::before {
  content: "🇻🇳";
}

.speaker-photo {
  width: 110px;
  height: 110px;
  border-radius: 0;
  overflow: hidden;
  border: 4px solid var(--light-gray);
}
.speaker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.speaker-photo-placeholder {
  background: linear-gradient(135deg, var(--light-gray), var(--bg-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--mid-gray);
}

.speaker-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}

.speaker-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}

.speaker-affiliation {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.speakers-note {
  text-align: center;
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.95rem;
}

/* =========================================
   TOPICS
   ========================================= */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.topic-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.topic-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(0, 180, 166, 0.1),
    rgba(10, 79, 110, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
  color: var(--accent);
  transition: all var(--transition);
}
.topic-card:hover .topic-icon {
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: white;
}

.topic-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.topic-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================
   PROGRAM
   ========================================= */
.program-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

.program-schedule {
  max-width: 800px;
  margin: 0 auto;
}

.schedule-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 1px solid var(--light-gray);
  background: var(--white);
  align-items: start;
  transition: all var(--transition);
}
.schedule-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.schedule-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--mid-gray);
  padding-top: 0.1rem;
  white-space: nowrap;
}

.schedule-details h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.schedule-details p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.schedule-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: white;
  padding: 0.15rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.4rem;
}

.schedule-item.schedule-keynote {
  border-left: 4px solid var(--accent);
  background: rgba(0, 180, 166, 0.03);
}

.schedule-item.schedule-special {
  border-left: 4px solid var(--gold);
  background: rgba(232, 160, 32, 0.04);
}

/* =========================================
   ABSTRACTS
   ========================================= */
.abstracts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.abstract-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
}

.abstract-list {
  margin-bottom: 2rem;
}
.abstract-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.abstract-list li:last-child {
  border-bottom: none;
}
.abstract-list i {
  color: var(--accent);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.abstract-types {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.abstract-type {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.abstract-type i {
  font-size: 1.4rem;
  color: var(--accent);
  margin-top: 0.15rem;
}
.abstract-type h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}
.abstract-type p {
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.abstract-submit-card {
  background: var(--primary-dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.abstract-submit-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.abstract-submit-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.submit-deadline {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.submit-deadline i {
  font-size: 1.5rem;
  color: var(--gold-light);
}
.deadline-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.2rem;
}
.deadline-date {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.submit-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.submit-note a {
  color: var(--accent-light);
}

/* =========================================
   CALL FOR PAPERS
   ========================================= */

/* Top row – 3 presentation type cards */
.cfp-types-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cfp-type-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 3px 16px rgba(6, 51, 71, 0.07);
  border-top: 3px solid var(--accent);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.cfp-type-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(6, 51, 71, 0.11);
}
.cfp-type-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}
.cfp-type-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.cfp-type-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Main two-column grid */
.cfp-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
  align-items: start;
}

/* Left: guidelines */
.cfp-guidelines h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cfp-guidelines h3 i {
  color: var(--accent);
}

.cfp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cfp-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.55;
}
.cfp-list li i {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.22rem;
}

/* Topic tags */
.cfp-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.cfp-topic-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(13, 106, 147, 0.08);
  border: 1px solid rgba(13, 106, 147, 0.18);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  letter-spacing: 0.02em;
  transition:
    background 0.2s,
    color 0.2s;
}
.cfp-topic-tag:hover {
  background: var(--primary);
  color: white;
}

/* Right sidebar */
.cfp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Deadlines box */
.cfp-deadlines {
  background: var(--white);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 0 3px 16px rgba(6, 51, 71, 0.07);
}
.cfp-deadlines h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cfp-deadlines h3 i {
  color: var(--accent);
}

.cfp-deadline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--light-gray);
  flex-wrap: wrap;
}
.cfp-deadline-item:last-child {
  border-bottom: none;
}

.cfp-deadline-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
}
.cfp-deadline-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}
.cfp-deadline-highlight {
  color: var(--accent);
  background: rgba(0, 180, 166, 0.08);
  padding: 0.2rem 0.7rem;
  border-radius: 50px;
}

/* Submit card */
.cfp-submit-card {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 14px;
  padding: 1.8rem;
  color: white;
}
.cfp-submit-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.cfp-submit-note {
  margin-top: 1rem !important;
  font-size: 0.8rem !important;
  color: rgba(255, 255, 255, 0.65) !important;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0 !important;
}
.cfp-submit-note a {
  color: var(--accent-light);
  text-decoration: none;
  font-weight: 600;
}
.cfp-submit-note a:hover {
  text-decoration: underline;
}

/* =========================================
   REGISTRATION
   ========================================= */
.registration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.reg-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.reg-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--accent);
}

.reg-card-featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.reg-card-featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.reg-card-header {
  padding: 2rem;
  background: var(--bg-alt);
  text-align: center;
}
.reg-card-featured .reg-card-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: white;
}

.reg-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 180, 166, 0.12);
  color: var(--accent-dark);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}
.reg-card-featured .reg-badge,
.reg-badge-featured {
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
}
.reg-badge-student {
  background: rgba(232, 160, 32, 0.12);
  color: #9a6600;
}

.reg-card-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.reg-card-featured .reg-card-header h3 {
  color: white;
}

.reg-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.reg-card-featured .price-amount {
  color: var(--accent-light);
}

.price-currency {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.reg-card-featured .price-currency {
  color: rgba(255, 255, 255, 0.7);
}

.reg-deadline {
  font-size: 0.78rem;
  color: var(--mid-gray);
}
.reg-card-featured .reg-deadline {
  color: rgba(255, 255, 255, 0.6);
}

.reg-features {
  padding: 1.5rem 2rem;
  flex: 1;
}
.reg-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--light-gray);
}
.reg-features li:last-child {
  border-bottom: none;
}
.reg-features li i {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.reg-no {
  color: var(--mid-gray) !important;
}
.reg-features li:has(.reg-no) {
  color: var(--mid-gray);
}

.reg-card > .btn {
  margin: 0 2rem 2rem;
}

.reg-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.reg-note i {
  color: var(--primary-light);
}

/* =========================================
   VENUE
   ========================================= */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.venue-info h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}

.venue-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.venue-info > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.venue-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.venue-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.venue-detail-item > i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.venue-detail-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}
.venue-detail-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.map-container {
  margin-bottom: 1.5rem;
}

.venue-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.venue-feature {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.venue-feature:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.venue-feature i {
  display: block;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

/* Tsukuba section */
.tsukuba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tsukuba-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.tsukuba-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.tsukuba-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.3rem;
  color: white;
}

.tsukuba-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}

.tsukuba-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================
   ACCOMMODATION & TRANSPORTATION
   ========================================= */

/* Two-column grid */
.accom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Card */
.accom-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(6, 51, 71, 0.08);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.accom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(6, 51, 71, 0.13);
}

/* Card image area */
.accom-card-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.accom-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.accom-card:hover .accom-card-img img {
  transform: scale(1.04);
}

/* Badge on image */
.accom-card-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(6, 51, 71, 0.82);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Card body */
.accom-card-body {
  padding: 1.8rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.accom-card-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.accom-card-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Checklist inside card */
.accom-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.accom-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.accom-list li i {
  color: var(--accent);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.18rem;
}

/* Bottom info strip */
.accom-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 2rem 2.5rem;
}
.accom-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.accom-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}
.accom-info-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.3rem;
}
.accom-info-item p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.accom-info-item a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.accom-info-item a:hover {
  text-decoration: underline;
}

/* =========================================
   SPONSORS
   ========================================= */
.sponsor-tier {
  margin-bottom: 3.5rem;
  text-align: center;
}

.sponsor-tier-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 2rem;
  position: relative;
}
.sponsor-tier-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 0.6rem auto 0;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.sponsor-logos-platinum {
  gap: 0;
}

.sponsor-logo-placeholder {
  width: 300px;
  height: 100px;
  border: 2px dashed var(--light-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid-gray);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition);
  background: var(--bg-alt);
}
.sponsor-logo-placeholder:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.sponsor-logo-sm {
  width: 200px;
  height: 80px;
}

.sponsorship-cta {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary) 50%,
    var(--primary-light) 100%
  );
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  color: white;
  margin-top: 2rem;
}

.sponsorship-cta h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.sponsorship-cta p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* =========================================
   COMMITTEE
   ========================================= */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.committee-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.committee-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.committee-role {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.committee-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.committee-affiliation {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* =========================================
   CONTACT
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 2rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}
.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.contact-item a:hover {
  color: var(--accent);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 166, 0.12);
}

.form-success {
  text-align: center;
  padding: 3rem;
  color: var(--accent);
}
.form-success i {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.form-success h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-secondary);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
}

.footer-top {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1rem;
}
.footer-brand .logo-abbr {
  color: white;
  font-size: 1.6rem;
}
.footer-brand .logo-year {
  color: var(--accent-light);
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--accent);
  color: white;
}

.footer-links h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-links li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-links li a:hover {
  color: var(--accent-light);
}

.footer-contact h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 1.25rem;
}
.footer-contact p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.footer-contact i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
}
.footer-contact a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================
   BACK TO TOP
   ========================================= */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE – TABLETS (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .tsukuba-grid,
  .committee-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .registration-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .reg-card-featured {
    transform: scale(1);
  }
  .reg-card-featured:hover {
    transform: translateY(-6px);
  }

  /* Call for Papers */
  .cfp-types-row {
    grid-template-columns: 1fr;
  }
  .cfp-grid {
    grid-template-columns: 1fr;
  }

  /* Accommodation */
  .accom-grid {
    grid-template-columns: 1fr;
  }
  .accom-info-strip {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   RESPONSIVE – MOBILE (≤ 1024px)
   ========================================= */
@media (max-width: 1024px) {
  /* モバイル: ハンバーガー表示、メニュー行(Row2)を非表示 */
  .nav-toggle {
    display: flex;
    flex-shrink: 0;
    z-index: 1010;
    position: relative;
  }

  .nav-row--menu {
    display: none;
  }

  .nav-container {
    padding: 0 1rem;
    max-width: 100%;
    overflow: visible;
  }

  /* デスクトップメニューul（nav-row--menu内）は非表示 */
  .nav-menu--desktop {
    display: none;
  }

  /* ドロワーメニューは閉じている間は非表示 */
  .nav-menu--drawer {
    display: none;
  }

  /* ドロワーメニュー open 時 */
  .nav-menu--drawer.open {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    max-width: 100%;
    flex-direction: column;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    z-index: 1000;
    overflow-y: auto;
    animation: slideInMenuRight 0.3s ease;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .nav-link {
    padding: 1rem 1.5rem !important;
    font-size: 1.1rem !important;
    width: 100% !important;
    display: block !important;
    text-align: left !important;
    color: var(--text-primary) !important;
    border-radius: var(--radius-sm) !important;
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--accent) !important;
    background: rgba(0, 180, 166, 0.08) !important;
  }
  
  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 1024px) {
  /* ① カード全体をコンパクトに */
  .speaker-card {
    padding: 0.8rem 0.4rem;
  }

  /* ② 画像サイズ縮小（最重要） */
  .speaker-photo {
    width: 64px;
    height: 64px;
    border-width: 2px;
  }

  /* ③ 名前（改行しにくく） */
  .speaker-name {
    font-size: 0.75rem;
    line-height: 1.2;
    margin-bottom: 0.15rem;

    /* 2行で省略 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ④ タイトル */
  .speaker-title {
    font-size: 0.65rem;
    letter-spacing: 0.04em;
    margin-bottom: 0.2rem;
  }

  /* ⑤ 所属（ここが一番崩れやすい） */
  .speaker-affiliation {
    font-size: 0.65rem;
    line-height: 1.3;

    /* 2行制限 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ⑥ 国旗サイズ */
  .speaker-flag {
    font-size: 1rem;
    right: -2px;
    bottom: 0;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .about-cards,
  .topics-grid,
  .committee-grid,
  .tsukuba-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 1.5rem;
  }
  .abstract-submit-card {
    padding: 1.75rem;
  }
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 {
  transition-delay: 0.1s;
}
.fade-in-delay-2 {
  transition-delay: 0.2s;
}
.fade-in-delay-3 {
  transition-delay: 0.3s;
}
.fade-in-delay-4 {
  transition-delay: 0.4s;
}

/* =====================================================
   UNDER CONSTRUCTION BLOCK
   ===================================================== */
.under-construction-block {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--light-gray);
}
.under-construction-block .uc-icon {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.under-construction-block h3 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}
.under-construction-block p {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.uc-mini-block {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-alt);
  border: 1px solid var(--light-gray);
  border-radius: 50px;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.uc-mini-block i {
  color: var(--accent);
}

/* =====================================================
   PARTICIPANTS SECTION
   ===================================================== */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.participant-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.participant-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.participant-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.3rem;
  color: white;
}
.participant-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}
.participant-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.organizer-block {
  margin-top: 2rem;
}

/* Organizer Logos Grid */
.organizer-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.organizer-item {
  display: flex;
  justify-content: center;
  align-items: center;
}

.organizer-link {
  display: inline-block;
  transition: transform var(--transition), box-shadow var(--transition);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.organizer-link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.organizer-banner {
  display: block;
  max-width: 100%;
  height: auto;
  width: auto;
  max-height: 150px;
  object-fit: contain;
  border-radius: 0;
}

/* Responsive: Tablet and below */
@media (max-width: 1024px) {
  .organizer-logos {
    gap: 1.5rem;
  }
  
  .organizer-banner {
    max-height: 130px;
  }
}

/* Responsive: Mobile */
@media (max-width: 1024px) {
  .organizer-logos {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .organizer-item {
    width: 100%;
    max-width: 280px;
  }
  
  .organizer-banner {
    max-height: 120px;
    width: 100%;
  }
}

/* Responsive: Small mobile */
@media (max-width: 480px) {
  .organizer-logos {
    gap: 1rem;
  }
  
  .organizer-item {
    width: 100%;
    max-width: 100%;
  }
  
  .organizer-banner {
    max-height: 100px;
    width: 100%;
  }
}

.organizer-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 3rem 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--light-gray);
  text-align: center;
  color: var(--mid-gray);
  font-size: 1rem;
}
.organizer-placeholder i {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.5;
}

/* =====================================================
   FELLOWSHIPS SECTION
   ===================================================== */
.fellowship-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.fellowship-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.fellowship-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.fellowship-card-alt {
  border-color: var(--accent);
}
.fellowship-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 2rem;
  color: white;
  position: relative;
}
.fellowship-card-alt .fellowship-header {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}
.fellowship-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}
.fellowship-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.fellowship-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}
.fellowship-badge-alt {
  background: rgba(255,255,255,0.2);
}
.fellowship-body {
  padding: 1.8rem 2rem;
}
.fellowship-body > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.fellowship-body h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.6rem;
}
.fellowship-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.2rem;
}
.fellowship-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.fellowship-list li:last-child { border-bottom: none; }
.fellowship-list li i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}
.fellowship-deadline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  color: var(--text-secondary);
  background: var(--bg-alt);
  padding: 0.6rem 1rem;
  border-radius: 8px;
}
.fellowship-deadline i { color: var(--accent); }

/* =====================================================
   EXCURSION SECTION
   ===================================================== */
.excursion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.excursion-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  transition: all var(--transition);
}
.excursion-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.excursion-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.excursion-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.excursion-card:hover .excursion-card-img img {
  transform: scale(1.05);
}
.excursion-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.excursion-badge-alt {
  background: var(--accent-dark);
}
.excursion-card-body {
  padding: 1.8rem;
}
.excursion-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.6rem;
}
.excursion-card-body > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.excursion-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.excursion-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--light-gray);
}
.excursion-list li:last-child { border-bottom: none; }
.excursion-list li i { color: var(--accent); flex-shrink: 0; }
.excursion-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--mid-gray);
  background: var(--bg-alt);
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
}
.excursion-note i { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.excursion-footer-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
}
.excursion-footer-note i { color: var(--accent); margin-right: 0.4rem; }
.excursion-footer-note a { color: var(--accent); }

/* =====================================================
   RESPONSIVE — new sections
   ===================================================== */
@media (max-width: 1024px) {
  .participants-grid { grid-template-columns: 1fr 1fr; }
  .fellowship-grid { grid-template-columns: 1fr; }
  .excursion-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .participants-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   SECTION DIVIDER IMAGE
   ===================================================== */
.section-divider-img {
  width: 100%;
  height: 320px;
  overflow: hidden;
  display: block;
}
.section-divider-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 1024px) {
  .section-divider-img {
    height: 200px;
  }
}

/* =====================================================
   PARTICIPANTS PHOTO
   ===================================================== */
.participants-photo {
  width: 100%;
  height: 340px;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.participants-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

@media (max-width: 1024px) {
  .participants-photo { height: 220px; }
}

/* =====================================================
   VENUE PHOTO GALLERY
   ===================================================== */
/* =========================================
   VENUE PHOTO SLIDER
   ========================================= */
.venue-slider-wrap {
  margin-top: 3rem;
}
.venue-gallery-note {
  font-size: 0.8rem;
  color: var(--mid-gray);
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.venue-gallery-note i { color: #f59e0b; flex-shrink: 0; }

/* Main slider stage */
.venue-slider {
  position: relative;
  width: 100%;
  /* 16:9 aspect ratio – adapts to any image width */
  aspect-ratio: 16 / 9;
  border-radius: 0;
  overflow: hidden;
  background: #c8d6e5;
  box-shadow: var(--shadow-md);
}

/* Individual slides */
.vslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.vslide.active {
  opacity: 1;
  pointer-events: auto;
}
.vslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* object-position keeps differently-sized images centered */
  object-position: center center;
}

/* Arrow buttons */
.vslider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
}
.vslider-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.08);
}
.vslider-arrow--prev { left: 0.9rem; }
.vslider-arrow--next { right: 0.9rem; }

/* Caption overlay */
.vslider-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1rem 0.65rem;
  background: linear-gradient(to top, rgba(6, 22, 34, 0.72) 0%, transparent 100%);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  pointer-events: none;
}

/* Counter (top-right) */
.vslider-counter {
  position: absolute;
  top: 0.7rem;
  right: 0.85rem;
  background: rgba(6, 22, 34, 0.55);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Dot indicators */
.vslider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}
.vslider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--light-gray);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.vslider-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

/* Touch/swipe hint – fade in on mobile */
.vslider-swipe-hint {
  display: none;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .vslider-arrow {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  .vslider-arrow--prev { left: 0.4rem; }
  .vslider-arrow--next { right: 0.4rem; }
  .vslider-caption {
    font-size: 0.8rem;
  }
}


/* old venue-gallery-grid mobile rules removed – replaced by vslider responsive CSS above */

@media (max-width: 1024px) {
  .speaker-card {
    padding: 1rem 0.5rem;
  }
  .speaker-card h3 {
    font-size: 1rem;
  }
  .speaker-card p {
    font-size: 0.8rem;
  }
}


/* =========================================
   SCHEDULE TABLE (No.18)
   ========================================= */
.schedule-table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.schedule-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 640px;
  background: var(--white);
  table-layout: fixed; /* 列幅を均等に固定 */
}

.schedule-tbl thead tr {
  background: var(--primary-dark);
  color: #fff;
}

.sch-th-time {
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 700;
  width: 20%; /* 均等幅（5列 × 20%） */
  border-right: 1px solid rgba(255,255,255,0.15);
}

.sch-th-day {
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  width: 20%; /* 均等幅（5列 × 20%） */
  border-right: 1px solid rgba(255,255,255,0.15);
}

.sch-th-last {
  border-right: none;
}

.sch-dow {
  font-weight: 400;
  opacity: 0.8;
  font-size: 0.85rem;
}

.sch-time {
  padding: 0.75rem 0.85rem;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent);
  background: var(--bg-alt);
  text-align: center;
  border-right: 2px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  word-break: break-word; /* テキスト折り返しを許可 */
  vertical-align: middle;
}

.sch-cell {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border-right: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.sch-cell:last-child {
  border-right: none;
}

.sch-cell strong {
  display: block;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.sch-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sch-duration {
  font-size: 0.75rem;
  color: var(--mid-gray);
  font-style: italic;
}

.sch-jamboree {
  background: #fef9c3;
  font-weight: 700;
  color: #92400e;
  text-align: center;
  vertical-align: middle;
  font-size: 0.95rem;
}

.sch-highlight {
  background: #e0f2fe;
}

.sch-closing {
  background: #fef9c3;
  font-weight: 700;
  color: #92400e;
  text-align: center;
  vertical-align: middle;
}

.sch-lunch {
  text-align: center;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-alt);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.sch-row-lunch .sch-time {
  color: var(--text-secondary);
}

.sch-row-evening .sch-time {
  color: var(--gold);
}

.sch-social {
  color: var(--primary-dark);
  font-weight: 600;
}

.sch-social i {
  color: var(--accent);
  margin-right: 0.3rem;
}

.schedule-note {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Responsive: stack table scroll hint on mobile */
@media (max-width: 1024px) {
  .schedule-table-wrap::before {
    content: "← スクロールして表全体を確認 →";
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--mid-gray);
    padding: 0.4rem 0;
    background: var(--bg-alt);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }
  .schedule-tbl {
    font-size: 0.8rem;
  }
  .sch-th-day,
  .sch-th-time {
    font-size: 0.85rem;
    padding: 0.65rem 0.5rem;
  }
  .sch-cell {
    padding: 0.6rem 0.5rem;
  }
  .sch-time {
    padding: 0.6rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* =========================================
   KEY DATES + SCHEDULE 統合ブロック
   ========================================= */
.keydates-schedule-block {
  margin-top: 1rem;
}

.keydates-schedule-title {
  font-size: 1.8rem;
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.keydates-schedule-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 50px;
  vertical-align: middle;
  line-height: 1.4;
}
