/* common */
.main-tit-small-txt {
  font-size: 20px;
  color: var(--color-logo-navy);
  display: flex;
  justify-content: center;
  font-family: "Pretendard Variable";
  letter-spacing: 4px;
}
.main-tit-small-txt i {
  font-weight: 400;
  color: var(--color-logo-navy);
}
.main_tit {
  font-family: "NanumBarunGothic";
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}
.main_tit.left {
  align-items: flex-start;
}
.main_tit img {
  width: 86.119px;
  height: 50px;
  aspect-ratio: 86.12/50;
}
.main_tit b {
  color: rgb(58, 58, 58, 0.1);
  font-size: 50px;
}
.main_tit b .copy {
  color: #1a1a1a;
}
.main_tit b i {
  color: rgb(26, 26, 26, 0.1);
  font-weight: 600;
}
.main_tit b .copy i {
  color: #1a1a1a;
  font-weight: 600;
}
.nanum-40{
  display: flex;
  justify-content: center;
}
/* 화이트 모드 */
.main_tit.white::before {
  color: #d9e7ed;
}

.main_tit.white {
  color: #fff;
}

.main_tit.white b {
  color: rgb(50, 50, 50, 0.1);
}

.main_tit.white b .copy {
  color: #fff;
}

.main_tit.white b i {
  color: rgb(0, 65, 157, 0.1);
}

.main_tit.white b .copy i {
  color: #00419d;
}
/* sec1 */
.sec1 {
  position: relative;
  background: var(--color-bg-grey);
  overflow: hidden;
}

/* 오른쪽 꽉 차는 배경 */
.intro{
  position: relative;
}
.intro-bg-wrap{
  position: relative;
  height: 100%;
  z-index: -1;
  background: url(../img/sec1_bg_location.png?ver=260129)no-repeat right center;
  background-size: 35%;
}
.intro-bg-wrap::after{
  display: block;
  content: "";
  width: 35%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: url(../img/sec1_bg_logo.png) no-repeat right top;
  z-index: -1;
  background-size: contain;
}
.intro_left{
  width: 100%;
}
.intro_right{
  width: 100%;
}
.intro_wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}
.intro_right img{
  position: relative;
  z-index: 2;
  bottom: 0;
  display: block;
  width: 612px;
}
.intro_equ{
  background: #001D4C;
}
/* circle animation */
.emph {
  position: relative;
  display: inline-block;
}
.circle1, .circle2, .circle3 {
  position: absolute;
  top: -15px;
  left: 12%;
  width: 10px;
  height: 10px;
  background-color: var(--color-sub-bl);
  border-radius: 50%;
}
.circle1 {
  left: 12%;
}
.circle2 {
  left: 43%;
}
.circle3 {
  left: 73%;
}
.circle1 { animation-delay: 0s; }
.circle2 { animation-delay: 0.15s; }
.circle3 { animation-delay: 0.3s; }

.circle1, .circle2, .circle3 {
  animation-name: bounce;
  animation-duration: 1.8s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 2;
}
/* 통통 튀는 애니메이션 */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}
/* text */
.emphasis-text{
  font-family: "NanumBarunGothic";
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-logo-navy);
}
.emphasis-text i{
  color: var(--color-logo-grey);
}
.emphasis-text strong{
  color: var(--color-sub-bl);
}
.intro-description{
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-family: "Pretendard Variable";
  font-size: 2.2rem;
}
.intro-description strong{
  font-weight: 700;
}
.intro-description p{
  line-height: 1.4;
  color: #1D1D1D;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.0022em;
}
.intro-description p:last-child{
  color: #111;
  font-weight: 600;
  font-size: 26px;
}
.doctor-sign{
  font-size: 2.6rem;
  font-family: 'NanumBarunGothic';
  font-weight: 600;
}
.doctor-sign i{
  font-family: "SolmoeKimDaeGeon";
  font-size: 33px;
}
.br-40{
  display: none;
}
.br-pc{
  display: block;
}

