@charset "UTF-8";
/* CSS Document */
/*//////////SPサイズ///////////*/
@media screen and (max-width:767px) {
 /* ==============================
 * HistoryMainセクション（SP） start
 * ============================== */
.HistoryMainSection {
  width: 100vw;
  background: #f2f2ef;
  padding: 0;
}
.HistoryMainSection__inner {
  width: 100vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  
}
.HistoryMainSection__text-wrap {
  width: 100%;
}
.HistoryMainSection__text {
  font-size: 1rem;
  color: #222;
  line-height: 1.8;
  font-weight: 400;
  width: 87vw;
  margin: auto;
}
.HistoryMainSection__text p {
  margin-bottom: 1.5rem;
  letter-spacing: 0.05rem;
  text-align: justify;
}
.HistoryMainSection__lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
}
.HistoryMainSection__title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.HistoryMainSection__side-title {
  margin-top: 3rem;
  width: 100%;
}
.HistoryMainSection__side-title span:nth-child(1) {
  display: block;
  font-size: 1.4rem;
  font-family: 'Noto Serif JP', serif;
  background-color: #25634D;
  color: #fff;
  padding: 0.5rem;
  text-align: center;
}
.HistoryMainSection__side-title span:nth-child(2) {
  display: none; /* SPでは横棒を非表示 */
}
/* ==============================
 * HistoryMainセクション（SP：画像スライド） start
 * ============================== */
.HistoryMainSection__images {
  display: flex;
  overflow: hidden;
}
.HistoryMainSection__img {
  flex: 0 0 auto;
  width: 80vw;
  margin-right: 0vw;
}
/* スクロールバーを隠す（任意） */
.HistoryMainSection__images::-webkit-scrollbar {
  display: none;
}

/* ==============================
 * HistoryMainセクション（SP：画像スライド） end
 * ============================== */
/* ==============================
 * HistoryMainセクション（SP） end
 * ============================== */


/* ==============================
 * History年表セクション（SP共通） start
 * ============================== */
.HistoryTimelineSection {
  background-color: #f9f8f5;
  padding: 10vw 0;
}
.HistoryTimelineSection__grid,
.HistoryTimelineSection__grid--heisei,
.HistoryTimelineSection__grid--reiwa {
  width: 100vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6vw;
}
.HistoryTimelineSection__era,
.HistoryTimelineSection__era_heisei,
.HistoryTimelineSection__era--reiwa {
  font-size: 1.6rem;
  font-family: 'Noto Serif JP', serif;
  background-color: #7b3840; /* デフォルトは昭和色 */
  color: #fff;
  padding: 0.5rem 0;
  text-align: center;
}
.HistoryTimelineSection__era_heisei {
  background-color: #a48f65;
}
.HistoryTimelineSection__era--reiwa {
  background-color: #005569;
}
.HistoryTimelineSection__list,
.HistoryTimelineSection__list_heisei,
.HistoryTimelineSection__list--reiwa {
  margin: 0;
  padding: 0;
  position: relative;
}
.HistoryTimelineSection__list::before,
.HistoryTimelineSection__list_heisei::before,
.HistoryTimelineSection__list--reiwa::before {
  content: none; /* SPでは縦線を非表示 */
}
.HistoryTimelineSection__item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding-bottom: 1rem;
  width:87vw;
  margin: auto;
  color: #7b3840; 
}
.HistoryTimelineSection__dot {
  flex-shrink: 0;
  width: 0.5rem;
  height: 0.5rem;
  background-color: currentColor;
  border-radius: 50%;
  margin-top: 0.75rem;
}
.HistoryTimelineSection__year {
  font-family: 'Noto Serif JP', serif;
  font-weight: bold;
  font-size: 1.1rem;
  color: #7b3840;
  margin-bottom: 0.3rem;
}
.HistoryTimelineSection__year span {
  font-size: 0.9rem;
}
.HistoryTimelineSection__text {
  font-size: 1rem;
  color: #222;
  line-height: 1.8;
  text-align: justify;
}
.dot_color{ color: #7b3840; }
/* ==============================
 * History年表セクション（SP共通） end
 * ============================== */

}