/*
Theme Name: 새한정형외과
Author: Jeymedi
Author URI: https://jmedidesign.com
Description: 새한정형외과 웹사이트 테마
Version: 1.0.0
*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    LAYOUT
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
body { overflow-x:hidden; }

.inner {
    width: var(--inner);
    margin: 0 auto;
    position: relative;
/*    border-left: 1px dashed magenta;*/
/*    border-right: 1px dashed magenta;*/
}


/* header */
header.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    height: 0;
    transition: all ease 0.5s;
    z-index: 99;
}
header.header .gnb-floor {
    position: relative;
    z-index: 3;
    background-color: #fff;
    border-bottom:1px solid #ddd
}
header.header .gnb-floor > .inner,
header.header .sub-floor > .inner {
    width: 100%;
    max-width: 1700px;
    display: grid;
    grid-template-columns: 370px 960px 230px;
    align-items: center;
    justify-content: space-between;
    border-bottom:1px solid rgba(255, 255, 255, 0);
    transition: all ease 0.3s;
}
header.header .gnb-floor > .inner a.logo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left center;
    background-image: url('./img/logo.png');
}


header.header .sub-floor ul.menu,
header.header .gnb-floor nav.gnb ul.menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0;
}

header.header .gnb-floor nav.gnb ul.menu > li {
    padding: 0 2em;
}

header.header .gnb-floor nav.gnb ul.menu li.menu-item-has-children a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
}
/*header.header .gnb-floor nav.gnb ul.menu li.menu-item-has-children:nth-child(2) a {*/
header.header .gnb-floor nav.gnb ul.menu li.menu-item-has-children.current-menu-parent a {
    /* 현재 페이지 부모 or 중점진료센터 */
    color: var(--secondary);
}
header.header .gnb-floor nav.gnb ul.menu li.menu-item-has-children a::before {
    content: '';
    position: absolute;
    display: block;
    width: 6px; height: 7px;
    border-radius: 50%;
    background-color: transparent;
    left: 50%;
    bottom: -10px;
    transform: translate(-50%, -10px);
    transition: all ease 0.3s
}
header.header .gnb-floor nav.gnb ul.menu li.menu-item-has-children.current-menu-parent a::before,
header.header .gnb-floor nav.gnb ul.menu li.menu-item-has-children:hover a::before {
    background-color: var(--secondary);
    transform: translate(-50%, 0);
}

header.header .gnb-floor nav.gnb .sub-menu { display:none; }




/* 서브메뉴 */
header.header .sub-floor {
    display: grid;
    visibility: hidden;
    background-color: rgba(255, 255, 255, .95);
    padding: 20px 0 50px;
    border-bottom:1px solid #ddd;
    transform: translateY(-450px);
    z-index: 1;
    transition: all ease 0.6s;
}
header.header .sub-floor ul.menu li a {
    display: block;
    font-size: 17px;
    color: #444;
    text-align: center;
    font-weight: 300;
    padding: 5px 0;
/*    margin: 0 3px;*/
/*    border-radius: 5px;*/
}
header.header .sub-floor ul.menu li a:hover,
header.header .sub-floor ul.menu li.current-menu-item a {
    font-weight: 500;
    color: var(--primary);
/*    background: #ebf5ff;*/
}
/* 서브메뉴 on */
header.header.on .sub-floor.on {
    visibility: visible;
    transform: translateY(0);
}

header.header .sub-floor ul.menu li.menu-item-has-children > a { display:none }




/* footer */
footer.footer {
    max-width: 100vw;
    overflow: hidden;
    background-color: #002165;
    font-size: 16px;
}
footer.footer * { color:rgba(255, 255, 255, .9); }
footer.footer > .inner {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 50px;
}
/* 푸터메뉴 */
footer.footer ul.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 2em;
}
footer.footer ul.menu li.menu-item a { /*  푸터메뉴 단일  */ }
footer.footer ul.menu li.menu-item a:hover { opacity: 0.75; }

/* 푸터로고 */
footer.footer img.logo { width: 380px; }
/* 푸터인포 */
footer.footer ul.info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 1em 1.5em;
    flex-wrap: wrap;
}
footer.footer ul.info li {
    font-weight: 300;
    display: flex;
    flex-direction: row;
    grid-gap: 0.5em;
}
/* 푸터링크 */
footer.footer div.links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 25px;
}
/* 지도버튼 */
a.btn-square-map {
    --btncolor : #333761;
    color: #fff;
    display: flex;
    border-radius: 8px;
    padding: 16px 25px;

    background-color: var(--btncolor);
    border: 1px solid var(--btncolor);
    grid-gap: 10px;
    place-self: center;
    transition: transform ease 0.3s;
}
a.btn-square-map:hover {
    transform: translateY(-5px);
    border-color: #575b84;
}

a.btn-square-map::before {
    content: '';
    display: block;
    width: 18px;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
a.btn-square-map.naver::before { background-image:url('./img/btn-map-naver.png') }
a.btn-square-map.kakao::before { background-image:url('./img/btn-map-kakao.png') }

/* copyright */
footer.footer .copyright {
    font-size: 0.8em;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}


/* quickmenu */
#quickmenu {
/*    border: 1px dashed lime;*/
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 30px;
    top: 50%;
    gap: 1em;
    transform: translateY(-40%);
    justify-content: center;
    z-index: 99;
}
#quickmenu .group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    border-radius: 5em;
    padding: 3em 1.5em;
    font-size: 14px;
    gap: 1em;
    box-shadow: 0 5px 15px -2px rgba(0, 0, 0, 0.1);
}
#quickmenu .group a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    text-align: center;
    font-weight: 500;
    gap: 5px;
}
#quickmenu .group a .icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
#quickmenu .group a:nth-child(2) .icon { background-size:auto 90% }
#quickmenu .group a:nth-child(3) .icon { background-size:90% }
#quickmenu .group a:nth-child(4) .icon { background-size:80% }

#quickmenu .group a .icon {}


#quickmenu .topbtn { text-align: center; cursor: pointer;}








/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MAINPAGE : 메인페이지
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 01. 메인비주얼  */
section.main-visual {
    max-width: 100vw;
    overflow: hidden;
    position: relative;
}
section.main-visual .swiper-slide {
    width: 100vw;
    aspect-ratio: 1920 / 950;
    overflow: hidden;
    background-color: var(--primary);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}
