/* ==========================================================================
 *    1. 全体設定
 *       ========================================================================== */
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  background-color: #fcfcfc;
  color: #333333;
  line-height: 1.7;
}

/* ==========================================================================
 *    2. タイトルヘッダー部分
 *       ========================================================================== */
.site-header {
  background-color: #1a365d; /* 濃いネイビー */
  color: #ffffff;
  padding: 30px 0;
  border-bottom: 4px solid #3182ce;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header h1 {
  font-size: 1.5rem;
  margin: 0 0 8px 0;
  font-weight: 600;
}

.site-header h2 {
  font-size: 1.1rem;
  margin: 0;
  color: #ebf8ff;
  font-weight: 400;
}

/* ==========================================================================
 *    3. 2カラムレイアウト ＆ サイドバーの画面固定
 *       ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;       /* 2カラム化 */
  gap: 50px;           /* 左右の間の溝 */
}

/* 左側：サイドバー（画面固定） */
.sidebar {
  width: 260px;
  flex-shrink: 0;
  position: sticky;    /* 固定表示 */
  top: 30px;           /* 画面上端からの距離 */
  align-self: flex-start; /* sticky動作に必須 */
}

/* ==========================================================================
 *    4. サイドバー内のリンクメニュー（上下2ブロック構成）
 *       ========================================================================== */
.sidebar-block {
  margin-bottom: 30px; /* ブロック同士の隙間 */
}

.sidebar-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #718096;
  margin: 0 0 8px 5px;
  font-weight: 700;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 8px;
}

.sidebar-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

/* 【上側】ページ内ナビゲーション（青系ボタン） */
.internal-links a {
  background-color: #edf2f7;
  color: #2b6cb0;
}

.internal-links a:hover {
  background-color: #2b6cb0;
  color: #ffffff;
}

/* 【下側】外部サイトへのリンク（グレー枠線ボタン） */
.external-links a {
  background-color: #f7fafc;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.external-links a:hover {
  background-color: #edf2f7;
  color: #2b6cb0;
  border-color: #cbd5e0;
}

/* ==========================================================================
 *    5. 右側：メインコンテンツエリア ＆ 各セクション
 *       ========================================================================== */
.main-content {
  flex: 1;
}

section {
  background-color: #ffffff;
  padding: 35px;
  margin-bottom: 40px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  
  /* スムーズスクロールを外したため、ジャンプ時に見出しが上にくっつきすぎないためのあそび */
  scroll-margin-top: 20px; 
}

section h3 {
  margin-top: 0;
  font-size: 1.35rem;
  border-bottom: 2px solid #2b6cb0;
  padding-bottom: 10px;
  color: #2d3748;
}

.main-content ul {
  padding-left: 20px;
}

.main-content li {
  margin-bottom: 10px;
}

.main-content a {
  color: #2b6cb0;
  text-decoration: none;
}

.main-content a:hover {
  text-decoration: underline;
}

/* ==========================================================================
 *    6. メンバー表（テーブル）＆ 日付のスタイリング
 *       ========================================================================== */
.as-of-date {
  font-size: 0.85rem;
  color: #718096;
  font-style: italic;
  margin-top: -5px;
  margin-bottom: 15px;
}

.member-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 0.95rem;
}

.member-table th {
  background-color: #2b6cb0;
  color: #ffffff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  border-bottom: 2px solid #1a365d;
}

.member-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e2e8f0;
  color: #2d3748;
  vertical-align: middle;
}

/* 1行おきに背景色を僅かに変える（ストライプ） */
.member-table tbody tr:nth-child(even) {
  background-color: #fbfcfd;
}

/* マウスホバー時の効果 */
.member-table tbody tr:hover {
  background-color: #edf2f7;
}

/* ==========================================================================
 *    7. フッター
 *       ========================================================================== */
footer {
  text-align: center;
  padding: 30px 0;
  background-color: #2d3748;
  color: #a0aec0;
  margin-top: 60px;
}
