/* ================================================================
   MIYAMA LINK — page-story.css（創業秘話）
   ================================================================ */

.story-lead {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

/* ---- タイムライン ---- */
.timeline {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
  padding-left: 0;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 140px;
  width: 1px;
  background: var(--primary);
  opacity: 0.25;
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 4rem;
  position: relative;
  padding-bottom: 3.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 0.55rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--primary);
  transform: translateX(-5px);
}
.timeline-item--now::before { background: var(--accent); }

.timeline-year { text-align: right; }
.timeline-year__en {
  font-family: var(--font-en);
  font-size: 1.35rem;
  color: var(--primary);
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.timeline-item--now .timeline-year__en { color: var(--accent); }

.timeline-title {
  font-family: var(--font-ja);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.timeline-body .ja-body {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ---- 30年の歩みカード ---- */
.legacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 920px;
  margin: 0 auto;
}
.legacy-card {
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary);
}
.legacy-card__title {
  font-family: var(--font-ja);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}
.legacy-card .ja-body {
  font-size: 0.875rem;
  color: var(--text-mid);
}

/* ---- レスポンシブ ---- */
@media (max-width: 767px) {
  .timeline::before { left: 5px; }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding-left: 2rem;
  }
  .timeline-item::before { left: 5px; }
  .timeline-year { text-align: left; }
  .legacy-grid { grid-template-columns: 1fr; }
  .story-lead { text-align: left; }
  .story-lead br { display: none; }
}
