@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

/*---------------------------------------------
  Reset
---------------------------------------------*/
/* margin */
.history-heros h1,
#history h2,
#history h3,
#history h4,
#history p {
  margin: 0;
}

/* line-height */
#history h2,
#history h3,
#history h4 {
  line-height: 1.5;
}

/* list-style */
#history ul,
#history ol,
#history dl {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* img */
#history img,
#history table img {
  width: 100%;
}

/* hover */
#history a:hover {
  opacity: 0.65;
  filter: alpha(opacity=65);
  -moz-opacity: 0.65;
}

/* display */
#history .sm-pc,
.history-read > p .sm-pc {
  display: none !important;
}
@media only screen and (min-width: 768px) {
  #history .sm-pc,
  .history-read > p .sm-pc {
    display: block !important;
  }
  #history .sm-sp,
  .history-read > p .sm-sp {
    display: none !important;
  }
}

/*---------------------------------------------
  Base
---------------------------------------------*/
#history {
  font-size: 16px;
  line-height: 1.8;
  padding-bottom: 45px;
}
@media only screen and (min-width: 768px) {
  #history {
    padding-bottom: 60px;
  }
}

/*---------------------------------------------
  Hero
---------------------------------------------*/
.history-heros {
  overflow: hidden;
}
.history-heros > h1 > img {
  width: 100%;
}
.history-read {
  padding: 0 15px;
  margin-top: 30px;
}
.history-read > p {
  color: #222;
  font-size: 16px;
  text-align: center;
  line-height: 1.8;
}
@media only screen and (min-width: 818px) {
  .history-heros {
    position: relative;
    padding: 20px 25px 0;
    margin: 0 auto;
  }
  .history-read {
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 50%;
    max-width: 600px;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  .history-read {
    padding: 0;
    margin-top: 0;
  }
  .history-read > p {
    font-size: 1.1vw;
    margin-bottom: 0;
  }
}
@media only screen and (min-width: 990px) {
  .history-heros {
    width: 1250px;
    max-width: 100%;
  }
  .history-read {
    bottom: 20px;
  }
}
@media only screen and (min-width: 1300px) {
  .history-read > p {
    font-size: 14px;
  }
}

/*---------------------------------------------
  Timeline
---------------------------------------------*/
#history .history-timeline {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  z-index: 0;
}
#history .history-timeline > ol {
  position: relative;
}
#history .history-timeline > ol:before {
  content: "";
  position: absolute;
  top: 0;
  width: 3px;
  height: 100%;
  background: #ddd;
  background: -moz-linear-gradient(bottom, #ddd 96%, #fff);
  background: -webkit-linear-gradient(bottom, #ddd 96%, #fff);
  background: linear-gradient(to bottom, #ddd 96%, #fff);
  z-index: -1;
}
#history .history-timeline > ol > li {
  position: relative;
}
#history .history-timeline > ol > li:before {
  content: "";
  position: absolute;
  width: 50%;
  height: 1px;
  background: #333;
}
#history .history-timeline > ol > li .history-timeline__item {
  position: relative;
  text-align: center;
}
#history .history-timeline__date {
  position: absolute;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 20px !important;
  text-align: center;
  background-color: #222;
}
#history .history-timeline > ol > li h3 {
  position: relative;
  color: #222;
  font-family: 'Trebuchet MS', 'Arial', sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  letter-spacing: .05rem;
  line-height: 35px;
  background-color: #fff;
}
#history .history-timeline > ol > li h3::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 8px;
  height: 26px;
  border-right: 1px solid #333;
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#history .history-timeline > ol > li h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 18px;
  width: 100%;
  border-top: 1px solid #333;
}
#history .history-timeline__txt {
  font-size: 13px;
  text-align: left;
  line-height: 2;
  padding: 20px 0 15px;
}
#history .history-timeline > ol > li .history-timeline__item > ul {
  margin: -20px 0 15px;
}
#history .history-timeline > ol > li .history-timeline__item > ul > li {
  font-size: 11px;
  text-align: left;
}
@media only screen and (max-width: 767px) {
  #history .history-timeline {
    margin-top: 40px;
  }
  #history .history-timeline > ol:before {
    left: 28px;
  }
  #history .history-timeline > ol > li:before {
    top: 120px;
    left: 30px;
  }
  #history .history-timeline > ol > li.Xperia:before {
    top: 90px;
  }
  #history .history-timeline > ol > li .history-timeline__item {
    padding: 120px 0 0 50px;
  }
  #history .history-timeline > ol > li.Xperia .history-timeline__item {
    padding: 90px 0 0 50px;
  }
  #history .history-timeline > ol > li .history-timeline__date {
    top: 60px;
    left: 0;
    width: 60px;
    height: 60px;
    line-height: 60px;
    margin: -30px auto 0;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
  }
  #history .history-timeline > ol > li.Xperia .history-timeline__date {
    top: 30px;
  }
  #history .history-timeline > ol > li h3 {
    width: 90%;
    margin: -20px 0 0 10%;
  }
  #history .history-timeline > ol > li img {
    width: 100%;
    max-width: 400px;
  }
}
@media screen and (min-width:768px) {
  #history .history-timeline {
    margin-top: 50px;
  }
  #history .history-timeline > ol:before {
    left: calc(50% - 1.5px);
  }
  #history .history-timeline > ol:after {
    content: ".";
    display: block;
    height: 0rem;
    clear: both;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
  }
  #history .history-timeline > ol > li {
    width: 50%;
    margin-top: 10px;
  }
  #history .history-timeline > ol > li.Xperia {
    margin-top: 0;
  }
  #history .history-timeline > ol > li.Xperia_acro {
    margin-top: 260px;
  }
  #history .history-timeline > ol > li:nth-child(odd) {
    float: left;
    padding-right: 80px;
  }
  #history .history-timeline > ol > li:nth-child(even) {
    float: right;
    padding-left: 80px;
  }
  #history .history-timeline > ol > li:before {
    top: 80px;
  }
  #history .history-timeline > ol > li.Xperia:before {
    top: 120px;
  }
  #history .history-timeline > ol > li:nth-child(odd):before {
    left: auto;
    right: 2px;
  }
  #history .history-timeline > ol > li:nth-child(even):before {
    left: 1px;
    right: auto;
  }
  #history .history-timeline > ol > li .history-timeline__item {
    padding: 80px 0 0 0;
  }
  #history .history-timeline > ol > li.Xperia .history-timeline__item {
    padding: 120px 0 0 0;
  }
  #history .history-timeline > ol > li .history-timeline__date {
    top: 0;
    width: 80px;
    height: 80px;
    line-height: 80px;
    margin: -40px auto 0;
    -webkit-border-radius: 40px;
    -moz-border-radius: 40px;
    border-radius: 40px;
  }
  #history .history-timeline > ol > li.Xperia .history-timeline__date {
    top: 40px;
  }
  #history .history-timeline > ol > li:nth-child(odd) .history-timeline__date {
    left: auto;
    right: -120px;
  }
  #history .history-timeline > ol > li:nth-child(even) .history-timeline__date {
    left: -120px;
    right: auto;
  }
  #history .history-timeline > ol > li h3 {
    margin: -20px 0 0 0;
  }
  #history .history-timeline > ol > li:nth-child(odd) h3::before {
    left: auto;
    right: 8px;
    border-right: none;
    border-left: 1px solid #333;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #history .history-timeline > ol > li:nth-child(odd) h3::after {
    left: auto;
    right: 18px;
  }
}

/*---------------------------------------------
  Banner
---------------------------------------------*/
#history .history-banner {
  margin-top: 100px;
}
#history .history-banner > a {
  display: block;
}

/*---------------------------------------------
  Back Button
---------------------------------------------*/
#history .back-button {
  text-align: center;
  margin-top: 60px;
}
#history .back-button > a {
  display: inline-block;
  position: relative;
  color: #828282;
  font-size: 12px;
  line-height: 52px;
  padding-left: 60px;
  background: url(../img/arrow-back.png) left center no-repeat;
  background-size: 50px 50px;
}
@media screen and (min-width:768px) {
  #history .back-button {
    margin-top: 75px;
  }
}