section.main-visual .swiper-slide .inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
section.main-visual .swiper-slide .inner .text-box {
    margin-top: 10vh;
    width: 55%;
    min-height: 60vh;
    border-radius: 50px;
    padding: 0 50px 10vh;
    background-color: rgba(22,90,192,.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
section.main-visual .swiper-slide.mv3 .inner .text-box { background-color: rgba(14,151,151,.8); }
section.main-visual .swiper-slide .inner .text-box * { color:#fff; text-align:center; }
section.main-visual .swiper-slide .text-box p.eng {
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 1.2em;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1em;
}
section.main-visual .swiper-slide .text-box .mv-title {
    position: relative;
    margin-bottom: 2em;
    /**/animation-delay: 0.5s;
}
section.main-visual .swiper-slide .text-box .mv-title::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    border-bottom: 2px solid #fff;
    bottom: 0;
    margin: 1vh auto 2vh;
    transition: width ease 1s;
    transition-delay: 1s;
}
section.main-visual .swiper-slide.swiper-slide-active .text-box .mv-title::after { width: 16%; }

section.main-visual .swiper-slide .text-box .mv-title p { font-weight:300; font-size:1.1em }
section.main-visual .swiper-slide .text-box .mv-title p + h3 { font-size: 2.7em;}
section.main-visual .swiper-slide .text-box .mv-title p + h3 span { font-size:inherit; }

section.main-visual .swiper-slide .text-box .mv-desc {
    /**/animation-delay: 1s;
    padding: 0 6em;
    letter-spacing: 0;
}
section.main-visual .swiper-slide.swiper-slide-active .text-box > * {
    animation-name: welcomeText;
    animation-duration: 1.5s;
    animation-fill-mode: both;
    filter: opacity(0);
    transform: translateY(50px);
}
@keyframes welcomeText {
    0% { transform: translateY(50px); filter: opacity(0); }
    100% {transform: translateY(0); filter: opacity(1); }
}

section.main-visual .control {
    width: 300px;
    height: 60px;
    z-index: 1;
    grid-gap: 20px;
    position: absolute;
    left: calc(50% - 520px);
    top: 50%;
    transform: translateY(22vh);
}
section.main-visual .control .arrow-box {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    transform: translate(130%, 0);
}
section.main-visual .control .button-prev,
section.main-visual .control .button-next {
    display: block;
    width: 30px; height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 30%;
    cursor: pointer;
}
section.main-visual .control .button-prev { background-image:url('./img/swiper-control-prev.svg') }
section.main-visual .control .button-next { background-image:url('./img/swiper-control-next.svg') }

section.main-visual .control .swiper-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.8);
    transform: translateY(-50%);
}
section.main-visual .control .swiper-pagination span.swiper-pagination-current {
    color: var(--logo);
}
section.main-visual .control .swiper-pagination i {
    opacity: 0.5;
    transform: translateX(1px);
}

section.main-visual .control .progress-box {
    width: 70%;
    position: relative;
    z-index: 11;
    left: 50%;
    top: 40%;
    transform: translate(-50%, 0);
}
section.main-visual .control .autoplay-progress {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
}
section.main-visual .control .autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    stroke-width: 2px;
    stroke: #fff;
    fill: none;
    stroke-dashoffset: calc(100 * (1 - var(--progress)));
    stroke-dasharray: 100;
}

/* 타이틀영역 */
section div.title-zone {
    display: grid;
    grid-gap: 0.5em;
}
section div.title-zone * {
    text-align:center;
}
section div.title-zone .eng {
    color: rgba(14, 59, 151, .5);
    text-transform: uppercase;
    font-size: 1em;
    letter-spacing: 0.15em;
    margin-bottom: 1em;
}
/* 타이틀 (메인페이지) */
section.main div.title-zone .main-title {
    font-weight: 500;
    font-size: 2.6em;
    font-family: var(--p);
    letter-spacing: -0.03em;
    line-height: 1.3;
}
section.main div.title-zone .main-title b {
    font-weight: 700;
    font-size: inherit;
}
section.main div.title-zone .main-title > b.txt-primary {
    position: relative;
}
section.main div.title-zone .main-title > b.txt-primary::before {
    display: block;
    content: '';
    height: 1em;
    width: 100%;
    height: 60%;
    background-color: rgba(14, 59, 151, .1);
    position: absolute;
    left: 0;
    bottom: 0;
}
section.main div.title-zone .main-title + .p-wrap {
    margin-top: 1em;
}
section.bg-dark div.title-zone p,
section.bg-dark div.title-zone h4 { color:#fff }
section.bg-dark div.title-zone .main-title-eng { color:rgba(255, 255, 255, .4); }

/* - - - - - 02. 원장님소개  */
section.main-doctor {}
section.main-doctor .unit.doctor-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: flex-end;
    grid-gap: 30px;
}
section.main-doctor .unit.doctor-grid > div.txt {}
section.main-doctor .unit.doctor-grid > div.txt .title-zone * {
    text-align: left ;
}
section.main-doctor .unit.doctor-grid > div.txt .title-zone p.txt-primary {
    margin: 1em 0;
    font-weight: 600;
    font-size: 1.2em;
}
section.main-doctor .unit.doctor-grid > div.txt .career-zone {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 2em;
    margin: 0 0 40px;
}
section.main-doctor .unit.doctor-grid > div.txt .career-zone ul li {
    font-size: 1.15em;
    font-weight: 600;
    opacity: 0.28;
/*    color: #c0c0c0;*/
    padding: 0.2em 0;
    display: grid;
    grid-template-columns: 1em auto;
    align-items: center;
}
section.main-doctor .unit.doctor-grid > div.txt .career-zone ul li::before { content:'-' }

section.main-doctor .unit.doctor-grid > div.txt .more-zone {}
section.main-doctor .unit.doctor-grid > div.txt .more-zone a.moreview {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    color: var(--primary);
    font-weight: 500;
    padding: 1em 0.5em;
    grid-gap: 0.5em;
}
section.main-doctor .unit.doctor-grid > div.txt .more-zone a.moreview::after {
    content: url('./img/moreview-arrow.svg');
}

section.main-doctor .unit.doctor-grid > div.txt .more-zone div.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 11px;
}
section.main-doctor .unit.doctor-grid > div.txt .more-zone div.photo-grid > div {
    background-size: cover;
    background-position: center;
    aspect-ratio: 3 / 2;
    background-repeat: no-repeat;
}

section.main-doctor .unit.doctor-grid > div.img {
    background-image: url('./img/symbol-op20.svg');
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 30%;
    aspect-ratio: 3 / 4;
}
section.main-doctor .unit.doctor-grid > div.img .doctor {
    height: 100%;
    background-size: 70%;
    background-position: bottom center;
    background-repeat: no-repeat;
}




/* - - - - - 03. 중점진료센터  */
section.main-center {
    background-color: #F0F4F9;
    position: relative;
    max-width: 100vw;
    overflow: hidden;
}
section.main-center > .inner {
    position: relative;
    z-index: 1;
}

