/*=================== 공통 스타일 정의 ====================*/
.section-title {
  font-family: 'UDPMincho regular';
  font-size: 5.4rem;
  line-height: 1.5;

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    font-size: 34px !important;
  }
}

section .inner {
  width: 143rem;
  max-width: 1430px;
  margin: 0 auto;

  @media screen and (max-width: 690px) {
    width: auto;
    margin: 0 30px;
  }

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    width: 90%;
  }
}

/* VIEW MORE 버튼 */
section .moreBtn {
  width: 14.9rem;
  height: 3.4rem;
  background-color: transparent;
  border: 1px solid var(--color-black);
  font-family: "UDPMincho regular";
  font-size: 1.6rem;
  transition: all 0.4s;
}

@media screen and (min-width: 1440px) {
  section .moreBtn:hover {
    background-color: var(--color-black);
    color: #fff;
  }
}

/* br 태그 */
.mo-only {
  display: none;
}

@media screen and (max-width: 690px) {
  section .section-title {
    font-size: 3.5rem;
  }

  .mo-only {
    display: block;
  }

  section .moreBtn { 
    font-size: 14px;
    height: 5rem;
    width: 17rem;
  }
}

/*=================== 메인배너 섹션 ====================*/
main {
  max-width: 1920px; 
  margin: 100px auto 0 auto; 
  position: relative;
}
  
section.mainbanner {
  width: 100%;
  height: fit-content;
}
  
section.mainbanner .swiper-slide {
  width: 100%;
}
  
section.mainbanner .swiper-slide img{
  width: 100%;
}
  
main img.main {
  display: block;
  max-width: 1920px;
}
  
section.mainbanner .swiper-pagination-bullet {
  --swiper-pagination-bullet-size: 1.1rem;
  --swiper-pagination-bullet-horizontal-gap: .5rem;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: .5;
}
  
section.mainbanner .swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  --swiper-pagination-bottom: 1.4rem;
}
  
section.mainbanner .swiper-pagination-bullet-active {
  --swiper-pagination-color: #b79f7d;
}
  
@media screen and (max-width: 767px) {
  main {
    margin: 70px auto 0 auto; 
  }
  
  section.mainbanner .swiper-pagination-bullet {
    --swiper-pagination-bullet-size: 1.5rem;
    --swiper-pagination-bullet-horizontal-gap: .6rem;
  }
}
  
@media screen  and (max-width: 1024px) {
  main {
    width: 100%;
  }
  
  main img.main {
    width: 100%;
    object-fit: cover;
  }
}
/*=================== END 메인배너 섹션 ====================*/

/*===================== 진료 종류 섹션 =====================*/
section.clinic {
  height: 161.8rem;
  margin: 0 auto;
  max-width: 1920px;
  position: relative;
  overflow: hidden;
}

section.clinic::after {
  content: 'Best Beauty\A CLINIC';
  text-align: right;
  font-size: 10em;
  font-family: 'UDPMincho regular';
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.1;
  white-space: pre;
  position: absolute;
  top: 243.84px;
  right: 17.28px;
}

section.clinic .section-title {
  white-space: pre-line;
  word-break: break-all;
  margin-top: 142px;
  margin-left: 138px;
  margin-bottom: 138px;
  z-index: 1;
}

section.clinic .cont {
  height: fit-content;
}

section.clinic .cont.obgy {
  margin-left: 26.25rem;
  margin-top: 23rem;

  /* @media screen and (max-width: 690px) {
    margin-top: 60px;
  }

  @media screen and (min-width: 691px) and (max-width: 767px) {
    margin-top: 43.997px;
  } */
}

section.clinic .cont::after {
  content: '';
  width: 1675px;
  height: 550px;
  background-color: var(--color-beige100);
  position: absolute;
}

section.clinic .cont.derma::after {
  top: -71px;
  left: 245px;
}

section.clinic .cont.obgy::after {
  top: -80px;
  left: -226.56px;
}

section.clinic .clinic-list {
  z-index: 1;
  align-items: center;
}

section.clinic .cont .clinic-list {
  gap:3rem;
}

section.clinic .cont .clinic-list .title-img {
  margin-right: 13rem;

  @media screen and (min-width: 768px) and (max-width: 1024px) {
    margin-right: 0;
  }

  /* @media screen and (min-width: 1025px) and (max-width: 1919px) {
    margin-right: 5em;
  } */
}

@media screen and (min-width: 1025px) and (max-width: 1919px) {
  section.clinic .cont .clinic-list .title-img {
    height: 100%;
  }
}

section.clinic .clinic-item {
  width: 27rem;
  height: 40rem;
  max-width: 270px;
  max-height: 400px;
  flex-shrink: 0;
}

section.clinic .clinic-item::after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(67, 56, 43, 0.85);
  z-index: 0;
}

section.clinic .clinic-item .departments {
  position: absolute;
  top: 0;
  left: 0;
}

