@keyframes coverOverText {
  0% {
    transform: translate(-50%, -50%) scaleX(1);
  }
  100% {
    transform: translate(-50%, -50%) scaleX(0);
  }
}

@keyframes coverUnderText {
  0% {
    transform: translate(-50%, -50%) scaleX(0);
  }
  100% {
    transform: translate(-50%, -50%) scaleX(1);
  }
}

.my-skin-type-wrap {
  & .contents-wrap {
    & .wrap {
      padding-top: 0;

      & > .title {
        align-items: center;
        display: flex;
        font-size: 20px;
        font-weight: 700;
        gap: 8px;
        margin-bottom: 20px;

        & .user-name {
          margin-bottom: 0;
        }

        & button.btn-surgery {
          border: 1px solid rgba(58, 76, 64, 0.4);
          /* height: 40px; */
          border-radius: 4px;
          color: #3a4c40;
          font-size: 14px;
          font-weight: 700;
          margin-left: 40px;
          padding: 8px 16px;
          transition: 0.3s;
        }
      }

      & .display-ros-list {
        border: 1px solid #f7f7f7;
        border-radius: 6px;
        margin-bottom: 40px;
        padding: 10px;

        & ul {
          display: flex;
          justify-content: space-between;

          @media screen and (max-width: 768px) {
            flex-wrap: wrap;
            /*justify-content: flex-start;*/
          }

          & li {
            @media screen and (max-width: 768px) {
              width: calc(100% / 3);
            }

            & button {
              color: #aaaaaa;
              cursor: auto;
              font-size: 14px;
              padding: 10px 10px;
              position: relative;
              @media screen and (max-width: 768px) {
                padding: 10px 6px;
                width: 100%;
              }

              &:after {
                background: transparent;
                bottom: 0;
                content: "";
                height: 2px;
                left: 0;
                position: absolute;
                width: 100%;
              }

              &.btn-gray {
                color: #3a4c40;
                font-weight: bold;

                &:after {
                  background: #3a4c40;
                }
              }
            }
          }

        }
      }
    }
  }
}

.my-skin-type-wrap .title-wrap .wrap {
  height: 80px;
  line-height: 80px;
  position: relative;
  text-align: center;
}

