@media (min-width: 0px) and (max-width: 1280px) {
  .doc1_img {
    left: 0%;
    flex-shrink: 0;
  }
  .doc_bg .container {
    max-width: auto;
    gap: 0rem;
    padding: 3rem 0rem;
  }
  .doc1_ul {
    gap: 20px;
  }
  .doc_bg {
    margin-right: 2.5%;
    padding-left: 2.5%;
  }
  .doc_bg::before {
    left: calc(50% + 480px);
  }
  .doc1_img {
    bottom: 234px;
  }
  .doc_bg .doc2_img {
    bottom: 260px;
  }
  .doc_bg_logo {
    left: 0;
  }
  .clinicBox {
    width: 23vw;
  }
  .doc1_txt {
    font-size: 1.8rem;
  }
}
@media (min-width: 0px) and (max-width: 1080px) {
  .time i {
    width: 30%;
  }
  .doc_bg .container {
    flex-direction: column;
    height: auto;
    justify-content: center;
    align-items: center;
    gap: 3rem;
  }
  /* #docbg1{
    margin-bottom: 10rem;
  } */
  .doc1_img {
    width: 40%;
    top: 0px;
    flex-shrink: 1;
  }

  .doc_bg::before {
    display: none;
  }
  .doc_bg_logo {
    top: 5%;
    left: 40%;
    transform: translateX(-50%);
    width: 45vw;
    height: 45vw;
  }
  h3 {
    text-align: center;
  }
  .clinic {
    gap: 10px;
  }
  .clinicBox .title_txt {
    font-size: 3.8vw;
  }
  .clinicBox span {
    font-size: 2.5vw;
  }
  .clinic_left::after {
    border-radius: 80px;
  }
  .clinic_wrap,
  .clinic_wrap.reverse {
    gap: 30px;
  }
  .clinic_right span {
    font-size: 2.3rem;
    line-height: 3.5rem;
  }
  h5 {
    font-size: 3.2rem;
  }
  .clinic_right {
    margin-top: 100px;
  }
  .clinic_right.reverse_right {
    margin-top: 220px;
  }
  .spacer {
    height: 3rem;
  }
}
@media (min-width: 0px) and (max-width: 900px) {
  .way_box1Top,
  .way_box1Bottom {
    font-size: 2.4rem;
  }
  .time_small,
  .time_small_m {
    font-size: 1.7rem;
  }
  .intro_txt_wrap {
    width: 90%;
  }
  .clinic_left::after {
    border-radius: 70px;
  }
  h4 {
    font-size: 3rem;
  }
  .way_park_imgbox {
    object-fit: contain;
    height: 220px;
  }
  .way_box .box2Bottom,
  .way_box1Bottom {
    height: fit-content;
  }
}
@media (min-width: 0px) and (max-width: 768px) {
  .way {
    background: none;
  }
  .way_flex_wrap {
    display: flex;
    /* flex-direction: column; */
    width: 95%;
  }
  .location_wrap > div {
    flex-wrap: wrap;
  }
  .way_box h4 {
    text-align: center;
  }
  .time,
  .way_grey {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .time li {
    width: 100%;
  }
  .way_grey li {
    width: 100%;
    text-align: center;
  }
  .way_box .way_box1Bottom,
  .box2Bottom {
    height: fit-content;
  }
  .intro_txt_wrap .intro_top {
    padding: 1rem 2rem;
    font-size: 5.3vw;
    line-height: 9vw;
  }
  .doc1_img {
    width: 50%;
  }
  .doc1_txt {
    font-size: 3vw;
  }
  .clinic > div .clinicBox {
    padding: 3rem 0rem;
    margin: 0 auto;
  }
  .clinicBox span {
    font-size: 3.5vw;
    line-height: 5vw;
  }
  .clinic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .clinicBox {
    height: 455px;
  }
  .clinicBox .title_txt {
    font-size: 5vw;
    line-height: 5.5vw;
  }
  .clinicLine {
    display: none;
  }
  .clinic_left::after {
    border-radius: 50px;
  }
  .clinic_right {
    margin-top: 65px;
  }
  .clinic_right.reverse_right {
    margin-top: 160px;
  }
  .clinic_right span {
    font-size: 2rem;
    line-height: 3rem;
  }
  .reveal-text {
    overflow: visible;
    white-space: normal;
    width: auto;
  }
  .reveal-text3 {
    min-width: 130px;
  }
  .clinicTheraphy.clinic01::after {
    top: 43%;
  }
  .clinicTheraphy::after {
    top: 41%;
  }
  .gallery {
    padding-top: 80px !important;
  }
  .spacer {
    display: none;
  }
  .way_park_wrap ul {
    display: flex;
    width: 100%;
    gap: 15px;
  }
  .time_small,
  .way_park_a_wrap .click {
    display: none;
  }
  .time_small_m,
  .way_park_a_wrap_m .click {
    display: flex;
    align-items: center;
  }
  .time_small_wrap {
    display: flex;
    flex-direction: column;
  }
  .way_park_wrap ul {
    flex-direction: column;
    justify-content: center;
  }
  .way_box .box2Bottom {
    height: 550px;
  }
  .way_park_imgbox {
    height: 260px;
  }
  .way_park_wrap .parkimg_li {
    width: 100%;
    text-align: center;
  }
  .doc_bg {
    margin-bottom: 5vw;
  }
}
@media (min-width: 0px) and (max-width: 670px) {
  .clinic_wrap,
  .clinic_wrap.reverse {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
  }
  .clinic_left::after {
    border-radius: 6.5rem;
  }
  h4 {
    font-size: 4vw;
    line-height: 5.3vw;
  }
  .clinic_right span {
    font-size: 2.2rem;
    line-height: 3.5rem;
  }
}
@media (min-width: 0px) and (max-width: 500px) {
  .way_box {
    /* padding: 3vw; */
  }

  .way_box1Top {
    height: auto;
    /* justify-content: center; */
    font-size: 6vw;
    /* padding: 2rem 1rem; */
  }
  .way_box1Top img {
    width: 20px;
  }
  .way_box1Top,
  .way_box1Bottom {
    font-size: 5vw;
  }
  .time_small,
  .time_small_m {
    font-size: 4vw;
  }
  .click::before {
    width: 20px;
    height: 25px;
  }
  h2 {
    font-size: 8vw;
    margin-top: 3rem;
  }
  h2::before {
    width: 40px;
  }
  h3 {
    font-size: 5vw;
  }
  h3 i {
    font-size: 6vw;
  }
  .way_box1Bottom {
    /* height: 350px; */
    padding: 3rem 3rem;
  }
  .gallery .swiper-slide .text {
    margin-bottom: 0px;
  }

  .intro_txt_wrap span {
    font-size: 4vw;
    line-height: 6vw;
  }
  .intro_txt_wrap .intro_span_bold {
    font-size: 4.2vw;
    line-height: 6.7vw;
  }
  .intro_txt_wrap > div {
    gap: 30px;
  }
  .doc1_txt {
    font-size: 1.5rem;
  }
  .doc1_ul {
    flex-direction: column;
  }
  .doc_bg_logo {
    width: 60vw;
    height: 60vw;
  }
  /* .doc_bg{
  margin-bottom: 5rem;
  } */
  .clinicBox span {
    font-size: 4.5vw;
    line-height: 6.5vw;
  }
  .clinic {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .clinicBox {
    height: 430px;
  }
  .clinicBox .title_txt {
    line-height: 8vw;
    font-size: 7.5vw;
  }
  .thumb {
    width: 116.25px;
    height: 102px;
  }
  .thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }
  .clinic_right {
    margin-top: 30px;
  }
  .clinic_right.reverse_right {
    margin-top: 50px;
  }
  .clinicLine {
    display: none;
  }
  h4 {
    font-size: 4.2vw;
    line-height: 6.3vw;
  }
  .clinic_wrap,
  .clinic_wrap.reverse {
    width: 90%;
  }
  .clinic_left::after {
    border-radius: 5.5rem;
  }
  .clinic_right span {
    font-size: 4.5vw;
    line-height: 6.5vw;
  }
  .time li:first-child {
    font-size: 6vw;
  }
  .doc_bg .container {
    align-items: inherit;
  }
  .doc1_img,
  .doc2_img {
    margin: 0 auto;
  }
  .clinicTheraphy.clinic01::before,
  .clinicTheraphy.clinic02::before,
  .clinicTheraphy.clinic03::before,
  .clinicTheraphy.clinic04::before {
    height: 65%;
  }
  .clinicTheraphy::after,
  .clinicTheraphy.clinic01::after {
    top: 0%;
  }
}
@media (min-width: 0px) and (max-width: 450px) {
  .clinicBox {
    height: 380px;
  }
  .way_box1Bottom,
  .box2Bottom,
  .way_box .box2Bottom {
    /* height: 300px; */
  }
  .reveal-text3 {
    min-width: 100px;
  }
  .way_box .way_box1Bottom,
  .box2Bottom {
    height: fit-content;
  }

  .clinicBox {
    height: 350px;
  }
  .thumb {
    width: 120px;
    height: 70px;
  }
  .gallery .swiper-wrapper .swiper-slide {
    padding: 10px 10px !important;
    height: 300px !important;
  }
  .gallery .swiper-slide img {
    height: 180px !important;
  }
  .map_wrap {
    height: 300px;
    min-height: 300px;
  }
  h5::before {
    width: 25px;
    height: 25px;
  }
  h5 {
    font-size: 2.8rem;
  }
  .intro_logo {
    width: 150px;
    margin: 0 auto;
  }
  .way_box .box2Bottom {
    height: 420px;
  }
  .way_park_wrap ul {
    gap: 0px;
  }
  .way_park_imgbox {
    height: 200px;
  }
}
@media (min-width: 0px) and (max-width: 365px) {
  h2::after {
    font-size: 1rem;
  }

  h5 {
    font-size: 2.5rem;
  }

  .clinic_right {
    margin-top: 10px;
  }
  .clinic_right.reverse_right {
    margin-top: 10px;
  }
  .clinicBox {
    height: 310px;
  }
  .clinic > div .clinicBox {
    padding: 2rem 0rem;
  }
  .way_park_imgbox {
    height: 180px;
  }
  .way_box .box2Bottom {
    height: 350px;
  }
  .way_park_imgbox {
    height: 160px;
  }
}
