﻿.history-menu > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.history-menu > ul > li {
  width: 20%;
  border-left: 1px solid #e6e6e6;
}

.history-menu > ul > li:last-of-type {
  border-right: 1px solid #e6e6e6;
}

.history-menu > ul > li > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 60px;
  background-image: url(/assets_new/img/common/icon_link.png);
  background-position: right 15px center;
  background-repeat: no-repeat;
  text-decoration: none;
}

.history-menu > ul > li > a.on {
  background-color: #0075c1;
  background-image: none;
  color: #fff;
  font-weight: bold;
  pointer-events: none;
}

.history-mv {
  margin: 75px 0 0;
  background-image: url(/assets_new/img/company/history/common/mv_history_bg.jpg);
  background-position: center center;
  background-repeat: repeat-x;
}

.history-mv-body > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.history-mv-body > ul > li:first-of-type {
  width: 280px;
}

.history-mv-body > ul > li:last-of-type {
  width: calc(100% - 280px);
  padding-left: 60px;
}

.history-mv-body > ul > li:last-of-type > dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.history-mv-body > ul > li:last-of-type > dl > dt {
  width: 190px;
  color: #0075c1;
  font-size: 5.6rem;
}

.history-mv-body > ul > li:last-of-type > dl > dd {
  width: calc(100% - 190px);
  padding-left: 25px;
  border-left: 1px solid #e6e6e6;
}

.history-mv-body > ul > li:last-of-type > dl > dd > p {
  margin-bottom: 10px;
  color: #0075c1;
  font-size: 2.4rem;
  font-weight: bold;
}

.history-mv-body > ul > li:last-of-type > p {
  margin-top: 20px;
  font-size: 2.4rem;
  line-height: 1.7;
}

.history-list {
  margin: 60px auto 0;
}

.history-list > ul > li:nth-of-type(n+2) {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid #e6e6e6;
}

.history-list + .btn {
  margin: 80px auto 0;
}

.history-box {
  max-width: 860px;
  margin: 0 auto;
}

.history-box > dl > dt {
  position: relative;
  padding-left: 50px;
}

.history-box > dl > dt > span {
  position: absolute;
  top: 0;
  left: 0;
  color: #0075c1;
  font-family: "Roboto", sans-serif;
  font-size: 5.6rem;
}

.history-box > dl > dt > p {
  padding-top: 10px;
  font-size: 2.6rem;
  line-height: 1.5;
}

.history-box > dl > dd {
  margin-top: 20px;
  padding-left: 160px;
}

.history-box-detail {
  position: relative;
  padding-bottom: 40px;
}

.history-box-detail:last-of-type {
  padding-bottom: 0;
}

.history-box-detail:last-of-type:after {
  display: none;
}

.history-box-detail:before {
  display: block;
  position: absolute;
  top: 7px;
  left: -100px;
  width: 9px;
  height: 9px;
  background-color: #0075c1;
  content: "";
}

.history-box-detail:after {
  display: block;
  position: absolute;
  top: 7px;
  left: -96px;
  width: 1px;
  height: 100%;
  background-color: #0075c1;
  content: "";
}

.history-box-detail > p {
  position: absolute;
  top: 0;
  left: -80px;
  color: #0075c1;
  font-size: 2.6rem;
  font-style: italic;
}

.history-box-detail > dl {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}

.history-box-detail > dl > dt {
  width: 520px;
}

.history-box-detail > dl > dd {
  width: calc(100% - 520px);
  padding-left: 30px;
  padding-bottom: 0.7rem;
  text-align: center;
}

.history-box-detail-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.7;
}

.history-box-detail-text {
  line-height: 1.7;
}

.history-box-detail-pic {
  margin-bottom: 20px;
  text-align: center;
}

.history-box-detail-tips {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #e6e6e6;
  font-size: 1.5rem;
  line-height: 1.7;
}

.history-box-detail-tips > dl:nth-of-type(n+2) {
  margin-top: 10px;
}

.history-box-detail-tips > dl > dt {
  font-weight: bold;
}

.history-none {
  display: none;
  margin: 100px 0;
}

.history-none > p {
  font-size: 2.2rem;
  text-align: center;
}

.history-env {
  display: none;
  margin: 100px 0;
}

.history-env .btn-pdf {
  margin: 0 auto;
}

.group-tab {
  margin-top: 60px;
}

.group-tab > ul > li:nth-of-type(n+2) {
  width: 320px;
}

@media screen and (max-width: 767px) {
  .history-menu > ul > li > a {
    height: 40px;
    background-position: right 5px center;
    background-size: 6px;
    font-size: 1.2rem;
  }
  .history-mv {
    margin: 40px 0 0;
    padding: 15px 0;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .history-mv-body > ul > li:first-of-type {
    width: 80px;
  }
  .history-mv-body > ul > li:last-of-type {
    width: calc(100% - 80px);
    padding-left: 15px;
  }
  .history-mv-body > ul > li:last-of-type > dl {
    display: block;
  }
  .history-mv-body > ul > li:last-of-type > dl > dt {
    width: 100%;
    font-size: 2.6rem;
  }
  .history-mv-body > ul > li:last-of-type > dl > dd {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    width: 100%;
    margin-top: 5px;
    padding-left: 0;
    border: none;
    font-size: 1.0rem;
  }
  .history-mv-body > ul > li:last-of-type > dl > dd > p {
    margin-right: 5px;
    margin-bottom: 0;
    font-size: 1.2rem;
  }
  .history-mv-body > ul > li:last-of-type > p {
    margin-top: 10px;
    font-size: 1.4rem;
  }
  .history-list {
    margin: 30px auto 0;
  }
  .history-list > ul > li:nth-of-type(n+2) {
    margin-top: 30px;
    padding-top: 20px;
  }
  .history-list + .btn {
    margin-top: 40px;
  }
  .history-box > dl > dt {
    padding-left: 30px;
  }
  .history-box > dl > dt > span {
    font-size: 3.2rem;
  }
  .history-box > dl > dt > p {
    padding-top: 2px;
    font-size: 1.8rem;
  }
  .history-box > dl > dd {
    margin-top: 20px;
    padding: 0 20px;
  }
  .history-box-detail {
    padding-bottom: 30px;
  }
  .history-box-detail:before {
    display: none;
  }
  .history-box-detail:after {
    display: none;
  }
  .history-box-detail > p {
    position: static;
    font-size: 2.2rem;
  }
  .history-box-detail > dl {
    display: block;
  }
  .history-box-detail > dl > dt {
    width: 100%;
  }
  .history-box-detail > dl > dd {
    display: none;
  }
  .history-box-detail-title {
    margin-bottom: 10px;
    font-size: 1.6rem;
  }
  .history-box-detail-tips {
    margin-top: 20px;
    padding: 15px;
    font-size: 1.2rem;
  }
  .history-none {
    margin: 50px 0;
  }
  .history-none > p {
    font-size: 1.6rem;
  }
  .history-env {
    margin: 50px 0;
  }
  .group-tab {
    margin-top: 30px;
  }
}

@media screen and (min-width: 768px), print {
  .history-mv {
    min-width: 960px;
  }
  .history-box-detail.top > dl {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  .history-box-detail-pic {
    display: none;
  }
}
