/* 성원사 — 템플릿05 소스 위에 얹는 보조 스타일(템플릿 css 는 고치지 않는다) */

/* 첫 화면 · 두 칸 바탕 그림(템플릿은 css 로 그림을 건다) */
#mainSlide .swiper-slide.slide01 .img { background-image: linear-gradient(rgba(20, 18, 16, .72) 0, rgba(20, 18, 16, .42) 22%, rgba(20, 18, 16, .72) 38%, rgba(20, 18, 16, .72) 58%, rgba(20, 18, 16, .3) 78%, rgba(20, 18, 16, .34) 100%), url(/sw/img/hero-1.jpg); }
#mainSlide .swiper-slide.slide02 .img { background-image: linear-gradient(90deg, rgba(20, 18, 16, .3) 0%, rgba(20, 18, 16, .55) 45%, rgba(20, 18, 16, .55) 78%, rgba(20, 18, 16, .3) 100%), url(/sw/img/hero-2.jpg); } /* 설명 글이 놓이는 가운데 ~ 오른쪽(밝은 한지 위)만 한 단 더 어둡게 */
.point .box:nth-child(1) { background-image: linear-gradient(rgba(20, 18, 16, .38), rgba(20, 18, 16, .38)), url(/sw/img/point-1.jpg); }
.point .box:nth-child(2) { background-image: linear-gradient(rgba(20, 18, 16, .38), rgba(20, 18, 16, .38)), url(/sw/img/point-2.jpg); }

