/*
Theme Name: 김진동삼성내과
Author: Jeymedi
Author URI: http://jeymedidesign.dothome.co.kr
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;*/
}

.fff{
    color: #fff;
}

/* header */
header.header {
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 99;
    background-color: #fff;
    --point : var(--primary);
    transition: all ease 0.3s;
}
header.header.transparent {
    --point : #A1E5FF;
    --point : #fff;
    background-color: transparent;
}
header.header div.logo-floor,
header.header div.menu-floor .gnb-wrap {
    border-bottom: 1px solid #d2d2d2;
}
header.header div.menu-floor .sub-wrap {
    box-shadow: 0 -1px 0 #d2d2d2 inset;
}
header.header.transparent div.logo-floor,
header.header.transparent div.menu-floor .gnb-wrap {
    border-bottom: 1px solid rgba(255,255,255,.3);
}
header.header.transparent div.menu-floor .sub-wrap {
    backdrop-filter: blur(10px);
    background-color: rgba(100,110,130,.2);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3) inset;
}



header.header div.logo-floor .inner {
    height: 110px;
    align-items: center;
}
header.header div.logo-floor a.btn-call {
    width: 240px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    aspect-ratio: 100 / 22;
    background-repeat: no-repeat;
    background-image: url(./img/btn-call-black.png);
    background-position: center;
    background-size: contain;
}
header.header.transparent div.logo-floor a.btn-call {
    background-image: url(./img/btn-call.png);
}
header.header div.logo-floor a.logo {
    width: 370px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    aspect-ratio: 100 / 16;
    background-repeat: no-repeat;
    background-image: url(./img/logo-header-color.svg);
    background-position: center;
    background-size: contain;
}
header.header.transparent div.logo-floor a.logo {
    background-image: url(./img/logo-header-fff.svg);
}


header.header div.logo-floor div.quick-links {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    width: 240px;
    grid-gap: 10px;
}
header.header div.logo-floor div.quick-links a {
    width: 40px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: flex-end;
}

/* menu-floor */
header.header div.menu-floor .inner {
    display: grid;
    grid-template-columns: 60px auto;
    grid-gap: 40px;
    align-items: center;
}
header.header div.menu-floor #menu-btn {
    background-color: var(--primary);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 10%;
    cursor: pointer;
}

header.header div.menu-floor #menu-btn {
    background-color: rgba(0,58,135,.96);

}
header.header div.menu-floor #menu-btn > span {
    display: block;
    width: 40%;
    height: 2px;
    background-color: #fff;
}



header.header div.menu-floor ul.menu {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
}
header.header div.menu-floor .inner ul.menu a {color:var(--dark);
    text-align: center;
}
header.header.transparent div.menu-floor .inner ul.menu a {
    color:#fff; }


header.header div.menu-floor .gnb-wrap ul.menu > li > a {
    position: relative;
    display: block;
    height: 60px;
    line-height: 60px;
    transition: all ease 0.2s;
/*    border: 1px dashed red;*/
}
header.header div.menu-floor .gnb-wrap ul.menu .sub-menu { display: none; }
header.header div.menu-floor .inner ul.sub-menu > li > a {
    display: block;
    text-align: center;
    width: 100%;
}
/* 서브메뉴존 */
header.header div.menu-floor .sub-wrap {
    background: rgba(0, 10, 30, .025);
    overflow: hidden;
    transition: all ease 0.6s;
}

header.header div.menu-floor .sub-wrap li.menu-item-has-children > a { display: none; }

header.header div.menu-floor .sub-wrap li.menu-item-has-children {
    padding: 15px 0 50px;
}
header.header div.menu-floor .sub-wrap a {
    font-size: 0.8em;
    opacity: 0.9;
    font-weight: 400;
    height: 36px;
    line-height: 36px;
}
header.header div.menu-floor .gnb-wrap li.current-menu-parent > a,
header.header div.menu-floor .gnb-wrap li.on a,
header.header div.menu-floor .gnb-wrap a:hover,
header.header div.menu-floor .sub-wrap li.current-menu-item > a,
header.header div.menu-floor .sub-wrap a:hover {
    color: var(--point) !important;
    font-weight: 700;
}

header.header div.menu-floor .sub-wrap .menu-item-has-children + li {
    border-left: 1px dotted rgba(0, 0, 0, .1);
}

header.header.transparent div.menu-floor .sub-wrap .menu-item-has-children + li {
    border-left: 1px dotted rgba(255, 255, 255, .2);
}




/* 모바일메뉴 */
#mobile-menu {
    visibility: hidden;
    position: fixed;
/*    right: -100vw;*/
    top: 0;
    right: 0;
    opacity: 0;
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    z-index: 99;
    font-size: 1.0em;
    transition: all ease 0.4s;
}
#mobile-menu.on {
    visibility: visible;
    opacity: 1;
}
/* 닫기영역 */
#mobile-menu > .close-area {
    width: 100vw;
    height: 100%;
    position: absolute;
    cursor: pointer;
    z-index: -1;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

