    /* reset */
    * { margin:0; padding:0; box-sizing:border-box; }
    html, body {
      width:100%; height:100%;
      overflow-x:hidden;
      font-family: 'Nanum Gothic', sans-serif;
    }

    /* 진행바(위에서 4px) */
    #progressContainer {
      position: fixed; top:0; left:0; width:100%; height:4px;
      background: rgba(0,0,0,0.1);
      z-index:9999;
    }
    #progressBar {
      width:0%; height:100%;
      background: #f66;
      transition: width 0.2s linear;
    }

    /* 맨위로 버튼 */
    #backToTop {
      position: fixed; right:20px; bottom:20px;
      width:40px; height:40px; line-height:40px;
      text-align:center; background:rgba(0,0,0,0.5);
      color:#fff; cursor:pointer; border-radius:50%;
      display:none; z-index:9999;
      transition: background 0.3s;
    }
    #backToTop:hover { background:rgba(0,0,0,0.8); }

    /* 상단 컨테이너 */
    .top_con_zone { position:relative; }

    /* 상단 고정 메뉴 */
    .top_fix_zone {
      position:fixed; top:0; left:0; width:100%; height:60px;
      background: rgba(0,0,0,0.6);
      display:flex; align-items:center; justify-content:center;
      z-index:999;
      transition: background 0.3s;
    }
    .top_bar_fix {
      background: rgba(0,0,0,0.9) !important;
    }
    #topmenu {
      width:1200px; max-width:100%;
      display:flex; align-items:center; justify-content:space-between;
      color:#fff;
    }
    #logo {
      font-size:24px; font-weight:bold;
      color:#fff;
    }

    /* 토글 체크박스는 숨김 */
    #toggle {
      display: none;
    }

    /* 라벨(햄버거 버튼)은 기본적으로 숨김 -> 모바일에서만 보이도록 */
    label[for="toggle"] {
      display: none;
    }

    /* 기본 네비게이션(PC화면) 설정 */
    #nav {
      display: flex;
      gap: 20px;
    }
    #nav li { list-style:none; }
    #nav li a {
      color:#fff; text-decoration:none;
      font-size:16px; font-weight:bold;
      padding:10px; transition:color 0.2s;
    }
    #nav li a:hover { color:#f66; }
/* page05 */
#page05 {
  background: #f4f4f4;
  padding: 80px 0;
  max-width: 1200px;   /* 섹션 최대폭 */
  margin: 0 auto;      /* 가운데 배치 */
  width: 100%;         /* 모바일에서는 100% 차지 */
}

#page05 .title {
  text-align: center;   /* 가운데 정렬 */
  margin-bottom: 20px;  /* 아래쪽 간격 20px */
}

/* 부제목(span)을 줄바꿈‧간격 조정하고 싶을 때 */
#page05 .title span {
  display: block;       /* 별도 줄로 내려쓰기 */
  margin-top: 6px;      /* 제목과 살짝 간격 */
  font-size: 0.9em;     /* 필요 시 크기 조절 */
}

/* 갤러리 래퍼 */
#page05 .gallery {
  width: 100%;         
  max-width: 100%;

  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* 카드(figure) */
#page05 .gallery figure {
  width: 280px;
  /* === 핵심 수정 === */
  display: flex;             /* 세로플렉스 */
  flex-direction: column;    /* 이미지 위, 캡션 아래 */
  height: 340px;             /* 카드 전체 높이를 고정(필요에 맞게 조정) */
  /* ================= */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

#page05 .gallery figure:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 2px 4px 12px rgba(0,0,0,0.15);
}

/* 이미지 */
#page05 .gallery figure img {
  width: 100%;
  height: 220px;          /* 이미지 높이를 고정(필요에 맞게 조정) */
  object-fit: cover;      /* 잘려도 비율 유지하며 꽉 차게 */
  flex: 0 0 auto;         /* 높이 고정 후 flex 항목으로 취급 */
  display: block;
}

