/* === ナロック沿革ページ === */

.pa-root {
  background: #ffffff;
  color: #1a1a1a;
  padding: 16px 0 80px;
  box-sizing: border-box;
}
.pa-root *, .pa-root *::before, .pa-root *::after { box-sizing: border-box; }

.pa-frame { width: 100%; }

/* ヘッダー */
.pa-header { margin-bottom: 16px; }
.pa-tag {
  font-size: 14px; letter-spacing: 0.4em;
  color: #7a6a4f; text-transform: uppercase;
  margin-bottom: 18px;
}
.pa-title {
  font-size: 88px; font-weight: 500;
  letter-spacing: 0.08em; line-height: 1;
  margin: 0 0 12px;
}
.pa-sub {
  font-size: 24px;
  color: #7a6a4f; letter-spacing: 0.04em;
}

/* リード文 */
.pa-lede {
  font-size: 17px; line-height: 2.1;
  color: #3a342a;
  margin: 0 0 24px; padding-left: 28px;
  border-left: 1px solid #d0d0d0;
}

/* スムーススクロール（沿革ページのみ読み込まれるCSSなので影響範囲は限定） */
html { scroll-behavior: smooth; }

/* 年代ジャンプナビ（sticky） */
.pa-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin: 0 0 56px;
  padding: 14px 0;
  border-bottom: 1px solid #e0e0e0;
}
div#naroc_contents .pa-nav__list,
.pa-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
div#naroc_contents .pa-nav__list .pa-nav__li,
.pa-nav__li { list-style: none; margin: 0; padding: 0; flex: 1 1 0; }
div#naroc_contents .pa-nav__list .pa-nav__li::marker { content: ""; }
.pa-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}
.pa-nav__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1a1a1a;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pa-nav__item:hover { color: #4a4030; }
.pa-nav__item:hover .pa-nav__dot { transform: scale(1.6); background: #4a4030; }

/* タイムライン */
.pa-tl { position: relative; }
.pa-row { scroll-margin-top: 80px; }
.pa-tl::before {
  content: ""; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px; background: #d0d0d0;
}
.pa-row {
  position: relative; display: grid;
  grid-template-columns: 1fr 80px 1fr;
  row-gap: 36px; margin-bottom: 80px;
}
.pa-yr-cell { grid-row: 1; display: flex; }
.pa-row.left .pa-yr-cell { grid-column: 1; justify-content: flex-end; padding-right: 36px; text-align: right; }
.pa-row.right .pa-yr-cell { grid-column: 3; justify-content: flex-start; padding-left: 36px; }
.pa-yr { padding-bottom: 14px; border-bottom: 2px solid #1a1a1a; display: inline-block; }
.pa-y {
  font-size: 56px; font-weight: 600;
  line-height: 1; color: #1a1a1a;
}
.pa-era { font-size: 14px; color: #1a1a1a; letter-spacing: 0.3em; margin-top: 8px; font-weight: 500; }

.pa-dot {
  grid-row: 1; grid-column: 2;
  width: 14px; height: 14px;
  border-radius: 50%; background: #1a1a1a;
  outline: 6px solid #ffffff;
  align-self: center; justify-self: center;
}

.pa-event-row {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: 1fr 80px 1fr;
  grid-auto-flow: dense; align-items: center;
}
.pa-event-text { display: flex; flex-direction: column; gap: 6px; }
.pa-row.left .pa-event-text { grid-column: 1; text-align: right; padding-right: 36px; }
.pa-row.right .pa-event-text { grid-column: 3; padding-left: 36px; }
.pa-month {
  font-size: 14px; letter-spacing: 0.18em;
  color: #4a4030; font-weight: 600;
  margin-bottom: 4px;
}
.pa-h { font-size: 22px; font-weight: 600; margin: 0 0 6px; letter-spacing: 0.06em; }
.pa-b { font-size: 15px; line-height: 1.85; color: #1a1a1a; font-weight: 500; margin: 0; }

.pa-event-img {
  aspect-ratio: 16/9;
  background: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.pa-row.left .pa-event-img { grid-column: 3; margin-left: 36px; }
.pa-row.right .pa-event-img { grid-column: 1; margin-right: 36px; }
.pa-event-img > img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* レスポンシブ */
@media (max-width: 900px) {
  .pa-root { padding: 48px 24px 80px; }
  .pa-title { font-size: 56px; }
  .pa-sub { font-size: 20px; }
  .pa-lede { margin-bottom: 56px; padding-left: 18px; font-size: 15px; }

  .pa-tl::before { left: 24px; }
  .pa-row { grid-template-columns: 48px 1fr; row-gap: 20px; margin-bottom: 56px; }
  .pa-yr-cell,
  .pa-row.left .pa-yr-cell,
  .pa-row.right .pa-yr-cell {
    grid-column: 2; justify-content: flex-start;
    padding: 0; text-align: left;
  }
  .pa-dot { grid-column: 1; }
  .pa-y { font-size: 56px; }

  .pa-event-row { grid-template-columns: 48px 1fr; row-gap: 12px; }
  .pa-row.left .pa-event-text,
  .pa-row.right .pa-event-text { grid-column: 2; padding: 0; text-align: left; }
  .pa-row.left .pa-event-img,
  .pa-row.right .pa-event-img { grid-column: 2; margin: 0; }
}