/* addsection */
.addsection {
    background-image: url(../img/addsection.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 87px 0px;
    text-align: center;
    color: #fff;
}
.addsection h2 {
    font-size: 30px;
    font-weight: 500;
}
.addsection h2 span {
    font-weight: 700;
    color: #ffc98f;
}
.addsection p {
    font-size: 16px;
    font-weight: 300;
    margin: 20px auto 41px;
}
.addsection h3 {
    font-size: 16px;
    font-weight: 400;
}

/* footer */
.footer {
    background-color: #cb9d6c;
    padding: 143px 0px;
    color: #fff;
    position: relative;
}
footer::before {
    content: '';
    display: block;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    width: 38.3%;
    background-color: #222;
}

.footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.ft_left h3 {
    display: flex;
    align-items: center;
    font-size: 43px;
    font-weight: 700;
}
.ft_left h3 img {
    margin-right: 25px;
}
.ft_left p {
    font-size: 24px;
    font-weight: 400;
    margin: 13px 0px 56px;
}
.ft_left h4 {
    font-size: 24px;
    font-weight: 400;
    line-height: 44px;
    margin-bottom: 104px;
}
.ft_left h4 span {
    font-size: 40px;
    font-weight: 700;
}
.ft_left small {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    color: #ffe2c2;
}
.ft_right h3 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 41px;
}
.ft_right p {
    font-size: 20px;
    font-weight: 400;
    margin-top: 60px;
    line-height: 34px;
    padding-left: 15px;
}

/* main_form */
.main_form {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    max-width: 1565px;
    width: 100%;
    z-index: 102;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main_form_wrap {
    max-width: 1480px;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    background-color: #222;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    color: #fff;
    padding-left: 32px;
    position: relative;
}
.main_form_wrap h2 {
    font-size: 24px;
    font-weight: 500;
    margin-left: 28px;
    margin-right: 23px;
}
.main_form form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1029px;
}
.main_form_btn {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 218px;
    height: 100%;
    background-color: #cb9d6c;
    color: #fff;
    border: none;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}
.main_form_btn:hover {
    color: #222;
    background-color: #fff;
}
input[type='text']:focus,
input[type='select']:focus,
input[type='select']:focus-visible {
    outline: none;
    box-shadow: none;
    border: none;
}
.mf_name {
    background-color: #fff;
    width: 180px;
    border-radius: 10px;
    overflow: hidden;
}
.mf_name input {
    border: none !important;
    width: 100%;
    height: 100%;
    line-height: 48px;
    padding: 12px 22px;
    font-size: 20px;
    font-weight: 300;
    font-family: 'Pretendard', sans-serif;
}
.mf_year {
    background-color: #fff;
    width: 131px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.mf_year select {
    border: none !important;
    width: 100%;
    height: 100%;
    line-height: 48px;
    padding: 0px 22px;
    font-size: 20px;
    font-weight: 300;
    font-family: 'Pretendard', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.mf_year::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none; /* 클릭 이벤트가 select로 넘어가도록 */
    background: url(../img/arrow-down.svg) no-repeat center;
    background-size: contain;
}
.mf_category {
    background-color: #fff;
    width: 157px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}
.mf_category select {
    border: none !important;
    width: 100%;
    height: 100%;
    line-height: 48px;
    padding: 0px 22px;
    font-size: 20px;
    font-weight: 300;
    font-family: 'Pretendard', sans-serif;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.mf_category::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none; /* 클릭 이벤트가 select로 넘어가도록 */
    background: url(../img/arrow-down.svg) no-repeat center;
    background-size: contain;
}
.mf_tel {
    background-color: #fff;
    width: 317px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #222;
    padding: 0px 22px;
    height: 48px;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 300;
}
.mf_tel input {
    border: none !important;
    width: 18%;
    height: 100%;
    line-height: 48px;
    font-size: 18px;
    font-weight: 300;
    font-family: 'Pretendard', sans-serif;
}
.mf_tel .mf_tel01 {
    width: 14%;
}
.mf_agree {
    display: flex;
    align-items: center;
}
.mf_agree span {
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    margin-left: 23px;
}
.mf_agree a {
    font-size: 16px;
    font-weight: 600;
    color: #cb9d6c;
}
/* 1) 기본 체크박스 숨기기 */
.mf_agree input[type='checkbox'] {
    /* 모든 브라우저에서 기본 스타일 제거 */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* 크기 조절 */
    width: 30px;
    height: 30px;
    margin: 0; /* 필요에 따라 조정 */

    /* 배경이미지(언체크드) */
    background: url(../img/checkbox-unchecked.svg) no-repeat center;
    background-size: contain;
    cursor: pointer;
}

/* 2) 체크된 상태일 때 */
.mf_agree input[type='checkbox']:checked {
    background: url(../img/checkbox-checked.svg) no-repeat center;
    background-size: contain;
}

/* 3) 포커스 아웃라인 제거 (선택사항) */
.mf_agree input[type='checkbox']:focus {
    outline: none;
}
/* CSS */
/* 초기 상태: 안 보이게 + 살짝 아래로 이동 */
.animate-item {
    opacity: 0;
}

/* 뷰포트에 진입했을 때 추가할 클래스 */
.animate-item.is-visible {
    animation: text-focus-in 1s linear both;
}
@keyframes text-focus-in {
    0% {
        filter: blur(12px);
        opacity: 0;
    }
    100% {
        filter: blur(0px);
        opacity: 1;
    }
}
.gotop img {
    transition: all 0.2s;
}
.gotop:hover > img {
    filter: invert(1);
}
