@charset "UTF-8";

/* 全体のリセット＆基本設定 */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #fcfcfc;
  color: #333;
  line-height: 1.5;
}

/* ページ全体の幅制限と余白 */
.timeline-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* ヘッダー部分 */
.page-header {
  text-align: center;
  margin-bottom: 25px;
}

.site-title {
  font-size: 0.9rem;
  color: #777;
  margin: 0 0 4px 0;
}

.page-title {
  font-size: 1.6rem;
  margin: 0 0 6px 0;
  color: #222;
}

.status-text {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

/* リード文・オリジナル考察枠 (intro-box) */
.intro-box {
  background-color: #ffffff;
  padding: 18px 20px;
  margin: 20px 0 30px 0;
  border-radius: 8px;
  border-left: 5px solid #e69d00; /* テーマカラーのオレンジ */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333333;
  text-align: left;
}

.intro-box p {
  margin: 0 0 12px 0;
}

.intro-box p:last-child {
  margin-bottom: 0;
}

/* 年表ブロック全体 */
.timeline {
  padding-left: 5px;
}

/* 1出来事ごとのブロック */
.timeline-item {
  display: flex;
  flex-direction: column;
  border-left: 3px solid #e69d00; /* オレンジの縦ライン */
  padding-left: 15px;
  margin: 0 0 25px 0;
  position: relative;
}

/* 年（見出し） */
.timeline-item dt {
  font-weight: bold;
  font-size: 1.15rem;
  color: #e69d00;
  margin-bottom: 6px;
}

/* 出来事（本文） */
.timeline-item dd {
  margin: 0 0 6px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
  word-break: break-word; /* スマホでのテキストはみ出し防止 */
}

/* 最後のddの余白を調整 */
.timeline-item dd:last-child {
  margin-bottom: 0;
}

/* 9. アフィリエイト表示エリア（押しやすいボタン風に改善） */
.affiliate-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px 0;
  font-size: 1.1rem;
}

.affiliate-box a {
  display: inline-block;
  padding: 12px 24px;     /* 上下にしっかり余白を持たせてクリックしやすくする */
  background-color: #ffffff; /* 白背景のボタン風 */
  color: #e68e00;         /* オレンジ色の文字 */
  border: 2px solid #e68e00; /* オレンジの枠線 */
  border-radius: 8px;     /* 角丸 */
  text-decoration: none;  /* 下線なし */
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.affiliate-box a:hover {
  background-color: #e68e00; /* ホバー時にオレンジ反転 */
  color: #ffffff;            /* 白文字 */
  text-decoration: none;
}