
/* sub서브메뉴 */

.submenu_pc{
  position: absolute;
  display: none;
}


.sub-banner {
  position: relative;
  background: url('/img/sub_bg.jpg') no-repeat center center / cover;
  height: 350px;
  color: white;
  text-align: center;
}

.sub-banner__bg {
  background-color: rgba(0, 0, 0, 0.4); /* 어두운 반투명 배경 */
  width: 100%;
  height: 100%;
  padding-top: 120px;
}

.sub-banner__title {
  margin-bottom: 50px;
}

.sub-banner__menu {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.sub-banner__menu li {
    min-width:140px;
    position: relative;
}

.sub-banner__menu li a {
  color: white;
  font-size: 14px;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
  display: block;
  width:140px;
  font-family: 'Paperlogy';
  font-weight: 400;
  text-align: center;
}

.sub-banner__menu li a .arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.section-normal{
  color:#226352;
  text-align: center
}

.section-normal h3{
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.section-normal p{
  font-weight: 400;
  font-size: 2.5rem;
  line-height: 140%;
}


.sub-banner__menu li a::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.356);
}
.sub-banner__menu li a.active::after,
.sub-banner__menu li a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background-color: white;
}

.icon-home {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url('/img/home.png') no-repeat center center / contain;
  vertical-align: middle;
  margin-right: 5px;
  cursor: pointer;
}
.sub_fir{
  position: relative;
}



.visual-bg {
  background: url('img/sub-visual.jpg') center/cover no-repeat;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-title {
  font-size: 2.5rem;
  color: white;
  font-weight: bold;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.sub-menu {
  display: none;
  background-color: #2257C2;
  border-top: 1px solid #1a4bb2;
  border-bottom: 1px solid #1a4bb2;
}

.menu-list {
  display: flex;
  justify-content: center;
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.menu-list > li {
  position: relative;
  width: 33.33%;

}

.menu-link,
.accordion-btn {
  display: block;
  padding: 15px 2px;
  color: white;
  background: #2257C2;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border-right: 1px solid #e8e8e8;
  position: relative;
}
.menu-list li.ic{
  width: 40px;
}
.menu-list .accordion-item:last-child a{
  border: 0;
}
.arrow {
  /*margin-left: 50px;*/
  font-size: 0.8rem;
}

.arrow_na {
  font-size: 0.8rem;
}

/* 브레드크럼 네비게이션 화살표는 회전하지 않음 */
.sub-menu .arrow,
.sub-menu .arrow_na,
.accordion-btn .arrow,
.accordion-btn .arrow_na {
  transform: none;
  transition: none;
}

/* 모바일 브레드크럼 화살표 우측 정렬 */
.accordion-btn .arrow,
.accordion-btn .arrow_na {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) !important;
}

.submenu {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: -2px;
  width: calc(100% + 3px);
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 100;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.submenu li a {
  display: block;
  padding: 12px 16px;
  color: #333;
  text-decoration: none;
  text-align: center;
}

.submenu li a:hover {
  background: #f1f1f1;
}

.nav_lis{
    display: none;
  position: absolute;
  top: 98%;
  width: 140px;
  background: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  z-index: 10;
}
.nav_lis li{
  border-bottom: 1px solid #ddd;
}
.nav_lis li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  line-height: 1.3;
}

.nav_lis li a:hover {
  /* background: #f1f1f1; */
  font-weight: 600;
}
.blue{
  font-weight: 600;
  color: #2f60b9 !important;
}


.navlistbox{
  /* max-width: 1200px;
  width: 100%; */
  margin: 0 auto;
  position: absolute;
  left: 50%;
    bottom: -89px;
  z-index: 7;
  transform: translate(-50%, 0);
}
.subnav {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr 56px; /* 화살표 + 내용 + 화살표 */
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.subnav__arrow {
  height: 80px;
  min-width: 50px;
  border-radius: 0;
  background: #0e2a52;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  transition: transform .15s, background .2s;
}
.subnav__arrow:disabled {
  opacity: 1;
  cursor: default;
}
.subnav__arrow:hover:not(:disabled) {
  transform: scale(1.05);
  background: #112e5c;
}

.subnav__viewport {
  position: relative;
  height: 100%;
  overflow: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
      background-color: #fff;padding: 16px 0;
  /* border-radius: 12px; */
}

.subnav__viewport_w {
  position: relative;
  height: 100%;
  overflow: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
      background-color: #edf2fe;padding: 16px 0;
  /* border-radius: 12px; */
}
/* .subnav__viewport::-webkit-scrollbar { height: 8px; } */
.subnav__viewport::-webkit-scrollbar-thumb {
  background:#cfd7e6; border-radius:999px;
  display: none;
}


.subnav__track {
  list-style: none;
  display: grid;
    justify-content: space-around;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 16px*4) / 5); /* 데스크탑 5칸 */
  gap: 10px;
  margin: 0;
  padding: 0 16px;
  height: 100%;
  align-items: stretch;
}

/* 반응형 */
@media (max-width:1024px){
  .subnav__track { grid-auto-columns: calc((100% - 16px*2) / 3); } /* 3칸 */
}
@media (max-width:640px){
  .subnav__track { grid-auto-columns: calc((100% - 16px*1) / 2); } /* 2칸 */
  .subnav__arrow { height: 140px; width: 44px; }
}

.subnav__item { height: 100%; scroll-snap-align: start; }

.subnav__card {
  position: relative;
  display: grid;
  place-items: end start;
  height: 100%;
  text-decoration: none;
  color: #fff;
  /* border-radius: 14px; */
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  background: #244;
}
.subnav__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.75);
  /* transition: transform .35s, filter .25s; */
}
.subnav__card::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.05));
  z-index:1;
}
.subnav__card.point::after{
    content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgb(17 78 167 / 80%), rgb(14 78 129 / 80%));
  z-index:1;
}
.one>div{
  height: 33.33%;
}
.lens{
  width: 1px;
  height: 100%;
  background-color: #ffffff78;
  display: block;
}
.one.point{
  display: flex;
    align-items: center;
    min-width: 110px;
    width: 100%;
    height: 100%;
    font-family: 'Paperlogy';
    font-weight: 400;
    font-size: 16px;
    flex-direction: column;
}
.icos i{
    border: 1px solid #ffffff78;
    border-radius: 50%;
    padding: 3px;
    margin-top: 5px;
    color: #ffffff78;
}
.subnav__title {
  position: relative; z-index:2;
  padding:20px;
  height: 100%;
  width: 100%;
 height: 114px;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.subnav__card:hover .subnav__img {
  transform: scale(1.05); filter: brightness(.9);
}
.one{
  display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    width: 100%;
    height: 100%;
    font-family: 'Paperlogy';
    font-weight: 400;
    font-size: 16px;
}
/* 좌우 페이드 */
.subnav__fade {
  position: absolute; top:0; bottom:0;
  width: 80px; pointer-events:none;
}
.subnav__fade--left {
  /* left:0; background:linear-gradient(to right,#fff 30%,transparent); */
}
.subnav__fade--right {
  /* right:0; background:linear-gradient(to left,#fff 30%,transparent); */
}


.subnav__track.mum{
    grid-auto-columns: calc((100% - 0px * 4) / 4.2);
}
.subnav__track.mum2{
    grid-auto-columns: calc((100% - 0px * 5) / 5.2);
}
.subnav__viewport.mum,
.subnav__viewport_w.mum {
    scroll-snap-type: unset !important;
    overflow: unset !important;
}
.subnav__arrow.mum{
    opacity: 0;
}



/* 인사말 */
.top{
  padding: 40px 0;
}

/* 호버 리빌 효과 - intro01.jpg와 slider-section */
.hover-reveal-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 700px; /* 슬라이더 콘텐츠 최소 높이 보장 */
}

