/* ===== 공통 : PC 전용, 화면을 줄여도 레이아웃 크기 유지 (콘텐츠 1720 + 좌우 여백 16) ===== */
body { min-width: 1752px; }

/* ===== section01 : 메인 슬라이드 ===== */
#section01 { position: relative; width: 100%; overflow: hidden; background: #f4f4f4; }
#section01 .main_slide_track { display: flex; transition: transform 0.6s ease; }
#section01 .main_slide_item { position: relative; flex: 0 0 100%; overflow: hidden; }
#section01 .main_slide_item > a { display: block; width: 100%; }
#section01 .main_slide_item img { display: block; width: 1920px; max-width: none; height: 650px; margin-left: 50%; transform: translateX(-50%); }

/* 슬라이드 텍스트 : 이미지 왼쪽 빈 영역(1920 기준 0~960) 가운데 */
#section01 .main_slide_txt { position: absolute; top: 0; bottom: 0; left: calc(50% - 960px); width: 1060px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 20px; box-sizing: border-box; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; text-align: center; }
#section01 .main_slide_txt .sub { font-size: 25px; font-weight: 500; color: #444; }
#section01 .main_slide_txt h2 { margin-top: 36px; font-size: 60px; font-weight: 700; line-height: 1.42; letter-spacing: -0.02em; color: #1b2440; }
#section01 .main_slide_txt h2 strong { font-weight: 700; color: #2b7de9; }
#section01 .main_slide_txt .btn { display: inline-block; margin-top: 56px; padding: 0 40px; height: 42px; line-height: 42px; border-radius: 21px; background: #0d5bb5; font-size: 18px; font-weight: 500; color: #fff; text-decoration: none; transition: background 0.2s; }
#section01 .main_slide_txt .btn:hover { background: #0a4791; }

/* 슬라이드02 : 화면 가운데 정렬 */
#section01 .main_slide_txt.type02 { width: 1920px; padding: 35px 0 0; color: #fff; }
#section01 .type02 h2 { margin-top: 0; font-size: 48px; line-height: 1.4; letter-spacing: -0.02em; color: #fff; }
#section01 .type02 h2 strong { color: #2bb8f5; }
#section01 .type02 .desc { margin-top: 57px; font-size: 40px; font-weight: 600; line-height: 82px; letter-spacing: -0.02em; color: #ffc93c; }
#section01 .type02 .desc u { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; }
#section01 .type02 .last { font-size: 56px; font-weight: 400; line-height: 82px; letter-spacing: -0.02em; }
#section01 .type02 .last strong { font-weight: 700; }
#section01 .type02 .btn { margin-top: 36px; }

/* 슬라이드가 보일 때마다 텍스트 페이드업 */
#section01 .main_slide_txt > * { opacity: 0; }
#section01 .main_slide_item.active .main_slide_txt > * { animation: aniUp 0.8s ease both; }
#section01 .main_slide_item.active .main_slide_txt > :nth-child(1) { animation-delay: 0.3s; }
#section01 .main_slide_item.active .main_slide_txt > :nth-child(2) { animation-delay: 0.45s; }
#section01 .main_slide_item.active .main_slide_txt > :nth-child(3) { animation-delay: 0.6s; }
#section01 .main_slide_item.active .main_slide_txt > :nth-child(4) { animation-delay: 0.75s; }
@media (prefers-reduced-motion: reduce) {
  #section01 .main_slide_txt > *,
  #section01 .main_slide_item.active .main_slide_txt > * { opacity: 1; animation: none; }
}

/* 페이지 번호 + 화살표 */
#section01 .main_slide_ctrl { position: absolute; left: calc(50% - 922px); bottom: 8%; z-index: 2; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: #222; }
#section01 .main_slide_count { display: flex; align-items: flex-start; line-height: 1; }
#section01 .main_slide_count .current { font-size: 32px; font-weight: 700; }
#section01 .main_slide_count .bar { display: inline-block; width: 1px; height: 30px; margin: 0 4px 0 6px; background: #222; transform: rotate(25deg); }
#section01 .main_slide_count .total { align-self: flex-end; font-size: 12px; font-weight: 700; color: #555; }
#section01 .main_slide_arrows { display: flex; gap: 18px; margin-top: 12px; padding-left: 12px; }
#section01 .main_slide_arrows button { position: relative; width: 30px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; }
#section01 .main_slide_arrows button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 12px; border-top: 3px solid #333; border-right: 3px solid #333; }
#section01 .main_slide_arrows .prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
#section01 .main_slide_arrows .next::before { transform: translate(-70%, -50%) rotate(45deg); }
#section01 .main_slide_arrows button:hover::before { border-color: #1a73e8;}