/* 캡션 */
#page05 .gallery figure figcaption {
  flex: 1 0 auto;         /* 남은 공간을 차지하되 고정 위치 유지 */
  padding: 12px 8px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  color: #333;
  display: flex;          /* 세로 가운데 정렬용 */
  align-items: center;
  justify-content: center;
}


    /* 모바일에서(768px 이하) 햄버거 버튼 노출 + 메뉴 숨김 후 토글 체크 시 표시 */
    @media all and (max-width:768px) {
      label[for="toggle"] {
        display:inline-block;  /* 모바일에서 보이도록 */
        cursor:pointer; 
        font-size:30px;
        margin-right:10px;
      }
      /* 기본적으로 nav는 안 보이도록 처리 */
      #nav {
        display:none;
        position:absolute; top:60px; left:0; right:0;
        background:rgba(0,0,0,0.8);
        flex-direction:column;
        align-items:center;
      }
      /* 체크박스가 체크되었을 때 보이게 */
      #toggle:checked ~ #nav {
        display:flex;
      }
    }

    /* 고정메뉴 적용 후 내용 밀림 방지용 클래스 */
    .pd_top_100 {
      padding-top: 60px; /* 필요하면 값 조정 */
    }

    /* Hero 영역 page00 */
    #page00 {
      position:relative;
      width:100%; height:100vh;
      background:url('/imgs/img4.jpg') center/cover no-repeat;
      display:flex; align-items:center; justify-content:center;
      text-align:center; color:#fff;
      overflow:hidden;
      background-attachment: fixed; /* 패럴랙스 효과 */
    }
    #page00 .main_text h2 {
      font-size:60px; font-weight:bold;
      margin-bottom:15px;
      opacity:0; transform:translateY(20px);
      transition:1s;
    }
    #page00 .main_text h2.show {
      opacity:1; transform:translateY(0);
    }
    #page00 .main_text h2 span {
      display:block; font-size:24px; margin-bottom:10px;
    }
    #page00 .main_text {
      perspective:1000px;
      transition: transform 0.3s;
    }
    #page00 .main_text:hover {
      transform: rotateY(5deg) rotateX(5deg);
    }

    /* page01 */
    #page01 {
      padding:80px 0; background:#fafafa;
    }
    #page01 .title {
      text-align:center; margin-bottom:40px;
    }
    #page01 .services {
      width:1200px; max-width:95%; margin:0 auto;
      display:flex; flex-wrap:wrap; gap:30px;
      justify-content:center;
    }
    #page01 figure {
      width:270px; background:#fff;
      border:1px solid #ccc; border-radius:6px;
      box-shadow:2px 2px 8px rgba(0,0,0,0.1);
      text-align:center; padding:20px;
      transition: transform 0.3s;
    }
    #page01 figure:hover {
      transform:translateY(-6px) scale(1.02);
      box-shadow:2px 4px 12px rgba(0,0,0,0.15);
    }
    #page01 figure h3 {
      font-size:20px; margin-bottom:10px;
    }
    #page01 figure .bar {
      width:60px; height:3px; background:#666; margin:0 auto 15px auto;
    }
    #page01 figure i {
      font-size:50px; color:#f66; margin:10px 0;
    }
    #page01 figure h4 {
      font-size:16px; color:#333; line-height:1.4; margin-top:10px;
    }
    #page01 figure h4 span {
      display:block; font-size:14px; color:#666; margin-top:5px;
    }

    /* page02 (수평 슬라이드) */
    #page02 {
      padding:40px 0;
      background:#f4f4f4;
    }
    #page02 .title {
      text-align:center; margin-bottom:20px;
    }
    .slider-container {
      position: relative;
      overflow: hidden;
      width: 1200px;  /* 최대 너비 설정 */
      max-width: 95%;
      margin: 0 auto;
      height: 500px;  /* 슬라이드 높이(원하는 만큼 조절) */
    }
    #sliderWrapper {
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%;
      height: 100%;
    }
    .slide {
      width: 100%;
      flex-shrink: 0;
      text-align: center;
    }
    .slide img {
      max-width: 100%;
      max-height: 100%;
      height: auto;
      vertical-align: middle;
    }
    /* 슬라이드 버튼 */
    .slider-container button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 10;
      background: rgba(0,0,0,0.3);
      color: #fff;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      font-weight: bold;
    }
    .slider-container button:hover {
      background: rgba(0,0,0,0.5);
    }
    .slider-container button:nth-of-type(1) {
      left: 10px;
    }
    .slider-container button:nth-of-type(2) {
      right: 10px;
    }
    /* 점(dot) 스타일 */
    #dots {
      text-align: center;
      margin-top: 15px;
    }
    .dot {
      display: inline-block;
      width: 12px; height: 12px;
      margin: 0 5px;
      background-color: #ccc;
      border-radius: 50%;
      cursor: pointer;
    }
    .dot.active {
      background-color: #f66;
    }

    /* page03 */
    #page03 {
      background:#fafafa;
      padding:80px 0;
    }
    #page03 .title {
      text-align:center; margin-bottom:40px;
    }
    #page03 .banner {
      width:1200px; max-width:95%; margin:0 auto;
      display:flex; flex-wrap:wrap; gap:20px; justify-content:center;
    }
    #page03 .banner figure {
      width:280px; background:#fff; padding:20px;
      border:1px solid #ddd; border-radius:6px;
      text-align:center;
      transition:transform 0.3s;
    }
    #page03 .banner figure:hover {
      transform:scale(1.03);
      box-shadow:2px 4px 12px rgba(0,0,0,0.15);
    }
    #page03 .banner figure h3 {
      font-size:18px; margin-bottom:10px;
    }
    #page03 .banner figure .bar {
      width:40px; height:3px; background:#f66; margin:0 auto 10px auto;
    }
    #page03 .banner figure .normal {
      font-size:14px; line-height:1.4; color:#333;
    }

    /* page04 */
    #page04 {
	  max-width: 1200px;  
	  margin: 0 auto;      
	  width: 100%;         
      padding:60px 0; background:#fff;
    }
	/* ===== page04 공통 ===== */
