/* 공통 스타일 */
/* 컬러, 헤더, 푸터, 버튼, 폰트 */

@import url('https://cdn.rawgit.com/moonspam/NanumSquare/master/nanumsquare.css');

@font-face {
  font-family: 'NanumSquareNeoExtraBold';
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.eot);
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.eot?#iefix) format("embedded-opentype"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff) format("woff"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.ttf) format("truetype");
}

@font-face {
  font-family: 'NanumSquareNeoHeavy';
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.eot);
  src: url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.eot?#iefix) format("embedded-opentype"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff) format("woff"), url(https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.ttf) format("truetype");
}

@font-face {
  font-family: 'TTHakgyoansimJiugaeR';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2402_keris@1.0/TTHakgyoansimJiugaeR.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}


:root {
  /* 화이트 컬러 */
  --white: #FFFFFF;

  /* 그레이 스케일 */
  --grey-10: #F6F6F6;
  --grey-20: #ECECEC;
  --grey-30: #D9D9D9;
  --grey-40: #C3C3C3;
  --grey-50: #A7A7A7;
  --grey-60: #989898;
  --grey-70: #6E6E6E;
  --grey-80: #444444;
  --grey-90: #2C2C2C;
  --grey-100: #191919;

  /* 주요 컬러 - 그린 계열 */
  --primary-10: #F7F9EA;
  --primary-20: #EEFA98;
  --primary-30: #D9ED52;
  --primary-40: #CBE802;
  --primary-50: #B2CC00;
  --primary-60: #98AF00;
  --primary-70: #657500;
  --primary-80: #4C5700;
  --primary-90: #333A00;

  /* 보조 컬러 - 블루 계열 */
  --secondary-10: #EEFAFB;
  --secondary-20: #D6F2F6;
  --secondary-30: #94E3EF;
  --secondary-40: #66D9EB;
  --secondary-50: #1ACEEA;
  --secondary-60: #108293;
  --secondary-70: #0A4E59;

  /* 보조컬러 - 레드 계열 */
  --tertiary-10: #ff5555;


  /* 경고/에러 컬러 */
  --error20: #BB0F30;     /* 진한 빨강 */
  --error10: #E52147;     /* 밝은 빨강 */
  --alert20: #F5CA31;   /* 진한 노랑 */
  --alert10: #FFCE61;   /* 밝은 노랑 */
}


.neo-heavy{
  font-family: 'NanumSquareNeoHeavy';
}

.neo-extra-bold{
  font-family: 'NanumSquareNeoExtraBold';
}

.jiugae{
  font-family: 'TTHakgyoansimJiugaeR';
}

.nanum{
  font-family: 'NanumSquare';
}

/* 숨김 처리 */
.hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: polygon(0 0, 0 0, 0 0);
}


main{
  padding : 140px 0 0;
}

.mobile-br{
  display: none;
}

/* /////// 버튼 스타일 /////// */
.btn-primary{
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing : -0.02em;
  padding : 5px 22px;
  border-radius: 77px;
  border: 1px solid var(--primary-50);
  color: var(--grey-70);
  cursor: pointer;
}

.btn-primary:hover{
  background-color: var(--primary-30);
  border: 1px solid var(--primary-30);
  color: var(--grey-90);
}

.btn-login{
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--grey-70);
}

.btn-login:hover{
  color: var(--primary-60);
}

.btn-signup{
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--grey-60);
}

.btn-signup:hover{
  color: var(--primary-60);
}

.btn-primary-default{
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--grey-90);
  background-color: var(--primary-30);
  border-radius: 80px;
  letter-spacing : -0.03em;
  padding : 20px 76px 20px 46px;
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.07); /* 그림자 색상에 7% 투명도 적용 */
  background-image: url('../img/ArrowCircleUpRight.svg');
  background-repeat: no-repeat;
  background-position: right 23px center;
  background-size: 32px;
  cursor: pointer;
}

