@charset "UTF-8";

/*******************************************************************************************************************************
 *** 헤더
*******************************************************************************************************************************/
/* 전체 헤더 설정 */
.header-wrap {
  position: relative;
  width: 100%;
  background-color: #fff;
  transition: all 0.3s;
}

/* 서브 전용 배경 설정  */
.sub-page.header-wrap {
  height: 500px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
    url("../img/sub_main.jpg");
  background-size: cover;
  background-position: center;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1250px;
  margin: 0 auto;
  padding: 30px 15px;
}

header .logo {
  max-width: 220px;
}
header .logo img {
  width: 100%;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 5000;
}

.nav-menu li a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.sub-page .nav-menu li a,
.sub-page .phone-num,
.sub-page .nav-right i {
  color: #fff !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 0 0 auto;
  color: #333;
}

.phone-num {
  font-family: "Noto Serif KR", serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.hero-title-box {
  display: none; /* 기본 숨김 */
}

.sub-page .hero-title-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.hero-main-title {
  font-size: 3.5rem;
  font-family: "Noto Serif KR", serif;
  color: #fff;
}

.hero-sub-title {
  color: #fff;
  letter-spacing: 0.3em;
  margin-top: 10px;
}

/* [3] 모바일 대응 */
.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header-container {
    padding: 20px;
  }
  .nav-menu {
display: flex; 
    flex-direction: column;
    position: absolute;
    top: 80px; 
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 0 20px;    
    gap: 20px;
    z-index: 9999;
    overflow: hidden;      
    max-height: 0;         
    transition: max-height 0.5s ease-in-out, padding 0.5s ease; 
  }
  
.nav-menu li a {
  color: #ffffff;
  font-size: 1rem;
}
  .nav-menu.active {
max-height: 500px;     
    padding: 40px 20px;}    
  .phone-num {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* [4] 서브 본문 '사업개요' 타이틀 디자인 */
.page-title-section {
  padding: 100px 0;
  text-align: center;
  background: #fff;
}
.page-title-section h2 {
  font-family: "Noto Serif KR", serif;
  font-size: 2.8rem;
  font-weight: 700;
}
.vertical-line {
  width: 1px;
  height: 60px;
  background: #000;
  margin: 35px auto 0;
}
/*quick 시작*/
.quick {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  opacity: 0;
  transition: 0.8s;
}

.view {
  opacity: 1;
}

.quick .call {
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  margin-bottom: 14px;
}

.quick .call img {
  transition: 0.5s;
}

.quick .call i {
  font-size: 24px;
  line-height: 50px;
}

.quick .call:hover img {
  filter: invert(40%) sepia(98%) saturate(424%) hue-rotate(59deg)
    brightness(100%) contrast(86%);
}

/*quick 끝//*/

/**PC 모바일 이미지 사이즈 조정 시작**/
.d-block {
  display: block;
}

.m-block {
  display: none;
}

/**PC 모바일 이미지 사이즈 조정 끝**/

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1000px) {
}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/

/*******************************************************************************************************************************
 *** 푸터
*******************************************************************************************************************************/

/* =========================================
           8. 푸터 (Footer)
           ========================================= */
.footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 15px;
}
.footer-links a:hover {
  color: white;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 24px;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}
.footer-info-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {
  /**PC 모바일 이미지 사이즈 조정 시작**/
  .d-block {
    display: none;
  }

  .m-block {
    display: block;
  }


  .hero-main-title {
    font-size: 2.5em;
  } 
.sub-page.header-wrap,
  .sub-page .hero-title-box {
    height: 350px !important;
  }

  .footer-info-row {
    flex-direction: column;
  }

  /**PC 모바일 이미지 사이즈 조정 끝**/
}
