@charset "utf-8";
@import url("../../../fonts/Cormorant_Infant/CormorantInfant.css");
@import url("../../../fonts/Noto_Serif_KR/Noto_Serif_KR.css");
@import url("../../../fonts/BookAntiqua/BookAntiqua.css");

/* #content */
:root {
  --page-color: #ff5f00;
  --mark-color: #fff7c0;
}
.img_box img {
  width: 100%;
}
.block {
  display: block;
}
.p_color {
  color: var(--page-color);
}
mark {
  background-color: var(--mark-color);
}
.notice {
  margin-top: 60px;
  text-align: center;
}
.notice p {
  font-size: 24px;
  color: #777c81;
  line-height: 1.5;
  text-wrap: balance;
  word-break: keep-all;
}
section {
  letter-spacing: -1px;
  color: #291c19;
}
.sub_visual {
  width: 100%;
  padding-top: calc(950 / 1920 * 100%);
  position: relative;
  background-image: url(../images/img_visual.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.daegu .sub_visual {background-image: url(../images/daegu/img_visual.jpg);}
section > .inner {
  padding: 160px 16.66%;
  box-sizing: border-box;
}
section .inner .title_box {
  margin-bottom: 60px;
}
section .inner .title_text {
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -1px;
  text-align: center;
}
section .inner .add_text {
  display: block;
  font-weight: 400;
  font-size: 40px;
  line-height: 50px;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 0.25em;
}
section .inner .sub_title {
  font-size: 50px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 80px;
}
section .inner .sub_explain {
  margin-top: 40px;
}
section .inner .sub_explain p {
  font-size: 32px;
  line-height: 1.6;
  letter-spacing: -1px;
  text-align: center;
  font-weight: 600;
  text-wrap: balance;
  word-break: keep-all;
}

section .inner .sub_explain p strong {
  font-weight: 600;
}

section.pre {
  background-color: #fff4ed;
}
section.pre .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 120px 12.5%;
}

section.pre .inner .img_box {
  width: calc(710 / 1280 * 100%);
}
section.pre .sub_title {
  font-family: "Nanum Myeongjo", serif;
  font-size: 32px;
  text-align: left;
  margin-bottom: 20px;
}

section.pre .title_text,
section.pre .sub_explain p {
  text-align: left;
}
section.pre mark {
  background: #fff;
}
section.info .text_box {
  margin-top: 20px;
}
section.info .main_text {
  font-size: 28px;
  line-height: 1.4;
  color: #291c19;
  text-align: center;
  text-wrap: balance;
  word-break: keep-all;
}
section.why .img_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
section.why .img_box .label {
  width: 100%;
  background-color: #ff5f00;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  padding: 12px 0;
}
section.special {
  background: #fff4ed;
}
section.special .inner {
  position: relative;
}
section.special .inner::after {
  content: "";
  background: url(../images/img_special_bg.png) no-repeat right bottom;
  background-size: contain;
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(875 / 1920 * 100%);
  height: 100%;
}
section.special ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}
section.special ul li {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  padding: 40px 60px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 40px;
}
section.special ul li .num {
  font-family: "Lemon Milk";
  font-size: 24px;
  color: var(--page-color);
}
section.special ul li .main_text {
  font-size: 32px;
  font-weight: 500;
  color: #291c19;
  line-height: 1.4;
}

section.special ul li .main_text span {
  display: block;
  color: #777c81;
  font-size: 24px;
  font-weight: 400;
}
section.before_after {
  background-color: #fffbe0;
}
section.before_after .mySwiper {
  overflow: hidden;
}
section.before_after .compare_box {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 120px;
  position: relative;
}
section.before_after .compare_box::after {
  content: "";
  width: 38px;
  height: 57px;
  background-image: url(../images/icon_b&a_arrow.png);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
section.before_after .compare_box li {
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 0 24px #f5efd7;
}
section.before_after .img_box {
  position: relative;
  margin-bottom: 24px;
}

section.before_after .desc_text {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.5;
  color: #291c19;
}

.info_surgery .inner ul {
  display: flex;
  justify-content: center;
}
.info_surgery .inner ul li {
  width: 25%;
  padding: 0 2%;
  box-sizing: border-box;
  border-left: 1px solid #dfe0e2;
}
.info_surgery .inner ul li:first-child {
  border-left: none;
}
.info_surgery .inner ul li .icon_box {
  width: 50%;
  padding-top: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin: 0 auto 10px;
}
.info_surgery .inner ul li p {
  font-size: 24px;
  letter-spacing: -1px;
  color: #474a4d;
  text-align: center;
}
.info_surgery .inner ul li p strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
  line-height: 46px;
  letter-spacing: -1px;
  color: #161718;
  margin-bottom: 0.3em;
}