section.clinic .cont .clinic-item .departments {
  margin-top: 24px;
  gap: 1.4rem;
}

section.clinic .clinic-item .departments h1,
section.clinic .clinic-item .departments li {
  z-index: 1;
}

section.clinic .clinic-item .departments h1 {
  font-family: 'UDPMincho regular';
  font-size: 3.4rem;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 15px;
}

section.clinic .cont.derma .clinic-item .departments h1 {
  margin-bottom: 12px;
}

section.clinic .clinic-item .departments li {
  font-size: 1.6rem;
  letter-spacing: -1px;
  font-family: "UDPMincho regular";
  line-height: 1.3;
  color: #fff !important;
}

section.clinic .cont .clinic-item .departments li:hover{
  font-weight: bold;
}

section.clinic .clinic-item .departments li a {
  color: #fff !important;
}

@media screen and (min-width: 691px) and (max-width:1024px) {
  section.clinic .clinic-item {
    width: calc(100% / 3 - 1.4rem);
    margin-right: 2rem;
  }
}

@media screen and (min-width: 768px) and (max-width:1024px) {
  section.clinic .cont.obgy {
    margin-top: 8vw;
  }

  section.clinic .cont .clinic-list {
    width: calc(100% - 40px);
    margin: 48vw 20px 0 20px;
    gap: 0;
  }

  section.clinic .cont .clinic-list .title-img {
    position: absolute;
    top: 10px;
    width: calc(100% - 40px);
    height: 45vw;
  }

  section.clinic .cont.derma .clinic-list .title-img img {
    object-position: 0 100%;
  }

  section.clinic .cont.obgy .clinic-list .title-img img {
    object-position: 0 -90px;
  }

  section.clinic .clinic-item {
    height: 43em;
    max-width: unset;
    max-height: unset;
  }

  section.clinic .cont .clinic-item .departments h1 {
    margin-bottom: 0.5em;
  }

  section.clinic .cont .clinic-item img {
    width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  section.clinic {
    height: fit-content;
  }

  section.clinic .section-title {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    margin-left: 0;
    width: 100%;
  }

  section.clinic .cont {
    width: 100%;
  }

  section.clinic::after,
  section.clinic .cont::after {
    display: none;
  }

  section.clinic .cont.obgy {
    margin-left: 0;
  }

  section.clinic .clinic-list {
    display: flex;
    margin: 20px 20px 0 20px;
    overflow: visible;
  }
  
  section.clinic .clinic-item {
    height: 45rem;
    max-height: 450px;
  }

    section.clinic .cont .clinic-item .departments {
      gap: 1.6rem;
    }

  section.clinic .swiper-wrapper {
    justify-content: flex-start;
  }

  section.clinic .slick-list {
    overflow: visible;
  }

  section.clinic .clinic-item {
    flex-shrink: 0;
  }

  section.clinic .cont .title-img {
    width: 100%;
    height: 61.333vw;
  }

  section.clinic .cont .title-img img {
    width: 100%;
  }
  
  section.clinic .clinic-item .departments li {
    font-size: 2rem;
  }
}

@media screen and (min-width: 1025px) {
  section.clinic {
    max-height: 1619px;
  }

  section.clinic .cont {
    width: 87.24vw;
    max-width: 1675px;
    height: 33.333em;
    /* height: fit-content; */
    min-height: 400px;
  }

  section.clinic .cont.derma .title-img,
  section.clinic .cont.derma .clinic-item {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform: translateX(-50px);
  }

  section.clinic .cont.obgy .title-img,
  section.clinic .cont.obgy .clinic-item {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform: translateX(50px);
  }

  section.clinic .title-img.active,
  section.clinic .clinic-item.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
  }

  section.clinic .cont.obgy .clinic-item {
    transition-delay: 0.4s;
  }

  section.clinic .cont.obgy .title-img {
    transition-delay: 0.5s;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1620px) {
  section.clinic {
    height: fit-content;
    display: flex;
    flex-direction: column;
  }

  section.clinic .cont.obgy {
    margin-left: auto;
  }

  section.clinic .cont.obgy .clinic-list {
    justify-content: flex-end;
  }
}


@media screen and (min-width: 1025px) and (max-width: 1669px) {
  section.clinic {
    /* height: 126em; */
  }

  section.clinic .cont::after {
    /* height: 38em; */
  }

  section.clinic .cont.derma::after {
    /* top: -5em; */
  }

  section.clinic .cont.obgy::after {
    /* top: -4em; */
  }

}

/*=================== END 진료 종류 섹션 ===================*/

/*=================== 얼굴 부위 섹션 ===================*/
section.pof {
  margin-top: max(90px, 10.729vw);
  padding-bottom: max(90px, 9.115vw);

  @media screen and (max-width: 690px) {
    margin-top: 25.729vw;
    padding-bottom: 29.115vw;
  }
}

section.pof .inner {
  width: 57.292vw;
  max-width: 1100px;

  @media screen and (max-width: 690px) {
    width: auto;
  }

  @media screen and (min-width: 691px) and (max-width: 1336px) {
    width: 90%;
  }
}

section.pof .section-title {
  margin-bottom: max(25px, 3.906vw);

  @media screen and (max-width: 690px) {
    text-align: center;
  }

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    font-size: 4vw;
  }
}

