.sub {padding-top: 6.25rem;}
.sub .arrow {font-feature-settings: "ss18" 1; -webkit-font-feature-settings: "ss18" 1;}

.sub .tit h2 {line-height: 1.4;}

@media(max-width:1550px) {
    .sub .container {width: 85%;}
    .sub .section-left  {padding-left : 7.5%}
    .sub .section-right {padding-right: 7.5%}
}

br.no {display: block !important;}

/* 인사말 */
.sub #welcome .tit {padding: 0 0 0 4.5rem;}
.sub #welcome .logo img {width: 9rem;}
.sub #welcome .cont {padding: 4.5rem; background-image: url("/img/sub/hospital/welcome_bg.jpg"); background-repeat: no-repeat; background-size: cover; background-position-x: right; border-radius: 12px;}
.sub #welcome .line {width: 3rem; height: 4px; background: var(--pointcolor3); margin: 2rem 0;}

@media(max-width:1024px) {
    .sub #welcome .cont {background-position-x: 50%;}
}

@media(max-width:768px) {
    .sub #welcome .tit {flex-direction: column; align-items: flex-start; gap: 3.5rem; padding: 0;}
    .sub #welcome .logo {order: -1;}
    .sub #welcome .cont {background-position-x: center; padding: 6rem 3rem;}
    .sub #welcome .cont br {display: none;}
}

@media(max-width:620px) {
    .sub #welcome .tit br {display: none;}
}

/* 소개 */
.sub #intro {overflow: hidden;}
.sub #intro .flex-between {gap: 3.5rem;}
.sub #intro .tit {padding-top: 4.5rem; width: 33.333%;}
.sub #intro .tit span {display: inline-block;}
.sub #intro .imgbox {width: 33.333%;}
.sub #intro .imgbox img {border-radius: 12px;}
.sub #intro .txtbox {display: flex; align-items: flex-end; padding-bottom: 4.5rem; width: 33.333%;}

.sub #intro .box {background: #f8f8f8; border-radius: 12px; padding: 3.5rem 2rem;}

.sub #intro .marquee {overflow-x: hidden; display: flex; position: absolute; bottom: 2rem; z-index: -1;}
.sub #intro .marquee span {font-size: 12.5rem; font-weight: 800; display: inline-block; letter-spacing: 0.5rem; color: var(--pointcolor); opacity: 0.1; white-space: nowrap;}

@media(max-width:1800px) {
    .sub #intro .box br {display: none;}
}

@media(max-width:1240px) {
    .sub #intro .marquee {bottom: 0;}
}

@media(max-width: 990px) {
    .sub #intro .flex-between {flex-wrap: wrap;}
    .sub #intro .tit {width: 100%;}
    .sub #intro .tit br.visible-lg {display: none !important;}
    .sub #intro .imgbox,
    .sub #intro .txtbox {width: calc(50% - 1.75rem);}
    .sub #intro .marquee {bottom: -1rem;}
}

@media(max-width:768px) {
    .sub #intro .flex-between {flex-direction: column;}
    .sub #intro .tit,
    .sub #intro .imgbox,
    .sub #intro .txtbox {width: 100%;}
    .sub #intro .tit {padding-top: 0;}
    .sub #intro .txtbox {padding-bottom: 0;}
    .sub #intro .imgbox img {width: 100%;}
    .sub #intro .marquee {bottom: -2rem;}
}

@media(max-width:400px) {
    .sub #intro .tit br.visible-lg {display: block !important;}
}

/* 박스 */
.sub #box .flexList {--y-gap: 4.5rem; --x-gap: 0rem;}
.sub #box .box.imgbox img {border-radius: 12px;}
.sub #box .box.txtbox:nth-child(2) {padding-left: 6.25rem;}
.sub #box .box.txtbox:nth-child(3) {padding-right: 6.25rem;}

.sub #box ul.checkbox li {display: flex; align-items: flex-start; line-height: 1.5; background: #eef7fd; padding: 1.25rem 2rem; border-radius: 8px; margin-top: 0.7rem;}
.sub #box ul.checkbox li img.check {width: 1.3125rem; margin-right: 0.8rem; margin-top: 0.6rem;}

@media(max-width:1240px) {
    .sub #box .box.txtbox:nth-child(2) {padding-left: 4.5rem;}
    .sub #box .box.txtbox:nth-child(3) {padding-right: 4.5rem;}
}

@media(max-width:990px) {
    .sub #box ul.checkbox li br {display: none;}
}

@media(max-width:768px) {
    .sub #box .flexList {--y-gap:3.5rem;}
    .sub #box ul.checkbox li img.check {width: 1.5rem;}

    .sub #box .box:nth-child(3) {order: 4;}
    .sub #box .box:nth-child(4) {order: 3; margin-top: 2rem;}

    .sub #box .box.txtbox:nth-child(2) {padding-left: 0;}
    .sub #box .box.txtbox:nth-child(3) {padding-right: 0;}
}