/* doctor */
.sec2{
  position: relative;
}
.sec2::after{
  content: "YONSEI TOP TEUNTEUN 365 CLINIC   YONSEI TOP TEUNTEUN 365 CLINIC   YONSEI TOP TEUNTEUN 365 CLINIC   YONSEI TOP TEUNTEUN 365 CLINIC";
  position: absolute;
  top: 40%;
  left: 0;
  line-height: 1;
  white-space: nowrap;
  color: rgba(52, 161, 210, 0.08);
  font-family: "Pretendard Variable";
  font-size: 420px;
  font-weight: 700;
  letter-spacing: -4.2px;
  text-transform: uppercase;
  z-index: -1;
  animation: flowText 130s linear infinite;
}
@keyframes flowText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.sec2-flex{
  position: relative;
  display: flex;
  justify-content: center;
  gap: 30px 130px;
  align-items: center;
}
.sec2-left-inner{
  background: #EEEDED;
  border-radius: 30px;
  padding: 40px 0px 0px 40px;
  width: 500px;
  height: 720px;
  /* flex: 1; */
  position: relative;
  float: right;
}
.sec2-left img{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}
.sec2-left img[src$="doc_lms-03.png"]{
  transform: translateX(-50%) scaleX(-1);
}
.sec2-left h3{
  display: flex;
  align-items: center;
  color: #111;
  font-size: 38px;
  font-weight: 800;
  gap: 10px;
  /* position: absolute;
    top: 40px;
    left: 40px; */
}
.sec2-left h3 span{
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  background: var(--color-sub-bl);
  padding: 20px 15px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  border: 3px solid rgba(216, 216, 216, 0.60);
}
.sec2-left{
  flex: 1;
}
.sec2-right{
  display: flex;
  flex-direction: column;
  color: #1D1D1D;
  flex: 1;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.8;
}
.sec2-right-top{
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
}
.doc-txt03 li:not(:first-child){
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.first-li{
  display: flex;
  color: var(--color-logo-navy);
  font-size: 2.2rem;
  font-weight: 700;
  align-items: center;
  gap: 10px;
}
.first-li .focus{
  width: 5px;
  height: 21px;
  background: #001F60;
}
.sec3{
  background: url(../img/sec3_bg.png) no-repeat center center;
  background-size: cover;
}
.main_tit h3{
  font-family: "Pretendard Variable";
  font-size: 26px;
  color: var(--color-logo-grey);
  font-weight: 400;
}
.main_tit em{
  font-weight: 600;
}
.sec4-tab {
  display: flex;
  gap: 0;
}

.sec4-tab > div {
  flex: 1;
  text-align: center;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
/* 카드 하단 캡션: h3 아래로 li 배치 */
.sec4-tab-caption {
  position: absolute;
  z-index: 1;
  left: 30px;
  right: 30px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}
.sec4-tab > div h3 {
  position: static;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
  transition: color 0.2s ease;
}
.sec4-tab-caption ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sec4-tab-caption ul li {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-weight: 500;
}
.sec4-tab > div:hover .sec4-tab-caption ul li {
  color: rgba(255, 255, 255, 1);
}

.sec4-tab > div img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease; 
}
/* img는 대체 요소라 ::after 불가 → 부모 div에 적용 */
.sec4-tab > div::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
  background-blend-mode: multiply;
  pointer-events: none; /* 클릭은 아래로 전달 */
}
/* hover 시 이미지 확대 */
.sec4-tab > div:hover img {
  transform: scale(1.08);
}
/* hover 시: h3 컬러 변환 제거 */

/* on 시: 효과 제거 (항상 화이트 유지) */

/* 위로 올라오는 그룹 (1, 3) */
.sec4-tab > div:nth-child(1),
.sec4-tab > div:nth-child(3) {
  transform: translateY(-30px);
}

/* 아래로 내려가는 그룹 (2, 4) */
.sec4-tab > div:nth-child(2),
.sec4-tab > div:nth-child(4) {
  transform: translateY(30px);
}
.main-tit-line{
  display: block;
  width: 1px;
  height: 53px;
  background: transparent;
  overflow: hidden;
  position: relative;
}

.main-tit-line::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-logo-navy);
  transform: translateY(-100%);
  animation: mainTitLineDrop 0.8s ease-out forwards;
}

@keyframes mainTitLineDrop{
  from{
    transform: translateY(-100%);
  }
  to{
    transform: translateY(0);
  }
}
.sec4 {
  position: relative;
}

.sec4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 420px;
  background: url(../img/sec4_top_bg.png) no-repeat top center;
  background-size: cover;
}