section.pof .swiper-container,
section.pof .swiper {
  width: 100%;
}

section.pof .swiper-pagination {
  --swiper-pagination-bullet-width: auto;
  --swiper-pagination-bullet-height: 6.4rem;
  --swiper-pagination-bullet-horizontal-gap: 0;
  --swiper-pagination-bullet-inactive-opacity: 1;
  --swiper-pagination-bullet-inactive-color: #FCF9F5;
  --swiper-pagination-color: #FCF9F5;
  position: static;
  height: fit-content;
  max-height: 64px;
  margin-bottom: 4.2rem;
  gap: 2.6rem;
  justify-content: space-between;
  display: grid;
  grid-template-columns: repeat(4, minmax(0px, 1fr));
}

section.pof .swiper-pagination-bullet-active {
  background: #363535;
  color: #fff;
}

section.pof .swiper-pagination li {
  display: flex !important;
  font-family: 'UDPMincho regular';
  font-size: 2.4rem;
  border-radius: 50px;
  box-shadow: rgba(0 0 0 / 10%) 0px 3px 6px;
  transition: all 0.4s;
  line-height: 1;
}

section.pof .swiper-wrap {
  width: 100%;
}

section.pof .swiper-slide img.bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
}

section.pof .swiper-slide .slide-inner-wrap {
  width: 62.344vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);

}

section.pof .swiper-slide .face-img-container {
  display: none;
}

section.pof .swiper-slide .face-img-container img {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

section.pof .swiper-slide .face-img-container img.on {
  opacity: 1;
  visibility: visible;
}

section.pof .face-department-list {
  width: 100%;
  margin-top: 4.4rem;
  flex-wrap: wrap;
}

@media screen and (min-width: 1920px) {
  section.pof .face-department-list {
    gap:3rem 5.4rem;
  }
}

section.pof .face-department-list li {
  width: 33rem;
  height: 4.6rem;
  max-width: 330px;
  max-height: 46px;
  border-radius: 50px;
  font-size: 2rem;
  background-color: #fff;
  box-shadow: rgba(0 0 0 / 10%) 0px 3px 6px;
  transition: background-color 0.4s;
  position: relative;
}

section.pof .face-department-list li:nth-of-type(3n) {
  margin-right: 0;
}

section.pof .face-department-list li:hover {
  background-color: var(--color-beige100);
}

section.pof .face-department-list li span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: -15px;
  transform: translate3d(0, -50%, 0);
  background-color: var(--color-black);
}

@media screen and (max-width: 690px) {
  section.pof .swiper-pagination {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    max-height: fit-content;
  }

  section.pof .swiper-pagination li {
    font-size: 2rem;
  }
}

@media screen and (max-width: 767px) {
  section.pof .face-department-list {
    gap: 10px;
    margin-top: 10px;
  }

  section.pof .face-department-list li {
    width: calc(50% - 5px);
    height: 33px;
    margin: 0;
  }

  section.pof .face-department-list li img {
    width: 3.5rem;
  }
}

@media screen and (max-width: 1023px) {
  section.pof .swiper-slide .face-img-container {
    width: 27%;
    height: 100%;
    left: 46%;
    top: -7%;
    transform: translateX(-50%);
  }

  section.pof .face-department-list li img {
    width: 5rem;
  }
}

@media screen and (min-width: 691px) and (max-width: 1024px) {
  section.pof .swiper-slide img.bg {
    height: 48vw;
  }

  section.pof .swiper-slide .slide-inner-wrap {
    width: 90%;
  }
}


@media screen and (min-width: 768px) and (max-width: 1919px) {
  section.pof .face-department-list {
    gap: 1.5rem;
  }

  section.pof .face-department-list li {
    width: calc(100% / 3 - 1.5rem);
  }
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
  section.pof .face-department-list li {
    height: 44px;
  }
}

@media screen and (max-width:1439px) {
  section.pof .pof-swiper {
    height: fit-content !important;
  }

  section.pof .swiper-slide .face-nav-container,
  section.pof .swiper-slide .face-img-container {
    display: none;
  }
}

@media (min-width: 1440px) {
  section.pof .face-nav-container {
    width: 37rem;
    position: absolute;
    top: 4.8rem;
    right: 3rem;
    z-index: 2;
  }

  section.pof .swiper-slide .face-img-container {
    display: block;
    width: 16.198vw;
    height: 19.74vw;
    max-width: 311px;
    max-height: 379px;
    position: absolute;
    top: 50%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
  }
}