section.howto {
  background-color: #fffcf1;
}

section.howto .step_box_wrap {
  margin-bottom: 60px;
}
section.howto .step_box_wrap:last-of-type {
  margin-bottom: 0;
}
section.howto .step_box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: stretch;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

section.howto .step_box li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
section.howto .step_box_wrap .type {
  font-family: "Lemon Milk";
  font-weight: 400;
  font-size: 26px;
  color: #534231;
  display: inline-block;
  padding-right: 20px;
}
section.howto .step_box_wrap .desc {
  font-weight: 500;
  font-size: 26px;
}
section.howto .step_box_wrap h4 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #291c19;
}
section.howto .step_box .num {
  position: relative;
  width: 100%;
}

section.howto .step_box li .dashed {
  width: 100%;
  height: 1px;
  border-top: 1px dashed #291c19;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s ease;
}
section.howto .step_box li.on .p_text {
  background-color: #ff5f00;
  border-color: #ff5f00;
  color: #fff;
}
section.howto .step_box li.on .dashed {
  border-top: 1px solid #ff5f00;
}
section.howto .step_box .p_text {
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  border: 1px solid #291c19;
  font-size: 21px;
  color: #291c19;
  text-align: center;
  background-color: #fffcf1;
  border-radius: 50%;
  z-index: 1;
  font-family: "LEMON MILK", sans-serif;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  transition: all 0.2s ease;
}
section.howto .step_box img {
  width: 100%;
}
section.howto .step_box .text_box p {
  font-size: 26px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  color: #291c19;
}
section.howto .sub_desc {
  font-size: 32px;
  text-align: center;
  font-weight: 400;
  padding-top: 100px;
}

section.howto .sub_desc strong {
  color: #ff5f00;
}

section.howto .sub_desc_comment {
  text-align: center;
  font-size: 24px;
  padding-top: 60px;
  padding-bottom: 130px;
  color: #777c81;
  line-height: 1.4;
}
.together .inner .title_text span {
  display: block;
}
.together .inner ul {
  width: 89.2%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.together .inner ul li {
  border-radius: 30px;
  overflow: hidden;
  padding: 50px 8%;
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 80% auto;
}
.together .inner ul li p {
  font-size: 24px;
  line-height: 34px;
  letter-spacing: -1px;
  margin-bottom: 103px;
}
.together .inner ul li p strong {
  display: block;
  font-size: 44px;
  font-weight: 600;
  line-height: normal;
  margin-top: 8px;
}
.together .inner ul li .btn_more {
  display: inline-block;
  height: 62px;
  line-height: 62px;
  font-size: 24px;
  font-weight: 500;
  padding: 0 30px;
  border-radius: 180px;
  background: #fff;
}
.together .inner ul li .btn_more span {
  display: inline-block;
  vertical-align: middle;
}
.together .inner ul li .btn_more span::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-left: 12px;
  background: url(../images/icon_arrow.png) center no-repeat;
  background-size: contain;
  vertical-align: -3px;
}

