@charset "UTF-8";
/* CSS Document */
/*//////////PCサイズ///////////*/
@media screen and (min-width: 768px) {
  /** ==============================
 * HistoryMainセクション start
 * ============================== **/
  .HistoryMainSection {
    width: 100vw;
    position: relative;
    padding: 0 0;
    overflow: hidden;
    background: #f2f2ef;
  }
  .HistoryMainSection__inner {
    width: 100vw;
    margin: 0 auto;
    position: relative;
    display: flex;
  }
  .HistoryMainSection__text-wrap {
    width: 100vw;
    position: relative;
    z-index: 2;
  }
  .HistoryMainSection__text {
    font-size: 1rem;
    color: #222;
    line-height: 2;
    font-weight: 400;
    padding: 0 0 8vw 7.5vw;
  }
  .HistoryMainSection__text p {
    margin-bottom: 1.5em;
    letter-spacing: 0.1rem;
  }
  .HistoryMainSection__lead {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 400;
  }
  .HistoryMainSection__title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1.5em;
    line-height: 1.6;
  }
  .HistoryMainSection__side-title {
    display: grid;
    grid-template-columns: 18vw 1fr;
    gap: 0vw;
    margin: 0 auto;
    padding: 0 0;
  }
  .HistoryMainSection__side-title span:nth-child(1) {
    width: 18vw;
    font-size: 1.8rem;
    font-family: 'Noto Serif JP', serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #25634D;
    color: #fff;
    padding: 3vw 3vw;
  }
  .HistoryMainSection__side-title span:nth-child(2) {
    width: 100%;
    background-color: #25634D;
  }
  .HistoryMainSection__images {
    width: 40vw;
    aspect-ratio: 16 / 9;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    z-index: 10;
  }
  .HistoryMainSection__img {
    position: absolute;
    width: 25vw;
    /*aspect-ratio: 16 / 9;*/
    height: auto;
    object-fit: cover;
    background: #ccc; /* 仮の背景 */
  }
  .img1 {
    top: 0;
    right: 15vw;
  }
  .img2 {
    top: 20rem;
    right: 5vw;
  }
  .img3 {
    top: 38vw;
    right: 15vw;
  }
  .img4 {
    top: 53vw;
    right: 5vw;
  }
  .img5 {
    top: 72vw;
    right: 15vw;
  }
  /** ==============================
 * HistoryMainセクション end
 * ============================== **/
  /** ==============================
 * History年表セクション（昭和） start
 * ============================== **/
  .HistoryTimelineSection {
    background-color: #f9f8f5;
    padding: 0 0;
  }
  .HistoryTimelineSection__grid {
    display: grid;
    grid-template-columns: 18vw 1fr;
    gap: 10vw;
    margin: 0 auto;
    padding: 0 0;
  }
  .HistoryTimelineSection__era {
    font-size: 1.8rem;
    font-family: 'Noto Serif JP', serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #7b3840;
    color: #fff;
    padding: 6vw 3vw;
    font-weight: 100;
  }
  .HistoryTimelineSection__list {
    margin: 6vw 0 0 0;
    position: relative;
    padding-left: 0.7rem;
  }
  .HistoryTimelineSection__list::before {
    content: "";
    position: absolute;
    left: 1.35vw; /* ← 試しに大きめで */
    top: 1vw;
    bottom: 0;
    width: 1px;
    background-color: #222;
    z-index: 0;
  }
  .HistoryTimelineSection__item {
    margin-bottom: 3vw;
    display: flex; /* ← 追加 */
    align-items: flex-start; /* ← 上揃えにする */
    gap: 1vw; /* ← 任意の間隔（調整可能） */
  }
  .HistoryTimelineSection__item span {
    display: inline-block;
  }
  .mini {
    font-size: 80%;
  }
  .HistoryTimelineSection__dot {
    position: relative;
    z-index: 1;
    width: 1.4rem;
    height: 1.4rem;
    margin-right: 1.5rem;
    background-color: #7b3840;
    border-radius: 50%;
    line-height: 100%;
  }
  .HistoryTimelineSection__year {
    font-family: 'Noto Serif JP', serif;
    font-weight: bold;
    font-size: 1.4rem;
    color: #7b3840;
    margin-bottom: 0.4em;
    line-height: 100%;
  }
  .HistoryTimelineSection__text {
    font-size: 1rem;
    color: #222;
    line-height: 1.75;
  }
  /** ==============================
 * History年表セクション（昭和） end
 * ============================== **/
  /** ==============================
 * History年表セクション（平成） start　
 * ============================== **/
  .HistoryTimelineSection__grid--heisei {
    display: grid;
    grid-template-columns: 18vw 1fr;
    gap: 10vw;
    margin: 0 auto;
    position: relative; /* ← ここが重要 */
  }
  /* 平成用の縦線：gridの中央に1pxの線を引く */
  .HistoryTimelineSection__grid--heisei::before {
    content: "";
    position: absolute;
    left: 1.35vw; /* ドットと線を中央に合わせる */
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #222;
    z-index: 0;
  }
  .HistoryTimelineSection__era_heisei {
    font-size: 1.8rem;
    font-family: 'Noto Serif JP', serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #a48f65; /* 平成の帯色に変更 */
    color: #fff;
    padding: 6vw 3vw;
    font-weight: 100;
  }
  .HistoryTimelineSection__list_heisei {
    margin: 0 0 0 0;
    position: relative;
    padding-left: 0.7rem;
  }
  .HistoryTimelineSection__list_heisei::before {
    content: "";
    position: absolute;
    left: 1.35vw; /* ← 試しに大きめで */
    top: 1vw;
    bottom: 0;
    width: 1px;
    background-color: #222;
    z-index: 0;
  }
  /** ==============================
 * History年表セクション（平成） end
 * ============================== **/
  /** ==============================
 * History年表セクション（令和） start
 * ============================== **/
  .HistoryTimelineSection__grid--reiwa {
    display: grid;
    grid-template-columns: 18vw 1fr;
    gap: 10vw;
    margin: 0 auto;
    position: relative;
  }
  /* 令和帯 */
  .HistoryTimelineSection__era--reiwa {
    font-size: 1.8rem;
    font-family: 'Noto Serif JP', serif;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #005569; /* 令和の帯色（青系） */
    color: #fff;
    padding: 6vw 3vw;
    font-weight: 100;
  }
  /* 令和リスト */
  .HistoryTimelineSection__list--reiwa {
    margin: 0;
    position: relative;
    padding-left: 0.7rem;
  }
  /** ==============================
 * History年表セクション（令和） end
 * ============================== **/

}