/*
 * General Styles
 * - Use a more standard reset for better cross-browser consistency.
 * - Centralize font definitions for cleaner inheritance.
 */
@charset "euc-kr";

@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
@import url("//cdn.rawgit.com/hiun/NanumSquare/master/nanumsquare.css");

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

:root {
  /* Define color variables for easier theming and consistency */
  --color-primary: #47789b;
  --color-dark: #333;
  --color-medium: #666;
  --color-light: #adadad;
  --color-border: #e8e8e8;
  --color-background-light: #f5f5f5;
  /*--font-nanum-gothic: "Pretendard", sans-serif;
  --font-nanum-square: "Pretendard", sans-serif;*/
}

/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Use border-box for consistent layout behavior */
  /*font-family: 'Pretendard' !important;*/
}

body {
  font-family: var(--font-nanum-gothic);
  font-size: 10pt;
  color: var(--color-medium);
  -webkit-text-size-adjust: 100%; /* Prevent text zoom on mobile */
}

ul, li {
  list-style: none;
}

img {
  border: 0;
  max-width: 100%; /* Ensure images are responsive by default */
  height: auto;
}

a {
  text-decoration: none;
  color: inherit; /* Inherit color from parent */
}

/*
 * Main and Page Layout
 * - Use Flexbox or CSS Grid for robust layout management.
 * - Replace fixed pixel values with relative units where appropriate.
 */
.container {
  max-width: 100%;
  margin: 0 auto;
}

/* Main Content Sections */
#main_set {
  padding-top: 55px;
}

.main_text_01 {
  position: relative;
  height: 500px;
  overflow: hidden; /* Hide overflow to prevent layout issues */
}

.main_text_02,
.main_img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%; /* Use a fixed width for desktop */
}

.main_text_02 {
  z-index: 4;
}

.main_img {
  width: 100%px;
  height: 500px;
  z-index: 3;
}

.copy {
  color: #999;
  padding: 25px 0 15px;
}

/* Sub-page Layout */
#sub_section {
  padding-top: 55px;
}

#sub_top {
  width: 100%;
  height: 205px;
  background: url(../images/subtop.jpg) center center no-repeat;
  padding-top: 15px;
  background-size: cover;
}

.sub_top_txt {
  margin: 0 auto;
}

#sub_con {
  width: 1200px;
  margin: 50px auto 0;
  display: flex; /* Use Flexbox for side-by-side layout */
}

#left_menu {
  width: 180px;
  margin-right: 60px;
}

#sub_page {
  width: 860px;
}

/* Sub-menu Styles */
#submenu a {
  background: url(../images/lbg-off.jpg) left top no-repeat;
  width: 180px;
  height: 30px;
  color: var(--color-medium);
  font-size: 10pt;
  padding-left: 10px;
  line-height: 30px;
  display: block; /* Make the link a block-level element */
}

#submenu a:hover {
  background: url(../images/lbg.jpg) left top no-repeat;
  color: #fff;
}

/* Page Titles and Content */
.bigtitle {
  font-size: 20pt;
  color: var(--color-dark);
  font-weight: bold;
  padding: 5px 0 10px;
}

.title {
  font-size: 17pt;
  color: var(--color-dark);
  font-weight: bold;
  border-bottom: 1px solid #d5d5d5;
  padding-top: 30px;
  padding-bottom: 5px;
}

.title span {
  font-size: 10pt;
  color: var(--color-medium);
  font-weight: normal;
}

.sub_page_con {
  padding: 30px 0 50px;
}

.lbn01 {
  font-size: 10pt;
  font-weight: bold;
  color: var(--color-dark);
}

.lbn01 b {
  color: var(--color-primary);
  font-size: 17pt;
  font-weight: bold;
  font-family: arial;
  letter-spacing: -1px;
}

.lbn02 {
  font-size: 9pt;
  color: var(--color-medium);
}

.lbn02 b {
  font-size: 10pt;
  font-weight: bold;
  color: var(--color-dark);
}