#mobile-menu > .menu-area {
    width: 360px;
    height: 100%;
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    overscroll-behavior:none;
    background-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

#mobile-menu > .menu-area div.title {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px;
}
#mobile-menu > .menu-area div.title.m {
    display: none;
}

#mobile-menu > .menu-area div.title a.home {
    font-size: 1.5rem;
}
#mobile-menu > .menu-area div.title a.close-btn {
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    width: 4rem;
    height: 4rem;
    align-items: center;
    justify-content: center;
    background-image: url('./img/close.svg');
    background-repeat: no-repeat;
    background-size: 1.25rem;
    background-position: center;
    cursor: pointer;
}

#mobile-menu div.menu-main-menu-container {
    overflow-y: auto;
}
#mobile-menu div.menu-main-menu-container::-webkit-scrollbar {
    width: 5px; height: 5px;
  }
#mobile-menu div.menu-main-menu-container::-webkit-scrollbar-thumb {
    background-color: rgba(255,255,255,.6);
  }
#mobile-menu div.menu-main-menu-container::-webkit-scrollbar-track {
    background-color: transparent;
}

#mobile-menu a {
    color: #fff;
}
#mobile-menu ul.menu > li.menu-item { display:block; }
#mobile-menu ul.menu li.menu-item:hover {
    background-color: rgba(0,0,0,.1);
}
#mobile-menu ul.menu > li.menu-item > a {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.8;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
#mobile-menu ul.menu > li.menu-item:hover a {
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}
#mobile-menu ul.menu li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0.8em; height: 0.8em;
    margin-left: auto;
    background-repeat: no-repeat;
    background-size: 80% auto;
    background-position: center;
    background-image: url('./img/arrow-menutoggle.svg');
}
#mobile-menu ul.menu li.current-menu-item > a,
#mobile-menu ul.menu li.menu-item-has-children.on > a {
    font-weight: 700;
    opacity: 1;
}
#mobile-menu ul.menu li.menu-item-has-children.on a {
    background-color: rgba(0,0,0,.1);
}
#mobile-menu ul.menu li.menu-item-has-children.on > a::after,
#mobile-menu ul.menu li.menu-item-has-children.current-menu-item > a::after {
    transform: scale(-1, -1);
}
#mobile-menu ul.menu > li.menu-item-has-children > a span {
    content: '';
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 1.0;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px 3px;
    line-height: 1.0;
    border-radius: 3em;
    margin-left: 10px;
}
#mobile-menu ul.menu li.menu-item-has-children ul.sub-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow-y: hidden;
}
#mobile-menu ul.menu li.menu-item-has-children.on ul.sub-menu {
    height: fit-content;
    max-height: 50vh;
}
#mobile-menu ul.menu li.menu-item-has-children ul.sub-menu li a {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.8rem 3rem;
}
#mobile-menu ul.menu li.menu-item-has-children ul.sub-menu li.current-menu-item a {
    font-weight: 600;
    opacity: 1;
    color: var(--tertiary);
}
#mobile-menu ul.menu li.menu-item-has-children ul.sub-menu li:hover a {
    opacity: 1.0;
}





