/* 기본 */
#main { color: #222; }
#main * { box-sizing: border-box; }
/* 진료 / 상담 안내 */
#main .sub_con01 .container { padding-top: 0; }
#main .info_box { padding: 40px 0;display: grid; grid-template-columns: minmax(0, 900fr) minmax(0, 556fr); gap: 64px; align-items: stretch; }

/* Swiper */
#main .place_slider { position: relative; width: 100%; min-width: 0; height: auto; aspect-ratio: 900 / 460; margin: 0; overflow: hidden; border-radius: 12px; background: #f4f4f4; touch-action: pan-y; }
#main .place_slider .swiper-wrapper { height: 100%; }
#main .place_slider .swiper-slide { height: 100%; overflow: hidden; }
#main .place_slider .swiper-slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
#main .place_slider .swiper-pagination { bottom: 10px; }
#main .place_slider .swiper-pagination-bullet { width: 9px; height: 9px; margin: 0 5px; background: #fff; opacity: .5; }
#main .place_slider .swiper-pagination-bullet-active { opacity: 1; }

/* 진료 정보 */
#main .clinic_info { display: flex; flex-direction: column; min-width: 0; }
#main .clinic_info h3 { margin-bottom: 32px; font-size: 36px; font-weight: 700; line-height: 1.4; }
#main .clinic_info h4, #main .transport_item h4 { margin-bottom: 12px; color: #A7A7A7; font-size: 20px; line-height: 28px;font-weight: 600; letter-spacing:-0.6px; }
#main .hours_list > div { display: flex; align-items: baseline; gap: 20px; margin-top: 5px; }
#main .hours_list dt { flex: 0 0 56px; font-size: 18px; font-weight: 300; line-height: 26px; letter-spacing: -0.54px; }
#main .hours_list dd { font-size: 18px; font-weight: 500; white-space: nowrap; line-height: 26px; letter-spacing: -0.54px; }
#main .hours_list dd span { display: inline-block; margin: 0 6px; }
#main .closed_notice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; color: #6C6C6C; font-size: 16px; letter-spacing: -0.48px;line-height: 24px; font-weight: 400;}
#main .holiday_badge { display: flex;
	height: 20px;
	padding: 0 10px;
	justify-content: center;
	align-items: center;border-radius: 500px;
	background: #6C6C6C;color: #FFF;
	text-align: center;
	leading-trim: both;
	text-edge: cap;
	font-family: Pretendard;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
	letter-spacing: -0.39px; }
#main .clinic_phone { margin-top: 24px; }
#main .clinic_phone h4 { margin-bottom:12px; }
#main .clinic_phone a { font-size: 24px; font-weight: 700; }
#main .consult_button { display: flex; justify-content: center; align-items: center; gap: 9px; width: 100%; min-height: 56px; margin-top: auto; border-radius: 40px; background: #FFD153; font-size: 18px; font-weight: 600;line-height: 26px;  }

/* 오시는 길 */
#main .location_card { padding: 40px 40px 50px 40px; border-radius: 12px; background: #FAFAFA; margin-top: 40px; }
#main .location_map { height: 460px; overflow: hidden; border-radius: 12px; background: #eee; }
#main .location_map iframe { display: block; width: 100%; height: 100%; object-fit: cover; }
#main .location_address { display: flex; align-items: center; gap: 10px; padding: 40px 4px 24px; border-bottom: 1px solid #D4D4D4; }
#main .location_address svg { flex-shrink: 0; width: 22px; height: 22px; color: #253040; }
#main .location_address p { font-size: 24px; font-weight: 600; line-height: 32px;  }
#main .transport_grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.65fr); gap: 36px; padding-top: 24px; }
#main .transport_item { min-width: 0; }
#main .transport_item p, #main .transport_item dd { color: #222;
	font-family: Pretendard;
	font-size: 18px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;}
#main .transport_item strong { font-weight: 600; }
#main .subway_detail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#main .subway_badge { display: flex;
	height: 28px;
	padding: 0 12px;
	justify-content: center;
	align-items: center;
	gap: 4px; border: 2px solid #FFA53A; border-radius: 30px; line-height: 1.4; white-space: nowrap;color: #222;
	font-family: Pretendard;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; /* 150% */
	letter-spacing: -0.48px;background-color: #fff; }
