.timeline-table {
  width: 100%;
  max-width: 80%;
  margin: 40px auto;
  background-color: #fff;
  border-collapse: collapse;
  font-family: sans-serif;
  font-size:14px;
  table-layout: fixed;
  line-height: 1.5;
}

.timeline-table th {
  padding: 15px;
  background-color: #f8f9fa;
  border-bottom: 3px solid #333;
  color: #333;
}

.timeline-table td {
  padding: 20px 10px;
  vertical-align: top;
  border-bottom: 1px solid #717171;
}

td a {
  color:blue;
}

.event-left { text-align: left; }
.event-right { text-align: left; }

.time-col {
  width: 120px;
  text-align: center;
  position: relative;
}

.year {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  background: #fff;
  position: relative;
  z-index: 1;
}

.era {
  display: block;
  font-size: 0.75rem;
  color: #888;
  background: #fff;
  position: relative;
  z-index: 1;
}

.kaiin{
  display: block;
  font-size: 1rem;
  font-weight: bold;
  background: #fff;
  position: relative;
  margin-top:10px;
}

tr:last-child .time-col::before {
  height: 12px;
}

.waku {
  display: inline-block;
  font-size:14px;
  line-height: 14px;
  padding:1px 2px;
  margin-right:10px;
  text-decoration: none;
  color: #fff;
  background-color:  #049010d3;
  border-radius: 3px;
}

.jabia{
  background-color:  #042290d3;
}

.koen{
   background-color:  #d64a04d3;
}

.tech{
   background-color:  #9304d6d3;
}

.month {
  display: inline-block;
  font-size:14px;
  line-height: 14px;
  padding:2px 2px;
  margin-right:10px;
  background-color: #f8ff94;
  text-decoration: none;
  color: #000;
  border:#000 solid 1px; 
  border-radius: 3px;
}

.shot{
  display:inline-block;
  text-align: center;
  width:auto;
  max-width:100px;
  margin-right:5px;
  z-index: 100;
}

.large{
  max-width:200px
}

.cap{
  font-size:14px;
  line-height: 12px;
  font-weight:bold;
}


/* 固定nabi */

/* スムーズなスクロールを有効にする */
html {
  scroll-behavior: smooth;
}


/* サイドナビの固定設定 */
.side-nav {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 80px;
  background: #f4f4f4;
  padding: 15px;
  border-radius: 8px;
  opacity: 0.7;
}

.side-nav ul {
  list-style: none;
  padding: 0;
}

.side-nav li {
  margin-bottom: 15px;
}

.side-nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.side-nav a:hover {
  color: #007bff;
}

/* 各セクションの余白（スクロール位置の調整用） */
section {
  padding-top: 60px;
  margin-bottom: 500px; /* テスト用に余白を大きくしています */
}

/* レスポンシブ調整 */
@media (max-width: 600px) {

.timeline-table {
  width: 100%;
  max-width: 90%;
  font-size:12px;
}

  .time-col {
  width: 100px;
  text-align: center;
  position: relative;
}

}