.btn-primary-default:hover{
  background-color: var(--primary-50);
}

.btn-business{
  position: relative;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  padding : 2px 52px 6px 0px;
  background-image: url('../img/ico_right_white.svg');
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 26px;
  cursor: pointer;
}

.btn-business::after{
  position: absolute;
  bottom: -5px;
  left: 0;
  content: '';
  display: block;
  width: 140px;
  height: 1px;
  background-color: var(--white);
}

.btn-business:hover{
  color: var(--primary-30);
  background-image: url('../img/ico_right_primary.svg');
}

.btn-business:hover::after{
  background-color: var(--primary-30);
}

.btn-primary-bk-default{
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  background-color: var(--grey-90);
  border: 1px solid var(--grey-90);
  border-radius: 80px;
  box-sizing: border-box;
  letter-spacing : -0.03em;
  padding : 20px 76px 20px 46px;
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.07); /* 그림자 색상에 7% 투명도 적용 */
  background-image: url('../img/ArrowCircleUpRight_white.svg');
  background-repeat: no-repeat;
  background-position: right 23px center;
  background-size: 32px;
  cursor: pointer;
}

.btn-primary-bk-default:hover{
  border: 1px solid var(--grey-90);
  color: var(--grey-90);
  background-image: url('../img/ArrowCircleUpRight.svg');
  background-color: var(--grey-30);
}

.btn-primary2-bk-default{
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 700;
  padding: 13px 36px;
  text-align: center;
  border-radius: 80px;
  color : var(--white);
  background-color: var(--grey-90);
  border: 1px solid var(--grey-90);
  cursor: pointer;
}

.btn-primary2-bk-default:hover{
  border: 1px solid var(--grey-90);
  color: var(--grey-90);
  background-color: var(--grey-30);
}

.btn-primary-large-secondary050-outline-default{
  width : 120px;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing : -0.02em;
  padding : 16px 43px;
  background: var(--white);
  border: 1px solid var(--secondary-50);
  border-radius: 80px;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary-large-secondary050-outline-default:hover{
  background: var(--secondary-30);
  color: var(--white);
}

.btn-primary-small-secondary050-outline-default{
  font-size: 1.6rem;
  font-weight: 700;
  padding : 10px 24px;
  color : var(--grey-80);
  border: 1px solid var(--secondary-50);
  background: var(--white);
  border-radius: 77px;
  cursor: pointer;
}

.btn-primary-small-secondary050-outline-default:hover{
  background: var(--secondary-30);
  color: var(--white);
}

.btn-primary-medium-secondary050-outline-default{
  font-size: 1.6rem;
  font-weight: 700;
  padding : 10px 24px;
  color : var(--grey-80);
  border: 1px solid var(--secondary-50);
  background: var(--white);
  border-radius: 77px;
  cursor: pointer;
}

.btn-primary-medium-secondary050-outline-default:hover{
  background: var(--secondary-30);
  color: var(--white);
}

 /* 체크박스 기본 스타일 숨김 처리 */
 .btn-primary-small-secondary050-default {
  display: none;
}

/* 체크박스 라벨 기본 스타일 */
.btn-primary-small-secondary050-default-label {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 10px 24px;
  color: var(--white);
  border: 1px solid var(--secondary-50);
  background: var(--secondary-50);
  border-radius: 77px;
  cursor: pointer;
}

/* hover 상태 스타일 */
.btn-primary-small-secondary050-default-label:hover {
  background: var(--secondary-30);
  color: var(--white);
}

/* 체크된 상태 스타일 */
.btn-primary-small-secondary050-default:checked + .btn-primary-small-secondary050-default-label {
  background: var(--secondary-70);
  color: var(--white);
  border-color: var(--secondary-70);
}

.btn-detail-grn{
  font-size: 1.4rem;
  font-weight: 700;
  color : var(--primary-60);
  border-bottom : 1px solid var(--primary-60);
  padding-bottom: 4px;
  cursor: pointer;
}

.btn-detail-grn:hover{
  border-color: var(--primary-70);
  color: var(--primary-70);
}

 /* 체크박스 숨김 처리 */
 .checkbox-border {
  display: none;
}

/* 체크박스 라벨 스타일 */
.checkbox-border-label {
  display: inline-block;
  position: relative;
  padding-left: 58px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--grey-80);
  cursor: pointer;
}