/*
 * Responsive Design
 * - Use more flexible units and a mobile-first approach.
 * - Refine breakpoints for better device compatibility.
 */

 /* 섹션 배경 및 기본 스타일 */
 .jhg-intro-section {
     position: relative;
     height: 600px; /* 섹션 높이 설정 */
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     color: #ffffff; /* 기본 텍스트 색상 */
     /* 배경 이미지 설정 (경로를 반드시 수정하세요) */
     background-image: url('../images/mimg01.jpg');
     background-size: cover;
     background-position: center;
 }

 /* 어두운 오버레이 */
 .intro-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: rgba(0, 0, 0, 0.6); /* 어두운 투명도 */
 }

 /* 내용 중앙 정렬 컨테이너 */
 .intro-content {
     position: relative; /* 오버레이 위에 올라오도록 */
     z-index: 10;
     padding: 20px;
     max-width: 900px;
     width: 100%;
 }

 /* 텍스트 스타일 */
 .main-title {
     font-size: 2.5em;
     font-weight: 300;
     margin-bottom: 5px;
     margin-top: 50px;
 }

 .main-subtitle {
     font-size: 1.8em;
     font-weight: 700;
     margin-bottom: 25px;
     color: #e1b47b; /* 강조 색상 */
 }

 .description-text {
     font-size: 1.1em;
     font-weight: 300;
     line-height: 1.6;
     color: #cccccc;
     margin-bottom: 50px;
 }

 /* ------------------------------------ */
 /* 육각형 (Hexagon) 스타일 */
 /* ------------------------------------ */
 .hexagon-container {
     display: flex;
     justify-content: center;
     gap: 30px;
 }

 /* 육각형 크기 및 레이아웃 (데스크톱 기준) */
 .hexagon-item {
     width: 150px; /* 육각형의 너비 (가로) */
     height: calc(150px * 1.1547); /* 육각형 높이 = 너비 * sqrt(3)/2 * 2 */
     margin-top: calc(150px * 0.2885); /* 높이의 1/4 (겹치는 부분 보정) */
     position: relative;
     overflow: hidden;
     cursor: pointer;
     transition: transform 0.3s ease;
 }

 .hexagon-item:hover {
     transform: translateY(-10px);
 }

 .hexagon-inner {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: #e1b47b; /* 육각형 기본 색상 */
     color: #fff;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 10px;
     clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
     transition: background 0.3s ease;
 }

 .hexagon-item:hover .hexagon-inner {
     background: #005f90; /* 호버 시 색상 변경 */
 }

 /* 아이콘 스타일 */
 .icon-wrap {
     font-size: 2.5em;
     margin-bottom: 10px;
     /* color: #f4d03f; /* 아이콘 색상 (선택 사항) */
 }

 .item-title {
     font-size: 1.1em;
     font-weight: 700;
     margin-bottom: 3px;
     line-height: 1.2;
 }

 .item-subtitle {
     font-size: 0.8em;
     font-weight: 300;
     color: #cccccc;
 }

 /* Base Styles and Colors */
 :root {
     --jh-blue-dark: #004d99;
     --jh-blue-light:#4c8af7;
     --jh-blue-main: #e1b47b;
     --jh-gray-text: #555;
     --jh-white: #fff;
     --jh-bg-pattern: url('data:image/svg+xml;utf8,<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="10" cy="10" r="1.5" fill="%23d0d0d0" opacity="0.4"/></svg>');
 }

 /* Overall Container and Background */
 .jh-marketing-goal {
     font-family: 'Malgun Gothic', '맑은 고딕', sans-serif;
     color: var(--jh-gray-text);
     padding: 40px;
     background-color: var(--jh-white);
     position: relative;
     /* Simulate the dotted background pattern */
     background-image: var(--jh-bg-pattern);
     background-size: 20px 20px;
 }

 /* Header/Title Styling */
 .jh-header {
     text-align: center;
     margin-bottom: 50px;
 }

 .jh-header h1 {
     color: #333;
     font-size: 28px;
     font-weight: 700;
     margin-bottom: 10px;
 }

 .jh-header p {
     font-size: 16px;
     color: var(--jh-gray-text);
 }

 /* Main Content Layout (데스크톱 기본) */
 .jh-content {
     display: flex;
     justify-content: center;
     align-items: flex-start;
     gap: 80px;
     max-width: 1200px;
     margin: 0 auto;
 }

 /* --- Diagram (Image) Styling --- */
 .jh-diagram-container {
     flex-shrink: 0;
     position: relative;
 }

 .jh-diagram-image {
     width: 300px; /* 데스크톱 이미지 크기 유지 */
     height: auto;
     display: block;
 }

 /* --- Description List Styling --- */
 .jh-description-list {
     flex-grow: 1;
     max-width: 450px;
 }

 .jh-item {
     display: flex;
     align-items: flex-start;
     margin-bottom: 40px;
 }

 .jh-item .icon-box {
     flex-shrink: 0;
     width: 50px;
     height: 50px;
     margin-right: 20px;
     background-color: var(--jh-blue-main); /* Placeholder for the blue circle background */
     border-radius: 50%;
     display: flex;
     justify-content: center;
     align-items: center;
     /* Stylistic outline for icon circle */
     box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);
 }

 .jh-item .icon {
     /* The image had white outline icons, so setting a filter to make a white icon placeholder */
     width: 60%;
     height: 60%;
     filter: invert(100%) sepia(0%) saturate(7483%) hue-rotate(185deg) brightness(108%) contrast(100%);
     /* Replace with actual SVG or font icons */
 }

 .jh-item .text-content {
     /* Vertical line between items - partial simulation */
     position: relative;
     padding-bottom: 20px;
     margin-top: -10px;
 }

 /* 데스크톱: 항목 간 수직선 */
 .jh-item:not(:last-child) .text-content::after {
     content: '';
     position: absolute;
     left: -30px; /* Aligns with the center of the icon-box */
     top: 50px; /* Start below the icon */
     bottom: -10px; /* Extend down */
     width: 1px;
     background-color: #ddd; /* Light gray line color */
     display: none;
 }

 .jh-item .number {
     font-size: 12px;
     color: var(--jh-blue-main);
     font-weight: 700;
     display: inline-block;
     margin-bottom: 5px;
 }

 .jh-item .title {
     font-size: 18px;
     color: #333;
     font-weight: 700;
     display: inline;
     margin-left: 5px;
 }

 .jh-item p {
     font-size: 14px;
     line-height: 1.6;
     margin-top: 5px;
     color: var(--jh-gray-text);
 }

 .vision-container {
     max-width: 1200px;
     margin: 0 auto;
 }

 /* 헤더 스타일 */
 .vision-header h1 {
     font-size: 32px;
     color: #333;
     margin-bottom: 5px;
 }

 .vision-header p {
     font-size: 18px;
     color: #666;
     margin-bottom: 50px;
 }

 /* 3개의 기둥(Pillars) 섹션 스타일 */
 .vision-pillars {
     display: flex;
     justify-content: space-between;
     gap: 20px;
     padding: 0 50px;
 }

 .pillar-item {
     flex: 1;
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 .pillar-item h2 {
     font-size: 20px;
     color: #333;
     margin-bottom: 10px;
 }

 .pillar-item p {
     font-size: 14px;
     color: #666;
     line-height: 1.5;
 }

 /* 수직선 스타일 */
 .line {
     width: 2px;
     height: 60px;
     background-color: #e1b47b; /* 파란색 계열 */
     margin: 10px 0;
 }


 /* 육각형 컨테이너 스타일 */
 .hexagon-wrapper {
     position: relative;
     width: 200px;
     height: 115.47px;
     margin: 20px 0;
     z-index: 1;
 }

 /* 실제 육각형 모양을 만드는 요소 */
 .hexagon-wrapper:before,
 .hexagon-wrapper:after,
 .hexagon-content {
     content: "";
     position: absolute;
     width: 100%;
     height: 100%;
     /* 내부 육각형의 진한 파란색 */
     background: #e1b47b;
     box-sizing: border-box;
     display: flex;
     justify-content: center;
     align-items: center;
     color: white;
     font-size: 20px;
     font-weight: bold;
     line-height: 1.3;
     text-align: center;
     /* 실선 테두리로 변경 */
     border-style: solid;
     border-color: transparent; /* wrapper에서 테두리를 처리하므로 내부 테두리는 투명하게 */
 }

 /* 상단 부분 */
 .hexagon-wrapper:before {
     transform: rotate(60deg);
 }

 /* 하단 부분 */
 .hexagon-wrapper:after {
     transform: rotate(-60deg);
 }

 /* 중앙 내용 부분 (수평 사각형) */
 .hexagon-content {
     /* 내부 내용이 있는 부분의 배경색을 살짝 밝게 조정하여 테두리 느낌을 시각적으로 구현 */
     background: var(--jh-blue-main);;
     z-index: 2;

     /* 육각형 테두리를 명확하게 보이기 위해 content에 border를 다시 적용 */
     border: none; /* 실선 테두리 */
 }
 /* 텍스트 내용 */
 .hexagon-content:before {
     content: attr(data-text);
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     font-size: 20px;
     font-weight: bold;
     line-height: 1.3;
     color: white;
     background-color: transparent;
 }
@media all and (max-width: 768px) {
  .container {
    width: 95%; /* Make container more flexible on smaller screens */
    padding: 0 15px; /* Add some padding to prevent content from touching edges */
  }

  .main_text_02,
  .main_img {
    width: 100%;
    transform: none; /* Remove transform on mobile */
    left: 0;
    position: relative; /* Change position to relative for better flow */
  }

  #main_bottom {
    width: 100%;
  }

  .copy {
    width: 100%;
    text-align: center;
  }

  #sub_top {
    height: 150px;
    padding-top: 50px;
  }

  .sub_top_txt,
  #sub_con {
    width: 100%;
    padding: 0 15px;
  }

  .sub_top_txt img {
    width: 80%;
  }

  #sub_con {
    margin-top: 20px;
    flex-direction: column; /* Stack columns on smaller screens */
  }

  #sub_page {
    width: 100%;
  }

  #left_menu {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .title {
    text-align: center;
    padding: 20px 0;
  }

  .t_none {
    display: none;
  }
}

@media (max-width: 580px) {

  .main-banner-item {
    float: none;
    width: 95%;
    border: 1px solid #d5d5d5;
    padding: 20px 0;
  }

  .main_text_01 {
    height: 250px;
  }

  .main_text_03 div img {
    width: 80%;
  }

  .main_img {
    height: 250px;
  }

  .m_none {
    display: none;
  }
}
