/* ============= 공통스타일 ============= */
input {
  border: 1px solid var(--color-gary100);
  color: var(--color-black);
  border-radius: 50px;
  height: max(45px, 2.604vw);
  padding: 0 15px;

  @media screen and (min-width: 1921px) {
    height: 50px;
  }
}

input:focus,
textarea:focus {
  border: 2px solid #AF9F8E;
}

.flex-column {
  display: flex; 
  flex-direction: column;
}

.sub_contents {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 5.208vw; 

  @media screen and (min-width: 1921px) {
    padding-bottom: 100px;
  }
}

/* ============= END 공통스타일 ============= */

/* ============= 의료진소개(sub1-1.php) ============= */
@media screen and (min-width: 1921px) {
  #sub1_1 {
    width: 1920px;
    margin: 0 auto;
  }
}

#sub1_1 p,
#sub1_1 h1,
#sub1_1 span {
  letter-spacing: -1px;
}

#sub1_1 .main_w {
  width: 100%;
  height: 70.9rem;
  max-width: 1100px;
  margin: 0 auto;
}

#sub1_1 .main_w-wrapper {
  flex-direction: column;
  gap: 16.6rem;
  margin: 16.6rem 0;
}

#sub1_1 .main_w .main_w-inner {
  height: 100%;
}

#sub1_1 .main_w .img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#sub1_1 .main_w .img-container img {
  width: auto;
  height: 100%;
}

#sub1_1 .intro_box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 55rem;
  height: 100%;
  background-color: #F1F2F2;
  padding: 0 6.6rem; 
  vertical-align: bottom;
}

#sub1_1 .intro_box-inner {
  min-height: 523px;
}

#sub1_1 .name-wrap {
  margin-top: .9rem;
  margin-bottom: 3.1rem;
}

#sub1_1 .name {
  font-size: 4.3rem;
  font-family: 'pretendard-bold';
  margin-right: 9px;
}

#sub1_1 .position,
#sub1_1 .intro_box .doc-title {
  font-size: 2.1rem;
  line-height: 1;
}

#sub1_1 .position {
  font-family: 'pretendard-regular';
  color: #84385A;
}

#sub1_1 .intro_box .doc-title{
  margin: 20px 0;
  font-family: 'pretendard-bold';
  color: #84385A;
}

#sub1_1 .text {
  font-size: 2.1rem;
  line-height: 1.9;
}

@media screen and (max-width: 690px) {
  #sub1_1 .main_w-inner {
    flex-direction: column;
  }
  
  .sub_head .title-container {
    width: 100%;

    & h1 {
      font-size: 6.5rem;
    }
  }
  
  #sub1_1 .main_w-wrapper {
    width: 80%;
    margin: 12.6rem auto;
  }

  #sub1_1 .main_w {
    height: fit-content;
  }
  
  #sub1_1 .main_w .img-container img {
    width: 100%;
  }
  
  #sub1_1 .intro_box {
    padding: 5rem 3rem;
    width: 100%;
  }
  
  #sub1_1 .intro_box-inner {
    min-height: fit-content;
  }
}

@media screen and (min-width: 691px) and (max-width: 1024px) {
  #sub1_1 .intro_box {
    padding-left: 3rem;
  }
}



/* ============= END 의료진소개(sub1-1.php) ============= */

/* =================== 둘러보기(sub1-2.php) =================== */
#sub1_2 .sub_item {
  width: 33%;
  height: auto;
}

@media screen and (min-width: 1921px) {
  #sub1_2 {
    width: 1920px;
    margin: 0 auto;
  }
  
}

/* =================== 진료시간/오시는길(sub1-3.php) =================== */
#sub_head_3 {
  justify-content: center;
}

#sub1_3 .contents_wrap {
  width: 100%;
  max-width: 1200px;
}

#sub1_3 .contents_wrap .visual-img  {
  width: 52%;
  height: 100%;
  object-fit: cover;
}

#sub1_3 .contents_wrap .info-wrap {
  width: 510px;
  height: 100%;
  padding: 1.563vw 0 1.563vw 3.646vw;
  
  @media screen and (min-width: 1921px) {
    padding: 30px 0 30px 70px;
  }
}

#sub1_3 .sub_icon {
  width: 1.5vw;
  height: auto;
  min-width: 20px;
  min-height: 20px;

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

#sub1_3 .sub_icon.loca {
  margin-right: 2vw;

  @media screen and (min-width: 1921px) {
    margin-right: 38.4px;
  }
}

#sub1_3 h1 {
  margin-left: 1vw;
  font-size: max(1.563vw, 18px);
  line-height: 35px;
  font-family: 'pretendard-bold';

  @media screen and (min-width: 1921px) {
    font-size: 30px;
  }
}
#sub1_3 h3 {
  margin-left: 0.625vw;
  font-size: max(16px, 1.094vw);
  line-height: 35px;
  font-family: 'pretendard-regular';

  @media screen and (min-width: 1921px) {
    font-size: 21px;
  }
}

