/* common */
.zoom-wrap {
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  height: 100%;
}
.zoom {
  transform: scale(1.12);
  transition: transform 0.8s ease-in-out;
  width: 100%;
}
.zoom.active {
  transform: scale(1);
  transition: transform 2.4s ease-in-out;
}

/* sub1-1 */
.sub1-1-area01 {
  color: #fff;
  text-align: left;
  background: url(../img/sub/sub1-1-area01-bg.jpg) right/cover no-repeat;
  padding-bottom: 120px;
}
.intro-sub{
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 40px;
}
.doctor-pic img{
  border-radius: 40px;
  width: 100%;
}
.sub1-1-text{
  font-size: 24px;
}
.intro-sub h3{

}
.intro-sub .intro-con {
 font-family: "KCC-eunyoung";
    font-size: 33px;
    font-weight: 600;
    color: #736f6c;
    white-space: pre-line;
}
.intro-sign{
  font-size: 18px;
  margin-right: 40px;
  font-weight: 700;
  text-align: right;
}

@media(max-width:769px){
  .sub1-1-area01 {
    background:  url(../img/sub/m_sub1-1-area01-bg.jpg) right/cover no-repeat;
  }
  .sub1-1-area01 h2{
    font-size: 24px;
  }
  .sub1-1-area01 .sub1-1-text{
    font-size: 20px;
    font-weight: 700;
  }
  .intro-sub .intro-con{
    font-size: 24px;
  }
  .doctor-pic{
    margin-top: 40px;
  }
}

/* sub1-2 */
.sub1-2-area01 {
  background-color: #eef5f6;
  position: relative;
}

.doctor-content.doctorTab{
	margin-top: 0;
}
.tab-content {
	padding: 80px 40px;
}

.doctor-content .tab-content li:first-child img {
  border-radius: 30px;
}

.tab-content > ul {
    display: flex;
    width: 100%;
}
.tab-content > ul > li {
    width: 50%;
}
.tab-content > ul > li:last-child {
    margin-left: 30px;
}
.tab-content .tab-name {
    border-bottom: 2px dotted #ddd;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.tab-content .tab-name > div {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.tab-content .tab-name > div h3 {
    font-weight: 900;
}
.tab-content .tab-name > div span {
    font-size: 0.6em;
    font-weight: 500;
}
.tab-content .tab-name p {
    font-weight: 700;
}
.tab-content .disc-list {
    list-style-type: disc;
    margin-left: 20px;
}
.tab-content .disc-list li {
    line-height: 1.8;
}


@media screen and (max-width: 769px) {
    /* =========== info-dentist ======== */

     .tab-content .tab-name > div {
        display: block;
    }
     .tab-content img {
        max-width: 350px;
        width: 100%;
    }
     .tab-content > ul {
        display: block;
        background: none;
    }
     .tab-content > ul > li {
        width: 100%;
        text-align: center;
    }
     .tab-content > ul > li:last-child {
        margin: 20px 0 0 0;
    }
     .tab-content .disc-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        max-width: 400px;
        margin: 0 auto;
        text-align: left;
    }

	.dentist-nam {
    	text-align: start;
    	font-size: 18px;
    	max-width: 450px;
    	margin: 0 auto;
	}
}

@media screen and (max-width: 425px) {

     .tab-content .tab-name > div h3 {
        font-size: 32px;
    }
     .tab-content .tab-name p {
        font-size: 14px;
    }
     .tab-content .disc-list {
        max-width: 260px;
    }
     .tab-content .disc-list li {
        font-size: 14px;
    }
}

	/* 암막 */
	.darker{
		position: fixed;
		display: none;
		top: 0;
	 	left: 0;
	 	right: 0;
	 	bottom: 0;
	 	width: 100%;
	 	height: 100%;
	 	background-color: rgba(0,0,0,0.6);
		z-index: 10000;
	}

body.doctor-modal-open {
	overflow: hidden;
}

#doctor-modals-portal {
	position: relative;
	z-index: 10000;
}

.doctorTab {
	 	display: none;
	 	position: fixed;
	 	top: 0;
	 	left: 0;
	 	right: 0;
	 	bottom: 0;
	 	width: 100%;
	 	height: 100%;
	 	z-index: 10001;
	 	justify-content: center;
	 	align-items: flex-start;
	 	overflow-x: hidden;
	 	overflow-y: auto;
	 	padding: 24px 16px 40px;
	 	box-sizing: border-box;
	 	-webkit-overflow-scrolling: touch;
}

.doctorTab-content {
	 	background-color: #fff;
	 	border-radius: 15px;
	 	position: relative;
		z-index: 10002;
		width: 100%;
		max-width: 1000px;
		margin: 0 auto;
		flex-shrink: 0;
}

.doctorTab .tab-content {
	display: block;
}

.doctorTab .tab-content > ul {
	display: flex;
	width: 100%;
}

.doctorTab .tab-content .disc-list {
	display: block;
	list-style-type: disc;
	visibility: visible;
}