/* 어두운 배경 슬라이드일 때 (js에서 #section01에 .dark 부여) */
#section01 .main_slide_ctrl { transition: color 0.6s; }
#section01 .main_slide_count .bar,
#section01 .main_slide_count .total,
#section01 .main_slide_arrows button::before { transition: background 0.6s, border-color 0.6s, color 0.6s; }
#section01.dark .main_slide_ctrl { color: #fff; }
#section01.dark .main_slide_count .bar { background: #fff; }
#section01.dark .main_slide_count .total { color: rgba(255,255,255,0.7); }
#section01.dark .main_slide_arrows button::before { border-color: #fff; }
#section01.dark .main_slide_arrows button:hover::before { border-color: #2bb8f5; }

/* ===== section02 : 보건복지부 인증 (1920 기준, 콘텐츠 폭 1720) ===== */
#section02 { padding: 58px 0 44px; background: #fff; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: #222; }
#section02 .inner { max-width: calc(1720px + 32px); margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
#section02 strong { font-weight: 700; }

#section02 .sec02_title { margin-bottom: 44px; text-align: center; }
#section02 .sec02_title h2 {  align-items: center; justify-content: center; gap: 14px; font-size: 38px; line-height: 1.3; }
#section02 .sec02_title h2 img { width: 48px; height: auto; padding-right: 10px; transform: translateY(7px);}
#section02 .sec02_title p { margin-top: 22px; font-size: 24px; color: #555; }

#section02 .sec02_list { display: flex; gap: 20px; }
#section02 .sec02_list li { display: flex; flex: 1; align-items: center; gap: 24px; padding: 26px 30px; border: 1px solid #d9dde3; border-radius: 6px; box-sizing: border-box; transition: border-color 0.3s, box-shadow 0.3s; }
#section02 .sec02_list li:hover { border-color: #1d5fd1; box-shadow: 0 10px 30px rgba(29,95,209,0.15); }
#section02 .sec02_list .img { flex: 0 0 215px; }
#section02 .sec02_list .img img { display: block; width: 100%; height: auto; transition: transform 0.4s ease; }
#section02 .sec02_list li:hover .img img { transform: scale(1.05); }
#section02 .sec02_list h3::after { transition: width 0.3s ease; }
#section02 .sec02_list li:hover h3::after { width: 60px; }
#section02 .sec02_list .txt { flex: 1; min-width: 0; }

#section02 .badge { display: inline-block; padding: 8px 18px; border-radius: 30px; background: #233a95; font-size: 17px; font-weight: 500; color: #fff; }
#section02 .label { margin-top: 20px; font-size: 23px; }
#section02 h3 { position: relative; margin-top: 8px; padding-bottom: 20px; font-size: 32px; font-weight: 700; color: #1d5fd1; }
#section02 h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: #1d5fd1; }
#section02 h3 sup { font-size: 23px; vertical-align: top; }
#section02 .desc { margin-top: 20px; padding-left: 17px; font-size: 16px; line-height: 1.7; color: #333; text-indent: -17px; white-space: nowrap;}
#section02 .desc em { color: #1d5fd1; }
#section02 .desc.note { color: #1d5fd1; }

#section02 .btn { display: flex; align-items: center; width: fit-content; height: 45px; margin: 20px 0 0 auto; padding: 0 14px; border: 1px solid #1a2b5e; border-radius: 30px; box-sizing: border-box; font-size: 17px; color: #1a2b5e; text-decoration: none; white-space: nowrap; transition: padding 0.4s ease, background 0.4s, color 0.4s, border-color 0.4s; }
#section02 .btn .ico { display: inline-block; max-width: 20px; overflow: hidden; font-size: 16px; transition: max-width 0.4s ease, opacity 0.3s; }
#section02 .btn .more { display: inline-block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width 0.4s ease, opacity 0.3s 0.1s; }
#section02 .sec02_list li:hover .btn { padding: 0 22px; border-color: #233a95; background: #233a95; color: #fff; }
#section02 .sec02_list li:hover .btn .ico { max-width: 0; opacity: 0; }
#section02 .sec02_list li:hover .btn .more { max-width: 120px; opacity: 1; }
@media (max-width: 1024px) {
  #section02 .btn,
  #section02 .sec02_list li:hover .btn { padding: 0 22px; border-color: #1a2b5e; background: none; color: #1a2b5e; transition: none; }
  #section02 .btn .ico { display: none; }
  #section02 .btn .more { max-width: none; opacity: 1; transition: none; }
}