/* footer */
footer.footer {
    background-color: #fff;
    border-top: 1px solid var(--primary);
}
footer.footer > .inner {
    border: 1px solid var(--primary);
    border-top: 0;
    border-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

footer.footer > .inner > .left,
footer.footer > .inner > .right > div {
    padding: 50px;
}

footer.footer > .inner > .left {
    padding: 60px;
   /* height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;*/
}
footer.footer .footer-title img { height:1.5em }

/* 진료시간 테이블 */
footer.footer .footer-timetable {
    display: grid;
    grid-template-columns: 2.5fr 2fr 1fr 2fr;
    align-items: center;
    grid-gap: 1px 0;
    width: 90%;
    margin: 20px 0 0;
}
footer.footer .footer-timetable > div {
    background-color:#fff;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--tertiary);
}
/* 요일  */
footer.footer .footer-timetable > div:nth-child(4n+1) { color: #636717; font-weight:500;}
/* 시작시간  */
footer.footer .footer-timetable > div:nth-child(4n+2) { padding-left: 1em; }
/* 바  */
footer.footer .footer-timetable > div:nth-child(4n+3) { height: 100% }
footer.footer .footer-timetable > div > span {
    display: inline-block;
    width: 0.6em;
    height: 3px;
    background-color: #636717;
}
/* 종료시간  */
footer.footer .footer-timetable > div:nth-child(4n) { padding-right: 1em; }

/* 공휴일 */
footer.footer .footer-timetable > div:nth-child(n+9) { border-bottom: 0; }
footer.footer .footer-timetable > div.span {
    padding: 2px 0.75em;
    color: #636717;
    font-weight: 500;
    align-items: flex-start;
    grid-column: 1 / span 4;
    font-size: 0.9em;
    letter-spacing: -0.025em;
}


footer.footer > .inner > .right {
    display: grid;
    grid-template-columns: 1fr;
    border-left: 1px solid var(--primary);
}
footer.footer > .inner > .right .upper span.number {
    display: block;
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.0;
    margin-top: 0.25em;
    font-family: var(--p);
}

footer.footer > .inner > .right > .lower {
    border-top: 1px solid var(--primary);
    background-color: #DCF3FF;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8em;
}
/* 푸터 기본정보 */
footer.footer > .inner > .right > .lower .footer-info li {
    font-weight: 500;
    color: var(--primary);
}
footer.footer > .inner > .right > .lower .footer-info li + li {
    margin-top: 5px;
}

/* 푸터메뉴 */
footer .footer-menu ul.menu {
    width: 230px;
}
footer .footer-menu ul.menu li.menu-item + li.menu-item {
    border-top: 1px solid rgba(0, 0, 0, .2);
}
footer .footer-menu ul.menu li.menu-item a {
    /*  푸터메뉴 단일  */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 0.6em;
    transition: all ease 0.2s;
}
footer .footer-menu ul.menu li.menu-item a::after {
    content: '';
    height: 1em;
    width: 1em;
    background-repeat: no-repeat;
    background-position: right;
    background-image: url('./img/footer-menu-arrow.svg');
    transition: transform ease 0.5s;
}
footer .footer-menu ul.menu li.menu-item a:hover {
    font-weight: 600;
}
footer .footer-menu ul.menu li.menu-item a:hover::after {
    transform: translateX(-1em);
}


/* copyright */
footer .copyright {
    padding: 30px;
    border-top: 1px solid var(--primary);
}
footer .copyright p {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* footer - subpage */
footer.sub {
    padding: 70px 0;
    background-color: #222;
    font-size: 0.9em;
}
footer.sub * { color: #fff; }
footer.sub ul.footer-info li img { height:3em; display:block; margin-bottom:1.5em }
footer.sub .copyright { border-top:0; padding:30px 0; opacity:0.6;}
footer .copyright p { font-weight:400 }


/* 푸터메뉴 */
footer.sub .footer-menu ul.menu li.menu-item + li.menu-item {
    border-top: 1px solid rgba(232,220,152, .5);
}
footer.sub .footer-menu ul.menu li.menu-item a::after {
    background-image: url('./img/footer-menu-arrow-fff.svg');
}









/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    common elements
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
section > .inner {
    padding: 100px 0;
}
/* 메인 섹션 타이틀  */
section.main div.title {
    margin: 1em auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 1em;
}
section.main div.title.txt-center {
    justify-content: center;
}

/* 메인 섹션 타이틀 이미지  */
section.main div.title img.section-title {
    width: auto;
    height: 2.5em;
}
/* 메인 섹션 서브 타이틀 이미지  */
section.main div.title img.section-title-sub {
    width: auto;
    height: 1.5em;
}
/* 메인 섹션 타이틀(영어) */
section.main div.title span.uppercase {
    display: block;
    filter: opacity(1);
    font-size: 0.8em;
}

/* dot 장식 */
section div.dot-trio {
    display: flex;
    flex-direction: row;
    grid-gap: 10px;
}
section div.dot-trio > span {
    display: inline-block;
    width: 10px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: var(--secondary);
}
section div.dot-trio > span:nth-child(1) { background-color:var(--tertiary); }
section div.dot-trio > span:nth-child(2) { background-color: }
section div.dot-trio > span:nth-child(3) { background-color:var(--primary); }

section div.dot-trio.sky > span:nth-child(1) { background-color: #59E0FF; }
section div.dot-trio.sky > span:nth-child(2) { background-color: #FFF8D5; }
section div.dot-trio.sky > span:nth-child(3) { background-color: #59E0FF; }

section div.title div.dot-trio { margin-bottom: 1.5em }
section div.title.txt-center div.dot-trio { margin: 0 auto 1.5em }



svg.line path,
svg#line path {
    fill: none;
    stroke: #8AE9FF;
    stroke-linecap: round;
    stroke-width: 6;
    filter: opacity(0.9);
}
.line-draw {
    position: relative;
}
.line-draw svg {
    position: absolute;
    left: 0;
    top: 60%;
    width: 100%; height: 100%;
    z-index: 0;
}






/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SECTION - MAIN
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* main-visual */
section.main-visual .swiper-slide {
    width: 100vw; height:100vh;
/*    background-image:url(./img/mv-temp.png);*/
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
section.main-visual .swiper-slide.mv1 { background-image:url('./img/mv1.webp') }
section.main-visual .swiper-slide.mv2 { background-image:url('./img/mv2.webp') }


section.main-visual .inner {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: 115%;
}
section.main-visual div.txt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 55vw;
    grid-gap: 30px;
}
section.main-visual div.txt img.text {
    width: 55%;
}
section.main-visual div.txt > .line {
    background-color: rgba(255,255,255,.5);
    background-color: rgba(255,248,212,.5);
    width: 100%;
    height: 1px;
    margin: 15px 0;
}
section.main-visual div.txt > p.txt-center {
    color: #fff;
    font-size: 1.25vw;
    letter-spacing: -0.035em;
    text-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

section.main-visual .swiper-slide.swiper-slide-active div.txt img.text,
section.main-visual .swiper-slide.swiper-slide-active div.txt p {
    animation-name: welcomeText;
    animation-duration: 1s;
    animation-fill-mode: both;
/*    opacity: 0;*/
    filter: opacity(0);
    transform: translateX(2em);
}
@keyframes welcomeText {
    0% { transform: translateX(2em); filter: opacity(0); }
    100% {transform: translateX(0); filter: opacity(1); }
}
section.main-visual .swiper-slide.swiper-slide-active div.txt img.text { animation-delay:0.6s }
section.main-visual .swiper-slide.swiper-slide-active div.txt p{ animation-delay:1.1s }


section.main-visual div.txt .dot-trio { display:none; }

section.main-visual .swiper-pagination {
    width: 55vw;
    left: unset;
    right: 0;
    bottom: 20%;
}
section.main-visual .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 8px;
    background-color: #FFF8D5;
    opacity: 0.5;
    transition: all ease 0.5s;
}
section.main-visual .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #59E0FF;
    opacity: 1;
}




/* main-clinic */
section.main-clinic {
    overflow: hidden;
    position: relative;
}
section.main-clinic > .inner {
    padding: 200px 0 150px;
}
section.main.main-clinic div.title { margin: 1em auto 40px }
section.main-clinic div.clinic-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 30px;
    margin: 80px auto 0;
}
section.main-clinic div.clinic-link > a {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1em;
    width: 220px;
    padding: 40px 30px;
    border: 1px solid #cdcdcd;
    cursor: pointer;
    transition: all ease 0.3s;
}

section.main-clinic div.clinic-link > a:hover {
    border-color: var(--primary);
    transform: translateY(-20px);
}

section.main-clinic div.clinic-link > a span.circle {
    display: block;
    position: absolute;
    left: 20%; top: 15%;
    width: 40%; aspect-ratio: 1 / 1; border-radius: 50%;
    background-color: #E7E1C9;
    opacity: 0;
    z-index: -1;
    transition: all ease 0.3s;
}
section.main-clinic div.clinic-link > a:hover span.circle {
    opacity: 0.56;
}
section.main-clinic div.clinic-link > a p {
    font-weight: 500;
    transition: all ease 0.3s;
}
section.main-clinic div.clinic-link > a:hover p {
    font-weight: 700;
    color: var(--primary);
}

/* scrollText */
section.main-clinic .scrollText {
    background-repeat: no-repeat;
    background-size: auto 6em;
    animation: scrollTextBg 50s linear infinite;
    background-image: url(./img/main-clinic-bg.png);
    width: 100vw;
    height: 4em;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
}
@keyframes scrollTextBg {
    from { background-position:right -99vw top }
    to { background-position:left -99vw top }
}






/* main-doctor */
section.main-doctor {
    background-image:url(./img/main-doctor-bg.webp?ver=1);
/*    background-image:url(./img/main-doctor-bg.png?ver=1);*/
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    background-attachment: fixed;
}
section.main-doctor > .inner {
    padding: 150px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    grid-gap: 100px;
}
section.main-doctor .box-career {
    margin-left: auto;
    width: 80%;
    background-color: #fff;
    padding: 50px;
    border: 2px solid var(--primary);
    border-radius: 40px;
    background-repeat: no-repeat;
    background-position: right 40px bottom 40px;
    background-size: 12%;
    background-image: url('./img/symbol.svg');
}
section.main-doctor .box-career ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-tracks: center;
    grid-gap: 0.2em;
}
section.main-doctor .box-career ul li {
    font-weight: 500;
}

section.main-doctor .box-name > div {
    width: 70%;
}
section.main-doctor .box-name > div img {}
section.main-doctor .box-name > div a.btn {
    display: flex;
    flex-direction: row;
    grid-gap: 0.5em;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 2em auto 0;
    margin: 2em auto;
    border-radius: 3em;
    padding: 0.5em 2em;
    font-size: 1.1em;
    width: 13em;
    font-weight: 600;
    color: #222;
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-image: url('./img/main-doctor-button.png');
    transition: all ease 0.3s;
}
section.main-doctor .box-name > div a.btn img {
    width: 2.5em;
    max-height: 0.35em;
    transition: all ease 0.3s;
}
section.main-doctor .box-name > div a.btn:hover {
    grid-gap: 0;
    width: 13em;
}
section.main-doctor .box-name > div a.btn:hover img {
    opacity: 0;
    width: 0;
}





/* main-special */
section.main-special {
    background-image:url(./img/main-special-bg.png);
    overflow: hidden;
    background-repeat: repeat-x;
    background-position: top left;
    background-size: 2px auto;
}
section.main-special > .inner {
    width: 100vw;
    padding: 200px 0 0;
}
section.main-special .special-swiper {
    margin: 60px auto;
    border: 1p solid red;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
}
section.main-special .swiper-slide {
    background-color: #fff;
}
section.main-special .swiper-slide > .grid.half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: flex-start;
    padding: 30px 0;
    grid-gap: 100px;
}
section.main-special .swiper-slide > .grid.half .img {
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--secondary);
    border-radius: 5vw;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .2);
}
section.main-special .swiper-slide > .grid.half .txt .desc-wrap {
    width: 82%;
    margin-left: auto;
    padding: 60px 20px 50px;
    border-bottom: 2px solid var(--secondary);
}
section.main-special .swiper-slide > .grid.half .txt .desc-wrap h3 { margin-bottom: 0.5em }
section.main-special .swiper-slide > .grid.half .txt .desc-wrap h3 img { height: 2em }
section.main-special .swiper-slide > .grid.half .txt .desc-wrap p { width:27em; margin-left:1.5em }


