/*
Theme Name: 예담의원
Author: Jeymedi
Author URI: https://jmedidesign.com
Description: 예담의원 웹사이트 테마
Version: 1.0.0
*/

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    LAYOUT
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.inner {
    max-width: 1920px;
    width: 1500px;
    margin: 0 auto;
    position: relative;
}
body {
    overflow-x: hidden;
}

/* ------ 헤더 */
header.header {
    width: 100vw;
    position: fixed;
    top: 0;
    z-index: 999;
    transition: all ease 0.4s;
    background-color: #fff;
    border-bottom: 1px solid rgba(50, 50, 50, .1);
    box-shadow: 0 5px 30px -10px #e2dddb;
}
header.header .inner {
/*    width: 1400px;*/
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
header.header .inner a.home {
    display: flex;
    width: 250px;
    transition: all ease 0.5s;
}
header.header .inner nav ul.menu {
    display: flex;
    flex-direction: row;
}
header.header .inner nav ul.menu li a {
    display: flex;
/*    letter-spacing: -0.05em;*/
    padding: 2em 1.2em;
    font-size: 23px;
    transition: all ease 0.5s;
}

/* header on */
header.header.on .inner nav ul.menu li a {
    font-size: 19px;
    padding: 1.5em 1.2em;
}
header.header.on .inner a.home {
    width: 200px;
}









/* ------ quickmenu  */
#quickmenu {
    position: fixed;

    right: -5px;
    top: 50%;
    z-index: 999;
    transform: translateY(-50%);

    background-color: var(--secondary);
    width: 100px;
    border-radius: 30px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

    box-shadow: 0 10px 10px -5px rgba(100, 100, 100, .3);
}
#quickmenu::before {
    content: '';
    display: block;
    width: 70%;
    aspect-ratio: 1 / 1;
    margin: 15px auto 0;
    border-bottom: 1px solid #eee;

    background-image: url('./img/quickmenu.png');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
    background-repeat: no-repeat;
}
#quickmenu a.call {
    padding: 20px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    grid-gap: 15px;
}
#quickmenu a.call img {
    width: 70%;
}
#quickmenu a.call span {
    line-height: 1.1;
    color: #fff;
    text-align: center;
    font-size: 1.3em;
    font-weight: 300;
}




