.floating {
  position: fixed;
  z-index: 998;
  right: 0;
  bottom: 13.75vw;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.042vw;

  @media screen and (min-width: 1921px) {
    bottom: 264px;
    gap: 20px;
  }
}

.floating .float-item {
  width: 3.542vw;
  height: 2.865vw;
  min-width: 51px;
  min-height: 41.2px;
  max-width: 90px;
  max-height: 55px;
  background-color: #fff;
  border-radius: 2.865vw 0 0 2.865vw;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: all 0.4s;
  position: relative;

  @media screen and (min-width: 1921px) {
    border-radius: 55px 0 0 55px;
  }
}

.floating .float-item.jpn {
  font-size: 16px;
  font-family: 'pretendard-bold';
  justify-content: center;
}

.floating .float-item.jpn span,
.floating .float-item img {
  position: absolute;
  top: 50%;
  transform: translate3d(0,-50%,0);
}

.floating .float-item.jpn span {
  left: 0.9vw;

  @media screen and (min-width: 1921px) {
    left: 17px;
  }
}

.floating .float-item img._w {
  opacity: 0;
  visibility: hidden;
}

.floating .float-item.jpn.hover {
  color: #fff;
}

.floating .float-item.hover img._w {
  opacity: 1;
  visibility: visible;
}

.floating .float-item.hover img._og {
  opacity: 0;
  visibility: hidden;
}

.floating .float-item.blog img {
  left: 0.885vw;
}

.floating .float-item.ins img {
  left: 0.938vw;
}

.floating .float-item.youtube img,
.floating .float-item.kakao img {
  left: 0.781vw;
}

.floating .float-item.top img {
  left: 0.99vw;
}

@media screen and (min-width: 1921px) {
  .floating .float-item.blog img {
    left: 17px;
  }

  .floating .float-item.ins img {
    left: 18px;
  }
  
  .floating .float-item.youtube img,
  .floating .float-item.kakao img {
    left: 15px;
  }

  .floating .float-item.top img {
    left: 19px
  }
}

.floating .float-item:hover {
  background-color: #2D1F0B;
  width: 4.688vw;
}

@media screen and (min-width: 1921px) {
  .floating .float-item:hover {
    width: 90px;
  }
}

/* 일본 */
.floating .float-item.fb img,
.floating .float-item.line img,
.floating .float-item.x img {
  left: 0.938vw;
}

@media screen and (min-width: 1921px) {
  .floating .float-item.fb img,
  .floating .float-item.line img,
  .floating .float-item.x img {
    left:18px;
  }
}

.floating .float-item.fb img {
  width: 24px;
}

.floating .float-item.line img {
  width: 26px;
}
/* ============= 페이지 전환 버튼 =============== */
.change-page-toggle.pc {
  position: fixed;
  z-index: 999;
  left: 65px;
  bottom: 45px;
  display: flex;
  gap: 10px;
}

.toggle-btn {
  width: 150px;
  height: 60px;
  border-radius: 50px;
  color: #fff;
  font-family: 'pretendard-bold';
  position: relative;
  font-size: 17px;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 15px -6px;
  flex-direction: column;
}

.toggle-btn._surgery {
  background: linear-gradient(150deg, rgba(139, 107, 164, 1) 0%, rgba(144, 125, 203, 1) 35%, rgba(134, 101, 143, 1) 100%);
}

.toggle-btn._obgy {
  background: linear-gradient(150deg, rgba(164,132,107,1) 0%, rgba(200,152,116,1) 35%, rgba(153,116,87,1) 100%);
}

.toggle-btn p {
  line-height: 19px;
}

.change-page-toggle {
  display: none;
}