section.main-center::before,
section.main-center::after {
    content: '';
    display: block;
    width: 100%;
    aspect-ratio: 6 / 1;
    position: absolute;
    left: 0;
    background-repeat: no-repeat;
    background-size: 100%;
    z-index: 0;
}
section.main-center::before {
    background-image: url(./img/main-center-before.png);
    background-position: top center;
    top: 0;
}
section.main-center::after {
    background-image: url(./img/main-center-after.png);
    background-position: bottom center;
    bottom: 0;
}

section.main-center div.unit {
    width: 75%;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 18px;
    position: relative;
    z-index: 1;
}
section.main-center div.unit .center-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    grid-gap: 18px;
}
section.main-center div.unit .center-grid + .center-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
}
section.main-center div.unit .center-grid > div {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #D9E2F0;
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0);
    transition: all ease 0.5s;
}
section.main-center div.unit .center-grid > div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -8px rgba(33, 149, 255, 0.5);
}

section.main-center div.unit .center-grid > div a {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.2em;
    padding: 35px 40px;
    color: #fff;
    font-size: 1.4em;
    position: relative;
    z-index: 1;
}
section.main-center div.unit .center-grid > div::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    background-color: rgba(0,0,0,.2);
    transition: background ease 0.3s;
}
section.main-center div.unit .center-grid > div:hover::before {
    background-color: rgba(20,40,100,.7);
}
section.main-center div.unit .center-grid > div a p { font-weight:600 }
section.main-center div.unit .center-grid > div a span {
    font-size: 0.5em;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    opacity: 0.8;
    font-weight: 200;
}
section.main-center div.unit .center-grid > div.spine { background-image:url('./img/main-center-spine.jpg') }
section.main-center div.unit .center-grid > div.shoulder { background-image:url('./img/main-center-shoulder.jpg') }
section.main-center div.unit .center-grid > div.joint { background-image:url('./img/main-center-joint.jpg') }
section.main-center div.unit .center-grid > div.elbow { background-image:url('./img/main-center-elbow.jpg') }
section.main-center div.unit .center-grid > div.knee { background-image:url('./img/main-center-knee.jpg') }
section.main-center div.unit .center-grid > div.vaccine { background-image:url('./img/main-center-vaccine.jpg') }






/* - - - - - 04. (*) 치료의차이  */
section.main-differ {
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    background-image: url('./img/main-differ.jpg');
}
section.main-differ .title-zone {
    width: 50%;
}
section a.btn-icon-link {
    display: flex;
    padding: 1em 2.5em;
    border-radius: 4em;
    gap: 0.5em;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.2em;
    flex-direction: row;
    color: #fff;
    justify-content: center;
    align-items: center;
    background-color: #40A539;
    box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.15);
    transition: all ease 0.3s;
}
section a.btn-icon-link:hover {
    background-color: #53bc4c;
}
section a.btn-icon-link:active {
    transform: translateY(5px);
}

section a.btn-icon-link.talktalk::before {
    content: '';
    background-image: url(./img/icon-talktalk.svg);
    display: blcok;
    width: 1.2em; aspect-ratio: 1 / 1;
    background-size: contain;
}
section.main-differ div.p-wrap {
    margin: 50px 0;
}

section.main-differ div.p-wrap p { color: #595959; }
section.main-differ div.p-wrap p + p { margin-top:1.2em }




/* - - - - - 05. 비수술맞춤치료센터  */
section.main-nonsurgery {
    background-image: url('./img/main-nonsurgery.jpg');
    background-position: center;
    background-size: cover;
    position: relative;
}
section.main-nonsurgery > .inner {
    padding: 150px 0 12em;
}
section.main-nonsurgery .unit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 20px;
}
section.main-nonsurgery .unit > .card {
    display: block;
    width: 100%;
    background-color: var(--primary);
    aspect-ratio: 1.1 / 1;
    transform : translateZ(0) scale(0.85);
    will-change: transform;
    transform-style: preserve-3d;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all ease 0.5s;
    box-shadow: 0 30px 40px -5px rgba(20,40,100,.4);
    filter: opacity(0.8);
    cursor: pointer;
}
section.main-nonsurgery .unit > .card.init,
section.main-nonsurgery .unit > .card:hover {
    transform: translateZ(0) scale(1.0);
    box-shadow: 0 30px 40px -5px rgba(20,40,100,.0);
    filter: opacity(1.0);
}
section.main-nonsurgery .unit > .card > div {
    position: absolute;
    height: 100%;
    display: block;
}

section.main-nonsurgery .unit > .card > .txt {
    background-color: var(--primary);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px;
}
section.main-nonsurgery .unit > .card > .txt::before {
    content: '새한정형';
    font-weight: 200;
    color: #fff ;
    font-size: 1.3em;
}
section.main-nonsurgery .unit > .card > .txt > * { color:#fff }
section.main-nonsurgery .unit > .card > .txt h5 { font-size: 2em; }
section.main-nonsurgery .unit > .card > .txt h5 + p {
    max-width: 14em;
    font-size: 0.9em;
    margin: 1em 0 3em;
}

section.main-nonsurgery .unit > .card > .img {
    background-color: gray;
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    width: 50%;
    right: 0;
    border-radius: 10px;
    border-left: 10px solid #3070F4;
    box-shadow: -3px 0 20px -5px rgba(0,0,0,.25);
    transform: translateX(50%);
    transition: transform ease 0.5s;
}
section.main-nonsurgery .unit > .card:hover > .img {
    transform: translateX(0);
}
/* scrollText */
section.main-nonsurgery .scrollText {
    background-repeat: no-repeat;
    background-size: auto 4em;
    animation: scrollTextBg 50s linear infinite;
    background-image: url(./img/main-nonsurgery-text.png);
    width: 100vw;
    height: 8em;
    position: absolute;
    left: 0;
    bottom: 3em;
    z-index: 2;
    opacity: 0.5;
}

@keyframes scrollTextBg {
    from { background-position:right -99vw bottom; }
    to { background-position:left -99vw bottom; }
}


/* - - - - - 06. 둘러보기  */
section.main-preview {
    position: relative;
}
section.main-preview > .inner {
    width:100vw;
    overflow: hidden;
}
section.main-preview .slide-box {
    width: 100vw;
    margin: 60px auto 0;
    overflow: hidden;
}
section.main-preview .slide-box .swiper {
    overflow: visible;
}
section.main-preview .swiper-slide {
    aspect-ratio: 16 / 9;
    background-color: #eee;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(0.9);
    transform-origin: bottom center;
    transition: all ease 0.5s;
}
section.main-preview .swiper-slide.swiper-slide-active {
    transform: scale(1.0);
}
section.main-preview .control {
    width: 400px;
    height: 60px;
    z-index: 1;
    position: absolute;
    left: 49%;
    bottom: 50px;
    transform: translate(-50%, 0);
}
section.main-preview .control .arrow-box {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    transform: translate(130%, 0);
}
section.main-preview .control .button-prev,
section.main-preview .control .button-next {
    display: block;
    width: 30px; height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 30%;
    cursor: pointer;
}
section.main-preview .control .button-prev { background-image:url('./img/swiper-control-dark-prev.svg') }
section.main-preview .control .button-next { background-image:url('./img/swiper-control-dark-next.svg') }

section.main-preview .control .swiper-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    color: rgba(0,0,0,.8);
    transform: translateY(-50%);
}
section.main-preview .control .swiper-pagination i {
    opacity: 0.5;
    transform: translateX(1px);
}
section.main-preview .control .progress-box {
    width: 70%;
    position: relative;
    z-index: 11;
    left: 50%;
    top: 40%;
    transform: translate(-50%, 0);
}
section.main-preview .control .autoplay-progress {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.1);
}
section.main-preview .control .autoplay-progress svg {
    --previewprogress: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    stroke-width: 2px;
    stroke: #222;
    fill: none;
    stroke-dashoffset: calc(100 * (1 - var(--previewprogress)));
    stroke-dasharray: 100;
}



