/* 기본 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', sans-serif;
}


body {
  font-family: 'Pretendard', sans-serif;
  background: #f5f5f5;
  color: #222;
}


/* 헤더 */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);;
  position: fixed;
  inset: 0 0 auto 0;
  padding: 20px 60px;
  z-index: 100;
}

/* 효자정공 로고 이미지 */
.logo img {
  width: 100px;
}

.nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #CFCFCF;
    font-size: 16px;
}

.nav a.active {
    color: #fff;
    font-weight: 600;
}


/* 메인 이미지 */
.main-img {
  height: 650px;
  background: url('/image/회사소개/효자정공.png') no-repeat center 60%;
  background-size: 100% auto;
  position: relative;
}


/* 사업장 소개 */
.company-wrap {
  width: 85%;
  margin: auto;
  padding: 160px 0px 0px 0px;
  background: #f5f5f5;
}

/* 탭 */
.company-tab {
  display: flex;
  justify-content: center;
  margin-bottom: 120px;
}

.company-tab button {
  width: 150px;
  height: 50px;
  border: 1px solid #ddd;
  background: #eee;
  cursor: pointer;
  font-size: 14px;
}

.company-tab button.active {
  background: #000;
  color: #fff;
  border-color: #222;
}


/* CEO 인사말 */
.ceo-wrap {
  margin-bottom: 160px;
}

.ceo-img {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}

.ceo-img img {
  width: 85%;
}

.ceo-wrap h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 60px;
}

/* 텍스트 */
.ceo-text {
  font-size: 20px;
  line-height: 2;
  width: 70%;
  max-width: 900px;
  margin: 0 auto;
}

.ceo-text p {
  margin-bottom: 20px;
}

/* 서명 */
.ceo-sign {
  text-align: right;
  margin-top: 60px;
  font-size: 20px;
}

.ceo-sign strong {
  font-size: 28px;
}


/* 푸터 */
.footer {
    text-align: center;
    padding: 80px;
    background: #0E0E0E;
    font-size: 16px;
}

.footer p {
    color: #FAFAFA;
}

.footer-text {
    padding-bottom: 8px;
} 