@media (max-width: 767px) {
  .floating {
    gap: 1.5vw;
  }

  .floating .float-item,
  .toggle-btn {
    width: 3.542vw;
    height: 2.865vw;
    min-width: 45px;
    min-height: 36.2px;
  }

  .floating .float-item {
    border-radius: 4.865vw 0 0 4.865vw;
  }

  .floating .float-item.jpn {
    font-size: 13px;
  }
  
  .floating .float-item.jpn span {
    left: 2.2vw;
  }

  .floating .float-item img {
    width: 22px !important;
  }

  .floating .float-item.blog img {
    left: 2.885vw;
  }

  .floating .float-item.ins img{
    /* width: 5.5vw; */
    left: 2.938vw;
  }

  .floating .float-item.youtube img,
  .floating .float-item.kakao img{
    left: 2.781vw;
  }

  .floating .float-item.top img{
    left: 2.99vw;
  }

  .floating .float-item:hover {
    width: 6.7vw;
  }
  
  /* 일본 */
  .floating .float-item.fb img,
  .floating .float-item.line img,
  .floating .float-item.x img {
    left: 2.938vw;
  }

  /* 메디컬뷰티센터 */
  .change-page-toggle._mbc {
    position: fixed;
    right: 0;
    bottom: 170px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
  }

  .change-page-toggle._mbc .toggle-btn {
    width: 86px;
      height: 76px;
      min-width: unset;
      min-height: unset;
      font-size: 22px;
      border: none;
      max-height: unset;
      justify-content: center;
      line-height: 1.2;
  }

  /* ======== 페이지 전환 버튼 ======== */
  .change-page-toggle.pc {
    display: none;
  }

  .toggle-btn {
    max-width: 90px;
    max-height: 55px;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 1px 1px 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s;
    font-size: 12px;
    font-family: 'pretendard-bold';
    color: #fff;
    height: 11vw;
    border-radius: 4.865vw 0 0 4.865vw;;
  }

  .toggle-btn._surgery {
    background: linear-gradient(150deg, rgba(139, 107, 164, 1) 0%, rgba(144, 125, 203, 1) 35%, rgba(134, 101, 143, 1) 100%);
  }
  
  .toggle-btn._obgy {
    background: linear-gradient(150deg, rgba(164,132,107,1) 0%, rgba(200,152,116,1) 35%, rgba(153,116,87,1) 100%);
  }
}

@media (max-width: 1024px) {
  /* ======== 페이지 전환 버튼 ======== */
  .floating .change-page-toggle {
    display: flex;
    flex-direction: column;
    gap: 1.5vw;
  }
  
  .change-page-toggle.pc {
    display: none;
  }
  
  .toggle-btn {
    max-width: 90px;
    max-height: 55px;
    background-color: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 1px 1px 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s;
    font-size: 12px;
    font-family: 'pretendard-bold';
    color: #fff;
    height: 11vw;
    border-radius: 4.865vw 0 0 4.865vw;
  }
  
  .toggle-btn._surgery {
    background: linear-gradient(150deg, rgba(139, 107, 164, 1) 0%, rgba(144, 125, 203, 1) 35%, rgba(134, 101, 143, 1) 100%);
  }
  
  .toggle-btn._obgy {
    background: linear-gradient(150deg, rgba(164, 132, 107, 1) 0%, rgba(200, 152, 116, 1) 35%, rgba(153, 116, 87, 1) 100%);
  }
}

@media (min-width: 470px) and (max-width: 767px) {
  .floating .float-item,
  .toggle-btn {
    width: 7.5vw;
    height: 45px;
  }

  .floating .float-item img {
    width: max(4vw, 26px);
  }

  .floating .float-item.blog img {
    left: 2vw;
  }

  .floating .float-item.ins img {
    width: 3.4vw;
    left: 2.25vw;
  }

  .floating .float-item.youtube img,
  .floating .float-item.kakao img {
    left: 2vw;
  }

  .floating .float-item.top img {
    left: 2vw;
  }

  .toggle-btn {
    height: 45px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .floating .float-item,
  .toggle-btn {
    width: 8.521vw;
    height: 6.892vw;
    min-width: 68px;
    min-height: 55px;
  }

  .floating .float-item img {
    width: 3.8vw;
  }

  .floating .float-item.blog img {
    left: 1.885vw;
  }

  .floating .float-item.ins img,
  .floating .float-item.x img,
  .floating .float-item.fb img,
  .floating .float-item.line img {
    width: 3.5vw;
    left: 1.938vw;
  }

  .floating .float-item.jpn span {
    left: 1.938vw;
  }

  .floating .float-item.youtube img,
  .floating .float-item.kakao img {
    left: 1.781vw;
  }

  .floating .float-item.top img {
    left: 1.8vw;
  }

  .toggle-btn {
    font-size: 16px;
    align-items: flex-start;
    padding-left: 23px;
  }
}