/* ===== section03 : 병원 소개 / 공동 임상연구 (1920 기준, 콘텐츠 폭 1720) ===== */
#section03 { position: relative; overflow: hidden; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: #fff; }
#section03 .inner { position: relative; max-width: 1720px; margin: 0 auto; box-sizing: border-box; }
#section03 strong { font-weight: 700; }
#section03 .btn { display: inline-block; padding: 8px 22px; border: 1px solid rgba(255,255,255,0.4); border-radius: 30px; font-size: 16px; color: #fff; text-decoration: none; white-space: nowrap; transition: background 0.2s, color 0.2s; }
#section03 .btn:hover { background: #fff; color: #1f2a5c; }

/* 상단 */
#section03 .sec03_top { position: relative; background: #fff; }
#section03 .sec03_top::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: 310px; background: #222b5c; }
#section03 .sec03_top .inner { display: flex; align-items: flex-start; justify-content: center; gap: 50px; padding-top: 58px; padding-bottom: 50px;}
#section03 .sec03_building { flex: 0 0 47%; }
#section03 .sec03_building img,
#section03 .sec03_sign img { display: block; width: 100%; height: auto; }
#section03 .sec03_intro { flex: 0 0 46.8%; }
#section03 .since { margin-top: 40px; font-size: 54px; font-weight: 800; line-height: 1.1; color: #ffc21a; }
#section03 .sec03_intro h2 { margin-top: 18px; font-size: 38px; font-weight: 700; line-height: 1.5; }
#section03 .sec03_desc { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 34px; }
#section03 .sec03_desc p { font-size: 22px; line-height: 1.85; color: rgba(255,255,255,0.85); }
#section03 .sec03_desc p strong { color: #ffc21a; }

/* 하단 */
#section03 .sec03_bottom { position: relative; background: #23409a; }
#section03 .sec03_bottom::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: calc(50% + 45px); background: url(../images/sec03_bg.png) no-repeat center / cover; }
#section03 .sec03_bottom .inner { z-index: 1; display: flex; align-items: flex-start; min-height: 560px; }
#section03 .sec03_research { position: relative; z-index: 1; flex: 0 0 46.8%; padding: 105px 0 80px 0; box-sizing: border-box; }
#section03 .sec03_research h3 { font-size: 42px; font-weight: 700; line-height: 1.6; }
#section03 .sec03_research .tag { display: inline-flex; margin-top: 36px; border: 2px solid #1ee3f2; font-size: 34px; font-weight: 700; line-height: 1; }
#section03 .sec03_research .tag strong { padding: 14px 16px; background: #1ee3f2; color: #0d1d55; font-weight: 900; }
#section03 .sec03_research .tag span { padding: 14px 16px; color: #1ee3f2; }
#section03 .sec03_research .desc { margin-top: 36px; font-size: 22px; line-height: 1.75; color: rgba(255,255,255,0.85); }

#section03 .sec03_paper { position: relative; z-index: 2; flex: 1; min-width: 0; margin-top: 78px; overflow: hidden; }
#section03 .sec03_paper_list { display: flex; gap: 30px; }
#section03 .sec03_paper_list.move { transition: transform 0.6s ease; }
#section03 .sec03_paper_list li { flex: 0 0 calc((100% - 30px) / 2); min-width: 0; text-align: center; }
#section03 .sec03_paper_list img { display: block; width: 100%; max-width: 550px; height: auto; aspect-ratio: 712 / 475; object-fit: contain; margin: 0 auto; }
#section03 .sec03_paper_list .tit { margin-top: 30px; font-size: 22px; font-weight: 700; line-height: 1.4; word-break:keep-all;}
#section03 .sec03_paper_list .btn { margin-top: 16px; }
#section03 .sec03_paper_arrows { display: flex; justify-content: center; gap: 10px; margin: 30px 0 40px; }
#section03 .sec03_paper_arrows button { position: relative; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; background: transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
#section03 .sec03_paper_arrows button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 2px solid #fff; border-right: 2px solid #fff; }
#section03 .sec03_paper_arrows .prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
#section03 .sec03_paper_arrows .next::before { transform: translate(-70%, -50%) rotate(45deg); }
#section03 .sec03_paper_arrows button:hover { border-color: #fff; background: #fff; }
#section03 .sec03_paper_arrows button:hover::before { border-color: #1f2a5c; }

