@charset "utf-8";
/* =======================
common-about-nakastuhouki
======================== */
.section-sub  {
    padding: 0 5.33% 72px;
}

/* pc 769px */
@media screen and (min-width: 769px) {
  .section-sub {
    padding: 0 0 120px 0;
  }
}

/* =======================
about-nakastuhouki
======================== */
.about_sp {
  display: block;
  margin: 0 auto;
}

.about__pc {
  display: none;
}

.about__title {
  text-align: justify;
  font-family: "Zen Old Mincho";
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.5; 
  letter-spacing: 1px; 
  margin-top: 16px;
}

.about__txt {
  text-align: justify;
  font-family: "Zen Old Mincho";
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  margin-top: 16px;
}

/* pc 769px */
@media screen and (min-width: 769px) {
  .about__pc {
    display: block;
    width: 48.33vw;
    height: auto;
  }

  .about_sp {
    display: none;
  }

  .about__group {
    display: flex;
    padding: 0 11.11% 0 0;
    align-items: center;
  }

  .about__list {
    margin-left: 48px;
  }

  .about__title {
    margin-top: 0;
    font-size: 3.2rem;
  }

  .about__txt {
    margin-top: 24px;
  }
}

/* =======================
history
======================== */
.section-sub-history {
  background: rgba(255, 255, 255, 0.60);
  padding: 0 ;
}

.history__group {
  padding: 0 5.33% 72px 20.8%;
}

.subTitle {
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
  padding-top: 72px;
}

.history__title {
  text-align: justify;
  font-family: "Zen Old Mincho";
  font-size: 2.0rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 1px;
  padding-bottom: 12px;
}

.history__odd,
.history__even {
  margin-top: 64px;
}

.history__title:nth-child(2),
.history__title:nth-child(5) {
  margin-top: 12px;
}

.history__txt {
  text-align: justify;
  font-family: "Zen Old Mincho";
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.8px;
  padding-top: 12px;
}

/* タイムラインのドット（●） */
.timeline-dotOdd,
.timeline-dotEven {
  position: absolute;
  left: -36px;
  top: 42px;
  width: 12px;
  height: 12px;
  background-color: #FFF;
  border: 2px solid #202234;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.timeline-dotOdd03 {
  top: 71px;
}

/* ドットごとに、次のドットまで線を伸ばす */
  .timeline-dotOdd::after,
  .timeline-dotEven::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 2px;
    height: 0; 
    background: #202234;
    transform: translateX(-50%);
    z-index: -1;
    transition: height 1s ease-out;
  }

  .timeline-dot.active::after {
    height: var(--line-height);
  }

/* 最後のドットには線を引かない */
  .history__odd:last-of-type .timeline-dot::after,
  .history__even:last-of-type .timeline-dot::after {
    display: none;
  }

/* 下線アニメーション用 */
.history__title {
  display: inline-block;/* ← テキストの幅だけに */
  position: relative; 
  width: 100%;
}

/* 下線の初期状態（非表示） */
.history__titleOdd::after,
.history__titleEven::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: -36px;
  height: 1px;
  width: calc(100% + 36px); 
  background-color: #A6A9C1;

  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.8s ease-out;
}

.history__title.underline-visible::after {
  transform: scaleX(1);
}


/* pc 831px */
@media screen and (min-width: 831px) {
  .subTitle {
    padding-top: 100px;
    font-size: 3.2rem;
  }

  .history__title {
    font-size: 2.6rem;
  }

  .brSp {
    display: none;
  }

  .history__group {
    padding: 0;
    margin-top: 72px;
  }

  .section-sub-history {
    padding: 0 11.11% 120px 11.11%;
  }

  .history__list {
    width: 50%;
  }

  .history__odd,
  .history__even {
    display: flex;
    margin-top: 0;
  }

  .history__listOdd {
    padding-right: 107px;
  }

  .history__listEven {
    padding-left: 107px;
  }

  .timeline-dotOdd {
    left: auto;
    right: -113px;
    top: 50px;
  }

  .timeline-dotEven {
    left: -113px;
    top: 50px;
  }

  .timeline-dotOdd01,
  .timeline-dotOdd03,
  .timeline-dotEven04 {
    top: 90px;
  }

  .history__titleOdd::after {
    bottom: 0px;
    left: 0px;
    height: 1px;
    width: calc(100% + 107px); 
    transform-origin: right center; 
  }
  .history__titleEven::after {
    bottom: 0px;
    left: auto;
    right: 0px;
    height: 1px;
    width: calc(100% + 107px); 
  }

}

/* pc 970px */
@media screen and (min-width: 970px) {
  .timeline-dotOdd01 {
    top: 50px;
  }
}

/* pc 1039px */
@media screen and (min-width: 1039px) {
  .timeline-dotEven04 {
    top: 50px;
  }
}

/* pc 1048px */
@media screen and (min-width: 1048px) {
  .timeline-dotOdd03 {
    top: 50px;
  }
}

/* =======================
timeline
======================== */
.timeline__list {
  text-align: justify;
  font-family: "Zen Old Mincho";
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 1px; 
  margin-top: 40px;
}

.timeline__title {
  margin-top: 24px;
}

.subTitle__timeline {
  align-items: center;
  display: flex;
  justify-content: center;
}

.subTitle__timeline::before,
.subTitle__timeline::after {
  background-color: #A6A9C1;
  content: '';
  height: 1px;
  flex-grow: 1;
}

.subTitle__timeline::before {
  margin-right: 24px;
}

.subTitle__timeline::after {
  margin-left: 24px;
}

/* pc 769px */
@media screen and (min-width: 769px) {
  .timeline__list {
    max-width: 620px;
    margin: 64px auto 0;
  }

  .timeline__group {
    display: flex;
    margin-top: 24px;
  }

  .timeline__title {
    margin-top: 0;
    width: 160px;
  }

  .subTitle__timeline::before,
  .subTitle__timeline::after {
    background-color: #A6A9C1;
    content: '';
    height: 1px;
    width: 48px;
    flex-grow:0;
  }
}