/* Gmarket Sans */
@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff')
    format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'GmarketSansLight';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff')
    format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gmarket Sans';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff')
    format('woff');
  font-weight: normal;
  font-style: normal;
}

/* Paperlogy */
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-1Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-2ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-3Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-4Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-5Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-6SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-7Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-8ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-9Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* css 드래그 이벤트 차단 */
.disableDrag {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* header */
#header {
  width: 100%;
  display: flex;
  height: 70px;
  box-sizing: border-box;
  padding: 0 40px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(17, 17, 17, 0.5) 40%,
    rgba(17, 17, 17, 0) 100%
  );
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 45;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* 스크롤 시 흰 배경 */
#header.gnb-white {
  background: #fff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.06);
}

.logo {
  object-fit: contain;
  padding: 13px 0;
  /* width: 115px; */
  width: auto;
  /* max-height: 44px; */
  height: 100%;
  position: absolute;
  left: 40px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* 투명(어두운) 헤더: 흰색 로고(w-logo.png) 표시 */
#header .logo-color {
  opacity: 0;
}
#header .logo-white {
  opacity: 1;
}

/* 스크롤(흰 배경): 컬러 로고(logo.png) 표시 */
#header.gnb-white .logo-white {
  opacity: 0;
}
#header.gnb-white .logo-color {
  opacity: 1;
}

#header nav {
  overflow: hidden;
  margin: 0;
  height: 100%;
}

#header nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

#header nav > ul > li {
  display: flex;
  box-sizing: border-box;
  height: 100%;
  padding: 0 30px;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  font-family: 'Paperlogy', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px; /* 144.444% */
  letter-spacing: -0.45px;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* 활성/호버 (투명 헤더) */
#header nav > ul > li:hover,
#header nav > ul > li.tap {
  color: #fff;
  font-weight: 600;
}

/* 흰 배경 기본 글자색 */
#header.gnb-white nav > ul > li {
  color: rgba(17, 17, 17, 0.75);
}

/* 흰 배경 활성/호버 */
#header.gnb-white nav > ul > li:hover,
#header.gnb-white nav > ul > li.tap {
  color: #5f432c;
  font-weight: 600;
}

.header-div {
  display: none;
  align-items: center;
  gap: 16px;
}

.mo-menu-open {
  cursor: pointer;
  background: transparent;
}

.mo-menu-open:hover {
  background: rgba(255, 255, 255, 0.1);
}

.call {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
  align-items: center;
  gap: 2px;
  color: #393b85;
  text-align: right;
  font-size: 18px;
  font-weight: 700;
  line-height: 125%; /* 22.5px */
  letter-spacing: -0.45px;
}

.call:hover {
  opacity: 0.8;
}

.mo-menu .call {
  font-size: 24px;
  font-weight: 700;
  line-height: 125%;
  letter-spacing: -0.6px;
}

.mo-menu {
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(255, 255, 255, 0.87);
  backdrop-filter: blur(6px);
  position: fixed;
  left: 0;
  z-index: 101;
}