#page04 {           /* 배경·여백은 필요 시 조정 */
  background:#fafafa;
  padding:80px 0;
}

#page04 .title {    /* 이미 있던 규칙 + 깔끔한 여백만 유지 */
  text-align:center;
  margin-bottom:20px;
}

/* 컨테이너 */
#page04 .page04_con{
  width:1200px;     /* 최대폭 */
  max-width:95%;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;   /* 작은 화면에서 자동 줄바꿈 */
  gap:40px;         /* 양쪽 사이 간격 */
  align-items:flex-start; /* 높이 기준선 맞추기 */
}

/* 지도 영역 */
.page04_map{
  flex:1 1 50%;     /* 기본 가로 50% 비율, 줄어들면 자동 줄바꿈 */
  min-width:300px;  /* 너무 좁아지지 않도록 */
}
.page04_map iframe{
  width:100%;
  height:100%;
  min-height:450px; /* 모바일에서 높이 확보 */
  border:0;
}

/* 우측(텍스트+폼) 영역 */
.page04_text{
  flex:1 1 50%;
  min-width:300px;
  display:flex;
  flex-direction:column;
}
.page04_text h3{
  font-size:24px;
  margin:0 0 16px;
}
.page04_text h3 span{
  font-size:16px;
  color:#777;
}

/* 본문 단락 */
.page04_text .normal{
  line-height:1.6;
  color:#333;
  margin-bottom:24px;
}

/* ===== 폼 레이아웃 ===== */
.from_con{
  margin-bottom:18px;
}
.from_con .from_title,
.from_con .from_title1{
  font-weight:bold;
  margin-bottom:6px;
}
.from_con .from_title1{     /* “문의내용” 타이틀 강조 */
  text-align:center;
  color:#f66;
}

.from_con input[type="text"],
.from_con textarea{
  width:100%;                /* 박스폭 100% */
  padding:10px;
  border:1px solid #ccc;
  
  border-radius:4px;
  font-size:14px;
  resize:vertical;           /* textarea 세로만 리사이즈 */
}

#from_button{
  text-align:center;         /* 버튼 가운데 */
}
#from_button input[type="submit"]{
  cursor:pointer;
  padding:12px 28px;
  border:none;
  border-radius:4px;
  background:#f66;
  color:#fff;
  font-weight:bold;
  transition:background 0.3s;
}
#from_button input[type="submit"]:hover{
  background:#d55;
}
/* ===== 문의내용 텍스트 영역 폭/높이 통일 ===== */
#page04 textarea[name="ol_memo"]{   /* 또는 #page04 .page04_text textarea */
  width:100%;            /* input 필드와 동일하게 열 전체 사용 */
  max-width:100%;       /* 다른 텍스트 필드와 같은 상한(필요 없으면 제거) */
  min-height:160px;      /* 넉넉한 기본 높이 */
  padding:10px;
  border:1px solid #ccc;
  border-radius:4px;
  font-size:14px;
  box-sizing:border-box; /* 패딩 포함해 100 % 계산 */
  resize:vertical;       /* 세로 방향만 크기 조절 허용 */
}

