/* 의정부탑정형외과 - 수족클리닉 */
#headache {
  padding-top: 8rem;
  padding-bottom: 3.5rem;
}
#headache .btns {
  margin: 0 auto;
  max-width: 1400px;
  display: flex;
  justify-content: center;
  padding: 4.8rem 0;
}
#headache .btns li {
  position: relative;
  cursor: pointer;
  width: 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}
#headache .btns li.active {
  font-weight: 800;
  color: #a48b78;
}
#headache .btns li:not(:last-child)::after {
  content: "";
  display: block;
  position: absolute;
  background-color: #877263;
  width: 2px;
  height: 4.2rem;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
#headache .headache-swiper {
  position: relative;
  overflow: hidden;
}
#headache .headache-swiper .swiper-slide .box-wrap {
  background-color: #f8f8f8;
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
}
#headache .headache-swiper .swiper-slide .box-wrap .figure {
  height: 64.3rem;
  overflow: hidden;
}
#headache .headache-swiper .swiper-slide .box-wrap .figure img {
  filter: blur(12.5px);
  opacity: 1;
  transform: scale(1.2);
  transition: all 1.75s ease 0.4s;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
#headache .headache-swiper .swiper-slide .box-wrap .figure img.blur {
  filter: blur(0px);
  opacity: 1;
  transform: scale(1);
}
#headache .headache-swiper .swiper-slide .box-wrap .txt {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
#headache .headache-swiper .swiper-slide .box-wrap .txt .icon {
  margin-bottom: 4rem;
}
#headache .headache-swiper .swiper-slide .box-wrap .txt .cmt1 {
  padding-bottom: 2.5rem;
}
#headache .headache-swiper .swiper-slide .box-wrap .txt .cmt2 {
  font-size: 4rem;
  padding-bottom: 1.5rem;
}
#headache .headache-swiper .swiper-slide .box-wrap .txt .sub-icon-wrap {
  margin-top: 6rem;
  display: flex;
}
#headache .headache-swiper .swiper-slide .box-wrap .txt .sub-icon-wrap li {
  text-align: center;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2.85rem;
}
#headache .headache-swiper .swiper-slide .box-wrap .txt .sub-icon-wrap li .sub-icon {
  height: 5.4rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
#headache .headache-swiper .swiper-pagination {
  width: unset;
  height: 4.2rem;
  border-radius: 20px;
  background-color: #a48b78;
  position: absolute;
  top: 28px;
  padding: 0 20px;
  left: unset;
  right: 27px;
  color: #fff;
  font-size: 1.8rem;
  letter-spacing: -0.05em;
  font-weight: 800;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  line-height: 1;
}

@media (max-width: 1279px) {
  #headache .btns {
    padding: 3rem 0;
  }
  #headache .btns li {
    text-align: center;
    gap: 4rem;
  }
  #headache .btns li img {
    width: 20px;
  }
  #headache .btns li:first-child {
    padding: 0 20px;
  }
  #headache .btns li:nth-of-type(2) {
    padding: 0 20px;
  }
  #headache .btns li:last-child {
    padding: 0 20px;
  }
  #headache .btns li:not(:last-child)::after {
    height: 4rem;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .figure {
    height: 500px;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .icon {
    transform: scale(0.8);
    transform-origin: left bottom;
  }
  #headache .headache-swiper .swiper-pagination {
    top: 20px;
    right: 20px;
  }
}
@media (max-width: 767px) {
	br.brl{display: none;}
  #headache {
    padding-top: 4rem;
  }
  #headache .btns {
    padding: 2.3rem 0;
  }
  #headache .btns li:not(:last-child)::after {
    height: 3rem;
  }
  #headache .btns li:first-child {
    padding: 0 15px;
  }
  #headache .btns li:nth-of-type(2) {
    padding: 0 15px;
  }
  #headache .btns li:last-child {
    padding: 0 15px;
  }
  #headache .headache-swiper .swiper-slide .box-wrap {
    overflow: hidden;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column-reverse;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .figure {
    overflow: hidden;
    margin: 4rem 10px 10px 10px;
    display: flex;
    justify-content: center;
    height: unset;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .figure img {
    max-width: 500px;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt {
    padding-top: 2rem;
    transform: none;
    top: unset;
    width: 100%;
    left: unset;
    position: relative;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .icon {
    margin-bottom: 2.5rem;
    transform: scale(0.65);
    transform-origin: left bottom;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .cmt1 {
    padding-bottom: 2.5rem;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .cmt2 {
    font-size: 3.6rem;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .cmt3 {
    font-size: 1.7rem;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .cmt3 b {
    display: inline;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .sub-icon-wrap {
    margin-top: 4rem;
    justify-content: flex-start;
    margin-left: -10px;
    margin-right: -10px;
    gap: 5px;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .sub-icon-wrap li {
    width: unset;
    height: unset;
    padding: 0;
    flex: 1;
    white-space: unset;
    font-size: 1.7rem;
    padding-bottom: 5px;
  }
  #headache .headache-swiper .swiper-slide .box-wrap .txt .sub-icon-wrap li .sub-icon {
    transform: scale(0.75);
    transform-origin: center bottom;
  }
  #headache .headache-swiper .swiper-pagination {
    width: unset;
    padding: 0 1rem;
    height: 3.8rem;
    top: 15px;
    right: 15px;
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  #headache .headache-swiper .swiper-slide .box-wrap .txt .cmt3 br {
    display: none;
  }
}