/* 체크박스 테두리 스타일 */
.checkbox-border-label:before {
  content: '';
  position: absolute;
  display : block;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid var(--grey-40);
  border-radius: 22px;
  background: var(--white);
}

/* 체크 표시 스타일 */
.checkbox-border:checked + .checkbox-border-label:after {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-70%) rotate(45deg);
  width: 8px;
  height: 18px;
  border-right: 2px solid var(--primary-60);
  border-bottom: 2px solid var(--primary-60);
  opacity: 0;
}
.checkbox-border:checked + .checkbox-border-label:after {
  opacity: 1;
}

.btn-primary-filled{
  font-size: 1.6rem;
  font-weight: 500;
  border-radius: 77px;
  padding : 12px 24px;
  background-color: var(--secondary-50);
  border: 1px solid var(--secondary-50);
  color: var(--white);
  cursor: pointer;
}


.btn-primary-filled:hover{
  background-color: var(--secondary-30);
}

/* /////// 버튼 스타일 /////// */

/* /////// 커스텀 셀렉트 스타일 /////// */
.custom-select {
  position: relative;
  width: 236px;
}

.custom-select.small-select{
  width: auto;
}

.select-btn {
  width : 236px;
  font-size: 1.8rem;
  border: 1px solid var(--grey-40);
  padding: 21px 0px 21px 40px;
  border-radius: 4px;
  text-align: left;
  background: var(--white);
  border-radius: 40px;
  cursor: pointer;
}

.custom-select.small-select .select-btn{
  width: 150px;
  padding-left: 26px;
}

/* 셀렉트 태그 화살표 커스텀마이징 */
.select-btn {
  /* 기본 화살표 제거 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /* 커스텀 화살표 이미지 추가 */
  background-image: url('../img/ico_down.svg');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 48px;
}


/* IE에서 기본 화살표 제거 */
select::-ms-expand {
  display: none;
}


.select-btn:after {
  content: '';
  position: absolute;
  right: 24px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--grey-90);
  border-bottom: 1px solid var(--grey-90);
  transform: translateY(-70%) rotate(45deg);
}

.select-btn:hover:after {
  transform: translateY(-30%) rotate(225deg);
}

.select-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 220px;
  box-sizing: border-box;
  background: var(--white);
  border: 1px solid var(--grey-40);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-top: 4px;
  padding : 4px;
  z-index: 100;
}

.custom-select.small-select .select-list{
  width: 140px;
}

.select-list.active {
  display: block;
}

.select-list button {
  position: relative;
  width : 100%;
  max-width : 205px;
  text-align: left;
  font-size: 1.8rem;
  padding: 5px 0px 5px 40px;
  box-sizing: border-box;
  cursor: pointer;
}

.custom-select.small-select .select-list button{
  padding: 5px 0px 5px 40px;
}

/* 선택된 항목에는 hover 효과를 적용하지 않음 */
.select-list button:not(.on):hover {
  background-color: var(--primary-20);
}

/* 체크 표시 스타일 */
.check {
  display: inline-block;
  position: absolute;
  width: 6px;
  height: 12px;
  margin-right: 18px;
  top: 31%;
  left: 14px;
  transform: translateY(-50%);
}

.check.active {
  border-right: 1px solid var(--grey-90);
  border-bottom: 1px solid var(--grey-90);
  transform: rotate(45deg);
}
/* /////// 커스텀 셀렉트 스타일 /////// */

