@charset "UTF-8";

@media screen and (max-width: 1664px) {
  /* 한약 금액 섹션 */
  html {
    font-size: 10px;
  }

  .makeline .bigbox {
    padding: 6rem 3rem;
  }

  .makeline .topbox {
    flex-direction: column;
    gap: 5rem;
    margin-bottom: 6rem;
  }

  .makeline .topbox .vertical-divider {
    display: none;
  }
  .makeline .advenbox {
    flex-direction: column;
    gap: 0.5rem;
  }

  .makeline .advenbox img {
    max-width: 1.8rem;
  }

  .makeline .downbox {
    flex-direction: column;
    gap: 10rem;
    border-radius: 16px;
    padding: 6rem 2rem;

    border: none;
  }

  .makeline .leftbox {
    flex-direction: column;
    gap: 8rem;
  }

  .makeline .leftbox .sub {
    display: none;
  }

  .makeline .subtitle {
    margin-bottom: 4rem;
  }

  .makeline .downbox .vertical-divider-big {
    display: none;
  }

  .makeline .topbox2 {
    flex-direction: column;
    gap: 1rem;
  }

  .makeline .topbox2 img {
    max-width: 2.4rem;
  }

  .makeline .leftbox img {
    max-width: 30rem;
  }
}

@media screen and (max-width: 1480px) {
  html {
    font-size: 9px;
  }

  /* why 섹션 */

  .visualline .downbox {
    gap: 2rem;
    justify-content: space-between;
  }

  .visualline .wrap {
    padding-left: 0;
    padding-top: 20rem;
  }

  .visualline {
    padding: 0;
  }

  .visualline .woman1,
  .woman2 {
    max-width: 47.2rem;
  }

  /* .rebuilding 섹션 */
  .rebuilding {
    padding-top: 20rem;
  }

  /* review 섹션 */
  .review .downbox img {
    max-width: 33rem;
  }

  /* 차별점 섹션 */

  .difference .textbox {
    display: flex;
    flex-direction: column;
    padding: 5rem 3rem;
    align-items: flex-start;
    text-align: left;
  }

  .difference .firstimgbox img {
    max-width: 65rem;
    width: 100%;
    height: auto;
    border-radius: 0 0 15px 0;
  }
}