/* 등장 애니메이션 (섹션2~7 공통) : 요소별 transition 설정과 충돌하지 않도록 animation 사용 */
.ani { opacity: 0; }
.ani.on { animation: aniUp 0.8s ease both; }
.ani.on[data-delay="1"] { animation-delay: 0.15s; }
.ani.on[data-delay="2"] { animation-delay: 0.3s; }
.ani.on[data-delay="3"] { animation-delay: 0.45s; }
@keyframes aniUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ani, .ani.on { opacity: 1; animation: none; }
}

/* ===== section04 : 진료과목 슬라이드 (1920 기준, 콘텐츠 폭 1720) ===== */
#section04 { padding: 75px 0 90px; overflow: hidden; background: #fff; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: #222; }
#section04 .inner { max-width: calc(1720px + 32px); margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
#section04 .sec04_head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 50px; }
#section04 h2 { font-size: 36px; line-height: 1.3; }
#section04 h2 strong { font-weight: 700; }
#section04 .sec04_arrows { display: flex; gap: 10px; }
#section04 .sec04_arrows button { position: relative; width: 50px; height: 50px; padding: 0; border: 1px solid #d9dde3; border-radius: 50%; background: transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
#section04 .sec04_arrows button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 2px solid #222; border-right: 2px solid #222; }
#section04 .sec04_arrows .prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
#section04 .sec04_arrows .next::before { transform: translate(-70%, -50%) rotate(45deg); }
#section04 .sec04_arrows button:hover { border-color: #233a95; background: #233a95; }
#section04 .sec04_arrows button:hover::before { border-color: #fff; }

#section04 .sec04_slider { position: relative; }
#section04 .sec04_track { display: flex; gap: 32px; }
#section04 .sec04_track.move { transition: transform 0.6s ease; }
#section04 .sec04_track li { flex: 0 0 298px; }
#section04 .sec04_track a { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border: 1px solid transparent; border-radius: 8px; background: #fff; box-sizing: border-box; text-decoration: none; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
#section04 .sec04_track img { display: block; width: 100%; height: 100%; object-fit: cover; }
#section04 .sec04_track a::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0) 45%, rgba(0,0,0,0.45) 100%); transition: opacity 0.3s; }
#section04 .sec04_track .name { position: absolute; z-index: 1; left: 0; right: 0; bottom: 22px; font-size: 20px; font-weight: 700; color: #fff; text-align: center; transition: opacity 0.3s; }
#section04 .sec04_track .view { position: absolute; z-index: 1; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #e60012; font-size: 13px; font-weight: 800; color: #fff; opacity: 0; transform: translate(-50%, -50%) scale(0.5); transition: opacity 0.3s, transform 0.3s; }

