/* =============================================
   全国社会福祉教育セミナー2026 in東京
   style.css
   ============================================= */

/* --- リセット & ベース --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:        #1A6FA8;
  --teal-dark:   #0F4C7A;
  --teal-light:  #E8F3FB;
  --teal-mid:    #4A9FD4;
  --gold:        #F5A623;
  --gold-light:  #FFF8EC;
  --navy:        #0F2535;
  --text:        #2D2D2D;
  --text-sub:    #5A6472;
  --bg:          #FFFFFF;
  --bg-light:    #F6F9FC;
  --border:      #D8E6F0;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 2px 8px rgba(26,111,168,0.08);
  --shadow-md:   0 6px 24px rgba(26,111,168,0.12);
  --font-main:   'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;
  --transition:  0.3s ease;
  --container:   1100px;
  --section-pad: 80px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
img { max-width: 100%; display: block; }

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

.sp-only { display: none; }

/* --- ヘッダー --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(107,79,160,0.12); }

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-img {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}
.header-logo-text { line-height: 1.2; }
.logo-main {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}
.logo-year {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.02em;
}
.logo-year em { font-style: normal; color: var(--gold); }

.global-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.global-nav ul li a {
  display: block;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.global-nav ul li a:hover { background: var(--teal-light); color: var(--teal-dark); }

.nav-entry {
  background: var(--teal) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 6px 16px !important;
}
.nav-entry:hover { background: var(--teal-dark) !important; }

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

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: #e09520;
  border-color: #e09520;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.4);
}
.btn-outline {
  background: rgba(255,255,255,0.92);
  color: var(--teal-dark);
  border-color: #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--teal-dark);
  border-color: #fff;
  transform: translateY(-2px);
}
/* ヒーロー以外のアウトラインボタン（テール枠・テール文字） */
.section .btn-outline,
.access-info .btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.section .btn-outline:hover,
.access-info .btn-outline:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.btn-white {
  background: #fff;
  color: var(--teal-dark);
  border-color: #fff;
}
.btn-white:hover { background: var(--teal-light); color: var(--teal-dark); }
.btn-block { width: 100%; }

/* --- ヒーロー --- */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* ヒーロー背景（スライドショー差し替え用 placeholder） */
.hero-bg-placeholder {
  position: absolute;
  inset: 0;
  background-image: url('images/student.jpg');
  background-size: cover;
  background-position: center 20%;
  z-index: 0;
}
.hero-bg-shape { display: none; }
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.03); }
}

/* ヒーロー全体のコンテンツ */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 88px 0 0;
}

