#wrap {
  position: relative;
  width: 100%;
  height: auto;
}

section {
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.main {
  position: relative;
}

.main .inner-container {
  width: calc(100% - 48rem);
  height: 100%;
  z-index: 2;
  margin: 0 24rem;
  position: absolute;
  left: 0;
}

.main .inner-wrap h1,
.main .inner-wrap p,
.main .inner-wrap .swiper-btn-container {
  animation: fadeInUp 1s;
}

.main .text-container {
  color: #fff;
  width: 100%;
}

.main .text-container .accent {
  color: var(--color-orange500) !important;
}

.main .text-container p {
  line-height: 1.5;
  transition-delay: 0.8s;  
}

.main .text-container> p {
  font-size: 2.5rem;
  font-family: "andante";
  letter-spacing: 6px;
  line-height: 1;
  margin-bottom: 2.5rem;
}

.main .text-container p.des {
  font-size: 2.8rem;
  font-family: "pretendard-medium";
  letter-spacing: -1px;
  margin-top: 6rem;
}

.main .text-container h1 {
  font-family: 'andante';
  font-size: 7.7rem;
  line-height: 1.5;
  letter-spacing: -1px;
  transition-delay: 0.4s;
  transform: translateX(-0.5rem);
}

.main-video {
  width: 100%;
  height: 100% ;
  object-fit: cover;
}

.main .text-swiper .swiper-slide{
  padding-left: 4px;
  opacity: 0 !important;
  transition: opacity 0.8s;
}
.main .text-swiper .swiper-slide.swiper-slide-active{
  opacity: 1 !important;
}

@media screen and (min-width: 1921px) {
  .main .inner-container {
    margin: 0px 20%;
  }
}

@media screen and (max-width: 1023px){
  .main {
    width: 100%;
    height: 49rem;
  }
}

/* ========== 대표진료과목 섹션 ========== */
.rep .inner-container {
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
}

.rep .sec-head {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
  align-items: center;
}

.rep .sec-head h2 {
  font-size: 3.5rem;
  margin-bottom: 0;
  text-align: left;
}

.rep-swiper {
  transition-delay: 0.3s;
}

.rep .swiper-slide {
  cursor: pointer;
  overflow: hidden;
}

.rep .slide-container {
  position: relative;
  overflow: hidden;
}

.rep .swiper-slide {
  position: relative;
  overflow: hidden;  
}

.rep .img-container::after {
  content: '';
  background: linear-gradient(360deg, rgba(0,0,0,0.8463760504201681) 0%, rgba(0,0,0,0.2189250700280112) 62%, rgba(0,212,255,0) 100%);
  opacity: 0.5;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  transition: all ease 0.3s;
  left: 0;
}

.rep .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition-duration: 0.5s;
}

.rep .img-container.hoverd img {
  scale: 1.1;
}

.rep .img-container.hoverd::after {
  opacity: 0.8;
}