.doctorTab .tab-content .disc-list li {
	display: list-item;
}


	.doctor-box{
    background-color: #fff;
		margin: 50px 20px;
		border-radius: 15px;
		text-align: center;
		box-shadow: 5px 5px 10px 0px #00457e36;
		line-height: 1;
	}

	/* 원장님 정보 부분*/
	.doctor-box > span:first-child {
    padding: 0px 10px 40px 10px;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	/*자세히보기*/
	.doctor-box > .doctorTab-btn {
    border-radius: 0px 0px 15px 15px;
		padding: 20px;
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 8px;
		color: #fff;
		cursor: pointer;
		background: linear-gradient(90deg, #1474d0, #005ab0);
		transition: all 0.5s;
	}

	.doctor-box > .doctorTab-btn i{
		transform: translateY(2px);
	}

  .close-btn {
		  	position: absolute;
		  	top: 10px;
		  	right: 10px;
		  	cursor: pointer;
		  	font-size: 80px;
		  	border: none;
		  	background: none;
		  	z-index: 1002;
	}

	/* 원장님 사진 */
	.doctor-box > span:first-child > span:first-child{
    width: 170px;
    height: 170px;
    border-radius: 50%;
    margin-bottom: 20px;
    overflow: hidden;
    transform: translateY(-50px);
	}

  li:nth-child(4n+1) .doctor-box > .doctorTab-btn {
		background: #004a7c;
	}

  li:nth-child(4n+1) .doctor-box > span:first-child > span:first-child{
		border: 5px solid #004a7c;
  }
  li:nth-child(4n+2) .doctor-box > .doctorTab-btn {
		background: #79a342;
	}

  li:nth-child(4n+2) .doctor-box > span:first-child > span:first-child{
		border: 5px solid #79a342;
  }
  li:nth-child(4n+3) .doctor-box > .doctorTab-btn {
		background: #f386a1;
	}

  li:nth-child(4n+3) .doctor-box > span:first-child > span:first-child{
		border: 5px solid #f386a1;
  }
  li:nth-child(4n) .doctor-box > .doctorTab-btn {
		background: #00a6c8;
	}

  li:nth-child(4n) .doctor-box > span:first-child > span:first-child{
		border: 5px solid #00a6c8;
  }

	/* 이형철 원장: 원형 안 헤드 여백을 타 의료진 썸네일과 비슷하게(상단 크롭·배율) */
	.sub1-2-area01 .doctor-box > span:first-child > span:first-child img.doctor-thumb-closeup {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 4%;
		transform: scale(1.42);
		transform-origin: 50% 8%;
	}

	#doctorTab10 .tab-content > ul > li:first-child {
		overflow: hidden;
		border-radius: 30px;
	}
	#doctorTab10 .tab-content li:first-child img.doctor-thumb-closeup {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center 2%;
		transform: scale(1.18);
		transform-origin: 50% 6%;
	}

	/* 마취통증의학과(sub_3_7): 두 의료진 썸네일 동일 원형·동일 크기 */
	.sub3-7-doc-grid .doctor-pic-con.sub-mini-doc .doctor-pic {
		width: min(230px, 76vw);
		height: min(230px, 76vw);
		overflow: hidden;
		border-radius: 50%;
		margin-inline: auto;
		flex-shrink: 0;
	}
	.sub3-7-doc-grid .doctor-pic-con.sub-mini-doc .doctor-pic img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
		border-radius: 0;
	}
	.sub3-7-doc-grid .doctor-pic-con.sub-mini-doc .doctor-pic img.doctor-thumb-closeup {
		object-position: center 5%;
		transform: scale(1.26);
		transform-origin: 50% 12%;
	}

	.doctor-box > span:first-child > span:nth-child(2){
    transform: translateY(-10px);
		font-weight: 600;
	}
	.doctor-box > span:first-child > h4:nth-child(3){
    transform: translateY(-10px);
    margin-top: 12px;
		font-weight: 700;
	}
	.doctor-box > span:first-child > span:last-child{
		font-weight: 700;
	}

	@media(max-width:1200px) {
		.doctor-box > .doctorTab-btn i{
		transform: translateY(0);
	}
		.doctor-box{
			margin: 40px 8px;
		}
	}
  @media(max-width:429px) {
    .doctor-box > span:first-child > span:first-child{
      width: 120px;
      height: 120px;
    }
    .doctor-box > span:first-child{
      padding: 0px 10px;
    }
    .doctor-box > span:first-child > span:nth-child(2){
      transform: translateY(-30px);
    }
    .doctor-box > span:first-child > h4:nth-child(3){
      transform: translateY(-30px);
    }
    .doctor-box > .doctorTab-btn{
      padding: 10px;
    }
    .sub1-2-area01 .doctor-box > span:first-child > span:first-child img.doctor-thumb-closeup {
      transform: scale(1.28);
      object-position: center 6%;
      transform-origin: 50% 10%;
    }
    .tab-content{
      padding: 30px 20px;
    }
  }
  
  .doctor-time-table > p:last-child,
  .doctor-time-table .doctor-time-legend {
    font-weight: 800;
    font-size: 16px;
    margin-top: 8px;
  }

  .doctor-time-legend .doctor-time-legend-mark {
    color: red;
  }

  .doctor-time-bar{
    background-color: #e5eaf0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
    padding: 16px;
    margin: 20px 0;
  }
  .doctor-time-bar p{
    font-weight: 700;
  }

  .doctor-time-bar .day-box{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
  }
  .doctor-time-bar .day-box > div{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    width: 35px;
    height: 35px;
    border-radius: 999px;
    background-color: #062f65;
  }
  .doctor-time-bar .day-box > div.red{
    background:  red;
  }
  .doctor-time-bar .day-box > div > p {
    color: #fff;
  }

  @media(max-width:1000px){
    .doctor-time-bar{
      gap: 8px;
    }
    .doctor-time-bar .day-box{
      gap: 8px;
    }
    .doctor-time-bar .day-box > div{
      width: 28px;
      height: 28px;
    }
  }
  @media(max-width:769px){}


  /* sub1-3 */