/* 호버 : 어둡게 깔린 그라데이션·이름 숨기고 VIEW + 표시 */
#section04 .sec04_track a:hover { border-color: #e5e5e5; transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
#section04 .sec04_track a:hover::after,
#section04 .sec04_track a:hover .name { opacity: 0; }
#section04 .sec04_track a:hover .view { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ===== section05, 06 공통 : 유튜브 영상 레이아웃 (1920 기준, 콘텐츠 폭 1720) ===== */
.video_sec { padding: 50px 0; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: #222; }
.video_sec .inner { max-width: calc(1720px + 32px); margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.video_sec strong { font-weight: 700; }

.video_sec .sec05_title { margin-bottom: 40px; }
.video_sec .sec05_title p { font-size: 20px; color: #444; }
.video_sec .sec05_title h2 { margin-top: 14px; font-size: 36px; line-height: 1.3; }

.video_sec .sec05_cont { display: flex; align-items: flex-start; gap: 70px; }
.video_sec .sec05_main { flex: 0 0 46%; }
.video_sec .video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; }
.video_sec .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video_sec .sec05_main .tit { margin-top: 28px; font-size: 20px; font-weight: 500; line-height: 1.5; text-align: center; }

.video_sec .sec05_side { flex: 1; min-width: 0; }
.video_sec .sec05_list li + li { border-top: 1px solid #dfe1e5; }
.video_sec .sec05_list a { display: flex; align-items: flex-start; gap: 26px; padding: 16px 0; color: #222; text-decoration: none; }
.video_sec .sec05_list li:first-child a { padding-top: 0; }
.video_sec .sec05_list .thumb { position: relative; flex: 0 0 245px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: #000; }
.video_sec .sec05_list .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.video_sec .sec05_list .thumb em { position: absolute; right: 6px; bottom: 6px; padding: 2px 5px; border-radius: 3px; background: rgba(0,0,0,0.8); font-size: 12px; font-style: normal; color: #fff; }
.video_sec .sec05_list .txt { padding-top: 14px; font-size: 20px; line-height: 1.6; word-break: keep-all; transition: color 0.2s; }
.video_sec .sec05_list a:hover .thumb img { transform: scale(1.06); }
.video_sec .sec05_list a:hover .txt { color: #1d5fd1; }

.video_sec .btn_more { display: flex; align-items: center; gap: 8px; width: fit-content; margin: 10px 0 0 auto; padding: 9px 18px; border-radius: 30px; background: #e60012; font-size: 15px; font-weight: 500; color: #fff; text-decoration: none; transition: background 0.2s; }
.video_sec .btn_more svg { width: 22px; height: auto; }
.video_sec .btn_more:hover { background: #c4000f; }

/* section05 : 유튜브동영상 */
#section05 { background:#F0F4F8; }

/* ===== section06 : 감동의 치료후기 ===== */

#section06 .sec05_list .txt { padding-top: 22px; }
#section06 .btn_more { background: #111; }
#section06 .btn_more:hover { background: #1d5fd1; }

/* ===== section07 : NEWSROOM (1920 기준, 콘텐츠 폭 1720) ===== */
#section07 { padding: 50px 0 100px; background: #fff; font-family: 'Pretendard', 'Noto Sans KR', sans-serif; color: #222; }
#section07 .inner { max-width: calc(1720px + 32px); margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
#section07 h2 { margin-bottom: 40px; font-size: 36px; line-height: 1.3; }
#section07 h2 strong { font-weight: 800; }

#section07 .sec07_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 60px; }
#section07 .sec07_box { min-width: 0; padding: 36px 50px 40px; border-radius: 28px; background: #f7f7f8; box-sizing: border-box; }
#section07 .box_head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
#section07 .box_head h3 { font-size: 32px; font-weight: 700; color: #2b3a7a; }
#section07 .btn_more { padding: 6px 18px; border: 1px solid #999; border-radius: 30px; font-size: 15px; color: #555; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
#section07 .btn_more:hover { border-color: #2b3a7a; background: #2b3a7a; color: #fff; }

#section07 .board li { border-bottom: 1px solid #e3e4e8; }
#section07 .board li:last-child { border-bottom: 0; }
#section07 .board a { display: flex; align-items: center; gap: 30px; padding: 14px 0; font-size: 19px; color: #222; text-decoration: none; }
#section07 .board .subject { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: color 0.2s; }
#section07 .board .date { flex: none; font-size: 17px; color: #777; }
#section07 .board a:hover .subject { color: #1d5fd1; }

/* 예약 안내 */
#section07 .reserve { background: #1d4a8a; color: #fff; }
#section07 .reserve .box_head { margin-bottom: 24px; }
#section07 .reserve .box_head h3 { color: #fff; }
#section07 .reserve_list { display: flex; gap: 14px; }
#section07 .reserve_list li { flex: 1; }
#section07 .reserve_list a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 130px; background: #fff; font-size: 18px; color: #222; text-decoration: none; transition: transform 0.3s, box-shadow 0.3s; }
#section07 .reserve_list img { width: 56px; height: auto; }
#section07 .reserve_list a:hover { transform: translateY(-6px); box-shadow: 0 8px 18px rgba(0,0,0,0.2); }
#section07 .reserve_note { margin-top: 22px; font-size: 16px; color: rgba(255,255,255,0.75); text-align: center; }