@media screen and (min-width: 691px) and (max-width: 1023px) {
  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='1'] {
    width: 65%;
    left: 10%;
    top: -3%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='2'] {
    width: 25%;
    top: 33%;
    left: 12%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='3'] {
    width: 25%;
    top: 45%;
    left: 15%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='4'] {
    width: 30%;
    top: 55%;
    left: 12%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='5'] {
    width: 22%;
    top: 42%;
    left: 46%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='6'] {
    width: 42%;
    left: 42%;
    top: 65%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='7'] {
    top: 77%;
    width: 35%;
    left: 51%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='8'] {
    top: 77%;
    width: 35%;
    left: 51%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='9'] {
    top: 77%;
    width: 35%;
    left: 51%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='10'] {
    top: 77%;
    width: 35%;
    left: 51%;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container {
    top: -1.6vw;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='1'] {
    width: 10vw;
    top: 4%;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='2'] {
    width: 5vw;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='3'] {
    width: 4.4vw;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='4'] {
    width: 4vw;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='5'] {
    width: 3.6vw;
    top: 56%;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='6'] {
    width: 6.5vw;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='7'] {
    width: 5.5vw;
  }
}

@media screen and (min-width: 1024px) {
  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img {
    max-width: 66px;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='1'] {
    width: 3.4vw;
    top: 36%;
    left: 8%;
    transform: translateY(-50%);
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='2'] {
    width: 1vw;
    max-width: 19px;
    top: 39%;
    transform: translateY(-50%);
    left: 22%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='3'] {
    width: 1vw;
    max-width: 19px;
    top: 38%;
    transform: translateY(-50%);
    left: 8.5%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='4'] {
    width: 3vw;
    left: 9%;
    top: 37%;
    transform: translateY(-50%);
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='5'] {
    width: 3.4vw;
    top: 41%;
    transform: translateY(-50%);
    left: 7%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='6'] {
    width: 3.4vw;
    top: 34%;
    transform: translateX(-50%);
    left: 18%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='7'] {
    width: 3.4vw;
    top: 34%;
    transform: translateX(-50%);
    left: 18%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='8'] {
    width: 3.4vw;
    top: 37%;
    transform: translateX(-50%);
    left: 18%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='9'] {
    width: 3.4vw;
    top: 36%;
    transform: translateY(-50%);
    left: 8%;
  }

  section.pof .swiper-slide[data-pof-slide='eyes'] .face-img-container img[data-faceImg-idx='10'] {
    width: 3.4vw;
    top: 37%;
    transform: translateX(-50%);
    left: 18%;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container {
    height: 22.5vw;
    max-height: 432px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='1'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='2'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='3'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='4'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='5'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='6'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='7'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='nose'] .face-img-container img[data-faceImg-idx='8'] {
    top: 49%;
    left: 36%;
    transform: translate3d(-50%, -50%, 0);
    width: 2.5vw;
    max-width: 48px;
  }

  section.pof .swiper-slide[data-pof-slide='breast'] .face-img-container {
    height: 22.5vw;
    width: 18.3vw;
    max-height: 432px;
    max-width: 352px;
  }

  section.pof .swiper-slide[data-pof-slide='breast'] .face-img-container img[data-faceImg-idx='1'] {
    top: 36%;
    transform: translateY(-50%);
    left: 10%;
    width: 8vw;
    max-width: 154px;
  }

  section.pof .swiper-slide[data-pof-slide='breast'] .face-img-container img[data-faceImg-idx='2'] {
    top: 36%;
    transform: translateY(-50%);
    left: 10%;
    width: 8vw;
    max-width: 154px;
  }

  section.pof .swiper-slide[data-pof-slide='breast'] .face-img-container img[data-faceImg-idx='3'] {
    top: 36%;
    transform: translateY(-50%);
    left: 10%;
    width: 8vw;
    max-width: 154px;
  }

  section.pof .swiper-slide[data-pof-slide='breast'] .face-img-container img[data-faceImg-idx='4'] {
    top: 36%;
    transform: translateY(-50%);
    left: 10%;
    width: 8vw;
    max-width: 154px;
  }

  section.pof .swiper-slide[data-pof-slide='lipo'] .face-img-container {
    width: 17vw;
    height: 26vw;
    max-width: 327px;
    max-height: 500px;
    top: 55%;
    left: 35%;
    transform: translate3d(-50%, -50%, 0);
  }

  section.pof .swiper-slide[data-pof-slide='lipo'] .face-img-container img[data-faceImg-idx='1'] {
    width: 13vw;
    max-width: 250px;
    bottom: 1%;
    left: 7%;
  }

  section.pof .swiper-slide[data-pof-slide='lipo'] .face-img-container img[data-faceImg-idx='2'] {
    width: 13vw;
    max-width: 250px;
    bottom: 1%;
    left: 7%;
  }

  section.pof .swiper-slide[data-pof-slide='lipo'] .face-img-container img[data-faceImg-idx='3'] {
    width: 13vw;
    max-width: 250px;
    bottom: 1%;
    left: 7%;
  }

  section.pof .swiper-slide[data-pof-slide='lipo'] .face-img-container img[data-faceImg-idx='4'] {
    width: 13vw;
    max-width: 250px;
    bottom: 1%;
    left: 7%;
  }

}

@media screen and (max-width: 1439px) {
  section.pof .face-department-list li span::before {
    width: 5px;
    height: 5px;
    left: -9px;
  }
}

/*================= END 얼굴 부위 섹션 =================*/

/*================== 얼굴 부위/피부고민 공통 ===================*/
section.pof .pof-swiper,
section.tos .inner-wrap {
  height: 31.25vw;
  max-height: 600px;

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    height: 45vw;
  }
}