.bg-gray.sub1-3-section {
  background-color: #edf5f7;
  /* overflow: hidden; */
}
.sub1-3-area-list ul {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.sub1-3-area-list ul li {
  transition: all 0.5s;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 40px;
}
.sub1-3-area-list ul li.active {
  color: #ee86a1;
}
.sub1-3-area-list ul li::before {
  z-index: 2;
  transition: all 0.5s;
  content: "";
  background-color: #c9cbca;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: block;
}
.sub1-3-area-list ul li.active::before {
  background-color: #ee86a1;
}
.sub1-3-area-list ul::after {
  content: "";
  background-color: #c9cbca;
  position: absolute;
  width: 1px;
  top: 0;
  bottom: 0;
  left: 12px;
}

.sub1-3-content {
  display: flex;
  flex-direction: column;
  gap: 120px;
}
.sub1-3-content p {
  font-weight: 700;
}
.sub1-3-num {
  font-size: 24px;
}
.sub1-3-content li {
  display: flex;
  flex-direction: column;
}
.sub1-3-content li > div:first-child {
  overflow: hidden;
  border-radius: 80px 0 80px 0;
}
.sub1-3-content li > strong {
  font-size: 28px;
  font-weight: 800;
  color: #00457e;
}
.sub1-3-box {
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 9px 10px 21px -3px rgba(0, 0, 0, 0.15);
}


/* sticky 기준 */
.sub1-3-area {
  position: relative;
}

/* 리스트가 뷰포트에 들어오면 알아서 따라옴 (컨테이너 끝에서 자동으로 멈춤) */
.sub1-3-section .flex > li > div.sub1-3-area-list {
  position: sticky;
  top: 240px; /* 고정 시작 위치(헤더 높이 고려) */
}

/* ::after absolute 기준 잡기 */
.sub1-3-area-list ul {
  position: relative;
  cursor: pointer;
}

/* 버튼 커스텅 */
  .tab-btn-con {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
  }
  .tab-btn-con li{
    width: 25%;
  }
  .tab-btn-con .tab-btn{
    margin: 5px;
  }
  .tab-btn-con .tab-btn a{
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    font-size: 22px;
    padding: 14px 60px;
    border-radius: 15px;
    box-shadow: 9px 10px 21px -3px rgba(0, 0, 0, 0.21);
    transition: all 0.5s;
    position: relative;
    z-index: 5;

    background-color: #fff;
    color: #00a1c8;
  }

  .tab-btn-con li:nth-child(1) .tab-btn a{
    border: 3px solid #004a7c;
    color: #004a7c;
  }
  .tab-btn-con li:nth-child(1) .tab-btn.active a{
    background-color: #004a7c;
    border: 3px solid #fff;
    color: #fff;
  }
  .tab-btn-con li:nth-child(2) .tab-btn a{
    border: 3px solid #00a6c8;
    color: #00a6c8;
  }
  .tab-btn-con li:nth-child(2) .tab-btn.active a{
    background-color: #00a6c8;
    border: 3px solid #fff;
    color: #fff;
  }
  .tab-btn-con li:nth-child(3) .tab-btn a{
    border: 3px solid #f386a1;
    color: #f386a1;
  }
  .tab-btn-con li:nth-child(3) .tab-btn.active a{
    background-color: #f386a1;
    border: 3px solid #fff;
    color: #fff;
  }
  .tab-btn-con li:nth-child(4) .tab-btn a{
    border: 3px solid #79a342;
    color: #79a342;
  }
  .tab-btn-con li:nth-child(4) .tab-btn.active a{
    background-color: #79a342;
    border: 3px solid #fff;
    color: #fff;
  }

    @media(max-width:769px) {
      .sub1-3-content li > strong{
        font-size: 28px;
      }
      .sub1-3-content li > div:first-child{
        border-radius: 40px 0;
      }
      .tab-btn-con .tab-btn a{
        font-size: 16px;
        padding: 7px 0;
      }
    }

    @media(max-width:529px) {
      .tab-btn-con {
        
      }
      .tab-btn-con li{
        width: 50%;
      }
      .tab-btn-con .tab-btn a{
        font-size: 16px;
      }
    }


    /* sub1-3 */
.info-interior {
  overflow: hidden;
}


/* ===== 메인 슬라이더 ===== */
.info-interior .gallery {
  position: relative;
}
.info-interior .swiper {
  width: 100%;
  border-radius: 24px;
  overflow: visible;
  /* background: #ddd; */
}
.info-interior .swiper-slide {
  height: 56vw; /* 모바일에서 세로 비율 */
  max-height: 540px; /* 데스크톱 상한 */
  min-height: 240px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 5px 5px 10px 0px #00457e50;

}
.info-interior .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 네비 버튼 */
.info-interior .swiper-button-prev,
.info-interior .swiper-button-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.info-interior .swiper-button-prev::after,
.info-interior .swiper-button-next::after {
  font-size: 16px;
  color: #333;
  font-weight: 700;
}
.info-interior .swiper-button-prev {
  left: 18px;
}
.info-interior .swiper-button-next {
  right: 18px;
}
.info-interior .swiper-button-disabled {
  opacity: 0.35;
}

/* 반응형 미세 조정 */
@media (min-width: 768px) {
  .info-interior .swiper-button-prev,
  .info-interior .swiper-button-next {
    width: 48px;
    height: 48px;
  }
}
@media (min-width: 1024px) {
  .info-interior .swiper-slide {
    max-height: 620px;
    border-radius: 28px;
  }
   
}

@media(max-width:769px) {
  .info-interior .top-pagination{
    display: none;
  }
}

/* sub1-4 */
.sub1-4_bg {
  margin-top: 150px;
  padding: 200px 0 !important;
  background: url(../img/sub/sub1-4_bg.jpg) center/cover no-repeat;
}

.sub1-4-box-3 li > a.sub1-4-dept-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.sub1-4-box-3 li > a.sub1-4-dept-link:hover > div {
    box-shadow: 0 8px 24px rgba(30, 80, 150, 0.12);
}
.sub1-4-box-3 li > div,
.sub1-4-box-3 li > a.sub1-4-dept-link > div {
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    height: 327px;
    border-radius: 20px 0 20px 0;
    padding: 18px;
    background-color: #ffffff;
    transition: box-shadow 0.2s ease;
}
.sub1-4-box-3 li > div > span:nth-child(1),
.sub1-4-box-3 li > a.sub1-4-dept-link > div > span:nth-child(1) {
  font-weight: 800;
  font-size: 24px;
  text-align: end;
}
.sub1-4-box-3 li > div > img:nth-child(2),
.sub1-4-box-3 li > a.sub1-4-dept-link > div > img:nth-child(2) {
  margin-top: 0px;
  height: 60px;
  max-width: fit-content;
}
.sub1-4-box-3 li > div > strong:nth-child(3),
.sub1-4-box-3 li > a.sub1-4-dept-link > div > strong:nth-child(3) {
  margin-top: 24px;
  font-weight: 800;
  font-size: 24px;
}
.sub1-4-box-3 li > div > p:nth-child(4),
.sub1-4-box-3 li > a.sub1-4-dept-link > div > p:nth-child(4) {
  margin-top: 4px;
}
@media(max-width:769px) {
  .sub1-4_bg{
    margin-top: 80px;
   padding: 80px 0 !important;
  }
}
/* 429px */
@media (max-width: 429px) {

  .sub1-4-box-3 li > div > img:nth-child(2),
  .sub1-4-box-3 li > a.sub1-4-dept-link > div > img:nth-child(2) {
    height: 40px;
  }
  .sub1-4-box-3 li > div > strong:nth-child(3),
  .sub1-4-box-3 li > a.sub1-4-dept-link > div > strong:nth-child(3) {
    font-size: 20px;
  }
  .sub1-4-box-3 li > div,
  .sub1-4-box-3 li > a.sub1-4-dept-link > div {
    margin: 10px;
    height: 280px;
    padding: 10px;
    justify-content: start;
  }
}

/* sub1-5 */
.sub1-5 {
  margin-top: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  display: flex;
  flex-wrap: wrap;
}
.sub1-5 img{
  transition: all 7s;
  transform: scale(1.2);
  width: 100%;
}
.sub1-5.on img{
  transform: scale(1);
}
.sub1-5 > div{
  width: 50%;
  overflow: hidden;
}

.sub1-5 > .sub1-5-li{
  display: flex;
  justify-content: end;
  align-items: center;
}
.sub1-5-li:nth-child(2n-1){
  color: #fff;
}
.sub1-5:nth-child(1) .sub1-5-li{
  background-color: #00a1c8;
}
.sub1-5:nth-child(3) .sub1-5-li{
  background-color: #f386a1;
}
.sub1-5:nth-child(5) .sub1-5-li{
  background-color: #79a342;
}
.sub1-5:nth-child(7) .sub1-5-li{
  background-color: #00457e;
}

.sub1-5 > .sub1-5-li .sub1-5-sub {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 750px;
}

.sub1-5-sub > p:first-child {
  letter-spacing: 0.7em;
}

.sub1-5-sub h2 {
  font-size: 50px;
  margin-top: 40px;
}
.sub1-5-sub .info-eq-sub{
  margin-top: 40px;
  font-size: 24px;
}
.sub1-5-sub a {
  color: #fff;
  border: 1px;
  display: block;
  border: 1px solid #fff;
  border-radius: 5px;
  padding: 4px 40px;
  transition: all 0.5s;
}
.sub1-5-sub a:hover {
  color: #00a1c8;
  background-color: #fff;
}

@media(max-width:769px) {
  .sub1-5 > div{
    width: 100%;
  }
  .sub1-5 .sub1-5-li{
    padding: 80px 20px;
  }
  .sub1-5:nth-child(2n){
    flex-direction: column-reverse;
  }
  .sub1-5 img{
    transition: all 7s;
    transform: scale(1.2);
  }
  .sub1-5.on img{
    transform: scale(1);
  }
  .sub1-5-sub h2 {
    font-size: 35px;
    margin-top: 20px;
  }
  .sub1-5-sub .info-eq-sub{
    margin-top: 20px;
    font-size: 18px;
  }
}

/* sub1-6 */
/* info-map */
.info-map h4.info-map-title-con {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.info-map p {
  font-size: 18px;
}
.info-map h4.info-map-title-con img {
  height: 35px;
}
.info-map .info-map-sub {
  font-size: 30px;
  font-weight: 800;
}
.info-map h2.info-map-sub{
  font-size: 60px;
  font-weight: 600;
}
.info-map-sub .info-time {
  display: flex;
  gap: 30px;
}
.info-map-sub .info-time li:nth-child(1) {
  width: 20%;
}
.info-map-btn {
  text-align: center;
  padding-right: 40px;
}
.info-map-btn a{

}
.info-map-btn a {
  margin: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border: 2px solid #00457e;
  border-radius: 15px;
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 8px 30px;
  font-size: 24px;
  font-weight: 800;
  transition: all 0.2s;
  box-shadow: 9px 10px 21px -3px #00457e20;
}

.info-map-category .info-map-category-box{
  text-align: center;
  background-color: #f8f8f8;
  border-radius: 30px;
  padding: 20px;
}
.info-map-category .info-map-category-box strong {
  font-weight: 700;
  font-size: 24px;
}
.info-map-category .info-map-category-box > div{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  height: 150px;
}
.info-map-category .info-map-category-box > div:first-child{
  border-bottom: 1px solid #00000010;
}

.info-map-category .subway-1{
  display: inline-block;
  color: #fff;
  font-weight: 800;
  background-color: #e51e6e;
  border-radius: 999px;
  padding: 5px 15px;
  line-height: 1;
}

@media(max-width:1200px) {
  .info-map h2.info-map-sub{
    font-size: 40px;
  }
  .info-map-btn {
    padding-right: 12px;
  }
  .info-map .info-map-sub{
    font-size: 20px;
  }
  .main-slide-sub h2 {
    font-size: 35px;
  }
  .main-area-02 .main-area-02_box li > div{
    padding: 20px;
  }
  .main-area-02 .main-area-02_box li > div > span:first-child{
    font-size: 18px;
  }
  .main-area-02_box h2{
    font-size: 35px;
  }
  .main-quick-btn strong{
    font-size: 24px;
  }
  .main-quick-btn{
    padding-bottom: 40px;
  }
  .info-map-btn a{
    font-size: 18px;
    padding: 8px;
  }
}
@media(max-width:769px) {
  .info-map h2.info-map-sub{
    font-size: 35px;
  }
  .info-map-btn {
    padding-right: 0px;
  }
  .main-quick-btn{
    min-height: 400px;
  }
  .swiper-controls{
    bottom: 20px;
  }
  .map {
    margin-top: 40px !important;
  }
  .main-slide-sub h2 {
    font-size: 24px;
  }
  .main-area-02 .main-area-02_box li > div{
    padding: 10px;
  }
  .main-area-02_box h2{
    font-size: 22px;
  }
  .main-area-02 .main-area-02_box li > div > div:last-child > span{
    margin-bottom: 0px;
  }
  .doctor-intro p{
    font-size: 24px;
  }

  .info-map-btn {
    max-width: 100%;
  }

  .info-map-btn a{
    font-size: 18px;
    padding: 2px;
  }

  .main-quick-btn strong {
            font-size: 20px;
        line-height: 1.6;
        margin-bottom: 10px;
  }

  .info-map .info-map-sub{
    font-size: 18px;
  }
  
  
}



/* sub2-1 */
.sub2-1-tabmenu{
  display: flex;
}
.sub2-1-tabmenu li a {
  margin: 10px;
  color: #fff;
  border-radius: 20px;
	text-align: center;
	box-shadow: 5px 5px 10px 0px #00457e36;
  font-weight: 800;
  padding: 10px;
  border: 3px solid #fff;
  background-color: #00457e;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s;
}
.sub2-1-tabmenu li.active a {
  border: 3px solid #00457e;
  background-color: #fff;
  color: #00457e;
}

.sub2-1-tabmenu-content {
  display: none;
}

.sub2-1-tabmenu-content.active {
  display: block;
}

.sub2-1-list{
  display: flex;
  flex-direction: column;

  border-top: 2px solid #000;

  border-bottom: 2px solid #000;
}
.sub2-1-list li{
  padding: 50px 0;
  display: flex;
  align-items: center;
  gap: 50px;
}
.sub2-1-list li:not(:last-child){
  border-bottom: 1px dotted #000;
}

.yesbox{
  background: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 15px;
  gap: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 5px 5px 10px 0px #00000020;
}

.sub2-1-list-box2{
  margin: 30px 5px 5px 5px;
  text-align: center;
  background-color: #e4ecf7;
  position: relative;
  border-radius: 30px;
  padding: 12px;
  font-weight: 800;
}
.sub2-1-list-box2:after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 25px;
  height: 25px;
  transform: translate(-50%, -50%);
  background: url(../img/sub/sub2-1_check2.png) center/cover no-repeat;
}

.doctor-con:not(:first-child) {
  margin-top: 120px;
}

.doctor-pic-con.sub-mini-doc{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.doctor-pic-con.sub-mini-doc .doctor-pic img{
  border-radius: 999px;
}


.doctor-info-btn{
  background-color: #00457e;
  border-radius: 999px;
  padding: 10px 20px;
  color: #fff;
  font-weight: 800;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.doctor-con {
  display: flex;
  justify-content: space-between;
}
.doctor-con .doctor-info {
  display: flex;
  flex-direction: column;
}
:root {
  --header-bg: #00294c; /* 상단 헤더 배경 */
  --side-bg: #00457e; /* 좌측(오전/오후) 배경 */
  --grid: #d9d9d9; /* 테두리 색 */
  --txt-clinic: #00457e; /* 진료 글자색 */
  --txt-off: #e53935; /* 휴진 글자색 */
}

table.schedule {
  border-collapse: collapse;
  width: 900px;
  table-layout: fixed;
  font-size: 22px;
}
.schedule th,
.schedule td {
  border: 1px solid var(--grid);
  text-align: center;
  vertical-align: middle;
  height: 56px;
  padding: 0;
  background: #fff;
}

/* 상단 요일 헤더 */
.schedule thead th {
  background: var(--header-bg);
  color: #fff;
  font-weight: 800;
}

/* 좌측 오전/오후 */
.schedule .side {
  background: var(--side-bg);
  color: #fff;
  font-weight: 800;
  width: 110px;
}

/* 본문 텍스트 스타일 */
.clinic {
  color: var(--txt-clinic);
  font-weight: 800;
}
.off {
  color: var(--txt-off);
  font-weight: 800;
}

.doctor-info .doctor-name-con b {
  margin-left: 10px;
  font-size: 40px;
}
.doctor-info .doctor-name-con span {
  font-size: 24px;
  font-weight: 700;
  padding-right: 12px;
  border-right: 4px solid #00457e;
}

@media(max-width:1200px) {
  .doctor-con {
    flex-direction: column;
  }
  .doctor-info-btn{
    margin-bottom: 40px;
    padding: 5px 10px;
  }
  table.schedule {
    width: 100%;
  }
}

@media(max-width:900px) {
  .sub2-1-list li{
    gap: 20px;
  }
  .doctor-con{
    align-items: end;
  }
  .doctor-pic-con{
    transform: translateY(80px);
  }
  .doctor-info-btn{
    padding: 5px 20px;
  }
  .doctor-pic-con .doctor-pic {
    max-width: 150px;
  }
  .doctor-info > div:first-child span{
    font-size: 18px;
    padding: 0px 14px 0px 0px;
  }
  .doctor-info .doctor-name-con b{
    margin-left: 4px;
    font-size: 30px;
  }
}

@media(max-width:370px) {
  .doctor-info .doctor-name-con b {
    font-size: 24px;
    margin-left: 2px;
  }
  .doctor-info > div:first-child span{
    font-size: 14px;
    padding: 0px 6px;
  }
}

/* sub2-2 */
/* 테이블 기본 스타일링 */
.sub2-2-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Pretendard', sans-serif;
    border-top: 2px solid #2b78c5; /* 상단 강조 라인 */
    text-align: center;
}

.sub2-2-table th {
    background-color: #fcfcfc;
    color: #333;
    font-weight: 600;
    padding: 15px 10px;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #f0f0f0;
}

.sub2-2-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #eeeeee;
    border-right: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.6;
}

.sub2-2-table td.category {
    font-weight: 600;
    color: #333;
}

.sub2-2-table td.highlight {
    color: #2b78c5; /* 진료시간 강조색 */
    font-weight: bold;
}

.sub2-2-table td.full-width {
    text-align: center;
}

/* 마지막 열 선 제거 */
.sub2-2-table th:last-child, 
.sub2-2-table td:last-child {
    border-right: none;
}

/* 반응형 스타일링 (브레이크포인트 769px) */
@media screen and (max-width: 769px) {
    .sub2-2-table thead {
        display: none; /* 헤더 숨김 */
    }

    .sub2-2-table, 
    .sub2-2-table tbody, 
    .sub2-2-table tr, 
    .sub2-2-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .sub2-2-table tr {
        margin-bottom: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
    }

    .sub2-2-table td {
        text-align: right;
        padding: 12px 15px;
        border-right: none;
        position: relative;
        border-bottom: 1px solid #f0f0f0;
    }

    .sub2-2-table td:last-child {
        border-bottom: none;
    }

    /* 구분(평일, 토요일 등) 행 스타일 */
    .sub2-2-table td.category {
        background-color: #f9f9f9;
        text-align: center;
        font-size: 16px;
        color: #2b78c5;
    }

    /* 모바일에서 라벨(접수시간, 진료시간) 표시 */
    .sub2-2-table td[data-label]::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        font-weight: bold;
        color: #333;
    }
    
    /* 응급실, 점심시간 등 전체 너비 행 */
    .sub2-2-table td.full-width {
        text-align: center;
        padding-left: 15px;
    }
}