@media screen and (max-width: 1024px) {
  /* 리뷰 섹션 */
  .review .lowbox {
    flex-direction: column;
  }

  .review .downbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
  }

  .review .imgbox p {
    min-width: 9.657rem;
    line-height: 1.25em;
  }

  .review h4 {
    display: none;
  }

  .review .btnbox {
    flex-direction: row;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .review .abcd {
    flex: 1;
    font-size: clamp(14px, 2vw, 18px);
    min-width: 15.6rem;
    width: fit-content;
    white-space: nowrap;
  }

  .review .leftbox {
    margin-bottom: 6rem;
  }

  .review .oo1 p {
    font-size: clamp(12px, 2vw, 14px);
    color: white;
    font-weight: 500;
  }

  /* 차별점 섹션 */
  .difference .firstimgbox {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    display: none;
  }

  .difference .textbox {
    display: flex;
    flex-direction: column;
    padding: 5rem 3rem;
    align-items: center;
    text-align: center;
  }

  .difference .firstimgbox img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0 0 0 0;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 7px;
  }

  /* notice 섹션 */
  .notice {
    padding: 140px 0;
  }

  .notice .box {
    width: 92%;
  }

  /* 메인 섹션 */
  main .downbox {
    padding-bottom: 22rem;
  }

  header .cta {
    display: none;
  }

  main .cta {
    display: block;
    margin-top: 6rem;
  }

  main .cta {
    display: flex;
    align-self: flex-end;
    font-size: clamp(12px, 2vw, 14px);
    line-height: 1.4em;
    font-weight: 500;
    color: #fff !important;
    background-color: var(--main600);
    border-radius: 99px;
    padding: 1rem 2.6rem;
    align-items: center;
  }

  main .cta .trans {
    margin-right: 0.4rem;
  }

  main .cta .right {
    margin-left: 2rem;
  }

  main .cta img {
    max-width: 11rem;
  }

  main .translate {
    position: absolute;
    top: calc(100% + 1rem);
    flex-direction: column;
    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  main .translate.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  main .btn {
    width: 100%;
    display: flex;
    align-items: center;
    font-size: clamp(12px, 2vw, 15px);
    font-weight: 500;
    color: #e2e2e2;
    line-height: 1;
    background-color: #b1b2ac;
    padding: 1rem 2.6rem;
  }

  main .btn .label {
    flex: 1;
    text-align: left;
    white-space: nowrap;
  }

  main .btn.active {
    font-size: clamp(12px, 2vw, 15px);
    font-weight: 500;
    color: #05504e;
    line-height: 1;
    background-color: #dededd;
    padding: 1rem 2.6rem;
  }

  main .btn.active .check {
    visibility: visible;
  }

  main .btn:not(.active)::after {
    visibility: hidden;
  }

  main .btn .korea {
    margin-right: 0.4rem;
  }

  main .btn .uk {
    margin-right: 0.4rem;
  }

  main .check {
    visibility: hidden;
    max-width: 1.3rem;
    height: 1em;
    display: inline-block;
    vertical-align: middle;
    margin-left: 1.5rem;
  }

  /* why섹션 */

  .visualline .downbox {
    flex-direction: column;
    gap: 6rem;
  }

  .visualline .wrap {
    padding-left: 0;
    flex-direction: column;
    gap: 6rem;
  }

  .visualline .woman1,
  .woman2 {
    max-width: 100%;
  }

  /* 리빌딩 섹션 */
  .rebuilding {
    padding-top: 20rem;
  }

  .rebuilding .wrap {
    flex-direction: column-reverse;
    gap: 6rem;
    padding-left: 0;
  }

  .rebuilding img {
    display: block;
    margin: 0 auto;
    width: auto;
    height: auto;
    max-height: 400px;
  }

  .rebuilding .title.left {
    margin-top: 0rem;
  }

  /* 15year 섹션 */
  .year {
    padding: 12rem 0;
  }

  .year .wrap {
    flex-direction: column;
  }

  .year .leftbox {
    margin-bottom: 4.8rem;
  }

  .year .rightbox {
    display: grid;
    grid-template-columns: repeat(2, minmax(12rem, 1fr));
    grid-auto-rows: 18rem;
    grid-gap: 2rem;
    justify-items: center;
    align-items: center;
  }

  .year .rightbox h4 {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 500;
    line-height: 1.4em;
  }

  /* 리뷰 섹션 */
  .review .lowbox {
    flex-direction: column;
  }

  .review .downbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
  }

  .review .imgbox p {
    min-width: 9.657rem;
    line-height: 1.25em;
  }

  .review h4 {
    display: none;
  }

  .review .btnbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 1rem;
    align-self: auto;
  }

  .review .abcd {
    font-size: clamp(14px, 2vw, 18px);
    white-space: nowrap;
    width: 100%;
    text-align: center;
  }

  .review .leftbox {
    margin-bottom: 6rem;
  }

  .review .oo1 p {
    font-size: clamp(12px, 2vw, 14px);
    color: white;
    font-weight: 500;
  }

  /* 차별점 섹션 */
  .difference .firstimgbox {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    display: none;
  }

  .difference .textbox {
    padding: 5rem 3rem;
  }

  .difference .btn.active img {
    min-width: 2.8rem;
  }

  .difference .firstimgbox img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 0 0 0 0;
  }

  .difference .topbox {
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
    align-items: baseline;
    gap: 1.4rem;
  }

  .difference .scroll-track img {
    max-width: 40rem;
  }

  /* 한약재 섹션 */
  .medicine .lowbox {
    flex-direction: column;
  }

  .medicine .downbox {
    display: flex;
    flex-wrap: wrap;
  }

  /* 추천 섹션 */
  .recommend.dark .downbox {
    display: grid;
    grid-template-columns: repeat(1, minmax(40rem, 1fr));
    gap: 6rem;
  }

  /* 다이어트 실패 섹션 */
  .fault .title.left {
    padding-top: 0rem;
    margin-bottom: 6rem;
  }

  /* 약속 섹션 */
  .promise .contentbox {
    display: flex;
    gap: 6rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .promise .title {
    margin-bottom: 5rem;
  }

  .promise .rightbox {
    padding-top: 0rem;
    min-width: 0;
  }

  .promise .only.pc {
    display: none;
  }

  .promise .contentbox2 {
    display: flex;
    flex-direction: column-reverse;
    gap: 6rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  /* 한약 금액 섹션 */

  .makeline .bigbox {
    padding: 6rem 3rem;
  }

  .makeline .topbox {
    flex-direction: column;
    gap: 5rem;
    margin-bottom: 6rem;
  }

  .makeline .topbox .vertical-divider {
    display: none;
  }
  .makeline .advenbox {
    flex-direction: column;
    gap: 0.5rem;
  }

  .makeline .advenbox img {
    max-width: 1.6rem;
  }

  .makeline .downbox {
    flex-direction: column;
    gap: 10rem;
    border-radius: 16px;
    padding: 6rem 2rem;

    border: none;
  }

  .makeline .leftbox {
    flex-direction: column;
    gap: 8rem;
  }

  .makeline .leftbox .sub {
    display: none;
  }

  .makeline .downbox .vertical-divider-big {
    display: none;
  }

  .makeline .topbox2 {
    flex-direction: column;
    gap: 1rem;
  }

  .makeline .topbox2 img {
    max-width: 2.6rem;
  }

  .makeline .leftbox img {
    max-width: 38rem;
  }

  .makeline .downbox h6 {
    top: 3.8rem;
  }

  /* 처방 섹션 */
  .process {
    display: none;
  }

  .pross.mobile {
    display: block;
  }

  .pross.mobile .swiper.process-swiper.remote {
    margin-bottom: 0;
  }

  /* FAQ 섹션 */
  .faq .pc {
    display: none;
  }

  .faq .downbox {
    display: flex;
    flex-direction: column;
    gap: 6rem;
  }

  .faq .faqbox .questionbox img {
    width: 100%;
    height: auto;
    max-width: 2rem;
    transition: transform 0.3s ease;
    margin-left: 0rem;
  }

  .faq .mobile {
    display: block;
  }

  /* 카카오 섹션 */
  .kakao {
    padding: 15rem 0 0 0;
  }

  .kakao .wrap {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  /* 팝업창 */
  .popup-privacy {
    max-height: 50vh;
    min-width: 45rem;
  }

  /* 로그인 모바일 */
  .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;
  }

  html {
    font-size: 8px;
  }

  header .logo img {
    max-width: 110px;
  }

  header {
    height: 65px;
  }

  .wrap {
    width: 92%;
  }

  /* footer */

  /* footer */

  .footer-details li + li::before {
    content: none;
    margin: 0;
    color: inherit;
  }

  footer .downbox > * + *::before {
    content: none;
    margin: 0;
    color: inherit;
  }

  footer .downbox {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem; /* 텍스트 ↔ 카피: 12px */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .site-footer.dark {
    padding: 4rem 2rem 4rem;
  }

  .footer-brand {
    margin-bottom: 3rem;
  }

  .downbar {
    padding: 2.5rem 0;
  }

  .downbar input {
    font-size: 12px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 2px;
    width: 100%;
  }

  .downbar .leftbox {
    display: flex;
    margin-bottom: 1.5rem;
    margin-right: 0;
    display: flex;
    width: auto;
  }

  .downbar .form {
    margin-right: 1rem;
  }

  .downbar .form:last-of-type {
    margin-right: 0;
  }

  .downbar .cta {
    gap: 1rem;
    font-size: 12px;

    padding: 1rem 1.5rem;
  }

  .downbar .cta img {
    width: auto;
    max-width: 14px;
  }
}

.modal_back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
}
.modal {
  position: fixed;
  left: 50%;
  top: 7.5%;
  transform: translateX(-50%);
  width: 400px;
  height: 230px;
  max-width: 80%;
  background: #eee;
  border-radius: 2rem;
  z-index: 1001;
  box-shadow: 2px 4px 7px 1px #00000012;
  text-align: center;
  animation: moveUp 0.5s ease-in-out;
  display: none;
}
@keyframes moveUp {
  0% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}
.modal img {
  width: 65px;
  object-fit: contain;
  margin-top: 45px;
  margin-bottom: 5px;
}
.modal p {
  font-size: clamp(16.5px, 1.9rem, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 auto;
}
.modal button {
  width: 100%;
  height: 57px;
  position: absolute;
  left: 0;
  bottom: 0;
  border-top: 1px solid #ddddddb4;
  font-weight: 500;
  transition: 0.3s;
}
.modal button:hover {
  background: #0000000a;
}

@media screen and (max-width: 480px) {
  /* 차별점 섹션 */
  .difference .topbox {
    display: flex;
    flex-direction: column;
    margin-bottom: 6rem;
    align-items: baseline;
    gap: 1.4rem;
  }

  .difference .scroll-track img {
    max-width: 40rem;
  }

  /* 한약재 섹션 */
  .medicine .lowbox {
    flex-direction: column;
  }

  .medicine .btnbox {
    margin-bottom: 6rem;
  }

  .medicine .downbox {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .medicine .contentbox {
    position: relative;
    flex: 1;
    min-width: 50rem;
    background-color: #f7f7f7;
    border-radius: 24px;
    padding: 4rem 3rem;
  }

  /* 처방 섹션 */
  .process .icon {
    display: none !important;
  }
  .process .downbox {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
  }

  .process .topbox {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 6.8rem;
    text-align: center;
  }

  .process .downbox img {
    max-width: 100rem;
  }

  /* FAQ 섹션 */
  .faq .downbox {
    display: flex;
    flex-direction: column;
    gap: 6rem;
  }

  .faq .faqbox .questionbox img {
    width: 100%;
    height: auto;
    max-width: 2rem;
    transition: transform 0.3s ease;
    margin-left: 0rem;
  }

  .faq .mobile {
    display: block;
  }

  /* 카카오 섹션 */
  .kakao {
    padding: 15rem 0 0 0;
  }

  .kakao .wrap {
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }

  /* 팝업창 */
  .popup-privacy {
    max-height: 50vh;
    min-width: 45rem;
  }
}
