@charset "utf-8";

section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 메인 비주얼 */
.main_visual_wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.main_visual_wrap .img {
  width: 100%;
  height: 100%;
}
.main_visual_wrap .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main_visual_wrap .s_inner {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 1080px;
  transform: translate(-50%, -50%);
}
.main_visual_wrap .txt_wrap p:nth-child(1) {
  font-size: 1.9rem;
  color: #ddd;
  font-weight: 400;
  line-height: 1.4;
}
.main_visual_wrap .txt_wrap p:nth-child(2) {
  margin-top: 16px;
  font-size: 4.2rem;
  color: #fff;
  line-height: 1.53;
  font-weight: 100;
  letter-spacing: -0.025em;
  font-family: "Noto Serif KR", serif;
  opacity: 0.95;
}
.main_visual_wrap .txt_wrap p:nth-child(2) strong {
  display: block;
  color: #dfb58e;
  font-weight: 100;
}
.main_visual_wrap .txt_wrap p:nth-child(3) {
  margin-top: 40px;
  font-size: 1.6rem;
  color: #eee;
  line-height: 1.6;
  font-weight: 400;
}
.main_visual_wrap .btn_more {
  margin-top: 100px;
  padding: 0 22px 2px 0;
  display: inline-block;
  font-size: 16px;
  color: #e5e5e5;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: 0.001em;
  font-family: "Roboto", sans-serif;
  border-bottom: 1px solid #e5e5e5;
  background: url(/common/images/icon_arrow_gray.svg) no-repeat 100% 7px;
  transition: background 0.3s ease;
}
.main_visual_wrap .btn_more:hover {
  animation: bgMoveDown 0.4s ease forwards;
}
@keyframes bgMoveDown {
  0% {
    background-position: 100% -50%;
  }
  100% {
    background-position: 100% 7px;
  }
}

/* 특화 진료과목 */
.special_wrap {
  padding: 200px 0;
  background-color: #292929;
}
.special_wrap .s_inner {
  max-width: 1080px;
}
.special_wrap .tit_wrap {
  margin-bottom: 70px;
}
.special_wrap .tit_wrap .txt {
  margin-bottom: 16px;
  font-size: 2rem;
  color: #a9a9a9;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.002em;
  font-family: "Pretendard", sans-serif;
}
.special_wrap .tab_area {
  display: flex;
  justify-content: space-between;
}
.special_wrap .tab_wrap {
  display: inline-flex;
  flex-direction: column;
  margin-right: 20px;
  flex: 1;
  white-space: nowrap;
}
.special_wrap .tab_wrap .tab {
  margin-top: 16px;
}
.special_wrap .tab_wrap .tab a {
  padding: 10px 10px 8px 0;
  display: inline-block;
  font-size: 1.8rem;
  color: #d9d9d9;
  font-weight: 500;
  line-height: 1.4;
  font-family: "Noto Serif KR", serif;
  box-sizing: border-box;
  transition: color 0.3s ease;
}
.special_wrap .tab_wrap .tab:first-child {
  margin-top: 0;
}
.special_wrap .tab_wrap .tab.active a {
  color: #cda97d;
  border-bottom: 2px solid #cb9f76;
}
.special_wrap .tab_con_wrap {
  width: 100%;
  flex: 2;
}
.special_wrap .tab_con_wrap .tab_con {
  display: none;
}
.special_wrap .tab_con_wrap .tab_con.active {
  display: block;
}
.special_wrap .tab_con_wrap .tab_con .txt {
  margin-bottom: 8px;
  font-size: 3rem;
  color: #cb9f76;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: -0.001em;
  font-family: "Noto Serif KR", serif;
}
.special_wrap .tab_con_wrap .tab_con .img {
  margin: 30px 0 32px;
}
.special_wrap .tab_con_wrap .tab_con .img img {
  width: 100%;
}

