﻿/* ==========================================================
   메인 헤더 — 로고 흰색 (main.css는 메인 페이지에서만 로드됨)
   ========================================================== */
.site-header:not(.scrolled) .site-header__logo img {
	filter: brightness(0) invert(1);
}


/* ==========================================================
   메인 공통
   ========================================================== */
.main-sec {
	position: relative;
	overflow: hidden;
	background-color: #fff;
}

.main-sec .inner {
	box-sizing: border-box;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.main-sec .inner.w1400 {
	max-width: 87.5rem;
	position: relative;
}


/* ==========================================================
   SEC 1: 메인 배너
   ========================================================== */
.main-banner {
	height: 62.5rem;
}

/* Swiper CDN이 main.css 이후 로드되어 .swiper{position:relative}가 덮어씌우므로 specificity 높임 */
.main-banner .main-banner__slider {
	position: absolute !important;
	inset: 0;
	z-index: 0;
	height: 100%;
}

/* 슬라이드: 이미지를 배경으로, 텍스트를 그 위에 오버레이 */
.main-banner .main-banner__slider .swiper-slide {
	position: relative;
	height: 100%;
}

.main-banner .main-banner__slider .swiper-slide img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

/* 콘텐츠 오버레이: 각 swiper-slide 안에서 이미지 위에 절대 위치 */
.main-banner .swiper-slide .inner.w1400 {
	position: absolute !important;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	width: 95%;
	max-width: 85rem;
	margin: 0 auto;
	padding: 0;
	z-index: 1;
	display: flex;
	align-items: center;
}

.main-banner__cont {
	display: flex;
	flex-direction: column;
	transform: translateY(-4rem);
}

/* 페이지네이션: swiper 바깥 section 레벨에서 절대 위치 */
.main-banner .main-banner__pagination {
	position: absolute !important;
	top: calc(50% + 3.3rem) !important;
	left: calc((100% - min(95%, 85rem)) / 2) !important;
	bottom: auto !important;
	width: auto !important;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 1rem;
	margin: 3.75rem 0;
	transform: none !important;
	z-index: 2;
}

.main-banner .main-banner__pagination .swiper-pagination-bullet {
	display: block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: #fff;
	opacity: 0.4;
	cursor: pointer;
	transition: opacity 0.25s, transform 0.25s;
	flex-shrink: 0;
	margin: 0 !important;
}

.main-banner .main-banner__pagination .swiper-pagination-bullet-active {
	opacity: 1;
	transform: scale(1.2);
}

/* ==========================================================
   SCROLL DOWN (서브페이지와 동일 디자인)
   ========================================================== */
.scroll-down {
	position: absolute;
	left: 1.25rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.625rem;
	z-index: 5;
}

.scroll-down__text {
	writing-mode: vertical-rl;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 400;
	letter-spacing: 0.1875rem;
	padding-right: 0.625rem;
}

.scroll-down__line {
	position: relative;
	width: 0.0625rem;
	height: 11.4375rem;
	background: rgba(255, 255, 255, 0.2);
	overflow: hidden;
}

.scroll-down__line::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0%;
	width: 0.0625rem;
	height: 0%;
	background: #b78a3f;
	animation: scrollLineDown 2s ease-in-out infinite;
}

@keyframes scrollLineDown {
	0% {
		top: 0%;
		height: 0%;
	}
	50% {
		top: 0%;
		height: 100%;
	}
	100% {
		top: 100%;
		height: 0%;
	}
}


@media screen and (max-width: 75rem) {
	.scroll-down {
		display: none;
	}
}


.main-banner__cont {
	max-width: 38.75rem;
}

.main-banner__eng {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	color: #b78a3f;
	margin-bottom: 1.5rem;
}

.main-banner__title {
	font-size: 3.25rem;
	font-weight: 300;
	line-height: 1.3;
	color: #fff;
	margin-bottom: 1.5rem;
}

.main-banner__title b{
	font-weight: 700;
}

.main-banner__desc {
	font-size: 1.0625rem;
	font-weight: 300;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 3rem;
}

