/* =========================================================
   회사 소개 (옛 about2) — 본문
   값은 대행사 원본 pages/about2/css/style.css 그대로
   ========================================================= */

/* ---------- 서브 페이지 공통 ---------- */
.subpage { overflow: hidden; position: relative; }
.subpage > section { padding: 100px 0; position: relative; width: calc(100% - 20px); border-radius: 20px; overflow: hidden; margin: 0 auto; }
.subpage > section:nth-of-type(even) { background: #f7f7f7; }
.subpage img { max-width: inherit; }
.sub_inner { padding: 0 50px; margin: 0 auto; max-width: 1600px; width: 100%; }
.sub_tit { margin-bottom: 55px; }
.sub_tit h2 { font-weight: 700; color: #092a62; }

/* 글자 크기 */
.fs_55 { font-size: 55px; font-weight: 700; line-height: 1.1; }
.fs_40 { font-size: 40px; font-weight: 700; line-height: 1.3; }
.fs_23 { font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.92px; }
.fs_20 { font-size: 20px; font-weight: 400; line-height: 1.85; letter-spacing: -.4px; color: #333; }

/* ---------- 회사 개요 (#sec1) ---------- */
#sec1 .list { display: flex; justify-content: space-between; flex-wrap: wrap; text-align: left; }
#sec1 .list > li { display: flex; border-bottom: 1px solid #ddd; width: calc(50% - 15px); }
#sec1 .list > li:nth-child(n+3) { margin-top: 40px; }
#sec1 .list .tit { flex-shrink: 0; width: 130px; border-bottom: 2px solid #092a62; display: flex; align-items: flex-start; padding-bottom: 15px; }
#sec1 .list .tit i { margin-right: 15px; color: #666666; position: relative; top: -2px; }
#sec1 .list .tit h3 { font-weight: 700; color: #092a62; }
#sec1 .list .desc { padding-bottom: 15px; width: 100%; padding-left: 25px; }

/* ---------- 연혁 (#sec2) ---------- */
.his_list_wr { width: 100%; position: relative; text-align: left; z-index: 1; background: #fff; border: 1px solid #ddd; border-radius: 20px; padding: 60px 90px; }
.his_list_wr > li { width: 100%; text-align: left; position: relative; display: flex; align-items: flex-start; padding-bottom: 70px; }
.his_list_wr > li:last-child { padding-bottom: 0; }
.his_list_wr > li > .txt_wr { width: 100%; text-align: left; }
.his_list_wr > li > .year { width: 250px; margin-bottom: 35px; flex-shrink: 0; }

.year h3 { color: #092a62; font-weight: 700; transition: all .3s; font-family: "Poppins", sans-serif; }

.his_list_wr .txt_wr { padding-top: 8px; }
.his_list_wr .txt_wr .list > li { display: flex; align-items: flex-start; }
.his_list_wr .txt_wr .list > li + li { margin-top: 15px; }
.his_list_wr .txt_wr .list > li b { display: block; flex-shrink: 0; color: #092a62; font-family: "Poppins", sans-serif; width: 84px; font-weight: 700; }

/* 세로선 · 점 (스크롤에 따라 주황으로 채워진다 — js/pages/company.js) */
.his_list_wr > li .pagination { display: block; position: absolute; left: 143px; top: 15px; height: 100%; width: 1px; background: #ddd; flex-shrink: 0; padding-left: 0; list-style: none; }
.his_list_wr > li .pagination .line { position: absolute; width: 1px; height: 0; left: 0; background: #f3935e; transition: height 0.3s ease; }
.his_list_wr > li .pagination .inner_dot { position: absolute; width: 18px; height: 18px; border-radius: 50%; top: 0; left: 50%; transform: translateX(-50%);
  transition: all 0.3s; z-index: 2; display: flex; align-items: center; justify-content: center; border: 1px solid #ddd; background: #fff; }
.his_list_wr > li .pagination .inner_dot::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: #ddd; transition: all 0.3s; z-index: 2; }
.his_list_wr > li .pagination .inner_dot::after { content: ''; display: block; width: 70px; height: 1px; background: #ddd; position: absolute; top: 50%; transform: translateY(-50%); left: 16px; }
.his_list_wr > li.active .pagination .inner_dot { border-color: #ee6012; }
.his_list_wr > li.active .pagination .inner_dot::before { background: #ee6012; }
.his_list_wr > li.active .pagination .inner_dot::after { background: #ee6012; }

/* ---------- 화면 폭별 ---------- */
@media screen and (max-width: 1600px) {
  .subpage br:not(.space) { display: none; }
  .subpage img { max-width: 100%; }

  #sec1 .list > li { width: 100%; }
  #sec1 .list > li:nth-child(n+2) { margin-top: 40px; }
}

@media screen and (max-width: 1024px) {
  .subpage { text-align: center; }
  .subpage > section { padding: 70px 0; width: 100%; border-radius: 0; }
  .sub_inner { padding: 0 30px; }
  .sub_tit { margin: 0 0 40px; }

  .fs_55 { font-size: 32px; }
  .fs_40 { font-size: 28px; }
  .fs_23 { font-size: 19px; }
  .fs_20 { font-size: 17px; }

  #sec1 .list .tit i { top: -4px; }

  .his_list_wr { padding: 50px 50px; }
  .his_list_wr > li { display: block; margin-bottom: 0; padding-bottom: 50px; padding-top: 10px; }
  .his_list_wr > li .pagination { left: 20px; }
  .his_list_wr > li .pagination .inner_dot::after { width: 60px; }
  .his_list_wr > li > .year { width: 100%; margin-bottom: 15px; padding: 0 0 0 120px; }
  .his_list_wr > li > .txt_wr { width: 100%; padding: 0 0 0 120px; }
  .his_list_wr .txt_wr .list > li + li { margin-top: 10px; }
}

@media screen and (max-width: 640px) {
  .subpage > section { padding: 50px 0; }
  .sub_inner { padding: 0 20px; }

  .fs_55 { font-size: 25px; }
  .fs_40 { font-size: 24px; }
  .fs_23 { font-size: 16px; }
  .fs_20 { font-size: 15px; }

  #sec1 .list .tit i { margin-right: 10px; }
  #sec1 .list .tit { width: 90px; padding-bottom: 7px; }
  #sec1 .list .desc { padding-bottom: 10px; padding-left: 7px; }
  #sec1 .list > li:nth-child(n+2) { margin-top: 20px; }

  .his_list_wr { padding: 30px 20px 50px; }
  .his_list_wr > li { padding-bottom: 30px; }
  .his_list_wr > li .pagination { left: 10px; }
  .his_list_wr > li .pagination .inner_dot::after { width: 40px; }
  .his_list_wr > li > .year { width: 100%; margin-bottom: 15px; padding: 0 0 0 76px; }
  .his_list_wr > li > .txt_wr { width: 100%; padding: 0 0 0 76px; }
  .his_list_wr .txt_wr .list > li + li { margin-top: 5px; }
  .his_list_wr .txt_wr .list > li b { width: 55px; }
}