#main .subway_badge strong { color: #FFA53A; font-weight: 600;}
#main .bus_stop { display: grid; grid-template-columns: minmax(210px, 252px) 1fr; align-items: baseline; gap: 8px; margin-bottom: 12px; }
#main .stop_name {  border-radius: 2px; background: #3C3C3C; color: #fff !important; font-size: 18px; font-weight: 600; text-align: center;line-height: 26px; display: flex;
	width: 252px;
	max-width: 100%;
	min-height: 32px;
	padding: 3px 12px;
	word-break: keep-all;
	align-items: center;
	gap: 4px; }
#main .stop_description { font-size: 15px; }
#main .bus_routes > div { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
#main .bus_badge { flex: 0 0 auto;display: flex;
	height: 28px;
	padding: 0 16px;
	justify-content: center;
	align-items: center;
	gap: 4px;border-radius: 30px;color: #FFF;
	font-family: Pretendard;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px; /* 150% */ }
#main .bus_badge.blue { background: #5196c7; }
#main .bus_badge.red { background: #d97d82; }
#main .bus_routes dd { min-width: 0; }

/* 태블릿 */
@media (max-width: 1400px) {
	#main .info_box { gap: 40px; }
	#main .clinic_info { padding-top: 0; }
	#main .clinic_info h3 { margin-bottom: 24px; font-size: 30px; }
	#main .place_slider { height: 100%; min-height: 390px; aspect-ratio: auto; }
	#main .consult_button { margin-top: 32px; }
	#main .transport_grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.5fr); gap: 24px; }
	#main .bus_stop { grid-template-columns: 1fr; gap: 5px; }
}

/* 모바일 */
@media (max-width: 767px) {
	#main { font-size: 14px; }
	#main .info_box { grid-template-columns: 1fr; gap: 22px; padding: 60px 0;}
	#main .place_slider { height: auto; min-height: 0; aspect-ratio: 288 / 161; border-radius: 8px; }
	#main .place_slider .swiper-pagination { bottom: 6px; }
	#main .clinic_info { padding-top: 0; }
	#main .clinic_info h3 { margin-bottom: 24px; font-size: 28px; letter-spacing: -1.2px; }
	#main .clinic_info h4 { margin-bottom: 8px; font-size: 18px; }
   #main .transport_item h4 { margin-bottom: 4px; font-size: 16px; }
	#main .hours_list > div { gap: 18px; margin-top: 0; }
	#main .transport_item p, #main .transport_item dd {font-size: 14px;}
	#main .hours_list dt,#main .hours_list dd { font-size: 14px; letter-spacing: -.6px; }
	#main .hours_list dd span { margin: 0 3px; }
	#main .closed_notice { gap: 7px; margin-top: 16px; font-size: 14px; }
	#main .clinic_phone { margin-top: 22px; }
	#main .clinic_phone a { font-size: 22px; }
	#main .consult_button { min-height: 56px; margin-top: 32px; font-size: 16px;}
	#main .sub_con02 { padding: 80px 0 60px; }
	#main .location_card { padding: 16px; border-radius: 14px; }
	#main .location_map { height: auto; aspect-ratio: 256 / 200; border-radius: 10px; }
	#main .location_address { flex-direction: column; gap: 4px; padding: 14px 0 12px; text-align: center; }
	#main .location_address svg { width: 18px; height: 18px; }
	#main .location_address p { font-size: 16px; letter-spacing: -.7px; line-height: 1.45; word-break: keep-all; }
	#main .location_address p span { display: block; }
	#main .transport_grid { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; padding-bottom: 16px; }
	#main .subway_detail { gap: 5px; }
	#main .subway_badge { gap: 4px; padding: 1px 11px;font-size: 14px; }
	#main .bus_stop { grid-template-columns: 1fr; gap: 4px; margin-bottom: 15px; }
	#main .stop_name { padding: 6px 10px; font-size: 14px; }
	#main .stop_description { font-size: 14px; }
	#main .bus_routes > div { gap: 8px; margin-top: 14px; }
	#main .bus_badge { min-width: 40px; padding: 1px 9px; font-size: 12px;height: 20px; }
	#main .bus_routes dd { line-height: 1.45; }
}
