.pc_see{display: block;}
.m_see{display: none !important;}
a {
  text-decoration: none;
}
a,
a:link,
a:visited,
a:hover,
a:active {
  color:#inherit;
}
li{list-style: none;}
body { 
      margin: 0;
      font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    }

    header {
      width: 100%;
      background: #fff;
      border-bottom: 1px solid #ddd;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1000;
    }

    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 136px;
    }
    .top{max-width: 1200px; text-align: right; font-size: 16px; color:#ADADAD; margin:10px auto 0;}
    .top a,
a:link,
a:visited,
a:hover,
a:active {
  color:inherit;
}
    .logo a {
      font-size: 18px;
      font-weight: 700;
      text-decoration: none;
      color: #111;
    }

    nav ul {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      gap: 0 40px;
    }

    nav ul li {
      position: relative;
    }

    nav ul li a {
      text-decoration: none;
      font-size: 22px;
      font-weight:600;
      color: #2a2a2a;
      padding: 10px 0;
      transition: color 0.3s ease;
      display: block;
    }

    nav ul li a:hover {
      color: #007aff;
    }

    /* 하위 메뉴 (PC) */
    nav ul li ul {
      position: absolute;
      top: 100%;
      left: 0;
      background: #fff;
      border: 1px solid #ddd;
      min-width: 180px;
      margin: 0;
      list-style: none;
      flex-direction: column;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);

      /* 모션 효과 */
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transform: translateY(-10px); /* 위에서 내려오는 느낌 */
      transition: all 0.4s ease;
    }

    nav ul li ul li a {
      padding: 10px 15px;
      font-size: 14px;
      color: #111;
    }

    nav ul li ul li a:hover {
      background: #f5f5f5;
      color: #007aff;
    }

    nav ul li:hover ul {
      max-height: 500px;
      opacity: 1;
      transform: translateY(0); /* 제자리로 슬라이드 */
    }

    /* 모바일 메뉴 토글 */
    .menu-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
    }

    .menu-toggle span {
      width: 25px;
      height: 3px;
      background: #111;
    }
    footer{text-align: center; font-size:16px; color:#ADADAD; font-weight: 500; margin:50px auto;}
     
    @media (max-width: 1024px) {
      nav {
       
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #ddd;
          max-height: 0;
      overflow: hidden;
      opacity: 0;
      transform: translateY(-10px);
      transition: all 0.4s ease;
      }

      nav ul {
        flex-direction: column;
        gap: 0;
      }

      nav ul li {
        border-bottom: 1px solid #eee;
        padding-left:30px;
      }

      nav ul li ul {
        position: static;
        border: none;
        box-shadow: none;
        max-height: 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s ease;
      }

      nav ul li.active > ul {
        max-height: 500px;
        opacity: 1;
        transform: translateY(0);
      }

      .menu-toggle {
        display: flex;
      }

      nav.show {
           max-height: 500px; /* 충분히 크게 */
      opacity: 1;
      transform: translateY(0);
      }
       .logo a {
     width:70%;
    }
  }




  /* 📺 반응형 미니 유튜브 영상 위치 및 스타일 */
.mini-video {
  position: fixed;
  bottom: 20px;     /* 화면 하단에서 20px 띄움 */
  right: 20px;      /* 화면 오른쪽에서 20px 띄움 */
  width: 260px;     /* 기본 크기 */
  aspect-ratio: 16 / 9; /* 비율 유지 */
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: all 0.4s ease;
}
.mini-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  background: rgba(0,0,0,0.6);
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: none; /* PC에서는 숨김 */
  cursor: pointer;
}
iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 🔹 버튼 스타일 */
.expand-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 12px;
  padding: 4px 8px;
  cursor: pointer;
  border-radius: 6px;
  z-index: 10000;
}

/* 🔹 확대 모드 (중앙 배치) */
.mini-video.fullscreen {
  width: 80vw;
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  bottom: 50%;
  right: 50%;
  transform: translate(50%, 50%);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}

/* 🔹 반응형: 태블릿 크기 */
@media (max-width: 1024px) {
  .mini-video {
    width: 200px;
    bottom: 100px;
    right: 15px;
  }
}

/* 🔹 반응형: 모바일 크기 */
@media (max-width: 768px) {
  .mini-video {
    width: 180px;
    bottom: 12px;
    right: 12px;
  }

  .mini-video.fullscreen {
    width: 95vw;
    aspect-ratio: 16 / 9;
    bottom: 50%;
    right: 50%;
    transform: translate(50%, 50%);
    border-radius: 10px;
  }
  
}


 .key{margin-top:136px; z-index: 99; position:relative; width:100%; height:600px; background: url('https://ecimg.cafe24img.com/pg134b40258762027/chingchingdesign/npemc/key.jpg') no-repeat center/cover;}
  .spin-wrap {
    position: relative;
    left:58%;
    top:6%;
    width: 40vw;
    height: 40vw;
    max-width: 630px;
    max-height: 630px;
  }
  .tit{  position: absolute;
    top: 39%;
    left: 40%;
    transform: translate(-50%, -50%);
    text-align: center;}