/* /////// 텍스트 필드 스타일 /////// */
.text-field-common{
  width: 100%;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing : -0.02em;
  padding: 21px 32px;
  border: 1px solid var(--grey-40);
  border-radius: 100px;
  box-sizing: border-box;
}

.text-field-common::placeholder{
  color : var(--grey-40);
}

.text-field-common:focus{
  border : 1px solid var(--primary-50);
  box-shadow: 0 4px 0 0px #00000012;
}

.text-field-long{
  max-width : 484px;
}

.text-field-medium{
  width : 322px;
}

.text-field-search-wrap{
  display : flex;
  align-items: center;
  justify-content: space-between;
  width : 484px;
  border-radius: 100px;
  padding: 5px 0px 5px 32px;
  border: 1px solid var(--grey-40);
  box-sizing: border-box;
  background-color: var(--grey-10);
}

.text-field-search-wrap input{
  width : 100%;
  font-size: 1.8rem;
  font-weight: 700;
  box-sizing: border-box;
  background-color: transparent;
}

.text-field-search-wrap input::placeholder{
  color : var(--grey-40);
}

.text-field-search-wrap button{
  cursor: pointer;
  padding : 16px 32px;
}

.text-field-small{
  max-width : 155px;
}

.text-field-area{
  width : 484px;
  height: 248px;
  border-radius: 28px;
  resize: none;
  line-height: 1.5;
}

/* /////// 텍스트 필드 스타일 /////// */

/* /////// 팝업 스타일 /////// */
.popup-complete{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  text-align: center;
  padding: 83px 72px 57px 72px;
  background: var(--white);
  box-sizing: border-box;
  border : 1px solid var(--primary-50);
  border-radius: 18px;
  z-index: 3000;
}

.popup-complete p{
  font-size: 2.6rem;
  font-weight: 700;
  color : var(--grey-90);
  margin-bottom: 7rem;
  letter-spacing : -0.02em;
}

.popup-overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 2100;
}

/* 개인정보 팝업 */
.privacy-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 960px;
  max-height: 864px;
  background: #fff;
  border-radius: 36px;
  padding : 35px 52px 146px 52px;
  box-sizing: border-box;
  border : 1px solid var(--primary-50);
  z-index: 2200;
}

/* 팝업 헤더 */
.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.6rem;
  margin-bottom: 3.8rem;
  border-bottom: 1px solid var(--primary-50);
}

.popup-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
}

.btn-close {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 28px;
  right: 26px;
}

/* 팝업 컨텐츠 */

.privacy-section:first-child {
  margin-bottom: 2rem;
}

.description {
  position: relative;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing : -0.02em;
  line-height: 1.5;
  color: var(--grey-90);
  padding-left: 1.5rem;
  margin-bottom: 1.6rem;
}

.description:before {
  content: "•";
  position: absolute;
  left: 0;
}

.privacy-list li {
  font-size: 1.6rem;
  position: relative;
  line-height: 1.6;
  color: var(--grey-90);
  word-break: keep-all;
}

/* /////// 팝업 스타일 /////// */

/* /////// 헤더 스타일 /////// */
.mobile-header{
  display: none;
}

.mobile-menu-wrapper{
  display : none;
}

.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1300px;
  height: 140px;
  z-index: 1000;
}

.header-inner{
  position: relative;
  display: flex;
  justify-content: center;
  gap: 52px;
  height: 140px;
  padding : 24px 0;
  box-sizing: border-box;
  background-color: #fff; /* 배경색을 흰색으로 설정하여 서브메뉴가 보이도록 함 */
  overflow: hidden;
  transition: all 0.3s ease;
}

.header-inner::after{
  position: absolute;
  top: 139px;
  left: 0;
  width: 100%;
  content: '';
  display: block;
  height: 1px;
  background-color: rgba(178, 204, 0, 0.3);
}

.header-inner.active{
  height: 300px;
}

.nav-wrapper > ul{
  display: flex;
  justify-content: center;
  gap: 24px;
}