.tab {
  position: absolute;
  left: 50%;
  top: 380px;
  transform: translate(-50%,0);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: fit-content;
  padding: 0 20px;
  width: 100%;
  height: 70px;
  border-radius: 40px;
  background: var(--color-logo-navy);
  z-index: 3;
}

.tab-list {
  display: flex;
  width: max-content;
  border-radius: 40px;
}

.tab-list li {
  position: relative;
  flex-shrink: 0;
  flex: 1;
}

.tab-list li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
}

.tab-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 20px;
  white-space: nowrap;
  transition: all 0.3s;
}

.tab-list a.active,
.tab-list a:hover {
  color: #fff;
}
.sec5-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* 이미지와 카드 높이 기준 */
  height: 345px;
}
.sec5-content.sec5-content-reverse{
  flex-direction: row-reverse;
}
.sec4-left.reverse{
  flex: 1;
  position: relative;
  height: 345px;
  border-radius: 20px;
  padding: 40px;
  background: #F8F8F8;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sec4-left.reverse::after{
  content: "";
  position: absolute;
  top: -35px;
  right: -35px;
  width: 93px;
  height: 93px;
  background: url(../img/logo-round.png) no-repeat center / cover;
  z-index: 2;
  animation: spin-logo 8s cubic-bezier(0.77,0,0.18,1) infinite alternate;
}

