@charset "utf-8";

.lite_main {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.section_area {
  position: relative;
}

.img_section {
  position: relative;
  min-height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
}

.img_section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .28);
}

.section_title {
  position: relative;
  z-index: 1;
  color: #fff;
}

.section_title p {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.section_title h2 {
  margin: 0;
  font-size: 62px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.05em;
}

.section_clinic,
.section_doctor,
.section_interior,
.section_location {
  z-index: 2;
  margin-top: -1px;
  background: #f7f9f6;
}

.clinic_sections,
.doctor_sections,
.interior_sections,
.location_sections {
  padding: 130px 0;
}

.content_title {
  margin-bottom: 52px;
}

.content_title p {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: #52babb;
}

.content_title h2 {
  margin: 0;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.04em;
  color: #111;
}

.clinic_section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.main_clinic_item {
  display: block;
  min-height: 260px;
  padding: 36px 30px;
  border-radius: 28px;
  background: #fff;
  color: #111;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(20, 40, 50, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.main_clinic_item:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(20, 40, 50, .13);
}

.main_clinic_icon {
  display: flex;
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: #effafa;
  align-items: center;
  justify-content: center;
}

.main_clinic_icon img {
  max-width: 60px;
  max-height: 60px;
}

.main_clinic_item strong {
  display: block;
  margin-bottom: 14px;
  font-size: 25px;
  font-weight: 800;
}

.main_clinic_item em {
  display: block;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #666;
  word-break: keep-all;
}

.doctor_sections {
  padding-bottom: 100px;
}

.section_doctor {
  background: #fff;
}

.doctor_intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  min-height: 620px;
  align-items: end;
}

.doctor_intro_content {
  position: relative;
  z-index: 2;
  padding: 0 0 42px;
}

.doctor_intro_title {
  margin-bottom: 26px;
}

.doctor_intro_title p {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: #8a9499;
  letter-spacing: -.02em;
}

.doctor_intro_title h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.05em;
  color: #111;
}

.doctor_intro_desc {
  margin: 0 0 120px;
  font-size: 18px;
  line-height: 1.8;
  color: #111;
  word-break: keep-all;
}

.doctor_history {
  position: relative;
}

.doctor_history>strong {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-width: 236px;
  height: 42px;
  padding: 0 34px;
  border-radius: 10px 10px 0 0;
  background: #52babb;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 42px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.doctor_history_line {
  height: 1px;
  margin-top: -1px;
  background: #52babb;
}

.doctor_history_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  padding-top: 14px;
}

.doctor_history_grid ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.doctor_history_grid li {
  position: relative;
  padding-left: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #111;
  word-break: keep-all;
}

.doctor_history_grid li::before {
  content: "·";
  position: absolute;
  top: 0;
  left: 0;
  color: #111;
}

.doctor_history_grid b {
  font-weight: 800;
}

.doctor_intro_visual {
  position: relative;
  min-height: 620px;
  align-self: stretch;
}

.doctor_visual_img {
  position: absolute;
  right: 0;
  bottom: -100px;
  z-index: 1;
  width: min(687px, 100%);
}

.doctor_visual_img img {
  display: block;
  width: 100%;
  height: auto;
}

.doctor_name_card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  width: min(570px, 100%);
  min-height: 70px;
  padding: 0 42px;
  border-radius: 18px;
  background: #52babb;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 18px 45px rgba(82, 186, 187, .2);
}

.doctor_name_card strong {
  margin-right: 16px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.doctor_name_card span {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}

.interior_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.interior_item {
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 4 / 3;
  background: #e8efef;
}

.interior_item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location_map {
  height: 520px;
  border-radius: 36px;
  background: #dfe9e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  font-size: 20px;
  font-weight: 700;
}

.location_map .root_daum_roughmap_landing {
  width: 100% !important;
  height: 100% !important;
}

.location_map .root_daum_roughmap .wrap_map {
  height: 520px !important;
}


.location_info {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 40, 50, .08);
}

.location_info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #52babb;
}

.location_info p {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.location_btn {
  display: inline-flex;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: #52babb;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  align-items: center;
  justify-content: center;
}

/* 진료과목 모달 추가 CSS */
body.is-clinic-modal-open {
  overflow: hidden;
}

.clinic_modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  padding: 24px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.clinic_modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.clinic_modal_dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .58);
}