#sub1_3 h2 {
  font-size: max(1.354vw, 18px);
  line-height: 42px;
  font-family: 'pretendard-bold';

  @media screen and (min-width: 1921px) {
    font-size: 26px;
  }
}

#sub1_3 h4 {
  margin-left: 0.625vw;
  font-size: max(1.354vw, 18px);
  line-height: 42px;
  font-family: 'pretendard-medium';
  letter-spacing: -1.5px;

  @media screen and (min-width: 1921px) {
    margin-left: 12px;
    font-size:26px;
  }
}

#sub1_3 label {
  width: 61.9px;
  height: 32px;
  max-width: 69.9px;
  margin-right: 1.667vw;
  font-size: max(16px, 1.042vw);
  line-height: 32px;
  font-family: 'pretendard-bold';
  text-align: justify;

  @media screen and (min-width: 1921px) {
    margin-right: 32px;
    font-size: 20px;
  }
}

#sub1_3 label::after {
  content: "";
  display: inline-block;
  width: 100%;
}

#sub1_3 span {
  font-size: max(16px, 1.042vw);
  line-height: 32px;

  @media screen and (min-width: 1921px) {
    font-size: 20px;
  }
}

#sub1_3 p {
  font-size: max(0.9vw,13px);
  line-height: 32px;

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

#sub1_3 p.infp-txt {
  display: flex;
  padding: 1.042vw 0 1.667vw 0;
  border-bottom: 1px solid #ccc;
  
  @media screen and (min-width: 1921px) {
    padding: 20px 0 32px 0;
  }
}

#sub1_3_map {
  margin-top: 1.292vw;

  @media screen and (min-width: 1921px) {
    margin-top: 30px;
  }
}

#sub1_3_map .map-container {
  display: flex;
  width: 100%;
  height: 27vw;

  @media screen and (min-width: 1921px) {
    height: 518.4px;
  }
}

#sub1_3_map .add-container {
  width: 100%;
  height: 13.021vw;
  justify-content: center;
  border: 1px solid #ccc;

  @media screen and (min-width: 1921px) {
    height: 250px
  }
}   

.nosepage .add-container .number-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#sub1_3_map .add-wrap h5 {
  font-size: 1.3vw;

  @media screen and (min-width: 1921px) {
    font-size: 25px;
  }
}

.nosepage .info-wrap .schedule {
  margin-top: 0.938vw;
  
  @media screen and (min-width: 1921px) {
    margin-top: 18px;
  }
}

.info-wrap .call-center {
  margin-top: 1.667vw;
  flex: 1;
  
  @media screen and (min-width: 1921px) {
    margin-top: 32px;
  }
}

.nosepage .info-wrap .call-center .number {
  margin-top: 18px;
}

#sub1_3 .copy {
  display: flex;
  margin-top: 18px;
}

@media (max-width: 767px) {
  #sub1_2 .sub_item {
    width: 100%;
    height: auto;
    margin-top: 50px;
  }

  #sub1_3 .contents_wrap > div {
    flex-direction: column;
  }

  #sub1_3 .contents_wrap .visual-img {
    width: 100%;
    height: auto;
  }

  #sub1_3 .contents_wrap .info-wrap {
    padding: 8vw;
    width: 100%;
    height: auto;
  }

  #sub1_3 h4 {
    margin-left: 1.625vw;
  }

  #sub1_3 p {
    line-height: 40px;
  }

  #sub1_3 label {
    margin-right: 3vw;
  }

  #sub1_3_map {
    padding: 0 8vw;
  }

  #sub1_3_map .call-center {
    margin-top: 5vw;
  }
  
  #sub1_3_map .map-container {
    height: 57vw;
  }

  #sub1_3_map .add-container {
    padding: 2vw;
    border: none;
    height: auto;
  }

  #sub1_3 .sub_icon.loca {
    width: 1.719vw;
    height: auto;
  }

  #sub1_3 .copy {
    margin-top: 0;
  }
}

@media (max-width: 690px) {
  #sub1_3_map .add-wrap h5 {
    font-size: 3.8vw;
  }
}

@media (min-width: 691px) and (max-width: 767px) {
  #sub1_3 h1 {
    font-size: 22px;
  }
            
  #sub1_3 label {
    font-size: 22px;
    width: 69.9px;
  }

  #sub1_3 span {
    font-size: 24px;
  }

  #sub1_3 p {
    font-size: 18px;
  }

  .info-wrap .call-center {
    margin-top: 5.667vw;
  }

  #sub1_3 h2 {
    font-size: 28px;
  }

  #sub1_3_map .add-wrap h5 {
    font-size: 22px;
  }

  #sub1_3 h4 {
    font-size: 28px;
  }
}

@media (min-width: 768px) {
  #sub1_3 .contents_wrap > div {
    padding: 50px;
  }
}