section.main-special .swiper-pagination {
    width: fit-content;
    left: 9vw;
/*    top: 22vw;*/
    top: unset;
    bottom: 5vw;
    display: grid;
    grid-template-columns: repeat(3, 11em);
    grid-gap: 0.5em;
}
section.main-special .swiper-pagination .special-tab {
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 0.85em;
    padding: 0.8em 1em 1.5em;
/*    color: var(--primay);*/
    color: #A7A7A7;
    letter-spacing: -0.05em;
    background-image: url('./img/main-special-wordballoon-small.svg');
    background-repeat: no-repeat;
    background-size: 100% 96%;
    background-position: center;
    transition: all ease 0.2s;
}
section.main-special .swiper-pagination .special-tab.special-tab-active {
    color: #fff;
    background-image: url('./img/main-special-wordballoon-small-on.svg');
}




/* main-endoscope */
section.main-endoscope {}
section.main-endoscope > .inner {
    width: 100vw;
    padding: 200px 0;
}
section.main-endoscope .endoscope-grid {
    margin-top: 80px;
    background-size: cover;
    background-position: top 10% center;
    background-repeat: no-repeat;
    background-image: url('./img/main-endoscope-gridbg.webp');

    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
section.main-endoscope .endoscope-grid > div {
    aspect-ratio: 1 / 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 1em;
    position: relative;
    --text : #222;
    --point; #222;
    transition: all ease 0.3s;
}
section.main-endoscope .endoscope-grid > div + div {
    border-left: 20px solid #fff;
}

section.main-endoscope .endoscope-grid > div.hover,
section.main-endoscope .endoscope-grid > div:hover {
    --text : #fff;
    --point : var(--secondary);
}
section.main-endoscope .endoscope-grid > div > .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-color: rgba(15, 36, 75, 0.0);
    transition: all ease 0.3s;
}
section.main-endoscope .endoscope-grid > div.hover > .overlay,
section.main-endoscope .endoscope-grid > div:hover > .overlay {
    background-color: rgba(15, 36, 75, 0.8);
}