section.pof .swiper-slide .bg,
section.tos .inner-wrap img {
  overflow: hidden;
  border-radius: max(15px, 1.563vw);
}

section.pof .face-navigator {
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
  height: 34.5rem;
}

section.pof .face-navigator li {
  width: calc(50% - 1.5rem);
  height: 4.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  background-color: #fff;
  transition: background-color 0.4s;
  border-radius: 50px;
}

section.pof .swiper-slide[data-pof-slide="breast"] .face-navigator li,
section.pof .swiper-slide[data-pof-slide="lipo"] .face-navigator li {
  width: 50%;
}

section.pof .face-navigator li.on,
section.tos .navigator li:hover {
  background-color: var(--color-bg);
}

@media screen and (max-width: 690px) {

  section.pof .swiper-slide img.bg,
  section.tos .inner-wrap img {
    height: 72vw !important;
    border-radius: 16px;
  }

  section.pof .swiper-slide img.bg {
    object-position: 2% 0;
  }

  section.pof .swiper-slide,
  section.tos .inner-wrap {
    border-radius: 0;
  }

  section.pof .pof-swiper,
  section.pof .swiper-slide,
  section.tos .inner-wrap {
    overflow: visible;
  }

  section.pof .swiper-slide,
  section.pof .face-navigator,
  section.tos .nav-container,
  section.tos .navigator,
  section.tos .inner-wrap {
    gap: 3vw;
  }

  section.pof .face-navigator li,
  section.tos .navigator li {
    text-align: center;
    height: auto;
    min-height: 36px;
  }
}

@media screen and (max-width: 1400px) {
  section.tos .nav-container {
    position: static;
    transform: none;
    width: 100%;
    height: fit-content;
  }

  section.pof .face-navigator,
  section.tos .navigator {
    width: calc(50% - 1.042vw);
  }

  section.pof .face-nav-container,
  section.tos .nav-container {
    margin-top: 1.5vw;
  }
}

/*================= END 얼굴 부위/피부고민 공통 ==================*/

/*=================== 피부 고민 섹션 ===================*/
section.tos {
  padding-bottom: max(90px, 10.052vw);
}

section.tos .section-title {
  margin-bottom: max(25px, 3.281vw);
}

section.tos .inner-wrap {
  width: 100%;

  @media screen and (max-width: 1440px) {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    height: fit-content;
  }
}

section.tos .inner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    height: 48vw;
  }
}

@media screen and (min-width: 1441px) {
  section.tos .nav-container {
    width: 100%;
    height: 100%;
    max-width: 1197px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }
}

/*================= END 피부 고민 섹션 =================*/

/*=================== 시술 사례 섹션 ===================*/
section.case {
  padding: 21rem 0;
  overflow: hidden;

  @media screen and (max-width: 690px) {

    padding-bottom: 0;

    .inner {
      width: 100%;
    }
  }
}

section.case .section-title {
  margin-bottom: 10rem;

  @media screen and (max-width: 690px) {
    margin-bottom: 6rem;
  }
}

section.case .case-list {
  width: 100%;
  display: flex;
  margin-bottom: 5rem;

  @media screen and (max-width:690px) {
    gap: 0;
    overflow: visible;
    padding: 0 8.802vw;
  }

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    gap: 2.8vw;
  }

  @media screen and (min-width: 691px) {
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
  }

  @media screen and (max-width: 1219px) {
    padding: 0;
  }

  @media screen and (min-width: 1900px) {
    padding: 0 169px;
  }
}

section.case .case-list .swiper-wrapper {

  @media screen and (min-width: 691px) {
    gap: 1.094vw;
    justify-content: center;
  }
}

section.case .case-item {
  width: calc(100% / 3 - 1.094vw);
  height: fit-content;
  max-height: 470px;
  max-width: 343px;
  border-radius: 0.781vw;
  background-color: #fff;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .16);

  /* 핸드폰 */
  @media screen and (max-width: 690px) {
    width: 260px;
    min-width: auto;
    min-height: 360.14px;
    border-radius: 14px;
  }

  @media screen and (min-width: 691px) and (max-width: 900px) {
    width: calc(100% / 3);
  }

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    border-radius: 15px;
  }

  /* 태블릿 (PC반응형) */
  @media screen and (max-width: 1219px) {
    height: auto;
    min-height: fit-content;
  }

  @media screen and (min-width: 1900px) {
    min-height: 33.333em;
  }
}