@keyframes spin-logo {
  0% {
    transform: rotate(0deg) scale(1);
    filter: brightness(1) drop-shadow(0 0 0px #34A1D220);
  }
  100% {
    transform: rotate(360deg) scale(1.03);
    filter: brightness(1.02) drop-shadow(0 0 4px #34A1D228);
  }
}

.sec5-left{
  position: relative;
  z-index: -1;
  left: 0;
  flex: 1.3;
  height: 100%;
  margin-right: -40px; /* 카드 아래로 조금 더 들어가게 */
}
.sec5-left img{
  border-radius: 30px 0px 0px 30px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec5-right{
  position: relative;
  z-index: -1;
  right: 0;
  flex: 1.3;
  height: 100%;
  margin-left: -40px; /* 반전 레이아웃에서도 카드 아래로 들어가게 */
}
.sec5-right img{
  border-radius: 0px 30px 30px 0px;
  display: block;
  width: 100%;
  height: 100%;
}
.focus{
  display: inline-block;
  width: 8px;
  height: 35px;
  background: var(--color-logo-navy);
  vertical-align: middle;
}
.sec4-left h3{
  color: var(--color-logo-navy);
  font-size: 38px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec4-left p{
  color: rgba(29, 29, 29, 0.90);
  letter-spacing: -0.002em;
  font-weight: 500;
}

/* 좌우 반전 디자인용 로고 위치 조정 */
.sec4-left.reverse.reverse-right::after{
  right: auto;
  left: -35px;
}
.sec5{
  background: url(../img/sec5_bg.png) no-repeat center center;
  background-size: cover;
}
.c6_swiper_wrap {
  overflow: initial;
  position: relative;
  width: 100%;
}

.c6_swiper_wrap .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.c6_swiper_wrap .swiper-wrapper .swiper-slide {
  width: 340px;
  flex: 0 0 auto;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  text-align: center;
  border-radius: 30px;
  background: #EBF6FA;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.04));
}

.item_img_wrap {
  border-radius: 20px;
  line-height: 0;
  overflow: hidden;
  background: #fff;
}


.item_name {
  color: #34A1D2;
  font-size: 30px;
  font-weight: 700;
  margin: 20px 0 5px;
}

.item_name+i {
  font-size: 16px;
  letter-spacing: -0.06em;
  text-align: center;
  color: #595757;
  opacity: 0.6;
  padding-bottom: 10px;

}


.item_pagination.swiper-pagination-progressbar {
  position: relative;
  margin-top: 70px;
  border-radius: 6px;
  overflow: hidden;
  background: #EAEAEA;
}

.item_pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
  background: var(--color-sub-bl);
}
.c6_swiper_wrap {
  overflow: visible !important;
}
.sec4 .innertop{
  display: none;
}
/* 둘러보기 */
.intro_4_1 .con_area {
  display: flex;
  gap: 20px;
}
.intro_4_1 .thumb_swiper {
  width: 275px;
  aspect-ratio: 275 / 150;
  overflow: hidden;
}

.intro_4_1 .thumb_swiper .swiper-slide {
  cursor: pointer;
  height: calc(100% / 4 - 14px);
  border-radius: 18px;
  overflow: hidden;
}

.intro_4_1 .thumb_swiper .swiper-slide {
  position: relative;
}

.intro_4_1 .thumb_swiper img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.intro_4_1 .thumb_swiper .swiper-slide-active:before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border: 3px solid var(--gold);
}

.intro_4_1 .main_swiper {
  width: calc(100% - 300px);
  aspect-ratio: 1200 / 650;
  border-radius: 20px;
  overflow: hidden;
}

.intro_4_1 .main_swiper .swiper-slide {
  overflow: hidden;
}

.intro_4_1 .main_swiper img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.intro_4_1 .main_swiper {
  position: relative;
}

.intro_4_1 .main_swiper .swiper-navigation {
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  bottom: 0;
  z-index: 1;
  width: 100%;
  padding-left: 30px;
  box-sizing: border-box;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.intro_4_1 .main_swiper .swiper-navigation-prev {
  width: 50px;
  height: 100px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  position: absolute;
  z-index: 11;
  background: url(/img/ico_arrow_prev.png) center center/100% 100% no-repeat;
}

.intro_4_1 .main_swiper .bar {
  margin: 0 13px;
}

.intro_4_1 .main_swiper .swiper-navigation-next {
  width: 50px;
  height: 100px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  position: absolute;
  z-index: 11;
  background: url(/img/ico_arrow_next.png) center center/100% 100% no-repeat;
}

.intro_4_1 .main_swiper .swiper-slide {
  will-change: opacity, transform;
}

.sec7 {
  background: url(../img/sec7-bg.png) no-repeat center center;
  background-size: cover;
}

.map_wrap .root_daum_roughmap .cont {
  display: none;
}

.map_wrap .root_daum_roughmap .wrap_controllers {
  display: none;
}

.map_wrap .root_daum_roughmap .wrap_map {
  width: 100%;
  height: 490px;
}

.map_wrap .root_daum_roughmap {
  width: 100%;
  height: 100%;
}

.map_flex {
  display: flex;
  gap: 20px;
  align-items: center;
}

.map_flex > * {
  width: 100%;
  border-radius: 30px;
}

.map_txt {
  position: relative;
  flex: 1;
  background: #f6f5f5;
  height: 490px;
  letter-spacing: -0.06em;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.10);
}

.map_txt_inner {
  position: relative;
  background: #fff;
  z-index: 1;
  padding: 40px 0px 40px 45px;
  border-radius: 30px;
  height: 490px;
}
.map_wrap {
  flex: 1.5;
  border-radius: 30px;
  overflow: hidden;
}

.map_txt address {
  font-size: 20px;
  font-weight: 400;
  color: #323232;
}

.map_tit {
  font-size: 30px;
  color: #000;
  font-weight: 700;
  margin-bottom: 10px;
}


.time_last {
  color: rgb(50, 50, 50, 0.6);
  font-size: 16px;
  line-height: 1.6;
}

.map_txt ul li {
  display: flex;
  gap: 40px;
  align-items: start;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 700;
  padding: 0 10px;
  color: var(--color-grey-content);
}
.map_txt ul li:last-child {
  margin-bottom: 2rem;
}
.map_txt ul li.night_li {
  color: #fff;
  position: relative;
}

.map_txt ul li.night_li::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  background: linear-gradient(90deg, #34A1D2 0%, #0a1b34 100%);
  display: block;
  width: 96%;
  height: 100%;
  z-index: 0;
  border-radius: 30px;
}
.night_li > * {
  position: relative;
}
.night_li i {
  display: flex;
  gap: 10px;
}
.night_li em {
  color: #fbd307;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.night_li em img {
  width: 1em;
  aspect-ratio: 1/1;
}

.map_txt ul li span {
  flex-shrink: 0;
  width: 111px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.map_txt ul li span.fix-fit {
  width: 111px;
}
.sec6{
  background: url(../img/sec6-bg-logo.png?ver=250829) no-repeat top right;
  background-size: auto 800px;
}