/* 연혁 */
.sub #history {background: linear-gradient(to top, #f0faff 50%, #fff 100%); overflow: hidden;}
.sub #history ul li {display: flex; align-items: flex-start; margin-top: 3.125rem; width: 100%;}
.sub #history ul li.item-list:first-child {margin-top: 0;}
.sub #history ul li .yy {width: 7.5rem; font-weight: 700; color: var(--pointcolor3); line-height: 1;}
.sub #history ul li .dd {width: 4.75rem; font-weight: 700;}
.sub #history ul li .desc {line-height: 1.5;}
.sub #history ul li p.gray {color: #8d8d8d;}

.sub #history .scroll-bar {height: 100%; background: #e4e4e4; width: 2px; margin-right: 6.25rem; position: relative;}
.sub #history .scroll-bar .progress {position: absolute; width: 100%; height: 100%; top: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(to top, #001e85 10%, #066cd7 100%);}
.sub #history .scroll-bar .progress:after {position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 6px; height: 6px; background: #001e85; border-radius: 50%; content: "";}
.sub #history .scroll-bar .progress::before {position: absolute; left: 50%; transform: translateX(-50%); bottom: -3px; width: 10px; height: 10px; background: #066cd7; border-radius: 50%; content: ""; filter: blur(5px); opacity: 0.5;}

@media(max-width:768px) {
    .sub #history .tit br {display: none;}
    .sub #history .container > .flex {flex-direction: column;}
    .sub #history .tit {width: 100%;}
    .sub #history .cont {width: 100%; height: 100%; position: relative;}
    .sub #history .cont > ul {padding-left: 4.5rem;}
    .sub #history .scroll-bar {position: absolute;}

    .sub #history ul li .yy {width: 8.5rem;}
    .sub #history ul li .dd {width: 6.5rem;}
    .sub #history ul li.item-box > ul {width: calc(100% - 8.5rem);}
    .sub #history ul li .desc {width: calc(100% - 6.5rem); }
    .sub #history .scroll-bar .progress::before {display: none;}
}

@media(max-width:500px) {
    .sub #history ul li.item-box {flex-direction: column; gap: 1.5rem;}
    .sub #history ul li.item-box > ul {width: 100%; padding-left: 0.5rem;}
    .sub #history ul li .yy {width: 100%;}
}

@media(max-width:360px) {
    .sub #history .cont > ul {padding-left: 2.5rem;}
    .sub #history ul li.item-list {flex-direction: column;}
    .sub #history ul li .desc {width: 100%;}
}

/* 협력 네트워크 */
.sub #partnership .bg-wrap {clip: rect(0, auto, auto, 0); position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.sub #partnership .bg {background-image: url("/img/sub/hospital/partnership_bg.jpg"); background-repeat: no-repeat; background-size: cover; position: fixed; display: block; top: 0; left: 0; width: 100%; height: 100vh;  transform: translateZ(0); will-change: transform; z-index: -1;}

@media(max-width:580px) {
    .sub #partnership .tit p br {display: none !important;}
}

/* 정의 */
.sub #definition .flexList {--y-gap: 4.5rem;}
.sub #definition .box.imgbox {padding-right: 5rem;}
.sub #definition .line {width: 3rem; height: 4px; background: var(--pointcolor3); margin: 3.125rem 0;}

.sub #definition br.no {display: block !important;}

@media(max-width:1440px) {
    .sub #definition p br {display: none;}
}

@media(max-width:768px) {
    .sub #definition .box.imgbox {padding-right: 0;}
    .sub #definition p br {display: block;}
    .sub #definition .line {width: 4rem;}
}

@media(max-width:680px) {
    .sub #definition p br {display: none;}
}

/* 종류 */
.sub #type {background-image: url("/img/sub/type_bg.jpg"); background-repeat: no-repeat; background-size: cover; overflow: hidden;}
.sub #type .typeSwiper {width: 80%; margin: auto;} 
.sub #type .swiper-slide {background: #fff; border-radius: 12px; overflow: hidden;}
.sub #type .box.txtbox {padding: 6.25rem 4rem;}
.sub #type .box.imgbox img {width: 100%; height: 100%;}

.sub #type .swiper-pagination {position: initial; display: flex; padding: 0 10%; border-bottom: 1px solid #afcddb;}
.sub #type .swiper-pagination > div {width:calc(100% / var(--count)); height: auto; background: transparent; border-radius: 0; opacity: 1; position: relative; padding: 1rem; margin: 0; display: flex; align-items: center; justify-content: center;}
.sub #type .swiper-pagination > div:after {position: absolute; left: 0; bottom: -2px;width: 0; height: 3px; background: var(--pointcolor2); content: ""; transition: 0.8s;}
.sub #type .swiper-pagination > div.swiper-pagination-bullet-active {color: var(--pointcolor2); font-weight: 700;}
.sub #type .swiper-pagination > div.swiper-pagination-bullet-active:after {width: 100%;}