/* footer */
footer.footer {
    width: 100vw;
    background-color: var(--dark);
}
footer.footer img.logo {
    width: 150px;
}
footer.footer * {
    font-size: 16px;
    color: #e0e0e0;
    font-weight: 300;
}
footer.footer .inner {
    padding: 80px 0;
}
footer.footer .inner > .floor {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

footer.footer a.top {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 1.0;
    border-radius: 50%;
    cursor: pointer;

    background-color: transparent;
    padding: 1em;
    transition: all ease 0.3s;
}
footer.footer a.top:hover { background-color: rgba(255, 255, 255, .1); }
footer.footer a.top img { width: 1em; transform: translateY(0.1em);}

footer.footer .inner > .floor.info {
    margin: 30px 0;
    align-items: flex-end
}
footer.footer .info-p-wrap {
/*    display: grid;*/
/*    grid-gap: 10px;*/
    display: flex;
    flex-direction: row;
    grid-gap: 10px 30px;
    width: 50%;
    flex-wrap: wrap;
}
footer.footer .info-p-wrap p {
    line-height: 1.3;
    grid-gap: 0.5em;
    display: flex;
    flex-direction: row;
}
footer.footer .info-p-wrap p b {
    font-weight: 500;
}
footer.footer .footer-menu ul.menu {
    display: flex;
    flex-direction: row;
    align-items: center;
}
footer.footer .footer-menu ul.menu li + li {
    border-left: 2px solid #ddd;
    line-height: 1.0;
}
footer.footer .footer-menu ul.menu li a {
    padding: 0 1em;
    line-height: 1.0;
}
footer.footer .footer-menu ul.menu li:nth-child(1) a {
    padding-left: 0;
}
footer.footer .footer-menu ul.menu li:nth-child(4) a {
    padding-right: 0;
}

footer.footer .copyright {
    border-top: 1px solid #625F5C;
}
footer.footer .copyright p {
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 1.5em 0 0;
    color: #514c45;
    font-size: 14px;
    font-weight: 500;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    MAINPAGE
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
section > .inner {
    padding: 150px 0 ;
}
section div.title-zone * { text-align:center; }
section div.title-zone h3.title.kor {
    color: var(--primary);
    font-weight: 300;
    margin-bottom: 0.8em;
}
section div.title-zone h3.title.kor strong {
    font-weight: 700;
}


section div.title-zone h3.title.eng {
    font-weight: normal;
    font-weight: lighter;
    color: #111;
    font-size: 3em;
}
section div.title-zone h3.title.eng img {
    display: inline-block;
    height: 2em;
    width: auto;
}

/* 타이틀 이펙트 */
section div.title-zone .title-effect {
/*    border: 1px dashed red;*/
    overflow: hidden;
}
section div.title-zone .title-effect h3.title {
    transition: all ease 1s;
    transform: translateY(100%);
    line-height: 1.0;
}
section div.title-zone .title-effect h3.title.kor {
    transform: translateY(2em);
}

section div.title-zone .title-effect h3.title.kor.active,
section div.title-zone .title-effect h3.title.active {
    transform: translateY(0);
}
section div.title-zone p.desc {
    transition: all ease 0.5s;
    transition-delay: 0.5s;
    transform: translateY(0.5em);
    opacity: 0;
}
section div.title-zone p.desc.active {
    transform: translateY(0.5em);
    opacity: 1;
}

/* 유닛 */
section .inner > .unit {
    margin: 60px auto 0;

    transition: all ease 0.5s;
    transition-delay: 0.7s;
    transform: translateY(0);
    opacity: 0;
}
section .inner > .unit.active {
    opacity: 1;
    transform: translateY(0);
}









/* - - - - - 01. 메인비주얼  */
section.main-visual {
    margin-top: 40px;
    width: 100vw;
/*    height: 100vh;*/
    aspect-ratio: 1920 / 875;
    overflow: hidden;
    background-color: #f3ece9;
}
section.main-visual .swiper-slide {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100%;
}
section.main-visual .swiper-slide > .inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@keyframes welcomeText {
    0% { filter:opacity(0); }
    100% {filter:opacity(1); }
}

@keyframes welcomeTitle {
    0% { transform: translateY(100px); filter:opacity(0); }
    100% { transform: translateY(0); filter:opacity(1); }
}

section.main-visual .swiper-slide.swiper-slide-active div.text p.eng,
section.main-visual .swiper-slide.swiper-slide-active div.text p.mv-desc {
    animation-name: welcomeText;
    animation-duration: 1s;
    animation-fill-mode: both;
    filter: opacity(0);
}
section.main-visual .swiper-slide.swiper-slide-active div.text p.mv-txt img {
    animation-delay: 0.5s;
    animation-name: welcomeTitle;
    animation-duration: 1.2s;
    animation-fill-mode: both;
    transform: translateY(100px);
}

section.main-visual .swiper-slide div.text p.eng {
    animation-delay: 0.3s;
    letter-spacing: 0.45em;
    font-weight: 300;
    font-size: ;
    opacity: 0.8;
}
section.main-visual .swiper-slide div.text p.mv-txt {
    margin: 2.5em 0 2.5em -0.5em;
    overflow: hidden;
}
section.main-visual .swiper-slide div.text p.mv-txt img {
    display: block;
    height: 4.5em;
}
section.main-visual .swiper-slide div.text p.mv-desc {
    animation-delay: 1.25s;
    font-size: 1.3em;
}
section.main-visual .swiper-pagination {
    width: fit-content;
    left: 50vw;
    bottom: 17vh;
    transform: translateX(-740px);
}
section.main-visual .swiper-pagination .swiper-pagination-bullet {
    border-radius: 3px;
    width: 80px;
    height: 3px;
    background-color: #fff;
}
section.main-visual .swiper-slide.mv1 { background-image:url(./img/mv1-bg.jpg) }
section.main-visual .swiper-slide.mv2 { background-image:url(./img/mv2-bg-object.jpg) }
section.main-visual .swiper-slide.mv3 { background-image:url(./img/mv3-bg.jpg) }


/* - - - - - 02. 예담의원  */
section.main-about {
    background-color: #f9f9f9;
}
section.main-about .unit {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
}
section.main-about .unit > div {
    aspect-ratio: 1 / 1;
    background-color: #ededed;
    border-radius: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* - - - - - 03. 의료진소개(Doctor)  */
section.main-doctor {}
section.main-doctor .unit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    grid-gap: 90px;
    margin: 70px auto 0;
}
section.main-doctor .unit img {
    width: 400px;
}
section.main-doctor .unit div.txt {
    width: fit-content;
}
section.main-doctor .unit div.txt div.name {
    border-bottom: 2px solid #ffcdaf;
    padding: 0.5em;
    font-size: 2em;
}
section.main-doctor .unit div.txt div.name p {
    font-weight: 700;
    line-height: 1.0;
    color: #222;
    letter-spacing: 0;
}
section.main-doctor .unit div.txt div.name p span {
    font-size: 0.5em;
    font-weight: 400;
    margin-left: 1em;
}


section.main-doctor .unit div.txt ul.dot {
    margin-top: 1em;
    padding: 1em 4em 0 1em;
}
section.main-doctor .unit div.txt ul.dot li {
    display: grid;
    grid-template-columns: 1em auto;
    align-items: center;
}
section.main-doctor .unit div.txt ul.dot li + li {
    margin-top: 0.2em;
}
section.main-doctor .unit div.txt ul.dot li::before {
    content: '\00b7';
    font-weight: 800;
}





/* - - - - - 04. 시술솔루션(Solution)  */
section.main-solution {
    background-color: #f4eeea;
    --tertiary: #DAD2CA;
    position: relative;
}
section.main-solution .inner { padding-bottom:0 }

#promise-txt {
    position: relative;
    max-width: 100%;
    margin: auto;
    padding: 0 0;

    transform: translate(0, 50%);
    top: 50px;
    left: 60vw;
}
#promise-txt .rounded-text {
    border-radius: 50%;
    position: absolute;
/*    top: 80px; left: 44%;*/
    top: 0; left: 0;
    z-index: 10;
    border: 4px solid var(--tertiary);
    width: 200px;
    height: 200px;
    box-sizing: content-box;
/*    transform: scale(0.6);*/
    transition-delay: 0.3s;
}
@keyframes promise {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#promise-txt .rounded-text svg {
    fill: var(--tertiary);
    width: 100%;
/*    font-size: 0.52rem;*/
    font-size: 6px;
    animation: promise 9s linear infinite;
}


