/*-----------------------------------------------------------------

	.history

-----------------------------------------------------------------*/

/*----------------------------------------------------------
	Display：common
----------------------------------------------------------*/

.history .yearBox .yearTTL {
  width: 160px;
  position: relative;
  left: -5px;
}

.history .yearBox .inner {
  padding: 20px 0 20px;
}

.history .yearBox .inBox {
  margin: 15px 0 0;
  padding: 20px 0 20px 30px;
  position: relative;
}

.history .yearBox .inBox::before {
  content: '';
  display: block;
  width: 2px;
  height: 100%;
  background: #cc0015;
  position: absolute;
  top: 0;
  left: 10px;
}

.history .yearBox .inBox.noBorder::before {
  display: none;
}

.history .yearBox .estBox {
  margin-top: 20px;
  position: relative;
}

.history .yearBox .estBox .icon_ym {
  position: absolute;
  top: 0;
  left: 0;
}

.history .yearBox .estBox .estTTL {
  width: 110px;
  margin-bottom: 15px;
}

.history .yearBox .estBox .estTTL.est0 {
  width: 54px;
}

.history .yearBox .photoList {
  margin-top: 20px;
}

.history .yearBox .photoBox {
  margin: 8px 0;
}

.history .yearBox .photoBox .photo {
  padding: 2px 6px 6px 2px;
  position: relative;
}

.history .yearBox .photoBox.h .photo {
  padding: 2px 8px 11px 5px;
}

.history .yearBox .photoBox .photo span {
  display: block;
  width: 100%;
  padding: 8px;
  background: #ffffff;
  background: -moz-linear-gradient(#eeece8 0%, #eeece8 40%, #ffffff 97%, #ffffff 100%);
  background: -webkit-gradient(linear, left top, left bottom, from(eeece8), color-stop(40%, #eeece8), color-stop(97%, #ffffff), to(#ffffff));
  background: -webkit-linear-gradient(#eeece8 0%, #eeece8 40%, #ffffff 97%, #ffffff 100%);
  background: -o-linear-gradient(#eeece8 0%, #eeece8 40%, #ffffff 97%, #ffffff 100%);
  background: -ms-linear-gradient(#eeece8 0%, #eeece8 40%, #ffffff 97%, #ffffff 100%);
  background: linear-gradient(#eeece8 0%, #eeece8 40%, #ffffff 97%, #ffffff 100%);
  position: relative;
  z-index: 2;
}

.history .yearBox .photoBox .photo img {
  width: 100%;
  position: relative;
  z-index: 2;
}

.history .yearBox .photoBox .photo::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-image: url(../img/company/history/photo_shadow.png);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
}

.history .yearBox .photoBox.w .photo::after {
  background-image: url(../img/company/history/photo_shadow_w.png);
}

.history .yearBox .photoBox.h .photo::after {
  background-image: url(../img/company/history/photo_shadow_h.png);
}

.history .yearBox .photoBox figcaption {
  margin-left: 10px;
  color: #001262;
}


/*----------------------------------------------------------
	Display：559px →（ sp ）
----------------------------------------------------------*/

@media screen and (max-width:559px) {

  .history .yearBox .inBox.noBorder {
    padding-left: 0;
    padding-right: 0;
  }

  .history .yearBox .estBox {
    min-height: 80px;
    padding: 95px 0 0 5px;
    position: relative;
  }

  .history .yearBox .estBox .icon_ym {
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    left: -8px;
  }

  .history .yearBox .estBox .estTTL {
    position: absolute;
    top: 15px;
    left: 88px;
  }

  .history .yearBox .estBox .estTTL img {
    position: absolute;
    top: 15px;
  }

}

/*----------------------------------------------------------
	Display：560px →（ tablet ）
----------------------------------------------------------*/

@media screen and (min-width:560px) {


  .history .yearBox .yearTTL {
    width: 180px;
  }

  .history .yearBox .inBox {
    margin: 15px 0 0;
    padding-left: 60px;
    padding-right: 60px;
  }

  .history .yearBox .inBox::before {
    left: 20px;
  }

  .history .yearBox .estBox {
    min-height: 100px;
    padding: 15px 0 0 120px;
  }

  .history .yearBox .estBox .icon_ym {
    width: 100px;
    height: 100px;
  }

  .history .yearBox .estBox .estTTL {
    width: 120px;
  }

  .history .yearBox .estBox .estTTL.est0 {
    width: 54px;
  }

  .history .yearBox .photoBox {
    width: 49%;
  }

  .history .yearBox .photoBox .photo {
    padding: 2px 6px 6px 2px;
  }

  .history .yearBox .photoBox .photo span {
    padding: 10px;
  }

  .history .yearBox .photoBox figcaption {
    margin-left: 14px;
  }
}

/*----------------------------------------------------------
	Display：769px →（ pc ）
----------------------------------------------------------*/

@media screen and (min-width:769px) {

  .history .yearBox .yearTTL {
    width: 200px;
    left: 10px;
  }

  .history .yearBox .inner {
    padding: 50px 0 30px;
  }

  .history .yearBox .inBox,
  .history .yearBox .inBox.noBorder {
    margin: 20px 0 0;
    padding-left: 80px;
    padding-right: 80px;
  }

  .history .yearBox .inBox::before {
    left: 40px;
  }

  .history .yearBox .estBox {
    min-height: 110px;
    padding: 20px 0 0 135px;
  }

  .history .yearBox .estBox .icon_ym {
    width: 110px;
    height: 110px;
  }

  .history .yearBox .estBox .estTTL {
    width: 144px;
  }

  .history .yearBox .estBox .estTTL.est0 {
    width: 64px;
  }

  .history .yearBox .photoBox .photo {
    padding: 3px 8px 8px 3px;
  }

  .history .yearBox .photoBox .photo span {
    padding: 12px;
  }

  .history .yearBox .photoBox figcaption {
    margin-left: 18px;
  }

  .history .yearBox .photoBox.w .photo {
    max-width: 480px;
  }

  .history .yearBox .photoBox.h {
    margin-left: 7.5%;
  }

  .history .yearBox .photoBox.h .photo {
    max-width: 330px;
  }
}

/*----------------------------------------------------------
	Display：960px →（ pc ）
----------------------------------------------------------*/

@media screen and (min-width:960px) {

  .history .yearBox .yearTTL {
    width: 220px;
  }

  .history .yearBox .inBox,
  .history .yearBox .inBox.noBorder {
    margin: 25px 0 0;
    padding-left: 100px;
    padding-right: 100px;
  }

  .history .yearBox .inBox::before {
    left: 60px;
  }

  .history .yearBox .estBox {
    min-height: 125px;
    padding: 25px 0 0 150px;
  }

  .history .yearBox .estBox .icon_ym {
    width: 125px;
    height: 125px;
  }

  .history .yearBox .photoBox .photo {
    padding: 4px 10px 10px 4px;
  }

  .history .yearBox .photoBox .photo span {
    padding: 14px;
  }

  .history .yearBox .photoBox figcaption {
    margin-left: 20px;
  }

}