@font-face {
    font-family: 'gowun';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunBatang-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'nanum-bold';
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.eot);
    src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.eot?#iefix) format("embedded-opentype"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff) format("woff"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.ttf) format("truetype");
}
/* 공통 css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'gowun', sans-serif;
  color: var(--main-gray);
  padding: 20px;
}
h2, h3, dt{
  color: var(--main-brown);
}
a {
  text-decoration: none;
  color: inherit;
}
.mo, .block1200 { display: none;}
:root {
  /* 그레이 계열 */
  --main-gray: #464646;
  --sub-gray: #707070;
  /* 브라운 계열 */
  --main-brown: #6D5D52;
  --sub-brown: #9E8C7F;

  /* 빨강색 계열 */
  --main-red: #E30000;
  --main-pink: #EE3E74;
  /* 녹색 계열 */
  --main-green: #46B798;
  --main-blue: #285BC2;
}

/* 헤더 영역 */
.reser-header {
  position: relative;
  display: flex !important;
  align-items: flex-end;
  justify-content: center;
  height: 100px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  z-index: 99999;
}
.logo {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    left: 11%;
}
.logo img {
  height: 86px;
}
.nav-steps ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-steps li {
  margin: 0 4.5vw;
  font-size: 20px;
  color: #464646;
  cursor: pointer;
  position: relative;
}
.nav-steps li.active {
  color: var(--main-brown);
  padding-bottom: 4px;
}
/* .nav-steps li.active::before {
  content: '';
  display: inline-block;
  position: absolute;
  bottom: -12px;
  left: 50%;
  width: 150%;
  transform: translateX(-50%);
  height: 3px;
  background-color: var(--sub-brown);
} */

/* 반응형  */
@media (max-width:1600px){
    .logo {
        left: 0%;
    }
    .nav-steps li {
        margin: 0 1.5vw;
        font-size: 20px;
    }
}
@media (max-width:1200px){
  .block1200 { display: block;}
}
@media (max-width: 768px) {
    body { padding: 7px;}
    .pc { display: none;}
    .mo { display: block;}
    .reser-header { 
        height: 50px;
    }
    .logo img { height: 35px; }
    .nav-steps li {
        margin: 0 1vw;
        font-size: 13px;
    }
}
@media (max-width: 500px) {
    .nav-steps {
        margin-left: 10%;
    }
}
@media(max-width:400px){
    .nav-steps ul {
        gap: 15px;
    }
}




/* 공통 버튼 2개 */
.btn-wrap { 
  margin-top: 50px;
  display: flex;
  justify-content: center;
}
.btn-wrap .btn {
  width: 260px;
  max-width: 50%;
  padding: 22px 10px;
  background: var(--sub-brown);
  color: #fff;
  font-size: 22px;
  letter-spacing: 1.32px;
  border: 1px solid var(--sub-brown);
  border-radius: 5px;
  cursor: pointer;
  font-family: 'nanum-bold', 'sans-serif';
}
.btn-wrap .btn.btn-prev {
  margin-right: 20px;
  background: #fff;
  color: var(--main-gray);
  border: 0.5px solid #a5a5a5;
}
.btn-wrap .btn:hover {
  background: var(--main-brown);
  color: #fff;
  border: 1px solid var(--main-brown);
  transition: all 0.2s ease;

}

@media(max-width:768px){
  .btn-wrap .btn { 
    width: 170px; 
    padding: 14px 0;
    font-size: 15px;
  }
  .btn-wrap .btn.btn-prev {
    margin-right: 7px;
  }

}
@media(max-width:380px){
  .btn-wrap .btn { 
    width: 160px; 
  }
}

/* 입력,셀렉박스 글자 색 */
input[type="text"], input[type="email"], input[type="tel"], textarea, select { color: var(--main-gray);}



/* 기본 체크박스 숨기고 커스텀 디자인 */
.label-wrap label span{
  display: inline-block;
  margin-top: 3px;
}
.label-wrap input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--sub-gray);
  border-radius: 4px;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  margin-right: 8px;
  transition: background 0.2s ease;
}

/* 체크되었을 때 스타일 */
.label-wrap input[type="checkbox"]:checked {
  background-color: var(--main-brown);
  border-color: var(--main-brown);
}

/* 체크표시 (✓) */
.label-wrap input[type="checkbox"]::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

/* 체크되었을 때 표시 보이기 */
.label-wrap input[type="checkbox"]:checked::after {
  display: block;
}

/* 라디오버튼 커스텀 */
.radio-wrap input[type="radio"] {
  /*opacity: 0;  기본 라디오 숨김 */
  /* position: absolute; */
  pointer-events: none;
}

.radio-wrap input[type="radio"] + label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
}

.radio-wrap input[type="radio"] + label::before {
  content: '';
  position: absolute;
  left: -3px;
  top: -2px;
  width: 20px;
  height: 20px;
  border: 2px solid #999;
  border-radius: 50%;
}

.radio-wrap input[type="radio"]:checked + label::before {
  border-color: var(--main-brown);
  background-color: var(--main-brown);
  box-shadow: inset 0 0 0 3px white;
}
@media (max-width:768px){
  .radio-wrap input[type="radio"] + label::before {
      left: -1px;
      top: -1px;
      width: 17px;
      height: 17px;
  }
}

/* 셀렉박스 화살표 모양변경 */
.custom-select {
  position: relative;
}
.custom-select select {
  appearance: none; 
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  /* width: 100%; */
  padding: 10px 40px 10px 12px; 
  border: 1px solid #ccc;
  font-size: 14px;
  background-color: #fff;
  box-sizing: border-box;
}
.custom-select.phone-select select {
    width: 100%;
    padding: 10px 54px 10px 14px;
    border: 1px solid #bbb;
    font-size: 18px;
    box-sizing: border-box;
}

.custom-select::after {
  content: '▼'; 
  font-size: 12px;
  color: #333;
  position: absolute;
  right: 31%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.custom-select.phone-select::after {
  right: 12%;
}



@media (max-width:768px){
  .custom-select::after { right: 20px;}
  .custom-select.phone-select select { 
    padding: 10px 4vw 10px 10px;
    font-size: 12px;
  }
  .custom-select.phone-select::after {
    font-size: 10px;
  }
}



/* 팝업 */ 
.custom-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  font-family: 'nanum-bold','sans-serif';
}
.popup-content {
  background: #fff;
  border-radius: 10px;
  padding: 25px 30px 20px 30px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  font-size: 20px;
  letter-spacing: 1.25px;
  line-height: 1.6;
  position: relative;
  min-width: 650px;
  word-break: keep-all;
}
.popup-icon {
  font-size: 23px;
  margin-bottom: 3px;
}
.popup-close {
  background-color: var(--sub-brown);
  color: white;
  width: 114px;
  padding: 8px 0;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
  font-size: 17px;
}
.popup-close:hover { background-color: var(--main-brown);}

@media(max-width:768px){
  .popup-content { 
    max-width: 90%;
    min-width: 90%;
    font-size: 14px;
    letter-spacing: 0.7px;
  }
  .popup-close { 
    width: 90px;
    font-size: 13px;
  }
}
@media(max-width:370px){
  .popup-content { 
    max-width: 94%;
    font-size: 13px;
  }
}