section.main-solution div.equipment-slide {
    width: 1300px;
    margin: 0 auto 0;
    overflow: hidden;
}
section.main-solution div.equipment-slide div.swiper-wrapper {
    position: relative;
}
section.main-solution div.equipment-slide div.swiper-slide {
    aspect-ratio: 2 / 3;
    background-position: top 50px center;
    background-repeat: no-repeat;
    background-size: 110%;
    overflow: hidden;
}
section.main-solution .button-prev,
section.main-solution .button-next {
    display: block;
    width: 60px;
    aspect-ratio: 1 / 1;
    position: absolute;
    bottom: 150px;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}
section.main-solution .button-prev {
    left:0;
    background-image: url(./img/solution-prev.svg);
}
section.main-solution .button-next {
    right: 0;
    background-image: url(./img/solution-next.svg);
}




/* - - - - - 05. 중점진료(Signature)  */
section.main-signature {}
section.main-signature .unit {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 10px;
    align-items: center;
    justify-content: center;
}
section.main-signature .unit > div img { width:inherit; }

section.main-signature .unit > div p {
    text-align: center;
}
section.main-signature .unit > div p.bg-secondary {
    font-weight: 600;
    font-size: 1.5em;
    width: 50%;
    border-radius: 3em;
    padding: 0.2em;
    margin: 0.5em auto;
}
section.main-signature .unit > div p.txt-tertiary {
    color: #bf815c;
    font-size: 1.2em;
}



