@charset "UTF-8";
/* history */
#rwd-content .rwd-slider-wide{
  margin: 0 auto;
}
#rwd-content #rwd-main-content{
  margin-bottom:0;
}
#rwd-content .swiper-container{
  padding-bottom: 0;
}
#rwd-content h2.entry-year{
  color:#5E5E5E;
  margin-left: 140px;
  font-family: 'Roboto', sans-serif;
}

#rwd-content h2.rwd-section-headline.rwd-sp-left.rwd-xlarge.rwd-pc-margin-bottom30.rwd-sp-margin-bottom30{
  font-family: 'Roboto', sans-serif;
}

.rwd-section-headline.rwd-xlarge span:first-child{
  font-size: 4rem;
}
.rwd-section-headline.rwd-xlarge.entry-year span:first-child:before{
  content: '●';
  margin-right: 10px;
}

#rwd-content .history-bg-wrapper{
  background-image: url("/golfcar/lineup/why-yamaha-golfcar/history/img/bg_motif_pc.png");
  background-size: contain;
  background-repeat: repeat-y;
  background-position-y:-200px;
  padding-top:50px;
}

#rwd-content .summary-block{
  background: #6EAD19;
  border-radius: 20px;
  padding: 60px;
  color:#fff;
  box-shadow: 0 2px 10px gray;
}
#rwd-content .summary-block.y2025{
  background: #00A2E9;
  z-index:1;
}

/**
 * Timeline
 */
.timeline h2,
.timeline h3 {
  margin: 0;
}
.timeline__decade {
  font-size: 26px;
  letter-spacing: 0;
  transform: translateX(-10px);
}

.timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline-border-wrapper {
  position: relative;
  padding-bottom: 60px;
}

.timeline-border {
  position: absolute;
  z-index: -1;
  top: 35px;
  left: 43px;
  width: 5px;
  height: 100%;
  background-color: #B1B1B1;
}


@media (max-width: 767px) {
  #rwd-content .timeline__year{
    position: relative;
    z-index:9;
  }
  #rwd-content h2.entry-year{
    margin-left: 2%;
  }
  #rwd-content .summary-block {
    padding: 20px;
  }
  #rwd-content .rwd-main-content-group.justify-center.rwd-sp-margin-bottom50.rwd-pc-center figure img{
    width: 80%;
    display: block;
    margin: auto;
  }
  .timeline-item {
    padding-left: 50px;
  }
  .timeline-item--full .timeline-item__image figcaption {
    text-align: right;
  }
  .timeline-border-wrapper {
    position: relative;
    padding-bottom: 50px;
  }
  #rwd-content .history-bg-wrapper{
    background-image: url("/golfcar/lineup/why-yamaha-golfcar/history/img/bg_motif_sp.png");
    background-size: contain;
    background-repeat: repeat-y;
    background-position-y:-200px;
    padding-top:50px;
  }
  .timeline-border {
    z-index: 0;
    left: 8%;
    top: 40px;
  }
}

@media (min-width: 768px) {
  .timeline__decade {
    font-size: 40px;
    text-align: center;
    transform: translateX(calc(18px - 1em));
  }
  .timeline-border {
    top: 18px;
    left: calc(50% - 5px);
  }
  .timeline__decade + .timeline-border {
    top: 50px;
  }
  .timeline-item {
    display: flex;
    justify-content: space-between;
  }
}


/*==================================================
  動かしたい動き（今回は” ふわっ” を採用）
===================================*/

.fadeUp {
  animation-name:fadeUpAnime;
  animation-duration:0.5s;
  animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