/* sub2-3 */
/* sub2-3 */
.sub2-3-category {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.sub2-3-category .sub2-page-btn {
  margin: 10px;
}
.sub2-3-category li {
  width: 50%;
}
.sub2-3-category .sub2-3-page-btn a {
  margin: 5px;
  border-radius: 24px;
  background-color: #fff;
  border: 3px solid #00457e;
  color: #00457e;
  font-size: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 30px 0;
  transition: all 0.5s;
}
.sub2-3-category .sub2-3-page-btn a:hover {
  transform: translateY(-10px);
  box-shadow: 9px 10px 21px -3px rgba(0, 0, 0, 0.21);
}
.sub2-3-category .sub2-3-page-btn.active a {
  color: #fff;
  background-color: #00457e;
  border: 3px solid #fff;
  transform: translateY(-10px);
  box-shadow: 9px 10px 21px -3px rgba(0, 0, 0, 0.21);
}

.sub2-3-area-1 {
  margin-top: 120px;
  padding-bottom: 120px;
  background: url(../img/sub/sub2-3-bg_01.jpg) center/contain no-repeat;
  background-color: #eff3f9;
}
.sub2-3-list li > div {
  color: #000;
  background-color: #fff;
  border-radius: 45px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 10px 10px 8px -5px rgba(0, 0, 0, 0.1);

  transition: all 0.5s;
}
.sub2-3-list li > div p {
  white-space: pre-line;

  transition: all 0.5s;
}
.sub2-3-list li > div .sub2-3-num {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  background-color: #00457e;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  width: 60px;
  height: 60px;

  transition: all 0.5s;
}

.sub2-3-list li:hover > div .sub2-3-num {
  background-color: #fff;
  color: #00457e;
}

.sub2-3-list li:hover > div {
  color: #fff;
  background-color: #00457e;
}
.sub2-3-list li:hover > div .sub2-3-num {
  background-color: #fff;
  color: #00457e;
}

.sub2-3-card-con .sub2-3-card {
  border-radius: 15px;
  padding: 40px 0px;
  text-align: center;
  background-color: #eff3f9;
  display: flex;
  flex-direction: column;
  height: stretch;
  gap: 10px;
}
.sub2-3-card-con .sub2-3-card b {
  color: #00457e;
}
.sub2-3-card-con .sub2-3-card .sub2-3-card-image {
  transform: translateY(-40px);
  position: relative;
}
.sub2-3-card-con .sub2-3-card .sub2-3-card-image > img {
  border-radius: 20px;
}
.sub2-3-card-con .sub2-3-card .sub2-3-card-image > div {
  overflow: hidden;
  border: 1px solid #fff;
  width: 80px;
  border-radius: 999px;
  position: absolute;
  left: 50%;
  bottom: -40px;
  transform: translateX(-50%);
}
.sub2-3-card-con .sub2-3-card strong {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  color: #00457e;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4;
}
.sub2-3-card-con .sub2-3-card p{
  margin-top: 10px;
  font-size: 16px;
}
.sub2-3-caution-box-con > li > div li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
}
.sub2-3-caution-box-con > li > div li:not(:last-child) {
  border-bottom: 2px dotted #8f8f8f;
}
@media(max-width:1400px) {
  .sub2-3-card-con .sub2-3-card strong {
    font-size: 24px;
  }

  .sub2-3-card-con .sub2-3-card p{
    padding: 8px;
  }
}