.sub #type .swiper-button-prev img,
.sub #type .swiper-button-next img {width: 4.125rem;}

.sub #type .custom-pg {width: 100%; height: 3px; background: #fff;} 
.sub #type .swiper-pagination2 {height: 3px; background: var(--pointcolor); position: relative;overflow: hidden; transition: 1.5s;}

@media(max-width: 1440px) {
    .sub #type .box.txtbox br {display: none;}
}

@media(max-width:1240px) {
    .sub #type .typeSwiper {width: 85%;}
}

@media(max-width:990px) {
    .sub #type .typeSwiper {width: 100%;}
    .sub #type .swiper-button-prev,
    .sub #type .swiper-button-next {display: none;}
    .sub #type .swiper-pagination {flex-wrap: wrap; padding: 0;}
}

@media(max-width:768px) {
    .sub #type .cont.mt-80 {margin-top: 1.5rem;}
    .sub #type .swiper-slide > .flex {flex-direction: column;}
    .sub #type .box {width: 100%;}
    .sub #type .box.imgbox {order: -1;}
    .sub #type .box.txtbox {padding: 5.5rem 3.5rem;}
    .sub #type .swiper-pagination {border-bottom: none;}
    .sub #type .swiper-pagination > div {width: calc(100% / 2); padding: 1.5rem; border-bottom: 1px solid #afcddb;}
    .sub #type .swiper-pagination br.visible-md {display: none !important;}
}

@media(max-width:500px) {
    .sub #type .swiper-pagination br.visible-md {display: block !important;}
}

/* 효과 */
.sub #effect .flexList[boxCount="3"] {max-width: 1020px; width: 100%; margin: 5rem auto 0;}
.sub #effect .box:nth-child(even) {margin-top: 6.25rem;}
.sub #effect .flexList[boxCount="3"] .box:nth-child(4) {margin-top: 0;}
.sub #effect .flexList[boxCount="3"] .box:nth-child(5) {margin-top: 6.25rem;}
.sub #effect .flexList[boxCount="3"] .box:nth-child(6) {margin-top: 0;}
.sub #effect .imgbox {border-radius: 12px; overflow: hidden;}
.sub #effect .txtbox {margin-top: -1.3rem; position: relative; z-index: 1;}
.sub #effect .txtbox img {width: 2.6rem;}

@media(max-width:990px) {
    .sub #effect .box:nth-child(4) {margin-top: 0;}
    .sub #effect .box:nth-child(5) {margin-top: 6.25rem;}
}

@media(max-width:768px) {
    .sub #effect .flexList {--y-gap: 3.5rem;}
    .sub #effect .box {margin-top: 0 !important;}
    .sub #effect .txtbox img {width: 3rem;}
}

/* 과정 */
.sub #process {background-image: url("/img/sub/process_bg.jpg"); background-repeat: no-repeat; background-size: cover;}
.sub #process .imgbox {border-radius: 12px; overflow: hidden;}
.sub #process .txtbox {padding: 3.75rem 0 3.75rem 3.75rem;}
.sub #process .page-wrap {display: flex; align-items: center; gap: 1.5rem; position: absolute; bottom: 0; left: calc(40% + 3.75rem);}
.sub #process .page-wrap img {width: 4.125rem;}

@media(max-width:1440px) {
    .sub #process .txtbox {padding: 3rem 0 3rem 3rem;}
    .sub #process .page-wrap {left: calc(46% + 3rem);}
}

@media(max-width:1240px) {
    .sub #process .section-left > .flex {flex-direction: column; gap: 3.5rem;}
    .sub #process .box {width: 100%;}
}

@media(max-width:768px) {
    .sub #process .section-left {padding-right: 7.5%;}
    .sub #process .swiper-slide > .flex {flex-direction: column;}
    .sub #process .imgbox {width: 100%;}
    .sub #process .txtbox {padding: 2rem 0 0 0; width: 100%;}
    .sub #process .txtbox h3 br {display: none !important;}
    .sub #process .page-wrap {left: auto; right: 0%;}
}

@media(max-width:680px) {
    .sub #process .page-wrap {position: inherit;  margin-top: 2rem;}
}

@media(max-width:360px) {
    .sub #process .tit p br {display: none;}
}

/* 특징 */
.sub #feature {--pointcolor: #69cfff;}
.sub #feature .bg-wrap {clip: rect(0, auto, auto, 0); position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.sub #feature .bg {background-repeat: no-repeat; background-size: cover; position: fixed; display: block; top: 0; left: 0; width: 100%; height: 100vh;  transform: translateZ(0); will-change: transform; z-index: -1;}

.sub #feature li {padding: 1rem 1rem 1rem 6.25rem; background: rgba(0, 0, 0, 0.3); margin-top: 0.5rem; position: relative;}
.sub #feature li:first-child {margin-top: 0;}
.sub #feature li:after {position: absolute; left: 2.5rem; top: 1rem;  color: var(--pointcolor); font-weight: 700;}

