

/* 経歴テーブル全体 */
.history-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 800px;
  margin: 30px auto;
  background-color: #e1eef0;
  border-radius: 10px;
  border: 5px solid #e2dddd;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 10px;
}

/* セル共通（th と td の両方に適用） */
.history-table th,
.history-table td {
  padding: 20px 25px;
  border-bottom: 3px dashed #e0eaff;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
  font-size: 1.05em;
  color: #333;
}



/* 最後の行だけボーダーなし */
.history-table tr:last-child th,
.history-table tr:last-child td {
  border-bottom: none;
}

/* 左側の列（年）のスタイル */
.history-table th {
  width: 150px;
  font-weight: bold;
  color: #0056b3;
  white-space: nowrap;
  font-size: 1.1em;
  background-color: transparent; /* 余計な背景がつかないように */
}

/* サブテキスト */
.sub-text {
  font-size: 0.9em;
  color: #666;
  display: block;
  margin-top: 5px;
}

.good2 {
  display: flex;
  flex-wrap: wrap;      /* 画面が狭くなったら折り返す */
  gap: 20px;            /* 画像の間隔 */
  justify-content: center;
}

.good2 img {
  width: calc(50% - 20px);  /* 横2枚の時の幅 */
  max-width: 200px;         /* 大きすぎるのを防止 */
  height: auto;
  border-radius: 20px;      /* 角丸 */
  object-fit: cover;        /* 切り取りキレイに */
  transition: 0.2s;
}

/* 画面が小さすぎる場合は1段にする */
@media (max-width: 500px) {
  .good2 img {
    width: 100%;
  }
}

.tableap {
  width: 100%;
  max-width: 900px;
  margin: 30px auto;
  border-collapse: collapse;
  background-color: #f5f5f5; /* 薄いグレー */
  border-radius: 10px;
  overflow: hidden; /* 角丸を適用するために必要 */
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08); /* 影で少し立体感 */
}

/* セル共通 */
.tableap th,
.tableap td {
  padding: 15px 20px;
  border-bottom: 1px solid #ddd; /* うっすら仕切り線 */
  text-align: left;
  font-size: 1em;
  color: #333;
}

/* ヘッダー */
.tableap th {
  background-color: #e0e0e0; /* 少し濃いグレー */
  font-weight: 500;
}

/* 最後の行の線は消す */
.tableap tr:last-child td {
  border-bottom: none;
}

/* ホバー時の強調（任意） */
.tableap tr:hover {
  background-color: #ededed;
}



