@media(max-width:769px) {
  .sub2-3-category .sub2-3-page-btn a {
    font-weight: 700;
    padding: 14px 0;
    font-size: 16px;
    border: 2px solid #00457e;
    border-radius: 16px;
  }

  .sub2-3-category .sub2-3-page-btn.active a {
     border: 2px solid #fff;
  }

  .sub2-3-list li > div{
    border-radius: 15px;
  }

  .sub2-3-list li > div .sub2-3-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .sub2-3-card-con .sub2-3-card{
    /* margin: 80px 10px 10px 10px !important; */
  }
  .sub2-3-card-con .sub2-3-card p{
    font-size: 14px;
  }

  
  .sub2-3-caution-box-con > li > div span {
    display: none;
  }
}



/* sub2-4 */
.sub2-4-card{
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 8px;
  margin: 10px;
  padding: 40px;
  background-color: #fff;
  box-shadow: 9px 10px 21px -3px rgba(0, 0, 0, 0.21);
  border-radius: 15px;
  border: 3px solid #00a6c8;
}
li:nth-child(2) .sub2-4-card{
  border: 3px solid #f386a1;
}
.sub2-4-card a{
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-align: center;
  background-color: #00a6c8;
}
li:nth-child(2) .sub2-4-card a{
  background-color: #f386a1;
}