.sub #feature li:nth-child(1):after {content: "01";}
.sub #feature li:nth-child(2):after {content: "02";}
.sub #feature li:nth-child(3):after {content: "03";}
.sub #feature li:nth-child(4):after {content: "04";}
.sub #feature li:nth-child(5):after {content: "05";}
.sub #feature li:nth-child(6):after {content: "06";}

@media(max-width:768px) {
    .sub #feature {padding: 120px 0;}
    .sub #feature .container > .flex {flex-direction: column; gap: 4.5rem;}
    .sub #feature .box {width: 100%;}
}


/* 스페셜 */
.sub #special {background: linear-gradient(to bottom, #ebf7ff 50%, #ffff 100%);}
.sub #special .flexList {--y-gap: 4.5rem;}
.sub #special .box img {border-radius: 12px;}
.sub #special .box .line {width: 3rem; height: 4px; background: var(--pointcolor3); margin: 1.5rem auto;}

@media(max-width:768px) {
    .sub #special .box .line {width: 4rem;}
}


@media(max-width:380px) {
    .sub #special .box br {display: none ;}
}

/* 진료시간 */
.sub #infor {background-image: url("/img/sub/hospital/bg_logo.png"); background-repeat: no-repeat; background-position: 95% 125%; background-size: 30.25rem;}
.sub #infor .list {padding: 4.5rem 0;}
.sub #infor .list.list01 {padding-top: 0; border-bottom: 1px solid #c5e2ea;}
.sub #infor .list.list02 {padding-bottom: 0;}

.sub #infor .txt {gap: 1rem;}
.sub #infor .txt img {width: 2rem;}
.sub #infor .desc {margin-top: 0.5rem;} 

.sub #infor .list.list01 b {margin-right: 2rem;}

.sub #infor .list.list02 li {margin-top: 0.8rem; gap: 1.5rem;}
.sub #infor .list.list02 li h3 {width: 16.25rem; height: 3.25rem; text-align: center; background: #f5f5f5; border-radius: 8px; line-height: 3.25rem;}
.sub #infor .list.list02 li:nth-child(1) {margin-top: 0;}
.sub #infor .list.list02 li:nth-child(1) h3 {background: #eef7fd; color: #001e85;}
.sub #infor .list.list02 li:nth-child(1) p {color: #001e85;}
.sub #infor .list.list02 li:nth-child(2) h3 {background: #ffeeea; color: #ff562f;}
.sub #infor .list.list02 li:nth-child(2) p {color: #ff562f;}

.sub #infor br.mo {display: none;}

@media(max-width:768px) {
    .sub #infor {background-position: 125% 125%;}
    .sub #infor .list {flex-direction: column; gap: 2rem;}
    .sub #infor .txt {width: 100%;}
    .sub #infor .txt img {width: 2.5rem;}
    .sub #infor .desc {width: 100%;}
    .sub #infor .list.list01 .desc {padding-left: 3.5rem;}
    .sub #infor .list.list02 li h3  {width: 20rem; height: 4rem; line-height: 4rem;}
}

@media(max-width:500px) {
    .sub #infor {background-position: 150% 110%; background-size: 25rem;}
    .sub #infor .list.list02 li {flex-direction: column;}
    .sub #infor .list.list02 li h3 {width: 100%;}
}

@media(max-width:360px) {
    .sub #infor br.mo {display: block;}
}

.sub #map {background: #eff9ff;}

.sub #map .mapbox > div {width: 100%; height: 100%;}
.sub #map .mapbox > div .wrap_map {height: 100%;}
.sub #map .txtbox > div {max-width: 700px; width: 90%; margin: auto;}

.sub #map li {display: flex; align-items: flex-start; border-radius: 12px; padding: 1rem 2rem;}
.sub #map li .txt {width: 13rem; gap: 1rem;}
.sub #map li .txt img {width: 1.75rem;}
.sub #map li .desc {width: calc(100% - 14rem);}
.sub #map li.address {color: #fff; background: #08a2ea;;}
.sub #map li.cont {background: #fff; margin-top: 0.8rem;}

@media(max-width:1580px) {
    .sub #map .hidden-lg {display: none !important;}
}

@media(max-width:990px) {
    .sub #map .mapbox > div .wrap_map {height: 500px;}
}

@media(max-width:768px) {
    .sub #map .mapbox > div .wrap_map {height: 300px;}
    .sub #map li.cont {padding: 2rem;}
    .sub #map li .txt {width: 15rem;}
    .sub #map li .txt img {width: 2.25rem;}
    .sub #map li .desc {width: calc(100% - 16rem);}
}

@media(max-width:500px) {
    .sub #map li.address .txt {width: 8rem;}
    .sub #map li.address .desc {width: calc(100% - 9rem);}
    .sub #map li.cont {flex-direction: column; gap: 1.5rem;}
    .sub #map li.cont .txt {width: 100%;}
    .sub #map li.cont .desc {width: 100%; padding-left: calc(3.25rem);}
}