.clinic_modal_box {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 46px;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .24);
  box-sizing: border-box;
  transform: translateY(18px);
  transition: transform .25s ease;
}

.clinic_modal.is-open .clinic_modal_box {
  transform: translateY(0);
}

.clinic_modal_close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f1f5f5;
  cursor: pointer;
}

.clinic_modal_close::before,
.clinic_modal_close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #111;
}

.clinic_modal_close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.clinic_modal_close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.clinic_modal_head {
  padding-right: 50px;
}

.clinic_modal_head p {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #52babb;
}

.clinic_modal_head h3 {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.04em;
  color: #111;
}

.clinic_modal_body {
  margin-top: 30px;
}

.clinic_modal_body>p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  color: #444;
  word-break: keep-all;
}

.clinic_modal_point {
  margin-top: 28px;
  padding: 24px;
  border-radius: 22px;
  background: #effafa;
}

.clinic_modal_point strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 800;
  color: #168f91;
}

.clinic_modal_point p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  word-break: keep-all;
}

.clinic_modal_list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.clinic_modal_list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border-radius: 16px;
  background: #f8faf9;
  font-size: 16px;
  line-height: 1.55;
  color: #444;
}

.clinic_modal_list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52babb;
}

@media (max-width: 1199px) {
  .section_title h2 {
    font-size: 50px;
  }

  .clinic_section {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctor_intro {
    grid-template-columns: 1fr;
    gap: 50px;
    min-height: auto;
  }

  .doctor_intro_content {
    padding: 0;
  }

  .doctor_intro_desc {
    margin-bottom: 70px;
  }

  .doctor_intro_visual {
    min-height: 560px;
  }

  .doctor_visual_img {
    right: 50%;
    bottom: -80px;
    width: min(460px, 88%);
    transform: translateX(50%);
  }

  .doctor_name_card {
    right: 50%;
    width: min(560px, 100%);
    transform: translateX(50%);
  }

  .interior_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location_info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .container {
    width: calc(100% - 32px);
  }

  .img_section {
    min-height: 82vh;
    background-attachment: scroll;
  }

  .section_title h2 {
    font-size: 36px;
  }

  .section_title p {
    font-size: 15px;
  }

  .clinic_sections,
  .doctor_sections,
  .interior_sections,
  .location_sections {
    padding: 80px 0;
  }

  .content_title h2 {
    font-size: 32px;
  }

  .clinic_section,
  .interior_grid {
    grid-template-columns: 1fr;
  }

  .main_clinic_item {
    min-height: auto;
    padding: 30px 26px;
  }

  .doctor_intro {
    gap: 34px;
  }

  .doctor_intro_title h2 {
    font-size: 36px;
  }

  .doctor_intro_title p {
    font-size: 13px;
  }

  .doctor_intro_desc {
    margin-bottom: 54px;
    font-size: 16px;
  }

  .doctor_history>strong {
    min-width: 190px;
    height: 40px;
    padding: 0 22px;
    font-size: 19px;
    line-height: 40px;
  }

  .doctor_history_grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .doctor_history_grid li {
    font-size: 15px;
  }

  .doctor_intro_visual {
    min-height: 460px;
  }

  .doctor_visual_img {
    bottom: -80px;
    width: min(360px, 92%);
  }

  .doctor_name_card {
    min-height: 60px;
    padding: 0 22px;
    border-radius: 14px;
  }

  .doctor_name_card strong {
    margin-right: 10px;
    font-size: 28px;
  }

  .doctor_name_card span {
    font-size: 14px;
  }

  .location_map {
    height: 360px;
    border-radius: 24px;
  }

  .location_info {
    padding: 24px;
  }

  .clinic_modal {
    padding: 16px;
  }

  .clinic_modal_box {
    max-height: calc(100vh - 32px);
    padding: 34px 24px 28px;
    border-radius: 26px;
  }

  .clinic_modal_close {
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
  }

  .clinic_modal_head h3 {
    font-size: 32px;
  }

  .clinic_modal_body>p {
    font-size: 16px;
  }
}