section.main-endoscope .endoscope-grid > div * { position:relative; z-index:1; transition:all ease 0.5s }


section.main-endoscope .endoscope-grid > div .num { color:var(--point); display:block; text-align:center; }
section.main-endoscope .endoscope-grid > div .num::after {
    content: '';
    display: block;
    height: 1px;
    width: 150px;
    margin: 0.5em auto 0;
    background-color: #A6AE06;
    opacity: 1;
    transition:all ease 0.5s;
}
section.main-endoscope .endoscope-grid > div.hover .num:after,
section.main-endoscope .endoscope-grid > div:hover .num:after { opacity:0; }

section.main-endoscope .endoscope-grid > div h4 {
    color:var(--text);
    font-weight: 400;
    transform : scale(0.8);
    transform-origin: top center;
}
section.main-endoscope .endoscope-grid > div.hover h4,
section.main-endoscope .endoscope-grid > div:hover h4 { font-weight: 800; transform : scale(1); }

section.main-endoscope .endoscope-grid > div .line {
    display: block;
    width: 1px;
    height: 70px;
    max-height: 0;
    background-color: var(--point);
    transform: scaleY(0);
    transform-origin: top center;
    transition: all ease 0.6s;
}
section.main-endoscope .endoscope-grid > div.hover .line,
section.main-endoscope .endoscope-grid > div:hover .line { transform: scaleY(1); max-height: 70px; }