.hover-reveal__base {
  position: relative;
  z-index: 1;
  transition: opacity 0.4s ease;
}

/* 호버 힌트 아이콘 - 이미지 우측 상단 */
.hover-reveal__base .hover-hint-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 호버 시 아이콘 숨김 */
.hover-reveal-container:hover .hover-hint-icon {
  opacity: 0;
}

/* 터치 활성화 시 호버 효과 (모바일) */
.hover-reveal-container.touch-active .hover-reveal__base {
  opacity: 0;
}

.hover-reveal-container.touch-active .hover-reveal__overlay {
  opacity: 1;
  visibility: visible;
}

.hover-reveal-container.touch-active .hover-hint-icon {
  opacity: 0;
}

.hover-reveal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hover-reveal-container:hover .hover-reveal__base {
  opacity: 0;
}

.hover-reveal-container:hover .hover-reveal__overlay {
  opacity: 1;
  visibility: visible;
}

/* 오버레이 상태의 slider-section 레이아웃 보정 */
.hover-reveal__overlay.slider-section {
  display: flex;
  flex-direction: column;
  justify-content: center; /* 세로 가운데 정렬 */
  text-align: left;
  margin: 30px 0 0 0; /* 상단 30px 유지, 하단 제거 */
  height: calc(100% - 60px); /* 높이에서 60px 감소 */
  min-height: 700px; /* 최소 높이 700px 보장 */
}

/* 오버레이 상단 설명 텍스트 */
.hover-reveal__overlay .top p {
  font-size: 14px;
  color: #fff;
}

/* 오버레이 이미지 하단 텍스트 */
.hover-reveal__overlay .swiper-slide p {
  color: #fff;
  font-size: 14px;
}

/* 오버레이 이미지 하단 강조 텍스트 */
.hover-reveal__overlay .swiper-slide .t_strong {
  font-weight: 600;
  font-family: 'Paperlogy';
  color: #fff;
}

/* 오버레이 내부 버튼 스타일 - 원본과 동일하게 */
.hover-reveal__overlay .slider-prev2,
.hover-reveal__overlay .slider-next2 {
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  min-width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 오버레이 내부 슬라이더 컨트롤 */
.hover-reveal__overlay .slider-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  margin-top: 40px;
}

/* 오버레이 슬라이더 라벨 텍스트 */
.hover-reveal__overlay .slider-label {
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
}

/* 오버레이 슬라이더 현재/최대값 텍스트 */
.hover-reveal__overlay .slider-current2,
.hover-reveal__overlay .slider-max {
  font-size: 14px;
  font-weight: 400;
}

/* 오버레이 슬라이더 센터 영역 */
.hover-reveal__overlay .slider-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 26px;
}

/* 오버레이 슬라이더 range bar */
.hover-reveal__overlay .slider-range2 {
  width: 200px;
  background: transparent;
  height: 5px;
  border-radius: 3px;
  outline: none;
  background: linear-gradient(to right, white 0%, white 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 100%);
}

.hover-reveal__overlay .slider-range2::-webkit-slider-runnable-track {
  background: transparent;
}

.hover-reveal__overlay .slider-range2::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  cursor: pointer;
}

.hover-reveal__overlay .slider-range2::-moz-range-track {
  background: transparent;
}

.hover-reveal__overlay .slider-range2::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  cursor: pointer;
}

.slider-section {
  width: 100%;
  background: url(/img/intro_bh.png);
  background-position: 100% 100%;background-position: center;
}

.slider-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.slider-sub {
  font-size: 16px;
  margin-bottom: 30px;
  color: #444;
}

.swiper {
  width: 100%;
  margin-bottom: 20px;
}

.swiper-wrapper {
  display: flex !important; /* Swiper 핵심 */

}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  max-width: 470px;
  margin: 0 auto; 
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.swiper-slide h3 {
  font-weight: bold;
  margin-bottom: 5px;
}

.swiper-slide p {
}

.swiper-slide p {
}
.slider-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: sans-serif;
  color: white;
  margin-top: 40px;
}

.slider-prev,
.slider-next {
  background: rgba(0,0,0,0.4);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  min-width: auto;
  align-items: center;
  justify-content: center;
  display: flex;
}

.slider-current,
.slider-max {
  font-size: 14px;
    font-weight: 400;
}

.slider-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;margin-bottom: 26px;
}

.slider-label {
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
}

.slider-range {
  width: 200px;
  background: transparent;
  height: 5px;
  border-radius: 3px;
  outline: none;
background: linear-gradient(to right, white 0%, white 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 100%);
}

/* 채워지는 부분 제거 */
.slider-range::-webkit-slider-runnable-track {
  background: transparent;
}
.slider-range::-moz-range-track {
  background: transparent;
}

/* thumb (동그라미) 스타일 */
.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  cursor: pointer;
}
.slider-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
  border: 2px solid white;
  cursor: pointer;
}


/* sec02 */
.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  /* margin-bottom: 40px; → mb-10 유틸리티 클래스 사용 */
}

.main-content h5{
  /* padding-top:20px; → pt-5 유틸리티 클래스 사용 */
}

.main-content02 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  /* margin-bottom: 40px; → mb-40 sm-mb-0 유틸리티 클래스 사용 */
}

.main-content02 h5{
   padding-top:20px;
}

.left-column,
.right-column {
  flex: 1;
  min-width: 300px;
}

.main-img {
  width: 100%;
  height: auto;
}