section.case .case-item a {
  padding: 27px 20px;

  @media screen and (max-width: 690px) {
    padding: 20px;
  }

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    padding: 20px 15px;
  }
}

section.case .case-item .case-photo {
  display: block;
  width: 100%;
  height: 16.146vw;
  max-height: 310px;
  margin-bottom: 10px;
  position: relative;

  @media screen and (min-width: 691px) and (max-width:767px) {
    margin-bottom: 18px;
  }

  @media screen and (max-width:1440px) {
    height: 90%;
  }
}

section.case .case-item .case-photo .case-thumbnail-url {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

section.case .case-photo::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 0;
  left: 0;
}

section.case .case-photo .case-thumbnail-bg-logo {
  position: absolute;
  top: 0;
  left: 50%;
  width: 90%;
  object-fit: contain;
  height: 100%;
  z-index: 2;
  transform: translate3d(-50%, 0, 0);
}

section.case .case-item .case-profile {
  font-family: 'UDPMincho regular';
  font-size: 2.6rem;
  letter-spacing: -1px;
  text-align: center;
}

/*================= END 시술 사례 섹션 =================*/


/*=================== 의료진 섹션 ===================*/
section.doctors .section-title {
  margin-bottom: 9.2rem;
}

section.doctors .info-txt-container {
  display: none;
}

