/* ======================================
   shindenmirai page-daily.css
   ====================================== */

.timeline { position: relative; padding: 0 0 0 0; max-width: 800px; margin: 0 auto }

.timeline::before {
  content: ''; position: absolute; left: 56px; top: 0; bottom: 0;
  width: 3px; background: var(--yellow-light); border-radius: 2px;
}

.timeline-item {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 0 0 40px; position: relative;
}

.timeline-item:last-child { padding-bottom: 0 }

.timeline-time {
  flex-shrink: 0; width: 80px; height: 80px;
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: var(--white);
  position: relative; z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  line-height: 1.2;
}

.timeline-time small { font-size: 10px; font-weight: 500; opacity: 0.9 }

.timeline-time--morning { background: var(--yellow); color: var(--brown) }

.timeline-time--midday { background: var(--orange) }

.timeline-time--afternoon { background: var(--green) }

.timeline-time--evening { background: var(--blue) }

.timeline-content {
  flex: 1; background: var(--white); border-radius: 16px;
  padding: 24px 28px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.04);
  min-height: 80px; display: flex; align-items: center;
}

.timeline-content h3 {
  font-size: 17px; font-weight: 700; color: var(--brown);
  letter-spacing: 0.06em;
}

.timeline-content p {
  font-size: 14px; color: var(--text-light); margin-top: 4px; line-height: 1.7;
}

.timeline-item:nth-child(odd) .timeline-content { background: var(--yellow-pale) }

.timeline-item:nth-child(even) .timeline-content { background: var(--white) }

.timeline-photo {
  width: 100%; border-radius: 12px; margin-top: 12px;
  object-fit: cover; max-height: 180px;
}

.events-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}

.events-note {
  text-align: center; font-size: 14px; color: var(--text-light);
  margin-bottom: 32px;
}

.events-note strong { color: var(--orange); font-weight: 700 }

.events-season {
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.events-season-header {
  padding: 16px 20px; font-size: 18px; font-weight: 700;
  color: var(--white); text-align: center; letter-spacing: 0.1em;
}

.events-season--spring .events-season-header { background: var(--pink) }

.events-season--summer .events-season-header { background: var(--green) }

.events-season--autumn .events-season-header { background: var(--orange) }

.events-season--winter .events-season-header { background: var(--blue) }

.events-month {
  padding: 12px 20px; border-bottom: 1px solid rgba(0,0,0,0.04);
}

.events-month:last-child { border-bottom: none }

.events-month-label {
  font-size: 14px; font-weight: 700; color: var(--brown);
  margin-bottom: 4px;
}

.events-season--spring .events-month-label { color: #d4477a }

.events-season--summer .events-month-label { color: #4a9e35 }

.events-season--autumn .events-month-label { color: var(--orange-dark) }

.events-season--winter .events-month-label { color: #3a8fc7 }

.events-month-list {
  font-size: 13px; color: var(--text-light); line-height: 1.7;
}

.events-monthly {
  text-align: center; margin-top: 32px; padding: 20px 24px;
  background: var(--yellow-pale); border-radius: 12px;
  font-size: 14px; color: var(--brown);
}

.events-monthly strong { color: var(--orange) }

.narashi-section {
  max-width: 720px; margin: 0 auto;
  background: var(--white); border-radius: 16px;
  padding: 40px 48px; box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-left: 4px solid var(--orange);
}

.narashi-section h3 {
  font-size: 20px; font-weight: 700; color: var(--brown);
  margin-bottom: 16px; letter-spacing: 0.06em;
}

.narashi-section p {
  font-size: 15px; color: var(--text-light); line-height: 1.9;
}

@media (max-width: 768px) {
  .gnav, .header-right { display: none }
  .mnav-toggle { display: block }
  .header-inner { height: 64px }
  .page-kv { margin-top: 68px; padding: 40px 0 32px }
  .page-kv h1 { font-size: 26px }
  .side-actions { display: none !important }
  .timeline::before { left: 36px }
  .timeline-time { width: 56px; height: 56px; font-size: 14px }
  .timeline-time small { font-size: 9px }
  .timeline-item { gap: 16px }
  .timeline-content { padding: 16px 20px }
  .timeline-content h3 { font-size: 15px }
  .events-grid { grid-template-columns: 1fr 1fr; gap: 16px }
  .narashi-section { padding: 28px 24px }
  .section { padding: 56px 0 }
  .section-title { font-size: 24px }
  .cta-section h2 { font-size: 28px }
  .cta-buttons { flex-direction: column; align-items: center }
  .footer-inner { grid-template-columns: 1fr }
  body { padding-bottom: 56px }
  .fixed-cta { display: flex }
}

@media (max-width: 480px) {
  .events-grid { grid-template-columns: 1fr }
}
