:root {
  --gray1: #f2f2f2;
  --gray2: #e6e6e6;
  --gray3: #dadada;
  --gray4: #7e7e7e;
  --gray5: #454545;

  --black1: #424242;
  --black2: #343434;
  --black3: #222222;
  --black4: #171717;

  /* logo Blue Color */
  --blue1: #daeffa;
  --blue2: #00cfd6;
  --blue3: #008cd5;
  /* Main Color */
  --blue4: #0048d6;
  --blue5: #3abbff;

  /* Point Color */
  --green1: #00d695;
  --red1: #e93a0f;
}

/* 서브페이지 */
#sub-visual {
  width: 100%;
  height: 23.75rem;
  position: relative;
  margin-bottom: 3.125rem;
}

#sub-visual h1 {
  font-size: 1.875rem;
  color: #fff;
  text-align: center;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.submain-civil {
  width: 100%;
  height: 23.75rem;
  padding: 3.125rem;
  background: url('/images/submain-civil.jpg') center/cover no-repeat;
}


/* 현재위치 */
#location {
  width: 100%;
  height: 3.75rem;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 140, 212, 0.7);
}

.location-container {
  width: 1280px;
  height: 3.75rem;
  margin: auto;
  display: flex;
  align-items: center;
}

.location-icon {
  font-size: 1.375rem;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 1.25rem;
  /* border-left: 1px solid #e2e2e2; */
  border-right: 1px solid #e2e2e2;
  cursor: pointer;

}

.location-1st,
.location-2st {
  position: relative;
  width: 240px;
  height: 1.25rem;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-right: 1px solid #e2e2e2;
  cursor: pointer;
  font-size: 0.9375rem;
  color: #fff;
  letter-spacing: -0.9px;
  font-weight: 400;
  line-height: 1.4;
}

.location-2st {
  border-right: 1px solid #e2e2e2;
}

#main-contents {
  width: 1280px;
  margin: auto;
  margin-bottom: 50px;
}

#main-contents .mt {
  font-size: 3rem;
  font-weight: 500;
  color: var(--black4);
  text-align: center;
  position: relative;
  margin-bottom: 50px;
}

#main-contents .mt::after {
  content: "";
  width: 50px;
  height: 3px;
  background-color: var(--blue3);
  position: absolute;
  top: 4.5rem;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* 인사말 */
.company-container {
  display: flex;
  gap: 60px;
}

.company-photo {
  width: 610px;
  overflow: hidden;
  flex: 1;
}

.company-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.company-text {
  flex: 1;
}

/* .company-text p {
  text-align: justify;
  word-break: keep-all;
  word-wrap: break-all;
} */

/* 연혁 */
.history_container {
  position: relative;
  width: 100%;
  margin: auto;
  left: 10px;
  background-image: url(/images/history-img.jpg);
  background-repeat: no-repeat;
  background-position: right;
  background-size: 500px;
}

.history_list {
  border-left: 1px solid var(--gray3);
}

.history_list>li {
  display: flex;
  margin-bottom: 1.875rem;
  transition: all .5s;
}

.history_list li li {
  display: flex;
}

.history_contents li+li {
  padding-top: 0.625rem;
}

.history_year {
  font-size: 1.5rem;
  color: var(--black2);
  font-weight: 700;
  display: flex;
  margin: -0.125rem 5rem 0 0px;
  text-align: center;
}

.history_year::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 5px solid var(--blue3);
  border-radius: 10px;
  display: inline-block;
  background: white;
  margin-right: 10px;
  position: relative;
  top: 5px;
  left: -10px;
}

.history_month {
  color: var(--red1);
  font-weight: 500;
  margin-right: 1.875rem;
}

.history_text {
  color: var(--black2);
  font-weight: 400;
}

/* 사업분야 */
.business-image {
  width: 80rem;
  height: 50rem;
  background-image: url(/images/business-image-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 0;
  padding: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3.125rem;
}

.business-image .business-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.business-image .business-text img {
  width: 70%;
}

.business-image .business-text p {
  font-size: 1.125rem;
  color: #fff;
  font-weight: 300;
}

.business-area {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.business-part {
  color: #fff;
  /* text-align: center; */
  min-width: 17.5rem;
  height: 17.5rem;
  padding: 3.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.business-part:nth-child(odd) {
  background-color: rgba(0, 72, 214, 0.8);
  border-radius: 50%;
}

.business-part:nth-child(even) {
  background-color: rgba(0, 140, 213, 0.8);
  border-radius: 50%;
}

.business-part i {
  font-size: 3.25rem;
  margin-bottom: 1rem;
}

.business-part h3 {
  font-size: 1.625rem;
  font-weight: 500;
}

.business-section {
  display: flex;
  gap: 3.125rem;
}

.business-section .section {
  border: 1px solid var(--gray3);
  padding: 3.125rem;
  flex: 1;
  background-image: url(/images/logo-ico.png);
  background-position: right 10px bottom 10px;
  background-repeat: no-repeat;
}

.business-section .section h2 {
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}


/* 토목 안전진단 */

.civil-01 {
  display: flex;
  gap: 40px;
}

.civil-img {
  /* width: 600px; */
  flex: 1;
  object-fit: cover;
}

.civil-img img {
  width: 100%;
  object-fit: cover;
}

.civil-table {
  flex: 1;
}

.title-more {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

  .location-container {
    width: 100%;
    justify-content: center;
  }


  #main-contents {
    width: 100%;
    padding: 10px;
  }

  .business-image {
    width: 100%;
    height: 100%;
  }
}



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

  #location {
    height: 40px;
    margin-top: -48px;
  }

  .location-container {
    height: 40px;
  }

  .location_1st,
  .location_2st {
    height: 40px;
    padding: 0 15px;
  }

  .civil-01 {
    flex-direction: column;
  }

  .history_container {
    background-image: none;
  }

  .business-area {
    flex-direction: column;
  }

}



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

  .responsive-box {
    width: 100%;
    overflow-x: auto;
    text-size-adjust: none;
  }

  .responsive-box table {
    width: 880px;
    text-size-adjust: none;
  }

}

@media screen and (max-width: 768px) {
  .company-container {
    flex-direction: column;
    align-items: center;
  }

  .company-photo {
    width: 100%;
  }

  .history_list>li {
    flex-direction: column;
    margin-bottom: 1.875rem;
  }

  .history_contents {
    padding: 0.625rem 0 0 1.875rem;
  }

  .history_month {
    margin-right: 0.625rem;
  }

  .business-image .business-text img {
    width: 100%;
  }

  .business-section {
    flex-direction: column;
  }
}

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