<style>
/*―――― リセットと共通設定 ――――*/
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'メイリオ', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1f2f3d;
  background: #f4f6fb;
}

.wrapper {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
}

/*―――― カラーパレット ――――*/
:root {
  --primary-bg: #191970; /* ← より青みのある濃紺に統一 */
  --sidebar-bg: #e7ecf3;
  --sidebar-color: #003366;
  --content-bg: #ffffff;
  --accent: #006699;
  --btn-text: #fff;
  --btn-primary-bg: #ea6c28;
}

/*―――― ヘッダー ――――*/
.site-header {
  background: var(--primary-bg);
  color: white;
  padding: 0.1rem 0; /* ←縦のpaddingをさらに縮小 */
  text-align: center;
}

.site-header h1 {
  font-size: 3rem; /* ← 変更なし */
  margin-bottom: 0.1rem !important; /* 行間を詰める */
}

.site-header .sub-title {
  font-size: 2rem; /* ← 変更なし */
  margin-top: 0.1rem !important; /* 行間を詰める */
}

/*―――― グラデーションタイトル（Noto Sans使用） ――――*/
.gradient-title {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  background: linear-gradient(90deg, #8e71c1, #68bde1, #ffffff, #f7a3d0, #7bdcb5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  color: transparent;
}

/*―――― メイングリッド ――――*/
.main-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

/*―――― サイドバー ――――*/
.sidebar a {
  color: #fff !important; /* ← 文字を白に */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-weight: 600;
  padding: 0.6rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}
.sidebar ul { list-style: none; }
.sidebar li + li { margin-top: 0.8rem; }
.sidebar a {
  color: var(--sidebar-color);
  font-weight: bold;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  display: block;
  border-radius: 3px;
  transition: background 0.3s, color 0.3s;
}
.sidebar a:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(102, 126, 234, 0.5);
  opacity: 0.95;
  color: #fff; /* ← hover時も白を維持 */
}

/*―――― メインコンテンツ ――――*/
.main-content {
  background: var(--content-bg);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.main-content h2 {
  font-size: 1.4rem;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.2rem;
  margin-bottom: 1rem;
}
.main-content p, .main-content li, .main-content dd {
  font-size: 1rem;
  line-height: 1.8;
}
.main-content dl dt {
  font-weight: bold;
  margin-top: 1rem;
}
.main-content dl dd {
  margin-left: 1.5rem;
  margin-bottom: 0.5rem;
}

/*―――― 新着情報 ――――*/
#news ul { list-style: none; }
#news li {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}
#news time {
  font-weight: bold;
  color: var(--accent);
  margin-right: 0.6em;
}

/*―――― ポスター ――――*/
.poster-container {
  text-align: center;
  margin: 1rem 0;
}
.poster-img {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 3px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);

  /* フェード領域をさらに縮小して読みやすく */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}


/*―――― ボタン ――――*/
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  color: var(--btn-text);
  background: var(--btn-primary-bg);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}
.btn:hover { opacity: 0.9; }

/*―――― 大会長署名右寄せ ――――*/
.signature {
  text-align: right;
}

/*―――― フッター ――――*/
.site-footer {
  background: #191970;
  color: #fff !important;
  text-align: center;
  font-size: 0.95rem;
  padding: 0.1rem 0 !important; /* ← 縦方向の余白を半分に */
  margin-top: 1.5rem; /* 必要に応じて調整可 */
}

/* フッター内リンクのスタイル調整 */
.site-footer a {
  color: #fff !important;
  text-decoration: none;
  font-weight: inherit; /* 必要に応じて変更可 */
}

.site-footer a:hover,
.site-footer a:visited,
.site-footer a:focus,
.site-footer a:active {
  color: #fff !important;
  text-decoration: none !important;
}

/*―――― レスポンシブ ――――*/
@media(max-width: 768px) {
  .main-grid {
    display: block;
  }
  .sidebar {
    position: relative;
    top: auto;
    margin-bottom: 1rem;
  }
}

/*―――― 写真 ――――*/
.profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.profile-img img {
  max-width: 150px;
  height: auto;
  border-radius: 8px;
}

.profile-text {
  flex: 1;
  min-width: 300px;
  font-size: 1rem;
}

/*―――― プログラム表 ――――*/
.program-schedule {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
  font-size: 1rem;
}
.program-schedule th,
.program-schedule td {
  padding: 0.6rem 0.8rem;
  border: 1px solid #ddd;
}
.program-schedule th {
  background: var(--accent);
  color: #fff;
  text-align: left;
}
.program-schedule tr:hover {
  background: #fff;
}
.program-schedule tr.break {
  background: #f5f5f5;
}
.program-schedule tr.keynote {
  background: #f0f8ff;
}
.program-schedule tr.short {
  background: #f8f8ff;
}
@media (max-width: 600px) {
  .program-schedule,
  .program-schedule thead,
  .program-schedule tbody,
  .program-schedule th,
  .program-schedule td,
  .program-schedule tr {
    display: block;
  }
  .program-schedule thead tr {
    display: none;
  }
  .program-schedule tr {
    margin-bottom: 0.6rem;
  }
  .program-schedule td {
    border: none;
    padding: 0.4rem 0;
    position: relative;
  }
  .program-schedule td:before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
  }
}

/*―――― TOPへボタン ――――*/
#toTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 24px;
  text-decoration: none;
  text-align: center;
  padding: 10px 14px;
  border-radius: 50%;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  display: block !important;
}
#toTop:hover {
  opacity: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

</style>