.sub2-4-card h4 {
  font-weight: 800;
}

.sub2-4-card .sub2-4-card-sub{
  font-size: 24px;
}

.sub2-4-box-con {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sub2-4-box{
  background-color: #f5f6f8;
  border-radius: 30px;
  padding: 20px;
  display: flex;
  gap: 20px;
}

.sub2-4-box h5{
  font-weight: 800;
  color: #004a7c;
}

.sub2-4-box > span:nth-child(1) > img {
  border-radius: 30px;
  overflow: hidden;
}
.sub2-4-box > span:nth-child(2) {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-direction: column;
}

@media(max-width:769px) {
  .sub2-4-card{
    padding: 20px;
  }
  .sub2-4-card a{
    padding: 4px 16px;
    font-size: 16px;
  }
  .sub2-4-card .sub2-4-card-sub{
    font-size: 18px;
  }

  .sub2-4-box{
    flex-direction: column;
    text-align: center;
  }
  
  .sub2-4-box > span:nth-child(2) {
    gap: 4px;
  }
}


/* sub3 */
.sub3-intro .flex li{
  width: 50%;
}
.sub3-intro-sub {
  height: 100%;
  padding: 40px;
  background-color: #00457e;
  color: #fff;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
}
.sub3-box-1 {
  border-radius: 24px;
  background-color: #fff;
  border: 2px solid #00a6c8;
  padding: 24px 40px;
  transition: all 1s;
  text-align: center;
  display: inline-block;
  margin: 0 auto;

  box-shadow: 9px 10px 21px -3px rgba(0, 0, 0, 0.21);
}
.sub3-box-1 ul {
  display: flex;
  justify-content: center;
  gap: 40px;
}
.sub3-box-1 ul li{
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}
.sub3-box-1 ul li p{
  font-weight: 700;
  font-size: 24px;
}

@media(max-width:1200px) {
  .sub3-intro .flex li{
    width: 100%;
  }
  .sub3-box-1 ul li p{
    font-weight: 700;
    font-size: 20px;
  }
}

@media(max-width:769px) {
  .sub3-intro-sub{
    padding: 30px 20px;
  }
  .sub3-box-1 {
    display: block;
    padding: 30px;
  }
  .sub3-box-1 ul{
    flex-direction: column;
    gap: 8px;
  }
  .sub3-box-1 ul li{
    gap: 8px;
  }
}

.sub3-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  text-align: center;
  background-color: #fff;
  color: #000;
}


.sub3-btn {
  border-radius: 15px;
  background-color: #fff;
  border: 2px solid #004a7c;
  color: #004a7c;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  box-shadow: 9px 10px 21px -3px rgba(0, 0, 0, 0.21);
  transition: all 0.5s;
}

.sub3-btn img{
  height: 35px;
}
.sub3-btn p{
  font-weight: 800;
}
.sub3-btn:hover{
  transform: translateY(-4px);
  box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.4);
}
@media(max-width:769px) {
  .sub3-card{
    padding: 20px 8px;
  }
}

.sub3-1-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-1-bg.jpg) center/cover no-repeat;
}
.sub3-2-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-2-bg.jpg) center/cover no-repeat;
}
.sub3-3-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-3-bg.jpg) center/cover no-repeat;
}
.sub3-4-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-4-bg.jpg) center/cover no-repeat;
}
.sub3-5-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-5-bg.jpg) center/cover no-repeat;
}
.sub3-6-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-6-bg.jpg) center/cover no-repeat;
}
.sub3-7-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-7-bg.jpg) center/cover no-repeat;
}
.sub3-8-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-8-bg.jpg) center/cover no-repeat;
}
.sub3-9-bg {
  margin-top: 120px;
  height: 653px;
  color: #fff;
  background: url(../img/sub/sub3-9-bg.jpg) center/cover no-repeat;
}

@media(max-width:769px) {
  .sub3-1-bg,.sub3-2-bg,.sub3-3-bg,.sub3-4-bg,
  .sub3-5-bg,.sub3-6-bg,.sub3-7-bg,.sub3-8-bg,.sub3-9-bg {
    height: auto;
    background: #002a4d;
    padding-bottom: 80px;
  }
}

/* sub4 */
.sub4-banner{
  position: relative;
  height: 700px;
  margin-top: 120px;
  padding-bottom: 120px;
  color: #fff;
  background-color: #000;
}

.sub4-banner:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000000;
  opacity: 0;
  transition: all 1s;
}

.sub4-banner-2{
  margin-top: 120px;
  padding-bottom: 120px;
  color: #fff;
  background-color: #000;
}

.banner-sub {
  height: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: start;
  justify-content: center;
}

.banner-sub p:first-child{
  letter-spacing: 10px;
}
.doctor-name-mini{
  text-align: center;
  display: flex;
  flex-direction: column;
}
.doctor-name-mini > div:last-child{
  display: flex;
  justify-content: center;
}
.doctor-name-mini b {
  margin-left: 10px;
  font-size: 24px;
}
.doctor-name-mini span {
  font-size: 24px;
  font-weight: 700;
  padding-right: 12px;
  border-right: 4px solid #00457e;
}

@media(max-width:769px) {
  .sub4-banner, .sub4-banner-2 {
    margin-top: 80px;
    padding-bottom: 80px;
  }
  .sub4-banner:before{
    opacity: 0.5;
  }
  .banner-sub {
    text-align: center;
    align-items: center;
  }
}



.sub4-card{
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sub4-card > div{
  height: 280px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 10px 10px 24px 0px #1a6eb615;
}
.sub4-card > div:nth-child(2){
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: #fff;
}

.sub4-card p{
  margin-top: 20px;
  text-align: left;
  width: 100%;
  height: 400px;
  line-height: 1.4;
}
.sub4-card strong{
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
}

.sub4-card p:last-child{
  text-align: left;
}

@media(max-width:1100px) {
  .sub4-card > div{
    height: auto;
  }
  .sub4-card > div:nth-child(2){
    padding: 20px;
  }
}

@media(max-width:769px) {
  .sub4-card p{
    height: auto;
  }
  .sub4-card{
    margin: 20px;
    height: auto;
  }
}

.sub4-card > div:last-child > a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  width: 100%;
  padding: 8px;
  border-radius: 999px;
  background-color: #000;
}

li:nth-child(4n+1) .sub4-card a{
  background-color: #004a7c;
}
li:nth-child(4n+2) .sub4-card a{
  background-color: #79a342;
}
li:nth-child(4n+3) .sub4-card a{
  background-color: #f386a1;
}
li:nth-child(4n) .sub4-card a{
  background-color: #00a6c8;
}