.mo-menu-top {
  height: 50px;
  box-sizing: border-box;
  padding: 0px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mo-menu-top .logo {
  position: static;
}

.mo-menu-bottom {
  width: 100%;
  height: calc(100% - 50px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
}

.menu-close {
  display: flex;
  background: transparent;
  cursor: pointer;
}

.mo-menu nav {
  width: 100%;
  height: calc(100% - 62px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.mo-menu nav > ul > li {
  width: 100%;
  height: 80px;
  color: #505050;
  text-align: center;
  font-family: 'Gowun Batang';
  font-size: 18px;
  font-weight: 700;
  line-height: 26px; /* 144.444% */
  letter-spacing: -0.45px;
  box-sizing: border-box;
  padding: 8px 30px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mo-menu nav > ul > li:hover,
.mo-menu .tap {
  color: #b8000e !important;
  background: transparent !important;
}

/* footer */
footer {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  display: flex !important;
  padding: 65px 0;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-big-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1300px;
  width: 100%;
  box-sizing: border-box;
  padding: 0px 16px;
  justify-content: center;
  align-items: flex-start;
}

.footer-container {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo {
  width: 163px;
}

.footer-wrapper {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}

.footer-wrap {
  display: flex;
  align-items: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.footer-div {
  box-sizing: border-box;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  color: rgba(17, 17, 17, 0.7);
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: -0.4px;
  word-break: keep-all;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.footer-contact div {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #191919;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
}

.footer-contact p {
  color: #191919;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px; /* 141.667% */
  letter-spacing: -0.6px;
}

.up-btn {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #fff;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.1);
  z-index: 5;
}

.up-btn:hover {
  background: #bb3f4f;
  border: 1px solid #bb3f4f;
}

.up-btn:hover svg path {
  fill: #fff;
}

/* 하단 고정 문의 */
#floating-container {
  max-width: 1300px;
  width: 100%;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 45;
  padding: 3px 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  border-radius: 8px 8px 0 0;
  background: #f7f6f4;
}

.floating-form {
  max-width: 1240px;
  width: 98%;
  height: 54px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  gap: 32px;
}

.floating-num {
  color: #5f432c;
  text-align: right;
  font-family: 'Paperlogy';
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 125%; /* 30px */
  letter-spacing: -0.6px;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  white-space: nowrap;
}

.floating-num p {
  display: flex;
  align-items: center;
}

.floating-num p span {
  color: #fff;
  text-align: right;
  font-size: 20px;
  font-weight: 700;
  line-height: 125%; /* 25px */
  letter-spacing: -0.5px;
  border-radius: 8px;
  background: #5f432c;
  display: inline-flex;
  box-sizing: border-box;
  padding: 6px 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-right: -1px;
  white-space: nowrap;
}

.floating-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
}

.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
}

.input-wrap input[type='text'],
.floating-mo-form .floating-mo-wrap input[type='text'] {
  border-radius: 4px;
  border: 1px solid rgba(85, 85, 85, 0.2);
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  width: 180px;
  box-sizing: border-box;
  padding: 8px 10px;
  align-items: center;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
}

.input-wrap input[type='text']:focus,
.floating-mo-form .floating-mo-wrap input[type='text']:focus {
  border: 1px solid #5f432c;
}

.input-wrap input[type='text']::placeholder,
.floating-mo-form .floating-mo-wrap input[type='text']::placeholder {
  color: rgba(51, 51, 51, 0.5);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.4px;
}

/* 데스크톱 인풋: 기본 180px, 공간 부족 시 유동 축소 (줄바꿈 방지) */
.input-wrap input[type='text'] {
  flex: 0 1 180px;
  min-width: 0;
  width: auto;
}

.floating-form-wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
}

.floating-agree-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-agree-wrap .round-checkbox {
  width: 25px;
  height: 25px;
  border: none;
  border-radius: 50px;
  appearance: none;
  position: relative;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(85, 85, 85, 0.2);
}

.floating-agree-wrap .round-checkbox:checked::before {
  font-size: 100%;
  color: #fff;
  position: relative;
}

.floating-agree-wrap .round-checkbox:checked {
  background-image: url('../img/check.png');
  background-size: 15px !important;
  background-position: center center !important;
  background-color: #5f432c;
  background-repeat: no-repeat;
  border: none;
}

.floating-agree-wrap .agree {
  color: #333;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: normal;
  letter-spacing: -0.28px !important;
  cursor: pointer;
  white-space: nowrap;
}

.floating-agree-wrap .agree-open {
  font-weight: 600;
}

.f-btn {
  display: flex;
  height: 42px;
  box-sizing: border-box;
  padding: 0px 40px;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #5f432c;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: -0.45px;
  border: none;
}

.f-btn:hover {
  background: #3d2614;
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.4s ease-in-out;
}

/* 모바일 고정 폼 */
#floating-mo-container {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px 12px 0 0;
  background: #fff;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 45;
}

.floating-mo-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.floating-logo {
  width: 90px;
}

.floating-mo-form .floating-mo-div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.floating-mo-form .floating-mo-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.floating-mo-form .floating-mo-wrap input[type='text'],
.floating-mo-form .floating-mo-wrap .f-btn {
  width: calc(25% - 3px);
}

/* 문의폼 이동 고정 버튼 */
#go-contact {
  height: fit-content;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 45;
  display: flex;
  box-sizing: border-box;
  padding-right: 12px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 200px;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  color: #333;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 125%; /* 17.5px */
  letter-spacing: -0.35px;
  white-space: nowrap;
  cursor: pointer;
}

#go-contact:hover {
  background: #fff;
}

/* 개인정보처리방침 */
.agree-modal {
  position: fixed;
  top: 2.5vh;
  width: 1080px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  cursor: pointer;
  z-index: 60;
  box-sizing: border-box;
  padding: 0 48px;
  padding-top: 60px !important;
  padding-bottom: 20px !important;
  justify-content: initial !important;
  height: 95vh;
  gap: 20px !important;
  display: none;
}

.agree-close {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: end;
  cursor: pointer;
}

.agree-close > svg {
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.8);
  padding: 6.4px 6.4px 5.6px 5.6px;
}