/* 소개 */
.intro_wrap {
  padding: 184px 0 180px;
  height: auto;
  background: url(/common/images/img_intro_bg.jpg) no-repeat 50% 0;
  background-size: cover;
}
.intro_wrap .inner {
  position: relative;
  max-width: 1020px;
  z-index: 1;
}
.intro_wrap .img_wrap {
  margin-top: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 90px;
}
.intro_wrap .txt_wrap {
  text-align: center;
}
.intro_wrap .home_headline_46 {
  margin-top: 16px;
  color: #eee;
}

/* 차별점 */
.different_wrap {
  padding: 200px 0;
  background-color: #292929;
}
.different_wrap .flow_div_area {
  display: flex;
  justify-content: space-between;
}
.different_wrap .flow_div_area .fixed_wrap {
  margin-right: 13.6%;
  width: 100%;
  max-width: 360px;
  white-space: nowrap;
  flex: 1;
}
.different_wrap .flow_div_area .flow_wrap {
  width: 100%;
  max-width: 660px;
  flex: 2;
}
.different_wrap .flow_div_area .flow_wrap .img {
  margin-bottom: 40px;
}
/* 차별점 세 가지 */
.point_list_wrap .img img {
  width: 100%;
}
.point_list_wrap .point:not(:first-child) {
  margin-top: 100px;
}
.point_list_wrap .point_01 .img {
  margin-bottom: 50px;
  border-radius: 10px;
  overflow: hidden;
}
.point_list_wrap .point_01 .check_txt_wrap {
  gap: 20px 0;
  display: flex;
  flex-wrap: wrap;
}
.point_list_wrap .point_01 .check_txt_wrap .check_txt {
  margin-top: 0;
  width: calc(100% / 3);
}
.point_list_wrap .line {
  margin: 40px 0;
  border: 1px dashed #848484;
}
.point_list_wrap .point_03 .check_txt_wrap .check_txt {
  width: 100%;
}
/* .point_list_wrap .check_txt_wrap .check_txt {
	padding-left: 34px;
	padding-right: 10px;
	background: url(/common/images/icon_round_check.svg) no-repeat 0 50%;
} */
/* .point_list_wrap .check_txt_wrap .check_txt:not(:first-child) {
	margin-top: 20px;
} */