li:nth-child(4n+1) .sub4-card > div:nth-child(2) strong,
li:nth-child(4n+1) .sub4-card > div:nth-child(2) span{
  color: #004a7c;
}
li:nth-child(4n+2) .sub4-card > div:nth-child(2) strong,
li:nth-child(4n+2) .sub4-card > div:nth-child(2) span{
  color: #79a342;
}
li:nth-child(4n+3) .sub4-card > div:nth-child(2) strong,
li:nth-child(4n+3) .sub4-card > div:nth-child(2) span{
  color: #f386a1;
}
li:nth-child(4n) .sub4-card > div:nth-child(2) strong,
li:nth-child(4n) .sub4-card > div:nth-child(2) span{
  color: #00a6c8;
}

/* sub4-card-2 */
.sub4-card2{
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sub4-card2 > div{
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 10px 10px 24px 0px #1a6eb615;
}
.sub4-card2 > div:last-child{
  height: 280px;
}
.sub4-card2 > div:last-child{
  height: 330px;
}
.sub4-card2 > div:nth-child(2){
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px 20px;
  background-color: #fff;
}

.sub4-card2 p{
  margin-top: 20px;
  text-align: left;
  width: 100%;
  height: 430px;
  line-height: 1.4;
}
.sub4-card2 strong{
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
}

.sub4-card2 p:last-child{
  text-align: left;
}

@media(max-width:1100px) {
  .sub4-card2 > div{
    height: auto;
  }
  .sub4-card2 > div:nth-child(2){
    padding: 20px;
  }
}

@media(max-width:769px) {
  .sub4-card2 > div:last-child{
    height: auto;
  }
  .sub4-card2 p{
    height: auto;
  }
  .sub4-card2{
    margin: 20px;
    height: auto;
  }
}

.sub4-card2 > div:last-child > a {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
  width: 100%;
  padding: 8px;
  border-radius: 999px;
}

li:nth-child(4n+1) .sub4-card2 a{
  background-color: #004a7c;
}
li:nth-child(4n+2) .sub4-card2 a{
  background-color: #79a342;
}
li:nth-child(4n+3) .sub4-card2 a{
  background-color: #f386a1;
}
li:nth-child(4n) .sub4-card2 a{
  background-color: #00a6c8;
}

li:nth-child(4n+1) .sub4-card2 > div:nth-child(2) strong,
li:nth-child(4n+1) .sub4-card2 > div:nth-child(2) span{
  color: #004a7c;
}
li:nth-child(4n+2) .sub4-card2 > div:nth-child(2) strong,
li:nth-child(4n+2) .sub4-card2 > div:nth-child(2) span{
  color: #79a342;
}
li:nth-child(4n+3) .sub4-card2 > div:nth-child(2) strong,
li:nth-child(4n+3) .sub4-card2 > div:nth-child(2) span{
  color: #f386a1;
}
li:nth-child(4n) .sub4-card2 > div:nth-child(2) strong,
li:nth-child(4n) .sub4-card2 > div:nth-child(2) span{
  color: #00a6c8;
}

.sub4-card-section .tab-content li:first-child img {
  border-radius: 30px;
}

.sub4-card-section {
	 	display: none;
	 	position: fixed;
    z-index: 10001;
	 	top: 0;
	 	left: 0;
	 	right: 0;
	 	bottom: 0;
	 	width: 100%;
	 	height: 100%;
	 	justify-content: center;
	 	align-items: flex-start;
	 	overflow-x: hidden;
	 	overflow-y: auto;
	 	padding: 24px 16px 40px;
	 	box-sizing: border-box;
	 	-webkit-overflow-scrolling: touch;
}

.sub4-card-content {
	 	background-color: #fff;
    overflow: hidden;
	 	border-radius: 15px;
	 	position: relative;
		z-index: 10002;
		margin: 0 auto;
		flex-shrink: 0;
    padding: 60px 80px;
}

.sub4-card-content::before{
  content: '';
  background: url(../img/sub/sub4-card-con-deco.png) center/cover no-repeat;
  position: absolute;
  bottom: 0;
  right: 2%;
  height: 400px;
  width: 400px;
}

.sub4-page-content {
	 	background-color: #fff;
    overflow: hidden;
	 	border-radius: 30px;
	 	position: relative;
    padding: 60px 80px;
    box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.15);
}

.sub4-page-content::before{
  content: '';
  background: url(../img/sub/sub4-card-con-deco.png) center/cover no-repeat;
  position: absolute;
  bottom: 0;
  right: 2%;
  height: 400px;
  width: 400px;
}
.sub4-page-content > ul > li{
  width: 50%;
}

.sub4-card-tab-content > ul > li:nth-child(1){
  max-width: 400px;
  max-height: 500px;
}
.sub4-card-tab-content > ul > li:nth-child(2){
  width: 60%;
  padding-left: 80px;
}