/* - - - - - 07. (*) 오시는길  */
section.main-locate {}
section.main-locate .unit.locate-info {
    width: 92%;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 40px;
}
section.main-locate .unit.locate-info > div.info {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
}
section.main-locate .unit.locate-info > div.info .info-unit {
/*    margin-bottom: 40px;*/
}
section.main-locate .unit.locate-info > div.info h6 {
    border-left: 4px solid var(--primary);
    padding-left: 0.3em;
    color: var(--primary);
    line-height: 1.0;
    font-size: 1.6em;
    margin-bottom: 0.5em;
}

section.main-locate .unit.locate-info > div.info dl {
    display: grid;
    grid-template-columns: 6em auto;
    align-items: center;
    grid-gap: 1em;
    padding: 1em;
    font-size: 1.1em;
    position: relative;
}
section.main-locate .unit.locate-info > div.info dl.time::before {
    content: '';
    display: block;
    width: 90%;
    height: 5em;
    background-color: #0E3B97;
    opacity: 0.9;
    position: absolute;
    top: 3em;
    z-index: -1;
    border-radius: 0.5em;
}

section.main-locate .unit.locate-info > div.info dl dt {
    font-weight: 700;
}
section.main-locate .unit.locate-info > div.info div.links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    grid-gap: 0.8em;
    margin: 0.5em 0.8em;
    font-size: 0.9em;
}
section.main-locate a.btn-square-map { padding: 0.8em 2em; }
section.main-locate a.btn-square-map::before { width:1.5em }


section.main-locate .unit.locate-info > div.locate {
    grid-gap: 15px;
}
section.main-locate .unit.locate-info > div.locate #map {
    border-radius: 5px;
    background-color: #eee;
    aspect-ratio: 5 / 3;
}
section.main-locate .unit.locate-info > div.locate .map-label {
    background-color: var(--primary);
    color: #fff;
    font-size: 1.3em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 0.5em;
    padding: 1em;
    border-radius: 10px;
    margin-top: 1em;
    line-height: 0;
}
section.main-locate .unit.locate-info > div.locate .map-label::before {
    content: url('./img/icon-map-locate.svg');
}
section.main-locate a.btn-icon-link {
    padding: 0.8em 2.5em;
    font-size: 1.1em;
    margin: -0.8em auto 0 0.8em;
}











/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 레이아웃 / 공통요소
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
section > .inner {
    padding: 150px 0;
}

/* 서브 헤더 */
section.sub-header {
    --inner : 1300px;
    border-bottom: 1px solid #ddd;
}
section.sub-header > .inner {
    padding: 180px 0 0;
}
section.sub-header .sub-header-title {
    padding: 80px 0 100px;
    width: 70%;
    margin: 0 auto;
}
section.sub-header div.sub-header-title * {
    text-align: center;
}
section.sub-header div.sub-header-title h2 {
/*    letter-spacing: -0.025em;*/
}
section.sub-header div.sub-header-title p.desc {
    color: #888;
    margin-top: 1em;
    font-size: 1.1em;
    line-height: 2.0;
    font-weight: 500;
}


/* 서브 브레드크럼 */
div.sub-breadcrumb {}
div.sub-breadcrumb nav.breadcrumb > ul {
    width: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}