@media screen and (max-width: 1540px) {
  section > .inner {
    padding: 150px 10%;
    box-sizing: border-box;
  }
  section.howto .step_box_wrap {
    padding: 0 10%;
  }
}
@media screen and (max-width: 1440px) {
  section > .inner {
    padding: 150px 8%;
    box-sizing: border-box;
  }
  section.howto .step_box_wrap {
    padding: 0 8%;
  }
}
/* 태블릿 (해상도 769px ~ 1024px) */
@media screen and (max-width: 1024px) {
  .hide-mobile{display: none;}
  .title_box i{display: block;}
  .sub_visual {
    padding-top: calc(1000 / 768 * 100%);
    background-image: url(../images/img_visual_tb.gif);
  }
  .daegu .sub_visual {
    background-image: url(../images/daegu/img_visual_tb.gif);
  }
  #videoContainer .pc-only { display: none; }
  /* content */
  section > .inner {
    padding: 120px 5%;
    box-sizing: border-box;
  }
  section .inner .title_text {
    margin-bottom: 60px;
  }
  section .inner .add_text {
    font-size: 36px;
  }
  section.advantage .inner .title_text {
    text-wrap: balance;
    word-break: keep-all;
  }
  section.why .inner .title_box i {
    display: block;
  }
  section.pre .title {
    font-size: 64px;
    padding-top: 20px;
  }
  section.pre .sub_title {
    font-size: 32px;
    text-align: center;
  }
  section.pre .title_text,
  section.pre .sub_explain p {
    text-align: center;
  }
  section.pre .inner .img_box {
    width: 100%;
  }

  section.pre .desc {
    font-size: 30px;
  }

  section.pre .inner {
    padding: 120px 5%;
    flex-direction: column;
  }
  .info_surgery .inner ul {
    flex-wrap: wrap;
    row-gap: 40px;
    justify-content: center;
  }
  .info_surgery .inner ul li {
    width: 48%;
  }
  .info_surgery .inner ul li:nth-child(2n-1) {
    border-left: none;
  }
  .info_surgery .inner ul li .icon_box {
    width: 50%;
    padding-top: 50%;
    margin: 0 auto 20px;
  }
  .info_surgery .inner ul li p {
    font-size: 28px;
  }
  .info_surgery .inner ul li p strong {
    font-size: 36px;
    margin-bottom: 0.3em;
  }
  section.before_after .compare_box {
    flex-direction: column;
  }
  section.before_after .compare_box::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  section.before_after .title {
    font-size: 64px;
    padding-top: 120px;
    padding-bottom: 0;
  }
  section.before_after .sub_desc {
    font-size: 32px;
  }
  section.before_after .sub_desc_comment {
    font-size: 2.5vw;
    padding-bottom: 100px;
  }
  section.why .img_box {
    flex-direction: column;
    gap: 32px;
  }
  section.why .img_box li {
    width: 100%;
  }
  section.special ul li {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 40px 48px;
  }
  section.special ul li .main_text i{
    display: block;
  }
  section.special .inner::after {
    width: 80%;
    right: -23%;
  }

  section.howto .sub_desc_comment {
    font-size: 4vw;
    margin: 0 10px;
  }

  section.howto .sub_desc_comment {
    font-size: 2.5vw;
    margin: 0 10px;
  }

  section.howto .step_box_wrap {
    padding: 0 24px;
  }
  section.howto .step_box {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }
  section.howto .step_box li {
    flex-direction: row;
    gap: 24px;
  }
  section.howto .step_box .img_box {
    order: 2;
    flex: 1;
  }
  section.howto .step_box .num {
    order: 1;
    width: 50px;
    height: 100%;
    display:  flex;
    justify-content: center;
    align-items: center;
  }
  section.howto .step_box .text_box {
    order: 3;
    flex: 1;
  }
  section.howto .step_box li .dashed {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, calc(-50% - 25px));
    transition: all 0.2s ease;
    width: 1px;
    height: 100%;
    border-top: none;
    border-left: 1px dashed#291c19;
  }
  section.howto .step_box .text_box p {
    text-align: left;
  }
  section.howto .step_box li.on .dashed {
    border-left: 1px solid #ff5f00;
  }

  .together .inner ul {
    width: 100%;
    gap: 20px;
  }
  .together .inner ul li {
    padding: 24px 8%;
  }
  .together .inner ul li p {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 55px;
  }
  .together .inner ul li p strong {
    font-size: 30px;
    line-height: 30px;
    margin-top: 4px;
  }
  .together .inner ul li p i {
    display: block;
  }
  .together .inner ul li .btn_more {
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    padding: 0 16px;
    border-radius: 100px;
  }
  .together .inner ul li .btn_more span::after {
    width: 12px;
    height: 12px;
    margin-left: 6px;
    vertical-align: -1px;
  }
  .notice p {
    font-size: 22px;
  }
}

/* 모바일 가로, 모바일 세로 (해상도 375px ~ 768px)*/
@media screen and (max-width: 768px) {
  section .inner .title_box {
    margin-bottom: 32px;
  }
  section .inner .title_text {
    font-size: 34px;
    margin-bottom: 40px;
  }
  section .inner .sub_explain p {
    font-size: 18px;
  }
  section .inner .add_text {
    font-size: 22px;
    line-height: 26px;
  }
    section .inner .add_text i{
      display: block;
    }
  .notice {
    margin-top: 24px;
  }
  .notice p {
    font-size: 14px;
  }
  .info_surgery .inner ul li .icon_box {
    margin: 0 auto 8px;
  }
  .info_surgery .inner ul li p {
    font-size: 16px;
    line-height: 18px;
  }
  .info_surgery .inner ul li p strong {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 0.3em;
  }
  section.pre .sub_title {
    font-size: 18px;
  }
  section.info .main_text {
    font-size: 16px;
  }
  section.why .img_box {
    gap: 12px;
  }
  section.why .img_box .label {
    font-size: 20px;
    padding: 8px 0;
  }
  section.special ul li {
    padding: 20px;
  }
  section.special ul li .num {
    font-size: 14px;
  }
 
  section.special ul li .main_text {
    font-size: 18px;
  }

  section.special ul li .main_text span {
    font-size: 14px;
  }
  section.howto .step_box_wrap .type {
    font-size: 20px;
    padding-right: 16px;
  }
  section.howto .step_box_wrap .desc {
    font-size: 16px;
    display: block;
    text-indent: 90px;
  }
  section.howto .step_box_wrap h4 {
    font-size: 24px;
    text-align: center;
  }
    section.howto .step_box_wrap {
    padding: 0;
  }
  .together .inner ul {
    grid-template-columns: repeat(1, 1fr);
  }
  .together .inner ul li {
    border-radius: 15px;
    padding: 24px 5%;
  }
  .together .inner ul li p {
    font-size: 16px;
    line-height: 18px;
    margin-bottom: 60px;
  }
  .together .inner ul li p i {
    display: inline;
  }
  .together .inner ul li p strong {
    font-size: 24px;
    line-height: 28px;


  }
}

