@charset "UTF-8";
#main-contents #history_wrap table {
  border-top: none;
  border-left: none;
}

#main-contents #history_wrap table th {
  background-color: transparent;
}

#main-contents #history_wrap table td {
  background-color: transparent;
}

#main-contents #history_wrap h4 {
  padding: 0 0.5em 0.4em 0em;
}

#main-contents .sec-cont #history_wrap img {
  max-width: 300px;
}

#history_wrap > div {
  display: flex;
  justify-content: space-between;
}

#history_wrap div h2 {
  font: 700 3.4rem/1 "Lato", sans-serif;
  color: #666565;
  border-right: solid 3px #666565;
  position: relative;
}

#history_wrap div:first-child h2::before,
#history_wrap div:last-child h2::before {
  content: "";
  display: block;
  width: 5px;
  position: absolute;
  right: -4px;
}

#history_wrap div:first-child h2::before {
  background-color: #eaebeb;
  top: 0;
}

#history_wrap div:last-child h2::before {
  background: url(/company/img/history_dots.png) no-repeat 0 0/cover;
  height: 50px;
  bottom: -35px;
}

#history_wrap div table {
  /*font-size: 1.6rem;*/
  margin: 0;
}

#history_wrap div th,
#history_wrap div td {
  vertical-align: top;
  padding: 0;
  border: none;
}

#history_wrap div th {
  /*
  font: 700 1.4rem/23px "Lato", sans-serif;
  */
  color: #fff;
  text-align: center;
  width: 110px;
  padding-top: 2px;
  position: relative;
  z-index: 1;
}

#history_wrap div th::before {
  content: "";
  background-color: #c8161e;
  display: block;
  width: 100%;
  height: 23px;
  border-radius: 12px;
  position: absolute;
  top: 2px;
  z-index: -1;
}

#history_wrap div .topics::before {
  content: "";
  background-color: #000080;
  display: block;
  width: 100%;
  height: 23px;
  border-radius: 12px;
  position: absolute;
  top: 2px;
  z-index: -1;
}

#history_wrap div th::after {
  content: "";
  background-color: #666565;
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 6px;
  position: absolute;
  top: 9px;
}

#history_wrap div td {
  padding: 0 0 40px 30px;
}

#history_wrap div td figure {
  /*
  font-size: 1.4rem;
  */
  background-color: #fff;
  margin-top: 20px;
  padding: 50px;
  border-radius: 5px;
}

/* -- common - history -- */
#history_wrap div h2 {
  width: 215px;
  top: -20px;
}

#history_wrap div:first-child h2::before {
  height: 35px;
}

#history_wrap div table {
  width: calc(100% - 263px);
}

#history_wrap div th::after {
  left: -55px;
}

#history_wrap div td figure {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

#history_wrap div td figure img {
  width: 45%;
  max-width: 300px;
  height: auto;
}

#history_wrap div td figure figcaption {
  width: 55%;
  padding-right: 50px;
}

/*fade-in*/
/* 左から右に移動しながらフェードイン */
.fadeInRight {
  opacity: 0;
  transform: translateX(100px);
}

/* フェードインアニメーション */
@keyframes fadeIn {
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
/* フェードインさせるクラス */
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
}

@media screen and (min-width: 641px) {
  #history_wrap div h2 {
    width: 215px;
    top: -20px;
  }
  /* -- history -- */
  #history_wrap div h2 {
    width: 215px;
    top: -20px;
  }
  #history_wrap div:first-child h2::before {
    height: 35px;
  }
  #history_wrap div table {
    width: calc(100% - 263px);
  }
  #history_wrap div th::after {
    left: -55px;
  }
  #history_wrap div td figure {
    max-width: 700px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  #history_wrap div td figure img {
    width: 40%;
    max-width: 300px;
    height: auto;
  }
  #history_wrap div td figure figcaption {
    width: 60%;
    padding-right: 50px;
  }
}
@media screen and (max-width: 900px) {
  .merit_flex {
    display: block;
  }
  .merit_flex .col3 {
    margin-bottom: 3em;
    margin-right: 0;
  }
  #history_wrap div table,
  #history_wrap div tr,
  #history_wrap div th,
  #history_wrap div td {
    display: block;
  }
  #history_wrap div td {
    padding: 15px 0 30px;
  }
  #history_wrap div td figure {
    align-items: center;
    flex-direction: column;
    padding: 20px;
  }
  #history_wrap div td figure img {
    width: 100%;
    margin-top: 15px;
  }
  #history_wrap div td figure figcaption {
    width: 100%;
    padding-right: 0;
  }
}
@media screen and (max-width: 640px) {
  #main-contents #history_wrap div h2 {
    font-size: 1.6rem;
    width: 72px;
    top: 2px;
    padding: 0;
    background: none;
  }
  #history_wrap {
    padding-bottom: 100px;
  }
  #history_wrap div h2 {
    font-size: 2.3rem;
    width: 72px;
    top: 2px;
  }
  #history_wrap div:first-child h2::before {
    height: 13px;
  }
  #history_wrap div table {
    width: calc(100% - 90px);
  }
  #history_wrap div th::after {
    left: -25px;
  }
}/*# sourceMappingURL=history_design.css.map */