.agree-close > svg:hover {
  background: #000;
  transition: 0.3s;
}

.agree-modal > .title {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.p24 {
  color: #111;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px; /* 141.667% */
  letter-spacing: -0.6px;
}

.p40 {
  color: #111;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 52px; /* 130% */
  letter-spacing: -1px;
}

.content-div {
  margin-top: 20px;
  height: 81%;
  overflow: hidden;
}

.agree-modal > .content-div > .content {
  height: 100%;
  overflow: scroll;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.4px;
  color: #505050;
  padding-bottom: 20px;
}

.agree-logo {
  width: 150px;
}

.modal-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.3;
  z-index: 50;
}

.normal {
  font-weight: 400 !important;
}

.bold {
  font-weight: 700 !important;
}

.semibold {
  font-weight: 600 !important;
}

.bold-g {
  font-family: 'Gmarket Sans';
}

.primary {
  color: #562a06 !important;
}

.o {
  color: #f0832c !important;
}

.w {
  color: #fff !important;
}

.sub {
  color: #505050 !important;
}

.y {
  color: #ffdc6a !important;
}

/* 제목 + 부제목 + 서브 텍스트 wrap */
.tit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  z-index: 5;
}

/* 제목 + 부제목 div */
.tit-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 5;
}

.st-tit {
  font-weight: 700;

  color: #3d2614;
  text-align: center;
  font-family: 'Gmarket Sans';
  font-size: 64px;
  line-height: 125%; /* 80px */
  letter-spacing: -1.6px;
  position: relative;
  z-index: 5;
}

.st-sub-txt {
  color: #5f432c;
  opacity: 0.8;
  font-size: 18px;
  line-height: 128%;
  text-align: center;
  font-family: 'Paperlogy';
}

.st-sub-tit {
  color: #3d2614;
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  line-height: 145%; /* 43.5px */
  letter-spacing: -0.75px;
  position: relative;
  z-index: 5;
}

.justify-start {
  justify-content: flex-start !important;
}

.justify-center {
  justify-content: center !important;
}

.justify-end {
  justify-content: flex-end !important;
}

.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* 900px */
.mi-br {
  display: none;
}

/* 768px */
.ta-br {
  display: none;
}

/* 650px */
.mo-br {
  display: none;
}

/* 480px */
.xs-br {
  display: none;
}

/* 400px */
.xxs-br {
  display: none;
}

/* 370px */
.xxxs-br {
  display: none;
}

@media (min-width: 901px) {
  #floating-mo-container {
    display: none !important;
  }
}