section.doctors .doctor-list {
  height: 100%;
  height: 136rem;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

section.doctors .swiper-button-next,
section.doctors .swiper-button-prev {
  display: none;
}

section.doctors .doctor {
  position: absolute;
  transform: translateX(-50%);

  &>a {
    margin-bottom: 6.3rem;
  }
  
  &._hl {
    left: 35%;
    z-index: 2;
  }

  &._ym {
    left: 65%;
  }
}

section.doctors .doctor .doc-img {
  height: max(320px, 40vw);
  max-height: 700px;
}

section.doctors .section-title p,
section.doctors .doctor-info p,
section.doctors .doctor-info h1 {
  font-family: 'UDPMincho regular';
  letter-spacing: -1px
}

section.doctors .doctor-info p,
section.doctors .doctor-info h1 {
  line-height: 1.8;
}

section.doctors .doctor-info p {
  font-size: 1.8rem;

  @media screen and (max-width: 767px) {
    font-size: 18px;
  }
}

section.doctors .doctor-info h1 {
  font-size: 4.6rem;
}

section.doctors .doctor-info .sns-container {
  gap: 14.3px;
  margin-top: 2.7rem;
  margin-bottom: 4.3rem;
}

section.doctors .doctor-info .sns-container a {
  margin: 0;
}

section.doctors .doctor-info a {
  margin-top: 1.234vw;
  margin-bottom: 2.281vw;
}

section.doctors .doctor .sns-icon {
  width: 2.8rem;
  height: 2.8rem;
}

section.doctors .doctor-info .history {
  font-family: 'UDPMincho regular';
  line-height: 2.3;
  font-size: 1.8rem;
}

section.doctors .doctor-info .history li {
  color: #7A7A7A;
}

section.doctors .doctor .story {
  border-radius: 50px;
  padding: 45px 35px 25px 35px;
  text-align: left;
  position: absolute;
  top: 0;
  color: #fff;
  z-index: 3;
  transition: all ease 0.6s;
  width: 80%;
  height: fit-content;
  background-color: #ffffffed;

  opacity: 0;
  visibility: hidden;
  transform: translateY(15%);
}

@media screen and (min-width: 1440px) {
  section.doctors .info-txt-container {
    display: flex;
    margin-bottom: 4em;
  }

  section.doctors .info-txt {
    font-size: 1.5em;
  }

  /* section.doctors .doc-img img {
    filter: grayscale(1);
    transition: all 0.4s;
  } */

  /* section.doctors .doctor.active img {
    filter: grayscale(0);
  } */
}

section.doctors .doctor.active .story {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

section.doctors .doctor .story:after {
  content: "";
  position: absolute;
  border-top: 0px solid #ffffffed;
}

section.doctors .doctor._hl .story {
  left: 0;
  top: 60%;
  width: 100%;
}

section.doctors .doctor._hl .story:after {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 30px solid #ffffffed;
  border-top: 0px solid #ffffffed;
  right: 50%;
  top: -30px;
  bottom: unset;
  transform: translateX(50%);
}

section.doctors .doctor .story h1 {
  white-space: pre-line;
  word-break: break-all;
  font-family: 'UDPMincho bold';
  font-size: 1.333em;
  line-height: 1.8;
  margin-bottom: 20px;

  @media screen and (max-width: 767px) {
    font-size: 12px;
  }
}

section.doctors .doctor .story p,
section.doctors .doctor .story a {
  font-family: 'UDPMincho regular';
  font-size: 1em;
  line-height: 2;
}

section.doctors .doctor .story a {
  float: right;
  color: #b3ab9e;
  font-family: 'UDPMincho bold';
  text-decoration: underline;
  margin-top: 23px;
}

@media screen and (max-width: 690px) {
  section.doctors .swiper,
  section.doctors .swiper-wrapper {
    overflow: visible;
  }
  
  section.doctors .swiper-button-next,
  section.doctors .swiper-button-prev{
    display: block;
    --swiper-navigation-top-offset: 20%;
    --swiper-navigation-size: 3rem;
    --swiper-navigation-color: #888888;
    z-index: 3;
  }
  
  section.doctors .doctor {
    transform: unset;
    z-index: unset;
    height: fit-content;
  }
  
  section.doctors .doctor._hl {
    left: 0;
  }
  
  section.doctors .doctor._ym {
    left: 100%;
  }
  
  section.doctors .doctor {
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  section.doctors .doctor .sns-icon {
    width: 25px;
    height: 25px;
  }

  section.doctors .doctor .history {
    text-align: center;
    font-size: 2.2rem;
  }

  section.doctors .doctor._hl .doc-img img {
    z-index: 2;
  }

  section.doctors .doctor .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  section.doctors .doctor-info .sns-container {
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 691px) {
  section.doctors .doctor {
    width: fit-content;
    height: fit-content;
  }
}

@media screen and (min-width: 691px) and (max-width: 1023px) {
  section.doctors .doctor-list {
    width: 80%;
  }
  
  section.doctors .doctor-list .swiper-wrapper{
    justify-content: space-between;
  }

    section.doctors .doctor {
      position: static;
      transform: unset;
    }
}

@media screen and (min-width: 691px) and (max-width: 1024px) {
  section.doctors .doctor._hl {
    left: 31%;
  }

  section.doctors .doctor._ym {
    left: 68%;
    width: 37rem;
  }
  
}

@media screen and (min-width: 691px) and (max-width: 1336px) {
  section.doctors .inner {
    width: 90%;
  }
}

/*================= END 의료진 섹션 =================*/

/*=================== 뉴스탭 섹션 ===================*/
section.news {
  width: 100%;
  /* height: 40.8333em; */
  max-height: 740px;
  margin-bottom: 110px;
}

section.news .title-container {
  text-align: center;
  margin-bottom: max(30px, 4.854vw);
}

section.news .section-title p {
  font-family: 'UDPMincho regular';
  letter-spacing: -1px
}

section.news .moreBtn {
  margin-top: max(30px, 2.604vw);
  margin-left: auto;
  margin-right: auto;
}

section.news .news-item {
  font-size: 2.4rem;
  border-bottom: 1px dashed var(--color-black);
  padding: 40px 0;
}

section.news .news-item a {
  width: 100%;
  padding: 0 20px;
}

@media screen and (max-width: 768px) {
  section.news {
    margin-top: 120px;
  }
}

@media screen and (max-width: 1024px) {
  section.news {
    margin-bottom: 100px;
    height: fit-content;
  }

  section.news .news-item a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
  }

  section.news .news-item a svg {
    width: 14px;
  }
}
/*=================== END 뉴스탭 섹션 ===================*/


/*=================== 유튜브 섹션 ===================*/
section.youtube,
section.event {
  background-color: var(--color-beige100);
}

section.youtube {
  padding-top: 16.6rem;
  padding-bottom: 19.2rem;
  overflow: hidden;
  height: fit-content;
}

section.youtube .title-container {
  margin-bottom: 7.8rem;

  .titleYtIcon {
    width: max(3.802vw, 34px);
    max-width: 73px;
    margin-right: 0.3vw;
  }
}

.goYoutubeBtn {
  font-size: 2.2rem;
  letter-spacing: -1px;
  width: 28rem;
  height: 4.5rem;
  border-radius: 50px;
  background-color: rgba(255 255 255 / 50%);
  float: right;

  @media screen and (max-width: 690px) {
    width: 21rem;
    height: 5rem;
  }

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    height: 6rem;
  }
}

.goYoutubeBtn img {
  height: 2.6rem;
  margin-right: 1rem;
}

section.youtube .swiper {
  overflow: visible;
}

section.youtube .youtube-slide {
  width:48rem;
  height: 26.6rem;
  max-width:480px;
  max-height: 266px;
  position: relative;
  cursor: pointer;
}

section.youtube .youtube-slide::before {
  content: url('../images/main/icon-playbtn.png');
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  z-index: 2;
}

section.youtube .youtube-slide::after {
  content: '';
  background-color: rgba(67, 56, 43, 0.4);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

section.youtube .youtube-slide img {
  width: 100%;
}

@media screen and (max-width: 690px) {
  .goYoutubeBtn img {
    height: 14px;
    margin-right: 4px;
  }
}

#ytPopup {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}

#ytPopup.open {
  display: block;
}

#ytPopup::after {
  content: '';
  background-color: rgba(0 0 0 / 80%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#ytPopup .container {
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  width: 50vw;
  height: 28vw;
  max-width: 960px;
  max-height: 538px;
  z-index: 2;

  @media screen and (max-width: 1024px) {
    width: 80%;
    height: 50vw;
    margin-left: 0;
  }
}

#ytPopup #closeYtPopupBtn {
  position: absolute;
  top: -1vw;
  right: -2.5vw;
  width: 22px;
  height: 22px;
  cursor: pointer;
  padding: 0;
  margin: 0;

  @media screen and (max-width: 690px) {
    top: -10vw;
  }

  @media screen and (min-width: 691px) and (max-width: 1024px) {
    top: -6vw;
  }
}

#ytPopup #closeYtPopupBtn:before,
#ytPopup #closeYtPopupBtn:after {
  position: absolute;
  left: 0.5vw;
  content: ' ';
  height: 31px;
  width: 2px;
  background-color: #fff;
}