.menu-item > a{
  position: relative;
  display : inline-block;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing : -0.03em;
  padding : 56px 10px 38px;
  box-sizing: border-box;
  transition: color 0.3s ease;
  min-width: 110px;
}

/* 메인 메뉴 호버 시 텍스트 색상 변경 */
.menu-item:hover > a {
  color: var(--primary-60);
}

/* 메인 메뉴 호버 시 언더라인 효과 */
.menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 10px; /* padding-left 값과 동일하게 설정 */
  width: calc(100% - 20px); /* padding 좌우 값을 제외한 너비 */
  height: 2px;
  background-color: var(--primary-60);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* 메인 메뉴 호버 시 언더라인 나타나는 효과 */
.menu-item:hover > a::after {
  transform: scaleX(1);
}

.left-menu{
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 20px;
}

.left-menu .account-menu{
  display : flex;
  align-items: center;
  gap : 26px;
}

.left-menu .social-menu{
  display : flex;
  align-items: center;
  justify-content: flex-end;
  gap : 22px;
}

.left-menu .social-menu a{
  transition: all 0.2s ease;
}

.left-menu .social-menu a:hover{
  transform: translateY(-3px);
}

.left-menu .depth2 li a{
  font-size: 1.4rem;
  font-weight: 700;
}

.logo a img{
  transform: translateY(35px);
}


/* 서브메뉴 스타일링 및 호버 효과 */
.depth2 {
  position: relative;
  top: 0;
  width: 100%;
  background-color: var(--white);
  padding: 20px 0;
  transition: all 0.3s ease;
}

/* 서브메뉴 아이템 호버 효과 */
.depth2 li > a {
  display: inline-block;
  font-size: 1.4rem;
  font-weight: 700;
  padding : 9px 12px;
  letter-spacing : -0.03em;
  transition: color 0.3s ease;
}

.depth2 li > a:hover {
  color: var(--primary-60);
}
/* /////// 헤더 스타일 /////// */

/* ///// 페이지네이션 ////// */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.page {
  width: 34px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 400;
  cursor: pointer;
}

.page:hover{
  background: var(--primary-20);
  border-radius: 100%;
}

.page.active {
  color: var(--primary-60);
  cursor: default;
}

.page.active:hover{
  background: none;
}

.page.prev {
  background: url('../img/paging_left.svg') no-repeat center center / contain;
  cursor: pointer;
}

.page.prev:not(.disabled):hover{
  background: url('../img/paging_left_hover.svg') no-repeat center center / contain;
}

.page.prev.disabled {
  background: url('../img/paging_left_disabled.svg') no-repeat center center / contain;
  cursor: default;
}

.page.next {
  cursor: pointer;
  background: url('../img/paging_right.svg') no-repeat center center / contain;
}

.page.next.disabled {
  background: url('../img/paging_right_disabled.svg') no-repeat center center / contain;
  cursor: default;
}

.page.next:not(.disabled):hover{
  background: url('../img/paging_right_hover.svg') no-repeat center center / contain;
}

/* 페이지네이션 버전2 */
  /* 페이지네이션 스타일 */
  .paginate{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 4rem;
    gap : 2.4rem
  }

  .paginate strong{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-60);
    background: var(--primary);
    border-radius: 50%;
  }

  .paginate a{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--grey-70);
    text-decoration: none;
  }

  .paginate a:hover{
    color: var(--primary);
  }

  .paginate .dir{
    font-size: 2rem;
    color: var(--grey-50);
  }

  .paginate .dir:hover{
    color: var(--primary);
  }

/* ///// 페이지네이션 ////// */