/** 모바일 */
@media (max-width: 767px) {
  .sub_visual {
    padding-top: calc(500 / 375 * 100%);
    background-image: url(../images/img_visual_mo.gif);
  }
  .daegu .sub_visual {
    background-image: url(../images/daegu/img_visual_mo.gif);
  }
  section.before_after .compare_box {
    gap: 72px;
  }

  section .inner .title_text {
    font-size: 34px;
    margin-bottom: 32px;
  }
  section.recommend .case-description {
    font-size: 18px;
  }
  section > .inner {
    padding: 60px 5%;
  }

  section.pre .desc {
    font-size: 18px;
    line-height: 30px;
    margin-top: 32px;
  }

  section.pre .inner {
    padding: 60px 5%;
  }
  section.recommend > div {
    padding: 0 24px 60px;
  }
  section.recommend .title {
    font-size: 34px;
    padding-top: 50px;
  }
  section.recommend .cases-container {
    padding: 0;
    margin: 32px auto 0;
  }
  section.recommend .cases-grid {
    flex-wrap: nowrap;
    flex-direction: column;
  }
  section.recommend .case-item {
    width: 100%;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  section.recommend .case-number {
    font-size: 16px;
  }
  section.before_after .compare_box li {
    padding: 24px;
  }
  section.before_after .desc_text {
    font-size: 16px;
  }
  section.before_after .compare_box::after {
    width: 30px;
    height: 45px;
    background-size: contain;
  }
  section.before_after .title {
    font-size: 34px;
    padding-top: 60px;
    padding-bottom: 0;
  }
  section.before_after .sub_desc {
    font-size: 5vw;
    padding-top: 0;
    padding-bottom: 24px;
  }
  section.before_after .sub_desc_comment {
    font-size: 14px;
    line-height: 1.6;
    padding: 10px 5% 50px;
  }
  section.howto .title {
    font-size: 34px;
    padding-top: 60px;
    padding-bottom: 32px;
  }

  section.howto .sub_desc_comment {
    font-size: 4vw;
    margin: 0 10px;
    padding-bottom: 50px;
  }

  section.howto .step_box .p_text {
    font-size: 16px;
    width: 32px;
    height: 32px;
    line-height: 32px;
  }
  section.howto .step_box .text_box p {
    font-size: 16px;
    text-align: center;
    text-wrap: balance;
    word-break: keep-all;
  }
  section.howto .step_box .text_box p br {
    display: none;
  }

  section.howto .step_box {
    gap: 24px;
  }
  section.howto .step_box li {
    display: grid;
    grid-template-columns: 2fr;
    justify-content: center;
    padding: 0;
    gap: 12px;
  }
  section.howto .step_box li .dashed{
     transform: translate(-50%, calc(-50% - 16px));
  }
  section.howto .step_box .num {
    grid-row: 1 / span 2;
    margin: 0 auto;
  }
  section.howto .step_box .img_box {
    grid-column: 2; /* 2번 열에 위치 */
    grid-row: 1; /* 1번 행에 위치 */
  }
  section.howto .step_box .text_box {
    grid-column: 2; /* 2번 열에 위치 */
    grid-row: 2; /* 2번 행에 위치 */
  }
  section.other .banners_wrap {
    padding: 30px 0 60px;
  }
  section.other .banners_wrap .banner {
    margin: 0;
    padding: 0;
  }
  section.other .banners_wrap {
    flex-direction: column;
    gap: 20px;
    margin: 0 5%;
  }
}