.rep .text-container {
  color: #fff;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.rep .text-container h3,
.rep .text-container p {
  margin-bottom: 1.8rem;
  text-align: center;
}

.rep .text-container h3 {
  font-family: 'pretendard-bold';
  font-size: 2.8rem;
}

.rep .text-container p {
  font-family: 'pretendard-medium';
  font-size: 1.8rem;
  line-height: 1.5;
}

.rep .text-container img {
  width: fit-content !important;
}
/* ========== END 대표진료과목 섹션 ========== */

/* ============ 프로페셔널 시술 섹션 ============ */
section.pro {
  height: fit-content;

  @media screen and (min-width: 1520px) {
    height: 93.7rem;
  }
}

section.pro .section-title {
  font-size: 4.8rem;
  margin-bottom: 11.6rem;

  @media screen and (max-width: 768px) {
    font-size: 2.2rem !important;
    margin-bottom: 5rem;
  }

  @media screen and (min-width: 769px) and (max-width: 768px) {
    font-size: 3.5rem !important;
  }
}

section.pro .card-container {
  position: relative;
  width: 1440px;
  margin: 0 auto;
  
  @media screen and (max-width: 690px) {
    padding: 0 2rem;
  }
  
  @media screen and (min-width: 691px) and (max-width: 1336px) {
    padding: 0 6rem;
    margin-top: 4rem;
  }
  
  @media screen and (max-width: 1336px) {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
  }
}

section.pro .card-container .card-wrap {
  position: relative;
  border-radius: 50px 0 50px 0;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 18px;
  width: 84rem;
  height: 50rem;
  position: absolute;
  top: 0;
  overflow: hidden;
  cursor: pointer;

  will-change: z-index,opacity,transform;
  /* transition: z-index 0.3s ease, transform 0.3s ease; */

  transition: opacity 0.6s, z-index 0s, transform 0.6s cubic-bezier(.4, 0, .2, 1);
  transition-delay: 0, 0.5s, 0;

  &[data-card-idx="1"] {
    background-color: #FFD4DE;
    left: 0;
  }

  &[data-card-idx="2"] {
    background-color: #a15969;
    left: 12rem;
    z-index: 4;
  }

  &[data-card-idx="3"] {
    background-color: #FBC2B1;
    left: 24rem;
    z-index: 3;
  }

  &[data-card-idx="4"] {
    background-color: #F0A28C;
    left: 36rem;
    z-index: 2;
  }

  &[data-card-idx="5"] {
    background-color: #AF9984;
    left: 48rem;
    z-index: 1;
  }

  &[data-card-idx="6"] {
    background-color: #8A6F54;
    right: 0;
  }

  @media screen and (max-width: 1336px) {
    width: 100%;
    height: auto;
    position: static;
    transition: unset;
    border-radius: 2.5rem 0 2.5rem 0;
    z-index: unset;

    background-color: #e49e83 !important;
    transform: translateY(0);
    

    &:nth-of-type(2n) {
      border-radius: 0 2.5rem 0 2.5rem;
    }
  }
}


section.pro .card-container .card {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 0.6s ;
  will-change: width, opacity;

  &._img {
    opacity: 0;
    width: 0;
  }

  &._tit {
    opacity: 1;
  }

  @media screen and (max-width: 1336px) {
    position: static;

    &._tit {
      display: none;
    }

    &._img {
      width: 100%;
      opacity: 1;
    }
  }
}

section.pro .card-container .card h1 {
  font-family: 'andante';
  font-size: 3.5rem;
  writing-mode: vertical-lr;
  color: #fff;
  position: absolute;
  top: 4.5rem;

  /* transition: all 0.6s ; */

  @media screen and (max-width: 1336px) {
    position: static;
    writing-mode: unset;
    font-size: 2rem;
    padding-left: 2rem;
    padding-top: 0.8rem;
    color: #fff !important;
  }
}

section.pro .card-container .card._tit h1 {
  right: 4.8rem;
  /* transition: left 0.3s ease, right 0.3s ease; */
}

section.pro .card-container .card._img h1 {
  color: var(--color-black);
  right: 4.8rem;
  left: unset;
}


section.pro .card-container .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.pro .card-container .card-wrap.open {
  z-index: 6 !important;

  ._img {
    cursor: default;
    width: 100%;
    opacity: 1;
  }

  .card._tit {
    opacity: 0;
    width: 0;
  }

  @media screen and (max-width: 1336px) {
    width: 100%;
  }
}

section.pro .card-container .card._tit.active h1 {
  left: 4.8rem;
  right: unset;
}

/*--------- 카드 인터랙션 ---------*/
section.pro .card-container {
  /* 1번 오픈 */
  &[data-active='1'] {
    .card-wrap[data-card-idx='2'] {
      z-index: 5;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='3'] {
      z-index: 4;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='4'] {
      z-index: 3;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='5'] {
      z-index: 2;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='6'] {
      z-index: 1;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
  }

  /* 2번 오픈 */
  &[data-active='2'] {
    .card-wrap[data-card-idx='1'] {
      z-index: 5;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='3'] {
      z-index: 4;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='4'] {
      z-index: 3;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='5'] {
      z-index: 2;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='6'] {
      z-index: 1;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
  }
  
  /* 3번 오픈 */
  &[data-active='3'] {
    .card-wrap[data-card-idx='1'] {
      z-index: 4;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='2'] {
      z-index: 5;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='4'] {
      z-index: 3;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='5'] {
      z-index: 2;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='6'] {
      z-index: 1;

      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
  }
  
  /* 4번 오픈 */
  &[data-active='4'] {
    .card-wrap[data-card-idx='1'] {
      z-index: 3;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='2'] {
      z-index: 4;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='3'] {
      z-index: 5;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='5'] {
      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
    .card-wrap[data-card-idx='6'] {
      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
  }
  
  /* 5번 오픈 */
  &[data-active='5'] {
    .card-wrap[data-card-idx='1'] {
      z-index: 2;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='2'] {
      z-index: 3;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='3'] {
      z-index: 4;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }
    
    .card-wrap[data-card-idx='4'] {
      z-index: 5;

      .card._tit h1{
        right: unset;
          left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='6'] {
      .card._tit h1{
        left: unset;
        right: 4.8rem;
      }
    }
  }
  
  /* 6번 오픈 */
  &[data-active='6'] {
    .card-wrap[data-card-idx='1'] {
      z-index: 1;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='2'] {
      z-index: 2;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='3'] {
      z-index: 3;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='4'] {
      z-index: 4;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }

    .card-wrap[data-card-idx='5'] {
      z-index: 5;

      .card._tit h1{
        right: unset;
        left: 4.8rem;
      }
    }
  }

}

@media screen and (min-width: 1025px) {
  section.pro .card-container .card-wrap:not(.card-wrap.open):hover {
    transform: translateY(-6.4rem);
  }
}

@media screen and (min-width: 769px) and (max-width: 1366px) {
  section.pro .card-container {
    width: 80%;
  }
  
  section.pro .card-container .card-wrap {
    width: 46.2rem;
    height: auto;
  }
  
  section.pro .card-container .card h1 {
    font-size: 2.5rem;
    top: 2.5rem;
    right: 2.5rem !important;
  }
  
  section.pro .card-container .card._img h1 {
    right: 2.5rem;
  }
  
  section.pro .card-container .card-wrap {
    &[data-card-idx="2"] {
      left: 7rem;
    }
    &[data-card-idx="3"] {
      left: 14rem;
    }
    &[data-card-idx="4"] {
      left: 21rem;
    }
    &[data-card-idx="5"] {
      left: 28rem;
    }
    &[data-card-idx="6"] {
      right: 0;
    }
  }
}
/* ========== END 프로페셔널 시술 섹션 ========== */
 
/* ========== 의료진소개 섹션 ========== */
section.doctor {
  @media screen and (max-width: 1023px) {
    flex-direction: column;
    padding: 10rem 0;
    height: fit-content;
  }

  @media screen and (min-width: 1024px) {
    justify-content: right;
    margin-top: 12.8rem;
    height: fit-content;
    margin-bottom: 16rem;
  }
}

section.doctor .inner {
  display: flex;
}

section.doctor .section-title {
  letter-spacing: -2px;
  text-align: left;
  margin-bottom: 6.1rem;

  @media screen and (max-width: 1023px) {
    text-align: center;
    
    &.pc-only {
      display: none;
    }
  }
  
  @media screen and (min-width: 1024px) {
    &.mo-only {
      display: none;
    }
  }
}

section.doctor .des {
  margin-top: 9rem;
  margin-right: 9rem;

  @media screen and (max-width: 1520px) {
    margin: 2rem 3rem;
  }
}

section.doctor .doc-name {
  font-size: 2.8rem;
  font-family: 'pretendard-bold';
  letter-spacing: -2px;
  margin-bottom: 3rem;
}

section.doctor .history-list {
  margin-top: 4rem;
  
  @media screen and (max-width: 1520px) { 
    margin-top: 1.5rem;
  }
}

section.doctor .history-list li{
  font-size: 1.8rem;
  font-family: 'pretendard-regular';
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

section.doctor .doc-img {
  border-radius: 3.5rem 0 0 3.5rem;
  overflow: hidden;
  
  @media screen and (max-width: 1023px) {
    border-radius: 0;
    width: 100%;
    height: 35rem;
  }
}

@media screen and (max-width: 1023px) {
  section.doctor .inner {
    flex-direction: column-reverse;
  }
}

@media screen and (min-width:1024px) and (max-width: 1520px) {
  section.doctor .doc-img {
    width: 64rem;
  }
}

@media screen and (max-width: 1520px) {
  section.doctor .section-title a {
    width: 2.2rem;
    height: 2.2rem;
    display: inline-block;
  }

  section.doctor .section-title a img {
    width: 100%;
    height: 100%;
  }

  section.doctor .doc-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (min-width: 1921px) {
  section.doctor{
    max-width: 1920px;
    margin: 12.8rem auto 16rem auto;
  }
}

/* ========== END 의료진소개 섹션 ========== */

/* ========== 유튜브 섹션 ========== */
.youtube {
  background-color: #f7f7f7;
  height: 96.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.youtube .inner-container {
  max-width: 157.5rem;
  margin: 0 auto;
}

.youtube .media-container {
  width: 100%;
}

.youtube .sec-head {
  width: 100%;
  text-align: center;
  margin-bottom: 2.1rem; 
}

.youtube .sec-head h2 {
  font-size: 2.4rem;
  font-family: 'andante';
  letter-spacing: 0;
  margin-bottom: 2.9rem;
}

.youtube .sec-head h1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.youtube .sec-head h1 .head-logo {
  width: 30.7rem; 
  margin-right: 1.2rem;
}

.youtube .sec-head h1 .moonstar {
  line-height: 1;
}

.youtube .sec-head h1 a {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.youtube .sec-head h1 a img {
  width: 100%;
}

.youtube .swiper-btn-container {
  width: 100%;
  justify-content: right;
  margin-bottom: 2.4rem;
}

@media screen and (min-width: 768px) {
  .youtube .media-list .swiper-slide {
    width: 50.8rem !important;
  }
}

.youtube .media-list .swiper-slide a {
  display: block;
  border-radius: 2.5rem;
  overflow: hidden;
  width: 100%;
  height: 28.6rem;
}

.youtube .media-list .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube .media-list .swiper-slide p {
  font-family: 'pretendard-medium';
  font-size: 2.2rem;
  text-align: center;
  margin-top: 2.5rem;
}
/* ========== END 유튜브 섹션 ========== */


/* ========== care 시스템 섹션 ========== */
section.care {
  position: relative;
  height: 75rem;
}

.care .inner-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.care .bg {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
}

.care .bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care .inner {
  z-index: 1;
  align-items: center;
  justify-content: right;
  width: 100%;
  height: 100%;
}

.care .section-title {
  color: #fff;
  text-align: left;
  line-height: 1.7;
  width: 23.8rem;
  padding-left: 7rem;
  padding-bottom: 7rem;
}

.care .section-title .accent {
  font-size: 6.2rem;
  margin-right: 0;
  line-height: 1;
}

.care-swiper {
  width: 149.5rem !important;
  height: fit-content !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: translateX(15rem);
}

.care-list {
  flex-direction: row;
  height: 41.1rem; 
  position: relative;
}

.care-item {
  width:27.6rem !important;
  height: 41.1rem !important;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  font-family: 'pretendard-bold';
  transition: all ease 0.3s;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.care-item.c1 {
  background-image: url('../../img/main/care1.png');
}
.care-item.c2 {
  background-image: url('../../img/main/care2.png');
}
.care-item.c3 {
  background-image: url('../../img/main/care3.png');
}
.care-item.c4 {
  background-image: url('../../img/main/care4.png');
}
.care-item.c5 {
  background-image: url('../../img/main/care5.png');
}

.care-item::after {
  content: '';
  background: linear-gradient(180deg, rgba(0,0,0,0.8463760504201681) 0%, rgba(0,0,0,0.4654236694677871) 28%, rgba(0,0,0,0.3785889355742297) 51%, rgba(0,0,0,0.4738270308123249) 69%, rgba(0,0,0,0.85) 100%);
  opacity: 0.3;
  z-index: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.care-item.c2::after,
.care-item.c4::after {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5046393557422969) 100%);
}

.care-item h1 {
  font-size: 6.5rem;
  line-height: 1 ;
  width: fit-content;
  border-bottom: 3px solid #fff;
  z-index: 1;
  margin: 2rem 0 0 2.5rem;
}

.care-item h3 {
  font-size: 2.5rem;
  text-align: center;
  z-index: 1;
  margin-bottom: 2.2rem;
  letter-spacing: -1px;
}

@media screen and (max-width: 690px) {
  section.care .inner {
    width: calc(100% - 40px);
  }

  section.care .care-item {
    height: 10rem !important;

    &.c3 {
      background-position: 0 -16rem;
    }


    &.c5 {
      background-position: 0 -33rem;
    }
  }
}

@media screen and (max-width: 1023px) {
  section.care .care-item {
    margin: 8px 0;
  }
  
  section.care .care-item {
    height: calc(100% / 5) !important;
    /* height: 14rem !important; */
  }
  
  section.care .care-item h1 {
    font-size: 2.8rem;
    margin: 1.5rem 0 0 1.5rem;
  }
}

@media screen and (min-width: 691px) and (max-width: 1024px) {
  section.care .bg img {
    height: 100%;
  }
  
  section.care .inner {
    width: calc(100% - 120px);
  }

  section.care .care-item {

    &.c3 {
      background-position: 0 -28rem;
    }

    &.c5 {
      background-position: 0 -59rem;
    }
  }

}

@media screen and (max-width: 1024px) {
  section.care {
    height: 100svh;
    padding: 0;
  }
  
  section.care .inner-container {
    height: 100%;
    padding: 7rem 0;
  }
  
  section.care .section-title {
    width: 100%;
    text-align: center;
    padding: 0;
  }
  
  section.care .care-swiper {
    transform: none;
    width: 100% !important;
    height: calc(100% - 7rem) !important;
    overflow: visible;
  }
  
  section.care .swiper-wrapper {
    width: 100%;
    height: 100%;
  }
  
  section.care .bg video {
    position: absolute;
    z-index: 0;
    object-fit: cover;
    object-position: center;
  }
  
  section.care .inner {
    flex-direction: column;
  }
  
  section.care .care-list {
    flex-direction: column;
    width: 100%;
    height: calc(100% - 7rem);
  }
  
  section.care .care-item {
    width: 100% !important;
    background-repeat: no-repeat;
    background-size: cover;
    right: unset;
    position: relative;

    .pc-only {
      display: none;
    }
  }
  
  section.care .care-item.active {
    transform: translateY(0);
  }
  
  .care-item h3 {
    font-size: 1.8rem; 
    margin-bottom: 1.5rem;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1365px) {
  section.care .care-item {
    margin: 1.5rem 0;
    height: 20rem !important;
  }
  
  .care-item h1 {
    font-size: 4.8rem;
    margin: 2rem 0 0 2.5rem;
  }
  
  section.care .care-item h3 {
    font-size: 2.8rem; 
  }
}

@media screen and (min-width: 1921px) {
  section.care .inner {
    justify-content: center;
  }
  
}
/* ========== END care 시스템 섹션 ========== */

/* ============ 이벤트 섹션 =========== */
.event .section-title {
  margin-bottom: 12.9rem;
}

.event .title-point {
  font-size: 4.8rem;
}

.event .swiper-btn-container {
  width: 100%;
  justify-content: flex-end;
  margin-bottom: 3.1rem;
}

.event .swiper-btn-container.mo {
  display: none;
}

.event .event-swiper {
  height: fit-content !important;
}

.event .swiper-slide {
  width: 37.7rem !important;
  height: 50.1rem !important;
}

.event .swiper-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media screen and (min-width: 691px) and (max-width: 768px) {
  .event .swiper {
    overflow: visible;
  }
 
}

@media screen and (max-width: 768px) {
  .event .swiper-wrapper {
    overflow: visible;
  }

  .event .swiper-slide {
    width: 30rem !important;
    height: fit-content !important;
  }

  .event .title-point {
    font-size: 2.4rem !important;
  }
}
/* ========== END event 섹션 ========== */

/* ========== 인테리어 섹션 ========== */
.interior {
  padding: 5.8rem 0 24.9rem 0;

  @media screen and (max-width: 768px) {
    padding: 0 0 10rem 0;
  }
}

.interior .section-title {
  margin-bottom: 11.7rem;
}

.interior .i-list {
  width: 100%;
  height: fit-content;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 6.5rem 5.2rem;
}

.interior .i-list .i-item {
  width: 43.6rem;
  height: 43.6rem;
  overflow: hidden;
}

/* .interior .i-list .i-item:hover img {
  transform: scale(1.1);
} */

.interior .i-list .i-item.vd{
  overflow: hidden;
  position: relative;
}

.interior .i-list .i-item.vd video{
  position: absolute;
  height: 100%;
  left: -50%;
}

.interior .i-list .i-item img {
  width: auto;
  height: 100%;
  object-fit: cover;
  /* transition: all 0.6s; */
}

.interior .i-list .i-item:nth-of-type(1) img {
  animation: item1 4s linear infinite alternate;
}

.interior .i-list .i-item:nth-of-type(2) img {
  animation: item2 4s linear infinite alternate;
}

.interior .i-list .i-item:nth-of-type(3) img {
  animation: item3 4s linear infinite alternate;
}

.interior .i-list .i-item:nth-of-type(4) img {
  animation: item4 4s linear infinite alternate;
}

.interior .i-list .i-item:nth-of-type(5) img {
  animation: item5 4s linear infinite alternate;
}

.interior .i-list .i-item:nth-of-type(6) img {
  animation: item6 4s linear infinite alternate;
}

@keyframes item1 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-4rem);
  }
}

@keyframes item2 {
  0% {
    transform: translateX(0);
    scale: 1;
  }

  100% {
    transform: translateX(2rem);
    scale: 1.1;
  }
}

@keyframes item3 {
  0% {
    transform: translateX(0);
    scale: 1.1;
  }

  100% {
    transform: translateX(2rem);
    scale: 1;
  }
}

@keyframes item4 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(4rem);
  }
}

@keyframes item5 {
  0% {
    scale: 1;
    transform: translateX(0);
  }

  100% {
    scale: 1.1;
    transform: translateX(-4rem);
  }
}

@keyframes item6 {
  0% {
    transform: translate3d(0,0,0);
    scale: 1;
  }

  100% {
    transform: translate3d(-3rem,2rem,0);
    scale: 1.1;
  }
}
/* ========== END 인테리어 섹션 ========== */


/* ============== 미디어쿼리 ============== */

/* 모바일 사이즈 */
@media (min-width: 344px) and (max-width: 768px) {
  body {
    min-height: 100vh;
    
    @supports (-webkit-touch-callout: none) {
      min-height: -webkit-fill-available;
    }
  }

  section {
    padding: 50px 0;
  }

  .section-title {
    margin-bottom: 2rem !important;
  }

  .rep,
  .doc-info,
  .youtube,
  .event {
    height: fit-content;
    padding: 100px 0;
  }

  .main {
    padding: 0;
    /* height: 70svh; */
  }
  
  .main video {
    height: 100%;
  }

  .main .inner-container {
    width: calc(100% - 4rem);
    margin: 0 2rem;
    text-align: center;
  }

  .main .inner-wrap { 
    bottom: 50px;
    top: unset;
    left: unset;
    transform: translate(0);
  }

  .main .text-container {
    text-align: left;
    transform: translateY(-15%);
  }

  .main .text-container h1 {
    font-size: 3.2rem;
    transform: unset;
  }

  .main .text-container h1 img {
    width: 14px;
    margin-bottom: 10px;
  }

  .main .text-container> p {
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-left: 0.6rem;
  }

  .main .text-container p.des {
    font-size: 1.4rem;
    margin: 2rem 0;
  }

  .main .swiper {
    width: 100% !important;
  }

  .main .inner-wrap .swiper-btn-container {
    justify-content: left;
    margin-left: 30px;
  }
  

  /* ========= 대표진료과목 섹션 ========== */
  .rep {
    position: relative;
  }

  .rep .sec-head {
    flex-direction: column;
    margin-bottom: 20px;
  }

  .rep .sec-head h2 {
    margin-bottom: 10px;
    text-align: center;
  }

  .rep .sec-head .swiper-btn-container {
    display: none;
  }
  .rep .mo.swiper-btn-container {
    margin-top: 20px;
  }
  
  .rep-swiper {
    animation: fadeInUp 1s;
  }

  .rep-swiper .swiper-slide-next {
    visibility: visible;
  }

  .rep-swiper {
    overflow: visible;
  }

  .rep .swiper-wrapper {
    overflow: visible;
  }
  
  .rep-swiper .swiper-slide {
    width: 25rem !important;
    height: 25rem !important;
  }

  .rep .img-container { 
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .rep .text-container h3 {
    font-size: 2.4rem;
  }
  
  .rep .text-container p {
    font-size: 1.6rem;
  }
  /* ========= END 대표진료과목 섹션 ========== */

  .card h1 {
    margin: 0 auto 10px;
  }

  
  /* ========= 의료진소개 섹션 ========== */
  .doc-info {
    height: fit-content;
    position: relative;
  }

  .doc-info .inner-container {
    width: calc(100% - 40px);
  }

  .doc-info .section-title {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
  }

  .doc-info .title-point {
    margin-left: 6px;
  }

  .doc-info .section-title a {
    width: 20px;
    height: 20px;
    margin-left: 6px;
  }

  .doc-info .section-title a img {
    width: 100%;
    height: 100%;
  }

  /* ========= END 의료진소개 섹션 ========== */


  /* ========= 유튜브 섹션 ========== */
  .youtube .inner-container {
    padding: 0 20px;
    width: calc(100% - 40px);
    justify-content: center;
  }

  .youtube .sec-head {
    margin-bottom: 20px;
  }

  .youtube .sec-head h2 {
    font-size: 1.8rem;
    margin-bottom: 0;
  }

  .youtube .sec-head h1 {
    position: static;
    display: flex;
    align-items: center;
    margin-top: 1rem;
  }

  .youtube .sec-head h1 .head-logo {
    width: 11rem;
  }

  .youtube .sec-head h1 a img {
    width: 100%;
    height: 100%;
  }
 
  .youtube .sec-head h1 a {
    margin-top: 0;
    width: 2.2rem;
    height: 2.2rem;
    display: inline-block;
    margin-left: 7px;
  }

  .youtube .media-container {
    height: fit-content;
    margin-top: 1.5rem;
  }
  
  .youtube .swiper-btn-container {
    margin-bottom: 1.5rem;
  }

  .youtube-swiper {
    overflow: visible;
  }

  .youtube .media-list {
    height: fit-content;
    overflow: visible;
  }
  
  .youtube .media-list .swiper-slide a {
    height: auto;
  }

  .youtube .media-list .swiper-slide p {
    margin-top: 1.5rem;
    font-size: 16px;
  }
  /* ========= END 유튜브 섹션 ========== */

  /* ========= 이벤트 섹션 ========== */
  .event .img-container img {
    object-fit: cover;
  }

  .interior .i-list {
    width: calc(100% - 40px);
    gap: 0;
  }

  .interior .i-list .i-item {
    width: 43vw;
    height: 43vw;
    margin: 2px !important;
  }

  .interior .i-list .i-item:nth-of-type(6) img {
    height: 115%;
  }

  .interior .i-list .i-item.vd{
    height: 43vw;
  }

  .event .swiper-btn-container.pc {
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  /* ========= END 이벤트 섹션 ========== */
}

/* 모바일~태블릿 사이즈 */
@media screen and (min-width: 769px) and (max-width: 1520px) {
  .main .inner-container {
    width: calc(100% - 120px);
    margin: 0 60px;
  }
  
  .main .text-container h1 {
    font-size: 6.836vw;
  }

  .main .text-container p {
    font-size: 2.148vw;
    line-height: 1.6;
  }

  section.rep {
    height: fit-content;
    margin: 15rem 0 20rem 0;
  }

  .rep .inner-container,
  .event .inner-container {
    padding: 0 30px;
    width: calc(100% - 60px);
  }
  
}