.sub4-card-content-img{
  overflow: hidden;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.sub4-card-content-img img{
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
}

.sub4-card-head{
  display: flex;
  flex-direction: column;
}
.sub4-card-head > p:last-child{
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #004a7c;
  width: 100%;
}
.sub4-card-bottom{
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #004a7c;
}
.sub4-card-body{
  display: flex;
  flex-direction: column;
}
.sub4-card-body strong{
  color: #004a7c;
  font-weight: 800;
  font-size: 24px;
}
.sub4-card-body ul{
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}
.sub4-card-body ul li{
  list-style:disc;
  font-size: 16px;
}

@media(max-width:1200px){
  .sub4-card-section {
    /* position: fixed; */
  }
  .sub4-card-content-img{
  }
  .sub4-card-section .sub4-card-tab-content > ul > li:nth-child(1){
    padding: 10px;
    width: 100%;
  }
  .sub4-card-section .sub4-card-tab-content > ul > li:nth-child(2) {
    padding: 10px;
    width: 100%;
  }

  .sub4-page-content > ul > li:nth-child(1){
    padding: 10px;
    width: 100%;
  }
  .sub4-page-content > ul > li:nth-child(2) {
    padding: 10px;
    width: 100%;
  }
}

@media(max-width:769px) {
  .sub4-page-content > ul > li{
    width: 100%;
  }
  .sub4-card-body strong,
  .sub4-card-body strong{
    font-size: 16px;
  }
  .sub4-card-body ul li,
  .sub4-card-bottom{
    font-size: 14px;
  }
  .sub4-card-content{
    padding: 80px 10px 40px 10px;
  }
  .sub4-page-content{
    padding: 40px 10px;
  }
}

/* sub4-1 */
.sub4-1-banner {
  background: url(../img/sub/sub4-1-bg_01.jpg) center/cover no-repeat;
}
.sub4-1-banner-2 {
  background: url(../img/sub/sub4-1-bg_02.jpg) center/cover no-repeat;
  background-attachment: fixed;
}

/* sub4-2 */
.sub4-2-banner {
  background: url(../img/sub/sub4-2-bg_01.jpg) center/cover no-repeat;
}
/* .sub4-2-banner-2 {
  background: url(../img/sub/sub4-2-bg_02.jpg) center/cover no-repeat;
  background-attachment: fixed;
} */

/* sub4-3 */
.sub4-3-banner {
  background: url(../img/sub/sub4-3-bg_01.jpg) right/cover no-repeat;
}
/* .sub4-3-banner-2 {
  background: url(../img/sub/sub4-3-bg_02.jpg) center/cover no-repeat;
  background-attachment: fixed;
} */

/* sub4-4 */
.sub4-4-banner {
  background: url(../img/sub/sub4-4-bg_01.jpg) right/cover no-repeat;
}
/* .sub4-4-banner-2 {
  background: url(../img/sub/sub4-4-bg_02.jpg) center/cover no-repeat;
  background-attachment: fixed;
} */

/* sub5 */

/* common */
/* 1-1 */
.sub5-common-1_1 {
  
  margin-top: 120px;
  padding-bottom: 120px;
  color: #fff;
  background: url(../img/sub/sub5-common-1-bg.jpg) center/cover no-repeat;
}

@media(max-width:769px) {
  .sub5-common-1_1 {
    margin-top: 80px;
    padding-bottom: 80px;
  }
}

.sub5-common-1_2 ul {
  position: relative;
}
.sub5-common-1_2 ul.flex .txt {
  margin: 0 0 0 30px;
}
.sub5-common-1_2 ul.flex .txt {
  text-align: left;
  margin-bottom: 0;
}
.sub5-common-1_2 ul.flex:nth-of-type(2n) {
  flex-direction: row-reverse;
}
.sub5-common-1_2 ul.flex:nth-of-type(2n) .txt {
  margin: 0 30px 0 0;
}
.sub5-common-1_2 ul.flex:nth-of-type(2n) .txt {
  padding-left: 40px;
}

@media screen and (max-width: 769px) {
  .sub5-common-1_2 ul.flex:nth-of-type(2n) .txt{
    padding-left: 0;
  }
  .sub5-common-1_2 ul:nth-child(2n-1):after {
    left: 15px;
  }
  .sub5-common-1_2 ul:nth-child(2n):after {
    right: 15px;
  }
  .sub5-common-1_2 ul.flex {
    max-width: 500px;
    margin: 0 auto;
  }
  .sub5-common-1_2 ul.flex:not(:first-child) {
    margin-top: 50px;
  }
  .sub5-common-1_2 ul.flex .txt {
    margin: 15px 0 0 15px;
  }
  .sub5-common-1_2 ul.flex:nth-child(2n) .txt {
    margin: 15px 15px 0 0;
  }
  .sub5-common-1_2 .m-block-1 {
    margin-top: 40px;
  }
}

/* 1-2 */
.sub5-common-2_1 {
  margin-top: 120px;
  background-color: #eef5f6;
  padding-bottom: 120px;
}

.sub5-common-2_2 {
  color: #fff;
  background: url(../img/sub/sub5-common-2-bg.jpg) center/cover no-repeat;
  padding-bottom: 120px;
}

@media(max-width:769px) {
  .sub5-common-2_1 {
    margin-top: 80px;
    padding-bottom: 80px;
  }
  .sub5-common-2_2 {
    margin-top: 80px;
    padding-bottom: 80px;
  }
}

.sub5-card{
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  text-align: center;
  background-color: #fff;
  color: #000;
  height: 600px;
}
.sub5-card p{
  margin-top: 20px;
  text-align: left;
  width: 100%;
      line-height: 1.4;
}
.sub5-card strong{
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
}

.sub5-card p:last-child{
  text-align: left;
}

@media(max-width:769px) {
  .sub5-card{
    margin: 20px;
    height: auto;
  }
}

/* sub5-1, 5-2 list */
.sub5-1-list {
  display: flex;
  flex-wrap: wrap;
}
.sub5-1-list li > div {
  margin: 5px;
  background-color: #fff;
  border-radius: 30px;
  padding: 12px;
  box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 12px;
  /* align-items: center; */
}
.sub5-1-list li > div img {
  width: 25px;
  height: 25px;
  margin-top: 2px;
}
.sub5-1-list li p{
  white-space: pre-line;
}

.sub5-1-list li > div .sub5-1-list-num {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #00457e;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  line-height: 0;
}

/* sub5-3 */
.sub5-3-box {
  background-color: #fff;
  border-radius: 30px;
  padding-top: 80px;
  padding-bottom: 80px;
}

@media(max-width:769px) {
  .sub5-3-box {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.sub5-2-list {
  display: flex;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}
.sub5-2-list li > div {
  margin: 5px;
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 30px;
  padding: 12px;
  box-shadow: 10px 10px 10px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
  /* align-items: center; */
}
.sub5-2-list li p{
  white-space: pre-line;
}

.sub5-2-list li > div .sub5-2-list-num {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  width: 30px;
  height: 30px;
  line-height: 0;
}

.sub5-2-list li:nth-child(1) > div {
  border: 2px solid #00457e;
}
.sub5-2-list li:nth-child(2) > div {
  border: 2px solid #ee86a1;
}
.sub5-2-list li:nth-child(1) > div .sub5-2-list-num {
  background-color: #00457e;
}
.sub5-2-list li:nth-child(2) > div .sub5-2-list-num {
  background-color: #ee86a1;
}

/* sub6-5 */
.sub6-5-cards {
  background-color: #eef5f6;
  padding: 120px 0;
}


.sub6-5-card{
  margin: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  box-shadow: 10px 10px 24px 0px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  text-align: center;
  background-color: #fff;
  color: #000;
}
.sub6-5-card p{
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  line-height: 1.4;
  text-align: center;
}
.sub6-5-card strong{
  margin-top: 10px;
  font-size: 24px;
  font-weight: 800;
}

.sub6-5-card h4 {
  font-weight: 700;
}

.sub6-5-card a{
  margin-top: 20px;
  border-radius: 999px;
  font-size: 24px;
  padding: 8px 80px;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sub6-5-card p:last-child{
  text-align: left;
}

.sub6-5-cards li:nth-child(1) p {
  color: #f386a1;
}
.sub6-5-cards li:nth-child(2) p {
  color: #371c1d;
}
.sub6-5-cards li:nth-child(3) p {
  color: #32b44a;
}
.sub6-5-cards li:nth-child(4) p {
  color: #32b44a;
}

.sub6-5-cards li:nth-child(1) a {
  border: 1px solid #f386a1;
}
.sub6-5-cards li:nth-child(2) a {
  border: 1px solid #f8df00;
}
.sub6-5-cards li:nth-child(3) a {
  border: 1px solid #32b44a;
}
.sub6-5-cards li:nth-child(4) a {
  border: 1px solid #32b44a;
}

.sub6-5-img{
  overflow: hidden;
  border-radius: 15px;
}

.sub6-5-info-btn{
  display: inline-block;
  margin-top: 12px;
  background-color: #1a6eb6;
  color: #fff;
  padding: 6px 40px;
  border-radius: 8px;
  font-weight: 700;
}

@media(max-width:769px) {
  .sub6-5-cards{
    margin-top: 40px;
    padding: 80px 0;
  }
  .sub6-5-card{
    margin: 5px;
    height: auto;
  }
  .sub6-5-card a{
    padding: 4px;
    font-size: 14px;
    width: 100%;
  }
}

/* 서브·게시판: AOS 초기화 지연 시 본문이 보이지 않는 현상 방지 */
#container [data-aos],
section[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}