.intro-section h5, .quote h5, .highlight h5{
  /* margin-bottom: 20px; → mb-5 유틸리티 클래스 사용 */
   font-size:  1.8rem;
   font-weight: 500;
   line-height: 140%;
}

.sub-images {
  display: flex;
  gap: 10px;
  /* margin-bottom: 20px; → mb-5 유틸리티 클래스 사용 */
  flex-wrap: wrap;
}

.sub-images img {
  width: calc(50% - 5px);
  height: auto;
  border-radius: 3px;
}

/* 950px 이상에서 3개 이미지를 한 줄에 배치 (greeting 페이지 전용) */
@media (min-width: 951px) {
  .sub-images.three-column {
    gap: 10px;
  }
  .sub-images.three-column img {
    width: calc(33.33% - 6.67px);
  }
}

.caption {
  margin-bottom: 30px;
}

.composition{
  position: relative;
  height: 590px;
}
.composition .com_img{
  position: absolute; 
  top: 40px;
}

.quote .le{
  width: 100%;
  text-align: center;
  /* margin-bottom: 10px; → mb-2.5 유틸리티 클래스 사용 */
}
.quote .le img{
  width: 50px;
}
.page-section .for{
  display: flex;
  align-items: center;
  gap: 40px;
}
.page-section .for > div {
  flex: 1;
}
.page-section .for > div img {
  max-width: 100%;
  height: auto;
}
.page-section .for .for_t{
  margin-bottom: 20px;
}
.page-section .for>.text_b01{
  width: 100%;
}

.quote h5 {
  text-align: center;
  /* margin-bottom: 50px; → mb-[50px] 유틸리티 클래스 사용 */
}
.bible_text{
  padding: 50px 0 20px;
}


.bible_text img{
  width: 90%;

}

/* 재사용 가능한 인용구 박스 스타일 */
.quote-box {
  position: relative;
  max-width: 1100px;
  min-height: 250px;
  margin: 0 auto;
  padding: 40px 100px;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, #B8D4F1 0%, #3A6FA8 100%) border-box;
  border: 1px solid transparent;
  border-top-left-radius: 0;
  border-top-right-radius: 150px;
  border-bottom-left-radius: 150px;
  border-bottom-right-radius: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 상단 따옴표 부분 테두리 제거 */
.quote-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  background: white;
  z-index: 1;
}

/* 하단 따옴표 부분 테두리 제거 */
.quote-box::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 60px;
  background: white;
  z-index: 1;
}

.quote-box p {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  margin: 0;
  position: relative;
  z-index: 2;
  font-style: italic;
  font-weight: bold;
}

.quote-box p + p {
  margin-top: 12px;
}