#ytPopup #closeYtPopupBtn:before {
  transform: rotate(45deg);
}

#ytPopup #closeYtPopupBtn:after {
  transform: rotate(-45deg);
}

#ytPopup iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
}

#ytPopup iframe.open {
  display: block;
}

/*================= END 유튜브 섹션 =================*/

/*=================== 이벤트 섹션 ===================*/
section.event {
  padding-bottom: 21rem;
  overflow: hidden;
}

section.event .title-container {
  margin-bottom: 4.1rem;
}

section.event .moreBtn {
  float: right;
}

section.event .event-swiper a {
  width: 308px;
  height: 410px;

  @media screen and (max-width: 690px) {
    width: auto;
    height: auto;
  }

}

section.event .slick-list {
  overflow: visible;
}

section.event .slick-dots {
  bottom: -2.6vw;
  text-align: left;

  @media screen and (max-width: 690px) {
    bottom: -32px;
    text-align: center;
  }

  @media screen and (max-width: 1024px) {
    bottom: -30px;
  }
}

section.event .slick-dots li button:before {
  background: #F7F0E6;
}

section.event .slick-dots li.slick-active button:before {
  background-color: #5A4020;
}

section.event .slick-dots li {
  margin-right: 15px;

  @media screen and (max-width: 767px) {
    margin-right: 11px;
  }
}

section.event .img-container img {
  width: 100%;
}

@media screen and (max-width: 690px) {
  section.event {
    padding-bottom: 11rem;
  }

  section.event .event-swiper {
    margin-top: 11rem;
  }
  
  section.event .moreBtn {
    margin-top: 2rem;
  }
}

/*================= END 이벤트 섹션 =================*/

/*================= 병원인포(지도) 섹션 =================*/
section.map {
  margin-top: 21rem;
  padding-bottom: 10rem;
}

section.map .section-title {
  text-align: center;
  margin-bottom: 8.4rem
}

section.map .map-container {
  margin-right: 4.2rem;
  width: 66rem;
  height: 49.8rem;
  max-width: 660px;
  max-height: 498px;
}

section.map .map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

section.map .info h1 {
  font-family: 'UDPMincho regular';
  font-size: 3.8rem;
  margin-bottom: 3.9rem;
  line-height: 1;
}

section.map .info p {
  font-family: 'UDPMincho regular';
  font-size: 2rem;
  line-height: 1;
}

@media screen and (max-width: 690px) {
  section.map {
    margin-top: 11rem;
  }

  section.map .container {
    flex-direction: column;
    gap: 4rem;
  }

  section.map .map-container {
    margin-right: 0;
    width: 100%;
  }

  section.map .info p {
    line-height: 1.5;
  }
}

@media screen and (min-width: 691px) and (max-width: 1024px) {
  section.map .map-container {
    width: 50%;
  }
}

/*=============== END 병원인포(지도) 섹션 ===============*/

/*================= 투어(인테리어) 섹션 =================*/
section.tour {
  width: 100%;
  height:45.9rem;
  max-height: 459px;
  margin-bottom: 11.9rem;
}

section.tour .swiper {
  height: 100%;
}

/* section.tour .swiper-slide {
  width: 62.4rem !important;
  height: 100%;
} */

section.tour .swiper-slide img {
  width: 100%;  
  height: 100%;
  object-fit: cover;
}

section.tour .swiper-wrapper {
  height: 100%;
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
  -o-transition-timing-function: linear !important;
}

/* @media screen and (max-width: 690px) {
  section.tour .swiper-slide {
    width: auto;
  }
} */

/* @media screen and (min-width: 1921px) {
  section.tour .swiper-slide img {
    height: unset;
  }
} */

@keyframes flowRolling {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-1180%);
  }
}

/*=============== END 투어(인테리어) 섹션 ===============*/
