/* start banner*/
.banner {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#2d897e+0,29bca6+62,2d897e+100 */
  background-image: url(../images/4_17/bg.png);
  background-size: cover;
  background-position: center center;
  height: auto;
  padding: 38px 10px 38px 0px;
  box-sizing: border-box;
  position: relative;
  color: white;
}

.banner_text h5 {
  display: inline-block;
  padding-left: 10px;
  font-weight: 600;
  font-size: 1.75rem;
  margin-left: 20px;
  color: rgb(255, 255, 255) !important;
  margin-top: 0px !important;
  border-left: 4px solid rgb(102, 153, 153);
  text-decoration: none !important;
}

.banner_text h6 {
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  color: rgb(255, 255, 255);
  margin-left: 40px !important;
  margin-top: 0px !important;
}

.events {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 75px;
  display: flex;
  flex-direction: column;
}

.event {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.event .card {
  vertical-align: top;
  box-shadow: -2px 2px 10px #3d3d3d3d;
  border-radius: 15px;
}


.event .card.info {
  padding: 0px !important;
  background-image: url(../images/card_info_background.png);
  background-size: cover;
  color: white;
  text-align: center;
}

.event0 .card.info {
  margin-bottom: -60px;
}

.card.info .card-title {
  margin-bottom: 20px;
}

.event0 .card.version {
  height: 50px;
}

.event .time {
  width: 100px;
}

.event .card.version {
  color: #0b897f;
  font-weight: bold;
  width: 200px;
}

.event .card.version.major {
  border: 1px solid #0b897f;
}

.event .card.version .card-body {
  text-align: center;
}

.event .card.version .card-body .card-title {
  text-align: center;
}

.event .card.version .card-body .card-text {
  font-weight: 400;
}

.event .card.info .card-body .card-text {
  margin-bottom: 5px;
}

.event .card.info .card-body {
  padding: 2rem;
}

.event .tree {
  position: relative;
  width: 100px;
  height: auto;
}

.event .description {
  margin-bottom: 40px;
  position: relative;
  width: 100%;
}


.event .description .vertical_line {
  width: 100%;
  height: 40px;
}

.event .line {
  background-image: url(../images/line.png);
  width: 100px;
  height: 100px;
  background-repeat: repeat-x;
  visibility: hidden;
  background-position: center;
}

.event .vertical_line {
  background-image: url(../images/vertical_line.png);
  width: 100px;
  height: 100%;
  background-repeat: repeat-y;
  position: absolute;
  background-position-x: center;
  display: inline-block;
}

.event .dot {
  background-image: url(../images/dot.png);
  width: 23px;
  height: 23px;
  position: absolute;
  left: 39px;
  top: 40px;
  border-radius: 50%;
  z-index: 2;
}

.event .start_dot {
  top: 0px !important;
}

/* start subnav_bottom */
.subnav_bottom {
  height: 60px;
  background-color: #ECEFF1;

}

.subnav_bottom ul {
  list-style: none;
  text-decoration: none;
  padding-left: 8.4rem;
}

.subnav_bottom ul li {
  color: #0a7958 !important;
  float: left;
  display: inline-block;
  text-align: center;
  height: 60px;
  box-sizing: border-box;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  padding: 20px 5px;
  margin-left: 42px;
  margin-right: 30px;
}

.subnav_bottom ul li.active {
  color: #0a7958 !important;
  height: 60px;
  float: left;
  background-image: url(../images/back_arrow_demo2.png);
  text-align: center;
  background-repeat: no-repeat;
  background-position: center top;
  box-sizing: border-box;
  padding: 20px 5px;
  margin-left: 52px;
  font-weight: bold;
}


.subnav_bottom ul li.active_one {
  height: 60px;
  float: left;
  background-image: url(../images/back_arrow_demo2.png);
  text-align: center;
  background-repeat: no-repeat;
  background-position: center top;
  box-sizing: border-box;
  padding: 20px 5px;
  margin-right: 10px;
  margin-left: 38px;
  font-weight: bold;
}

#navbottom li a {
  color: #0a7958 !important;
}

.btn-yellow {
  background-color: #ffd400 !important;
  color: black !important;
  font-weight: bold !important;
  border-color: #ffd400 !important;
  margin-bottom: 10px;
}

.history-background {

}

.event .card.info {
  text-align: left;
}

@media (min-width: 768px) {
  .event {
    flex-direction: row;
    justify-content: flex-start;
    align-items: inherit;
  }

  .event .description {
    text-align: left;
  }

  .event .description .vertical_line {
    display: none;
  }

  .event .description .vertical_line {
    visibility: visible;
  }

  body {
    background-image: url(../images/wave-L.png), url(../images/wave-R.png);
    background-position: top left, /* this positions the first image */ top right; /* this positions the second image */
    background-repeat-x: no-repeat;
  }

  .event .vertical_line.end {
    height: 50px;
  }

  .event .line {
    visibility: visible;
  }

  .event .card.info .buttons {
    margin-left: 35px;
    margin-top: 25px;
  }

  .event .card.info .buttons .btn {
    margin-right: 10px;
  }
}

@media screen and (max-width: 767px) {
  .banner_text h5 {
    font-size: 2.25rem;
  }

  .banner_text h6 {
    font-size: 1.75rem;
  }

  .card-title {
    font-size: 2rem;
  }

  .description .card-text {
    font-size: 1.5rem;
  }

  .card.version .card-text {
    font-size: 1.4rem;
  }

  body {
    background-image: url(../images/wave-L.png), url(../images/wave-R.png);
    background-position: top left, /* this positions the first image */ top right;
    background-repeat-x: no-repeat;
  }

  .buttons {
    margin-top: 25px;
  }

  .btn-yellow {
    padding: .5rem 1rem !important;
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
    border-radius: .3rem !important;
  }

  .event .card.info .card-body .card-text {
    margin-left: 10px;
  }

  .events {
    margin-top: 0px;
  }

  .event .tree .line {
    height: 25px;
  }

  .event:not(.event0) .tree .dot {
    display: none;
  }

  .event:not(.event0) .description {
    margin-bottom: 0px;
  }

  .event:not(.event0) .bottom_tree {
    height: 50px;
    display: block;
  }

  .event:not(.event0) .bottom_tree .dot {
    display: block;
    top: 12px;
  }

}

@media screen and (max-width: 576px) {
  body {
    background-image: url(../images/small-wave-L.png), url(../images/small-wave-R.png);
    background-position: top left, /* this positions the first image */ top right;
    background-repeat-x: no-repeat;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .banner_text h5 {
    font-size: 2rem;
  }

  .banner_text h6 {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.75rem;
  }

  .description .card-text {
    font-size: 1.25rem;
  }

  .card.version .card-text {
    font-size: 1.15rem;
  }

  .event:not(.event0) .bottom_tree {
    display: none;
  }
}

@media screen and (min-width: 992px) {
  .banner_text h5 {
    font-size: 1.75rem;
  }

  .banner_text h6 {
    font-size: 1.25rem;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .description .card-text {
    font-size: 1rem;
  }

  .card.version .card-text {
    font-size: 0.9rem;
  }

  .event:not(.event0) .bottom_tree {
    display: none;
  }
}