@media(max-width:390px) {
    .sub #map li.address {flex-direction: column; gap: .5rem;}
    .sub #map li.address .txt {width: 100%;}
    .sub #map li.address .desc {width: 100%; padding-left: calc(3.25rem);}
}

/* 층별시설안내 */
.sub #facility .fcSwiper {border-radius: 12px 0 0 12px;}
.sub #facility .cont {display: flex; overflow: hidden;}
.sub #facility .swiper-slide {height: 30.9375rem; width: auto; border-radius: 12px; overflow: hidden;}
.sub #facility .swiper-slide .imgbox {width: 100%; height: 100%;}
.sub #facility .swiper-slide .imgbox img {width: 100%; height: 100%;}
.sub #facility .swiper-slide .txt {position: absolute; right: 1.5rem; bottom: 1.5rem; z-index: 1; width: 13.125rem; border-radius: 12px; background: #ffffff; color: #001e85; font-weight: 700; text-align: center; padding: 1rem 0;}
.sub #facility .page-wrap {writing-mode: vertical-lr; height: fit-content; padding-right: 1.5rem; color: #b6b6b6;}
.sub #facility .page-wrap .swiper-pagination-current {color: #001e85;}
.sub #facility .page-wrap .spacing {padding: 0.25rem;}

@media(max-width:680px) {
    .sub #facility .cont {flex-direction: column; gap: 1rem;}
    .sub #facility .page-wrap {writing-mode: inherit;}
    .sub #facility .swiper-slide {height: 20rem;}
}

@media(max-width:360px) {
    .sub #facility .swiper-slide .txt {right: auto; bottom: auto; left: 1.5rem; top: 1.5rem;}
}

/* 자원봉사안내 */
.sub #volunteer .container {padding-bottom: 6.25rem; border-bottom: 1px solid #c5e2ea;}
.sub #volunteer .tit {padding: 7rem 4rem; border-radius: 12px; background-image: url("/img/sub/community/volunteer_bg.jpg"); background-position: center; background-size: cover;}
.sub #volunteer .cont.desc .flexList {--y-gap: 0.8rem}
.sub #volunteer .cont.desc .box {display: flex; gap: 2rem; align-items: center;}
.sub #volunteer .cont.desc h3 {width: 12.5rem; text-align: center; padding: 0.5rem 1rem; background: #f5f5f5; border-radius: 8px;}
.sub #volunteer .cont.desc p {width: calc(100% - 14.5rem);}

@media(max-width:990px) {
    .sub #volunteer .cont.desc h3 {width: 18rem;}
    .sub #volunteer .cont.desc p {width: calc(100% - 20rem);}
}

@media(max-width:768px) {
   .sub #volunteer .tit {background-image: url("/img/sub/community/volunteer_bg_m.jpg"); aspect-ratio: 5 / 7;}
}

@media(max-width:500px) {
    .sub #volunteer .cont.desc .flexList {--y-gap: 1.5rem;}
    .sub #volunteer .cont.desc .box {flex-direction: column; gap: 1rem;}
    .sub #volunteer .cont.desc h3 {width: 100%;}
    .sub #volunteer .cont.desc p {width: 100%; text-align: center;}
}


.sub #kind.volunteer {padding-top: 150px;}
.sub #kind .flexList {--y-gap: 4.5rem;}
.sub #kind .imgbox {border-radius: 12px; overflow: hidden;}
.sub #kind .txt {display: flex; align-items: center; gap: 1rem;}
.sub #kind .txt img {width: 1.875rem;}
.sub #kind p {padding-left: 2.875rem;}

@media(max-width:1550px) {
    .sub #kind.volunteer {padding-top: 100px;}
}

@media(max-width:990px) {
    .sub #kind.volunteer {padding-top: 80px;}
}

@media(max-width:380px) {
    .sub #kind p br {display: none;}
}

/* 절차 */
.sub #step .contbox {padding: 6.25rem 5rem; border-radius: 12px;}
.sub #step .contbox:nth-child(1) {background: #f5f5f5;}
.sub #step .contbox:nth-child(2) {background: #eff9ff;}
.sub #step .contbox .flexList {--x-gap: 3.125rem; --y-gap: 4.5rem;}
.sub #step .contbox .box {background: #fff; border-radius: 12px; position: relative; height: 10rem;}
.sub #step .contbox .box:after {position: absolute; right: -2rem; top: 50%; transform: translateY(-50%); content: "→"; font-feature-settings: "ss18" 1; -webkit-font-feature-settings: "ss18" 1; color: var(--pointcolor);}
.sub #step .contbox .box:nth-child(3):after {display: none;}

@media(max-width:1240px) {
    .sub #step .contbox {padding: 5rem 3.5rem;}
}

@media(max-width:990px) {
    .sub #step .contbox .box:after {right: auto; left: 50%; transform: translate(-50%, 0) rotate(90deg); top: auto; bottom: -4rem; font-size: 2.5rem;}
}