div.sub-breadcrumb nav.breadcrumb > ul > li {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 0;
}
div.sub-breadcrumb nav.breadcrumb > ul > li + li {
    border-left: 1px solid #c3c3c3;
}
div.sub-breadcrumb nav.breadcrumb > ul li.home {
    width: 40px;
    aspect-ratio: 2 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('./img/icon-breadcrumb-home.svg');
    background-repeat: no-repeat;
    background-size: 0.8em;
    background-position: center left;
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children {
    position: relative;
    font-size: 16px;
    padding: 0 1.5em;
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    line-height: 0.8;
    cursor: pointer;
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children > a::after {
    content: '';
    background-image: url('./img/icon-breadcrumb-arrow.svg');
    display: block;
    width: 1em; height: 1em;
    margin-left: 0.75em;
    background-size: auto 40%;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center;
    transform: rotate(0deg) translateY(0);
    transition: transform 0.3s;
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children > a.on::after {
    transform: rotate(180deg) translateY(2px);
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu {
    display: none;
    position: absolute;
    max-width: inherit;

    width: auto;
    top: 30px;
    left: 1.1em;
    z-index: 2;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children > a.on + ul.sub-breadcrumb-menu {
    display: block;
}

div.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li {
    white-space: nowrap;
    font-size: 0.9em;
    transition: padding ease 0.3s;
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li a {
    display: block;
    color: #444;
    padding: 0.75em 1.5em;
}

div.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li.current a {
    color: #222;
    font-weight:600;
    background-color:#f9f9f9
}
div.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li.on + ul.sub-breadcrumb-menu { display: block; }


div.sub-breadcrumb nav.breadcrumb ul li.home + li.has-children ul.sub-breadcrumb-menu li:first-child,
div.sub-breadcrumb nav.breadcrumb ul li.home + li.has-children ul.sub-breadcrumb-menu li:nth-last-child(1),
div.sub-breadcrumb nav.breadcrumb ul li.home + li.has-children ul.sub-breadcrumb-menu li:nth-last-child(2),
div.sub-breadcrumb nav.breadcrumb ul li.home + li.has-children ul.sub-breadcrumb-menu li:nth-last-child(3),
div.sub-breadcrumb nav.breadcrumb ul li.home + li.has-children ul.sub-breadcrumb-menu li:nth-last-child(4) { display:none; }


section.sub .p-wrap p + p { margin-top:1em }

section .unit { margin: 80px auto 0; }
section .unit.ml { margin: 40px auto; }
section .unit.nomargin { margin: 0 auto; }
section .unit.img { margin: 60px auto; }
section .unit.unit90 { width: 90%; }
section .unit.unit80 { width: 80%; }
section .unit.unit70 { width: 70%; }
section .unit.unit60 { width: 60%; }
section .unit.unit50 { width: 50%; }

/* 이미지 정렬 */
section.sub.intro div.unit.img { text-align: center; }
section.sub.intro div.unit.img img { max-width:100% }

/* 효과 - 페이드업 */
section div.effect {
    transition: all ease 0.8s;
    transition-delay: 0.5s;
    transform: translateY(5%);
    opacity: 0;
}
section div.effect.active {
    opacity: 1;
    transform: translateY(0);
}

/* 효과 - 텍스트 채우기 */
section.sub .text-fill { }
section.sub .text-fill div.fill {
    position:relative;
    height:3.5em;
    max-width: var(--inner);
}
section.sub .text-fill div.fill h4.title {
    position: absolute;
    color: #ccc;
    white-space: nowrap;
}
section.sub .text-fill div.fill h4.title.copy {
    /*복사된 h4*/
    color: #222;
    width: 0;
    overflow: hidden;
}


/* 효과 스크롤텍스트(서브페이지) */
section.effect .scrollText {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background-repeat: repeat-x;
    animation: scrollTextBg 60s linear infinite;
    background-size: auto 90%;
    height: 5em;
    opacity: 0.8;
    background-image: url(./img/sub-scrolltext.png);
    margin: 100px 0;
}



/* 서브 */
section.sub {
    --inner : 1280px;
}
/* 서브 인트로 */
section.sub.intro {
    position: relative;
}

/* 텍스트 스타일링 */
/* 일반섹션 타이틀존 정렬 */
section.sub div.title-zone * {
    text-align: center;
}
section.sub div.title-zone.txt-left * {
    text-align: left !important;
    width: fit-content;
    margin-right: auto;
}
section.sub .title-zone h4.title i { font-weight: 500 }
section.sub .title-zone h4.title > * { font-size:inherit; }


/* 일반섹션 타이틀 */
section.sub div.title-zone h4.title {
/*    background-color: yellow;*/
    font-size: 2.5em;
    line-height: 1.3;
    letter-spacing: -0.03em;
}
/* 일반섹션 서브타이틀 국문 */
section.sub .title-zone p.subtitle {
/*    background-color: lime;*/
    font-size: 1.3em;
    color: #888;
    font-weight: 600;
}
/* 일반섹션(어두운배경) 서브타이틀 국문 */
section.sub.bg-dark .title-zone p.subtitle { color:rgba(255, 255,255, .8); }

/* 인트로섹션 서브타이틀 국문 (fill 이펙트 위쪽) */
section.sub.intro .title-zone p.intro-subtitle {
/*    background-color: cyan;*/
    font-size: 1.3em;
    color: #888;
    font-weight: 600;
}
/* 일반섹션 서브타이틀 영문  */
section.sub div.title-zone .eng {
/*    background-color: red;*/
    font-size: 1em;
    text-transform: capitalize;
    letter-spacing: 0;
    margin-bottom: 0.5em;
}
/* 일반섹션 서브타이틀 영문 대문자 */
section.sub div.title-zone .eng.upper {
/*    background-color: magenta;*/
    color: rgba(14, 59, 151, .5);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
/* 일반섹션 타이틀 아래 문구 */
section.sub div.title-zone p.desc {
    font-weight: 500;
    color: #888888;
    font-size: 1.1em;
    margin-top: 1em;
}

/*  노란색 라벨  */
section.sub span.label {
    background-color: #FFF3CC;
    color: #896900;
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: 0.25em;
    text-align: inherit;
    line-height: 1.0;
    display: inline-block;
    font-size: 0.9em;
}
/* 섹션 / 유닛 내부 소제목 */
section.sub div.unit h5 { font-size: 2em; }




/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 00 병원소개
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
section.sub.intro.about .inner { padding-bottom:0 }
section.sub.intro.about .title-zone * {
    /* 병원소개 인트로 텍스트 왼쪽정렬 */
    text-align: left;
}

/* - - - - - 서브페이지 : 의료진소개 (sub00-doctor.php) */
section.sub.intro.about.doctor {
    background-repeat: no-repeat;
    background-position: right calc(50% - 420px) bottom -10%;
    background-color: #FBF9F7;
    background-image: url(./img/sub-about-doctor-intro-temp.png);
    background-size: auto 88%;
}
section.sub.intro.about.doctor .inner { padding-bottom:420px }
section.sub.doctor div.title-zone h4.txt-left { text-align:left; }
/* 믿음직한 의료진 */
section.sub.doctor div.unit.doctor-grid {
    display: grid;
    grid-gap: 120px;
    grid-template-columns: 500px auto;
}
section.sub.doctor div.unit.doctor-grid .img.sticky {
    position: sticky;
    top: 150px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    background-color: #FFF3CC;
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center top 50px;
    background-image: url(./img/doctor-profile-temp.png);
}
section.sub.doctor div.unit.doctor-grid .txt {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 50px;
}
section.sub.doctor div.unit.doctor-grid .txt span.label { margin-bottom:15px }
section.sub.doctor div.unit.doctor-grid .txt h5 {
    line-height: 1.0;
    letter-spacing: 0.1em;
}
section.sub.doctor div.unit.doctor-grid .txt h5 small {
    font-weight: normal;
    letter-spacing: -0.025em;
    font-size: 0.5em;
}
/* 진료시간 테이블 */
section.sub.doctor table.schedule {
    border-radius: 20px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    overflow: hidden;
    border-collapse: collapse;
}
section.sub.doctor table.schedule tr > * {
    padding: 0.6em 2em;
}
section.sub.doctor table.schedule thead th {
    background-color: #ffe799;
    text-align: center;
    font-weight: 600;
    font-size: 1.1em;
}
section.sub.doctor table.schedule tbody tr > * {
    border: 1px solid #ffe799;
    border-top: 0;
    border-bottom: 0;
    text-align: center;
}
section.sub.doctor table.schedule tbody th {
    font-weight: 600;
}
section.sub.doctor table.schedule tbody td {
    text-align: center;
}
section.sub.doctor table.schedule tr > .focus {
    color: #826300;
    background-color: #FFF9E4;
}
section.sub.doctor table.schedule tbody tr:last-child > * {
    border-bottom: 1px solid #ffe799;
}
/* 약력 */
section.sub.doctor div.career {
    background-color: #F8F8F6;
    border-radius: 20px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
section.sub.doctor div.career ul {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 0.5em;
}
section.sub.doctor div.career ul li {
    font-size: 17px;
    color: #484848;
}
section.sub.doctor div.career ul li strong {
    font-size: 20px;
}
/* 새한의 5가지 진료철칙 */
section.sub.doctor.bg-dark {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
section.sub.doctor.bg-dark .unit.principle-icon {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}
section.sub.doctor.bg-dark .unit.principle-icon > div {
    padding: 20px 0;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 10px;
}
section.sub.doctor.bg-dark .unit.principle-icon > div + div {
    border-left: 1px solid #fff;
}
section.sub.doctor.bg-dark .unit.principle-icon > div img {
    width: 50%;
}
section.sub.doctor.bg-dark .unit.principle-icon > div img + p {
    color: #fff;
    font-size: 1.1em;
    font-weight: 700;
}



/* - - - - - 서브페이지 : 장비소개 (sub00-doctor.php) */
section.sub.about.equip {}
section.sub.about.equip .unit {}
/* 장비 탭부분 슬라이드 */
section.sub.about.equip .equip-tabs {
    position: relative;
    overflow: hidden;
    width: 55%;
    margin: 0 auto 60px; /*탭 <-> 슬라이드 간격*/
}
section.sub.about.equip .equip-tabs .swiper-slide span {
    display: block;
    width: fit-content;
    margin: 0 auto;
    text-align: center;
    color: #888;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid #fff;
    transition: all ease 0.4s;
}
section.sub.about.equip .equip-tabs .swiper-slide.swiper-slide-thumb-active span {
    color: #222;
    border-color: #222;
}
section.sub.about.equip .tab-button-prev,
section.sub.about.equip .tab-button-next {
    position: absolute;
    width: 1.4em;
    aspect-ratio: 1 / 1;

    visibility: hidden;
    opacity: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 75%;
}
section.sub.about.equip .tab-button-prev {
    left:4vw;
    background-image: url(./img/swiper-control-dark-prev.svg)
}
section.sub.about.equip .tab-button-next {
    right:4vw;
    background-image: url(./img/swiper-control-dark-next.svg)
}


/* 장비 탭버튼
section.sub.equip div.tabs {
    overflow: hidden;
    width: 55%;
    margin: 0 auto 60px; /*탭 <-> 슬라이드 간격
}
section.sub.equip div.tabs > div.button-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;

}
section.sub.equip div.tabs button.tab-button {
    all : unset;
    text-align: center;
    color: #888;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 1px solid #fff;
    transition: all ease 0.4s;
}
section.sub.equip div.tabs button.tab-button.active {
    color: #222;
    border-color: #222;
}*/




/* 장비 탭 내부 */
section.sub.equip div.unit {
    overflow: hidden;
}
section.sub.equip .grid-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    grid-gap: 50px;
    justify-content: center;
    align-items: center;
}
section.sub.equip .grid-inner > .img {
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    aspect-ratio: 4 / 3;
/*    aspect-ratio: 58 / 29;*/
/*    background-color: #f8f8f6;*/
/*    border-radius: 20px;*/
    overflow: hidden;
}
section.sub.equip .grid-inner > .txt {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1.5em;
}
section.sub.equip .grid-inner > .txt span.label {
    width: fit-content;
}
section.sub.equip .grid-inner > .txt h5 {
    line-height: 1.0;
}
section.sub.equip .grid-inner > .txt p.desc {
    line-height: 1.6;
    font-weight: 600;
    font-size: 1.1em;
}
section.sub.equip .grid-inner > .txt div.grid.half { grid-gap:1em }
section.sub.equip .grid-inner > .txt ul li {
    display: grid;
    grid-template-columns: 1em auto;
    color: #888;
    font-weight: 500;
}
section.sub.equip .grid-inner > .txt ul + ul li {
    color: var(--secondary);
}
section.sub.equip .grid-inner > .txt ul li + li {
    margin-top: 0.2em;
}
section.sub.equip .grid-inner > .txt ul li::before {
    content: '\00b7';
    color: inherit;
    font-weight: 800;
    font-size: 1.2em;
    line-height: 1.0;
}

/* - - - - - 서브페이지 : 병원 둘러보기 (sub00-doctor.php) */

/* - - - - - 서브페이지 : 진료시간 / 오시는길 (sub00-info.php) */
section.sub.about.locate {}
section.sub.about.locate #address {
    cursor: pointer;
    position: relative;
    width: fit-content;
}
section.sub.about.locate #address .tooltip {
    font-size: 14px;
    display: inline-block;
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 0.4em 1em;
    font-weight: normal;
    border-radius: 5px;
    position: absolute;
    right: 0;
    top: 0;
    visibility: hidden;
    opacity: 0;
    transform: translate(25%, -100%);
    transition: all linear 0.3s ;
    letter-spacing: -0.02em;
}
section.sub.about.locate #address:active .tooltip,
section.sub.about.locate #address:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: translate(25%, -120%);
}
section.sub.about.locate #address:active .tooltip {
    transform: translate(25%, -110%);
}
section.sub.about.locate #address img {
    transform: translate(0.1em, 15%);
}
section.sub.about.locate div.links {
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    grid-gap: 10px;
}
section.sub.about.locate #map {
    aspect-ratio: 16 / 9;
    border: 1px solid #ddd;
    background-color: #fafafa;
    border-radius: 5px;
}
section.sub.about.locate div.unit.info-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 2fr;
}
section.sub.about.locate div.unit.info-grid table {
    border-collapse: collapse;
    width: fit-content;
}
section.sub.about.locate div.unit.info-grid table tr > * {
    padding: 0.35em 1.5em;
    font-size: 1.1em;
    line-height: 1.85;
    font-weight: 600;
}
section.sub.about.locate div.unit.info-grid table th { width:40%; letter-spacing:0.05em }
section.sub.about.locate div.unit.info-grid table td { width:60% }

section.sub.about.locate div.unit.info-grid a.number {
    font-weight: 800;
    font-size: 2.5em;
    line-height: 1.3;
}





/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 01 중점진료센터
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* 중점진료센터 포인트컬러 */
.section-wrapper.spine { --pointcolor: var(--primary); --bg: #f7fbff; }
.section-wrapper.shoulder { --pointcolor: var(--secondary); --bg: #FFFDF7; }
.section-wrapper.elbow { --pointcolor: #00A69D; --bg: #F7FFF8; }
.section-wrapper.joint { --pointcolor: #E14D83; --bg: #FDF6F9; }
.section-wrapper.knee { --pointcolor: #B766FF; --bg: #F4F6FF; }
.section-wrapper.vaccine { --pointcolor: #FFA600; --bg: #FFF8EB; }

/* .color 클래스 추가시 포인트컬러 배정 */
section.sub .color { color: var(--pointcolor) !important; }

/* 중점진료센터 인트로 */
section.sub.center.intro .divider {
    display: block;
    width: 1px;
    height: 70px;
    background-color: var(--primary);
    margin: 40px auto -60px;
}
section.sub.center.intro .unit.img {
    margin-bottom: 0;
    width: 100%;
    aspect-ratio: 7 / 3;
    background-repeat: no-repeat;
    background-size: auto 100%;
/*    모바일 background-size: 110%;*/
    background-position: top center;
}
.spine section.sub.center.intro .unit.img { background-image: url(./img/sub-center-intro-spine.png); }
.shoulder section.sub.center.intro .unit.img { background-image: url(./img/sub-center-intro-shoulder.png); }
.elbow section.sub.center.intro .unit.img { background-image: url(./img/sub-center-intro-elbow.png); }
.joint section.sub.center.intro .unit.img { background-image: url(./img/sub-center-intro-joint.png); }
.knee section.sub.center.intro .unit.img { background-image: url(./img/sub-center-intro-knee.png); }
.vaccine section.sub.center.intro .unit.img { background-image: url(./img/sub-center-intro-vaccine.png); }

/* 중점진료센터 원인 */
section.sub.center.cause {
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    background-color: var(--bg);
}
.spine section.sub.center.cause { background-image:url('./img/sub-center-cause-spine.jpg') }
.shoulder section.sub.center.cause { background-image:url('./img/sub-center-cause-shoulder.jpg') }
.elbow section.sub.center.cause { background-image:url('./img/sub-center-cause-elbow.jpg') }
.joint section.sub.center.cause { background-image:url('./img/sub-center-cause-joint.jpg') }
.knee section.sub.center.cause { background-image:url('./img/sub-center-cause-knee.jpg') }
.vaccine section.sub.center.cause { background-image:url('./img/sub-center-cause-vaccine.jpg') }

/* 중점진료센터, 교정센터 공통  */
section.sub div.unit.cause-grid {
    display: grid;
    grid-gap: 40px;
}
section.sub.center.cause div.unit.cause-grid {
    /* 중점진료센터 */
    grid-template-columns: repeat(3, 1fr);
}
section.sub.correction.effect div.unit.cause-grid {
    /* 교정센터 */
    grid-template-columns: repeat(2, 1fr);
}
section.sub div.unit.cause-grid > div {
    padding: 30px 0 40px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, .7);
    box-shadow: 0 0 9px 2px rgba(0, 0, 0, 0.07);
}
section.sub div.unit.cause-grid > div * { text-align: center; }

section.sub div.unit.cause-grid > div p.txt-secondary {
    text-align: center;
    display: flex;
    flex-direction: column;
    grid-gap: 5px;
    align-items: center;
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 0.5em;
}
section.sub div.unit.cause-grid > div p.txt-secondary::before {
    content: '';
    display: block;
    width: 30px;
    aspect-ratio: 1 / 1;
    background-image: url('./img/cause-grid-check.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
section.sub div.unit.cause-grid > div p.txt-secondary + p { padding:0 2em }

/* 중점진료센터 질환 (== 탭슬라이드) */
/*  memo 25.10.17 pm:3.55
    탭슬라이드 쓰는 영역 = 두군데
    하나는 여기 (중점진료센터 주요질환), 하나는 장비
 */
section.sub.disease.tab-slide {}
/* 주요질환 탭버튼 */
section.sub.disease.tab-slide div.tabs {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10em;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .1) inset;
    width: 65%;
    margin: 0 auto 60px; /*탭 <-> 슬라이드 간격*/
}
section.sub.disease.tab-slide div.tabs > div.button-wrapper {
    width: 100%;
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(4, 1fr);
}
section.sub.disease.tab-slide div.tabs button.tab-button {
    all : unset;
    padding: 1em;
    text-align: center;
    color: #888;
    font-weight: 500;
    border-radius: 3em;
    cursor: pointer;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 00);
    transition: all ease 0.4s;
}
section.sub.disease.tab-slide div.tabs button.tab-button.active {
    background-color: #fff;
    color: var(--pointcolor);
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, .1);
}
/* 주요질환 탭 내부 */
section.sub.disease.tab-slide div.unit {
    overflow: hidden;
}
section.sub.disease .grid-inner {
    display: grid;
    grid-template-columns: 560px 660px;
    grid-gap: 60px;
    justify-content: center;
}
section.sub.disease .grid-inner > .img {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    aspect-ratio: 53 / 42;
/*    background-color: #f1f1f1;*/
/*    border: 1px dashed red;*/
}
section.sub.disease .grid-inner > .txt {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
}
section.sub.disease .grid-inner > .txt h5 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    grid-gap: 0.2em;
    line-height: 1.0;
}
section.sub.disease .grid-inner > .txt h5::before {
    content: '\00b7';
    color: var(--secondary);
    font-weight: bolder;
    line-height: 0;
    font-size: 1.5em;
}
section.sub.disease .grid-inner > .txt p.desc {
    font-weight: 500;
    line-height: 2.0;
    color: #888;
    padding-right: 2em;
}

section.sub.disease .grid-inner > .txt div.grid.half {
    grid-gap: 20px; /* 원인 <-> 증상 간격*/
}
section.sub.disease .grid-inner > .txt div.grid.half > div {
    display: grid;
    grid-template-columns: 3em auto;
    align-items: flex-start;
    grid-gap: 1em;
}

section.sub.disease .grid-inner > .txt div.grid.half > div:nth-child(1) { --labelbg: #CCE8FF; --labeltxt : var(--primary); }
section.sub.disease .grid-inner > .txt div.grid.half > div:nth-child(2) { --labelbg: #FFDBD1; --labeltxt : #E22E00; }

section.sub.disease .grid-inner > .txt div.grid.half span.label {
    background-color: var(--labelbg);
    color: var(--labeltxt);
}
section.sub.disease .grid-inner > .txt div.grid.half ul li {
    display: grid;
    grid-template-columns: 1em auto;
    color: var(--labeltxt);
    font-weight: 600;
}
section.sub.disease .grid-inner > .txt div.grid.half ul li + li {
    margin-top: 0.5em;
}
section.sub.disease .grid-inner > .txt div.grid.half ul li::before {
    content: '\00b7';
    color: inherit;
    font-weight: 800;
    font-size: 1.2em;
    line-height: 1.0;
}


/* 왜 새한이어야 할까요?  */
section.sub.why {
    max-width: 100vw;
    overflow: hidden;
}
section.sub.why .wrap.flex {
    width: 90vw;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-gap: 100px;
    align-items: center;
    padding: 100px 0;
    margin: 0 0 0 10vw;
}
section.sub.why .wrap.flex .title-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
section.sub.why .wrap.flex .slide-box {
    margin: 0;
    overflow: hidden;
}
section.sub.why .slide-box .why-slide {
    padding-right: 15vw;
}

section.sub.why .slide-box .swiper-slide {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 2em;
}
section.sub.why .slide-box .swiper-slide img {
    border-radius: 10px;
}
section.sub.why .slide-box .swiper-slide h5 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    grid-gap: 0.2em;
    margin: 1em 0 0.5em;
}
section.sub.why .slide-box .swiper-slide h5::before {
    content: '\00b7';
    color: var(--secondary);
    font-weight: bolder;
    line-height: 0;
    font-size: 1.5em;
}
section.sub.why .slide-box .swiper-slide h5 + p {
    color: #888;
    line-height: 1.9;
    font-weight: 500;
}
section.sub.why .control {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 1em;
    margin-top: 50px;
}
section.sub.why .control .button-prev,
section.sub.why .control .button-next {
    cursor: pointer;
    width: 2em;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: translateY(-5%);
}
section.sub.why .control .button-prev { background-image:url('./img/why-btn-prev.svg') }
section.sub.why .control .button-next { background-image:url('./img/why-btn-next.svg') }

section.sub.why .control .swiper-scrollbar {
    background-color: #E6E6E6;
    width: 200px;
    height: 2px;
    margin: 0 auto;
    left: 0;
    position: relative;
}
section.sub.why .control .swiper-scrollbar-drag {
    background-color: #222;
}


/* 유의사항 FAQ  */
section.sub.faq { --color: var(--primary) }
section.sub.faq.center { --color: #A76F58; }

section.sub.faq div.unit.faq-list {}
section.sub.faq div.unit.faq-list .faq + .faq { margin-top:1em }

section.sub.faq div.unit.faq-list .faq {
    padding: 2em;
    border-radius: 20px;
    background-color: #F8F8F6;
    cursor: pointer;
    overflow: hidden;

    max-height: 5em;
    transition: max-height 0.4s ease-in-out, background-color 0.3s;
}

section.sub.faq div.unit.faq-list .faq .answer {
    opacity: 0;
    margin-top: 0;
    transition: opacity 0.3s ease-in-out 0.1s, margin 0.3s ease-in-out 0.1s;
}

section.sub.faq div.unit.faq-list .faq.active {
    background-color: var(--color);
    max-height: 1000px;
}

section.sub.faq div.unit.faq-list .faq.active .answer {
    opacity: 1;
    margin: 2em 1em 0;
}

section.sub.faq div.unit.faq-list .faq .question {
    display: grid;
    grid-template-columns: 2em auto 1em;
}
section.sub.faq div.unit.faq-list .faq .question::after {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    background-image: url('./img/faq-chevron.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
}
section.sub.faq div.unit.faq-list .faq.active .question::after {
    background-image: url('./img/faq-chevron-active.svg');
    transform: rotate(-360deg);
}
section.sub.faq div.unit.faq-list .faq .question p {
    font-weight: 700;
}
section.sub.faq div.unit.faq-list .faq .question::before {
    content: 'Q.';
    color: var(--color);
    font-weight: 800;
}
section.sub.faq div.unit.faq-list .faq.active .question p { color:#fff }
section.sub.faq div.unit.faq-list .faq.active .question::before { color:#fff }
section.sub.faq div.unit.faq-list .faq .answer {
/*    visibility: hidden;*/
/*    opacity: 0;*/
    margin: 2em 1em 0;
/*    transition: all ease-in-out 0.3s;*/
}
section.sub.faq div.unit.faq-list .faq .answer p {
    display: grid;
    font-weight: 400;
    grid-template-columns: 1em auto;
    color: rgba(255, 255, 255, .8);
}
section.sub.faq div.unit.faq-list .faq .answer p + p { margin-top:0.35em }

section.sub.faq div.unit.faq-list .faq .answer p::before {
    content: '\00b7';
    font-weight: 800;
}
section.sub.faq div.unit.faq-list .faq.active .answer {
/*    visibility: visible;*/
/*    opacity: 1;*/
}




/* - - - - - 서브페이지 : 척추 (sub01-spine.php) */
/* - - - - - 서브페이지 : 어깨 (sub01-shoulder.php) */
/* - - - - - 서브페이지 : 팔꿈치 (sub01-elbow.php) */
/* - - - - - 서브페이지 : 손목/발목 (sub01-joint.php) */
/* - - - - - 서브페이지 : 무릎 (sub01-knee.php) */
/* - - - - - 서브페이지 : 백신/예방접종 (sub01-vaccine.php) */


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 02 비수술맞춤치료센터
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 서브페이지 : 도수물리치료 (sub02-.php) */
/* - - - - - 서브페이지 : 재활치료 (sub02-.php) */
/* - - - - - 서브페이지 : 재생주사치료 (sub02-.php) */


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 03 교정센터
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* 새한 통증 진단 및 치료 */
section.sub.repeat.paincare {}
section.sub.repeat.paincare .inner {
    padding-bottom: 50px;
}
section.sub.repeat.paincare div.unit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}
section.sub.repeat.paincare div.unit > div {
    width: 20em;
    aspect-ratio: 1 / 1;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ccc;
    grid-gap: 1em;
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all ease 0.5s;
}
section.sub.repeat.paincare div.unit > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px -8px rgba(33, 149, 255, 0.5);
}

section.sub.repeat.paincare.iv div.unit > div:hover {
    box-shadow: 0 10px 30px -5px rgba(255, 213, 135, 1);
}

section.sub.repeat.paincare div.unit > div * {
    color: #fff;
    text-align: center;
}
section.sub.repeat.paincare div.unit > div h5 {
    line-height: 1.3;
    font-size: 1.5em;
}
section.sub.repeat.paincare div.unit > div p {
    padding: 0 3em;
}


/* 교정치료방법 (3개 그리드) */
section.sub div.unit.correction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
    justify-content: center;
    align-items: flex-start;
}
section.sub div.unit.correction-grid > div {
    display: flex;
    flex-direction: column;
    grid-gap: 1.5em;
}
section.sub div.unit.correction-grid > div p {
    font-weight: 500;
    text-align: center;
    line-height: 1.8;
}
section.sub div.unit.correction-grid > div p b {
    font-size:inherit; text-align:inherit;
    font-weight: 700;
}





/* - - - - - 서브페이지 : 척추측만증 (sub03-.php) */
/* - - - - - 서브페이지 : 휜다리 (sub03-.php) */
/* - - - - - 서브페이지 : 일자목/거북목 (sub03-.php) */
/* - - - - - 서브페이지 : 골반비대칭 (sub03-.php) */
/* - - - - - 서브페이지 : 평발(편평족) (sub03-.php) */
/* - - - - - 서브페이지 : 턱관절 비대칭 (sub03-.php) */


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 04 영양수액
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 서브페이지 : 영양수액 (sub04-iv.php) */