/*
Theme Name: 온통바른신경과
Author: Jeymedi
Author URI: https://jmedidesign.com
Description: 온통바른신경과 웹사이트 테마
Version: 1.0.0
*/
/* - - - - - - - - - HEADER - - - - - - - - - - */
header.header {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100vw;
    height: 0;
    transition: all ease 0.5s;
    z-index: 99;
}
header.header > div {
    position: absolute;
    width: inherit;
}
header.header > div > .inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
/*    padding: 15px 0;*/
    position: relative;
    height: 100%;
}
header.header > div > .inner img.menu-btn { width:30px; cursor:pointer; }
header.header > div > .inner img.logo { width:240px }
/**/
header.header > div.default-zone {
    background-color: #998C7A;
    height: 90px;
    cursor: pointer;
}
header.header > div.default-zone > .inner img.msg { height: 23px; }

header.header > div.default-zone > .inner img.logo {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}

/**/
header.header > div.active-zone {
    background-color: #FFFCF9;
    background-image: url(./img/symbol-crop-rb-op4.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 70%;
    position: relative;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-30px);
    border-bottom: 1px solid #ddd;
    z-index: -50;

    transition: opacity ease 0.3s, visibility ease 1s, transform ease 0.3s;
}
header.header:hover > div.active-zone {
    visibility: visible;
    opacity: 1;
    z-index: 1;
    transform: translateY(0);
    z-index: 50;

}
header.header > div.active-zone::after {
    content: '';
    width: 98%;
    display: block;
    position: absolute;
    top: 90px;
    left: 1%;
    border-bottom: 1px solid #ebeae9;
}

header.header > div.active-zone > .inner {
    align-items: flex-start;
}
header.header > div.active-zone > .inner > a.logo { padding-top: 20px; }
header.header > div.active-zone > .inner > img.menu-btn {
    padding-top: 35px;
    position: absolute;
    right: 0;
}

header.header > div.active-zone .menu-main-menu-container {
    transform: translateX(-10%);
}
header.header > div.active-zone ul.menu {
    display: flex;
    flex-direction: row;
    gap: 1px;
    align-items: flex-start;
}
header.header > div.active-zone ul.menu > li.menu-item-has-children {
    position: relative;
}
header.header > div.active-zone ul.menu > li.menu-item-has-children.current-menu-parent > a,
header.header > div.active-zone ul.menu > li.menu-item-has-children:hover > a {
/*    color: #958775;*/
    font-weight: 600;
}

/* 부모메뉴 */
header.header > div.active-zone ul.menu > li.menu-item-has-children > a {
    min-height: 90px;
    display: block;
    line-height: 90px;
    width: 190px;
    position: relative;
    text-align: center;
}
header.header > div.active-zone ul.menu > li.menu-item-has-children.current-menu-parent > a:after,
header.header > div.active-zone ul.menu > li.menu-item-has-children > a:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -1px;
    width: 0;
    height: 1px;
    border-top: 2px solid var(--primary);
    transition: all ease 0.5s;
}
header.header > div.active-zone ul.menu > li.menu-item-has-children.current-menu-parent > a:after,
header.header > div.active-zone ul.menu > li.menu-item-has-children:hover > a:after {
    width: 100%;
}

header.header > div.active-zone ul.menu ul.sub-menu {
    margin: 15px 0 40px;
}
header.header > div.active-zone ul.menu ul.sub-menu li a {
    font-size: 1rem;
    padding: 0.25em 0 0.15em 40px;
    display: block;
    letter-spacing: 0.01em;
}
header.header > div.active-zone ul.menu ul.sub-menu li.current-menu-item a,
header.header > div.active-zone ul.menu ul.sub-menu li a:hover {
    color: #958775;
    font-weight: 600;
}


/* - - - - - - - - - FOOTER - - - - - - - - - - */
footer.footer {
    max-width: 100vw;
    overflow: hidden;
    background-color: #262627;
    font-size: 16px;
}
footer.footer * { color:rgba(255, 255, 255, .9); }
footer.footer div.inner {
    padding: 110px 80px;
}
footer.footer div.inner div.left {
    display: flex;
    flex-direction: column;
    grid-gap: 2em;
}
footer.footer div.inner div.left div.footer-info {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 70%;
    gap: 0.35em 0;
}
footer.footer div.inner div.left div.footer-info p {
    font-size: 0.9em;
    letter-spacing: -0.025em;
    opacity: 0.9;
    font-weight: 300;
}
footer.footer div.inner div.left div.footer-info p + p::before {
    content: '|';
    color: var(--dark);
    padding: 0 0.9em;
}
footer.footer div.inner div.left div.footer-info p.no::before {
    display: none;
}
footer.footer div.inner div.left p.copy {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 300;
    opacity: 0.4;
}
footer.footer div#gototop {
    background-color: #111;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 0.5em;
    color: #eee;
    padding: 1em;
    text-align: center;
}
footer.footer div#gototop img {
    height: 0.8em;
}
footer.footer div.footer-menu {
    width: 230px;
}
footer.footer div.footer-menu li.menu-item a {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 0.98em;
    letter-spacing: -0.07em;
    background-position: right 10px center;
    background-repeat: no-repeat;
    background-size: 1em;
    background-image: url('./img/footermenu-arrow.svg');
    transition: all ease 0.5s;
}
footer.footer div.footer-menu li.menu-item + li.menu-item {
    border-top: 1px solid #444;
}
footer.footer div.footer-menu li.menu-item:hover a {
    text-indent: 10px;
    background-position: right -30px center;
}


/* - - - - - - - - - QUICKMENU - - - - - - - - - - */
#quickmenu {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-end;
    position: fixed;
    right: 70px;
    bottom: 80px;
    z-index: 999;
    font-size: 1rem;
    transition: transform ease-out 1s;
}
#quickmenu > a {
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 4em;
    box-shadow: 0 10px 30px -10px #7474746b;
}
#quickmenu > a img {
    width: 2.6rem;
}
#quickmenu > a span {
    font-size: inherit;
    padding: 0 1.5em 0 0.5em;
}
#quickmenu > a:hover {
    background-color: #dfd7ce;
}



