@charset "UTF-8";
/*
:root {
  --pk1: #eddcd7;
  --pk2: #e0c6c3;
  --wh: #fbf4ee;
  --tx1: #684b53;
  --tx2: #392b32;
  --tx3: #666666;
  --fbg: #f2e8de;
}
  */
:root {
  --pk03: #a98690;
}
.bg-pk1 {
  background-color: var(--pk1);
}
.bg-pk2 {
  background-color: var(--pk2);
}
.bg-wh {
  background-color: var(--wh);
}
.text-pk1 {
  color: var(--pk1);
}
.text-tx1 {
  color: var(--tx1);
}
.text-tx2 {
  color: var(--tx2);
}
.text-tx3 {
  color: var(--tx3);
}
.text-pk03 {
  color: var(--pk03);
}
.bb-pk1 {
  border-bottom: 1px solid var(--pk1);
}
.bb-pk03 {
  border-bottom: 1px solid var(--pk03);
}
.s-top-fv {
  height: 100vw;
}
@media (min-width: 992px) {
  .s-top-fv {
    height: 60vh;
  }
}
.s-fv-bar {
  position: relative;
  padding: 2rem;
  text-align: center;
}
.s-fv-bar::after {
  content: "";
  width: 1px;
  height: 100px;
  display: inline-block;
  background-color: #fff;
}

.s-main {
}
.top-fv-img {
}
.s-cat-top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.s-cat-top-links a {
  display: block;
  width: 25%;
  padding: 1rem 2rem;
}
.staff-ig-icon {
  width: 30px;
  height: auto;
}

/* ===== timeline base ===== */
.history {
  color: #2a2323;
  padding-bottom: 2.8em;
}

/* 3カラム: [年] [線+ドット] [テキスト] */
.timeline {
  margin: 0;
  padding: 0;
  max-width: 820px; /* 好みで */
}

.timeline__item {
  display: grid;
  grid-template-columns: 40px 40px 1fr; /* 年 / レール / テキスト */
  column-gap: 18px;
  align-items: stretch;
  position: relative;
}

/* 余白（画像の“段”の間隔） */
.timeline__item + .timeline__item {
  margin-top: 28px;
}

.timeline__year {
  font-size: 22px;
  letter-spacing: 0.02em;
  flex-shrink: 1;
}

/* 中央の縦線・ドット */
.timeline__rail {
  position: relative;
  width: 40px;
  min-height: 1.2em; /* テキスト行高に合わせる */
}

/* 縦線 */
.timeline__rail::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -25px; /* 段間を跨ぐように */
  bottom: -25px;
  width: 2px;
  transform: translateX(-50%);
  background: #a98690; /* 画像の薄いグレージュ系 */
  opacity: 0.9;
}

/* ドット */
.timeline__rail::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.7em; /* 年と同じ行あたりに来るよう微調整 */
  width: 12px;
  height: 12px;
  border-radius: 999px;
  transform: translate(-50%, 0);
  background: #a98690; /* ドットは少し濃いめ */
}

/* 最初と最後だけ、線がはみ出しすぎないように調整 */
.timeline__item:first-child .timeline__rail::before {
  top: 0.7em;
}
.timeline__item:last-child .timeline__rail::before {
  bottom: -2.8em;
}

.timeline__text {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  word-break: break-all;
}

/* ===== responsive ===== */
@media (max-width: 640px) {
  .timeline__item {
    grid-template-columns: 32px 32px 1fr;
    column-gap: 12px;
  }
  .timeline__year {
    font-size: 18px;
  }
  .timeline__text {
    font-size: 16px;
  }
  .timeline__rail::after {
    width: 10px;
    height: 10px;
  }
}
.info-map-btn {
  border-radius: 100px;
  padding: 5px 20px;
  background-color: var(--tx1);
  transition: all 0.3s;
  display: inline-block;
}
.info-map-btn:hover {
  background-color: var(--tx2);
}
.info-map-btn p {
  color: var(--wh);
  padding: 0;
  margin: 0;
}

.auto-scroll-swiper {
  width: 100%;
}

.auto-scroll-swiper .swiper-slide {
  text-align: center;
}

.auto-scroll-swiper img {
  width: 100%;
  height: auto;
  display: block;
}
