br {
  display: block;
}
/* main common */
section.section .cont {
  margin: 100px auto;
}
.grid {
  display: grid;
}
.grid.col2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid.col3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid.col5 {
  grid-template-columns: repeat(5, 1fr);
}

.section_title {
  margin-bottom: 50px;
  color: #000;
  font-size: 38px;
  font-weight: 600;
}
h2.section_title.line {
  position: relative;
  margin-bottom: 60px;
  font-size: 28px;
  text-align: center;
}
h2.section_title.line:before {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  display: inline-block;
  width: 100%;
  border-top: 1px solid #000;
  vertical-align: middle;
  content: "";
}
h2.section_title.line span {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 0 40px;
  background: #fff;
}

.text_center {
  text-align: center;
}

.section_small_title span {
  display: inline-block;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 8px 20px;
  color: var(--pointColor);
  border: 1px solid var(--pointColor);
  border-radius: 25px;
  background: var(--smtitbackground);
  font-size: 14px;
  font-weight: 400;
}

/* main */
.mainbanner_wap {
  position: relative;
}
.mainbanner_wap p {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
}
.mainbanner_wap img {
  width: 100%;
}
/* section1 */
.section1 .cont a {
  display: block;
  padding: 19px 0;
  color: #fff;
  border-radius: 50px;
  background: var(--pointColor);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}
.section1 .cont .naver {
  background: #03c75a;
}
.section1 .cont a.kakao {
  color: #000;
  background: #fee500;
}
.section1 .cont p {
  margin-top: 120px;
  font-size: 24px;
  text-align: center;
}
.section1 .cont .grid {
  column-gap: 20px;
}
/* section2 */
.sec2_item {
  display: block;
  text-align: center;
}

.sec2_item img,
.sec2_item svg {
  display: block;
  margin: 0 auto;
}
.sec2_item svg {
  /* SVG 원본은 68x65 — 기존 PNG(≈120px)와 같은 표시 크기로 확대 (벡터라 선명) */
  height: 120px;
  width: auto;
}

.sec2_item .txb {
  margin-top: 20px;
}

.sec2_item .txb p {
  font-size: 24px;
  font-weight: 600;
}

.sec2_item .txb strong {
  font-size: 30px;
  font-weight: 700;
}

/* section3 */
section.section3.section {
  padding: 100px 0;
  background: #f7f7f7;
}
section.section3 .cont {
  margin: 0 auto;
}
section.section3 .section_title.line span {
  background: #f7f7f7;
}
section.section3 .grid {
  padding: 0 60px;
  column-gap: 30px;
}