/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MAINPAGE : 메인페이지
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - main01. 메인비주얼 (main-visual)  */
section.main-visual {
    --height: 100vh;
    height: var(--height);
    overflow: hidden;
    position: relative;
}
section.main-visual div.swiper-mainvisual-bg {
    position: absolute;
    width: 100vw;
    height: var(--height);
}
section.main-visual div.swiper-mainvisual-bg div.swiper-slide {
    height: var(--height);
    background-repeat: no-repeat;
/*    background-size: 100%;*/
    background-size: cover;
    background-position: bottom center;
    position: relative;
}
section.main-visual div.swiper-mainvisual-bg div.swiper-slide {}
section.main-visual div.swiper-mainvisual-bg div.swiper-slide .inner.text {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.main-visual .inner.text p.quote {
    display: flex;
    gap: 1em;
    align-items: flex-start;
}
section.main-visual .inner.text p.quote::before,
section.main-visual .inner.text p.quote::after {
    content: '';
    display: block;
    width: 2em;
/*    transform: translateY(10px);*/
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 90%;
}
section.main-visual .inner.text p.quote::before { background-image:url(./img/quote-start.svg) }
section.main-visual .inner.text p.quote::after { background-image:url(./img/quote-end.svg) }
section.main-visual .inner.text p.quote span {
    background-color: #fff;
    border-radius: 0.3em;
    font-family: var(--font);
    color: #202740;
    font-weight: 700;
    font-size: 3.5em;
    padding: 0.15em 0.25em;
    line-height: 1.0;
}
section.main-visual .inner.text p.quote + p {
    text-align: center;
    margin: 1em auto;
}
section.main-visual .inner.text p.quote + p img {
    width: 45%;
}

section.main-visual .main-effect {
    position: absolute;
    width: 280px;
    height: 15em;
    top: 50%;
    left: 8vw;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
section.main-visual div.keywords-zone {
    background-repeat: no-repeat;
    background-size: auto 60%;
    background-position: center left 1em;
    background-image: url(./img/icon-search.svg);
    width: 100%;
    border: 5px solid #fff;
    border-radius: 5em;
}
section.main-visual div.keywords-zone p.keyword {
    font-size: 2em;
    color: #fff;
    font-weight: 500;
}
section.main-visual div.keywords-zone .swiper-wrapper {
    height: 4em;
}
section.main-visual div.keywords-zone .swiper-wrapper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    left: 37%;
}
section.main-visual div.keywords-zone .swiper-wrapper .swiper-slide p {
    opacity: 0;
    transition: all ease 0.5s;
}
section.main-visual div.keywords-zone .swiper-wrapper .swiper-slide.swiper-slide-next p,
section.main-visual div.keywords-zone .swiper-wrapper .swiper-slide.swiper-slide-prev p {
    opacity: 0.5;
    filter: blur(1px);
}
section.main-visual div.keywords-zone .swiper-wrapper .swiper-slide.swiper-slide-active p{
    opacity: 1.0;
    filter: blur(0);
}

/* progressbox */
.swiper-mainvisual-bg .control-zone {
    display: block;
    width: 700px;
    max-width: 90%;
    height: 160px;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 5;
}
.swiper-mainvisual-bg .control-zone div.locate {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    width: 90%;
    height: 60px;
    margin: 0 auto;
    z-index: 20;
}
.swiper-mainvisual-bg .control-zone div.locate p {
    font-weight: 400;
    font-size: 1em;
    color: #fff;
    display: grid;
    grid-template-columns: 3em auto;
    align-items: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, .6);
    letter-spacing: -0.01em;
}
.swiper-mainvisual-bg .control-zone div.locate p::before {
    content: '';
    width: 3em;
    aspect-ratio: 1 / 1;
    display: block;
    background-repeat: no-repeat;
    background-size: auto 90%;
    background-position: left center;
}
.swiper-mainvisual-bg .control-zone div.locate p.adrs::before { background-image:url(./img/icon-address-beige.svg) }
.swiper-mainvisual-bg .control-zone div.locate p.call::before { background-image:url(./img/icon-call-beige.svg) }

.swiper-mainvisual-bg .all-box {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5em;
    width: 100%;
    height: 90px;
    margin-top: 10px;
}
.swiper-mainvisual-bg .all-box .btn-pause {
    width: 2em;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-size: auto 50%;
    background-position: center;
    background-image: url('./img/btn-pause.svg');
    cursor: pointer;
}
.swiper-mainvisual-bg .all-box .btn-pause.on { background-image: url('./img/btn-pause-on.svg'); }
.swiper-mainvisual-bg .progress-box {
    position: relative;
    width: 55%;
    height: 3px;
    border-radius: 1em;
    overflow: hidden;
}
.autoplay-progress {
    z-index: 10;
    height: 3px;
    background-color: rgba(0, 0, 0, 0.1);
}
.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    stroke-width: 5px;
    stroke: #202740;
    fill: none;
    stroke-dashoffset: calc(100 * (1 - var(--progress)));
    stroke-dasharray: 100;
}
.swiper-mainvisual-bg .arrow-box {
    height: 60%;
    width: 20%;
    position: relative;
}
.swiper-mainvisual-bg .swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-gap:  0.5em;
    font-weight: 600;
    font-size: 1rem;
    height: 100%;
    top: 0;
    line-height: 1.0;
    font-family: var(--font);
/*    border: 1px dashed red;*/
}
.swiper-mainvisual-bg .swiper-button-next,
.swiper-mainvisual-bg .swiper-button-prev {
    width: 1em;
    aspect-ratio: 1 / 1;
/*    border: 1px solid lime;*/
    top: 0;
    margin-top: 0;
    background: url('./img/mv-arrow-prev.svg') no-repeat center;
    background-size: auto 40%;
}
.swiper-mainvisual-bg .swiper-button-next {
    background-image: url('./img/mv-arrow-next.svg');
}


