﻿.history-links {
  max-width: 860px;
  margin: 0 auto;
}

.history-links > ul > li:nth-of-type(n+2) {
  margin-top: 10px;
}

.history-links > ul > li > a {
  display: block;
  color: #333;
  line-height: 1.5;
  text-decoration: none;
}

.history-links > ul > li > a > dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-image: url(/assets_new/img/company/history/link_bg.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.history-links > ul > li > a > dl > dt {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background-color: #0075c1;
  color: #fff;
  font-size: 2.0rem;
  font-weight: bold;
  text-align: center;
}

.history-links > ul > li > a > dl > dt:after {
  display: block;
  position: absolute;
  top: 0;
  right: -5px;
  bottom: 0;
  width: 20px;
  height: 20px;
  margin: auto;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  background-color: #0075c1;
  content: "";
}

.history-links > ul > li > a > dl > dd {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: calc(100% - 120px);
  background-image: url(/assets_new/img/common/icon_link.png);
  background-position: right 20px center;
  background-repeat: no-repeat;
}

.history-links > ul > li > a > dl > dd > div {
  width: 300px;
  padding-left: 30px;
  color: #757575;
}

.history-links > ul > li > a > dl > dd > div > p {
  color: #0075c1;
  font-size: 2.4rem;
  font-weight: bold;
}

.history-links > ul > li > a > dl > dd > p {
  padding: 5px 0;
  padding-left: 30px;
  border-left: 1px solid #e0dbd1;
  font-size: 1.8rem;
}

.history-links + .btn {
  margin: 60px auto 0;
}

@media screen and (max-width: 767px) {
  .history-links > ul > li > a > dl {
    display: block;
  }
  .history-links > ul > li > a > dl > dt {
    width: 100%;
    height: 30px;
    font-size: 1.6rem;
  }
  .history-links > ul > li > a > dl > dt:after {
    display: none;
  }
  .history-links > ul > li > a > dl > dd {
    display: block;
    width: 100%;
    padding: 15px;
    padding-right: 40px;
    background-position: right 15px center;
  }
  .history-links > ul > li > a > dl > dd > div {
    width: 100%;
    padding-left: 0;
  }
  .history-links > ul > li > a > dl > dd > div > p {
    display: inline-block;
    font-size: 2.0rem;
  }
  .history-links > ul > li > a > dl > dd > p {
    margin-top: 10px;
    padding: 10px 0 0;
    border-top: 1px solid #e0dbd1;
    border-left: none;
    font-size: 1.6rem;
  }
  .history-links + .btn {
    margin-top: 40px;
  }
}