/* ===== Section 4: 원장소개 ===== */
section.section4.section {
  background-image: url(https://cdn.withnatural.co.kr/branch-site/public/img/common/sec4_back.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.section4 .cont {
  margin: 100px auto;
}
.sec4_wrap {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}
.sec4_img img {
  display: block;
  width: 100%;
}
/* 모바일은 PC와 같은 원본(doctor.png)을 좁고 긴 비율로 CSS 크롭 — doctor_mo 슬롯 폐기 */
.mobile .sec4_img img {
  aspect-ratio: 240 / 456;
  object-fit: cover;
  object-position: center top;
}
.sec4_desc span {
  color: var(--pointColor);
}
.sec4_desc {
  margin-bottom: 20px;
  font-size: 22px;
  line-height: 1.5;
  word-break: keep-all;
}
.sec4_career {
  display: flex;
  flex-direction: column;
  margin: 40px 0;
  padding-top: 40px;
  border-top: 1px solid #000;
  list-style: none;
  gap: 8px;
}
.sec4_career li {
  position: relative;
}
.section4 .btn_more {
  display: inline-block;
  padding: 16px 32px;
  color: #fff;
  border-radius: 50px;
  background: var(--pointColor);
  font-weight: 700;
}

/* ===== Section 5: 리얼 후기 ===== */
section.section.section5 {
  padding: 100px 0;
  background: var(--sectionbackground);
}
section.section.section5 .cont {
  margin-top: 0;
}

.section5 .cont .grid {
  column-gap: 8px;
  row-gap: 12px;
}

.sec5_item img {
  display: block;
  width: 100%;
  max-width: 400px;
  max-height: 412px;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 10px;
}
p.ni {
  margin-top: 20px;
  font-size: 10px;
  font-weight: 100;
  text-align: right;
}

/* ===== Section 6: 원내시설 ===== */
section.section6 .cont {
  margin-bottom: 0;
}
section.section6 .swiper-slide {
  filter: opacity(0.5);
  /* 원본 이미지 폭이 슬라이드보다 좁아도 가운데 정렬 (왼쪽 치우침 방지) */
  display: flex;
  justify-content: center;
  align-items: center;
}
section.section6 .swiper-slide img {
  display: block;
  max-width: 100%;
}
section.section6 .swiper-slide.swiper-slide-active {
  filter: opacity(1);
}
section.section6 .swiper-container.kondae .swiper-slide {
  border-radius: 300px;
  overflow: hidden;
}
section.section6 .swiper-pagination {
  position: initial;
  margin: 48px 0 130px;
}
section.section6 .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 30px;
  background: var(--pointColor);
  opacity: 0.3;
}
section.section6 .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
/* ===== Section 7: 자주 묻는 질문 ===== */
section.section.section7 .cont {
  margin-top: 0;
}
.sec7_wrap {
  display: grid;
  align-items: start;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
/* FAQ */
li.faq_item {
  box-sizing: border-box;
  margin-bottom: 12px;
  border: 1px solid #000;
  border-radius: 15px;
}
.faq_q {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  padding: 20px 44px 20px 24px;
  border-radius: 15px 15px 0 0;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.faq_q::after {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  color: var(--pointColor);
  transition: transform 0.2s;
  content: "";
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.faq_item.active .faq_q::after {
  transform: translateY(-50%) rotate(-135deg);
  border-color: var(--pointColor);
}
.faq_item.active {
  border-color: var(--pointColor);
}
.faq_item.active button.faq_q {
  background: var(--activebackground);
  color: var(--pointColor);
}

.faq_a {
  display: none;
  padding: 20px 24px;
}
.faq_a p {
  color: #666;
  font-size: 14px;
  line-height: 1.85;
}
.faq_a span {
  color: var(--pointColor);
  font-weight: 500;
  margin-right: 4px;
}
.faq_item.active .faq_a {
  display: block;
}
/* 상담 폼 */
.sec7_form {
  padding: 30px 32px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--boxshadow);
  border: 1px solid var(--pointColor);
}
.sec7_form .grid {
  column-gap: 16px;
}
.form_title {
  margin-bottom: 24px;
  color: #222;
  font-size: 20px;
  font-weight: 700;
}
.form_group {
  margin-bottom: 14px;
}
.form_group label {
  display: block;
  margin-bottom: 6px;
  color: #333;
  font-weight: 400;
}
.form_group input,
.form_group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  outline: none;
}
.form_group input:focus,
.form_group textarea:focus {
  border-color: var(--pointColor);
}
.form_group textarea {
  resize: vertical;
}
.form_agree {
  margin-bottom: 14px;
  color: #666;
  font-size: 13px;
}
.form_agree input[type="checkbox"] {
  width: auto;
  margin-right: 6px;
  accent-color: var(--pointColor);
}
.form_agree a {
  color: var(--pointColor);
}
.btn_submit {
  width: 100%;
  padding: 15px;
  color: #fff;
  border: none;
  border-radius: 50px;
  background: var(--pointColor);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
/* 전화 CTA */
.sec7_phone_cta {
  margin-top: 50px;
  text-align: center;
}
.sec7_phone_cta p {
  margin-bottom: 16px;
  color: #555;
  font-size: 16px;
}
.btn_phone {
  display: inline-block;
  padding: 16px 40px;
  color: #fff;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 20px;
  font-weight: 600;
}

/* ===== Section 8: 오시는길 ===== */
.section8 {
  padding: 40px 0;
  background: #f7f7f7;
}
.section8 .cont {
  margin: 0 auto;
}

.sec8_wrap {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 1.7fr;
  gap: 40px;
}
.sec8_info_box {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border-radius: 16px;
  background: #fff;
  gap: 0;
}
.sec8_info_title {
  display: flex;
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 600;
  align-items: center;
}
.sec8_info_title img {
  width: 17px;
  margin-right: 8px;
}
.hours_table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: collapse;
}
.hours_table td {
  padding: 5px 0;
  font-size: 20px;
  font-weight: 400;
}
.hours_table td.time_pink {
  color: var(--pointColor);
  font-weight: 500;
  text-align: right;
}
.hours_table td.time_gray {
  font-weight: 400;
  color: #ef4444;
  font-size: 18px;
  text-align: right;
}
.hours_table span.time_ni {
  font-size: 12px;
  font-weight: 300;
}
.sec8_divider {
  margin-bottom: 20px;
  border-top: 1px solid #838383;
}
.sec8_contact {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  gap: 16px;
}
.sec8_contact p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sec8_contact p a,
.sec8_contact p span {
  font-size: 18px;
  font-weight: 500;
}
.sec8_contact p a::before {
  content: "전화상담";
  display: block;
  font-size: 12px;
}
.sec8_contact p span::before {
  content: "주소";
  display: block;
  font-size: 12px;
}
.sec8_btns {
  display: flex;
  gap: 12px;
}
.btn_kakao,
.btn_naver {
  display: block;
  flex: 1;
  padding: 12px 0;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.btn_kakao {
  color: #000;
  background: #fee500;
}
.btn_naver {
  color: #fff;
  background: #03c75a;
}
.sec8_map {
  overflow: hidden;
  min-height: 320px;
  border-radius: 16px;
}
.sec8_map > div,
.sec8_map .root_daum_roughmap_landing,
.sec8_map .root_daum_roughmap .wrap_map {
  height: 100% !important;
}
.sec8_map .root_daum_roughmap_landing,
.sec8_map .root_daum_roughmap .wrap_map {
  width: 100% !important;
  /* height: 100% !important; */
}

.sec8_map .root_daum_roughmap .wrap_controllers,
.sec8_map .root_daum_roughmap .cont {
  display: none !important;
}
/* ===== Responsive ===== */

@media (max-width: 1024px) {
  /* section */
  section.section .cont {
    margin: 70px auto;
  }

  .section_title {
    font-size: 32px;
  }
  h2.section_title.line {
    font-size: 24px;
  }
}

/* ── 모바일 (≤767px) ── */
@media (max-width: 767px) {
  .mainbanner_wap p {
    position: absolute;
    top: 28%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    width: 90%;
    text-align: center;
  }

  /* section */
  section.section .cont {
    margin: 48px auto;
  }
  section.section3.section {
    padding: 48px 0;
  }
  section.section.section5 {
    padding: 48px 0;
  }
  section.section.section7 .cont {
    padding: 0 16px;
  }

  /* 섹션 타이틀 */
  .section_title {
    font-size: 22px;
    margin-bottom: 28px;
  }
  h2.section_title.line {
    font-size: 20px;
    margin-bottom: 36px;
  }
  h2.section_title.line span {
    padding: 0 20px;
  }

  /* section1 */
  .section1 .cont a {
    padding: 14px 0;
    font-size: 20px;
  }
  .section1 .cont p {
    margin-top: 48px;
    font-size: 15px;
  }
  .section1 .grid.col3 {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  /* section2 */
  .section2 .grid.col3 {
    grid-template-columns: 1fr;
    row-gap: 15px;
  }
  .sec2_item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 15px;
  }
  .sec2_item:last-child {
    border-bottom: 0;
  }
  .sec2_item img {
    width: 66%;
    margin-left: 30px;
  }
  .sec2_item svg {
    width: 66%;
    height: auto;
    margin-left: 30px;
  }

  .sec2_item .txb {
    margin-top: 0;
  }
  .sec2_item .txb p {
    font-size: 22px;
  }

  /* section3 */
  .lineup {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
  .lineup div {
    flex: 0 0 33%;
    text-align: center;
    margin-bottom: 20px;
  }
  .lineup div:nth-child(1),
  .lineup div:nth-child(2) {
    flex: 0 0 34%;
  }
  .lineup div img {
    margin: 0 auto;
  }
  .lineup div p {
    font-size: 15px;
    font-weight: 400;
    margin-top: 10px;
  }

  /* section4 */
  .section4 {
    background-image: none !important;
  }
  .sec4_wrap {
    grid-template-columns: 120px 1fr;
    column-gap: 15px;
  }
  .sec4_wrap .sec4_desc {
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 6px;
  }
  .sec4_career {
    margin: 15px 0;
    padding-top: 15px;
  }
  .sec4_career li {
    font-size: 12px;
    font-weight: 300;
  }
  .section4 .more {
    text-align: center;
    margin-top: 40px;
  }

  /* section5 */
  .section5 .cont .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section5 p.ni {
    text-align: left;
  }

  /* section6 */
  section.section6 .swiper-pagination {
    margin: 28px 0 60px;
  }
  section.section6 .swiper-pagination .swiper-pagination-bullet {
    margin: 0 10px;
  }
  section.section6 .swiper-container.kondae .swiper-slide {
    border-radius: 0;
  }

  /* section7 */
  .sec7_wrap {
    display: block;
  }
  li.faq_item {
    border-radius: 8px;
  }
  .faq_q {
    font-size: 15px;
    padding: 12px 38px 12px 12px;
    border-radius: 8px 8px 0 0;
  }
  .faq_a {
    padding: 12px;
  }
  .faq_a p {
    font-size: 13px;
  }
  .sec7_form {
    border-radius: 8px;
    padding: 20px;
  }
  .form_title {
    text-align: center;
  }
  .sec7_form .grid {
    display: block;
  }

  /* section8 */
  .sec8_wrap {
    display: block;
  }
  .sec8_info_box {
    margin-bottom: 20px;
  }
  .hours_table td {
    font-size: 15px;
  }
  .sec8_contact p a,
  .sec8_contact p span {
    font-size: 16px;
    font-weight: 600;
  }
  .sec8_contact p a::before,
  .sec8_contact p span::before {
    font-size: 15px;
    font-weight: 400;
  }

  .sec8_map > div {
    height: 92vw !important;
  }
}