.main-banner__btn {
	display: inline-flex;
	align-items: center;
	height: 3.375rem;
	padding: 0 2rem;
	border: 0.0625rem solid rgba(255, 255, 255, 0.6);
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.03em;
	transition: background 0.2s, border-color 0.2s;
}

.main-banner__btn:hover {
	background: #b78a3f;
	border-color: #b78a3f;
	color: #fff;
}


/* ==========================================================
   SEC 1: 메인 배너 - Slide 04 (365일 진료 배너)
   ========================================================== */
/* 4번 슬라이드 콘텐츠 가로폭 증가 (365 이미지 + 텍스트 가로 정렬 확보) */
.swiper-slide-visual04 .main-banner__cont {
	max-width: 48rem !important;
}

/* 365 이미지 사이즈 조절 및 폰트 사이즈 연계 반응형 설정 */
.main-banner__365-img {
	/*display: inline-block;*/
	vertical-align: middle;
	position: relative !important;
	inset: auto !important;
	height: 2.25em !important; /* 기존 1.35em에서 1.2배 키운 크기 (1.6em) */
	width: auto !important;
	object-fit: contain !important;
	flex-shrink: 0 !important;
	transform: translateY(0.125em); /* 텍스트 베이스라인과 미세 조정 */
	margin-right: -1rem;
	z-index: 1 !important;
}

.main-banner__title--04 {
	line-height: 0.1;
	/*display: flex;*/
	/*align-items: center;*/
	/*gap: 0rem; !* 이미지와 텍스트 사이의 간격 *!*/
	margin-bottom: 3.5rem; /* 첫째 줄과 둘째 줄 사이의 간격 */
}

@media screen and (max-width: 48rem) {
	.main-banner__title {
		font-size: 2.25rem;
	}
}


/* ==========================================================
   SEC 1: 메인 배너 - Slide 05 (수술보다 먼저 배너)
   ========================================================== */
/* 좌우 가운데 정렬 */
.swiper-slide-visual05 .inner.w1400 {
	justify-content: center !important;
}

.swiper-slide-visual05 .main-banner__cont {
	text-align: center;
	align-items: center;
	/* 넓이 변경 및 줄내림 개선 */
	max-width: 55rem !important;
	/* 전체 높이/위치 조정: 하단 의료진 그림들과 겹치지 않도록 위로 이동 */
	transform: translateY(-8rem) !important;
}

@media screen and (max-width: 75rem) {
	.swiper-slide-visual05 .main-banner__cont {
		transform: translateY(-4rem) !important;
	}
}

@media screen and (max-width: 48rem) {
	.swiper-slide-visual05 .main-banner__cont {
		transform: translateY(-2rem) !important;
	}
}


/* ==========================================================
   SEC 2: 메인 뉴스
   ========================================================== */
.main-news {
	height: 62.5rem;
	background-color: #fff;
	overflow: hidden;
}

.main-news__bg {
	position: absolute;
	top: 0;
	left: 0;
	/* 우측 끝이 75rem 컨테이너 내 29.375rem 좌측 패널 끝과 일치하도록 추적
	   viewport/2 - 600(half max-width) + 20(padding) + 470(left panel) = 50% - 6.875rem */
	width: 60rem;
	min-width: 30.625rem;
	height: 100%;
	z-index: 0;
}

.main-news__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.main-news .inner.w1400 {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 3.75rem;
}