/* 리뷰 */
.review_wrap {
  padding: 200px 0;
  background-color: #e9e9e9;
}
.review_wrap .s_inner {
  width: 80%;
}
.review_wrap .txt_wrap {
  margin-bottom: 72px;
  text-align: center;
}
.review_wrap .txt_wrap .home_headline_46 {
  color: #222;
}
.review_wrap .review_slide_wrap {
  position: relative;
  width: 100%;
}
.review_slide_wrap .swiper-container {
  height: auto;
  overflow: visible;
}
.review_slide_wrap .swiper-container:after {
  content: "";
  position: absolute;
  left: 0;
  top: -10%;
  width: 100vw;
  height: 120%;
  transform: translateX(-101%);
  background: #e9e9e9;
  z-index: 1;
}
.review_slide_wrap .swiper-pagination {
  display: none;
  padding: 12px 0;
  bottom: -50px;
}
.review_slide_wrap .swiper-pagination-bullet {
  background: #8e8e8e;
  opacity: 1;
  transition: width 0.3s ease;
  border-radius: 56px;
}
.review_slide_wrap .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 56px;
  background: #cda97d;
}
.review_slide_wrap .review_box {
  padding: 30px 0;
  flex: 0 0 auto;
  width: auto;
  border-radius: 5px;
  opacity: 0.95;
  background-color: #faf9f8;
  box-shadow: 2px 3px 12px 0px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.review_hand_slider {
  margin-top: 100px;
  width: 100%;
  overflow: hidden;
}

.review_hand_slider .swiper-wrapper {
  display: flex;
}

.review_hand_slider .swiper-slide {
  width: auto; /* 중요: 이미지 크기에 맞게 자동 조절 */
  flex-shrink: 0;
  padding-right: 20px;
}

.review_hand_slider .swiper-slide img {
  max-width: 250px;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* 반응형 설정 */
@media screen and (min-width: 769px) {
  .review_hand_slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .review_hand_slider .swiper-wrapper {
    display: contents;
  }

  .review_hand_slider .swiper-slide {
    width: 100%;
    padding-right: 0;
  }
}

@media screen and (min-width: 1025px) {
  .review_slide_wrap .review_box {
    width: 430px !important;
  }
}
.review_slide_wrap .review_box .reviewer {
  margin-bottom: 34px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.review_slide_wrap .review_box .reviewer .reviewer_profile {
  position: relative;
  flex: 0 0 47px;
  width: 47px;
  height: 47px;
  border-radius: 50%;
  overflow: hidden;
}
.review_slide_wrap .review_box .reviewer .reviewer_profile img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review_slide_wrap .review_box .comment {
  padding: 0 30px;
  height: 130px;
  color: #444;
}
.review_slide_wrap .review_box .btn_wrap {
  margin: 24px 44px 0 0;
  text-align: right;
}
.review_slide_wrap .review_box .btn_more {
  padding: 0 20px 0 24px;
  display: inline-block;
  font-size: 18px;
  color: #333;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: -0.01em;
  background: url(/common/images/icon_arrow_black.svg) no-repeat 100% 50%;
}
.review_slide_wrap .btn_prev {
  left: -80px;
  width: 40px;
  height: 40px;
  background: url(/common/images/icon_arrow_prev.svg) no-repeat 50% 50%;
}
.review_slide_wrap .btn_prev:after {
  content: "";
}

.philosophy_wrap {
  padding: 200px 0;
  background-color: #292929;
}
.philosophy_wrap .flex_wrap {
  display: flex;
  width: 100%;
  max-width: 1550px;
}
.philosophy_wrap .flex_wrap .img_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.philosophy_wrap .flex_wrap .txt_wrap {
  position: relative;
  padding: 7.8% 0 7% 5.3%;
  width: 100%;
  max-width: 600px;
  background-color: #242424;
}
.philosophy_wrap .flex_wrap .txt_wrap .txt {
  font-size: 18px;
  color: #a9a9a9;
  font-weight: 400;
  line-height: 26px;
  font-family: "Noto Serif KR", serif;
}
.philosophy_wrap .flex_wrap .txt_wrap .point_txt {
  font-size: 3.8rem;
  color: #dfb58e;
  font-weight: 200;
  line-height: 1.52;
  letter-spacing: -0.02em;
  font-family: "Noto Serif KR", serif;
}
.philosophy_wrap .flex_wrap .txt_wrap .desc {
  margin-top: 64px;
}
.philosophy_wrap .flex_wrap .txt_wrap .desc p:not(:first-child) {
  margin-top: 14px;
}
.philosophy_wrap .bg_txt {
  position: absolute;
  right: 12%;
  bottom: 15%;
  font-size: 12rem;
  color: rgba(217, 217, 217, 0.04);
  font-weight: 300;
  line-height: 0.6;
  font-family: "Noto Serif KR", serif;
}

/* 클리닉 */
.clinic_wrap {
  position: relative;
  display: flex;
  width: 100%;
  height: 900px;
  background: url(/common/images/img_clinic_bg.png) no-repeat 50% 50%;
  background-size: cover;
}
.clinic_wrap .clinic_box {
  position: relative;
  padding: 0 10px;
  width: 25%;
  height: 100%;
  text-align: center;
  border-right: 1px solid rgba(217, 217, 217, 0.2);
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 1;
  transition: background-color 0.3s ease;
}
.clinic_wrap .clinic_box:last-child {
  border: none;
}
.clinic_wrap .clinic_box .box_inner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}
.clinic_wrap .clinic_box .txt_wrap {
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  transition: transform 0.3s ease;
}
.clinic_wrap .clinic_box .num {
  font-size: 20px;
  color: #cda97d;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.01em;
  font-family: "Pretendard", sans-serif;
}
.clinic_wrap .clinic_box .icon {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.clinic_wrap .clinic_box .icon img {
  width: 40px;
}
.clinic_wrap .clinic_box .sub_tit {
  margin: 2px 0 2rem;
  color: #fff;
}
.clinic_wrap .clinic_box .sub_txt {
  color: #eaeaea;
}

.clinic_wrap .clinic_box:hover {
  background-color: rgba(67, 37, 9, 0.7);
}
.clinic_wrap .clinic_box:hover .txt_wrap {
  transform: translate(-50%, -34px);
}
.clinic_wrap .clinic_box:hover .icon {
  opacity: 1;
}

/* 인테리어 */
.interior_wrap {
  padding: 200px 0;
  background-color: #292929;
}
.interior_wrap .txt_wrap {
  text-align: center;
  margin-bottom: 70px;
}
.interior_slide_wrap .swiper-container {
  padding-bottom: 46px;
}
.interior_slide_wrap .swiper-slide {
  width: auto;
}
.interior_slide_wrap .swiper-slide:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: background-color 0.4s ease;
}
.interior_slide_wrap .swiper-slide-active:after {
  background-color: transparent;
}
.interior_slide_wrap .swiper-slide .img {
  width: 100%;
  height: 100%;
  max-width: 705px;
  max-height: 440px;
}
.interior_slide_wrap .swiper-slide .img img {
  width: 100%;
  height: 100%;
}
.interior_slide_wrap .swiper-pagination {
  padding: 12px 0;
  bottom: 0;
}
.interior_slide_wrap .swiper-pagination-bullet {
  background: #8e8e8e;
  opacity: 1;
  transition: width 0.3s ease;
  border-radius: 56px;
}
.interior_slide_wrap .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 56px;
  background: #cda97d;
}

/* 위치 */
.navigation_wrap {
  padding: 200px 0;
  background-color: #fafaf8;
}
.navigation_wrap .tit_wrap {
  margin-bottom: 60px;
}
.navigation_wrap .tit_wrap .home_headline_46 {
  color: #222;
}
.navigation_wrap .flex_wrap {
  display: flex;
  justify-content: space-between;
}
.navigation_wrap .map_area {
  margin-right: 8%;
  width: 100%;
  max-width: 580px;
  height: 700px;
}
.navigation_wrap .map_area iframe {
  width: 100%;
  height: 100%;
}
.navigation_wrap .info_list_wrap {
  width: 90%;
  max-width: 480px;
}
.navigation_wrap .info_list {
  padding: 40px 0;
  display: flex;
}
.navigation_wrap .info_list + .info_list {
  border-top: 1px solid #d9d9d9;
}
.navigation_wrap .info_list:nth-child(2) .txt_wrap p {
  font-size: 1.8rem;
  color: #555;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  font-family: "Pretendard", sans-serif;
}
.navigation_wrap .info_list:nth-child(2) .txt_wrap img {
  margin-right: 10px;
  display: inline-block;
  width: 18px;
  height: auto;
}
.navigation_wrap .info_list:last-child {
  padding-top: 80px;
}
.navigation_wrap .info_list .sub_tit {
  flex-shrink: 0;
  margin-right: 50px;
  font-size: 2.4rem;
  color: #333;
  line-height: 1.54;
  font-weight: 500;
  letter-spacing: -0.04em;
  font-family: "Pretendard", sans-serif;
}
.navigation_wrap .info_list .txt_wrap {
  padding-right: 16px;
  width: 100%;
}
.navigation_wrap .info_list .txt_wrap .txt {
  margin-bottom: 6px;
}
.navigation_wrap .info_list .txt_wrap .txt strong {
  margin-right: 34px;
  display: inline-block;
  min-width: 65px;
  font-size: 1.8rem;
  color: #555;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.01em;
  font-family: "Pretendard", sans-serif;
}
.navigation_wrap .info_list .txt_wrap .txt span {
  font-size: 1.8rem;
  color: #555;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.02em;
  font-family: "Pretendard", sans-serif;
}
.navigation_wrap .info_list .txt_wrap .desc_txt {
  margin-top: 13px;
  font-size: 1.4rem;
  color: #707070;
  font-weight: 400;
  line-height: 1.4;
  font-family: "Pretendard", sans-serif;
}
.navigation_wrap .info_list .txt_wrap .desc_txt span {
  display: block;
}
.navigation_wrap .info_list .txt_wrap .desc_txt span + span {
  margin-top: 2px;
}
.navigation_wrap .info_list .call_number {
  font-size: 3.8rem;
  color: #333;
  font-weight: 600;
  line-height: 1;
  font-family: "Roboto", sans-serif;
  white-space: nowrap;
}
.navigation_wrap .info_list .btn_reserve {
  margin: 30px 0 0;
  padding: 0px 104px 0px 70px;
  max-width: 286px;
  height: 54px;
  font-size: 2rem;
  font-weight: 500;
  white-space: nowrap;
  background: #cda97d url(/common/images/icon_arrow_w.svg) no-repeat 202px 50%;
  background-size: 16px 10px;
}

.only_pc {
  display: block;
}
.only_mo {
  display: none;
}

@media screen and (max-width: 1300px) {
  /* 소개 */
  .intro_wrap .img_wrap {
    margin-top: 45px;
    gap: 45px;
  }
  .intro_wrap .img_wrap .img img {
    width: 100%;
  }

  /* philosophy */
  .philosophy_wrap .bg_txt {
    right: 6%;
  }
}
@media screen and (max-width: 1024px) {
  .only_mo {
    display: block;
  }

  /* 특화 진료과목 */
  .special_wrap {
    padding: 100px 0;
  }
  .special_wrap .tit_wrap {
    margin-bottom: 35px;
  }
  .special_wrap .tab_area {
    flex-direction: column;
  }
  .special_wrap .tab_wrap {
    margin-right: 0;
    margin-bottom: 40px;
    flex: auto;
    flex-direction: row;
    column-gap: 16px;
    display: none;
  }
  .special_wrap .tab_con_wrap {
    display: flex;
    flex-direction: column;
    gap: 70px;
  }
  .special_wrap .tab_con_wrap .tab_con {
    display: block !important;
  }
  .special_wrap .tab_wrap .tab {
    margin-top: 0;
  }

  /* 소개 */
  .intro_wrap {
    padding: 100px 0;
  }
  .intro_wrap .img_wrap {
    gap: 40px;
    row-gap: 40px;
    flex-wrap: wrap;
  }

  /* 차별점 */
  .different_wrap {
    padding: 100px 0;
  }
  .different_wrap .flow_div_area {
    flex-direction: column;
  }
  .different_wrap .flow_div_area .fixed_wrap {
    margin: 0 0 40px;
    max-width: 100%;
    flex: auto;
  }
  .different_wrap .flow_div_area .flow_wrap {
    flex: auto;
    max-width: 100%;
  }
  .point_list_wrap .point:not(:first-child) {
    margin-top: 50px;
  }

  /* 리뷰 */
  .review_wrap {
    padding: 100px 0;
  }
  .review_wrap .s_inner {
    width: 100%;
  }
  .review_wrap .txt_wrap {
    margin-bottom: 35px;
  }
  .review_wrap .review_slide_wrap {
    padding: 0 0 0 16px;
    padding-bottom: 0;
    width: 100%;
  }

  .review_slide_wrap .review_box {
    padding: 20px 0;
  }
  .review_slide_wrap .btn_prev {
    left: 0;
  }

  /* philosophy */
  .philosophy_wrap {
    padding: 100px 0;
  }
  .philosophy_wrap .flex_wrap {
    padding: 0 16px;
    flex-direction: column;
    max-width: 100%;
  }
  .philosophy_wrap .bg_txt {
    right: 0;
    bottom: 11%;
    font-size: 10rem;
    line-height: 1;
    display: none;
  }
  .philosophy_wrap .flex_wrap .txt_wrap {
    padding: 7% 5%;
    max-width: 100%;
  }

  /* 클리닉 */
  .clinic_wrap {
    flex-direction: column;
  }
  .clinic_wrap .clinic_box {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(217, 217, 217, 0.2);
  }
  .clinic_wrap .clinic_box .box_inner {
    top: calc(50% + 16px);
  }
  .clinic_wrap .clinic_box:hover .txt_wrap {
    transform: translate(-50%, -16px);
  }
  .clinic_wrap .clinic_box .sub_tit {
    margin: 2px 0 1.2rem;
  }

  /* 인테리어 */
  .interior_wrap {
    padding: 100px 0;
  }
  .interior_slide_wrap .swiper-slide {
    width: 100%;
  }

  /* navigation */
  .navigation_wrap {
    padding: 100px 0;
  }
  .navigation_wrap .flex_wrap {
    flex-direction: column;
    justify-content: flex-start;
  }
  .navigation_wrap .map_area {
    margin-right: 0;
    max-width: 100%;
    height: 400px;
  }
  .navigation_wrap .tit_wrap {
    margin-bottom: 30px;
  }
  .navigation_wrap .info_list_wrap {
    width: 100%;
    max-width: 100%;
  }
  .navigation_wrap .info_list {
    padding: 20px 0;
  }
  .navigation_wrap .info_list:last-child {
    padding-top: 40px;
  }
  .navigation_wrap .info_list .btn_reserve {
    padding: 0px 52px 0px 35px;
    width: auto;
    max-width: none;
    white-space: nowrap;
    background: url(/common/images/icon_arrow_w.svg) 85% 50%/16px 10px no-repeat
      rgb(205, 169, 125);
  }
}
@media screen and (max-width: 768px) {
  .review_slide_wrap .btn_prev {
    display: none;
  }
  .review_slide_wrap .swiper-pagination {
    display: block;
  }
}
@media screen and (max-width: 600px) {
  .point_list_wrap .point_01 .check_txt_wrap {
    flex-direction: column;
  }
  .point_list_wrap .point_01 .check_txt_wrap .check_txt {
    width: 100%;
  }
  .different_wrap .point_list_wrap br {
    display: none;
  }
}
@media screen and (max-width: 510px) {
  .only_pc {
    display: none;
  }
  /* 메인 비주얼 */
  .main_visual_wrap .txt_wrap p:nth-child(2) {
    font-size: 28px;
  }
  .main_visual_wrap .txt_wrap p:nth-child(3) {
    font-size: 14px;
  }
  /* 특화 진료과목 */
  .special_wrap .tab_wrap {
    flex-wrap: wrap;
    flex-direction: column;
  }
  .special_wrap .tab_con_wrap .tab_con .txt {
    font-size: 20px;
  }

  /* navigation */
  .navigation_wrap .info_list .sub_tit {
    margin-right: 10%;
    font-size: 14px;
    font-weight: 600;
  }
  .navigation_wrap .info_list .call_number {
    font-size: 18px;
  }
  .navigation_wrap .info_list .txt_wrap .txt strong {
    display: block;
  }
  .navigation_wrap .info_list .btn_reserve {
    margin-top: 20px;
    margin-left: -1%;
    height: 38px;
    border-radius: 5px;
  }
}

/* 로그인 화면 */

.login_body {
  margin: 0;
  height: auto;
  width: 100%;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal_login,
.modal_join,
.modal_find,
.modal_reset {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #eee;
  border-radius: 16px;
  z-index: 1001;
  box-shadow: 2px 4px 7px 1px #00000012;
  text-align: center;
  animation: moveUp2 0.5s ease-in-out;
  display: none;
}
@keyframes moveUp2 {
  0% {
    transform: translateX(-50%) translateY(calc(-50% + 20px));
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(-50%);
    opacity: 1;
  }
}

.login_modal {
  display: flex;
  width: 700px;
  height: 635px;
  border-radius: 16px;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.left_panel {
  width: 240px;
  background: linear-gradient(to bottom, #d39f60 10%, #b2844c 100%);
  border-radius: 16px 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.left_panel img {
  max-width: 170px;
}

.right_panel {
  flex: 1;
  padding: 80px 47px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right_panel h2 {
  margin-bottom: 40px;
}

.right_panel input {
  margin-bottom: 15px;
}

.right_panel .xx {
  max-width: 23px;
  position: absolute;
  top: 30px;
  right: 30px;
  cursor: pointer;
}

.right_panel form {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.right_panel form button {
  margin-top: 25px;
}

.right_panel input {
  padding: 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
}

.right_panel input::placeholder {
  color: #a9a9a9;
  font-weight: 300;
  font-size: 14px;
}

.right_panel h2 {
  font-size: 34px;
  text-align: center;
}

.input_wrap {
  position: relative;
  /* margin-bottom: 15px; */
}

.input_wrap input {
  width: 100%;
  padding: 14px 14px 14px 35px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-sizing: border-box;
}

.input_icon {
  position: absolute;
  left: 12px;
  top: 37%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.6;
}

.login_btn {
  padding: 14px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.login_btn:hover {
  background-color: #b2844c;
}

.extra_links {
  text-align: center;
  margin-bottom: 84px;
  font-size: 13px;
  color: #555;
}

.extra_links a {
  font-size: 14px;
  text-decoration: none;
  margin: 0 6px;
  color: inherit;
}

.kakao_btn {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 30px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.kakao_btn img {
  width: 28px;
  height: 28px;
}

/* 회원가입 화면 */
.signup_modal {
  width: 570px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 80px 52px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  box-sizing: border-box;
  max-height: 85vh;
  overflow-y: auto;
  background-color: #fff;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.terms_box {
  width: 100%;
  height: 240px;
  overflow-y: auto;
  padding: 16px;
  margin: 30px 0;
  border: 1px solid #d9d9d9;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
}

.xx {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.signup_title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 78px;
}

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

label {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 16px;
}

.signup_form label {
  text-align: left;
}

.signup_form input {
  width: 100%;
  padding: 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  box-sizing: border-box;
}

.signup_form input::placeholder {
  font-size: 14px;
  color: #a9a9a9;
  font-weight: 300;
}

.signup_form textarea {
  margin-top: 30px;
  width: auto;
  height: 240px;
  border-radius: 0;
  border: 0.5px solid #d9d9d9;
  resize: none;
}

.signup_form label {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  color: #222;
  font-weight: 400;
}

label:last-child {
  margin-bottom: 0;
}

.agree_box {
  display: flex;
  justify-content: center; /* 가로 가운데 정렬 */
  margin-bottom: 30px;
}

.custom_checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.agree_box input[type="checkbox"] {
  display: none;
}

.checkbox_icon {
  width: 34px;
  height: 34px;
  display: inline-block;
  background-image: url("/common/images/checkbox.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.custom_checkbox input[type="checkbox"]:checked + .checkbox_icon {
  background-image: url("/common/images/checkboxin.svg");
}

.submit_btn {
  margin-top: 20px;
  padding: 14px;
  background-color: #222;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.submit_btn:hover {
  background-color: #b2844c;
}

/* 비밀번호 찾기 */
.findpw_modal {
  width: 570px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 80px 52px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  box-sizing: border-box;
  text-align: left;
}

.findpw_title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 78px;
}

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

.findpw_form label {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  color: #222;
  font-weight: 400;
  gap: 12px;
  margin-bottom: 30px;
}

.findpw_form input {
  padding: 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.findpw_form .input2 {
  border: 1px solid #d9d9d9;
  border-radius: 6px 0 0 6px;
}

.findpw_form input::placeholder {
  color: #a9a9a9;
  font-weight: 300;
}

/* 인풋 + 버튼 한 줄 구성 */
.input_btn_wrap {
  display: flex;
}

.input_btn_wrap input {
  flex: 1;
}

.brown_btn {
  padding: 0 18px;
  background-color: #b2844c;
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

/* 전송/확인 버튼 마우스 호버 */
.brown_btn:hover {
  background-color: #a2713a;
}

.submit_btn {
  margin-top: 40px;
  padding: 16px;
  background-color: #222;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.submit_btn:hover {
  background-color: #b2844c;
}

.xx {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* 비밀번호 재설정 */
.resetpw_modal {
  width: 570px;
  height: auto;
  background: #fff;
  border-radius: 12px;
  padding: 80px 52px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  box-sizing: border-box;
  text-align: left;
}

.resetpw_title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 78px;
}

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

.resetpw_form label {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  color: #222;
  font-weight: 400;
  gap: 12px;
  margin-bottom: 30px;
}

.resetpw_form input {
  padding: 14px;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

.resetpw_form input::placeholder {
  color: #a9a9a9;
  font-weight: 300;
}

.submit_btn {
  margin-top: 40px;
  padding: 16px;
  background-color: #222;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.4s ease;
}

.submit_btn:hover {
  background-color: #b2844c;
}

/* 로그인 화면 모바일 */

@media screen and (max-width: 700px) {
  html,
  body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* 로그인 모바일 */
  .login_modal {
    width: 88vw;
    max-width: 400px;
    border-radius: 8px;
    height: auto;
  }

  .left_panel {
    display: none;
  }

  .left_panel img {
    max-width: 140px;
  }

  .right_panel {
    padding: 40px 24px;
  }

  .right_panel h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .right_panel input {
    padding: 12px 12px 12px 34px;
    font-size: 14px;
  }

  .right_panel input::placeholder {
    font-size: 13px;
  }

  .login_btn {
    padding: 12px;
    font-size: 14px;
  }

  .extra_links {
    font-size: 12px;
    margin-bottom: 40px;
  }

  .extra_links a {
    font-size: 12px;
  }

  .kakao_btn {
    padding: 10px;
    font-size: 12px;
  }

  .kakao_btn img {
    width: 24px;
    height: 24px;
  }

  .xx {
    top: 30px;
    right: 30px;
    width: 20px;
    height: 20px;
  }

  /* 회원가입 모바일 */
  .signup_modal {
    width: 88vw;
    max-width: 400px;
    padding: 60px 24px;
    border-radius: 8px;
    height: auto;
    box-sizing: border-box;
  }

  .signup_title {
    font-size: 20px;
    margin-bottom: 40px;
    text-align: left;
  }

  .signup_form label {
    font-size: 14px;
    margin-bottom: 24px;
    gap: 8px;
  }

  .signup_form input,
  .signup_form textarea {
    padding: 12px;
    font-size: 14px;
  }

  .signup_form input::placeholder,
  .signup_form textarea::placeholder {
    font-size: 13px;
  }

  .submit_btn {
    padding: 16px;
    font-size: 14px;
    margin: 0;
  }

  .checkbox_icon {
    width: 28px;
    height: 28px;
  }
  .agree_box {
    margin-bottom: 0;
  }
  .custom_checkbox {
    display: flex;
  }

  /* 비밀번호 찾기 */
  .findpw_modal {
    width: 88vw;
    max-width: 400px;
    padding: 60px 24px;
    border-radius: 8px;
    box-sizing: border-box;
    height: auto;
  }

  .findpw_title {
    font-size: 20px;
    margin-bottom: 40px;
    text-align: left;
  }

  .findpw_form label {
    font-size: 14px;
    gap: 8px;
    margin-bottom: 24px;
  }

  .findpw_form input {
    padding: 12px 8px;
    font-size: 14px;
  }

  .findpw_form input::placeholder {
    font-size: 13px;
  }

  .brown_btn {
    padding: 0 8px;
    font-size: 13px;
  }

  .input_btn_wrap {
    display: flex;
    flex-wrap: nowrap;
  }

  .input_btn_wrap input {
    flex: 1;
  }

  .submit_btn {
    padding: 16px;
    font-size: 14px;
    margin-top: 24px;
  }

  /* 비밀번호 재설정 */
  .resetpw_modal {
    width: 88vw;
    max-width: 400px;
    padding: 60px 24px;
    border-radius: 8px;
    box-sizing: border-box;
    height: auto;
  }

  .resetpw_title {
    font-size: 20px;
    margin-bottom: 40px;
    text-align: left;
  }

  .resetpw_form label {
    font-size: 14px;
    margin-bottom: 24px;
    gap: 8px;
  }

  .resetpw_form input {
    padding: 12px;
    font-size: 14px;
  }

  .resetpw_form input::placeholder {
    font-size: 13px;
  }

  .submit_btn {
    padding: 16px;
    font-size: 14px;
    margin-top: 24px;
  }

  .xx {
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
  }
}