.my-skin-type-wrap .title-wrap .btn-back {
  display: none;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.my-skin-type-wrap .title-wrap .icon.back {
  height: 16px;
  width: 16px;
}

.my-skin-type-wrap .title-wrap .title {
  color: #767676;
  font-size: 20px;
  font-weight: 700;
}


/* 컨텐츠 시작 */
.my-skin-type-wrap .contents-wrap .wrap > .title > span {
  display: block;
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 8px;
}

.my-skin-type-wrap .skin-type-pentagon {
  display: inline-block;
  height: 500px;
  position: relative;
  /*padding : 45px 80px;*/
  width: 500px;
}

.my-skin-type-wrap .skin-type-pentagon div {
  height: 100%;
  width: 100%;
}

.my-skin-type-wrap .skin-type-pnetagon div canvas {
  height: 100%;
  width: 100%;
}

.my-skin-type-wrap .skin-type-pentagon > div {
  position: absolute;
  text-align: center;
}

.my-skin-type-wrap .skin-type-pentagon .water-retention {
  display: none;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.my-skin-type-wrap .skin-type-pentagon .skin-elasticity {
  display: none;
  left: 0;
  top: 100px;
}

.my-skin-type-wrap .skin-type-pentagon .oil-retention {
  display: none;
  right: 0;
  top: 100px;
}

.my-skin-type-wrap .skin-type-pentagon .skin-transparency {
  bottom: 0;
  display: none;
  left: 80px;
}

.my-skin-type-wrap .skin-type-pentagon .skin-protection {
  bottom: 0;
  display: none;
  right: 80px;
}

.my-skin-type-wrap .skin-type-pentagon > div .value {
  font-size: 16px;
  margin-bottom: 6px;
}

.my-skin-type-wrap .skin-type-pentagon > div .title {
  color: #767676;
  font-size: 14px;
}

.skin-type-grape-slogan-wrap {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-around;

  margin: 0 auto 40px;
}

.skin-type-slogan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 400px;
}

.skin-type-slogan > p {
  color: #3a4c40;
  font-size: 64px;
  font-weight: 700;
  /*text-align: center;*/
  word-break: keep-all;
}

.skin-type-slogan > p:nth-child(1) {
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 500;
}

.skin-type-slogan > p:nth-child(2) {
  color: #767676;
  font-size: 14px;
  font-weight: 500;
}

.skin-type-slogan > p:nth-child(3) {
  margin-top: 40px;
}

.skin-type-slogan > p > span {
  color: #1c1c1c;
  display: block;
  /*margin-top : 24px;*/
  font-size: 24px;
  font-weight: 500;
}

.skin-type-list-wrap > ul > li {
  align-items: center;
  border-bottom: 1px solid #efefef;
  color: #bbb;
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.skin-type-list-wrap > ul > li .title {
  font-size: 16px;
  font-weight: 500;
}

.skin-type-list-wrap > ul > li.on .title {
  color: #1c1c1c;
  width: 70px;
}

.skin-type-list-wrap > ul > li .from {
  text-align: center;
  width: 50px;
  word-break: keep-all;
}

.skin-type-list-wrap > ul > li .from > span:first-child {
  display: block;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 10px;
}

.skin-type-list-wrap > ul > li .from > span:nth-child(2) {
  font-size: 24px;
  font-weight: 600;
}

.skin-type-list-wrap > ul > li .to {
  text-align: center;
  width: 50px;
  word-break: keep-all;
}

.skin-type-list-wrap > ul > li .to > span:first-child {
  display: block;
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 8px;
}

.skin-type-list-wrap > ul > li .to > span:nth-child(2) {
  font-size: 24px;
  font-weight: 600;
}

.skin-type-list-wrap > ul > li button {
  /*width : 156px;*/
  border: 1px solid rgba(58, 76, 64, 0.4);
  /*height : 40px;*/
  border-radius: 4px;
  color: #3a4c40;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  transition: 0.3s;
}

.skin-type-list-wrap > ul > li button:hover {
  background-color: #ededed;
}

.skin-type-list-wrap > ul > li .status-bar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  max-width: 400px;
  width: 100%;
}


.skin-type-list-wrap > ul > li .bar {
  background-color: rgba(58, 76, 64, 0.2);
  border-radius: 20px;
  height: 4px;
  padding: 0 8px;
  position: relative;
  width: 100%;
}

.skin-type-list-wrap > ul > li .bar > span:first-child {
  background-color: rgba(58, 76, 64, 0.2);
  border-radius: 20px;
  height: 100%;
  height: 12px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1px;
}

.skin-type-list-wrap > ul > li.on .bar > span:nth-child(2) {
  background-color: #3a4c40;
  border-radius: 50%;
  height: 12px;
  position: absolute;
  top: -2px;
  transform: translate(-50%, calc(-50% + 4px));
  width: 12px;
}

.skin-type-list-wrap > ul > li .bar > span:nth-child(3) {
  color: #1c1c1c;
  left: 22%;
  position: absolute;
  top: 0;
  transform: translate(-50%, calc(-50% - 24px));
  word-break: keep-all;
}


@media screen and (max-width: 1016px) {

  .my-skin-type-wrap .title-wrap .wrap {
    width: 95%;
  }

  skin-type-list-wrap {
    padding: 0 10px;
  }
}

@media screen and (max-width: 768px) {
  .my-skin-type-wrap .contents-wrap .wrap > .title {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .skin-type-grape-slogan-wrap {
    flex-direction: column;
    gap: 24px;
    padding: 0 10px;
  }

  .skin-type-slogan {
    align-items: center;
    border-top: 1px solid #f7f7f7;
    padding: 20px 0;
    width: 100%;
  }

  .my-skin-type-wrap .skin-type-pentagon {
    height: 75vw;
    margin-left: 0;
    width: 100%;
    /*margin-bottom : 40px;*/
  }

  .skin-type-slogan > p {
    font-size: 40px;
  }

  .skin-type-slogan > p > span {
    font-size: 16px;
  }


  .skin-type-list-wrap > ul > li {
    border-bottom: 1px solid #efefef;
    flex-direction: column;
  }

  .skin-type-list-wrap > ul > li .pc-none {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    /*margin-bottom : 14px;*/
  }

  /*.skin-type-list-wrap > ul >li .title{*/
  /*    font-size : 18px;*/
  /*}*/
  .skin-type-list-wrap > ul > li .status-bar {
    width: 100%;
    /*margin-bottom : 10px;*/
  }

  .skin-type-list-wrap > ul > li button {
    /*width : 120px;*/
  }

  .skin-type-list-wrap > ul > li {
    gap: 8px;

  }

}


@media screen and (max-width: 460px) {
  .my-skin-type-wrap .title-wrap .wrap {
    height: 40px;
    line-height: 40px;
  }

  .my-skin-type-wrap .title-wrap .title {
    font-size: 14px;
    font-weight: 500;
  }

  .my-skin-type-wrap .title-wrap .icon.back {
    background-image: url('../../images/icons/mobile-back.svg');
    height: 12px;
    width: 6px;
  }


  .my-skin-type-wrap .contents-wrap .wrap > .title {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .my-skin-type-wrap .contents-wrap .wrap > .title > span {
    font-size: 14px;
    margin-bottom: 0px;
  }

  /*.my-skin-type-wrap .skin-type-pentagon{*/
  /*    padding: 40px 60px;*/
  /*}*/
  .my-skin-type-wrap .skin-type-pentagon svg {
    max-width: 215px;
    width: 57vw;
  }

  .my-skin-type-wrap .skin-type-pentagon > div .value {
    font-size: 14px;
  }

  .my-skin-type-wrap .skin-type-pentagon > div .title {
    font-size: 12px;
  }

  .skin-type-slogan > p {
    font-size: 32px;
  }

  .skin-type-list-wrap > ul > li .title {
    font-size: 16px;
  }

  .my-skin-type-wrap .contents-wrap .wrap {
    width: 100%;
  }
}

.my-skin-type-wrap {
  & .contents-wrap {
    & .text-banner {
      align-items: center;
      background: #f7f7f7;
      display: flex;
      height: 60px;
      justify-content: center;
      margin-bottom: 40px;
      position: relative;

      & span {
        align-items: center;
        color: #333333;
        display: flex;
        /*padding-left: 50px;*/
        font-size: 16px;
        font-weight: 600;
        justify-content: center;


        & strong {
          align-items: center;
          color: #84cc16;
          display: flex;
          font-weight: 600;
          height: 32px;
          margin: 0 8px;
          position: relative;
          vertical-align: center;

          &.aos-animate {
            /*&:before {*/
            /*  animation: coverUnderText 0.7s ease-in-out forwards;*/
            /*  animation-delay: 1.5s;*/
            /*  transform-origin: left;*/
            /*}*/

            &:after {
              animation: coverOverText 0.5s ease-in-out forwards;
              animation-delay: 0.5s;
              transform-origin: right;
            }
          }

          &:before, &:after {
            content: "";
            height: 100%;
            left: 50%;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);

            @media screen and (max-width: 1240px) {
              font-size: 40px;
            }
          }

          &:before {
            background: #DDEEC64D;
            transform: translate(-50%, -50%) scaleX(0);
            width: 100%;
            z-index: -1;
            @media screen and (max-width: 1240px) {
              width: 100%;
            }
          }

          &:after {
            background: #84cc16;
            transform: translate(-50%, -50%);
            width: calc(100% + 10px);
            @media screen and (max-width: 1240px) {
              width: calc(100% + 10px);
            }
          }
        }

        & .image-box {
          height: 40px;
          left: calc(50% - 160px);
          position: absolute;
          top: -30px;
          width: 40px;

          & img {
            width: 100%;
          }
        }
      }
    }
  }
}