
.text-st .circleimg {
  position: absolute;
  top: 38%;
  right: 15%;
  transform: translate(0, -50%);
  width: 350px;
  opacity:0.85;
}
.text-st .text-darkgray {
      font-size: 0.8rem;
}
.text-st .text-darkgray em{
  font-style:normal;
  font-size: 1rem;
}
/* 이미지 자체를 Z축 기준으로 무한 회전 */
.text-st .circleimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  animation: spinZ 20s linear infinite;
  transform-origin: center center;
}

@keyframes spinZ {
  from { transform: rotateZ(0deg); }
  to   { transform: rotateZ(360deg); }
}

.bg-img.none {opacity:0.6; }
.bg-img.none::before {display:none;}

.overflow-none {overflow:initial;}
.bg-circle1 {    position: absolute;
    width: 30vw;
    height: 30vw;
    border-radius: 100%;
    background: #ededed;
    bottom: -8vw;
    left: -5vw;
    opacity: 0.35;
    filter: blur(0px);
    z-index: -2;}
.bg-glogo {position:absolute; z-index:-2;  filter:grayscale(1); opacity:0.05; width:400px; bottom:-8%; left:35%;}

@media (max-width:1200px) {
	.first-sec {padding-bottom:17rem;}
	.text-st .circleimg {width:45vw; top:initial; bottom:7%; right:5%; transform:none; z-index:-100;}
}

