@charset "UTF-8";


/* ==================================================================
    ABOUT
===================================================================== */

/* 의료진소개 */
.doctor {
  .section01 {
    .doctorWrap {
      display: flex;
      background: var(--fff);
      align-items: center;

      >div {
        flex: 1;

        img {
          width: 100%;
          display: block;
        }

        &.doctor_box {
          >div {
            padding: 8rem;
            display: flex;
            flex-direction: column;
            gap: 2rem;

            p {
              font-size: 3rem;
              font-family: var(--pointfont), serif;
              color: var(--point2color);
              font-weight: 600;
              margin-top: 0;
            }

            h3 {
              color: #595959;
              font-size: 4rem;
              line-height: 1.2;
            }

            ul {
              font-size: 2rem;
              color: #70706e;
              display: flex;
              flex-direction: column;
              gap: 1rem;
              margin-top: 2rem;

            }

            h5 {
              font-size: 2.3rem;
              margin-top: 4rem
            }

            h4 {
              font-size: 4rem;

              span {
                font-size: 2.4rem;
                font-weight: 400;
              }
            }

          }

        }
      }
    }

    /* 모바일 (해상도 768px 이하) */
    @media (max-width: 768px) {
      .doctorWrap {
        display: flex;
        flex-direction: column;

        >div {
          &.doctor_box {
            >div {
              padding: 8rem 2rem;

              h3 {
                font-size: 3rem;
              }
            }
          }
        }

      }
    }
  }

}

/* 진료안내 / 오시는길 */
.contect {
  .contectWrap {

    h2 {
      background: var(--color_sub2);
      color: var(--color_sub3);
      display: inline-flex;
      padding: .5rem 5rem;
      border-radius: 100rem;
      margin-bottom: 2rem;
      display: flex;
    }

    >h2 {
      margin-top: 8rem;
      margin-bottom: 6rem;
    }

    >ul {
      display: flex;
      gap: 10rem;

      >li {
        flex: 1;

        dl {
          display: flex;
          font-size: 2rem;
          border-bottom: 1px solid var(--point2color);
          padding: 2rem;
          gap: 7rem;
          justify-content: space-between;
          font-weight: 600;
          align-items: center;


          dt {
            font-weight: 600;
            color: var(--color_sub2);
            display: flex;
            align-items: center;
            gap: 1rem;

            i {
              font-size: 2.8rem;
              background: var(--color_sub);
              color: var(--fff);
              border-radius: 100rem;
              width: 4.5rem;
              display: inline-block;
              line-height: 4.5rem;
              text-align: center;

              &.icon-kakao_plus {
                background: var(--kakaoYellow);
                color: var(--color_sub2);
              }

              &.icon-naver {
                background: var(--naverGreen);
              }
            }
          }

          dd {
            letter-spacing: 0;
            display: flex;
            align-items: center;
            gap: 1rem;

            em {
              color: var(--color_main);
              font-size: 80%;
            }

            span {
              font-size: 80%;
              color: var(--pointcolor);
            }

          }
        }

        #Map {
          width: 100%;
          height: 100%;
          border: 1px solid var(--point2color);
        }

        >ul {
          >li {
            border-bottom: 1px solid var(--point2color);
            padding: 2rem;

            h3 {
              color: var(--color_sub2);
              font-size: 2.4rem;
              margin-bottom: 1rem;
            }

            h4 {
              font-size: 1.8rem;

              span {
                font-size: 1.6rem;
                font-weight: 400;
              }
            }
          }
        }
      }
    }

  }

  /* 모바일 (해상도 768px 이하) */
  @media (max-width: 768px) {
    .contectWrap {
      padding: 0 1.5rem;

      >h2 {
        margin-top: 5rem;
        margin-bottom: 3rem;
      }

      h2 {
        padding: .5rem 3rem;
      }

      >ul {
        display: flex;
        flex-direction: column;
        gap: 5rem;

        >li {
          dl {
            display: flex;
            flex-direction: column;
            gap: 0;
            align-items: flex-end;
            padding: 2rem 1rem;
          }

          &:nth-child(2) {
            dl {
              flex-direction: row;
              align-items: center;
            }
          }

          #Map {
            height: 25rem;
          }
        }
      }
    }
  }
}

