* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

ul,
li {
  list-style-type: none;
}

html,
body {
  height: auto;
  font-family: "Pretendard", sans-serif;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

/* ::-webkit-scrollbar {
  display: none;
} */

:root {
  --main-color: #302f38;
}

.pretendard {
  font-family: "Pretendard", sans-serif;
}

.adobe_garamond {
  font-family: "Adobe Garamond Pro Regular", sans-serif;
  font-weight: lighter;
}

/* header 소스 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
}

header.fixed {
  border-bottom: none;
  background: rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.header {
  max-width: 1840px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
}

.header-menu__list {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.header-menu__list a {
  font-size: 15px;
  color: var(--main-color);
}

.header-menu__list a:hover {
  color: #000;
}

#wrap {
  position: relative;
}

main {
}

/* footer */
footer {
  background: #f5f5f5;
  color: var(--main-color);
}

.footer {
  max-width: 1840px;
  margin: 0 auto;
}

.ft-wrap {
  padding-top: 38px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
}

.ft-menu a {
  font-size: 30px;
  font-weight: 200;
  line-height: 1.2;
  color: var(--main-color);
}

.ft-menu a:hover {
  color: #000;
}

.ft-clinic-info h4,
.ft-time h4 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 22px;
}

.ft-clinic-info p {
  font-size: 15px;
  font-weight: 200;
  line-height: 22px;
  margin-bottom: 46px;
  word-break: keep-all;
}

.ft-time-list li {
  display: grid;
  grid-template-columns: 85px minmax(0, 1fr);
  gap: 10px;
  font-size: 15px;
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 7px;
}

.ft-time-label {
  width: 85px;
}

.ft-time-list li.ft-time-sub .ft-time-label,
.ft-time-list li.ft-time-sub .ft-time-value {
  opacity: 0.5;
}

.ft-contact {
  margin-bottom: 150px;
}

.ft-contact p {
  font-size: 28px;
  font-weight: 200;
  line-height: 1.2;
}

.ft-sns a {
  display: block;
  font-size: 28px;
  font-weight: 200;
  line-height: 1.2;
  color: var(--main-color);
}

.ft-bottom {
  display: grid;
  align-items: end;
  grid-template-columns: 2fr 1fr 1fr;
  padding-top: 65px;
}

.ft-bottom-links {
  display: flex;
  flex-wrap: wrap;
}

.ft-bottom-links a {
  text-decoration: underline;
  color: var(--main-color);
  font-size: 15px;
  cursor: pointer;
}

.ft-bottom-links span {
  margin: 0 10px;
}

.ft-copy {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 15px 0;
  margin-top: 30px;
}

.ft-copy p {
  font-size: 15px;
  max-width: 1840px;
  margin: 0 auto;
}

.display-pc {
}

.display-m {
  display: none;
}

/* legal-modal */
.legal-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9990;
}

.legal-modal.is-open {
  display: flex;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.legal-modal-dialog {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: calc(100% - 40px);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 50px 35px 43px;
}

.legal-modal-close {
  position: absolute;
  right: 15px;
  top: 00px;
  border: none;
  background: transparent;
  font-size: 48px;
  cursor: pointer;
}

.legal-modal-close span {
  font-family: "Pretendard", sans-serif;
  font-weight: 200;
  color: #000;
  opacity: 0.4;
}

.legal-modal-title {
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.legal-modal-body {
  font-size: 15px;
  font-weight: 200;
  line-height: 30px;
  word-break: keep-all;
}

.modal_logo {
  margin-top: 100px;
}

.legal-modal--price .legal-modal-title,
.legal-modal--price .modal_logo {
  display: none;
}

.legal-modal--price .legal-modal-body img {
  width: 100%;
}

.header-hamburger {
  display: none;
  width: 21px;
  height: 18px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header-hamburger span {
  display: block;
  width: 100%;
  height: 1px;
  background: #000;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header-hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.header-hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-dim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}

.mobile-nav-title {
  font-size: 18px;
}

.mobile-nav-close {
  border: none;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav-close span {
  font-family: "Pretendard", sans-serif;
  font-weight: 200;
  color: #000;
  opacity: 0.4;
}

.mobile-nav-list {
  padding: 16px 20px;
  font-size: 15px;
}

.mobile-nav-list li + li {
  margin-top: 14px;
}

.mobile-nav-list a {
  text-decoration: none;
  color: #111;
}

.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav-dim.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.modal-open,
body.nav-open {
  overflow: hidden;
}

@media (max-width: 1820px) {
  .header {
    padding: 20px;
  }

  section > div {
    padding: 0 20px;
  }

  .footer,
  .ft-copy p {
    padding: 0 20px;
  }
}

@media (max-width: 1024px) {
  .ft-wrap,
  .ft-bottom {
    grid-template-columns: 1fr 1fr;
  }

  .ft-col-left {
    display: none;
  }

  .ft-bottom {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }

  .display-pc {
    display: none;
  }

  .display-m {
    display: block;
  }

  .header-menu {
    display: none;
  }

  .header-hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex-direction: column;
    gap: 7px;
  }

  .ft-wrap,
  .ft-bottom {
    grid-template-columns: 1fr;
  }

  .ft-wrap {
    padding-top: 30px;
  }

  .ft-contact {
    margin-bottom: 15px;
  }

  .ft-bottom {
    padding-top: 0;
    gap: 25px;
  }

  .ft-logo {
    order: 1;
  }

  .ft-logo img {
    max-width: 470px;
    width: 100%;
  }

  .ft-clinic-info h4 {
    margin-bottom: 15px;
  }

  .ft-contact p {
    font-size: 16px;
  }

  .ft-copy {
    margin-top: 15px;
  }

  .legal-modal-dialog {
    padding: 35px 20px 25px;
  }

  .legal-modal-close {
    font-size: 35px;
  }
}