/* 따옴표 스타일 */
.quote-mark {
  position: absolute;
  width: 56px;
  height: 56px;
  z-index: 3;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.quote-mark-top {
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url('/img/quote-open.svg');
}

.quote-mark-bottom {
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-image: url('/img/quote-close.svg');
}

/* 반응형: 950px 이하 */
@media (max-width: 950px) {
  .quote-box {
    padding: 70px 60px;
    max-width: 85%;
    border-top-right-radius: 135px;
    border-bottom-left-radius: 135px;
  }

  .quote-box p {
    font-size: 17px;
  }

  .quote-mark {
    width: 60px;
    height: 60px;
  }

  .quote-mark-top {
    top: -18px;
  }

  .quote-mark-bottom {
    bottom: -18px;
  }
}

/* 반응형: 699px 이하 */
@media (max-width: 699px) {
  .quote-box {
    padding: 60px 40px;
    max-width: 90%;
    border-top-right-radius: 120px;
    border-bottom-left-radius: 120px;
  }

  .quote-box p {
    font-size: 16px;
    line-height: 1.7;
  }

  .quote-box p + p {
    margin-top: 10px;
  }

  .quote-mark {
    width: 50px;
    height: 50px;
  }

  .quote-mark-top {
    top: -15px;
  }

  .quote-mark-bottom {
    bottom: -15px;
  }
}

/* 반응형: 550px 이하 */
@media (max-width: 550px) {
  .quote-box {
    padding: 50px 30px;
    max-width: 92%;
    border-top-right-radius: 105px;
    border-bottom-left-radius: 105px;
  }

  .quote-box p {
    font-size: 15px;
  }

  .quote-mark {
    width: 45px;
    height: 45px;
  }

  .quote-mark-top {
    top: -12px;
  }

  .quote-mark-bottom {
    bottom: -12px;
  }
}

/* 반응형: 380px 이하 */
@media (max-width: 380px) {
  .quote-box {
    padding: 40px 25px;
    max-width: 95%;
    border-top-right-radius: 90px;
    border-bottom-left-radius: 90px;
  }

  .quote-box p {
    font-size: 14px;
    line-height: 1.6;
  }

  .quote-box p + p {
    margin-top: 8px;
  }

  .quote-mark {
    width: 40px;
    height: 40px;
  }

  .quote-mark-top {
    top: -10px;
  }

  .quote-mark-bottom {
    bottom: -10px;
  }
}

.gallery-row {
  display: flex;
  /* margin: 30px 0; → my-[30px] 유틸리티 클래스 사용 */
  flex-wrap: wrap;
  justify-content: space-between;
}

.gallery-row img {
  width: 32.33%;
  height: auto;
}


.full-image {
  /* margin: 30px 0; → my-[30px] 유틸리티 클래스 사용 */
}

.full-image img {
  width: 100%;
  height: auto;
}

/* intro01.jpg 이미지를 슬라이더 높이에 맞춤 */

/* 1570px 이상: 700px 높이 */
@media (min-width: 1571px) {
  .hover-reveal__base.full-image {
    min-height: 700px;
  }

  .hover-reveal__base.full-image img {
    height: 700px;
    object-fit: cover;
  }
}

/* 1570px ~ 951px: 760px 높이 */
@media (max-width: 1570px) and (min-width: 951px) {
  .hover-reveal__base.full-image {
    min-height: 760px;
  }

  .hover-reveal__base.full-image img {
    height: 760px;
    object-fit: cover;
  }
}

/* 950px 이하에서 intro01.jpg 이미지 확대 및 크롭 - 슬라이더 높이에 맞춤 */

/* 950px ~ 700px: 760px 높이 */
@media (max-width: 950px) and (min-width: 700px) {
  .hover-reveal__base.full-image {
    overflow: hidden !important;
    position: relative;
    min-height: 760px !important;
  }

  .hover-reveal__base.full-image img {
    width: 180% !important;
    max-width: none !important;
    height: 760px !important;
    object-fit: cover;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }
}

/* 699px ~ 380px: 700px 높이 */
@media (max-width: 699px) and (min-width: 380px) {
  .hover-reveal__base.full-image {
    overflow: hidden !important;
    position: relative;
    min-height: 700px !important;
  }

  /* my-30 마진 제거하여 슬라이더 오버레이와 정렬 맞춤 */
  .hover-reveal__base.full-image.my-30 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .hover-reveal__base.full-image img {
    width: 180% !important;
    max-width: none !important;
    height: 700px !important;
    object-fit: cover;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }
}

/* 380px 미만: 700px 높이 */
@media (max-width: 379px) {
  .hover-reveal__base.full-image {
    overflow: hidden !important;
    position: relative;
    min-height: 700px !important;
  }

  .hover-reveal__base.full-image img {
    width: 180% !important;
    max-width: none !important;
    height: 700px !important;
    object-fit: cover;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: block;
  }

  .section-normal h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .section-normal p {
    font-size: 1.8rem;
  }

  /* Add 30px bottom margin to greeting page main text only */
  .section-normal .top p {
    margin-bottom: 30px;
  }
}

/* gallery-row 이미지들을 한 줄로 표시 (950px 이하 공통) */
@media (max-width: 950px) {
  .gallery-row img {
    width: 100% !important;
    margin-bottom: 10px;
  }
}

.footer-sign .sign {
  font-weight: bold;
  /* margin-top: 20px; → mt-5 유틸리티 클래스 사용 */
}



/* 기도동산 */
.top_section{
  position: relative;
  height: 550px;
  /* margin-top: 20px; → mt-20 유틸리티 클래스 사용 */
}
.top_zeo{
    position: absolute;
    width: 35%;
    transform: translate(-50%, 0);
    left: 50%;
    top: -10%;
}
.top_def_w{
    display: flex;
    background-color: #ffffff00;
    position: absolute;
    top: 57%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}
.top_def_w .left_pna{
    width: 40%;
    position: relative;
    border-radius: 120px 5px 120px 5px;
    overflow: hidden;
    z-index: 10;
}
.top_def_w .right_pna{
    display: flex;  
    width: 90%;
    flex-direction: column;
    justify-content: top;
}
.top_def_w .right_pna .right_tits{
    /* padding: 0 30px; → px-30 유틸리티 클래스 사용 */
    position: relative;
    z-index: 3;
}

.top_def_w .right_pna .pna_bg{
    content: '';
    position: absolute;
    width: 90%;
    height: 370px;
    z-index: 2;
    left: 10%;
    background: linear-gradient(20deg, #f6f9ff 43%, #fffcf1 85%);
    border-radius: 10px 10px 100px 100px;
}

.top_def_w h4{
   background: linear-gradient(to left,#226352, #2f60b9 60%);
    color: #fff;
    z-index: 4;
    position: relative;
    padding: 0 30px 5px 30px;
    border-radius: 0 80px 80px 0;
}


.top_def{
    display: flex;
    background-color: #ffffff00;
    position: absolute;
    top: 45%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}
.top_def .left_pna{
    width: 40%;
    position: relative;
    border-radius: 120px 5px 5px 5px;
    overflow: hidden;
    z-index: 10;
}
.top_def .right_pna{
  display: flex;  width: 50%;
    flex-direction: column;
    justify-content: center;
}
.top_def .right_pna .right_tits{
    /* padding: 0 30px; → px-30 유틸리티 클래스 사용 */
    position: relative;
    z-index: 3;
}

.top_def .right_pna .pna_bg{
    content: '';
    position: absolute;
    width: 90%;
    height: 370px;
    z-index: 2;
    left: 10%;
    background: linear-gradient(20deg, #f6f9ff 43%, #fffcf1 85%);
    border-radius: 10px 10px 100px 100px;
}

.top_def h4{
   background: linear-gradient(to left,#226352, #2f60b9 60%);
    color: #fff;
    z-index: 4;
    position: relative;
    padding: 5px 30px;
    border-radius: 0 80px 80px 0;
    margin-top: 25px;
}
.layout-section.st{
  margin-top: 120px;
}

.layout-section-con{
  padding-top:50px;
  padding-bottom: 50px;
}

.layout-section-nom{
  padding-top:50px;
  padding-bottom: 50px;
}

.go_tree{
  position: relative;
  z-index: 5;
}
.go_tree button{
  border: 1px solid #8c8c8c;
  border-radius: 3px;
  background-color: transparent;
  font-family:'Pretendard Variable';
  color:#212121;
  margin-top: 20px;
  font-size: 14px;
  padding: 10px;
  font-weight: 400;
}
.go_tree button:hover{
  border: 1px solid #000;
  background-color: #000;
  color:#fff;
}


/* slider-nav4 썸네일 스타일 */
.slider-nav4 .slick-slide {
  cursor: pointer;
}
.slider-nav4 .slick-slide img {
  border: 1px solid transparent;
  box-sizing: border-box;
}
.slider-nav4 .slick-current img {
  border-color: #000;
}

/* slider-nav4 화살표 버튼 */
.slider-nav4 {
  flex: 1;
  min-width: 0;
  max-width: 80%;
}
.pat {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
}
.slider-nav4-prev,
.slider-nav4-next {
  width: 40px;
  height: 40px;
  background: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.slider-nav4-prev {
  background-image: url('/img/slider-prev.png');
}
.slider-nav4-next {
  background-image: url('/img/slider-next.png');
}
.slider-nav4-prev i,
.slider-nav4-next i {
  display: none;
}

/* 모바일에서 썸네일 숨기고 버튼만 표시 */
@media (max-width: 768px) {
  .slider-nav4,
  .slider-nav4 .slick-slide img {
    display: none;
    border: none;
  }
  .pat {
    display: none;
  }
  .slider-for4 {
    position: relative;
  }
  .slider-for4 .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }
}

/* slider-nav5 썸네일 스타일 */
.slider-nav5 .slick-slide {
  cursor: pointer;
}
.slider-nav5 .slick-slide img {
  border: 1px solid transparent;
  box-sizing: border-box;
}
.slider-nav5 .slick-current img {
  border-color: #000;
}
.slider-nav5 {
  flex: 1;
  min-width: 0;
  max-width: 80%;
}
.slider-nav5-prev,
.slider-nav5-next {
  width: 40px;
  height: 40px;
  background: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.slider-nav5-prev {
  background-image: url('/img/slider-prev.png');
}
.slider-nav5-next {
  background-image: url('/img/slider-next.png');
}
.slider-nav5-prev i,
.slider-nav5-next i {
  display: none;
}

/* 모바일에서 slider-nav5 썸네일 숨기고 dots만 표시 */
@media (max-width: 768px) {
  .slider-nav5,
  .slider-nav5 .slick-slide img {
    display: none;
    border: none;
  }
  .slider-nav5-prev,
  .slider-nav5-next {
    display: none;
  }
  .slider-for5 {
    position: relative;
  }
  .slider-for5 .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }
}


/* slider-nav7 썸네일 스타일 */
.slider-nav7 .slick-slide {
  cursor: pointer;
}
.slider-nav7 .slick-slide img {
  border: 1px solid transparent;
  box-sizing: border-box;
}
.slider-nav7 .slick-current img {
  border-color: #000;
}
.slider-nav7 {
  flex: 1;
  min-width: 0;
  max-width: 80%;
}
.slider-nav7-prev,
.slider-nav7-next {
  width: 40px;
  height: 40px;
  background: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.slider-nav7-prev {
  background-image: url('/img/slider-prev.png');
}
.slider-nav7-next {
  background-image: url('/img/slider-next.png');
}
.slider-nav7-prev i,
.slider-nav7-next i {
  display: none;
}

/* 모바일에서 slider-nav7 썸네일 숨기고 dots만 표시 */
@media (max-width: 768px) {
  .slider-nav7,
  .slider-nav7 .slick-slide img {
    display: none;
    border: none;
  }
  .slider-nav7-prev,
  .slider-nav7-next {
    display: none;
  }
  .slider-for7 {
    position: relative;
  }
  .slider-for7 .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }
}

/* slider-nav9 썸네일 스타일 (stone02) */
.slider-nav9 .slick-slide {
  cursor: pointer;
}
.slider-nav9 .slick-slide img {
  border: 1px solid transparent;
  box-sizing: border-box;
}
.slider-nav9 .slick-current img {
  border-color: #000;
}
.slider-nav9 {
  flex: 1;
  min-width: 0;
  max-width: 80%;
}
.slider-nav9-prev,
.slider-nav9-next {
  width: 40px;
  height: 40px;
  background: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.slider-nav9-prev {
  background-image: url('/img/slider-prev.png');
}
.slider-nav9-next {
  background-image: url('/img/slider-next.png');
}
.slider-nav9-prev i,
.slider-nav9-next i {
  display: none;
}

/* 모바일에서 slider-nav9 썸네일 숨기고 dots만 표시 */
@media (max-width: 768px) {
  .slider-nav9,
  .slider-nav9 .slick-slide img {
    display: none;
    border: none;
  }
  .slider-nav9-prev,
  .slider-nav9-next {
    display: none;
  }
  .slider-for9 {
    position: relative;
  }
  .slider-for9 .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }
}

/* slider-nav10 썸네일 스타일 (stone03) */
.slider-nav10 .slick-slide {
  cursor: pointer;
}
.slider-nav10 .slick-slide img {
  border: 1px solid transparent;
  box-sizing: border-box;
}
.slider-nav10 .slick-current img {
  border-color: #000;
}
.slider-nav10 {
  flex: 1;
  min-width: 0;
  max-width: 80%;
}
.slider-nav10-prev,
.slider-nav10-next {
  width: 40px;
  height: 40px;
  background: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.slider-nav10-prev {
  background-image: url('/img/slider-prev.png');
}
.slider-nav10-next {
  background-image: url('/img/slider-next.png');
}
.slider-nav10-prev i,
.slider-nav10-next i {
  display: none;
}

/* 모바일에서 slider-nav10 썸네일 숨기고 dots만 표시 */
@media (max-width: 768px) {
  .slider-nav10,
  .slider-nav10 .slick-slide img {
    display: none;
    border: none;
  }
  .slider-nav10-prev,
  .slider-nav10-next {
    display: none;
  }
  .slider-for10 {
    position: relative;
  }
  .slider-for10 .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }
}

/* slider-nav11 썸네일 스타일 (tree02) */
.slider-nav11 .slick-slide {
  cursor: pointer;
}
.slider-nav11 .slick-slide img {
  border: 1px solid transparent;
  box-sizing: border-box;
}
.slider-nav11 .slick-current img {
  border-color: #000;
}
.slider-nav11 {
  flex: 1;
  min-width: 0;
  max-width: 80%;
}
.slider-nav11-prev,
.slider-nav11-next {
  width: 40px;
  height: 40px;
  background: transparent;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}
.slider-nav11-prev {
  background-image: url('/img/slider-prev.png');
}
.slider-nav11-next {
  background-image: url('/img/slider-next.png');
}
.slider-nav11-prev i,
.slider-nav11-next i {
  display: none;
}

/* 모바일에서 slider-nav11 썸네일 숨기고 dots만 표시 */
@media (max-width: 768px) {
  .slider-nav11,
  .slider-nav11 .slick-slide img {
    display: none;
    border: none;
  }
  .slider-nav11-prev,
  .slider-nav11-next {
    display: none;
  }
  .slider-for11 {
    position: relative;
  }
  .slider-for11 .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
  }
}

/* movbe 호버 효과 - stone01 페이지 */
.movbe-hover-container {
  position: relative;
  width: 100%;
  height: 400px; /* movbe/movbe02의 고정 높이와 동일 */
  overflow: hidden;
}

.movbe-hover__base {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100% !important;
  z-index: 1;
  transition: opacity 0.4s ease;
  margin: 0 !important;
}

/* 호버 힌트 아이콘 - 우측 상단 */
.movbe-hover__base .movbe-hover-hint-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 호버 시 아이콘 숨김 */
.movbe-hover-container:hover .movbe-hover-hint-icon {
  opacity: 0;
}

/* 터치 활성화 시 호버 효과 (모바일) */
.movbe-hover-container.touch-active .movbe-hover__base {
  opacity: 0;
}

.movbe-hover-container.touch-active .movbe-hover__overlay {
  opacity: 1;
  visibility: visible;
}

.movbe-hover-container.touch-active .movbe-hover-hint-icon {
  opacity: 0;
}

.movbe-hover__overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100%;
  height: 100% !important;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  margin: 0 !important;
}

.movbe-hover-container:hover .movbe-hover__base {
  opacity: 0;
}

.movbe-hover-container:hover .movbe-hover__overlay {
  opacity: 1;
  visibility: visible;
}

/* 작품 */
.top_work.depi{
  height: 400px;
}

.top_work{
  position: relative;
}

.top_work.depi::before{
  content: '';
  position: absolute;
  width: 100%;
  left: 0;
  /*top: 80px;*/
  height: 300px;
  background: linear-gradient(0deg, #f6f9ff 43%, #ebf2ff 85%);
  background-size: cover;
}

.top_work.depi .top_def .left_pna{
  border-radius: 0px 120px 0 120px;
}
.top_work.depi h4{
  background: transparent;
  color: #2e2e2e;
}
.twin {
  position: relative;
  height: 1000px;
}
.twin .fir,
.twin .two{
  position: absolute;
  height: 250px;
}
.twin .fir{
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
}
.twin .two{
  top: 300px;
  left: 50%;
  transform: translate(-50%,0);
}
.twin .two .mov{
  width: 70%;
  border:10px solid #ffff;
  border-radius: 5px;
}

.twin_02{
  position: relative;
  margin-bottom: 200px;
}
.twin_02 .fir,
.twin_02 .two{
  position: absolute;
  height: 250px;
}
.twin_02 .fir{
  top: 0;
  left: 50%;
  transform: translate(-50%,0);
}
.twin_02 .two{
  top: 300px;
  left: 50%;
  transform: translate(-50%,0);
}
.twin_02 .two .mov{
  width: 70%;
  border:10px solid #ffff;
  border-radius: 5px;
}
/* 형상돌 성자바위 애니매이션 */

.crossfade-auto{
  position: relative; width: 100%;
    height: 409px;
}
.crossfade-auto.he{
    height: 800px;

}
.crossfade-auto img{
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}

/* 첫 번째 이미지 (배경)는 항상 보이도록 고정 */
.crossfade-auto img:nth-child(1){
  opacity: 1;
  z-index: 1;
}

/* 두 번째 이미지 (오버레이)만 페이드 효과 */
.crossfade-auto img:nth-child(2){
  opacity: 0;
  z-index: 2;
  animation: fadeOverlay 2s infinite ease-in-out;
}

/* 세 번째, 네 번째 이미지도 필요시 페이드 */
.crossfade-auto img:nth-child(3){
  opacity: 0;
  z-index: 2;
  animation: fadeOverlay 2s infinite ease-in-out;
  animation-delay: 1s;
}

.crossfade-auto img:nth-child(4){
  opacity: 0;
  z-index: 2;
  animation: fadeOverlay 2s infinite ease-in-out;
  animation-delay: 2s;
}

/* (옵션) 호버 시 일시정지 */
.crossfade-auto:hover img:not(:nth-child(1)){ animation-play-state: paused; }

@keyframes fadeOverlay{
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}


/* 상징솔 카운팅 */
.counting{
  position: relative;
}
.stats{
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  min-width: 200px;
}
.counting .num_box{
  position: absolute;
  left: 20px;
  top: 20px;
  transform: none;
  color: #000;
}
.counting .num_box p,
.counting .num_box span,
.counting .count{
  font-size: 26px;
}
.counting .count{
  display: block;
  width: 240px;
}
.counting .num_box .num{
  display: inline;
}
.counting .count:first-child{
  font-family: 'Paperlogy';
  font-weight: 900;
  font-size: 48px;
}
.counting .count:first-child .num{
  font-size: 48px;
}
.stats p{
  padding-bottom:-10px;
}
.twin.long{
margin-bottom: 80vh;
}
.twin.long .fir{
    top: 17%;
}
.twin.long .two{
  top: 950px;
}

/* 폭포 */
.video video{
width: 100%;
}

/* faq */
.accordion-header {
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  color: #121212;
  justify-content: space-between;
  border-bottom: 1px solid #bbbbbb;
  align-items: center;
}
.accordion-header.fir{
  border-top:2px solid #121212;
}

.accordion-header.active {
  /* background: #bbb; */
}
.accordion .hak{
  color: #121212;
}

.accordion-content {
  color: #121212;
  display: none;
  padding: 10px;
  /* background: #f0f0f0; */
  /* border-bottom: 1px solid #ddd; */
}

.accordion-item.active .accordion-content {
  display: block;
}

/* FAQ 아코디언 화살표만 회전 (브레드크럼 화살표는 제외) */
.accordion .arrow,
.accordion-header .arrow {
  transition: transform 0.3s;
  transform: rotate(180deg); /* 기본 상태: ▲를 뒤집어서 ▼로 (닫힌 상태) */
}

.accordion-header.active .arrow,
.accordion-item.active .arrow {
  transform: rotate(0deg); /* 열린 상태: 회전 해제하여 ▲로 */
}
.accordion .arrow{
  width: 22px;
}


/* 월명동스케치 */
.skech{
}
.spacer { height: 120vh; display: grid; place-items: center; background: #f5f5f7; }

  /* 핵심 섹션 */
.intros,
.intros2,
.intros3,
.intros4,
.intros5,
.intros6,
.intros7,
.intros8  {
    position: relative;
    width: 100%;
    /* 처음엔 꽉 찬 화면 느낌 */
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 6rem 2rem;
    color: #fff;
    transition: min-height 0.4s ease; /* 해제 시 부드럽게 */
  }

  /* 고정 해제 후엔 자연스러운 콘텐츠 높이 */
  .intro.released {
    min-height: auto; /* 클래스 토글로 100vh → auto */
  }

#intros .yop_bi,
#intros2 .yop_bi,
#intros3 .yop_bi,
#intros4 .yop_bi,
#intros5 .yop_bi,
#intros6 .yop_bi,
#intros7 .yop_bi,
#intros8 .yop_bi{
  position: absolute;
  color: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 10;
  width: 80%;
}
.sub_conten{
animation: fadein 3s;
}

@keyframes fadeout {
/* 효과를 동작시간 동안 0 ~ 1까지 */
  from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.conten_top{
  position: relative;
}
.conten_top .sub_conten{
  position: absolute;right: 0;
    bottom: 0;
}
.dm-serif{
  margin-bottom: 0.2rem;
    color: #e6e6e6;
    font-size: 1.8rem;
}

.text {
    margin-bottom: 1rem;
}

.text .desc.max {
    max-width: 42rem;
}


.content {
    /* padding: 80px 20px; → pt-80 px-20 pb-80 유틸리티 클래스 사용 */
    max-width: 960px;
    margin: 0 auto;
    min-height: 300px;
    /* margin-bottom: 60px; → mb-60 유틸리티 클래스 사용 */
}
.content.tw{
 display: flex
;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    margin: 0 auto;
}
.content.tw>div{
  width: 50%;
}
.videos{
 position: relative;
    overflow: hidden;
    width: 100%;
}
.videos::after{
    position: absolute;
    content: '';
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
    /*background-color: rgb(0 0 0 / 30%);*/
}

.season_manu{
    padding: 80px 20px;
    max-width: 960px;
  padding: 60px 0 60px 0;
  margin: 0 auto;
  display: flex;
  text-align: center;
      align-items: center;justify-content: space-around;
}
.season_manu div{
  width: 24%;
}
.season_manu div h4{
    border-bottom: 2px solid #387f6d ;

}
@media(max-width:1200px){
  /* 기도동산 페이지 세로 스택 레이아웃 (970px-1200px 포함) */
  .top_section{
    position: relative;
    height: auto;
    padding: 30px 20px;
  }

  .top_def{
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 20px;
  }

  .top_def .left_pna {
    width: 100%;
    border-radius: 120px 120px 5px 5px;
  }

  .top_def .left_pna img {
    width: 100%;
    height: auto;
    display: block;
  }

  .top_def .right_pna{
    width: 100%;
    padding: 0;
  }

  .top_def .right_pna .pna_bg{
    display: none;
  }

  .top_def .right_pna .right_tits{
    padding: 30px 20px;
    background-color: rgba(246, 249, 255, 0.9);
    border-radius: 10px;
  }

  .top_def h4 {
    background: linear-gradient(to left, #226352, #2f60b9 60%);
    color: #fff;
    z-index: 4;
    position: relative;
    padding: 5px 0;
    border-radius: 80px;
    margin-top: 25px;
    text-align: center;
  }

  .top_def .pl-30 {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 15px;
  }

  .top_def button {
    width: 100%;
    padding: 12px 15px;
  }

  /* 작품 페이지 (depi) 스타일 */
  .top_section.depi .top_def .left_pna{
    width: 100%;
    max-width: 450px;
  }
  .top_def.depi{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .top_section.depi::before{
    border: 1px solid #2f60b9;
    background-color: #f6f9ff;
    border-radius: 120px 120px 0 0;
    bottom:0;
  }
  .top_section.depi h4{
    padding: 30px;
    color: #2f60b9;
  }

  /* Elephant-rock 페이지 세로 스택 레이아웃 */
  .top_work.depi {
    position: relative;
    height: auto;
    padding: 30px 20px;
  }

  .top_work.depi .top_def_w {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 20px;
  }

  .top_work.depi .left_pna {
    width: 100%;
    border-radius: 120px 120px 5px 5px;
  }

  .top_work.depi .left_pna img {
    width: 100%;
    height: auto;
    display: block;
  }

  .top_work.depi .right_pna {
    width: 100%;
    padding: 0;
  }

  .top_work.depi .right_pna .right_tits {
    padding: 30px 20px;
    background-color: rgba(246, 249, 255, 0.9);
    border-radius: 10px;
  }

  .top_work.depi h4 {
    background: linear-gradient(to left, #226352, #2f60b9 60%);
    color: #fff;
    z-index: 4;
    position: relative;
    padding: 5px 0;
    border-radius: 80px;
    margin-top: 25px;
    text-align: center;
  }

  .top_work.depi::before {
    background: transparent;
  }
}
/* @media (max-width: 1199px) and (min-width: 969px) 제거됨 - 1200px 브레이크포인트에서 통합 처리 */

/* 970px-1200px 대역에서만 상단 여백 추가 */
@media (max-width: 1200px) and (min-width: 970px) {
  .top_section {
    padding-top: 70px;
  }

  .top_work.depi {
    padding-top: 100px;
  }
}

/* 700px ~ 1570px 구간에서 최소 높이 조정 */
@media (max-width: 1570px) and (min-width: 700px) {
  .hover-reveal-container {
    min-height: 760px !important;
  }
  .hover-reveal__overlay.slider-section {
    min-height: 760px !important;
  }
}

@media(max-width:970px){
  .crossfade-auto {
    height: 290px;
  }
  .crossfade-auto.he {
    height: 340px;
  }
  .hover-reveal-container {
    min-height: 700px;
  }
  .inner {
    padding:0 !important;
  }

  /* 모바일에서 mt100을 50px로 축소 */
  .mt100 {
    margin-top: 50px !important;
  }

    .section-normal h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

    .section-normal p {
    font-size: 1.8rem;
  }

  /* Add 30px bottom margin to greeting page main text only */
  .section-normal .top p {
    margin-bottom: 30px;
  }

  .intro-section h5, .quote h5, .highlight h5 {
    font-size: 1.5rem;
  }

  nav.pc-nav,
  .submenu-bar{
    display:none;
  }
  .open_btn{
    display:block;
    position:relative;
    z-index:21}
  .sub_a,
    header:hover .bgs{
    display:none;
  }
  header .inner{
    padding:15px 0;
  }
  .sub-banner{
    height: 300px;
  }
  .sub-banner__menu{
    display: none;
  }
.sub-menu{
  display: block;
  width: 100%;
}
}

/* 950px 이하에서 sub-images를 세로 배치 */
@media(max-width:950px){
  .sub-images img {
    width: 100%;
  }

  .main-content {
    flex-direction: column;
  }


  .gallery-row img {
    width: 48%;
    margin-bottom: 10px;
  }

  .quote h2 {
    font-size: 1.3rem;
  }

  .highlight h3 {
    font-size: 1.2rem;
  }
  .menu-list {
    align-items: stretch;justify-content: flex-start;
    display: flex;
  }
  .submenu {
    box-shadow: none;
    width: calc(100% + 3px);
  }
  .composition{
    height: auto;
    padding-bottom: 20px;
  }
  .composition .com_img{
    position: relative;
    top: auto;
    margin-top: 20px;
  }

  .page-section .for{
        flex-direction: column-reverse;
  }
  .page-section .for>div{
    width: 100%;
  }
  .page-section .for .for_t{
    margin-top: 0;
  }
  .subnav{
    display:none;
  }

  /* 기도동산 페이지 모바일 레이아웃 최적화 */
  .top_section{
    position: relative;
    height: auto;
    padding: 30px 20px;
  }

  .top_def{
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 20px;
  }

  .top_def .left_pna {
    width: 100%;
    border-radius: 120px 120px 5px 5px;
  }

  .top_def .left_pna img {
    width: 100%;
    height: auto;
    display: block;
  }

  .top_def .right_pna {
    width: 100%;
    padding: 0;
  }

  .top_def .right_pna .right_tits {
    padding: 30px 20px;
    background-color: rgba(246, 249, 255, 0.9);
    border-radius: 10px;
  }

  .top_def .right_pna .pna_bg {
    display: none;
  }

  .top_def h4 {
    background: linear-gradient(to left, #226352, #2f60b9 60%);
    color: #fff;
    z-index: 4;
    position: relative;
    padding: 5px 0;
    border-radius: 80px;
    margin-top: 25px;
    text-align: center;
  }

  .top_def .pl-30 {
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 15px;
  }

  .top_def button {
    width: 100%;
    padding: 12px 15px;
  }

  /* Elephant-rock 페이지 세로 스택 레이아웃 (모바일) */
  .top_work.depi {
    position: relative;
    height: auto;
    padding: 30px 20px;
    margin-bottom: 0;
  }

  /* greeting 페이지 등에서 top_work 다음 섹션(.mt100)이 겹치지 않도록 */
  .top_work + .mt100,
  .top_work.depi + .mt100 {
    margin-top: 20px !important;
  }

  .top_work.depi .top_def_w {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 20px;
  }

  .top_work.depi .left_pna {
    width: 100%;
    border-radius: 120px 120px 5px 5px;
  }

  .top_work.depi .left_pna img {
    width: 100%;
    height: auto;
    display: block;
  }

  .top_work.depi .right_pna {
    width: 100%;
    padding: 0;
  }

  .top_work.depi .right_pna .right_tits {
    padding: 30px 20px;
    background-color: rgba(246, 249, 255, 0.9);
    border-radius: 10px;
  }

  .top_work.depi h4 {
    background: linear-gradient(to left, #226352, #2f60b9 60%);
    color: #fff;
    z-index: 4;
    position: relative;
    padding: 5px 0;
    border-radius: 80px;
    margin-top: 25px;
    text-align: center;
  }

  .top_work.depi::before {
    background: transparent;
  }

  .counting .num_box p,
.counting .num_box span,
.counting .count{
  font-size: 16px !important;
}
.counting .count{
  width: 150px;
}
.twin.long{
  height: auto !important;
}
.twin.long img{
  width: 300px;
}
.twin.long{
  margin-bottom: 0;
  height: 800px;
}
.twin.long .two{
  top: unset;
}
 .twin.long .fir,
  .twin.long .two{
    position: relative;
    top:unset;
    left: unset;
    transform: unset;
    height: auto;
  }

  .top_section.depi::before{
    height: 411px;
    top:unset;
  }
  .pa20{
    padding: 0;
  }
  .conten_top .sub_conten{
    display: none;
  }
     .conten_top h2 {
        font-size: 1.23rem;
    }
    .yop_bi h1{
        font-size: 1.5rem;

    }
}
@media (max-width: 699px) and (min-width: 550px) {
 .mov img,
 .layout-section2 .mov img{
    max-width: 350px;
  }
    .inner {
    padding:0 !important;
  }
    .section-normal h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

    .section-normal p {
    font-size: 1.8rem;
  }
  .intro-section h5, .quote h5, .highlight h5 {
    font-size: 1.5rem;
  }
    .quote .le img {
    width: 35px;
}
 .main-content p, .composition p, .for p, .highlight p, .footer-text p{display: inline}


}
@media (max-width: 699px) and (min-width: 380px) {
  .hover-reveal-container {
    min-height: 700px; /* 모바일에서도 최소 높이 유지 */
  }
  .hover-reveal__overlay.slider-section {
    margin: 0; /* 모바일에서는 상하 마진 제거 */
  }
  /* .top_section { height: 450px; } - 제거: height: auto (970px 브레이크포인트) 사용 */
  .twin .fir,
  .twin .two{
    position: relative;
    top:unset;
    left: unset;
    transform: unset;
    height: auto;
  }
    .inner {
    padding:0 !important;
  }
  .main-content p, .composition p, .for p, .highlight p, .footer-text p{display: inline}

  .section-normal h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .section-normal p {
    font-size: 1.8rem;
  }

  /* Add 30px bottom margin to greeting page main text only */
  .section-normal .top p {
    margin-bottom: 30px;
  }

  .intro-section h5, .quote h5, .highlight h5 {
    font-size: 1.5rem;
  }
  .quote .le img {
    width: 35px;
}
 .top h3{
  padding-top:30px;
 }
 /* 슬라이더 오버레이에만 적용 */
 .hover-reveal__overlay .top p{
  padding-bottom:30px;
  font-size: 14px;
 }
.main-content h5{
  padding-top:0px;
}
.inner_sub{
 padding: 0 20px;
}

.layout-section {
    padding: 20px 20px 15px !important;
}

/* 영상 6:5 비율 크롭 (기도동산, 월명호 등) */
.inner_sub .video,
.inner_sub .video_narrow {
    aspect-ratio: 6 / 5;
    overflow: hidden;
}
.inner_sub .video video,
.inner_sub .video_narrow video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

}

/* 700px~1150px 구간에서 main 하위 section 태그에 좌우 패딩 추가 */
@media (min-width: 700px) and (max-width: 1150px) {
  main > section:not(.bagis) {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* bible_text 클래스 - 이미지 가운데 정렬 */
.bible_text {
  text-align: center;
}
.bible_text img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* ========================================
   Step Badge 공용 스타일
   ======================================== */
/* intro 컨테이너 기본 스타일 */
.intro {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Step Badge CSS 구현 */
.step-badge {
    width: 100%;
    background: linear-gradient(135deg, #1e5ba8 0%, #1a7a6e 100%);
    border-radius: 0 80px 0 80px; /* 우상단, 우하단, 좌하단, 좌상단 */
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* 초승달 + 별 아이콘 */
.badge-icon {
    position: relative;
    width: 120px;
    top: 15px;
}

.moon {
    display: block;
    width: 65px;
    height: 65px;
    position: relative;
    top: -30px;
}

/* POINT 텍스트 */
.badge-point {
    position: absolute;
    top: -7px;
    left: 17px;
    color: white;
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* 01 숫자 */
.badge-number {
    position: absolute;
    top: 1px;
    left: 19px;
    color: white;
    font-size: 14px;
    font-weight: 700;
}

/* 거룩한 장소 텍스트 */
.badge-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-top: auto;
}

/* intro-left 크기 고정 (데스크탑 ~ 970px 이상) */
@media (min-width: 970px) {
    .intro-left {
        flex: 0 0 220px;
        max-width: 220px;
    }
}

/* 970px 이하 반응형 */
@media (max-width: 969px) {
    .intro {
        display: block;
    }

    .intro-left {
        width: auto !important;
        display: inline-block;
    }

    .step-badge {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        padding: 5px 20px;
        gap: 10px;
        border-radius: 80px;
    }

    .badge-icon {
        flex-shrink: 0;
        top: 0;
        width: auto;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .moon {
        top: 0;
        width: 32.5px;
        height: 32.5px;
    }

    .badge-text {
        display: flex;
        flex-direction: column;
        gap: 1px;
    }

    .badge-point {
        position: static;
        display: block;
        line-height: 1;
    }

    .badge-number {
        position: static;
        display: block;
        line-height: 1;
    }

    .badge-title {
        margin-top: 0;
        text-align: left;
    }
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .step-badge {
        padding: 5px 30px;
    }

    .badge-title {
        font-size: 18px;
    }

    .badge-number {
        font-size: 18px;
    }
}