@media(max-width:768px) {
    .sub #step .contbox .box {height: 13rem;}
}

@media(max-width:380px) {
    .sub #step .contbox {padding: 5rem 2.5rem;}
}

/* 시간안내 */
.sub #hours .org-color {color: #ff562f !important;}
.sub #hours li {display: flex; align-items: center; gap: 3.125rem;}
.sub #hours li p.day {width: 20rem; text-align: center; background: #f5f5f5; border-radius: 4px; padding: 1rem;}

@media(max-width:1240px) {
    .sub #hours .cont {max-width: 43rem; width: 100%; margin: 3.125rem auto 0;}
}

@media(max-width:500px) {
    .sub #hours li {flex-direction: column; gap: 1rem;}
    .sub #hours li p.day {width: 100%;}
}

/* 예약 */
.sub #reserve .org-color {color: #ff562f !important;}

.sub #reserve .line {width: 3rem; height: 4px; background: var(--pointcolor3); margin: 3.125rem auto;}
.sub #reserve  li {display: flex; align-items: center; justify-content: center; padding: 1.125rem 1rem; border-radius: 4px;}
.sub #reserve  li:nth-child(1) {background: #eff9ff;}
.sub #reserve  li:nth-child(2) {background: rgba(255,86,47,0.05);}
.sub #reserve .txt {display: flex; align-items: center; gap: 0.8rem; width: 13.125rem;}
.sub #reserve .desc {width: 15rem;}
.sub #reserve  li:nth-child(2) b {position: relative; display: inline-block;}
.sub #reserve  li:nth-child(2) b:after {position: absolute; left: 0; bottom: 10%; width: 0; height: 1rem; background: #ff562f; opacity: 0.1; content: ""; transition: 2s; transition-delay: 1.5s;}
.sub #reserve  li:nth-child(2) b.aos-animate:after {width: 100%;}

@media(max-width:1240px) {
    .sub #reserve .cont {max-width: 43rem; width: 100%; margin: 3.125rem auto 0;}
}

@media(max-width:768px) {
    .sub #reserve .cont {max-width: 100%;}
    .sub #reserve .line {width: 4rem;}
    .sub #reserve .txt {width: 18rem;}
    .sub #reserve  li img {width: 18px;}
}

@media(max-width:500px) {
    .sub #reserve  li {flex-direction: column; gap: 1rem;}
    .sub #reserve .txt {width: 100%; justify-content: center;}
    .sub #reserve .desc {width: 100%;}
}

/* 발급안내 */
.sub #list .contbox li .color-dark-gray {color: #777777 !important;}
.sub #list .contbox li {display: flex; align-items: center; padding: 1.25rem 3.75rem; gap: 1.25rem; background: #eff9ff; border-radius: 4px; margin-top: 0.8rem;}
.sub #list .contbox.p-large li {padding: 2rem 3.75rem;}
.sub #list .contbox li.desc {background: none; color: var(--dark-gray);}
.sub #list .contbox li img {width: 1rem;}

.sub #list .contbox li.flex-no {display: block;}

.sub #list .contbox.gray-bg li {background: #f5f5f5;}


@media(max-width:990px) {
    .sub #list .cont > .flex {flex-direction: column; gap: 1.5rem;}
    .sub #list .cont .box {width: 100% !important;}
}

@media(max-width:768px) {
    .sub #list li img {width: 1.5rem;}
}

@media(max-width:500px) {
    .sub #list .contbox.p-large li {flex-direction: column; gap: 0.5rem;}
}

/* 표 */
#table table {width: 100%; border-collapse: collapse; text-align: center;}
#table table th,
#table table td {padding: 1.125rem 3.125rem; border: 1px solid #dfdfdf;}
#table table th {background: var(--pointcolor3); color: #fff; border-color: #8db5df; font-weight: 700;}

#table.outpatient th {width: calc(100% / 3);}
#table.outpatient td:last-child {text-align: left;}
#table.outpatient table .middle span {display: block; width: 100%; margin: auto; text-align: left;}
#table.outpatient .cont:nth-child(2) table .middle span {max-width: 270px;}
#table.outpatient .cont:nth-child(3) table .middle span {max-width: 330px;}
/* #table.outpatient td:last-child span {max-width: 325px; display: block;  width: 100%; margin: auto;} */

@media(max-width:1240px) {
    #table.outpatient th:nth-child(1) {width: 25%;}
    #table.outpatient th:nth-child(2) {width: 35%;}
    #table.outpatient th:nth-child(3) {width: 40%;}
}

@media(max-width:768px) {
    #table .tablebox {overflow-x: auto;}
    #table table {width: 1000px; margin-bottom: 3.5rem;}

    #table ::-webkit-scrollbar {width: 100%; height: 3px;}
    #table ::-webkit-scrollbar-thumb {background: var(--pointcolor);}  
    
    #table.nonbenefit table {width: 100%; margin-bottom: 0;}
}