.meaning {position:relative;}
.meaning {display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:2rem;}
.meaning.grid1{
  grid-template-columns:1fr;margin-top:0rem;
}
.meaning.grid1 .small{
  display: flex;justify-content: center;
  align-items: center;gap:0.4rem;
}
.meaning.grid1 span{
  color:#bdbdbd;
      font-size: 1.6rem;
}
.meaning .small {box-shadow:0px 60px 200px rgba(33,181,255,0.5); padding:1.4rem 2rem; border-radius:1rem; text-align:center; height:90px;}
.meaning .small span {color:#c7c7c7; font-weight:700;}
.meaning.peternet .small span {display:inline-block; width:100px; height:10px;}
.meaning.peternet .small p {margin-top:-10px;}
.meaningbox h3 {margin-bottom:1rem; font-size:1.6rem; color:#9b9b9b; text-align:center;}
.meaningbox h3 span {font-size:1.2rem; font-weight:500;}
.logobox {border:0px solid #ddd; border-radius:1rem; text-align:center; padding:3rem; width:100%; height:150px; margin:2rem auto;display: flex;justify-content: center;align-items: center;}
.logobox img {max-width:250px; max-height:80px;}

.org-container {display:grid; grid-template-columns:1fr 1fr 1fr; gap:2rem;}
.org-container .one {position:relative; box-shadow:0 20px 100px rgba(0,0,0,0.035); padding:2rem; height:450px; position:relative; overflow:hidden;border-radius:1rem;}
.org-container .one:before {content:''; position:absolute; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.32); z-index:2;}
.org-container .one .img img {z-index:1; position:absolute; top:50%; left:50%; transform:translate(-50%,-48%); width:auto; height:120%; transition:all .3s;}
.org-container .one:hover .img img {height:130%; transition:all .3s;}
.org-container .one .txt {z-index:3;position:absolute; bottom:10%; left:10%; width:80%; border-radius:1rem;}
.org-container .one .title {font-size:2rem; font-weight:700; margin-bottom:0.5rem; color:#fff;}
.org-container .one .txt span {font-size:1.2rem; font-weight:500; color:#fff;}

@media (max-width:1200px) {
	.meaningbox h3 span {display:block; margin-top:1rem;}
	.meaning .small {height:initial; padding:1.5rem;}
	.meaning .small p {margin-top:0.5rem;}

	/* .logobox {height:initial; margin:0 auto;} */
	.logobox img {max-width:40vw;}

	.org-container {grid-template-columns:1fr;}
	.org-container .one {height:350px;}
}

/* 기존 연혁 스타일 */
.his_box {border-top:1px solid #444; padding-top:1.25rem; display:grid; grid-template-columns:0.45fr 0.55fr; color:#fff;}
.his_tit {font-size:2.2rem; font-weight:700; text-align:left;}
.his_cont_line {display:grid; grid-template-columns:0.8fr 0.2fr; margin-bottom:1.25rem; font-weight:700; font-size:1.5rem; border-bottom:1px solid #444; padding-bottom:1.25rem; position:relative; line-height:1.4;}
.his_cont {position:relative; text-align:left;}
.history-content p {font-size:1rem !important;}
.history-content p:nth-of-type(1) {margin-top:5px !important;}
.his_date {text-align:right; color:#777;  font-size:1.35rem;}
.his_box .his_line .his_cont_line:last-child {border:0; margin:0;}
.his_admin_check {position:absolute; left:-30px; top:50%; transform:translateY(-50%); font-size:0.8rem; color:#999;}
.his_admin_edit_below {position:absolute; left:0; top:100%; margin-top:5px; font-size:0.8rem;}
.his_admin_edit_below a {color:#e41d1d; text-decoration:none;}
.his_admin_edit_below a:hover {text-decoration:underline;}
.btnstyle {display:inline-block; height:38px; line-height:35px; padding:0 15px !important; vertical-align:middle;}

/* 레이어 팝업 스타일 */
.his_layer_popup {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:10000;}
.his_layer_content {position:absolute; bottom:5%; left:50%; transform:translate(-50%, 0); background:white; border-radius:8px; padding:30px; max-width:500px; width:90%; height:550px; max-height:80vh; overflow-y:auto; box-shadow:0 20px 40px rgba(0,0,0,0.1);}
.his_layer_header {margin-bottom:20px; padding-bottom:15px; border-bottom:2px solid #007bff;}
.his_layer_header h3 {margin:0 !important; color:#007bff !important; font-size:20px !important;}
.his_close_btn {position:absolute; top:15px; right:20px; background:none; border:none; font-size:24px; cursor:pointer; color:#999;}
.his_close_btn:hover {color:#333;}
.his_form_group {margin-bottom:15px;}
.his_form_group label {display:block; margin-bottom:5px; font-weight:bold; color:#333;}
.his_form_control {width:100%; padding:8px 12px; border:1px solid #ddd; border-radius:4px; font-size:14px; box-sizing:border-box;}
.his_form_control:focus {border-color:#007bff; outline:none;}
textarea.his_form_control {height:120px; resize:vertical;}
.his_btn_group {text-align:center; margin-top:20px; padding-top:15px; border-top:1px solid #eee;}
.his_btn {display:inline-block; padding:10px 20px; margin:0 5px; border:none; border-radius:4px; cursor:pointer; font-size:14px;}
.his_btn_primary {background:#007bff; color:white;}
.his_btn_primary:hover {background:#0056b3;}
.his_btn_secondary {background:#6c757d; color:white;}
.his_btn_secondary:hover {background:#545b62;}
.group_info {font-size:0.9rem; color:gray;}

/* 로딩 스타일 */
.loading {text-align:center; color:#666;}

/* 게시판 공통 스타일 */
.bo_fx {margin-bottom:5px; zoom:1;}
.bo_fx:after {display:block; visibility:hidden; clear:both; content:"";}
.bo_fx ul {margin:0; padding:0; list-style:none;}
.btn_bo_user {float:right; margin:0; padding:0; list-style:none;}
.btn_bo_user li {float:left; margin-left:5px;}
.btn_bo_adm {float:left;}
.btn_bo_adm li {float:left; margin-right:5px;}
.btn_bo_adm button {padding:8px; border:0; background:#e8180c; color:#fff; text-decoration:none; vertical-align:middle; border-radius:3px; cursor:pointer;}
.btn_bo_user button {padding:8px 15px; border:0; background:#007bff; color:#fff; text-decoration:none; vertical-align:middle; border-radius:3px; cursor:pointer;}

@media (max-width:1200px) {
	.his_admin_edit_below { top:110%; right:0; left:initial;}
	.his_box {grid-template-columns:1fr; border:0; padding-top:0; }
	.his_tit {margin:2rem 0; font-size:2rem;}
	.his_line {margin-left:2rem;}
	.his_cont_line {grid-template-columns:1fr; padding-bottom:1rem; margin-bottom:1rem; font-size:1.2rem;}
	.his_cont {margin-bottom:0.5rem;}
	.his_date {text-align:left; font-size:1.1rem;}
	.his_box .his_line .his_cont_line:last-child {border-bottom:1px solid #444;}
	.his_box:first-child .his_tit {margin-top:0;}
}


/*map*/
.location-section { }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.map-container {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #86868b;
  position: relative;
  flex-direction: column;
}

.locations-list {
  display: grid;
  gap: 1.5rem;
}

.location-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e5e5e7;
  transition: all 0.3s ease;
  position: relative;
}

.location-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.location-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-name::before {
  content: '●';
  font-size: 0.8rem;
  color: var(--point-color);
}

.location-address {
  font-size: 1rem;
  color: #86868b;
  line-height: 1.5;
  font-weight: 400;
}

.gmap {border:0;}

/* 지도 표시 관련 스타일 */
.map1, .map2, .map3, .map4 {
  display: none;
  width: 100%;
  height: 100%;
}

.map1.active, .map2.active, .map3.active, .map4.active{
  display: block;
}

.map1 iframe, .map2 iframe, .map3 iframe, .map4 iframe {
  width: 100%;
  height: 612px;
  border-radius: 12px;
}

.location-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-card.active {
  background: var(--point-color);
  color: white;
}

.location-card.active .location-name,.location-card.active .location-name:before,
.location-card.active .location-address {
  color: white;
}

/* 전경보기 버튼 스타일 */
.view-btn {
  background: var(--point-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: auto;
  white-space: nowrap;
}

.location-card.active .view-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

/* 전경보기 모달 스타일 */
.location-modal{
  display: inline-flex;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.popup_area{
  visibility:hidden;
  opacity: 0;
  display: inline-flex;
}

/* 팝업 */
#popup_view_videos_more,
#popup_view_videos_more_jw{
  max-width:80vw !important; max-height:90vh !important;
}
#popup_view_videos_more video{
  width:100%;height:100%;
  border-radius: 12px;
  object-fit: cover;
}
#popup_view_photos_more,
#popup_view_videos_more{
      display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}
/* #popup_view_photos_more .swiper-container
 {
  width: 50vw;
  position: absolute;
  top:50%;left:50%;
  transform: translate(-50%,-50%);
  border-radius: 12px;
  overflow: hidden;
}
#popup_view_photos_more .swiper-container .swiper-slide {
  border: 0;
}
#popup_view_photos_more .swiper-container .swiper-slide img {
  border: 5px solid #fff;
  box-sizing: border-box;
  width:100%;
  border-radius: 12px;
} */

/* 슬라이드아닐때 */
.scroll_sys{
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}
#popup_view_videos_more_jw, #popup_view_photos_more {
   max-width:80vw;max-height:90vh;
}
#popup_view_photos_more .img_area,
#popup_view_videos_more .img_area{
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#popup_view_videos_more_jw .img_area{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
}
.jwplayer .jw-media video{
    position: absolute;
    top: 0;
    left: 0;
        width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}
#popup_view_videos_more_jw .jwplayer .jw-media video{
  object-fit: cover;
}
#popup_view_videos_more,
#popup_view_videos_more .img_area
{
    width: 100%;
    height: 100%;
}
#popup_view_videos_more .video-js{
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
    min-width: 100%;
    min-height: 100%;
    border-radius: 12px;
    overflow: hidden;
}
#popup_view_photos_more .img_area img,
#popup_view_videos_more .img_area img
#popup_view_videos_more_jw .img_area img{
  max-width: 70vw;
  max-height:90vh;
  border-radius: 12px;
  overflow: hidden;
}
#popup_view_photos_more .img_area .close-btn,
#popup_view_videos_more .img_area .close-btn{
  position:absolute;
  top: 10px;
  right: 20px;
}

@media (max-width: 1200px) {
  #popup_view_photos_more .swiper-container,
  #popup_view_photos_more .img_area img,
#popup_view_videos_more .swiper-container,
#popup_view_videos_more .img_area img

  {
    width: 90vw;
  }
}

/* .slider-popup .swiper-pagination {
  bottom: -36px;
}
.slider-popup .swiper-pagination-bullet {
  opacity: 1;
  background: #7f7f7f;
}
.slider-popup .swiper-pagination-bullet-active {
  background: #fff;
} */

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 0;
}



[id*="popup_view_photos"]:not(#popup_view_photos_more),
[id*="popup_view_videos"]:not(#popup_view_videos_more){
  position: relative;
  margin:0;
  padding: 0;
  left:50%; top:50%; transform:translate(-50%,-50%);
  width: 90%;
  max-width: 40vw;
  max-height: 40vw;
  border-radius: 12px;
  overflow: hidden;

  border: 1px solid #000;
  background: #fff;
  padding: 60px 30px 30px;
}
[id*="popup_view_photos"]:not(#popup_view_photos_more) li,
[id*="popup_view_videos"]:not(#popup_view_videos_more) li,
[id*="popup_view_videos"]:not(#popup_view_videos_more_jw) li{
  cursor: pointer;
}
[id*="popup_view_videos"]:not(#popup_view_videos_more) .locationImages li,
[id*="popup_view_videos"]:not(#popup_view_videos_more_jw) .locationImages li
{
  position:relative;
}
[id*="popup_view_videos"]:not(#popup_view_videos_more) .locationImages li:after,
[id*="popup_view_videos"]:not(#popup_view_videos_more_jw) .locationImages li:after{
  display:inline-block;
  content:"";
  position: absolute;
  top:50%;left:50%;transform: translate(-50%,-50%);
  width:40%;height:calc(40% + 5px);
  background-size:100% auto;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='white' d='M187.2 100.9C174.8 94.1 159.8 94.4 147.6 101.6C135.4 108.8 128 121.9 128 136L128 504C128 518.1 135.5 531.2 147.6 538.4C159.7 545.6 174.8 545.9 187.2 539.1L523.2 355.1C536 348.1 544 334.6 544 320C544 305.4 536 291.9 523.2 284.9L187.2 100.9z'/%3E%3C/svg%3E");

pointer-events: none;
}
[id*="popup_view_photos"]:not(#popup_view_photos_more) .locationImages li.video{
  position:relative;
}
[id*="popup_view_photos"]:not(#popup_view_photos_more) .locationImages li.video:before{
  display:inline-block;
  content:"";
  position: absolute;
  top:50%;left:50%;transform: translate(-50%,-50%);
  width:100%;height:100%;
  background:rgba(0,0,0,0.4);
  pointer-events: none;
}
[id*="popup_view_photos"]:not(#popup_view_photos_more) .locationImages li.video:after{
  display:inline-block;
  content:"";
  position: absolute;
  top:50%;left:50%;transform: translate(-50%,-50%);
  width:40%;height:calc(40% + 5px);
  background-size:100% auto;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='white' d='M187.2 100.9C174.8 94.1 159.8 94.4 147.6 101.6C135.4 108.8 128 121.9 128 136L128 504C128 518.1 135.5 531.2 147.6 538.4C159.7 545.6 174.8 545.9 187.2 539.1L523.2 355.1C536 348.1 544 334.6 544 320C544 305.4 536 291.9 523.2 284.9L187.2 100.9z'/%3E%3C/svg%3E");

  pointer-events: none;
}


@media (max-width: 1200px) {
 #popup_view_photos{
    max-width: 90vw;
    max-height:50vh;
 }
 [id*="popup_view_photos"]:not(#popup_view_photos_more),
 [id*="popup_view_videos"]:not(#popup_view_videos_more),
 [id*="popup_view_videos"]:not(#popup_view_videos_more_jw){
    max-width: 70vw;
    max-height: 70vw;
 }
}

.popup_area .popup{
}
.popup{

}

@keyframes slideIn {
  from { 
    transform: translateY(-50px);
    opacity: 0;
  }
  to { 
    transform: translateY(0);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn.black{
  color:#000;
}
.modal-body {
  position: relative;
  text-align: center;
}

.modal-body ul{
  display: grid;
  grid-template-columns:repeat(3, 1fr);
  gap: 16px;
}
.modal-body ul li{
  width:100%;height:auto;
  border:1px solid #ffffff26;
  border-radius: 10px;
  overflow: hidden;
}
.modal-body img {
  width: 100%;
  height: 100%;
  max-height: 70vh;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.modal-body h3 {
  display:none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .location-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .map-container {
    height: 300px;
  }
  
  .location-name {
    gap: 1rem;
  }
  
  .view-btn {
    align-self: flex-start;
    margin-left: 0;
  }
   
  .modal-body h3 {
    font-size: 1.2rem;
    padding: 1.5rem;
  }
}