@charset "UTF-8";

/* CSS Document */

/* TOPイメージ */
.img-wrap {
	margin-top: 100px;
  height: 45vh;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}

.img-wrap::before,
.img-wrap::after {
  animation: 2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #363636;
  content: '';
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.img-wrap::before {
  animation-name: img-wrap-before;
  inset: 0 0 50%;
}

.img-wrap::after {
  animation-name: img-wrap-after;
  inset: 50% 0 0;
}

@keyframes img-wrap-before {
  100% {
    transform: translateX(100%);
  }
}

@keyframes img-wrap-after {
  100% {
    transform: translateX(-100%);
  }
}
/*TOPイメージ*/

h1 {
  margin-top: 50px;
  font-size: 2rem;
  margin-bottom: 40px;
}

.icon {
  display: flex;
  justify-content: space-around;
}

.icon ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.icon li {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon img {
  width: 80px;
  height: auto;
  margin: 0 20px;
}

.icon p {
  font-size: 1.2rem;
  text-align: center;
  margin: 0;
}

.top-text {
  width: 80%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
}

.top-text p {
  margin-top: 20px;
  font-size: 1.4rem;
  line-height: 1.6rem;
  text-align: left;
}



/*========= バー表示のためのCSS ===============*/

/*タイムライン全体の設定*/
.timeline {
  text-align: left;
  width: 80%;
  margin: 50px auto;
  padding: 0 30px;
}

.timeline p {
  font-size: 1.2rem;
  line-height: 1.4rem;
  margin-bottom: 15px;
}

.timeline li {
  position: relative;
  list-style: none;
  padding: 0 0 20px 0;
}

.timeline dl {
  margin: 0 0 20px 3em;
}

.timeline dd strong {
  display: block;
  padding: 10px 0;
}

/*絶対配置で線を設定*/
.border-line {
  position: absolute;
  left: 0.2em;
  top: 0;
  bottom: 10em;
  width: 2px;
  height: 10em;
  background: #FFA129;
}

/* アクティブ状態の丸の色を変更 */
.timeline li.active::after {
  background: #FFA129;
}

/*タイムラインの見出し横の丸の位置と形状*/
.timeline li::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #666;
  border-radius: 50%;
}

/* 左からふわっと */
.timeline dd {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* アクティブ状態でのスタイル設定 */
.timeline li.active dd {
  opacity: 1;
  transform: translateX(0);
}

.section-img {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
}

.section-img img {
  height: 200px;
  margin: 0 15px;
  flex-shrink: 0;
}

.scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: none;
}

/* アクティブ状態でのスタイル設定 */
.timeline li.active .scroll {
  opacity: 1;
  transform: translateY(0);
}

/* 画像下からふわっと */
.section-img img {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline li.active .section-img img,
.timeline li.active .scroll {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .timeline dl {
    margin: 0 0 20px 1em;
  }
  
  .timeline {
    width: 90%;
  }

  .timeline p {
    margin-left: 5px;
    font-size: 1rem;
    width: 90%;
  }
}

/*メンテナンス*/
.maintenance {
  width: 80%;
  justify-content: center;
  margin: 0 auto;
}
.maintenance h2{
	font-size: 1.5rem;

}
.maintenance-01 ul {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

.maintenance-01 li {
  list-style: none;
  width: 45%;
  margin: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.maintenance-01 img {
  width: 100%;
  margin-bottom: 5px;
}

.maintenance-01 p {
  font-size: 1.2rem;
  text-align: left;
  display: flex;
  justify-content: center;
}

@media (max-width: 1100px) {
  .maintenance-01 li {
    width: 80%;
  }
}



.maintenance-02 p {
  font-size: 1.2rem;
  text-align: left;
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
}