/* /////// 탑버튼 스타일 /////// */
.btn_wrap{
  position: fixed;
  right: 104px;
  top: 50%;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.franchise-btn{
  display:inline-block;
  width: 76px;
  height: 92px;
  background-image: url('../img/franchise.png');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  margin-bottom: -12px;
}

.franchise-btn:hover{
  background-image: url('../img/franchise_hover.png');
}

.consult-btn{
  display:block;
  width: 76px;
  height: 92px;
  background-image: url('../img/consult.png');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.consult-btn:hover{
  background-image: url('../img/consult_hover.png');
}

.top-btn{
  display : none;
  width: 76px;
  height: 80px;
  background-image: url('../img/top_img.svg');
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.top-btn:hover{
  background-image: url('../img/top_img_hover.svg');
}

/* /////// 푸터 스타일 /////// */
.footer{
  display : flex;
  justify-content: space-between;
  padding: 50px 220px 30px 120px;
  background-color: var(--grey-90);
  box-sizing: border-box;
}

.footer .left-info h2{
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing : -0.02em;
  color : var(--white);
  margin-bottom: 25px;
}

.footer .left-info .address{
  font-size: 1.6rem;
  line-height: 1.5;
  font-weight: 400;
  color : var(--white);
}

.footer .left-info .copyright{
  font-size: 1.4rem;
  font-weight: 400;
  color : var(--grey-40);
  margin-top: 24px;
}

.info01{
  display: inline-block;
  margin-left: 70px;
}

.info02{
  display: inline-block;
  margin-left: 26px;
}

.right-menu ul{
  display: flex;
  gap: 45px;
}

.right-menu li a{
  font-size: 2rem;
  font-weight: 700;
  color : var(--white);
}

.right-menu li a:hover{
  color : var(--primary-30);
}

.right-menu li .privacy{
  color : var(--primary-40);
}

.right-menu li .privacy:hover{
  color : var(--primary-20);
}

.bottom-mobile-menu{
  display : none;
}

.sns-menu{
  display : none;
}
/* /////// 푸터 스타일 /////// */

/* /////// 폰트 스타일 /////// */
.h0 {
  font-size: 9rem;
  font-weight: 700;
  letter-spacing : -0.03em;
}

.h1 {
  font-size: 5.8rem;
  font-weight: 800;
  letter-spacing : -0.03em;
}

.h2 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing : -0.03em;
}

.h3 {
  font-size: 3.4rem;
  font-weight: 700;
  letter-spacing : -0.03em;
}

.h4 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing : -0.02em;
}

.text-s1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing : -0.03em;
}

.text-s2 {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing : -0.02em;
}

.text-s3 {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing : -0.02em;
}

.text-s4 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing : -0.02em;
}

.text-b1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing : -0.03em;
}

.text-b2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing : -0.02em;
}

.text-b3 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing : -0.01em;
}

.text-b4 {
  font-size: 1.6rem;
  font-weight: 700;
}

.text-b5 {
  font-size: 1.4rem;
  font-weight: 700;
}