/* - - - - - 06. 둘러보기(Space)  */
section.main-space {
  --swiper-scrollbar-border-radius: 0;
  --swiper-scrollbar-top: auto;
  --swiper-scrollbar-bottom: 0;
  --swiper-scrollbar-left: auto;
  --swiper-scrollbar-right: 0;
  --swiper-scrollbar-sides-offset: 1%;
  --swiper-scrollbar-bg-color: #ededed;
  --swiper-scrollbar-drag-bg-color: #ff9d6b;
  --swiper-scrollbar-size: 3px;
}
section.main-space .inner {
    padding-top: 0;
}

section.main-space div.space-slide {
    position: relative;
    width: 80vw;
    max-width: 1500px;
    margin: 60px auto 0;
    overflow: hidden;
    padding-bottom: 50px;
}
section.main-space div.space-slide div.swiper-wrapper {
    position: relative;
}
section.main-space div.space-slide div.swiper-slide {
    aspect-ratio: 3 / 2;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 10px;
    background-color: #eee;
}
section.main-space .button-prev,
section.main-space .button-next {
    display: block;
    width: 60px;
    aspect-ratio: 1 / 1;
    position: absolute;
    bottom: 150px;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: pointer;
}
section.main-space .button-prev {
    left:0;
    background-image: url(./img/solution-prev.svg);
}
section.main-space .button-next {
    right: 0;
    background-image: url(./img/solution-next.svg);
}
section.main-space .swiper-scrollbar {
    width: 60%;
    left: 50%;
    right: unset;
    top: unset;
    bottom: 0;
    transform: translateX(-50%);
}
section.main-space .swiper-scrollbar .swiper-scrollbar-drag {
    cursor: pointer;
}





/* - - - - - 07. 오시는길  */
section.main-locate {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background-color: #F9F9F9;
    align-items: center;
}
section.main-locate #map {
    aspect-ratio: 1 / 1.1;
    border-right: 1px solid #eee;
    background-color: #f1f1f1;
}
section.main-locate > .wrap {
    background-image: url(./img/symbol-op11.svg);
    background-repeat: no-repeat;
    background-position: right 8vw bottom 50px;
    background-size: 23%;
}
section.main-locate > .wrap div.locate-info {
    width: 80%;
    margin: 0 auto;
}
section.main-locate img.logo { width:200px }
section.main-locate img.logo + p {
    font-weight: 500;
    margin-top: 30px;
    line-height: 1.6;
}
section.main-locate div.info-grid {
    margin: 40px 0 50px;
    display: grid;
    grid-template-columns: 6em auto;
    grid-gap: 0.5em 0;
}
section.main-locate div.info-grid div.th {
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 0.8em;
    color: #222;
    transform: translateY(0.2em);
}
section.main-locate div.info-grid div.td {
    font-size: 0.9em;
}
section.main-locate div.info-grid table th {
    padding-right:1em;
    font-weight: 700;
}

div.info-link a.btn {
    border-radius: 3em;
    padding: 0.8em 2em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;

    display: inline-flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 5px;

    margin-right: 0.25em;
}
div.info-link a.btn i {
    display: inline-block;
    width: 1.5em;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-size: auto 80%;
    background-position: center;
}
div.info-link a.btn.map {
    background-color: #c3b9ad;
}
div.info-link a.btn.map span {
    font-size:0.9em;
    letter-spacing: 0.01em;
}
div.info-link a.btn.map i {
    background-image: url(./img/icon-map.svg);
}
div.info-link a.btn.tel {
    background-color: var(--secondary);
}
div.info-link a.btn.tel i {
    background-image: url(./img/icon-call.svg);
}






/*  */
section.sub-intro {
    margin-top: 200px;
}
section.sub-intro h4.page-title {
    color: #222;
    font-weight: 300;
    letter-spacing: -0.05em;
}