@media(max-width:500px) {
    #table.nonbenefit table {width: 550px; margin-bottom: 3.5rem;}
}

/* 대상자 */
.sub #target .notice {display: flex; align-items: baseline; justify-content: center; gap: 1rem; background: #eff9ff; max-width: 1200px; width: 100%; padding: 1rem 2rem; margin: 2.5rem auto 0;}
.sub #target .notice img {width: 1.125rem;}
.sub #target .flexList {--y-gap: 4.5rem;}
.sub #target .box img {border-radius: 12px;}

@media(max-width:990px) {
    .sub #target .box img {width: 100%;}
}

@media(max-width:768px) {
    .sub #target .notice img {width: 1.5rem;}
}

@media(max-width:520px) {
    .sub #target .notice br {display: none !important;}
}

/* 준비물 */
.sub #chart .box {border: 1px solid #dfdfdf;}
.sub #chart h3 {background: var(--pointcolor3); color: #fff; text-align: center; padding: 1rem;}
.sub #chart ul {padding: 2.5rem 1rem; max-width: 440px; width: 80%; margin: auto;}
.sub #chart li {display: flex; align-items: baseline; gap: 1rem; margin-top: 0.5rem;} 
.sub #chart li:first-child {color: #777777; padding-bottom: 1rem;}
.sub #chart li img {width: 1rem;}

.sub #chart .desc {background: #eff9ff; border-radius: 4px; text-align: center; padding: 1.25rem;}

@media(max-width:768px) {
    .sub #chart li img {width: 1.25rem;}
}

@media(max-width:500px) {
    .sub #chart ul {width: 90%;}
}

/* 절차 _ 아이콘 있는 모양 */
.sub #step2 .flexList {--y-gap: 4.5rem;}
.sub #step2 .imgbox {position: relative;}
.sub #step2 .imgbox:after {position: absolute; right: -1.5rem; top: 50%; transform: translateY(-50%); content: "• • •"; width: 2rem; z-index: 1; background: linear-gradient(to right, rgba(6, 108, 215, 0.3) 33.333%, rgba(6, 108, 215, 0.6) 66.666%, var(--pointcolor3) 100%); -webkit-text-fill-color: transparent; background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent;}
.sub #step2 .box:last-child .imgbox:after {display: none;}
.sub #step2 .imgbox img {width: 9.5rem;}
.sub #step2 .desc {background: #eff9ff; border-radius: 4px; padding: 1.5rem;}

@media(max-width: 1240px) {
    .sub #step2 .box:nth-child(3) .imgbox:after {display: none;}
    .sub #step2 .imgbox img {width: auto;}
}

@media(max-width:768px) {
    .sub #step2 .flexList {--x-gap: 5rem; max-width: 410px; width: 100%; margin: auto;}
    .sub #step2 .box:nth-child(3) .imgbox:after {display: block;}
    .sub #step2 .box:nth-child(even) .imgbox:after {display: none !important;}
    .sub #step2 .imgbox:after { width: 4rem; right: -4.5rem;}

   .ios .sub #step2 .imgbox:after {word-spacing: -10px;}
}

@media(max-width:420px) {
    .sub #step2 .txt p br {display: none}
}


/* 진료과목 */
.sub #subject {background: linear-gradient(to bottom, #f0faff 50%, #fff 100%); overflow: hidden;}
.sub #subject .leftbox {display: flex; gap: 9.375rem;}
.sub #subject .tabbox {padding-left: 3.25rem;}
.sub #subject .tab li {color: #000; opacity: 0.3; margin-top: 1rem; transition: 0.3s;}
.sub #subject .tab li.on {color: var(--pointcolor3); opacity: 1;}
.sub #subject .tab li p {position: relative; display: block;}
.sub #subject .tab li p:after {position: absolute; left: -3.25rem; top: 50%; transform: translateY(-50%); font-weight: 700; opacity: 0; transition: 0.3s;}
.sub #subject .tab li:nth-child(1) p:after {content: "01";}
.sub #subject .tab li:nth-child(2) p:after {content: "02";}
.sub #subject .tab li:nth-child(3) p:after {content: "03";}
.sub #subject .tab li:nth-child(4) p:after {content: "04";}
.sub #subject .tab li:nth-child(5) p:after {content: "05";}
.sub #subject .tab li.on p:after {opacity: 1;}
.sub #subject .imgbox {border-radius: 12px; overflow: hidden;}

.sub #subject .tabbox .imgbox img {display: none;}
.sub #subject .tabbox .imgbox img.on {display: block;}

.sub #subject .rightbox {padding-left: 5.5rem;}
.sub #subject .list li {margin-top: 6.25rem;}
.sub #subject .list li:last-child {margin-bottom: 6.25rem;}
.sub #subject .list li .icon img {width: 3.1875rem;}
.sub #subject .list li .imgbox {display: none;}