.main-news__left {
	flex-shrink: 0;
	width: 24.375rem;
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.main-news__subtitle {
	font-size: 1.125rem;
	letter-spacing: 0.18em;
	color: #fff;
}

.main-news__title {
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.3;
	color: #fff;
	margin-bottom: 3.75rem;
}

.main-news__more {
	display: inline-flex;
	align-items: center;
	justify-content: center; /* 내부 콘텐츠 중앙 정렬 */
	gap: 0.5rem; /* 텍스트와 아이콘 사이 간격 */
	width: 10rem;
	height: 3.3125rem;
	padding: 0; /* 중앙 정렬을 위해 좌우 패딩 제거 */
	border: 0.0625rem solid #fff;
	border-radius: 3.125rem;
	color: #fff;
	font-size: 1.125rem;
	font-weight: 400;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
	align-self: flex-start;
}

.main-news__more img {
	width: 1.0625rem;
	height: 1.0625rem;
	object-fit: contain;
	transition: filter 0.2s;
}

.main-news__more:hover {
	background-color: #fff;
	border-color: #fff;
	color: #b78a3f;
}

.main-news__more:hover img {
	/* #b78a3f 색상에 맞춘 filter 값 */
	filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(500%) hue-rotate(5deg);
}
.main-news__slider {
	flex-shrink: 0;
	width: 87.375rem;
	overflow: hidden;
	position: relative;
}

.main-news__list {
	display: flex;
	gap: 1.125rem;
	flex-wrap: nowrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-news__item {
	flex-shrink: 0;
	width: 28.375rem;
}

.main-news__card {
	display: block;
	height: 32.5rem;
	background: #fff;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 0.0625rem solid #e0e0e0;
}

.main-news__card-img {
	width: 100%;
	height: 21.25rem;
	overflow: hidden;
	background: #2a2e35;
}

.main-news__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.main-news__card:hover .main-news__card-img img {
	transform: scale(1.05);
}

.main-news__card-body {
	height: 11.25rem;
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

.main-news__card-title {
	font-size: 1.25rem;
	font-weight: 500;
	color: #222;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.main-news__card-excerpt {
	font-size: 1.125rem;
	color: #9e9e9e;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	margin-top: 0.5rem;
}

.main-news__card-date {
	font-size: 1rem;
	color: #666666;
	margin-top: 0.5rem;
}


/* ==========================================================
   SEC 3: 소개 1
   ========================================================== */
.main-intro1 {
	height: 63.125rem;
}

.main-intro1__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.main-intro1__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.main-intro1 .inner.w1400 {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 5rem;
}

.main-intro1__text {
	flex: 1;
	min-width: 0;
}

.main-intro1__label {
	font-size: 1.125rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #b78a3f;
	margin-bottom: 1.5rem;
}

.main-intro1__title {
	font-size: 3rem;
	font-weight: 500;
	line-height: 1.35;
	color: #222;
	margin-bottom: 1.75rem;
}

.main-intro1__title b {
	font-weight: 700;
}

.main-intro1__desc {
	font-size: 1.25rem;
	font-weight: 300;
	color: #666;
	margin-bottom: 3rem;
}

.main-intro1__desc b {
	color: #a26f20;
	font-weight: 700;
}


/* ==========================================================
   SEC 4: 소개 2
   ========================================================== */
.main-intro2 {
	height: 62.5rem;
}

.main-intro2__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.main-intro2__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.main-intro2 .inner.w1400 {
	position: relative;
	z-index: 1;
	height: 100%;
	display: flex;
	align-items: center;
}

.main-intro2__cont {
	max-width: 53.75rem;
}

.main-intro2__label {
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #d1ac6d;
	margin-bottom: 1.125rem;
}

.main-intro2__title {
	font-size: 3rem;
	font-weight: 300;
	line-height: 1.5;
	color: #fff;
	margin-bottom: 3rem;
}

.main-intro2__title b {
	font-weight: 700;
}

.main-intro2__desc {
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.85;
	color: #fff;
}


/* ==========================================================
   SEC 5: 의료진 섹션 공통 — 상단 40% #fff, 하단 60% #f5f5f5
   ========================================================== */
.main-doctor-sec {
	background: linear-gradient(to bottom, #fff 41.5%, #f5f5f5 41.5%);
}

/* ==========================================================
   SEC 5-A: 신체 부위 네비
   ========================================================== */
.main-body-nav {
	background: transparent;
	padding: 5.625rem 0;
}

.main-body-nav .inner.w1400 {
	text-align: center;
}

.main-body-nav__label {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #d1ac6d;
	margin: 3.25rem 0 1rem 0;
}

.main-body-nav__title {
	font-size: 3rem;
	font-weight: 500;
	color: #222;
	margin-bottom: 3.75rem;
}

.main-body-nav__list {
	display: flex;
	justify-content: center;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-body-nav__list li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.875rem;
	width: 8.75rem;
	padding: 2.25rem 0;
	margin: 0 1.5rem;
	transition: border-color 0.2s, background 0.2s;
}

.main-body-nav__list li a:hover {
	/*border-color: #b78a3f;*/
	/*background: #faf7f1;*/
}

.main-body-nav__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 9.375rem;
	height: 9.375rem;
}

.main-body-nav__icon img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.main-body-nav__text {
	font-size: 1.5rem;
	font-weight: 500;
	color: #222;
}

.main-body-nav__list li a:hover .main-body-nav__text {
	color: #b78a3f;
}


/* ==========================================================
   SEC 5-B: 치료 하이라이트
   ========================================================== */
.main-treat {
	padding: 5.625rem 0;
}

.main-treat__card {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 31.25rem;
	padding: 4.375rem 5rem;
}

.main-treat__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.main-treat__bg img {
	width: 100%;
	height: 100%;
	border-radius: 1.25rem;
	object-fit: cover;
}

.main-treat__text {
	position: relative;
	z-index: 1;
	max-width: 100%;
	text-align: center;
}

.main-treat__label {
	font-size: 1.25rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #d1ac6d;
	margin-bottom: 1rem;
}

.main-treat__title {
	font-size: 3rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 3rem;
}

.main-treat__desc {
	font-size: 1.25rem;
	font-weight: 300;
	color: #fff;
	margin-bottom: 2.5rem;
}

.main-treat__prev,
.main-treat__next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 3rem;
	height: 3rem;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.7;
	transition: opacity 0.2s;
	z-index: 1;
}

.main-treat__prev { left: 1.5rem; }
.main-treat__next { right: 1.5rem; }

.main-treat__prev:hover,
.main-treat__next:hover { opacity: 1; }

.main-treat__prev img,
.main-treat__next img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.main-treat__next img { transform: rotate(180deg); }

.main-treat__pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.main-treat__bullet {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: none;
	padding: 0;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.25s, transform 0.25s;
}

.main-treat__bullet--active {
	background: #fff;
	transform: scale(1.25);
}


/* ==========================================================
   SEC 5-C: 의료진
   ========================================================== */
.main-doctors {
	background: transparent;
	padding: 6.25rem 0;
}

.main-doctors__header {
	text-align: center;
	margin-bottom: 3.75rem;
}

.main-doctors__label {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #b78a3f;
	margin-bottom: 1rem;
}

.main-doctors__title {
	font-size: 3rem;
	font-weight: 300;
	color: #222;
	margin-bottom: 0.875rem;
}

.main-doctors__count {
	font-weight: 700;
	color: #b78a3f;
}

.main-doctors__desc {
	font-size: 1.25rem;
	font-weight: 300;
	color: #777;
}

.main-doctors__slider {
	position: relative;
	padding-bottom: 2.5rem;
}

.main-doctors__list {
	list-style: none;
	padding: 0;
	margin: 0 0 3.125rem 0;
}

.main-doctors__item {
	cursor: pointer;
}

.main-doctors__img {
	position: relative;
	height: 33.125rem;
	overflow: hidden;
	background: transparent;
}

.main-doctors__img-box {
	position: absolute;
	border-radius: 1rem;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 16.25rem;
	background: #fff;
	z-index: 0;
}

.main-doctors__img img {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	/*width: 18.625rem;*/
	/*height: 32.5rem;*/
	object-fit: cover;
	z-index: 1;
	transition: transform 0.4s;
}

.main-doctors__item:hover .main-doctors__img img {
	transform: translateX(-50%) scale(1.04);
}

.main-doctors__info {
	padding: 1.25rem 0 0;
	text-align: center;
}

.main-doctors__part {
	font-size: 1.125rem;
	font-weight: 700;
	color: #9e9e9e;
	margin-bottom: 0.375rem;
}

.main-doctors__name {
	font-size: 2.375rem;
	color: #333;
	margin-bottom: 1rem;
}

.main-doctors__name strong {
	font-size: 2.375rem;
	font-weight: 700;
	color: #222;
	margin-right: 0.25rem;
}

.main-doctors__pagination {
	margin-top: 2.25rem;
	text-align: center;
}

.main-doctors__pagination .swiper-pagination-bullet {
	background: #ccc;
	opacity: 1;
}

.main-doctors__pagination .swiper-pagination-bullet-active {
	background: #b78a3f;
}

.main-doctors__prev,
.main-doctors__next {
	position: absolute;
	top: 35%;
	z-index: 10;
	width: 2.875rem;
	height: 2.875rem;
	background: #fff;
	border: 0.0625rem solid #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s;
}

.main-doctors__prev::after,
.main-doctors__next::after {
	font-size: 1rem;
	color: #555;
}

.main-doctors__prev:hover,
.main-doctors__next:hover {
	background: #b78a3f;
	border-color: #b78a3f;
}

.main-doctors__prev:hover::after,
.main-doctors__next:hover::after {
	color: #fff;
}

.main-doctors__prev {
	left: -1.4375rem;
}

.main-doctors__next {
	right: -1.4375rem;
}


/* ==========================================================
   SEC 6: 커뮤니티
   ========================================================== */
.main-community {
	padding: 5rem 0;
	background-color: #fff;
}

.main-community .inner.w1400 {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.main-community__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.main-community__label {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: #b78a3f;
	margin-bottom: 0.75rem;
}

.main-community__title {
	font-size: 2.25rem;
	font-weight: 700;
	color: #222;
}

.main-community__more {
	display: inline-flex;
	align-items: center;
	justify-content: center; /* 내부 콘텐츠 중앙 정렬 */
	gap: 0.5rem; /* 텍스트와 아이콘 사이 간격 */
	width: 10rem;
	height: 3.3125rem;
	padding: 0; /* 중앙 정렬을 위해 좌우 패딩 제거 */
	border: 0.0625rem solid #ccc;
	border-radius: 3.125rem;
	color: #555;
	font-size: 1.125rem;
	font-weight: 400;
	transition: border-color 0.2s, color 0.2s;
	align-self: flex-start;
}

.main-community__more img {
	width: 1.0625rem;
	height: 1.0625rem;
	object-fit: contain;
	filter: brightness(0) invert(0.333);
	transition: filter 0.2s;
}

.main-community__more:hover {
	border-color: #b78a3f;
	color: #b78a3f;
}

.main-community__more:hover img {
	filter: brightness(0) saturate(100%) invert(55%) sepia(60%) saturate(500%) hue-rotate(5deg);
}


.main-community__list {
	display: flex;
	gap: 1.875rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.main-community__item {
	flex: 0 0 calc((100% - 3.75rem) / 3);
	max-width: calc((100% - 3.75rem) / 3);
}

.main-community__card {
	display: block;
	height: 32.625rem;
	background: #fff;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 0.0625rem solid #e0e0e0;
}

.main-community__card-img {
	width: 100%;
	height: 21.25rem;
	overflow: hidden;
	background: #eee;
}

.main-community__card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.main-community__card:hover .main-community__card-img img {
	transform: scale(1.05);
}

.main-community__card-body {
	height: 11.375rem;
	padding: 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

.main-community__card-title {
	font-size: 1.5rem;
	font-weight: 600;
	color: #222222;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.main-community__card-excerpt {
	font-size: 1.125rem;
	color: #9e9e9e;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
	margin-top: 0.5rem;
}

.main-community__card-date {
	font-size: 1rem;
	color: #666666;
	margin-top: 0.5rem;
}

.main-community__item--empty p {
	padding: 2.5rem 0;
	text-align: center;
	color: #999;
}


/* ==========================================================
   반응형 — 태블릿 (≤75rem)
   ========================================================== */

@media (max-width: 75rem) {
	.main-banner {
		height: 43.75rem;
	}

	.main-news {
		height: auto;
		padding: 5rem 0;
	}

	.main-news .inner.w1400 {
		flex-direction: column;
		align-items: flex-start;
		height: auto;
		gap: 2.5rem;
	}

	.main-news__left {
		width: 100%;
	}

	.main-intro1 {
		height: auto;
		padding: 5rem 0;
	}

	.main-intro1 .inner.w1400 {
		height: auto;
		gap: 3.125rem;
	}

	.main-intro1__img {
		height: 30rem;
	}

	.main-intro2 {
		height: 43.75rem;
	}

	.main-body-nav__list li a {
		width: 6.875rem;
		padding: 1.625rem 0;
	}

	.main-treat__card {
		gap: 3.125rem;
	}

	.main-treat__img {
		height: 23.75rem;
	}

	.main-community {
		padding: 4rem 0;
	}
}

/* ==========================================================
   반응형 — 태블릿 (≤64rem)
   ========================================================== */

@media (max-width: 56.25rem) {
	.main-body-nav__list {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0.625rem 0;
	}

	.main-body-nav__list li {
		width: 25%;
	}

	.main-body-nav__list li a {
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.625rem;
		width: auto;
		padding: 1.25rem 0.5rem;
		margin: 0;
	}

	.main-body-nav__icon {
		flex-shrink: 0;
	}

	.main-body-nav__text {
		text-align: center;
	}
}



/* ==========================================================
   반응형 — 모바일 (≤48rem)
   ========================================================== */

@media (max-width: 48rem) {
	.main-banner {
		height: 35rem;
	}

	.main-banner__desc {
		margin-bottom: 2rem;
	}

	.main-banner__btn {
		height: 2.875rem;
		padding: 0 1.375rem;
	}

	.main-news__slider {
		width: 100%;
	}

	.main-news__list {
		flex-direction: column;
		gap: 1.25rem;
	}

	.main-news__item {
		width: 100%;
	}

	.main-news__card {
		height: auto;
	}

	.main-news__card-img {
		height: 13.75rem;
	}

	.main-news__card-body {
		height: auto;
	}

	.main-intro1 .inner.w1400 {
		flex-direction: column;
		gap: 2.25rem;
	}

	.main-intro1__img {
		width: 100%;
		height: 18.75rem;
	}

	.main-intro2 {
		height: 31.25rem;
	}

	.main-body-nav__list li {
		width: 50%;
	}

	.main-treat__card {
		flex-direction: column;
		gap: 2.25rem;
	}

	.main-treat__img {
		width: 100%;
		height: 16.25rem;
	}

	.main-doctors__prev {
		left: 0;
	}

	.main-doctors__next {
		right: 0;
	}

	.main-community__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
	}

	.main-community__list {
		flex-direction: column;
		gap: 1.25rem;
	}

	.main-community__item {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.main-community__card {
		height: auto;
	}

	.main-community__card-img {
		height: 13.75rem;
	}

	.main-community__card-body {
		height: auto;
	}
	.main-doctors__img img {
		width: 100%;
		max-width: 240px;
	}
}



/* ==========================================================
   스크롤 페이드인
   ========================================================== */
.scroll-fade {
	opacity: 0;
	transform: translateY(1.75rem);
	transition: opacity 0.65s ease, transform 0.65s ease;
}

.scroll-fade.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* 뉴스·커뮤니티 카드 stagger */
.main-news__item.scroll-fade:nth-child(2),
.main-community__item.scroll-fade:nth-child(2) {
	transition-delay: 0.12s;
}
.main-news__item.scroll-fade:nth-child(3),
.main-community__item.scroll-fade:nth-child(3) {
	transition-delay: 0.24s;
}

/* 진료 아이콘 nav stagger */
.main-body-nav__list li.scroll-fade:nth-child(2) { transition-delay: 0.06s; }
.main-body-nav__list li.scroll-fade:nth-child(3) { transition-delay: 0.12s; }
.main-body-nav__list li.scroll-fade:nth-child(4) { transition-delay: 0.18s; }
.main-body-nav__list li.scroll-fade:nth-child(5) { transition-delay: 0.24s; }
.main-body-nav__list li.scroll-fade:nth-child(6) { transition-delay: 0.30s; }
.main-body-nav__list li.scroll-fade:nth-child(7) { transition-delay: 0.36s; }