/* 모바일 화면 */
@media (max-width: 768px) {
  .h1 {
    font-size: 4.2rem;
    letter-spacing : 0;
  }
  
  .h2 {
    font-size: 3rem;
    letter-spacing : -0.03em;
  }
  
  .h3 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing : -0.03em;
  }
  
  .h4 {
    font-size: 1.4rem;
  }
  
  .text-s1 {
    font-size: 2.2rem;
    letter-spacing : -0.02em;
  }
  
  .text-s2 {
    font-size: 2.2rem;
  }
  
  .text-s3 {
    font-size: 1.8rem;
  }
  
  .text-s4 {
    font-size: 1.6rem;
    font-weight: 700;
  }
  
  .text-b1 {
    font-size: 2rem;
  }
  
  .text-b2 {
    font-size: 1.8rem;
  }
  
  .text-b3 {
    font-size: 1.5rem;
    letter-spacing : -0.02em;
  }
  
  .text-b4 {
    font-size: 1.2rem;
  }
  
  .text-b5 {
    font-size: 1.1rem;
  }

  
  html, body{
    min-width :auto;
  }

  .header{
    display: none;
  }

  .mobile-header{
    display: block;
    position : fixed;
    top : 0;
    left : 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
  }

  .mobile-header-top{
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    background: var(--grey-100);
    padding : 16px 20px 10px 0px;
  }

  .mobile-header-top > a{
    font-size: 1.4rem;
    font-weight: 500;
    color : var(--white);
  }

  .mobile-header-bottom{
    display : flex;
    justify-content: space-between;
    align-items: center;
    padding : 16px 20px;
    background: var(--white);
  }

  .mobile-header-bottom-inner{
    display: flex;
    gap: 16px;
  }

  .mobile-header-bottom-inner .mobile-menu{
    cursor: pointer;
  }

  .mobile-menu-wrapper{
    display : block;
    /* 모바일 메뉴가 화면 밖에서 시작하여 자연스럽게 슬라이드 되도록 설정 */
    position: fixed;
    top: 105px;
    left: 100%;
    width: 100%;
    height: 100dvh;
    background: var(--white);
    z-index: 1000;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
  }

  .mobile-menu-wrapper.show{
    left: 0;
    visibility: visible;
    overflow: auto;
    padding-bottom: 14rem;
  }

  .mobile-menu-nav{
    padding-top: 2.4rem;
    margin-bottom: 10rem;
  }

  .mobile-menu-nav li a{
    display : inline-block;
    width: 100%;
    font-size: 1.8rem;
    font-weight: 700;
    padding : 2rem 0 2rem 2rem;
    box-sizing: border-box;
    color : var(--grey-90);
  }

  .menu-down > a{
    background-image: url('../img/mobile/mobile_down_icon.svg');
    background-repeat: no-repeat;
    background-position: right 2rem center;
  }

  .menu-down.on > a{
    color : var(--primary-60);
    background-image: url('../img/mobile/mobile_up_icon.svg');
  }

  .mobile-depth2{
    display : none;
  }

  .mobile-depth2 li a{
    font-size: 1.6rem;
    background: var(--primary-10);
    padding : 2.1rem 0 2.1rem 2rem;
    color : var(--grey-90);
  }

  .mobile-depth2 li a:hover{
    background: var(--primary-20);
  }

  .menu-down.on .mobile-depth2{
    display : block;
  }

  .mobile-contact{
    display : flex;
    align-items: center;
    gap : 8px;
    font-size: 1.8rem;
    font-weight: 400;
    padding : 2rem 0rem 2rem 2rem;
    background: var(--primary-30);
  }

  .mobile-contact .tel{
    font-weight: 800;
  }

  .mobile-menu-social{
    display : flex;
    align-items: center;
    gap : 2rem;
    padding : 2rem 0rem 2rem 2rem;
  }

  /* 메인 콘텐츠 영역 */
  main{
    padding-top: 106px;
  }

  /* 하단 버튼 영역 */
  .btn_wrap{
    position: fixed;
    right: 0;
    top: auto;
    bottom : 0;
    width: 100%;
    flex-direction: row;
    gap: 0px;
  }

  .btn_wrap > a{
    display : flex;
    align-items: center;
    justify-content: center;
  }
  
  .franchise-btn{
    display:inline-block;
    width: 50%;
    height: 64px;
    background-image: none;
    background-color : var(--alert20);
    cursor: pointer;
  }
  
  .franchise-btn:hover{
    background-image: none;
  }
  
  .consult-btn{
    display:block;
    width: 50%;
    height: 64px;
    background-image: none;
    background-color : var(--alert20);
    cursor: pointer;
  }
  
  .consult-btn:hover{
    background-image: none;
  }
  
  .top-btn{
    position : absolute;
    bottom : 64px;
    right : 20px;
    width: 44px;
    height: 44px;
    background-size: contain;
    cursor: pointer;
  }
  
  .top-btn:hover{
    background-image: url('../img/top_img_hover.svg');
  }

  .bottom-mobile-menu{
    position: relative;
    z-index: 10;
    display : inline-block;
    color : var(--alert20);
    font-size: 1.5rem;
    font-weight: 700;
    background-color: var(--grey-90);
    padding : 1rem 2.4rem;
    border-radius: 8rem;
  }

  .franchise-btn{
    border-top-left-radius: 20px;
    border-right : 1px solid var(--grey-100);
  }

  .franchise-btn .bottom-mobile-menu::after{
    content: '';
    display: block;
    position: absolute;
    right: -25px;
    top: 32%;
    transform: translateY(-50%);
    width: 43px;
    height: 44px;
    background-image: url('../img/mobile/mobile-bot-icon-01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .consult-btn{
    border-top-right-radius: 20px;
  }

  .consult-btn .bottom-mobile-menu::after{
    content: '';
    display: block;
    position: absolute;
    right: -12px;
    top: 66%;
    transform: translateY(-50%);
    width: 17px;
    height: 21px;
    background-image: url('../img/mobile/mobile-bot-icon-02.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }

  .consult-btn .bottom-mobile-menu{
    color : var(--primary-30);
  }

  .mobile-br{
    display: block;
  }

  .pc-br{
    display: none;
  }

  .pagination{
    gap: 2rem;
  }
  
  .page{
    width: 20px;
    font-size: 1.2rem;
  }

  .page.next{
    background-size: 20px;
  }

  /* footer */
  .footer{
    padding : 3.2rem 2rem 12.2rem;
    flex-direction: column;
  }

  .footer .right-menu{
    order : -1;
    margin-bottom: 4.4rem;
  }

  .right-menu ul{
    gap: 2rem;
  }

  .right-menu li a{
    font-size: 1.5rem;
  }

  .footer .left-info h2{
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .footer .left-info .address{
    font-size: 1.2rem;
  }

  .info01{
    margin-left: 20px;
  }

  .mobile-none{
    display: none;
  }

  .sns-menu{
    display: flex;
    gap: 2rem;
    margin-bottom: 4.4rem;
  }
  
  .footer .left-info .copyright{
    font-size: 1.2rem;
  }

  .select-btn{
    font-size: 1.2rem;
    width: 100%;
    max-width : 120px;
    padding : 1.3rem 1.4rem;
    flex : 0 0 auto;
  }

  .btn-primary-large-secondary050-outline-default{
    font-size: 1.2rem;
    padding : 0.9rem 2.4rem;
    width : auto;
    flex-wrap: wrap;
  }

  .text-field-search-wrap{
    max-width : 240px;
    width : 100%;
    padding : 1.3rem 1.4rem;
  }

  .text-field-search-wrap .btn-search{
    display : none;
  }

  .text-field-search-wrap input{
    font-size: 1.2rem;
  }

  .text-field-long{
    width : 224px;
    padding : 1.3rem 1.4rem;
  }

  .text-field-medium{
    max-width : 126px;
    padding : 1.3rem 1.4rem;
  }

  .text-field-common{
    font-size: 1.2rem;
    padding : 1.3rem 1.4rem;
  }

  .btn-primary2-bk-default{
    font-size: 1.5rem;
    padding : 1rem 2.4rem;
  }

  .popup-content{
    max-height: 300px;
    overflow-y: auto;
  }

  .btn-close{
    top: 12px;
    right: 18px;
  }
}
/* /////// 버튼 스타일 /////// */

/* 기타 */
.empty{
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color : var(--grey-90);
  margin : 5rem;
}

@media (max-width : 330px){
  .branch-home{
    display : none;
  }
}

/* 팝업 */
.popup_wrap{position: fixed;top: 0;left: 50%;width: 500px;margin-left:-250px;z-index: 9999;}
.popup_wrap .popup_btm{background: #fff;display: flex;justify-content: space-between;align-items: center;padding: 5px;}
.popup_wrap .popup_btm label{display: flex;align-items: center;}
.popup_wrap .popup_btm input{margin-right: 5px;}
@media (max-width : 768px){
  .popup_wrap{width:100%;left:0;margin-left:0;}
  .popup_wrap img{width:100%}
}