.spin-bg img {
  width: 90%;
  height: auto;
  transform-origin: center center;
  animation: rotate 20s linear infinite;
  transform-origin: 45% 45%;
  transform-box: fill-box; 
}

  /* .spin-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://ecimg.cafe24img.com/pg134b40258762027/chingchingdesign/npemc/ooo.png') no-repeat center/cover;
    animation: rotate 20s linear infinite;
    transform-origin: 45% 45%;
    transform-box: fill-box;
    will-change: transform;
   } */
  @keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }

  @media (prefers-reduced-motion: reduce) {
    .spin-bg { animation: none; }
  }
   

  .sub_key{background:url('../img/sub_key.jpg') no-repeat; margin-top:136px; height:250px; text-align:center; font-size: 40px; line-height: 240px; font-weight:900; color: #fff;}
  .sub_key_02{background:url('../img/sub_key_02.jpg') no-repeat; margin-top:136px; height:250px; text-align:center; font-size: 40px; line-height: 240px; font-weight:900; color: #fff;}
  .sub_key_03{background:url('../img/sub_key_03.jpg') no-repeat; margin-top:136px; height:250px; text-align:center; font-size: 40px; line-height: 240px; font-weight:900; color: #fff;}
  
  .sub_body{font-size: 20px; line-height: 36px; color: #666; font-weight:400; text-align: center; margin-top:80px;}
  .logo{width: fit-content;}
  .pd_body{margin: 80px auto; }
/* 처음엔 숨김 */
.pd_body .pd ul {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease;
}

/* 보이게 할 클래스 */
.pd_body .pd ul.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  justify-content: center;
}

  .pd_body .pd li{width:250px; height:338px; margin-right:20px; font-size:22px; font-weight: 800; list-style: none;}
  .pd_body .pd li:last-child{width:250px; margin-right:0; }
  .pd_body .pd .p8{width:520px !important; margin-right:0; }
  .pd_body .p1{position:relative; background:url('../img/p1.png') no-repeat;  }
  .pd_body .p2{position:relative; background:url('../img/p2.png') no-repeat;  }
  .pd_body .p3{position:relative; background:url('../img/p3.png') no-repeat;  }
  .pd_body .p4{position:relative; background:url('../img/p4.png') no-repeat;  }
  .pd_body .p5{position:relative; background:url('../img/p5.png') no-repeat;  }
  .pd_body .p6{position:relative; background:url('../img/p6.png') no-repeat;  }
  .pd_body .p7{position:relative; background:url('../img/p7.png') no-repeat;  }
  .pd_body .p8{position:relative; background:url('../img/p8.png') no-repeat;  }
  .pd_body p{position: absolute; top:0; left:20px; color:#252523;}
  .pd_body a {display: block; }
.p1 a, .p2 a, .p3 a, .p4 a, .p5 a, .p6 a, .p7 a, .p8 a {
  display: block; 
  width: 100%; 
  height: 100%;
}

  .p_name{font-size: 32px !important; font-weight: 700 !important; color:#252523 !important; margin:0 0 70px; }
  .p_name2{font-size: 32px !important; font-weight: 700 !important; color:#252523 !important; margin:20px 0 0; }
  .p_sub_name{font-family:Abril Fatface; font-size: 25px;  color:#666; margin:10px 0 30px; }
  .p_sub_name66{font-size: 66px; align-items: baseline;}
  .p_sub_name33{font-family:Abril Fatface;  color:#666; margin:10px 0 50px;font-size: 33px; align-items: baseline;}  
  .p_sub_name25{font-family:Abril Fatface;  color:#666; margin:10px 0 50px;font-size: 25px; align-items: baseline;}  
  .bot30{margin-bottom: 30px !important; }
  .top_30{margin-top: -30px !important; }
  .blue{color: #3B68B0;}
  .tag{color:#fff; background: #252523; padding:3px 20px; width:10%; height: 25px; border-radius: 5px; font-size: 14px; font-weight: 300; margin-right: 30px; text-align: center;}
  .txt{width:90%; margin-top:16px;}
.popupOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.popupBox {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 820px;
}
.popupBox ul{ display: flex;  flex-direction: row; align-items: center;}
.popupBox2 {
  position: relative;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: 100%;
  max-width: 820px;
}
.popupBox2 ul{ display: flex;  flex-direction: column;  }
.pop_right{}
.pop_right ul{display: flex; flex-direction: column; align-items: flex-start; }
.pop_right li{ display: flex; width:100%; margin-bottom:20px; color:#666; font-size:20px; line-height: 26px; font-weight:400; }
.pop_right li:nth-child(3){margin-top:-30px;}
.pop_right2{margin-left: -36px;}
.pop_right2 ul{display: flex; flex-direction: column;  }
.pop_right2 li{ display: flex; color:#666; font-size:20px; line-height: 26px; font-weight:400; }
.pop_right2 li:nth-child(3){margin-top:-30px;}
.popupClose {
  position:absolute;
  right:20px;
  top: 10px;
  padding: 10px 20px;
  float:right;
  background: none;
  border: none;
  font-size: 20px;
}


/* 부드러운 등장 효과 */
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.image-zoom {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.image-zoom img {
  width: 250px;
  height: auto;
  transition: transform 0.5s ease-out;
  transform-origin: center center;
}
.image-zoom .img_b{
  width: 750px;
  height: auto;
  transition: transform 0.5s ease-out;
  transform-origin: center center;
}
.sub_body iframe {
  width: 100%;
  max-width: 755px; /* PC에서 최대 600px */
  height: 443px;
}

/* PC에서 가운데 정렬 */
@media (min-width: 1024px) {
  .sub_body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
}
.info{font-size: 20px; line-height: 36px; color: #000; font-weight:600; }
.sub_body2{font-size: 20px; line-height: 36px; color: #666; font-weight:400; text-align: center; width:100%; max-width:756px; margin: auto; }
.sub_body2 ul{display:flex; flex-direction: row;  justify-content: space-between;  margin-left: -30px; text-align: left;}
.time ul{display:flex; flex-direction: column;}
.map ul{display:flex; flex-direction: row; justify-content: flex-start; margin-top:20px; }
.map img{width:80%; margin-right: 10px;}
 @media (max-width: 768px) {
      .pc_see{display: none !important;}
      .m_see{display: block !important;}
      nav{top:100px;}
      nav ul li a{font-size: 1.2rem;}
      .logo img{width:80%;}
      .header-inner{height: 100px;}
      footer{margin:50px auto !important;}
      .spin-wrap {
        width: 90vw;
        height: 90vw;
        left: 55%;
        top: 15%;
        transform: translateX(-50%);
      }
      .tit img{width:64%}
      .key{margin-top:100px; z-index: 99; position:relative; width:100%; height:600px; background: url('/new/img/m/key.jpg') no-repeat; background-size: 100% auto;}
      .sub_key{font-size: 1.8rem; line-height: 8.8rem; height:150px; margin-top:100px;}
      .sub_key_02{font-size: 1.8rem; line-height: 8.8rem; height:150px; margin-top:100px;}
      .sub_key_03{font-size: 1.8rem; line-height: 8.8rem; height:150px; margin-top:100px;}
      .sub_body{padding:0 20px; font-size: 1rem; line-height: 1.5rem; margin-top:50px;}
      .sub_body .logo{width:60%;}
      .sub_body2{padding:0 20px; font-size: 1rem; line-height: 1.5rem; max-width:fit-content;}
      .sub_body2 ul{flex-direction: column;}
      .pd_body .pd ul.show{margin-left:-20px;}
      .pd_body .pd li{font-size: 1rem; width:74%; height: 250px; margin-right: 20px;}
      .pd_body .pd li:last-child{font-size: 1rem; width:74%; height: 250px; margin-right: 20px;}
      .pd_body p{left:10px;}
      .pd_body .p1,
      .pd_body .p2,
      .pd_body .p3,
      .pd_body .p4,
      .pd_body .p5,
      .pd_body .p6,
      .pd_body .p7,
      .pd_body .p8{background-size: 100% auto;}
      #popup_p1,
      #popup_p2,
      #popup_p3,
      #popup_p4,
      #popup_p5,
      #popup_p6,
      #popup_p7,
      #popup_p8 {
        width: 100%;
        height: 100dvh;
        margin-top:0;
        margin-bottom:100px;
      }
      .popupBox{ width: 90%; padding: 0; max-height: 500px; overflow-y: auto;  margin-top: 0; }
      .popupBox ul{ margin-left: -40px; flex-direction: column; align-items:normal;}
      .popupBox2{ width: 90%; padding: 0; max-height: 500px; overflow-y: auto;  margin-top: 0; }
      .popupBox2 ul{margin-left:-10px;}
      .popupBox2 img{width:90%; text-align: center;}
      .popupOverlay{position: fixed;   top: 0;
    left: 0;
    width: 100%;
    height: 100%;    /* 화면 전체 덮기 */
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none; /* 중앙정렬은 popupBox에 맡기기 */}  
      .image-zoom{text-align: center;}
      .image-zoom img{width:50%; text-align: center;}
      .image-zoom .img_b{width:100% !important; margin-left:-40px;}
      .tag{width: 8%; margin-right: 10px; margin-top:0; padding:3px 28px 3px 12px;}
      .txt{margin-top:0; width:100%;}
      .p_name{font-size: 1.2rem !important; margin:10px 0 20px;  white-space: nowrap;  width: 100%;}
      .popupClose{z-index: 999;}
      .pop_right{padding: 0 20px;  }
      .pop_right li{  width: 100%; font-size: 1rem; margin-bottom:10px; }
      .pop_right li:nth-child(3){ margin-top: -20px;}
      .pop_right li:nth-child(4){ margin-top: -20px !important;}
      .pop_right2{padding: 0 20px;  }
      .pop_right2 li{flex-direction: column; width: 100%; font-size: 1rem; margin-left:-20px;}
      .info{font-size: 1rem;}
      .map ul{flex-direction: row !important;}
      .map img{width:60%;}
      .btn_consul{background: #252523; color: #fff; font-size: 1rem; padding:15px 20px; border-radius: 5px; width:70%; text-align: center; margin-top:10px; margin-left:20px;}
      
    }