section.main-endoscope .endoscope-grid > div p { color:var(--text); opacity:0; text-align:center; padding:0 4em; height:0 }
section.main-endoscope .endoscope-grid > div.hover p,
section.main-endoscope .endoscope-grid > div:hover p { opacity:1 }


#promise-txt {
    position: relative;
    max-width: 100%;
    margin: auto;
    padding: 0 0;
}
#promise-txt .rounded-text {
    border-radius: 50%;
    position: absolute;
/*    top: 80px; left: 44%;*/
    top: 0; left: 0;
    z-index: 10;
    border: 2px solid var(--tertiary);
    width: 180px;
    height: 180px;
    box-sizing: content-box;
    transform: scale(0.8);
    transition-delay: 0.3s;
}
#promise-txt .rounded-text::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    display: block;
    width: 59%;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--tertiary);
    border-radius: 50%;
}

@keyframes promise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#promise-txt .rounded-text svg {
    fill: var(--tertiary);
    width: 100%;
    font-size: 0.52rem;
    animation: promise 9s linear infinite;
}












/* main-honesty */
section.main-honesty {
    background-image:url(./img/main-honesty-bg.webp);
    overflow: hidden;
/*    background-size: auto 100%;*/
    background-position: left 5vw center;
    background-repeat: no-repeat;
}
section.main-honesty > .inner {
    padding: 200px 0;
}
section.main-honesty .gradient-label {
    width: 60%;
    margin: 50px auto 0;
    border-radius: 10em;
    padding: 15px;
    background: #273BB7;
    background: linear-gradient(90deg, #23359f 0%, #3EA3FE 42%, #103d8d 80%)
}
section.main-honesty .gradient-label .gradient {
    border: 1px solid #fff;
    padding: 1.6em 4em;
    border-radius: 10em;
    position: relative;
    line-height: 1.0;
}
section.main-honesty .gradient-label .gradient img.msg {
    height: 2em;
}
section.main-honesty .gradient-label .gradient img.position-abs {
    right: -7%;
    top: -29%;
    width: auto;
    height: 170%;
}


/* main-foryou */
section.main-foryou {
    background-image: url(./img/main-foryou-bg.webp);
    overflow: hidden;
    background-size: 101% auto;
    background-position: right top 42%;
    background-repeat: no-repeat;
}
section.main-foryou > .inner {
    padding: 100px 0 120px;
}
section.main-foryou > .inner > img {
    width: 90px;
    margin-bottom: 20px;
}

section.main-foryou .txt-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}
section.main-foryou .txt-box img { height:2.5em }
section.main-foryou .txt-box .line-draw {
    height: fit-content;
    line-height: 0;
}
section.main-foryou .txt-box .line-draw img { position:relative; z-index:1 }



/* main-preview */
section.main-preview {
    background-image: url(./img/main-preview-bg-text.png);
    overflow: hidden;
    background-size: auto 120px;
    background-position: top 140px left 36vw;
    background-repeat: no-repeat;
}
section.main-preview > .inner {
    max-width: 100vw;
    width: 100%;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    grid-gap: 5vw;
    padding: 180px 0;
}