/* 브랜드 소개 */
.brand_story {
  section {
    .inwrap {
      >ul {
        display: flex;
        justify-content: space-between;
        gap: 10rem;

        >li {
          h2 {
            font-size: 3.6rem;
            font-weight: 600;
            margin-top: 10rem;
            margin-bottom: 5rem;
            /* color: var(--222); */
          }

          p {
            line-height: 1.5;
            font-size: 1.8rem;
            font-weight: 300;
          }
        }
      }


    }

    &.section02 {
      .inwrap {

        >ul {
          display: flex;
          flex-direction: row-reverse;
          text-align: right;
        }
      }
    }
  }

  @media (max-width: 768px) {
    section {
      .inwrap {
        padding: 0 1.5rem;

        >ul {
          flex-direction: column;
          gap: 5rem;

          >li {
            h2 {
              font-size: 2.8rem;
              margin-top: 5rem;
              margin-bottom: 3rem;
            }
          }
        }
      }

      &.section02 {
        .inwrap {
          >ul {
            flex-direction: column;
            text-align: left;
          }
        }
      }

    }
  }
}

/* ==================================================================
    서브 공통 스타일
===================================================================== */


.cirbox {
  height: 100%;
  background: transparent;
  border: 1px solid rgba(var(--pointcolor-rgb), 0.2);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  aspect-ratio: 1 / 1;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: -1;
}
@media (max-width: 768px) {
  .cirbox {
    display: none;
  }

}

/* top_section */
.top_section {
  display: flex;
  margin-top: -8rem;

  >li {
    width: 100%;
    flex: 1;

    >img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .flex_center {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      height: 100%;

      h6 {
        color: var(--point2color);
        font-family: "Cormorant Garamond", serif;
        font-size: 2rem;
        font-weight: 400;
        letter-spacing: 0;
        margin-bottom: 1rem;
        text-transform: capitalize;
      }
    }

    h2 {
      font-size: 3.6rem;
      font-weight: 600;
      margin-bottom: 2rem;
      line-height: 1.2;
      color: var(--color_sub);
    }

    h3 {
      background: rgba(190, 183, 171, 0.2);
      padding: 0.5rem 1.5rem;
      width: fit-content;
      margin-bottom: 5rem;
      font-weight: 400;
    }

    p {
      line-height: 1.5;
      font-size: 1.8rem;
      font-weight: 300;
    }
  }
}

@media (max-width: 768px) {
  .top_section {
    flex-direction: column;
    gap: 5rem;
    margin-top: 0;
    padding-left: 2rem;
    padding-right: 2rem;

    >li {
      >img {
        margin-left: calc(-2rem - 5vw);
        margin-right: calc(-2rem - 5vw);
        width: calc(100% + 2rem + 20vw);
        max-width: 100vw;
      }

      .flex_center {
        h6 {
          font-size: 1.8rem;
        }
      }

      h3 {
        font-size: 2rem;
      }

      h2 {
        font-size: 3.5rem;
      }

      p {
        /* font-size: 1.8rem; */
      }
    }
  }
}