/* ===== "문의내용" 라벨 ===== */
.from_title1{
  display:block;
  width:100%;
  font-weight:bold;
  margin-bottom:6px;
  text-align:left;       /* 가운데 정렬하려면 center */
  color:#f66;
  font-size:16px;
}








/* ===== 반응형 (태블릿/모바일) ===== */
@media (max-width: 768px){
  #page04 .page04_con{
    flex-direction:column;   /* 위–아래 스택 */
    gap:24px;
  }
  .page04_map iframe{
    min-height:320px;
  }
}


    .copy {
      padding:20px; text-align:center; font-size:12px; color:#999; background:#f4f4f4;
    }

    /* fadeIn + show */
    .fadeIn { opacity:0; transform:translateY(30px); transition: all 0.7s; }
    .fadeIn.show { opacity:1; transform:translateY(0); }
	
	
	
	
/* =======================
   #page06 섹션 기본 스타일
   ======================= */

#page06 {
  width: 100%;
  background: #fff; /* 필요 시 수정 */
  padding: 80px 0; /* 상하 여백 */
}

/* ---- 컨테이너 (PC에서 1200px, 높이 500px 고정) ---- */
#page06 .fly-container {
  width: 1200px;
  max-width: 95%;
  height: 500px;   /* PC에서는 고정 높이 */
  margin: 0 auto;
  display: flex;
  gap: 20px;
}

/* 왼쪽 6 */
#page06 .left-fly {
  flex: 0 0 60%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* 오른쪽 4 (안에 top-fly, bottom-fly = 각 50%) */
#page06 .right-fly {
  flex: 0 0 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#page06 .top-fly,
#page06 .bottom-fly {
  flex: 1;
  position: relative;
  overflow: hidden;
}

/* =======================
   이미지 공통 스타일
   ======================= */
#page06 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 넘치는 부분은 자르고 비율 유지 */
  display: block;
  margin: 0;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  transition: filter 0.4s; /* 호버 시 어두워지는 애니메이션 */
}

/* 호버 래퍼(hoverWrap) : 텍스트 오버레이를 위해 position relative */
.hoverWrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* 호버시 이미지 어둡게(밝기 70%) */
.hoverWrap:hover img {
  filter: brightness(0.7);
}

/* 오버레이 박스(전체 덮음) */
.hoverTextBox {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* 공통 텍스트 스타일 */
.hoverTextBox .text1,
.hoverTextBox .text2 {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  white-space: nowrap;
  transition: transform 0.4s, opacity 0.4s;
}

/* text1 : 기본 중앙 위치 */
.hoverTextBox .text1 {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* text2 : 초기 투명 + 아래쪽 */
.hoverTextBox .text2 {
  opacity: 0;
  transform: translate(-50%, 120%);
}

/* 호버(또는 터치) 시 text1 위로 사라지고 text2 중앙으로 */
.hoverWrap:hover .text1 {
  transform: translate(-50%, -150%);
  opacity: 0;
}
.hoverWrap:hover .text2 {
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* ==============================
   슬라이드(날아오는) 효과 관련
   ============================== */
.slide-item {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.8s ease;
}

/* 왼쪽에서 날아오는 효과 */
.slide-left {
  transform: translateX(-100%);
}

/* 오른쪽에서 날아오는 효과 */
.slide-right {
  transform: translateX(100%);
}

/* 나타날 때 적용할 클래스 */
.slide-in {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================
   반응형 (768px 이하)
   =========================== */
@media (max-width: 768px) {
  #page06 .fly-container {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto; /* 고정 높이 해제 */
  }

  /* 왼쪽·오른쪽 영역도 자동 높이 */
  #page06 .left-fly,
  #page06 .right-fly {
    flex: none;
    width: 100%;
    height: auto;
  }

  #page06 .top-fly,
  #page06 .bottom-fly {
    flex: none;
    height: auto;
  }

  /* ★ 이미지 높이를 auto로 변경 → 원본 비율로 표시 ★ */
  #page06 img {
    width: 100%;
    height: auto !important; /* PC용 height:100%를 모바일에서 덮어쓰기 */
  }
}