.sub #subject .scroll-bar {height: 100%; max-height: 43.75rem; background: #dadada ; width: 2px; position: relative;}
.sub #subject .scroll-bar .progress {position: absolute; width: 100%; height: 100%; top: 0; left: 50%; transform: translateX(-50%); background: var(--pointcolor);}

.sub #subject .swiper-wrapper {display: block; height: auto;}

.sub #subject .custom-pg {width: 100%; height: 3px; background: #c2c2c2c2} 
.sub #subject .swiper-pagination2 {height: 3px; background: var(--pointcolor); position: relative;overflow: hidden; transition: 1.5s;}

@media(max-width: 1550px) {
    .sub #subject .list li br {display: none;}
}

@media(max-width:768px) {
    .sub #subject .container > .flex {display: block;}
    .sub #subject .leftbox {display: block;}
    .sub #subject .tabbox {display: none;}
    .sub #subject .scroll-bar {display: none;}
    .sub #subject .rightbox {width: 100%; padding-left: 0;}
    .sub #subject .list li {margin-top: 3.5rem;}
    .sub #subject .list li .icon img {width: 4rem;}
    .sub #subject .list li .imgbox {display: block; margin-top: 1.5rem;}

    .sub #subject .swiper-wrapper {display: flex; height: 100%;}
}

/* 원인 */
.sub #cause {background-image: url("/img/sub/cause_bg.jpg"); background-repeat: no-repeat; background-size: cover; background-position: center;}
.sub #cause .flexList {--x-gap: 2rem; --y-gap: 2rem;}
.sub #cause .box {background: #fff; padding: 3.125rem; border-radius: 12px;}
.sub #cause .txtbox {margin: 0 2rem;}
.sub #cause .icon img {width: 8.4375rem;}

@media(max-width:360px) {
    .sub #cause .txtbox br {display: none;}
}

/* 단계 */
.sub #stage .flexList {--x-gap: 2rem; --y-gap: 3.5rem;}
.sub #stage .box h3 b {margin: 3.125rem auto 2rem; background: #228cdd; width: 10.5rem; padding: 0.375rem; color: #fff; border-radius: 100px; display: block;}
.sub #stage .box h3:after {position: absolute; right: -2rem; top: 50%; transform: translateY(-50%); content: ">"; z-index: 1; color: #228cdd; font-weight: bolder; font-size: 1.5rem;}
.sub #stage .box h3:before {position: absolute; left: 50%; top: 50%; transform: translateY(-50%); width: 100%; height: 1px; border: 1px dashed #228cdd; content: ""; z-index: -1; opacity: 0.8;}
.sub #stage .box:last-child h3::after {display: none;}
.sub #stage .box:last-child h3:before {display: none;}

@media(max-width:990px) {
    .sub #stage .box h3:after {font-size: 2rem;}
    .sub #stage .box:nth-child(2) h3::after {display: none;}
    .sub #stage .box:nth-child(2) h3:before {display: none;}
}

@media(max-width:500px) {
    .sub #stage .box h3::after {display: none;}
    .sub #stage .box h3:before {display: none;}
}

@media(max-width:380px) {
    .sub #stage .tit br {display: none !important;}
}

/* 클리닉 */
.sub #clinic {background: #f9f9f9;}
.sub #clinic li {margin-top: 4.375rem;}
.sub #clinic li:first-child {margin-top: 0;}
.sub #clinic li h3 {padding-left: 1.25rem; position: relative; display: block;}
.sub #clinic li h3:after {position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 60%; background: #066cd7; content: "";}
.sub #clinic li p {padding-left: 1.25rem;}

@media(max-width:1240px) {
    .sub #clinic .container > .flex {flex-direction: column; gap: 3.5rem;}
    .sub #clinic .tit {width: 100%;}
    .sub #clinic .contbox {width: 100%;}
}

@media(max-width:400px) {
    .sub #clinic .contbox p br {display: none;}
}

@media(max-width:360px) {
    .sub #clinic .tit p br {display: none;}
}

/* 체크 */
.sub #check .flexList {--x-gap: 2rem; --y-gap: 2rem;}
.sub #check .box:not(:last-child) {background: #eff9ff; border-radius: 12px; padding: 2.5rem 3.5rem;}
.sub #check .box:last-child {display: flex; align-items: center; justify-content: center;}
.sub #check .box:last-child h4 {color: #08a2ea; opacity: 0.2; font-weight: bolder; text-align: center;}
.sub #check .txt {display: flex; align-items: center; gap: 1rem;}
.sub #check .txt img {width: 1.875rem;}
.sub #check .cont p {padding-left: 2.875rem;}

@media(max-width:1240px) {
    .sub #check .cont p br {display: none;}
}

@media(max-width:768px) {
    .sub #check .txt img {width: 2.25rem;}
    .sub #check .cont p br {display: block;}
    .sub #check .box:last-child {height: 10rem;}
}

@media(max-width:520px) {
    .sub #check .cont p br {display: none;}
}

@media(max-width:420px) {
    .sub #check .box:last-child h4 {font-size: 2.8rem;}
}