@media (min-width: 1025px) {
  .mo-menu {
    display: none !important;
  }
}

@media (max-width: 1280px) {
  #header {
    height: 65px;
    padding: 0 16px;
  }
  .logo {
    /* width: 120px; */
    left: 16px;
  }
  #header nav > ul > li {
    font-size: 16px;
    letter-spacing: -0.4px;
    padding: 8px 20px;
  }
  .floating-form,
  .floating-form-wrap {
    gap: 20px;
  }
  .floating-contact {
    gap: 16px;
  }
  .floating-num {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .floating-num p span {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .input-wrap input[type='text'] {
    flex-basis: 160px;
  }
  .f-btn {
    font-size: 16px;
    letter-spacing: -0.4px;
    padding: 0 32px;
  }
  .st-tit {
    font-size: 56px;
    letter-spacing: -1.4px;
  }
  .st-sub-tit {
    font-size: 28px;
    letter-spacing: -0.7px;
  }
}

@media (max-width: 1200px) {
  .agree-modal {
    width: 100%;
    left: 0;
    top: 0;
    min-height: 100vh;
    height: 100%;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .footer-wrapper,
  .footer-container {
    flex-direction: column;
    gap: 24px;
  }
  .input-wrap {
    gap: 4px;
  }
  .floating-contact,
  .floating-form {
    gap: 12px;
  }
  .floating-contact input[type='text'] {
    flex-basis: 140px;
  }
}

@media (max-width: 1024px) {
  #header {
    height: 50px;
    justify-content: space-between;
  }
  .logo {
    /* width: 98px; */
    padding: 10px 0;
  }
  #header nav,
  #header .call span {
    display: none;
  }
  .fixed-btn {
    right: 14.5px;
    bottom: 14.5px;
  }
  footer {
    padding: 60px 0;
  }
}

@media (max-width: 900px) {
  #floating-container {
    display: none !important;
  }
  .f-btn {
    padding: 0;
  }
  .st-tit {
    font-size: 48px;
    letter-spacing: -1.2px;
  }
  .st-sub-tit {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  .mi-br {
    display: block;
  }
}

@media (max-width: 768px) {
  .agree-modal {
    padding: 0 20px;
  }
  .ta-br {
    display: block;
  }
}

@media (max-width: 650px) {
  .footer-logo {
    width: 130px;
  }
  .footer-div {
    font-size: 14px;
    letter-spacing: -0.35px;
  }
  .agree-modal {
    gap: 40px !important;
  }
  .agree-modal > .title > .p24 {
    font-size: 20px;
    line-height: 28px; /* 140% */
    letter-spacing: -0.5px;
  }
  .agree-modal > .title > .p40 {
    font-size: 28px;
    line-height: 38px; /* 135.714% */
    letter-spacing: -0.7px;
  }
  .agree-logo {
    width: 120px;
  }
  .st-tit {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .st-sub-tit {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .mo-br {
    display: block;
  }
}

@media (max-width: 480px) {
  #floating-mo-container {
    padding: 12px 10px;
  }
  .floating-mo-form .floating-mo-wrap input[type='text'] {
    padding: 8px 6px;
    font-size: 14px;
    letter-spacing: -0.35px;
  }
  .floating-mo-form .floating-mo-wrap input[type='text']::placeholder {
    font-size: 14px;
    letter-spacing: -0.35px;
    border-radius: 4px;
  }
  .f-btn {
    font-size: 16px;
    letter-spacing: -0.4px;
    height: 37.6px;
    border-radius: 4px;
  }
  .st-tit {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .st-sub-tit {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .xs-br {
    display: block;
  }
  .xs-no-br {
    display: none;
  }

  .st-sub-txt {
    font-size: 14px;
  }
}

@media (max-width: 400px) {
  .xxs-br {
    display: block;
  }
}

@media (max-width: 370px) {
  .xxxs-br {
    display: block;
  }

  .st-tit {
    font-size: 26px;
  }
}