section.main-preview div.left {
/*    border: 1px solid red;*/
    overflow: hidden;
    padding: 20px 20px 20px 0;
}
section.main-preview div.left .swiper-wrapper {
    width: 100%;
/*    border: 1px dashed lime;*/
    border-radius: 5vw;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    overflow: hidden;
    box-shadow: 10px 10px 30px -15px rgba(0, 0, 0, .2);
}
section.main-preview div.left .swiper-slide {
    background-color: #eee;
    width: 100%;
    aspect-ratio: 16 / 9;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
section.main-preview div.left .swiper-slide.swiper-slide-active { opacity:1; }

section.main-preview .control {
    display: flex;
    flex-direction: row;
    grid-gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}
section.main-preview .control > span {
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 44px;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    opacity: 1.0;
    transition: all ease 0.3s;
}
section.main-preview .control > span:hover { transform: translateY(3px);}
section.main-preview .control > span:active { transform: scale(0.9); }
section.main-preview .control > span.swiper-button-disabled { opacity: 0.5; }
section.main-preview .control .button-next { background-image:url(./img/preview-button-next.svg); }
section.main-preview .control .button-prev { background-image:url(./img/preview-button-prev.svg); }

section.main-preview div.right {
/*    border: 1px solid red;*/
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 15vw;
}
section.main-preview div.right div.title {
    align-items: flex-end;
    text-align: right;
    margin: 0 0 2em auto;
}
section.main-preview div.right div.p-wrap {
    width: 85%;
}



/* main-locate */
section.main-locate {}
section.main-locate .map-zone {
    position: relative;
    margin: 80px auto 0;
}
section.main-locate .map-zone #map {
    border: 1px solid #eee;
    border-radius: 10px;
    width: 100%;
    height: 600px;
}
section.main-locate .map-zone .overlay-box {
    aspect-ratio: 1 / 1.25;
    height: 80%;
    position: absolute;
    top: 10%;
    right: 5%;
    background-color: #0E306E;
    border-radius: 10px;
    padding: 15px;
    z-index: 9;
    box-shadow: 0 25px 20px -5px rgba(0, 0, 0, .25);
}
section.main-locate .map-zone .overlay-box > .border {
    border: 1px solid #fff;
    border-radius: 6px;
    width: 100%;

    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 30px;
}
section.main-locate .map-zone .overlay-box > .border img.adrs {
    width: 80%;
}
section.main-locate .map-zone .overlay-box > .border div.links {}
section.main-locate .map-zone a.btn-img {
    display: inline-block;
    background-color: #fff;
    border-radius: 3em;
    font-weight: 500;
    color: #111;
    padding: 0.15em 1em;
    margin: 0 3px;
    border: 5px solid transparent;
    transform: translateY(0);
    transition: all ease 0.3s;
}
section.main-locate .map-zone a.btn-img:hover {
    transform: translateY(3px);
    border-color: #51BDF6;
    color: var(--primary);
    font-weight: 800;
}





/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    SUB PAGE
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/* 서브 헤더 */
section.sub-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #aaa;
    background-image: url('./img/sub-header-checkup.png');
}
section.sub-header > .inner {
    padding: 150px 0 120px;
}
section.sub-header .page-title-eng {
    display: block;
    color: #E8DC98;
    letter-spacing: 0.15em;
    text-transform: capitalize;
    font-size: 0.65em;
    text-align: center;
    font-weight: 500;
    margin-bottom: 1em;
}
section.sub-header .page-title {
    text-align: center;
    font-size: 2.7 5em;
    color: #fff;
    letter-spacing: -0.025em;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 0, 0, .45);
}