/* 글자 로고(그림 로고 대신 — 검색이 읽는 진짜 글자) */
.sw-logo { display: block; font-size: 30px; font-weight: 700; letter-spacing: .32em; text-indent: .32em; color: #fff; line-height: 1; white-space: nowrap; }
.sw-flogo { font-size: 30px; font-weight: 700; letter-spacing: .32em; text-indent: .32em; line-height: 1; }

/* 한글 구간 제목 — 템플릿의 영문 제목(Figtree 800 · 48px) 자리에 프리텐다드로 */
.sw-h2 { letter-spacing: -.03em; line-height: 1.25; color: #595959; }
.sw-herotit { font-family: inherit; letter-spacing: -.02em; }
h1.sw-herotit { margin: 0; }
.sw-quote { line-height: 1.32; }

/* 대표 항목 이름 */
.sw-signame { display: block; font-weight: 700; margin-bottom: 4px; }

/* 신당 둘러보기 — 템플릿 전후 넘김(beafSwiper)에 사진 한 장씩 */
.sw-tour img { width: 100%; height: auto; display: block; }

/* 한 해의 정성 — 정사각 그림 위에 절기 이름 */
.sw-season { position: relative; display: block; }
.sw-season img { width: 100%; height: auto; display: block; }
.sw-season::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(20, 18, 16, 0) 45%, rgba(20, 18, 16, .55)); }
.sw-season-txt { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 1; color: #fff; text-align: center; }
.sw-season-txt b, .sw-season-txt i { display: block; font-style: normal; }
.sw-season-txt i { margin-top: 4px; opacity: .9; }

/* 이런 일로 찾아오십니다 */
.sw-asktit { margin-bottom: 70px; }
#clinics .box .txt h3 { color: #595959; }

/* 오시는 길 사진 */
.sw-mapimg img { width: 100%; height: auto; display: block; }
.map_box .time ul li span { opacity: .8; }

/* 매거진 분류 글 */
.sw-magcat { color: var(--pointcolor); font-family: inherit; font-weight: 700; }

/* 머리 메뉴 끝의 전화번호 */
#lnb .sw-tel .depth01 span { letter-spacing: 0; }

/* 전화번호 · 주소 번지는 한 덩이 */
.sw-nw { white-space: nowrap; }

/* 한글이 들어간 작은 글 — 템플릿 영문 글꼴(Figtree) 자리에 한글을 넣으면 명조로 떨어져서 프리텐다드로 */
.view_more .point-font, .point .section_mini > p.point-font { font-family: var(--mainfont), sans-serif; }
.point .section_mini > p.point-font { letter-spacing: .3em; }

/* 꼬리 — 작은 흰 글 대비(템플릿 #86817d → 흰 글 3.8:1 이라 한 단계 진하게) */
#footer.sub-bg { background-color: #5f5a56; }

/* 퀵바 펼친 상태의 닫기 단추 — 템플릿이 가리키는 그림(pc_minus.png)이 템플릿에도 없어 선 하나로 그림 */
.quick_btn:not(.on) { background-image: none; position: relative; }
.quick_btn:not(.on)::after { content: ''; position: absolute; left: 17px; top: 24px; width: 16px; height: 2px; background: #fff; }

/* 독립 검토 반영(디자이너 · SEO) */
.sw-hl { display: block; }
.sw-sigh3 { font-weight: inherit; }
.sw-eyebrow { margin: 0; }
#clinics .box .txt h3 a { color: inherit; }
.demo-sitemap .sw-smh { color: #595959; }
/* 첫 화면 두 장이 서서히 바뀌는 동안 두 장의 글이 겹쳐 읽히지 않게 — 나가는 장의 글은 먼저 사라지고 들어오는 장의 글은 늦게 뜬다 */
#mainSlide .swiper-slide .txt { opacity: 0; transition: opacity .25s; }
#mainSlide .swiper-slide-active .txt { opacity: 1; transition: opacity 1s 1.2s; }
/* 한 해의 정성 — 밝은 그림에서도 흰 글이 읽히게 아래 어둠을 한 단 진하게 */
.sw-season::after { background: linear-gradient(rgba(20, 18, 16, 0) 40%, rgba(20, 18, 16, .72)); }

/* ── 휴대폰(3단계) ── */
@media (max-width: 990px) {
  /* 첫 화면은 세로 그림 · 글이 그림 가운데 놓여 어둠을 한 단 더 */
  #mainSlide .swiper-slide.slide01 .img { background-image: linear-gradient(rgba(20, 18, 16, .55) 0%, rgba(20, 18, 16, .4) 14%, rgba(20, 18, 16, .66) 30%, rgba(20, 18, 16, .66) 70%, rgba(20, 18, 16, .34) 84%, rgba(20, 18, 16, .4) 100%), url(/sw/img/hero-1-m.jpg); }
  #mainSlide .swiper-slide.slide02 .img { background-image: linear-gradient(rgba(20, 18, 16, .52), rgba(20, 18, 16, .52)), url(/sw/img/hero-2-m.jpg); }
  #mainSlide .swiper-slide .txt .sw-herotit .pl-30 { padding-left: 0; }
  /* 넘김 묶음: 지금 장은 또렷하게 · 옆 장은 흐리게 */
  .sw-dim .swiper-slide { opacity: .45; transition: opacity .3s; }
  .sw-dim .swiper-slide-active { opacity: 1; }
  .signatureSwiper.sw-dim .swiper-slide { opacity: 1; } /* 보는 일은 템플릿이 옆 장을 흑백으로 가라앉힌다 */
  /* 위치 표시와 이전 · 다음 */
  .sw-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 22px; }
  .sw-count { font-size: 14px; letter-spacing: .08em; color: #595959; min-width: 44px; text-align: center; }
  .sw-nav button { width: 44px; height: 44px; border: 1px solid #ccc6c2; border-radius: 50%; background: transparent; position: relative; cursor: pointer; }
  .sw-nav button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-top: 1.5px solid #595959; border-right: 1.5px solid #595959; }
  .sw-nav .sw-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
  .sw-nav .sw-next::before { transform: translate(-70%, -50%) rotate(45deg); }
  .beaf .beafSwiper, .event .eventSwiper01 { padding-bottom: 46px; }
  .magSwiper .mag-card { display: block; }
  .magazine .sw-nav { margin-top: 26px; }
}
@media (min-width: 991px) { .sw-nav { display: none; } }

/* 스크롤해 내린 뒤 머리 칸 — 템플릿 반투명 회색(흰 글 대비 2.3:1 · 본문이 비침) → 진한 먹색 */
#header.on .header { background-color: rgba(58, 54, 51, .96); }
/* 휴대폰 메뉴에는 전화번호 줄을 두지 않는다(머리 왼쪽에 전화 단추가 있다 · 펼침 화살표가 잘못 붙음) */
@media (max-width: 1240px) { #lnb .sw-tel { display: none; } }

/* 3단계 독립 검토 반영 */
@media (max-width: 990px) {
  #mainSlide .swiper-slide .txt .sw-herotit { padding-right: 0; }           /* 제목과 본문을 한 축에 */
  #mainSlide .swiper-slide .txt::before { content: ''; position: absolute; left: 50%; top: 50%; width: 130%; height: 150%; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(20, 18, 16, .5) 0%, rgba(20, 18, 16, 0) 68%); z-index: -1; pointer-events: none; } /* 글 뒤에만 가운데가 진한 어둠 */
  .philosophy::after { display: none; }                                     /* 세로 장식선이 제목 글자를 가로지름 */
  .sw-nav button:disabled { opacity: .35; cursor: default; }
  #mainSlide .swiper-pagination-bullet-active { transform: scale(1.5); background: #fff; opacity: 1; }
}

/* 휴대폰 퀵바 = 하단 고정 막대(본부 2026-11-12 21:51) — 세 칸 · 전화 칸만 대추색 · TOP 은 작게 따로 */
.sw-bar { display: none; }
@media (max-width: 990px) {
  .sw-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; height: calc(56px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: #f0ede5; border-top: 1px solid #ccc6c2; }
  .sw-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 500; color: #3a3633; border-left: 1px solid #ccc6c2; }
  .sw-bar a:first-child { border-left: 0; }
  .sw-bar .sw-bar-tel { background: var(--pointcolor); color: #fff; font-weight: 600; }
  .quick .quick_menu, .quick .quick_btn, .quick_bg { display: none !important; }
  .quick { right: 14px; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .quick .top { width: 40px; height: 40px; line-height: 40px; margin-top: 0; }
  .quick .top img { width: 12px; height: auto; padding: 10px 0; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 990px) { #mainSlide .swiper-pagination { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } } /* 넘김 점이 하단 막대 뒤에 숨지 않게 */

/* ── 서브(4단계) — 템플릿 서브 소스 위 보조 ── */
.sw-check { width: 18px; height: auto; margin: 7px 18px 0 0; flex: none; align-self: flex-start; }
.sw-step { width: 110px; height: 110px; margin: 0 auto; border: 1px solid var(--pointcolor); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 300; color: var(--pointcolor); } /* 템플릿은 과정 칸에 병원 아이콘 그림 — 성원사는 차례 숫자로 */
.sub .subtitle h1 { margin: 0; }
.sub .sw-eyebrow { font-family: var(--mainfont), sans-serif; letter-spacing: .08em; }
.sub .subtitle .point-font { letter-spacing: .2em; }
.sub .sub_btn { display: inline-block; margin-top: 40px; padding: 18px 46px; background: var(--pointcolor); border-radius: 40px; }
.sub .rolling-text { letter-spacing: .02em; }
.sw-prose-sec .box:first-child { padding-right: 40px; }
.sub-point .bg_wrap .bg { background-image: linear-gradient(rgba(20, 18, 16, .5), rgba(20, 18, 16, .5)), url(/sw/img/point-1.jpg) !important; }
.sw-kimg { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; }
.sw-interior .swiper { padding-bottom: 50px; }
.sw-interior .swiper-slide img { width: 100%; height: auto; display: block; }
.sw-jlist { text-align: left; --y-gap: 4rem; }
.sw-jlist .sw-jname { color: #3a3633; }
.sw-jlist .sw-jdate { margin-top: 2px; }
.sw-faqpage .sw-faqgroup + .sw-faqgroup { margin-top: 90px; }
.sw-faqpage .sw-faqh { max-width: 960px; margin: 0 auto; color: #595959; }
.sw-boardtit { padding-top: 220px; }
.sw-gall { max-width: 1440px; margin: 70px auto 150px; padding: 0 5%; }
.sw-gall #gall_ul { --x-gap: 2rem; --y-gap: 3rem; list-style: none; padding: 0; }
.sw-gall .gall_img img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.sw-gall .bo_tit { display: block; margin-top: 18px; font-size: 22px; font-weight: 700; color: #595959; }
.sw-gall .sw-magmeta { margin-top: 8px; color: #86817d; }
.sw-article { max-width: 900px; margin: 70px auto 150px !important; padding: 0 5%; background: transparent !important; }
.sw-article #bo_v_title .bo_v_tit { font-size: 38px; font-weight: 800; color: #595959; letter-spacing: -.02em; }
.sw-article #bo_v_info { margin: 18px 0 40px; padding-bottom: 24px; border-bottom: 1px solid #ccc6c2; }
.sw-article #bo_v_img img { width: 100%; height: auto; margin-bottom: 40px; }
.sw-article #bo_v_con p { margin-top: 1.2em; color: #595959; }
.sw-article #bo_v_con a { color: var(--pointcolor); }
.sw-article .sw-ph { margin-top: 2.2em; color: #595959; }
.sw-article .sw-rel { margin-top: 3em !important; padding-top: 24px; border-top: 1px solid #ccc6c2; font-size: 16px; }
.sw-note { margin-top: 18px; color: #86817d; }
.sw-form { display: block; }
.sw-form .sw-f { display: block; margin: 0 0 22px; border: 0; padding: 0; }
.sw-form .sw-f > span, .sw-form legend { display: block; font-size: 16px; font-weight: 600; color: #595959; margin-bottom: 8px; padding: 0; }
.sw-form b { font-weight: 400; color: var(--pointcolor); font-size: 14px; }
.sw-form i { font-style: normal; font-weight: 400; color: #86817d; font-size: 14px; }
.sw-form .frm_input { width: 100%; height: 54px; padding: 0 16px; border: 1px solid #ccc6c2; border-radius: 0; background: #faf9f5; font-size: 16px; color: #3a3633; box-sizing: border-box; }
.sw-form textarea.frm_input { height: auto; padding: 14px 16px; line-height: 1.6; resize: vertical; }
.sw-form .sw-radio { display: inline-flex; align-items: center; gap: 8px; margin-right: 28px; font-size: 16px; color: #595959; min-height: 44px; }
.sw-form .sw-agree { display: flex; align-items: center; gap: 10px; font-size: 15px; color: #595959; margin: 6px 0 26px; min-height: 44px; }
.sw-form .sw-agree a { color: var(--pointcolor); text-decoration: underline; }
.sw-form .sw-submit { width: 100%; height: 60px; border: 0; background: var(--pointcolor); cursor: pointer; }
@media (max-width: 1100px) { .faq .faq-list { margin-right: 46px; } } /* 떠 있는 TOP 단추(40px)가 문답 «+» 표시를 덮지 않게 오른쪽을 비움 — 본부 21:56 */
.sub .sw-boardtit { height: auto; padding-top: 200px; overflow: visible; }  /* 게시판 꼴 쪽의 제목 칸 — 큰 그림 머리(100vh) 규칙이 같이 걸려 빈칸이 생김 */
.sw-interior .swiper-slide img { aspect-ratio: 4 / 3; object-fit: cover; }
.sw-gall { margin-top: 60px; }
.sw-gall #gall_ul > li { width: calc((100% - 4rem) / 3); }
@media (max-width: 990px) { .sw-gall #gall_ul > li { width: 100%; } .sub .sw-boardtit { padding-top: 130px; } }
body:has(.sw-boardtit) #header .header { background-color: rgba(58, 54, 51, .96); } /* 큰 그림 머리가 없는 쪽(이야기 목록 · 글 · 개인정보)은 머리 칸을 처음부터 진하게 — 밝은 바탕 위 흰 글 */
/* 4단계 독립 검토 반영 */
.sw-lnk { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.caution .sw-lnk { color: #fff; }
.sw-nav-pc { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.sw-nav-pc button { width: 44px; height: 44px; border: 1px solid #ccc6c2; border-radius: 50%; background: transparent; position: relative; cursor: pointer; }
.sw-nav-pc button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-top: 1.5px solid #595959; border-right: 1.5px solid #595959; }
.sw-nav-pc .sw-prev::before { transform: translate(-30%, -50%) rotate(-135deg); }
.sw-nav-pc .sw-next::before { transform: translate(-70%, -50%) rotate(45deg); }
.sw-nav-pc button.swiper-button-disabled { opacity: .35; cursor: default; }
.sw-mapslot { aspect-ratio: 680 / 400; background: #e6e1d8; border: 1px solid #ccc6c2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; color: #595959; }
.sw-pin { width: 22px; height: 22px; border-radius: 50% 50% 50% 0; background: var(--pointcolor); transform: rotate(-45deg); margin-bottom: 18px; }
.sw-article #bo_v_img img { max-width: 840px; display: block; margin-left: auto; margin-right: auto; }
.sw-form input[type="radio"], .sw-form input[type="checkbox"] { accent-color: var(--pointcolor); width: 18px; height: 18px; }
.sw-form .sw-submit { border-radius: 40px; }
/* 4단계 재검증(81 조건부) 보통 셋 */
.map_box .flexList.items-center { align-items: flex-start; }
.sw-article #bo_v_info .color-gray, .sw-article #bo_v_info .color-light-gray { color: #595959 !important; }
.sw-gall .sw-magmeta { color: #595959; }
.sw-article #bo_v_img img { aspect-ratio: 3 / 2; object-fit: cover; }
/* 5단계 서브 모바일 — 작게 줄어든 본문 글 키움 · 꼬리 아래 빈 띠 없앰 */
@media (max-width: 768px) {
  body { padding-bottom: 0; }
  #footer { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
  .equip .box > p.font-16 { font-size: 14px !important; }
  .equip .box img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; height: auto; }
  .sw-article #bo_v_con p, #bo_v_con p { font-size: 15px !important; line-height: 1.75; }
  #bo_v_con .sw-ph { font-size: 17px !important; }
  #bo_v_con .sw-note, .sw-form .sw-note { font-size: 13px !important; }
  .sw-gall .sw-magmeta { font-size: 13px !important; }
  .sw-form .sw-submit { font-size: 16px !important; }
  .sw-mapslot p.font-16 { font-size: 14px !important; }
  .map_box .address, .map_box .tel, .map_box .time { width: 100%; }
}
/* 5단계 디자이너 채점(78 · 높음 1) 뒤 */
@media (max-width: 990px) {
  .sub .subtitle .wrap { background-position: var(--mx, 50%) center !important; }
  .sw-article #bo_v_title .bo_v_tit { font-size: 27px; word-break: keep-all; }
  .process .flexList[boxCount="3"] > .box:last-child:nth-child(odd) { margin-left: auto; margin-right: auto; }
}
.sw-article #bo_v_title .bo_v_tit { word-break: keep-all; }
.sw-article #bo_v_title .bo_v_tit { text-wrap: balance; }
.sw-soonbtn { display: inline-block; padding: 18px 42px; border-radius: 40px; background: var(--pointcolor); color: #fff; font-size: 18px; font-weight: 800; }
/* 6단계 — 태블릿 · 중간 폭(768 ~ 1099)에서 템플릿이 글을 13px 아래로 줄이는 자리의 바닥값 */
@media (min-width: 768px) and (max-width: 1099px) {
  .font-16, .font-14 { font-size: 13px !important; }
  .font-18 { font-size: 14px !important; }
  .map_btn p, .flex-center > p.pl-10 { font-size: 13px !important; }
  #footer a, #footer p { font-size: 13px !important; }
}
/* 6단계 QA(조건부 · 높음 1) 뒤 */
html.sw-noaos [data-aos] { opacity: 1 !important; transform: none !important; clip-path: none !important; -webkit-clip-path: none !important; }
html { scroll-padding-top: 90px; }
#location, #tour, #sw-main { scroll-margin-top: 90px; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--pointcolor); outline-offset: 3px; }
#header a:focus-visible, #header [role="button"]:focus-visible, #footer a:focus-visible, .subtitle a:focus-visible { outline-color: #fff; }
.sw-skip { position: fixed; left: 12px; top: -60px; z-index: 100001; padding: 12px 18px; background: #fff; color: #3d3632; font-size: 16px; font-weight: 700; border-radius: 4px; }
.sw-skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { [data-aos] { transition-duration: .01s !important; transition-delay: 0s !important; } html { scroll-behavior: auto !important; } }
/* 6단계 디자이너 대조(조건부) 뒤 */
.max1920 { margin-left: auto; margin-right: auto; }
.sub .sw-soon { padding-top: 40px; }
/* 7단계 */
.sw-formmsg { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--pointcolor); color: #3d3632; background: #faf8f3; line-height: 1.6; }
.sw-formmsg[hidden] { display: none; }
@media (min-width: 1241px) { #lnb > li.dropdown:focus-within > .dropdown-menu { display: block !important; opacity: 1 !important; visibility: visible !important; } }
.swiper-pagination-bullet[role="button"] { cursor: pointer; }
.sw-form .sw-formmsg { margin: 0 0 22px; }
.sw-form .sw-submit[disabled] { opacity: .45; cursor: not-allowed; }
/* 7단계 디자이너 확인(조건부 81) 뒤 */
.sw-form.sw-off .sw-f, .sw-form.sw-off .sw-agree { opacity: .5; }
.sw-form .sw-submit[disabled] { opacity: 1; background: #c9c3bc !important; color: #3d3632 !important; cursor: not-allowed; }
@media (max-width: 768px) { .sw-form .sw-formmsg { font-size: 15px !important; } .sw-form .sw-formmsg a { display: inline-block; padding: 6px 0; } }
.mag-card img[src$="hero-2.jpg"] { object-position: 82% center; }
#header .dropdown-menu a:focus-visible { outline-color: var(--pointcolor); }
/* 8단계 — 열쇠 없는 지도 퍼가기(주소 검색 꼴) */
.sw-map { aspect-ratio: 680 / 400; background: #e6e1d8; border: 1px solid #ccc6c2; }
.sw-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.sw-mapcap { margin-top: 14px; color: #595959; display: flex; align-items: center; gap: 10px; }
.sw-mapcap .sw-pin { width: 12px; height: 12px; margin: 0; flex: none; }
@media (max-width: 768px) { .sw-mapcap { font-size: 14px !important; align-items: flex-start; } .sw-mapcap .sw-pin { margin-top: 5px; } }
@media (max-width: 768px) { .sw-map { aspect-ratio: 4 / 3; } }
/* 8단계 — 예약 접수 상태 */
.sw-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sw-form .sw-fnote { margin: -8px 0 18px; color: #595959; }
.sw-formmsg[data-kind="ok"], .sw-formmsg[data-kind="dup"] { border-color: #3d3632; background: #fff; font-weight: 700; }
.sw-formmsg[data-kind="invalid"], .sw-formmsg[data-kind="network"], .sw-formmsg[data-kind="unavailable"], .sw-formmsg[data-kind="not-registered"], .sw-formmsg[data-kind="busy"] { border-width: 2px; }
.sw-form.sw-done .sw-f, .sw-form.sw-done .sw-agree { opacity: .5; }

/* 마감(대표님 2026-11-13 09:2x) — 메뉴 단추 세 줄: 템플릿은 셋째 줄만 80% 길이 · 오른쪽 붙음 · 줄 사이 6px/7px 로 어긋남 → 같은 길이 · 같은 간격(6px) · 전화 단추와 같은 크기(30px) */
@media(max-width:1240px){
  .nav_btn{width:30px;height:21px}
  .nav_btn::before{content:"";position:absolute;inset:-13px -10px}
  .nav_btn span{left:0;right:auto;width:100%;height:3px;border-radius:2px}
  .nav_btn span:nth-of-type(1){top:0}
  .nav_btn span:nth-of-type(2){top:9px}
  .nav_btn span:nth-of-type(3){top:18px;bottom:auto;width:100%}
  .nav_btn.open span:nth-of-type(1){width:100%;-webkit-transform:translateY(9px) rotate(-45deg);transform:translateY(9px) rotate(-45deg)}
  .nav_btn.open span:nth-of-type(3){width:100%;-webkit-transform:translateY(-9px) rotate(45deg);transform:translateY(-9px) rotate(45deg)}
}
/* 마감 — 휴대폰 꼬리 아래 빈 자리: 템플릿(extras.css)이 자기 하단 메뉴 몫으로 176px 를 비워 둠 → 우리 하단 막대 몫(56px)은 #footer 가 이미 가짐 */
@media(max-width:767px){ footer#footer .container{padding-bottom:34px!important} }
/* 마감 — 줄 끝에 한두 글자만 홀로 남지 않게(본문은 끝줄 다듬기 · 휴대폰 제목은 줄 길이 고르게) */
body{text-wrap:pretty}
@media(max-width:990px){ h1,h2,h3,h4,h5,.tit,.sub_tit,p[class*="font-3"],p[class*="font-4"],p[class*="font-5"],.desc ul li p{text-wrap:balance} }
/* 마감 — 주소 줄: 휴대폰에서는 가운뎃점 자리에서 줄을 바꿈(«3번 / 출구 근처»로 끊기거나 점만 줄 끝에 남던 자리) */
.sw-mbr{display:none}
@media(max-width:767px){ .sw-mbr{display:inline} .sw-pcdot{display:none} }
/* 마감 — 동의 줄의 «처리방침 보기» 링크가 두 줄로 쪼개지지 않게 */
.sw-form .sw-agree a{display:inline-block}
/* 마감 — 문답 줄 오른쪽 46px 비움을 거둠(줄이 본문 폭보다 짧게 끝나 어긋나 보임) · 대신 맨 위 단추는 휴대폰에서 조금 내려온 뒤에만 보임 */
@media (max-width:1100px){ .faq .faq-list{margin-right:0} }
@media (max-width:990px){
  .quick .top{opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
  html.sw-scrolled .quick .top{opacity:1;visibility:visible}
}
/* 마감 — 차례 칸 제목이 한 줄 · 두 줄로 섞여 아래 설명 글의 시작 높이가 어긋남 → 제목 자리를 두 줄 높이로 맞추고 한 줄 제목은 가운데 */
.sw-step + .txt h3{min-height:2.7em;min-height:2lh;display:grid;align-content:center}

/* 소구점 칸(대표님 2026-11-13) — 앞 넷은 큰 칸 · 뒤 여섯은 줄 목록 */
.sw-points{padding-bottom:0}
.sw-ptgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:0 36px}
.sw-pt{border-top:2px solid var(--pointcolor);padding-top:26px}
.sw-ptno{font-size:15px;font-weight:600;letter-spacing:.12em;margin-bottom:14px}
.sw-pt h3{color:#3a3633;line-height:1.3}
.sw-pt p.font-20{color:#595959}
.sw-ptlist{display:grid;grid-template-columns:repeat(2,1fr);gap:0 48px;border-top:1px solid #d8d2cb}
.sw-ptlist li{border-bottom:1px solid #d8d2cb}
.sw-ptlist a{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;padding:20px 4px;color:#3a3633;font-size:18px}
.sw-ptlist strong{font-weight:700}
.sw-ptlist span{color:#6a6460;font-size:16px}
.sw-ptlist a:hover strong{color:var(--pointcolor)}
@media(max-width:1100px){ .sw-ptgrid{grid-template-columns:repeat(2,1fr);gap:40px 28px} }
@media(max-width:767px){
  .sw-ptgrid{gap:30px 18px}
  .sw-pt{padding-top:18px}
  .sw-pt h3{font-size:19px!important}
  .sw-pt p.font-20{font-size:14px!important}
  .sw-ptno{font-size:13px;margin-bottom:8px}
  .sw-ptlist{grid-template-columns:1fr}
  .sw-ptlist a{font-size:16px;padding:15px 2px;gap:4px 10px}
  .sw-ptlist span{font-size:14px}
}
/* 첫 화면 대표 문구(세 줄) — 긴 글이라 한 단 작게 · 이름 줄은 띄움 */
.sw-herolong .sw-hl{white-space:nowrap}
.sw-herolong .sw-hlname{margin-top:.35em}
@media(min-width:991px){ #mainSlide h1.sw-herolong{font-size:2.5rem} }
/* 새 쪽 여섯(2026-11-13) — 갈래 칸 · 상담사례 칸 · 함께 보기 */
.sw-kindgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px 36px}
.sw-kind{border-top:2px solid var(--pointcolor);padding-top:24px}
.sw-kindtag{font-size:15px;font-weight:600;min-height:1.4em;margin-bottom:8px}
.sw-kind h3{color:#3a3633}
.sw-kind p.font-20,.sw-case p.font-20{color:#595959}
.sw-casegroup + .sw-casegroup{margin-top:90px}
.sw-caseh{color:#3a3633}
.sw-casegrid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:36px}
.sw-case{background:#faf7f2;padding:40px 40px 44px;border-top:2px solid var(--pointcolor)}
.sw-case h3{color:#3a3633;line-height:1.35}
.sw-more .container{border-top:1px solid #d8d2cb;padding-top:36px}
.sw-moreh{font-size:15px;font-weight:600;color:var(--pointcolor);letter-spacing:.06em}
.sw-morelist{display:flex;flex-wrap:wrap;gap:10px 12px;margin-top:16px}
.sw-morelist a{display:inline-block;padding:11px 20px;border:1px solid #cfc8c0;border-radius:999px;font-size:16px;color:#3a3633;background:#f7f4ee}
.sw-morelist a:hover{border-color:var(--pointcolor);color:var(--pointcolor)}
@media(max-width:1100px){ .sw-kindgrid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:767px){
  .sw-kindgrid,.sw-casegrid{grid-template-columns:1fr;gap:26px}
  .sw-kind h3,.sw-case h3{font-size:19px!important}
  .sw-kind p.font-20,.sw-case p.font-20{font-size:15px!important}
  .sw-case{padding:26px 22px 28px}
  .sw-casegroup + .sw-casegroup{margin-top:56px}
  .sw-caseh{font-size:22px!important}
  .sw-morelist a{font-size:14px;padding:9px 15px}
}
.doctor .doc_img img{height:auto}
/* 마감 — 디자이너 채점(조건부 · 가장 낮은 쪽 82) 뒤 */
@media(max-width:767px){
  .sub .title.text-center > p.font-18, .sw-article .profile_info span, .sw-article .profile_info samp, .sw-article .profile_info time, .sw-article .sw-rel a{font-size:13px!important;letter-spacing:-.3px!important}
  article#bo_v.sw-article{padding-left:0;padding-right:0}
  .sw-ptlist a{flex-direction:column;align-items:flex-start;gap:3px;padding-left:0;padding-right:0}
}
.caution li > span.pr-5{font-variant-numeric:tabular-nums;min-width:1.5em;flex:none}
.sw-lnk{display:inline-block}
.sw-caseposts[hidden]{display:none!important}
.sw-morelist a{min-height:44px;display:inline-flex;align-items:center}
/* 신당 둘러보기(메인) — PC 에서는 사진 띠를 본문 칸 폭 안에 두어 제목과 같은 가운데 축으로(템플릿: 본문 칸 왼쪽에서 시작해 오른쪽 화면 밖으로 흘림 → 넓은 창에서 왼쪽이 크게 빔) */
@media(min-width:990px){
  .beaf .section-left,.event .section-left{padding-left:0;width:var(--layoutwidth);max-width:90%;margin-left:auto;margin-right:auto}
  .beaf .beafSwiper,.event .eventSwiper01{overflow:hidden;padding-bottom:0}
  .beaf .section-left > .container,.event .tab-content > .container{max-width:none;width:100%}
  .beaf .width60 .swiper-pagination,.event .width60 .swiper-pagination{display:block!important;position:relative!important;height:2px!important;width:100%!important;margin-top:46px;background:#d8d2cb;top:auto!important;left:auto!important}
}
.beaf .sw-tour img{aspect-ratio:4/3;object-fit:cover}
@media(max-width:989px){ .beaf .width60 .swiper-pagination,.event .width60 .swiper-pagination{display:none} } /* 휴대폰은 «1 / 4 + 화살표»가 이미 있어 진행 막대는 PC 에서만 */

/* 2026-11-14 대표님 실제 사진 — 오시는 길 주소 문패 */
.sw-plate{max-width:360px}.sw-plate img{width:100%;height:auto;display:block;border-radius:6px}