/* sub_title */
.sub_title {
  text-align: center;
  margin-bottom: 7rem;

  h6 {
    color: var(--point2color);
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0;
    margin-bottom: 1rem;
    text-transform: capitalize;
  }

  h2 {
    font-size: 3.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  p {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    margin-top: 0;
  }


}

@media (max-width: 768px) {
  .sub_title {
    margin-bottom: 5rem;

    h6 {
      font-size: 2rem;
    }

    h2 {
      line-height: 1.2;
    }
  }
}

/* flexHoverList */
.flexHoverList {
  display: flex;
  gap: 2rem;
  margin-top: 7rem;
  flex-wrap: wrap;
  justify-content: center;

  >li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;

    .imgbox {
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: 0.5s;
      }

      &:after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        z-index: 1;
        background: #fff;
        content: "";
        transition: 1s;
        width: 100%;
        height: 15rem;
      }
    }

    .txt {
      position: absolute;
      z-index: 2;
      transition: 0.5s;
      left: 4rem;
      top: 4rem;
    }

    h4 {
      font-size: 1.8rem;
      font-weight: 600;
      color: var(--point2color);
      font-family: "Cormorant Garamond", serif;
      font-size: 2rem;
      font-weight: 400;
      letter-spacing: 0;
      text-transform: capitalize;
    }

    h3 {
      font-size: 3.5rem;
      margin-bottom: 8rem;
    }

    p {
      font-size: 1.6rem;
      font-weight: 300;
      line-height: 1.5;
    }

    .h_txt {
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      color: #fff !important;
      z-index: 3;
      text-align: center;
      opacity: 0;
      visibility: hidden;
      transition: 0.5s;
      display: flex;
      align-items: center;
      justify-content: center;

      h3 {
        color: var(--fff);
        margin-bottom: 2rem;
      }

      h2 {
        margin-bottom: 4rem;
        font-size: 4rem;
      }

      p {
        font-size: 1.8rem;
      }
    }

    &:hover {
      .imgbox {
        img {
          transform: scale(1.2);
        }

        &:after {
          height: 0;
        }
      }

      .txt {
        opacity: 0;
      }

      .h_txt {
        opacity: 1;
        visibility: visible;
      }
    }

    &:nth-child(2n) {

      .imgbox {
        &:after {
          width: 26rem;
          height: 100%;
        }
      }

      .txt {
        top: auto;
        bottom: 4rem;

        h3 {
          margin-bottom: 4rem;
        }

      }

      &:hover {
        .imgbox {
          &:after {
            width: 0;
            height: 100%;
          }
        }
      }

    }
  }


}

@media (max-width: 768px) {
  .flexHoverList {
    gap: 3rem;
    margin-top: 5rem;
    flex-direction: column;

    >li {
      .imgbox {
        &:after {
          height: 11rem;
        }

      }

      .txt {
        top: 2rem;
        left: 2rem;

        h3 {
          margin-bottom: 4rem;
        }
      }
      &:nth-child(2n) {
        .imgbox{
          &:after{
          width: 19rem;
        }
        }
        
      }
    }
  }
}

/* imgLeft */
.imgLeft {
  display: flex;
  gap: 2rem;
  margin-top: 7rem;
  flex-wrap: wrap;
  justify-content: center;
  background: var(--fff);
  align-items: center;

  >li {
    flex: 1;

    img {
      display: block;
    }

    >ul, > div {
      padding: 5rem;
      display: flex;
      flex-direction: column;
      h4{
        font-size: 2.9rem;
        margin-bottom: 2rem;
        
        
        
        
        b.color{
          color: var(--color_sub);
        }
      }
      > p{
        font-size: 2rem;
        margin-top: 0;
        margin-bottom: 2rem;
        line-height: 1.5;
      }

      li {
        border-bottom: 1px solid var(--point2color);
        padding: 3rem 0;
        font-size: 2rem;
        display: flex;
        align-items: center;
        
        
        .caseNumber{
          margin-right:1rem;
        }

        &:first-child {
          /* padding-top: 1rem; */
          border-top: 1px solid var(--point2color);
        }


      }
    }


  }
}

@media (max-width: 768px) {
  .imgLeft {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 5rem;

    >li {
      >ul, > div {
        padding: 3rem;

        li {
           flex-direction: column;
           align-items: flex-start;
           gap: 1rem;
           padding: 2rem 0;
         }
      }
    }
  }
}
/* caseNumber */
.caseNumber {
  background-color: var(--pointcolor);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  line-height: 1;
  text-align: center;
  color: var(--fff);
  /* margin-right: 1rem; */
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  
  em {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
  }
}

/* flexList */
.flexList {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;

  >li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    .imgbox {
      overflow: hidden;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
    }

    h3 {
      font-size: 2.4rem;
      margin-top: 3rem;
    }

    p {
      font-size: 1.8rem;
      font-weight: 300;
      line-height: 1.5;
    }

  }

}

@media (max-width: 768px) {
  .flexList {
    gap: 4rem;
    flex-direction: column;

    li {
      p {
        margin-top: 1rem;
      }
    }
  }
}