/* 서브 브레드크럼 */
section.sub-breadcrumb {
    background-color: #fff;
    border-bottom: 1px solid #d2d2d2;
}
section.sub-breadcrumb nav.breadcrumb > ul {
    width: 50%;
    display: grid;
    grid-template-columns: 70px 1fr 1fr;
    align-items: stretch;
    justify-content: flex-start;
}
section.sub-breadcrumb nav.breadcrumb > ul > li {
    font-size: 1.1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 500;
    border-right: 1px solid #d2d2d2;
}
section.sub-breadcrumb nav.breadcrumb > ul li.home {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-image: url('./img/icon-breadcrumb-home.svg');
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: center;
    border-right: 1px solid #d2d2d2;
}
section.sub-breadcrumb nav.breadcrumb ul li.has-children {
    position: relative;
    padding: 0 1.5em;
    background-image: url('./img/icon-breadcrumb-arrow.svg');
    background-repeat: no-repeat;
    background-size: 1rem;
    background-position: center right 2rem;
}
section.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu {
    display: none;
    position: absolute;
    max-width: inherit;
    width: calc(100% + 2px);
    top: 100%;
    left: -1px;
    padding: 0.6em 0;
    background-color:#fff;
    border: 1px solid #d2d2d2;
    border-top: 1px dotted #dcdcdc;
    z-index: 999;
}
section.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li {
    white-space: nowrap;
    padding: 0.5em 1.5em 0.5em 2em;
    font-size: 0.9em;
    transition: padding ease 0.3s;
}
section.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li a {
    display: block;
    color: #6F7391;
    font-weight:400;
}

section.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li.current a,
section.sub-breadcrumb nav.breadcrumb ul li.has-children ul.sub-breadcrumb-menu li:hover a { color: var(--primary); font-weight:600 }
section.sub-breadcrumb nav.breadcrumb ul li.has-children:hover > ul.sub-breadcrumb-menu { display: block; }

section.sub-breadcrumb nav.breadcrumb ul li.home + li.has-children ul.sub-breadcrumb-menu li:nth-last-child(2),
section.sub-breadcrumb nav.breadcrumb ul li.home + li.has-children ul.sub-breadcrumb-menu li:nth-last-child(1) { display:none; }


/* 서브 인트로(타이틀부분) */
section.sub-intro {}
section.sub-intro .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 1.5em;
}
section.sub-intro .inner img.symbol { height:2.5em }
section.sub-intro .inner img.page-title { height: 2.5em }
section.sub-intro .inner img.page-title-s { height: 5em }

/* 서브 하단 반복영역 */
section.sub-repeat {}

/* 서브 하단 반복영역 - 심볼 */
section.sub-repeat > .repeat-symbol {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    grid-gap: 2em;
    padding: 100px 0;
}
section.sub-repeat > .repeat-symbol img { height: 3.5em }
/* 서브 하단 반복영역 - 인포 */
section.sub-repeat > .repeat-map {
    width: 100vw;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
section.sub-repeat > .repeat-map .info-box {
    padding: 150px 0 140px;
    background-color: #143065;
    background-image: url('./img/repeat-map-bg.svg');
    background-repeat: no-repeat;
    background-position: right 50px bottom 50px ;
    background-size: 16%;
    color: #fff;
    --tertiary : #F3FF00;
}
section.sub-repeat > .repeat-map .info-box > div {
    padding-left: 5vw;
}
section.sub-repeat > .repeat-map .info-box > div.divider {
    padding: 0;
    background-color: rgba(255, 255, 255, .5);
    height: 1px;
    margin: 60px 0;
}
/* 인포 위쪽  */
section.sub-repeat > .repeat-map .info-box div.call p { color:#fff }
section.sub-repeat > .repeat-map .info-box div.call .label-radius {
    border-radius: 3em;
    font-weight: 600;
    border: 2px solid var(--tertiary);
    color: var(--tertiary);
    width: fit-content;
    padding: 0.1em 1.5em;
}
section.sub-repeat > .repeat-map .info-box div.call .number {
    font-size: 3.5em;
    line-height: 1.0;
    margin: 0.2em 0;
}
section.sub-repeat > .repeat-map .info-box div.call .adrs {
    font-size: 1.2em;
}
/* 인포 아래쪽  */
section.sub-repeat > .repeat-map .info-box div.time {
    font-size: 1.1em;}
section.sub-repeat > .repeat-map .info-box div.time .time-grid {
    display: grid;
    grid-template-columns: 7em 3fr;
    gap: 0.5em 1em;
    font-size: 1.1em;
}
section.sub-repeat > .repeat-map .info-box div.time .time-grid span {
    font-weight: 600;
    text-align: center;
    border-radius: 3em;
    padding: 0.2em 0;
    color: #143065;
}
section.sub-repeat > .repeat-map .info-box div.time .time-grid span + p {
    color: #fff;
}

section.sub-repeat > .repeat-map .info-box div.time .time-desc {
    padding: 1.5em 0.5em 0;
    color: #fff;
}

/* 서브 하단 반복영역 - 메시지 */
section.sub-repeat > .repeat-msg {
    background-image: url(./img/repeat-msg-bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 80px 5vw;
    text-align: center;
    line-height: 0;
}
section.sub-repeat > .repeat-msg img { height:2em; }

