@charset "UTF-8";

/* 서브 히어로 스타일 */
.sub-hero-wrap {
  position: relative;
  height: 300px; 
  display: flex;
  align-items: center;
  background-color: var(--color-main);
  overflow: hidden;
}

.sub-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/sub_main.jpg") center/cover; 
  opacity: 0.4;
}

.sub-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.breadcrumb {
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  opacity: 0.7;
}

.breadcrumb span {
  margin: 0 8px;
}

.sub-title-main {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

/* 서브 네비게이션 (탭 메뉴) */
.sub-nav {
  border-bottom: 1px solid var(--color-border);
  background-color: #fff;
  position: sticky;
  top: 80px; /* 메인 네비게이션 높이에 맞춰 고정 */
  z-index: 90;
}

.sub-nav ul {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.sub-nav li a {
  display: block;
  padding: 20px 0;
  font-size: 15px;
  color: #888;
  transition: 0.3s;
}

.sub-nav li.active a {
  color: var(--color-main);
  font-weight: 600;
  border-bottom: 2px solid var(--color-main); /* 활성화 표시 */
}

.sub-nav li a:hover {
  color: var(--color-accent);
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .sub-hero-wrap {
    height: 200px;
  }
  .sub-title-main {
    font-size: 30px;
  }
  .sub-nav ul {
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 5px;
  }
  .sub-nav li a {
    font-size: 14px;
  }
}
/**서브 타이틀 끝//**/

.hei {
  height: 40px;
}

/**company_box 시작**/

.sub_container {
  max-width: 1240px;
  margin: 30px auto;
}

/**map_box 시작**/
.map_wrap {
  padding: 30px;
  background: #f3f3f3;
  overflow: hidden;
}

.map_wrap .map_box {
  display: flex;
  align-items: center;
}

.map_icon {
  float: left;
  padding-right: 20px;
}

.map_txt {
  text-align: left;
  float: left;
}

.map_txt h2 {
  font-size: 22px;
}

.map_txt p {
  font-size: 18px;
  padding-top: 8px;
}

/**map_box 끝**/
/* #maparea {height: 300px;} */
#maparea .root_daum_roughmap {
  width: 100% !important;
  height: 100% !important;
}

/****************************** sub 갤러리 box 시작 ******************************/
.sub_gall_list {
  margin: -10px -10px 0;
  overflow: hidden;
}

.sub_gall_list .gall_item {
  float: left;
  width: 25%;
  padding: 10px;
}

.sub_gall_list .gall_item a {
  display: block;
  overflow: hidden;
}

.sub_gall_list .gall_item a img {
  transition: all 1.2s;
  transform: scale(1);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sub_gall_list .gall_item a:hover img {
  transform: scale(1.085);
}

.sub_gall_list.detail_type .gall_item a {
  position: relative;
}

.sub_gall_list.detail_type .gall_desc {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub_gall_list.detail_type .gall_desc_wrap {
  display: block;
  text-align: center;
}

.sub_gall_list .gall_item p {
  text-align: center;
  font-size: 18px;
  color: #666;
  padding-top: 12px;
}

/****************************** sub 갤러리 box 끝 ******************************/

/** product_list 시작**/
.business_tit {
  font-size: 30px;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
}

.list_tit {
  font-size: 20px;
  font-weight: 800;
  color: #444;
  margin-top: 30px;
}

.product_list {
  padding: 20px 40px;
  border: 1px solid #ddd;
  margin-top: 10px;
  background: #f5f5f5;
}

.product_list p {
  font-size: 17px;
  color: #666;
  padding-top: 5px;
}

.product_list p b {
  color: #222;
}

/** product_list 끝//**/

/** info_box_wrap 시작**/
.info_box_wrap {
  margin-top: 40px;
}

.info_box_wrap h3 {
  font-size: 22px;
  color: #2763b9;
  font-weight: 800;
  margin-bottom: 10px;
}

.info_box {
  padding: 20px;
  background: #f0f5fb;
  border: 1px solid #e8eef5;
}

.info_box p {
  font-size: 17px;
  color: #444;
}

.info_box p b {
  font-size: 17px;
  color: #2763b9;
  display: block;
}

.info_box span {
  font-size: 15px;
  color: #2763b9;
}

.info_txt p {
  font-size: 17px;
  color: #444;
}

.info_txt h5 {
  font-size: 14px;
  color: #444;
  text-align: right;
  padding: 10px 0 20px 0;
}

.info_txt span {
  font-size: 15px;
  color: #2763b9;
}

/** info_box_wrap 끝//**/

/* profile */
.profile {
  display: flex;
  flex-wrap: wrap;
}

.profile img {
  width: 100%;
  max-width: 600px;
}

/** table 시작**/
.table-responsive {
  overflow-x: auto;
  min-height: 1px;
}

.table-responsive table th,
.table-responsive table td {
  white-space: nowrap;
}

.table_con {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  border-top: 2px solid #1c90ba;
}

.table_con th {
  border: 1px solid #ddd;
  padding: 10px 0;
  background: #eef8f6;
  text-align: left;
  padding: 10px 20px;
  font-size: 16px;
  white-space: nowrap;
}

.table_con td {
  border: 1px solid #ddd;
  padding: 10px 20px;
  color: #666;
  font-size: 16px;
  white-space: nowrap;
}

/** table 끝//**/

.d_block {
  display: inline-block;
}

.m_block {
  display: none;
}

.d_block_480 {
  display: block;
}

.m_block_480 {
  display: none;
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1024px) {
  .d_block {
    display: none;
  }

  .m_block {
    display: inline-block;
  }

  .sub_container {
    padding: 30px;
  }

  .sub_container .sub_title h2 {
    font-size: 32px;
  }

  .sub_banner,
  .sub_banner_txt {
    height: 320px;
  }

  .sub_banner_txt span img {
    height: 50px;
  }

  .sub_banner_txt p {
    font-size: 18px;
  }

  .sub_container .sub_title p {
    font-size: 16px;
    color: #888;
    padding: 5px 0 20px 0;
  }

  .sub_banner_txt h2 {
    font-size: 32px;
  }

  .sub_banner_txt strong {
    font-size: 18px;
  }

  .sub_banner_txt p {
    font-size: 17px;
    padding-top: 15px;
  }

  /** company_box 시작**/
  .company_box .company_txt {
    width: 100%;
    border-radius: 20px;
    padding: 2rem;
  }

  .company_box .company_txt h2 {
    font-size: 18px;
  }

  .company_box .company_txt p {
    font-size: 17px;
  }

  /** company_box 끝//**/

  /* sub_sub */
  .sub_sub .container div:last-child {
    padding-top: 160px;
  }

  .sub_sub h3 {
    font-size: 26px;
    line-height: 1.4;
    padding-bottom: 2.6rem;
  }

  .sub_sub p {
    font-size: 16px;
  }
}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {
  .sub_container {
    padding: 20px 10px;
  }

  .sub_banner {
    height: 240px;
  }

  .sub_banner_txt {
    height: 240px;
  }

  .sub_banner_txt span img {
    height: 36px;
  }

  .sub_banner_txt h2 {
    font-size: 24px;
  }

  .sub_banner_txt strong {
    font-size: 16px;
  }

  /**서브 타이틀 시작**/
  .sub_title {
    margin-bottom: 20px;
  }

  .sub_title h2 {
    font-size: 20px;
  }

  /**서브 타이틀 끝//**/

  /**company_box 시작**/
  .company_box .company_txt {
  }

  .company_box .company_txt h2 {
    font-size: 16px;
    margin-bottom: 0;
  }

  .company_box .company_txt h2 b {
    display: block;
    padding: 10px 0 0 0;
  }

  .company_box .company_txt h2 span {
    padding-right: 5px;
  }

  .company_box .company_txt h2 span img {
    height: 45px;
  }

  .company_box .company_txt p {
    font-size: 15px;
  }

  /**company_box 끝**/

  /**company_box2 시작**/
  .company_box2 h3 {
    font-size: 18px;
  }

  .company_box2 p {
    font-size: 13px;
    padding: 4px 0 16px 0;
  }

  /**company_box2 끝//**/

  /* study*/
  .study_box .title {
    font-size: 30px;
    margin-bottom: 2rem;
  }
  .study_box ul {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
  }
  .study_box ul li {
    padding: 1.7rem;
  }

  /**map_box 시작**/
  .map_wrap {
    padding: 20px 10px;
  }

  .map_txt h2 {
    font-size: 16px;
  }

  .map_txt p {
    font-size: 13px;
    padding-top: 0;
  }

  .map_icon {
    padding-right: 0;
  }

  .map_icon img {
    width: 80%;
  }

  /**map_box 끝**/

  /**서브 갤러리 시작**/
  .sub_gall_list .gall_item {
    width: 50%;
  }

  .sub_gall_list .gall_item p {
    font-size: 14px;
    padding-top: 10px;
  }

  .sub_gall_list .gall_item a img {
    height: 150px;
  }

  /**서브 갤러리 끝//**/

  /** product_list 시작**/
  .list_tit {
    font-size: 17px;
  }

  .product_list p {
    font-size: 15px;
  }

  .product_list p span {
    display: block;
  }

  .product_list {
    padding: 10px;
  }

  /** product_list 끝//**/

  /** product_list 시작**/
  .list_tit {
    font-size: 18px;
  }

  .product_list {
    padding: 20px;
  }

  .product_list p {
    font-size: 16px;
  }

  /** product_list 끝//**/

  /** info_box_wrap 시작**/
  .info_box_wrap h3 {
    font-size: 18px;
  }

  .info_box p {
    font-size: 14px;
  }

  .info_box span {
    font-size: 13px;
  }

  .info_txt p {
    font-size: 14px;
  }

  .info_txt span {
    font-size: 13px;
  }

  /** info_box_wrap 끝//**/

  /** table 시작**/
  .table_con th {
    font-size: 14px;
  }

  .table_con td {
    font-size: 14px;
  }

  /** table 끝//**/
  .feature-item {
    min-width: 290px;
    width: 90% !important;
  }
}

/*******************************************************************************************************************************
 *** 모바일 max-width 480
*******************************************************************************************************************************/
@media (max-width: 480px) {
  .sub > p {
    padding: 6% 1%;
    font-size: 17px;
    text-align: left;
    line-height: 1.8;
  }

  ul.list {
    padding: 0;
  }

  .sub_banner {
    height: 150px;
    background-image: url(../img/sub_mainm.jpg);
    background-size: cover;
    background-position: center center;
  }

  .sub_banner_txt {
    height: 150px;
  }

  .sub_banner_txt span img {
    height: 26px;
  }

  .sub_banner_txt h2 {
    font-size: 20px;
  }

  .sub_banner_txt strong {
    font-size: 13px;
  }

  .sub_banner_txt h2 span {
    display: block;
  }

  .sub_banner_txt strong {
    font-size: 14px;
  }

  .sub_banner_txt p {
    display: block;
    font-size: 15px;
  }

  /** company_box 시작**/
  .company_box .company_txt h2 {
    font-size: 13px;
  }

  .company_box .company_txt h2 span img {
    height: 34px;
  }

  .company_box .company_txt p {
    font-size: 14px;
  }

  /** company_box 끝//**/

  /** product_list 시작**/
  .list_tit {
    font-size: 16px;
    margin-top: 20px;
  }

  .product_list p {
    font-size: 13px;
    line-height: 18px;
  }

  .product_list {
    padding: 10px;
  }

  /** product_list 끝//**/

  /** info_box_wrap 시작**/
  .info_box_wrap h3 {
    font-size: 16px;
  }

  .info_box p {
    font-size: 13px;
  }

  .info_box span {
    font-size: 12px;
  }

  .info_txt p {
    font-size: 13px;
  }

  .info_box p b {
    font-size: 13px;
  }

  .info_txt span {
    font-size: 12px;
  }

  /** info_box_wrap 끝//**/

  /** table 시작**/
  .table_con th {
    font-size: 13px;
  }

  .table_con td {
    font-size: 13px;
  }

  /** table 끝//**/

  .d_block_480 {
    display: none;
  }

  .m_block_480 {
    display: block;
  }
}

@media (max-width: 360px) {
  .sub_banner_txt span img {
    height: 20px;
  }
}