/* 메인비주얼 외 공통 */
section > .inner {
    --inner : 1500px;
    max-width: 80vw;
    padding: 200px 0;
    position: relative;
}
section.dark { background-color:var(--dark) }
section.bg-attached {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
/* 섹션 제목영역 (메인) */
section .title-zone {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
section .title-zone.center { align-items:center; }
section .title-zone.center * { text-align:center; }

section .title-zone.right { align-items:flex-end; }
section .title-zone.right * { text-align:right; }

section .title-zone.dark  * { color:#fff }

/* 섹션 부제목  */
section .title-zone p.uppercase {
/*    color: #DFD0BE; 접근성이슈*/
    color: #d0b492;
    letter-spacing: 0.2em;
    font-size: 0.7em;
    margin-bottom: 1em;
}

/* 섹션 제목  */
section .title-zone .section-title {
    font-size: 2.25em;
    line-height: 1.4;
    letter-spacing: -0.065em;
    color: var(--primary);
    font-family: var(--font);
}
section .title-zone .section-title-img img {
    height: 1.25em;
}
section .title-zone .p-wrap {
    margin-top: 1em;
}
section .title-zone .p-wrap p {
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: -0.03em;
}
.p-wrap p + p {
    margin-top: 1.5em;
}


/* 유닛 */
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 .unit.img { text-align: center; }
section .unit.img.duo { display:flex; flex-direction: row; align-items:center; justify-content:center; gap:30px }
section .unit.img img { max-width:100% }

/* 효과 스크롤텍스트(서브페이지) */
@keyframes scrollTextBg {
    from { background-position:right -99vw center; }
    to { background-position:left -99vw center; }
}
section > div.scrollText {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    background-repeat: repeat-x;
    animation: scrollTextBg 60s linear infinite;
    background-size: auto 80%;
    height: 11em;
/*    border: 1px dashed red;*/
    opacity: 0.8;
    background-image: url(./img/scrolltext-ontong.png);
    position: relative;
    z-index: -1;
    transform: translateY(20%);
}
/*section > div.scrollText.primary {
    background-image: url(./img/scrolltext-primary.png);
}*/



/* - - - - - main02. main-mind - - - - - */
section.main-mind {
    --line : #ddd;
    background-image: url(./img/symbol-crop-rb-op4.svg);
    background-position: right bottom;
    background-size: 26vw;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
section.main-mind .inner {
    border-left: 1px solid var(--line);
}
section p.img-text img { height:inherit; }
section p.img-text.h1 { height:3.8em }
section p.img-text.h3 { height:2.5em }

section.main-mind p.img-text.h1 {
    margin: 0 0 30px 50px;
}
section.main-mind p.img-text.h3 {
    margin: 60px 0 0 50px;
}

section.main-mind p.img-text.h1:after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    height: 1px;
    width: 100vw;
    border-top: 1px solid var(--line);
    transform: translateY(10px) translateX(-50%);
}
section.main-mind .p-wrap {
    margin: 40px 0 0 50px;
}
section.main-mind .p-wrap b.point { color:var(--secondary); }

section a.btn-txt {
    font-weight: 600;
    display: inline-block;
    color:var(--secondary);
}
section a.btn-txt:hover {
    text-decoration: underline 1px dashed var(--secondary);
    text-underline-offset: 0.35em;
}
section.main-mind .p-wrap a.btn-txt { margin-top:50px }



/* - - - - - main03. main-naming - - - - - */
section.main-naming {
    --line : #ddd;
    border-top: 1px solid var(--line);
}
/*section.main-naming .inner { padding-top:0 }*/
section .unit.naming-circle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
section .unit.naming-circle > div {
    aspect-ratio: 1 / 1;
    width: 550px;
    margin: 0 -3%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
section .unit.naming-circle > div .img-text img {
    height: 1em;
}
section .unit.naming-circle > div img.dot {
    margin: 2em auto;
}

/* - - - - - main04. main-pain - - - - - */
section.main-pain {
    --line : rgba(0,0,0,.2);
}
section.main-pain .full-img {
    aspect-ratio: 3 / 1;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}
section.main-pain .full-img img.positon-abs {
    display: block;
    width: 55vw;
    position: absolute;
    right: 0;
    bottom: -5px;
    transform: translateY(50%);
    z-index: 9;
}
section.main-pain .full-img + .innersection {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
/*    background-attachment: fixed;*/
}
section.main-pain .full-img + .innersection .inner {
    padding: 200px 100px;
    border-left: 1px solid var(--line);
    position: relative;
}
section.main-pain p.img-text.h1 {
    margin-top: 50px;
    height: 5.5em;
}
section.main-pain p.img-text.h1:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    height: 1px;
    width: 60vw;
    border-top: 1px solid var(--line);
    transform: translateY(30px);
}
section.main-pain .full-img + .innersection img.circle {
    width: 45%;
    right: -2%;
    top: 0;
    transform: translateY(33%);
}
section.main-pain .unit.pain-three {
    margin: 130px 0 0;
    display: grid;
    gap: 30px;
}
section.main-pain .unit.pain-three h5.font {
    display: grid;
    grid-template-columns: 1em auto;
    align-items: center;
    justify-content: flex-start;
    color: #9B7C55;
    font-size: 1.8em;
    gap: 0.5em;
}
section.main-pain .unit.pain-three h5.font::before {
    content: '';
    width: 1em;
    display: block;
    aspect-ratio: 1 / 1;
    background-image: url(./img/quote-gold.svg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: auto 60%;
}
@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
section.main-pain .rotate {
    overflow: hidden;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    position: absolute;
    width: 180px;
    right: 50px;
    bottom: 50px;
    z-index: 10;
}
section.main-pain .rotate .rotate-text {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: url(./img/main-pain-rotate.png);
    animation: rotate360 15s linear infinite;
}

/* - - - - - main05. main-special - - - - - */
section.main-special {}
section.main-special .inner { padding-top:50px }
section.main-special .unit.special-cards {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    transform: translateX(-10%);
}
section.main-special .unit.special-cards + .unit.special-cards {
    transform: translateX(10%);
    margin-top: 40px;
}
section.main-special .unit.special-cards > div {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right top;
    width: 360px;
    border-radius: 2em;
    aspect-ratio: 3 / 4;
    padding: 4em 2em;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;

    overflow: hidden;
}
section.main-special .unit.special-cards > div::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: all ease-in-out 0.3s;
}
section.main-special .unit.special-cards > div:hover::before {
    background-color: rgba(0, 0, 0, .3);
}
section.main-special .unit.special-cards > div::after {
    content: '';
    display: block;
    width: 1px;
    height: 50px;
    border-left: 1px solid #fff;
    position: absolute;
    left: 50%;
    bottom: 0;
    transition: all ease-in-out 0.5s;
}
section.main-special .unit.special-cards > div:hover::after {
    transform: scaleY(3);
}
section.main-special .unit.special-cards > div p {
    color: #fff;
    text-align: center;
    line-height: 1.4;
    transition: all ease-in-out 0.5s;
    font-size: 1.2em;
}
section.main-special .unit.special-cards > div:hover p {
    transform: translateY(-60px);
}
section.main-special .unit.special-cards > div p + p {
    margin-top: 1.5em;
    font-size:0.8em;
    line-height: 1.5;
    letter-spacing: -0.03em;
}

/* - - - - - main06. main-promise - - - - - */
section.main-promise {}
section.main-promise * { color:#fff }
section.main-promise h3.font { font-size:3em }
section.main-promise .p-wrap { margin-top:1.5em; padding:0 2em}

/* - - - - - main07. main-doctor - - - - - */
section.main-doctor {}
section.main-doctor .grid.half {
    background-image: url(./img/symbol-op3.svg);
    background-position: right top 30%;
    background-repeat: no-repeat;
    width: 95%;
    gap: 100px;
    align-items: flex-end;
}
section.main-doctor .grid.half .img {
    position: relative;
}
section.main-doctor .grid.half .img::after {
    content: '';
    display: block;
    width: 70%;
    height: 100%;
/*    border: 1px dashed red;*/
    position: absolute;
    bottom: 0;
    right: 0;

    background-image: url(./img/doctor-temp.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
}

section.main-doctor .grid.half .img .solid {
    background-color:#EFEDE8;
    margin-top: 50%;
    width: 90%;
    aspect-ratio: 5 / 4;
    position: relative;
}
section.main-doctor .grid.half .img .solid::after {
    content: 'DR. PARK SEUNG HA';
    color: #EFEDE8;
    font-weight: 800;
    font-size: 1.5em;
    letter-spacing: 0;
    display: inline-block;
    font-family: var(--jeju);
    position: absolute;
    left: 5vw;
    top: 0;
    transform: translateY(-100%);
/*    border: 1px solid red;*/
}

section.main-doctor .grid.half .txt {
    padding: 150px 0 80px;
/*    border: 1px dashed red;*/
}
section.main-doctor .grid.half .txt p.name {
    font-size: 3rem;
}
section.main-doctor .grid.half .txt p.name small {
    font-family: inherit;
    margin-left: 1em;
    font-size: 0.5em;
}
section.main-doctor .grid.half .txt .p-wrap {
    margin: 40px 0 60px;
}
section.main-doctor .grid.half .txt .p-wrap p {
    color: #7D6E5B;
    font-weight: 500;
}
section.main-doctor .grid.half .txt .p-wrap p:last-child { color:var(--dark); }
section.main-doctor .txt .flex { gap:50px }
section ul.dot {}
section ul.dot li {
    display: grid;
    grid-template-columns: 1em auto;
    align-items: center;
}
section ul.dot li::before {
    content: '\00b7';
}



/* - - - - - main08. main-interior - - - - - */
section.main-interior .inner {
    max-width: 100vw;
    width: 100%;
    overflow: hidden;
}
section.main-interior .slide-box {
    margin-top: 100px;
    width: 100vw;
    margin: 30px auto 0;
    overflow: hidden;
}
section.main-interior .swiper-slide {
    border-radius: 5px;
    aspect-ratio: 16 / 9;
    aspect-ratio: 2.5 / 1;
    background-color: #dcdcdc;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform-origin: center;
    opacity: 0.2;
    transition: all ease 0.8s;
}

section.main-interior .swiper-slide.swiper-slide-active {
    transform: scale(1.0);
    opacity: 1;
}
section.main-interior .control {
    display: flex;
    height: 70px;
    margin: 10px auto 0;
    width: 60%;
/*    border: 1px solid red;*/
    flex-direction: row;
    align-items: center;
    justify-content: center;
/*    position: relative;*/
    z-index: 1;
    grid-gap: 40px;
}
section.main-interior .control * {
}
section.main-interior .control .button-prev,
section.main-interior .control .button-next {
    display: block;
    aspect-ratio: 3 / 1;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}
section.main-interior .control .button-prev { background-image:url('./img/swiper-control-prev.svg') }
section.main-interior .control .button-next { background-image:url('./img/swiper-control-next.svg') }

section.main-interior .control .swiper-pagination {
    position: static;
    width: fit-content;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9em;
    grid-gap: 1em;
    margin: 0 auto;
    color: #555;
}
section.main-interior a.btn {
    font-size: 1.1rem;
    width: 14em;
    max-width: 80%;
    margin: 0 auto;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: 5em;
    font-family: var(--font);
    letter-spacing: 0;
    padding: 0.5em;
    gap: 0.25em;
    transition: all ease 0.3s;
}
section.main-interior a.btn::before {
    content: '+';
    line-height: 0;
    font-size: 1.6em;
}
section.main-interior a.btn:hover {
    color: #998C7A;
    border-color: #998C7A;
    background-color: transparent;
}


/* - - - - - main09. main-info - - - - - */
section.main-info {}
section.main-info > .inner { padding-top:0 }
section.main-info .info-locate {
    display: grid;
    width: 90%;
    margin: 0 auto;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: center;
    justify-content: center;
}
section.main-info .info-locate .map {
    border: 1px solid #E8DFD5;
    border-radius: 40px;
    aspect-ratio: 5 / 4;
    background-color: #F9F8F6;
}

section.main-info .info-locate .txt {
}
section.main-info .info-locate .txt > article {}
section.main-info .info-locate .txt > article + article {
    margin-top: 50px;
}

section.main-info .info-locate .txt > article ul {}
section.main-info .info-locate .txt > article ul li {
    display: grid;
    grid-template-columns: 6em 10em;
    gap: 2em;
    width: fit-content;
}
section.main-info .info-locate .txt span.label {
    font-size: 0.6em;
    line-height: 1.0;
    display: inline-block;
    border-radius: 3em;
    background-color: #7F6552;
    color: #fff;
    font-family: var(--p);
    letter-spacing: -0.03em;
    padding: 0.5em 0.8em;
    transform: translateX(0.2em) translateY(-10%);
}
section.main-info .info-locate .txt > article ul li > p + p {
    letter-spacing: 0;
}
section.main-info .info-locate .txt > article ul + p.op60 {
    font-size: 0.8em;
    font-weight: 500;
}
section.main-info .info-locate .txt > article p.big.font {
    font-size: 2.5em;
    line-height: 1.5;
    letter-spacing: -0.07em;
}
/**/
section.main-info .info-traffic {
    width: 70%;
    margin: 100px auto 0;
}
section.main-info .info-traffic > article {
    padding: 50px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 80px;
}
section.main-info .info-traffic > article + article {
    border-top: 1px solid #ddd;
}
section.main-info .info-traffic > article h5.label.font {
    width: 11em;
    font-weight: 400;
    background-color: var(--primary);
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.25em;
    border-radius: 3em;
    padding: 0.3em;
}
section.main-info .info-traffic > article h5.label.font::before {
    content: '';
    width: 1.5em;
    aspect-ratio: 1 / 1;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 90%;
}
section.main-info .info-traffic > article h5.label.font.subway::before {
    background-image: url(./img/icon-info-subway.svg);
}
section.main-info .info-traffic > article h5.label.font.bus::before {
    background-image: url(./img/icon-info-bus.svg);
}
section.main-info .info-traffic > article li {
    letter-spacing: -0.04em;
}
section.main-info .info-traffic > article li + li { margin-top: 0.2em; }




















/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 레이아웃 / 공통요소
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* 서브 */
section.sub {
    --inner : 1280px;
}
section.sub > .inner {
    width: var(--inner);
}
/* 서브헤더 */
section.sub-header {
    width: 100vw;
    aspect-ratio: 3 / 1;
    max-height: 550px;
    background-position: center top 50px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    background-color: #222;
}
#quickmenu.sub {
    z-index: 0;
    position: absolute;
    bottom: 60px;
    right: -50px;
}
section.sub-header > .inner {
    height: 100%;
    padding: 0 0 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
section.sub-header > .inner p.font.uppercase {
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
}
section.sub-header > .inner h1.page-title {
    color: #fff;
    font-weight: 400;
    text-shadow: 0 0 30px rgba(0, 0, 0, .3);
}
section.sub-header > .inner h1.page-title b {
    font-weight: 700;
}

section.sub-header div.locate {
    font-size: 0.9em;
    position: absolute;
    bottom: 10%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;

    width: fit-content;
    max-width: 90%;
    z-index: 20;
}
section.sub-header div.locate p {
    font-weight: 400;
    color: #fff;
    display: grid;
    grid-template-columns: 2em auto;
    align-items: center;
    text-shadow: 0 0 20px rgba(0, 0, 0, .6);
    letter-spacing: -0.01em;
}
section.sub-header div.locate p::before {
    content: '';
    width: 2em;
    aspect-ratio: 1 / 1;
    display: block;
    background-repeat: no-repeat;
    background-size: auto 90%;
    background-position: left center;
}
section.sub-header div.locate p.adrs::before { background-image:url(./img/icon-address-beige.svg) }
section.sub-header div.locate p.call::before { background-image:url(./img/icon-call-beige.svg) }

/* 서브페이지 섹션 제목영역 */
section.sub .title-zone p.font.uppercase {
    color: #676767;
    letter-spacing: 0.05em;
}
section.sub.dark .title-zone p.font.uppercase { color: #fff; }
section.sub .title-zone .section-title {
    font-size: 2.3em;
    line-height: 1.3;
    font-weight: 400;
    letter-spacing: -0.06em;
    font-family: var(--font);
    color: var(--dark);
}
section.sub .title-zone .section-title b { font-weight:800 }

section.sub .title-zone .section-title span { color: var(--primary); }
section.sub.dark .title-zone .section-title { color:#fff }
section.sub.dark .title-zone .section-title span { color:#FFF0DB }

section.sub .title-zone .section-title + span.line {
    display: block;
    width: 90%;
    height: 0.5em;
    margin-top: 1.5em;
    border-top: 1px solid #cdcdcd;
}
section.sub .title-zone .p-wrap p {
    font-weight: 400;
    color: #555;
}
section.sub.dark .title-zone .p-wrap p { color:#fff }


/* 서브페이지 인트로섹션 */
section.sub.sub-intro > .inner {
    padding: 200px 60px 0;
    width: fit-content;
    max-width: var(--inner);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    justify-content: center;
    align-items: flex-end;
}
section.sub.sub-intro .title-zone .section-title { font-size: 2.0em; }
section.sub.sub-intro > .inner .p-wrap {
    width: 86%;
/*    border: 1px dashed lime;*/
}
section.sub.sub-intro > .inner .p-wrap p {
    font-size: 0.95em;
}


section.sub ~ .section-space { height:200px; }
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 00 온통바른신경과
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 서브페이지 : 진료철학 (sub0-1.php) */
section.sub.intro-photo {}
section.sub.intro-photo > .inner {
    padding: 200px 0 150px;
}
section.sub.intro-photo .title-zone .p-wrap {
    margin: 2em auto 0;
}
section.sub.intro-photo .title-zone .line {
    height: 4em;
    width: 1px;
    border-left: 1px solid #eee;
    margin: 1.5em auto -2.5em;
}
/* 신뢰를바탕으로 */
section.sub.trust-sand {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    background-image: url(./img/sub/about/bg-trust-sand-m.webp);
    background-color: #fafafa;
}
section.sub.trust-sand > .inner {
    padding: 0 0;
    width: 70%;
    margin-left: auto;
}
section.sub.trust-sand .title-zone {
    position: relative;
    width: fit-content;
    padding: 5em 0 2em;
}
section.sub.trust-sand .title-zone::after {
    content: '';
    display: block;
    width: 55vw;
    height: 1px;
    border-bottom: 1px solid #bbb;
    position: absolute;
    left: -20vw;
/*    transform: translateX(-50%);*/
    bottom: 0;
    right: 0;
}
section.sub.trust-sand .unit.left-border {
    border-left: 1px solid #bbb;
    padding: 50px 50px ;
}
section.sub.trust-sand .unit.left-border > div {
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 4em auto;
    align-items: flex-start;
}
section.sub.trust-sand .unit.left-border > div .before {
    grid-row: 1 / span 2;
    font-weight: 700;
    font-family: var(--font);
    opacity: 0.2;
    color: #2f3962;
    font-size: 2em;
    line-height: 1.45;
}
section.sub.trust-sand .unit.left-border > div h5.font i { font-weight:400 }
section.sub.trust-sand .unit.left-border > div .p-wrap { margin-top:0.5em }


/* - - - - - 서브페이지 : 온통바른의 특별함 (sub0-2.php) */
section.sub.about-speciality { background-attachment:fixed; }
section.sub .unit.special-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
section.sub .unit.special-cards > div {
    width: 330px;
    aspect-ratio: 3.3 / 4.1;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);

    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
section.sub .unit.special-cards > div * { text-align:center; }
section.sub .unit.special-cards > div .before {
    opacity: calc(var(--i) * 0.2);
    font-family: var(--font);
    font-size: 3em;
    display: inline-block;
    display: block;
    text-align: right;
    color: #C1C4D0;
    font-weight: 700;
    line-height: 0;
}
section.sub .unit.special-cards > div h5.txt-secondary {
    font-size: 1.1em;
    font-weight: 600;
/*    margin: 1em auto 2em;*/
}
section.sub .unit.special-cards > div .p-wrap p {
    font-size: 0.85em;
    letter-spacing: -0.02em;
    color: #555;
}
/* - - - - - 서브페이지 : 의료진소개 (sub0-3.php) */


/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 01 온통바른 시그니처
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 서브페이지 : 척추 관절 통증 (sub1-1.php) */
/* - - - - - 서브페이지 : 두통 (sub1-2.php) */
/* 이미지 카드 */
section.sub .unit.cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
section.sub .unit.cards > div {
    width: 320px;
    position: relative;
    aspect-ratio: 1 / 1;
    background-color: #222;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
section.sub .unit.cards > div .before {
    position: relative;
    font-weight: bold;
    color: rgba(255, 255, 255, .1);
    font-family: var(--font);
    font-size: 2.6em;
    line-height: 0.5;
}
section.sub .unit.cards > div h5.font {
    font-size: 1.75em;
    border-bottom: 1px solid rgba(255, 255, 255, 1.0);
    width: 60%;
    margin-bottom: 0.5em;
}
section.sub .unit.cards > div p {
    color: #fff;
    height: 4em;
    font-size: 0.95em;
    letter-spacing: -0.01em;
    line-height: 1.6;
    width: 88%;
}
section.sub .unit.cards > div p:before {
    /*  추후삭제  */
/*    content: '카드 설명 (내용체크!!)';*/
}
section.sub p.unit-msg {
    padding: 2em 2em 0;
    font-size: 1.6em;
    font-weight: 500;
}

/* 이미지 체크라벨 */
section.sub .unit.img-labels {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: center;
}
section.sub .unit.img-labels > .img {
    border-radius: 20px;
    aspect-ratio: 2 / 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #ddd;
}
section.sub .unit.img-labels > .label-group {
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    height: 100%;
}
section.sub .unit.full-half .label-group.check > div,
section.sub .unit.img-labels > .label-group > div {
    background-color: #fff;
    padding: 0.5em 1.75em;
    border-radius: 3em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
section.sub .unit.full-half .label-group.check > div > p,
section.sub .unit.img-labels > .label-group > div > p {
    display: grid;
    grid-template-columns: 1em auto;
    gap: 0.8em;
    align-items: center;
    font-weight: 600;
}
section.sub .unit.full-half .label-group.check > div > p::before,
section.sub .unit.img-labels > .label-group > div > p::before {
    content: '';
    display: block;
    width: 1.3em;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url(./img/icon-before-check-circle.svg);
}
section.sub.bgcolor > .inner { padding:150px 0 }

/* 넘버 카드 */
section.sub .unit.number-cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
section.sub .unit.number-cards > div {
    width: 440px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}
section.sub .unit.number-cards > div .before {
    position: absolute;
    top: 6%;
    left: 40px;
    font-weight: bold;
    color: rgba(47, 57, 98, .06);
    font-family: var(--font);
    font-size: 4em;
}
section.sub .unit.number-cards > div h5.font {
    font-size: 1.75em;
    border-bottom: 1px solid #bbb;
    padding: 1.5em 0 0.3em 1.75em ;
    width: 100%;
    margin-bottom: 0.75em;
}
section.sub .unit.number-cards > div p {
    font-size: 0.9em;
    letter-spacing: -0.01em;
    line-height: 1.6;
}

/* 스텝 (스크롤 효과) */
div.section-wrapper.sub {
    overflow: hidden;
}
section.sub.flow-scroll .inner {
    max-width: 100vw;
    width: 100%;
}
section.sub.flow-scroll .unit.flowscroll {
    position: relative;
}
section.sub.flow-scroll .unit.flowscroll .line {
    position: absolute;
    display: block;
    width: 100%;
    height: 1px;
    left: 0;
    top: 173px;
    background-color: #bbb;
    opacity: 0.6;
}
section.sub.flow-scroll .unit.flowscroll .flow {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
}
section.sub.flow-scroll .unit.flowscroll .flow > div {
    width: 210px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.sub.flow-scroll .unit.flowscroll .flow > div * { text-align:center; margin:0 auto; }
section.sub.flow-scroll .unit.flowscroll .flow > div img {
    width: 140px;
    transition: all ease 0.5s;
}
section.sub.flow-scroll .unit.flowscroll .flow > div h5 {
    font-weight: 700;
    margin: 0.6em auto 0.4em;
    font-size: 1em;
}
section.sub.flow-scroll .unit.flowscroll .flow > div h5::before {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    margin: 15px auto;
    border-radius: 50%;
    background-color: var(--primary);
    transition: all ease 0.5s;
}
section.sub.flow-scroll .unit.flowscroll .flow > div p {
    line-height: 1.6;
    font-size: 0.86em;
    color: #555;
    letter-spacing: -0.03em;
}

/* 하단 반복 - 통증의시작점 섹션 */
section.sub.repeat-start {}
section.sub.repeat-start > .inner {
    padding: 150px 0 100px;
}
section.sub.repeat-start .unit.ml {}
section.sub.repeat-start .unit.ml > .p-wrap {
    margin: 4em auto 5em;
}

section .p-wrap p.fw300 {
    font-size: 0.96em;
    letter-spacing: -0.03em;
    font-weight: 300;
}
section.dark .p-wrap p.fw300 {
    color: #fff;
}

section.sub.repeat-start .unit.ml > .btn-wrap {
    gap: 30px;
}
section.sub.repeat-start .btn-solid {
    display: grid;
    grid-template-columns: 2em auto;
    border-radius: 5em;
    padding: 0.7em 2em;
    align-items: center;
    transform: translateY(0);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    transition: transform ease 0.4s, box-shadow ease 0.5s;
}
section.sub.repeat-start .btn-solid img { width:1em }
section.sub.repeat-start .btn-solid p {
    color: #fff;
    font-weight: 600;
    font-size: 1.2em;
    padding-right: 0.5em;
}
section.sub.repeat-start .btn-solid:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

/* 반복 (고압산소치료) */
section.sub.repeat-hbot {
    background-position: right bottom -10px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url(./img/sub/signature/bg-repeat-hbot.webp);
}
section.sub.repeat-hbot > .inner {
    padding: 130px 30px 80px;
}

section.sub.repeat-hbot .section-title + .p-wrap { margin-top:0.15em }
section.sub.repeat-hbot .section-title + .p-wrap p { font-size:1.3em }
section.sub.repeat-hbot .btn-solid {
    margin-top: 2em;
    width: fit-content;
    display: flex;
    border-radius: 5em;
    padding: 0.7em 2em;
    align-items: center;
    transform: translateY(0);
    border: 2px solid #a99172;
    background-color:#a99172;
    transition: all ease 0.2s;
}
section.sub.repeat-hbot .btn-solid p {
    color: #fff;
    font-weight: 600;
    font-size: 1.1em;
    padding-right: 0.5em;
}
section.sub.repeat-hbot .btn-solid:hover { background-color:transparent; }
section.sub.repeat-hbot .btn-solid:hover p { color: #a99172; }

/* - - - - - 서브페이지 : 어지럼 (sub1-3.php) */
section.sub.dont-miss {}
section.sub .mini-title {
    font-size: 1.5em;
    padding: 1em 2em 0.25em;
    border-bottom: 1px solid #ccc;
    background-repeat: no-repeat;
    background-position: center left 0.5em;
    background-image: url(./img/symbol-op10.svg);
    background-size: 2.5em;
}
section.sub.dont-miss > .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
section.sub.dont-miss > .inner > div.txt {}
section.sub.dont-miss > .inner > div.txt .p-wrap {
    padding: 2em 3em 0;
}
section.sub.dont-miss > .inner > div.img {
    background-color: #dcdcdc;
    aspect-ratio: 2 / 1;
    border-radius: 30px;
}
/*이미지 임시영역*/
section.sub.dont-miss > .inner > div.img.temp { position: relative; }
section.sub.dont-miss > .inner > div.img.temp::after{
    content: '* 추후 진료실 사진으로 교체 예정';
    color: #aaa;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: self;
    justify-self: self;
    font-size: 0.8em;
    height: 100%;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 02 온통바른 신경과
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 서브페이지 : 안면마비 (sub2-1.php) */
section.sub .unit.diff-diagnosis {
    display: grid;
    grid-template-columns: 1fr 1fr ;
    gap: 60px;
    align-items: flex-start;
}
section.sub .unit.diff-diagnosis > div {}
section.sub .unit.diff-diagnosis > div > div.img {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    aspect-ratio: 2 / 1;
    border-radius: 30px;
    background-color: #dcdcdc;
}
section.sub .unit.diff-diagnosis > div > div.txt {
    position: relative;
    padding: 80px 20px 0 80px;
}
section.sub .unit.diff-diagnosis > div > div.txt span.font {
    color: #C2B098;
    font-size: 3em;
    font-weight: 700;
    position: absolute;
    left: 30px;
    top: 30px;
}
section.sub .unit.diff-diagnosis > div > div.txt h5.font {
    margin-bottom: 0.5em;
}
section.sub .unit.diff-diagnosis > div > div.txt .p-wrap p {
    font-size: 0.9em;
    letter-spacing: -0.03em;
}

/* hoverwide */
section.sub .unit.hover-wide {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 26px;
}

section.sub .unit.hover-wide > div {
    height: 330px;
    width: 260px;
    padding: 40px;

    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    background-color: #222;
    border-radius: 30px;
    overflow: hidden;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;

    transition: width ease-in-out 0.5s;
}
section.sub .unit.hover-wide > div .before {
    color: #fff;
    font-family: var(--font);
    font-weight: 700;
    font-size: 3em;
    line-height: 1.0;
    opacity: 0.15;
    transform: translateY(-50%);
    transition: all ease 0.3s;
}
section.sub .unit.hover-wide > div h5.font {
    font-size: 1em;
    text-overflow: clip;
    white-space: nowrap;
    line-height: 1.3;
}
section.sub .unit.hover-wide > div p {
    color: #fff;
    visibility: hidden;
    opacity: 0;
    text-overflow: clip;
    white-space: nowrap;
    text-shadow: 0 0 1em rgba(0, 0, 0, .2);
}
section.sub .unit.hover-wide > div h5.font {
    transition: opacity ease 0.3s;
}
section.sub .unit.hover-wide > div h5.font::after {
    content: '';
    display: block;
    width: 5em;
    height: 0.5em;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
    opacity: 0;
}
section.sub .unit.hover-wide > div p {
    font-size: 0.9em;
}
/* active */
section.sub .unit.hover-wide > div.active { width: 680px; }
section.sub .unit.hover-wide > div.active .before {
    opacity: 0.1;
    transform: translateY(0);
}
section.sub .unit.hover-wide > div.active h5.font,
section.sub .unit.hover-wide > div.active p {
    visibility: visible;
    opacity: 1;
}
section.sub .unit.hover-wide > div.active h5.font {
    font-size: 1.5em;
}
section.sub .unit.hover-wide > div.active h5.font br { display:none }
section.sub .unit.hover-wide > div.active h5.font::after { opacity:1 }


/* - - - - - 서브페이지 : 대상포진 (sub2-2.php) */
section.sub .unit.photo-box {
    background-color: #222;
    border-radius: 30px;
    padding: 100px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
section.sub .unit.photo-box * { color:#fff }
section.sub .unit.photo-box p.unit-msg {
    padding: 0 2em 1em;
}
/**/
section.sub .unit.circle-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 80px;
    justify-content: center;
}
section.sub .unit.circle-text > div {
    width: 310px;
    text-align: center;
}
section.sub .unit.circle-text > div img {
    display: inline-block;
    margin: 0 auto 30px;
    width: 60%;
}
section.sub .unit.circle-text > div h5 {
    position: relative;
    margin-bottom: 1em;
    padding: 0.5em 0 0;
}
section.sub .unit.circle-text > div h5 span {
    font-weight: 700;
    font-family: var(--font);
    opacity: 0.05;
    color: #2f3962;
    font-size:2.1em;
    line-height: 0;

    position: absolute;
    top: 0;
}
section.sub .unit.circle-text > div h5 P {
    line-height: 1.5;
    font-size: 1.5rem;
    font-weight: 600;
}
section.sub .unit.circle-text > div .p-wrap {
}
section.sub .unit.circle-text > div .p-wrap p {
    font-size: 1rem;
}

/* - - - - - 서브페이지 : 신경통 (sub2-3.php) */
section.sub .inner.wide { max-width:100vw; width:100% }
section.sub .unit.full-half {
    width: 90%;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-left: 0;
}
section.sub .unit.full-half > div.img {
    border-radius: 30px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #ccc;
    aspect-ratio: 2.5 / 1;

    background-image: url(./img/sub/neurology/neuralgia-why.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
section.sub .unit.full-half > div.txt {}
section.sub .unit.full-half > div.txt .p-wrap {
    padding: 1.5em 3em;
}
/**/
section.sub .unit.circle-text.dot > div {
    width: 430px;
}
section.sub .unit.circle-text.dot > div img { width:50% }
section.sub .unit.circle-text.dot > div h5 {
    position: relative;
    margin-bottom: 0.6em;
    padding: 0;
}
section.sub .unit.circle-text.dot > div h5::before {
    content: '';
    display: block;
    width: 10px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    background-color: var(--primary);
    border-radius: 50%;
    margin-bottom: 10px;
}
section.sub .unit.circle-text.dot > div h5 P { text-align: center; }
section.sub .unit.circle-text.dot > div .p-wrap p {text-align: center; }

section.sub .rotate {
/*    overflow: hidden;*/
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    position: absolute;
    width: 170px;
    right: 5%;
    top: 100px;
    z-index: 10;
}
section.sub .rotate .rotate-text {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    background-image: url(./img/main-pain-rotate.png);
    animation: rotate360 15s linear infinite;
}
section.sub .rotate::before {
    content: '';
    display: block;
    position: absolute;
    background-color: #DFD0BE;
    opacity: 0.2;
    width: 84%;
    height: 84%;
    border-radius: 50%;
    transform: translate(25%, 5%);
}

/* - - - - - 서브페이지 : 안면떨림 (sub2-4.php) */
section.bgcolor.dark .rotate { right: 1%; top:20%; }
section.bgcolor.dark .rotate::after {
    content: '';
    display: block;
    position: absolute;
    background-color: #C2B098;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    transform: translate(40%, -50%);
    z-index: -3;
}
/**/
section.sub .unit.half-number {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}
section.sub .unit.half-number > div.img {
    background-color: #ddd;
    aspect-ratio: 5 / 3.5;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    background-image: url(./img/sub/neurology/facial-spasm-care.jpg);
}
section.sub .unit.half-number > div.txt {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
section.sub .unit.half-number > div.txt > div {
    display: grid;
    grid-template-columns: 4em auto;
    align-items: flex-start;
}
section.sub .unit.half-number > div.txt > div .before {
    grid-row: 1 / span 2;
    font-weight: 700;
    font-family: var(--font);
    opacity: 0.1;
    color: #2f3962;
    font-size: 2em;
    line-height: 1.45;
}
section.sub .unit.half-number > div.txt > div .p-wrap { width:90% }
section.sub .unit.half-number > div.txt > div .p-wrap p {
    font-size: 0.94em;
    letter-spacing: -0.03em;
}


/* - - - - - 서브페이지 : 뇌졸중/치매/파킨슨 (sub2-5.php) */
section.sub .unit.circle-text.dot.square { gap:30px }
section.sub .unit.circle-text.dot.square > div img { width:100% }
section.sub .unit.circle-text.dot.square > div h5,
section.sub .unit.circle-text.dot.square > div .p-wrap { width:90%; margin:0 auto }
/**/
section.sub > .inner.morepadding {
    padding: 150px 3%;
}
section.sub .unit.brain-zigzag {}
section.sub .unit.brain-zigzag > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 100px;
}
section.sub .unit.brain-zigzag > div + div { margin-top:40px }
section.sub .unit.brain-zigzag > div .img {
    aspect-ratio: 2 / 1;
    border-radius: 20px;
    background-color: #ccc;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

}
section.sub .unit.brain-zigzag .mini-title {
    font-size: 1.5em;
    padding: 0.25em 2em;
    background-position: center left 0.5em;
    background-image: url(./img/sub/neurology/mini-title-check.svg);
    background-size: 0.8em;
    margin-bottom: 1em;
}
section.sub .unit.brain-zigzag .p-wrap {
    padding: 0 3em 0 3em;
}
/* - - - - - 서브페이지 : 수면장애 (sub2-6.php) */
/* - - - - - 서브페이지 : 자율신경 (sub2-7.php) */
section.sub.bgsymbol-lefttop {
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: left -5% top -10%;
}
section.sub .unit.full-half .label-group.check {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
}
/**/
section.sub .unit.diff-diagnosis.ans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: flex-start;
}
section.sub .unit.diff-diagnosis.ans > div > div.img { aspect-ratio:4 / 3 }
section.sub .unit.diff-diagnosis.ans > div > div.txt span.font { color: #2f3962; opacity:0.1 }
section.sub .unit.diff-diagnosis.ans > div > div.txt h5.font { color: var(--secondary); }




/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 03 온통바른 회복재생
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 서브페이지 : 수액치료 (sub3-1.php) */
section.sub .unit.iv-zigzag {}
section.sub .unit.iv-zigzag > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    gap: 60px;
}
section.sub .unit.iv-zigzag > div + div { margin-top:100px }

section.sub .unit.iv-zigzag > div .img {
    aspect-ratio: 2 / 1;
    border-radius: 20px;
    background-color: #ccc;

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
section.sub .unit.iv-zigzag > div.reverse > .txt { order:2; }
section.sub .unit.iv-zigzag > div > .txt {
    position: relative;
}
section.sub .unit.iv-zigzag > div > .txt > span {
    position: absolute;
    font-weight: 700;
    font-family: var(--font);
    opacity: 0.07;
    color: #2f3962;
    font-size: 3em;
    line-height: 0.5;
}
section.sub .unit.iv-zigzag > div > .txt > p.font {
    font-size: 1.5em;
    color: var(--secondary);
    padding: 0 2em;
}
section.sub .unit.iv-zigzag > div > .txt > p.mini-subtitle {
    border-bottom: 1px solid #dcdcdc;
    padding: 0 3em 1em;
    letter-spacing: -0.02em;
    font-size: 1.2rem;
}
section.sub .unit.iv-zigzag > div > .txt > ul.dot {
    padding: 2em 2em 0;
}
section.sub .unit.iv-zigzag > div > .txt > ul.dot li {
    font-size: 1.1rem;
}
section.sub .unit.iv-zigzag > div > .txt > ul.dot li + li { margin-top:0.5em }

section.sub .unit.iv-zigzag > div > .txt > .label-group.tag {
    position: absolute;
    bottom: 0; right: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}
section.sub .unit.iv-zigzag > div > .txt > .label-group.tag p {
    font-size: 0.96rem;
    color: #fff;
    background-color: var(--primary);
    padding: 0.15em 1em;
    border-radius: 3em;
    width: fit-content;
}

/* - - - - - 서브페이지 : 고압산소치료 (sub3-2.php) */
section.sub.hbot .unit.special-cards {}
section.sub.hbot .unit.special-cards .before {
    text-align: left;
}
section.sub.hbot .unit.special-cards > div {
    gap: 0;
}
section.sub.hbot .unit.special-cards > div h5.txt-secondary { margin-bottom: -1.5em}
section.sub.hbot .unit.special-cards img {
    width: 100px;
    display: block;
    margin: 0 auto -2em;
}
/**/
section.sub .unit.hbot-info {}
section.sub .unit.hbot-info > div.img {
    text-align: center;
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 0 ;
    margin-top: -50px;
}
section.sub .unit.hbot-info > div.img > img {
    transform: translateX(-5%);
    max-width: 1000px;
}
section.sub .unit.hbot-info > div.txt {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}
section.sub .unit.hbot-info > div.txt > div {
    width: 470px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
}
section.sub .unit.hbot-info > div.txt > div + div {
    border-left: 1px solid #bdbdbd;
}
section.sub .unit.hbot-info > div.txt > div h5 {
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
}
section.sub .unit.hbot-info > div.txt > div p {
    font-size: 1rem;
}




/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUBPAGE : 04 진료안내 오시는길
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* - - - - - 서브페이지 : 진료안내 (sub4-1.php) */
section.sub .unit.link-grid {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
section.sub .unit.link-grid > a {
    display: flex;
    background-color: #222;
    border-radius: 20px;
    padding: 150px 30px 30px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    font-size: 1.5em;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}
section.sub .unit.link-grid > a:first-child {
    grid-row: 1 / span 2;
}
section.sub .unit.link-grid > a::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .1);
    z-index: 0;
    transition: all ease 0.3s;
}
section.sub .unit.link-grid > a:hover::before {
    background-color: rgba(0, 0, 0, .5);
}
section.sub .unit.link-grid > a p {
    z-index:1; position:relative;
    transform: translateY(0);
    transition: transform ease 0.5s;
    letter-spacing: -0.02em;
}
section.sub .unit.link-grid > a:hover p {
    transform: translateY(-1em);
}


/* - - - - - 서브페이지 : 병원미리보기 (sub4-2.php) */
section.sub.main-interior .swiper-slide {
    aspect-ratio: 16 / 9;
}
/**/
section.sub .unit.equip-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    width: 1280px;
}
section.sub .unit.equip-grid > div {
    width: 400px;
    background-color: #fff;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 1em;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}
section.sub .unit.equip-grid > div .img {
    width: 100%;
    aspect-ratio: 2 / 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 1em;
}
section.sub .unit.equip-grid > div p {
    line-height: 1.3;
}
section.sub .unit.equip-grid > div p small {
    font-size: 0.75em;
    display: block;
    opacity: 0.4;
    letter-spacing: 0.03em;
    text-align: center;
    line-height: 1.0;
}




/* - - - - - 서브페이지 : 찾아오시는길 (sub4-3.php) */
