@charset "UTF-8";

.under_main {
  background-image: url(../images/bg-story.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


/* =======================================================
* story
* ======================================================= */

/* たて線 */
.timelineArea {
  position: relative;
  margin-top: 80px;
}
.timelineArea::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  background: #ccc;
  top: 0;
  left: 50%;
}
/* 歴史テキスト */
.timeline_block .timeline_history {
  width: 45%;
  margin-bottom: 50px;
}
.timeline_block .timeline_history .en {
  font-family: 'Markazi Text', serif;
  font-size: 15px;
  color: #555;
}
.timeline_block .timeline_history img {
  border-radius: 10px;
  border: 1px solid #fff;
  box-shadow: 4px 4px 10px rgba(0,0,0,0.3);
  margin-bottom: 15px;
}
/* 年号 */
.timeline_block .timeline_year {
  width: 46%;
  font-family: 'Markazi Text', serif;
  font-size: 21px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .05em;
  position: relative;
  text-align: right;
}
.timeline_block .timeline_year span {
  font-size: 40px;
}
.timeline_block .timeline_year::before {
  position: absolute;
  content: "";
  width: 3px;
  height: 20px;
  background: #555;
  top: 5%;
  right: -46px;
}
/* 反対バージョン */
.timeline_block.fd-reverse .timeline_year {
  text-align: left;
}
.timeline_block.fd-reverse .timeline_year::before {
  left: -45px;
  right: auto;
}

@media screen and (max-width:767px) {
  #story .catch img {
    width: 80%;
  }
  .timelineArea {
    margin-top: 50px;
  }
  .timelineArea::before {
    left: 0;
  }
  .timeline_block .timeline_history {
    width: 100%;
    padding-left: 20px;
  }
  .timeline_block .timeline_year {
    width: 100%;
    padding: 0 20px 20px 20px;
    text-align: left;
  }
  .timeline_block .timeline_year span {
    font-size: 35px;
    line-height: .3;
  }
  .timeline_block .timeline_year::before {
    right: auto;
    left: 0;
  }
  .timeline_block.fd-reverse .timeline_year::before {
    left: 0;
  }
}