/* faceSection */
.faceSection {
  background: url(/html/images/face_bg.jpg) no-repeat center center;
  background-size: cover;
  position: relative;

  .sub_title {
    padding-top: 10rem;
  }

  .faceList {
    position: absolute;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    bottom: 0;

    >ul {
      display: flex;
      z-index: 10;
      justify-content: center;
      flex-wrap: wrap;
      bottom: 18rem;
      z-index: 2;
      width: 100%;
      padding: 30rem 0;

      li {
        position: absolute;
        width: 40rem;
        z-index: 2;

        h4 {
          font-family: "Cormorant Garamond", serif;
          color: var(--pointcolor);
          font-size: 2rem;
          margin-bottom: 1rem;
        }

        h3 {
          font-size: 3rem;
        }

        &::after {
          content: '';
          position: absolute;
          display: block;
          height: 1px;
          width: 100%;
          background: var(--pointcolor);
          z-index: 1;
          top: 40%;
        }

        &:nth-child(2n) {
          display: flex;
          justify-content: flex-end;
          flex-direction: column;
          align-items: flex-end;

          .dot {
            left: 0;
          }
        }

      }
    }
  }

  .imgbox {
    text-align: center;

    img {
      display: block;
      margin: 0 auto;
    }
  }

}

@media (max-width: 768px) {
  .faceSection {
    .sub_title {
      padding-top: 5rem;
      margin-bottom: 2rem;
    }

    .faceList {
      >ul {
        padding: 0;
        display: flex;
        gap: 9vw 0;
        flex-wrap: wrap;
        margin-bottom: 17vw;

        >li {
          width: 45% !important;
          position: relative;
          transform: translate(0, 0) !important;

          h4 {
            font-size: 1.6rem;
            margin-bottom: 0;
          }

          h3 {
            font-size: 2rem;
          }

          &::after {
            position: relative;
            width: auto;
            display: none;
          }

          .dot {
            display: none;
          }
        }
      }
    }
  }
}

.dot {
  border-radius: 50%;
  position: relative;
  animation: pulse 2s infinite;
  background: var(--pointcolor);
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border-radius: 10rem;
  right: 0;
  position: absolute;
  top: 23px;

  &:before {
    content: '';
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--pointcolor);
    animation: pulse-ring 2s infinite;
    opacity: .4;
  }
}

/* Facelift */
.Facelift {
  .section05 {
    padding: 0;
    .faceList {
      >ul {

        li {
          &:first-child {
            transform: translate(-20rem, -20rem);
          }

          &:nth-child(2) {
            transform: translate(26rem, -5rem);
          }

          &:nth-child(3) {
            transform: translate(-38rem, -5rem);
            width: 60rem;
          }

          &:nth-child(4) {
            transform: translate(36rem, 12rem);
            width: 60rem;
          }

        }
      }
    }
  }
}

/* stepList */
.stepList {
  display: flex;
  /* gap: 5rem; */
  justify-content: center;
  flex-wrap: wrap;
  

  >li {
    flex: 1;
    max-width: 400px;
    text-align: center;
    border-left: 1px solid rgba(var(--pointcolor-rgb), 0.2);
    
    img {
      /* border: 1px solid var(--point2color); */
      border-radius: 100rem !important;
      margin: 0 auto;
      max-width: 20rem;
      display: block;
      /* margin-bottom: 2rem; */
    }
    &:first-child {
      border-left: 0;
    }

    h3 {
      font-size: 2.4rem;
      margin-top: 2rem;
      margin-bottom: 1rem;
    }

    p {
      font-size: 1.8rem;
      font-weight: 300;
      line-height: 1.5;
      margin-bottom: 2rem;
    }
  }
}

@media (max-width: 768px) {
  .stepList {
    
    
    > li{
      padding:0 2rem;
      -moz-box-sizing: border-box;
      -webkit-box-sizing: border-box;
      box-sizing: border-box;
      width: 50%;
      flex: auto;
      
      
      img {
        max-width: 100%;
      }
      &:nth-child(odd){
        border-left:0;
      }
       &:nth-child(n+3){
         border-top:1px solid rgba(var(--pointcolor-rgb), 0.2);
       }
    }
  }
    }






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

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

@keyframes pulse-ring-small {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}