/* 上部：タイトル＋テーマ　全幅で左寄せ */
.hero-top {
  padding: 40px 48px 16px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(26px, 3.8vw, 50px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 12px;
}
.hero-title-year {
  font-family: var(--font-main);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-title-place {
  font-family: var(--font-main);
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero-title-place em { font-style: normal; }

/* テーマボックス：ガラス風半透明 */
.hero-theme-box {
  background: rgba(10, 30, 80, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 18px 20px 18px 28px;
  display: block;
  max-width: min(1000px, 82vw);
}
.hero-theme-label {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  text-align: center;
}
.hero-theme-text {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
  text-align: center;
}
.hero-theme-sub {
  font-size: clamp(15px, 1.6vw, 19px);
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

/* 下部：左に日時等・右にロゴ */
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px 48px 36px;
  gap: 24px;
}
.hero-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.hero-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(10, 30, 80, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  width: min(675px, 56vw);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
  line-height: 1.6;
}
.meta-icon { font-size: 17px; flex-shrink: 0; margin-top: 2px; }

/* PC・タブレット：日程だけ文字を大きく */
@media (min-width: 601px) {
  .hero-meta-item.hero-meta-date {
    font-size: clamp(18px, 2.2vw, 26px);
    align-items: center;
  }
  .hero-theme-label {
    font-size: 28px;
  }
  .hero-theme-sub {
    text-align: center;
  }
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* 右下ロゴ */
.hero-bottom-right {
  flex-shrink: 0;
  text-align: right;
}
.hero-org-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  text-align: right;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* --- セクション共通 --- */
.section { padding: var(--section-pad) 0; }
.section-light { background: var(--bg-light); }
.section-theme-bg { background: linear-gradient(160deg, var(--teal-light) 0%, #EFF9F8 100%); }
.section-contact {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  color: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-note {
  font-size: 13px;
  color: var(--text-sub);
}

/* --- 開催概要 --- */
.outline-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.outline-table {
  width: 100%;
  border-collapse: collapse;
}
.outline-table th,
.outline-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  font-size: 14px;
  line-height: 1.7;
}
.outline-table th {
  width: 100px;
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  background: var(--teal-light);
}
.outline-table td small {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
}
.outline-table tr:last-child th,
.outline-table tr:last-child td { border-bottom: none; }

.fee-grid { display: flex; flex-direction: column; gap: 8px; }
.fee-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.fee-cat { font-size: 12px; color: var(--text-sub); font-weight: 700; }
.fee-price { font-size: 14px; }
.fee-price strong { color: var(--teal-dark); font-size: 15px; }
.fee-option { padding-top: 8px; border-top: 1px dashed var(--border); }

.cta-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.cta-card:last-child { margin-bottom: 0; }
.cta-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.cta-card-desc {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 16px;
  line-height: 1.6;
}
.cta-card-sub { border-top: 2px solid var(--teal-light); }

/* --- 開催趣旨 --- */
.purpose-theme-banner {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-lg);
  padding: 40px 40px;
  margin-bottom: 48px;
  color: #fff;
  text-align: center;
}
.purpose-theme-label {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.purpose-theme-main {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 14px;
}
.purpose-theme-sub {
  font-family: var(--font-main);
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

/* カードレイアウト → 案A：段落番号スタイル */
.purpose-body {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 8px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.purpose-para {
  display: flex;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.purpose-para:last-child { border-bottom: none; }
.purpose-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  text-align: right;
  padding-top: 4px;
  font-family: var(--font-main);
  letter-spacing: -0.02em;
}
.purpose-num-arrow {
  font-size: 28px;
  color: var(--gold);
}
.purpose-para-text {
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.9;
  color: var(--text);
}
.purpose-para-closing { background: none; }
.purpose-para-text-closing {
  font-weight: 700;
  color: var(--teal-dark);
}
.purpose-closing {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius-md);
  padding: 28px 32px;
  text-align: center;
}
.purpose-closing p {
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.9;
  color: #fff;
  font-weight: 500;
}

/* --- プログラム タブ --- */
.program-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 36px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}
.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all var(--transition);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover { background: var(--teal-light); }
.tab-btn.active {
  border-bottom-color: var(--teal);
  background: var(--teal-light);
}
.tab-date {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
}
.tab-label {
  font-size: 11px;
  color: var(--text-sub);
}

.program-panel { display: none; }
.program-panel.active { display: block; }

/* --- タイムライン --- */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-light), var(--border));
}

.tl-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0 24px;
  margin-bottom: 0;
  position: relative;
}
.tl-item::after {
  content: '';
  position: absolute;
  left: 84px;
  top: 20px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--teal);
  z-index: 1;
}
.tl-item.tl-break::after { background: var(--border); box-shadow: 0 0 0 2px var(--border); }

.tl-time {
  padding: 14px 16px 14px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  text-align: right;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 16px;
}
.tl-duration {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 700;
  margin-top: 0;
}

.tl-body {
  padding: 16px 0 28px 24px;
  border-left: 2px solid transparent;
}
.tl-item:not(.tl-break) .tl-body {
  border-left-color: transparent;
}

.tl-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.badge-open   { background: #E8F5E9; color: #2E7D32; }
.badge-lecture{ background: #E3F2FD; color: #1565C0; }
.badge-talk   { background: #FFF3E0; color: #E65100; }
.badge-ws     { background: #F3E5F5; color: #6A1B9A; }
.badge-panel  { background: #FBE9E7; color: #BF360C; }
.badge-social { background: var(--gold-light); color: #8B5E00; }
.badge-break  { background: var(--bg-light); color: var(--text-sub); }

.tl-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 8px;
}
.tl-desc {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 10px;
}
.tl-speaker {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text);
  background: var(--teal-light);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
}
.speaker-label {
  font-weight: 700;
  color: var(--teal-dark);
  white-space: nowrap;
  flex-shrink: 0;
}

.tl-item.tl-break .tl-body { padding-bottom: 16px; }
.tl-item.tl-break .tl-title { font-size: 15px; color: var(--text-sub); margin-bottom: 0; }

/* 写真付きレイアウト */
.tl-body-with-photo {
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 24px;
  align-items: start;
}
.tl-body-text { display: flex; flex-direction: column; gap: 0; }
.tl-body-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.speaker-photo {
  width: 140px;
  height: 180px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50% / 40%;
  border: 3px solid var(--teal-light);
  box-shadow: 0 4px 16px rgba(26,111,168,0.15);
}
.speaker-photo-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  text-align: center;
  line-height: 1.4;
}

/* --- 2日目並行 --- */
.parallel-note {
  text-align: center;
  margin-bottom: 24px;
}
.parallel-note span {
  display: inline-block;
  background: var(--gold-light);
  border: 1px solid var(--gold);
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 700;
  color: #8B5E00;
}
.parallel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.parallel-col {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.parallel-col-header {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  text-align: center;
  align-items: center;
}
.col-a {
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  color: #fff;
}
.col-b {
  background: linear-gradient(90deg, #880E4F, #C2185B);
  color: #fff;
}
.parallel-col-header > span:first-child { font-size: 22px; }
.parallel-col-theme { font-size: 15px; opacity: 0.95; font-weight: 600; }

.parallel-col .tl-item {
  padding: 0 16px;
  grid-template-columns: 80px 1fr;
}
.parallel-col .tl-item::after { left: 16px; transform: translateX(-50%); }
.parallel-col .tl-item::after { background: var(--teal); box-shadow: 0 0 0 2px var(--teal); }
.parallel-col.col-b-wrap .tl-item::after { background: #C2185B; box-shadow: 0 0 0 2px #C2185B; }
.parallel-col .timeline::before { left: 16px; }
.parallel-col .timeline { padding: 8px 0; }
.parallel-col .tl-time { font-size: 12px; padding-top: 14px; }
.parallel-col .tl-duration { font-size: 12px; }
.parallel-col .tl-body { padding: 12px 0 20px 16px; }
/* 2日目：タイトルを大きく、リード文・登壇者を小さく（逆転を修正） */
.parallel-col .tl-title { font-size: 16px; }
.parallel-col .tl-desc { font-size: 13px; }
.parallel-col .tl-speaker { font-size: 13px; }

.timeline-day2-common {
  border-top: 2px solid var(--border);
  padding-top: 24px;
}

/* --- 会場案内 --- */
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.venue-name h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.venue-hall {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.access-dl dt {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}
.access-dl dd {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 20px;
  color: var(--text);
}
.access-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.access-univ-note {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 10px;
}
.access-univ-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- お問い合わせ --- */
.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.contact-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}
.contact-info {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  line-height: 1.7;
}

/* --- フッター --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.footer-org {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.footer-org-en {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  justify-content: center;
}
.footer-nav ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  padding: 4px 8px;
  border-radius: 4px;
  transition: color var(--transition);
}
.footer-nav ul li a:hover { color: #fff; }
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* --- フェードイン アニメーション --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- レスポンシブ --- */
@media (max-width: 900px) {
  :root { --section-pad: 56px; }

  .nav-toggle { display: flex; }
  .global-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-200%);
    transition: transform var(--transition);
    z-index: 99;
    overflow: hidden;
  }
  .global-nav.open { transform: translateY(0); }
  .global-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
  }
  .global-nav ul li a {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 0;
  }
  .nav-entry { margin: 8px 16px; border-radius: var(--radius-sm) !important; }

  .outline-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .parallel-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 60px; }
  .tl-item { grid-template-columns: 60px 1fr; }
  .tl-item::after { left: 54px; }

  .tl-body-with-photo { grid-template-columns: 1fr; }
  .tl-body-photo { flex-direction: row; justify-content: flex-start; gap: 12px; margin-top: 8px; }
  .speaker-photo { width: 80px; height: 100px; }

  .hero-top { padding: 28px 28px 24px; }
  .hero-bottom { padding: 0 28px 28px; }
  .hero-logo { height: 36px; }
  /* タブレット：顔が右半分に見えるよう調整 */
  .hero-bg-placeholder { background-position: 62% 8%; }
  .hero-theme-box { max-width: 58vw; }
  .hero-meta-item { width: 58vw; }
}

@media (max-width: 600px) {
  .sp-only { display: inline; }
  :root { --section-pad: 40px; }

  .hero-top { padding: 20px 20px 18px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; padding: 0 20px 24px; gap: 16px; }
  /* スマホ：顔が右半分に見えるよう中央よりやや右に */
  .hero-bg-placeholder { background-position: 62% 8%; }
  /* ボックス幅を画面の約62%に抑えて顔が右に見えるスペースを確保 */
  .hero-theme-box { max-width: 62vw; }
  .hero-meta-item { width: 62vw; font-size: 15px; }
  .hero-meta-date { font-size: 18px; }
  .hero-cta .btn { min-width: 62vw; }
  .hero-logo { height: 28px; }
  .hero-theme-box { padding: 14px 18px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }

  .program-tabs { flex-direction: column; gap: 0; border-bottom: none; }
  .tab-btn {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border) !important;
  }
  .tab-btn.active { background: var(--teal); border-color: var(--teal); }
  .tab-btn.active .tab-date,
  .tab-btn.active .tab-label { color: #fff; }

  .timeline::before { display: none; }
  .tl-item { grid-template-columns: 1fr; gap: 0; }
  .tl-item::after { display: none; }
  .tl-time {
    text-align: left;
    padding: 12px 0 0;
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
  }
  .tl-body { padding: 8px 0 24px; border-left: none; }
  .tl-item { border-left: 3px solid var(--teal-light); padding-left: 14px; margin-bottom: 4px; }
  .tl-item.tl-break { border-left-color: var(--border); }

  .outline-table th { width: 70px; font-size: 12px; padding: 12px; }
  .outline-table td { padding: 12px; font-size: 13px; }
}
