@charset "utf-8";
/*------------------------------------------------
  会社概要
------------------------------------------------*/

/*スクロール位置調整用*/
#overview,
#history,
#performance {
  padding-top: 60px;
  margin-top: -60px;
}

@media print, screen and (min-width: 769px) {
  #overview,
  #history,
  #performance {
    padding-top: 0;
    margin-top: 0;
  }
}

/*========== 会社概要 ==========*/

#overview .detail-list {
  margin: 20px auto 50px;
}

@media print, screen and (min-width: 769px) {
  #overview .detail-list {
    width: 800px;
  }
  #overview .detail-item {
    width: 100px;
    margin-top: 10px;
    font-size: 1.7rem;
  }
  #overview .detail-txt {
    width: 690px;
    margin-top: 10px;
    font-size: 1.7rem;
  }
}

@media print, screen and (min-width: 769px) {
  #overview .subdetail-list {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }

  #overview .subdetail-ttl {
    white-space: nowrap;
  }
}
/*========== 沿革 ==========*/

#history .detail-list-wrapper {
  margin: 30px auto 50px;
}
@media print, screen and (min-width: 769px) {
  #history .detail-list-wrapper {
    width: 800px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 20px auto 0;
    position: relative;
  }

  #history .detail-list-wrapper::after {
    content: "";
    display: block;
    width: 1px;
    height: 100%;
    background-color: #000;
    position: absolute;
    left: 50%;
    top: 0;
  }

  #history .detail-list .detail-item,
  #history .detail-list .detail-txt {
    font-size: 1.7rem;
    line-height: 2.5;
  }

  #history .detail-list {
    width: 365px;
  }
  #history .detail-item {
    width: 115px;
  }
  #history .detail-txt {
    width: 250px;
  }
/*
  #history .detail-list:first-of-type {
    width: 390px;
  }
  #history .detail-list:nth-of-type(2){
    width: 425px;
  }
  #history .detail-list:first-of-type .detail-item {
    width: 110px;
  }
  #history .detail-list:first-of-type .detail-txt {
    width: 270px;
  }
  #history .detail-list:nth-of-type(2) .detail-item {
    width: 150px;
    padding-left: 40px;
  }
  #history .detail-list:nth-of-type(2) .detail-txt {
    width: 245px;
  }
*/
}

/*========== 実績紹介 ==========*/

#performance .performance-list {
  margin: 25px auto;
}
#performance .performance-sublist {
  padding-left: 20px;
  border-left: 1px solid #000;
}

@media print, screen and (min-width: 667px) {
  #performance .performance-list {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
  }
  #performance .performance-item-box {
    width: 50%;
  }
  #performance .performance-sublist {
    padding-left: 10px;
  }
}

@media print, screen and (min-width: 769px) {
  #performance .performance-item-box {
    width: 25%;
  }
  #performance .performance-sublist {
    padding-left: 8px;
  }
  #performance .performance-subitem {
    font-size: 1.4rem;
  }
}
