/*관심고객등록_01*/

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 100; /* Thin */
}


.main_form {
    display: flex;
    justify-content: space-between;
}

.term_zone {
    width: 40%;
}

.text_area_zone {
    border: 1px solid #e4e4e4;
    /*overflow-y: scroll;*/
    height: 565px;
    text-align: left;
    padding: 20px;
    font-size: 13.5px;
    color: #6f6f6f;
}

.radio_zone {
    margin-top: 20px;
}

.radio_zone strong,
.radio_zone span{
    margin-right: 10px;
}

.radio_zone label {
    cursor:pointer;
}

.board_form {
    border-top: 1px solid #e4e4e4;
}

.board_form .field_tr {
    font-size: 15px;
    border-bottom: 1px solid #e4e4e4;
}

.board_form .field_tr th {
    border-bottom: 1px solid #e4e4e4;
    width: 120px;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    vertical-align:middle;
    background-color: #ffffff;
    font-weight: bold;
}

.board_form td.field {
    font-size: 14px;
    padding: 10px;
    text-align:left;
    border-bottom: 1px solid #e4e4e4;
    font-weight: bold;
    vertical-align:middle;
}

.board_form td.field.type span,
.board_form td.field.age span {
    display:inline-block;
}

.board_form td.field span label {
    margin-right: 20px;
    cursor:pointer;
}

.button_d {
    text-align: center;
    margin-top: 50px;
}

/* 기본 상태 (조건 미충족) */
.button_d a.confirm {
    background-color: #fff;
    color: #000;
    border: 1px solid #ccc;
    display: inline-block;
    font-size: 20px;
    width: 300px;
    height: 66px;
    line-height: 66px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
    text-align: center;
    transition: all 0.3s ease; /* 부드러운 전환 */
    cursor: pointer;
}
.button_d a.confirm:hover {
    background-color: #55242A;
    color: #fff;
    border: none;
}
/* 모든 조건 충족 시 */
.button_d a.confirm.active {
    background-color: #55242A;
    color: #fff;
    border: none;
}



.board_form input[type='text']::placeholder {
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
}

.board_form input[type='text'],
.board_form input[type='tel'],
.board_form select {
    height: 45px;
    font-size:13px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
}

.form-group.flex.f01 {
    align-items: center;
}

.form-group.flex.f01 select,
.form-group.flex.f01 input{
    width: 28%;
}

.form-group.flex.f01 .hypen {
    display: block;
    width: 3.3333%;
    text-align: center;
}

.form-group.flex.f02 input{
    margin-right: 5px;
    width: calc(100% - 155px);
}

.w120 {
    width: 120px;
}

.w500 {
    width: 100%;
}

.board_form .form-group:nth-of-type(2) {
    margin: 5px 0;
}

.find_tel {
    width: 100px;
    height: 45px;
    line-height: 35px;
    padding: 0;
    font-size: 15px;
    background-color: #C1A37A;
    color:#fff;
    margin-left: 5px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
}

.find_post {
    width: 150px;
    height: 45px;
    line-height: 35px;
    padding: 0;
    font-size: 15px;
    background-color: #494949;
    color:#fff;
    margin-left: 5px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 300;
}

.container .board-table {
    width: 100%;
    border-top: 2px solid #252525;
    font-size: 14px;
    margin-bottom: 40px;
}

.container .board-table th,
.container .board-table td {
    padding: 10px;
    color: #666;
    text-align: center;
    border-bottom: 1px solid #e4e4e4;
}
.form_close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.75s ease; /* 빠른 속도 (0.45초) */
}

.form_close::before,
.form_close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 1px;
    background-color: #333;
    transform-origin: center;
}

.form_close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.form_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 호버 시 두 바퀴 회전 */
.form_close:hover {
    transform: rotate(540deg);
}

/* ======================
   모바일 전용 스타일
====================== */
@media screen and (max-width: 768px) {

    body {
        font-size: 14px;
        font-weight: 400;
    }
    b, .bd, h1, h2, h3, h4, h5, h6, strong {
        font-weight: 500;
    }
    .board_form .field_tr th,
    .board_form td.field {
        font-weight: 400;
    }

    .button_d a.confirm {
        font-weight: 500;
    }

    .text_area_zone {
        font-size: 13px;
        font-weight: 400;
    }

    .main_form {
        flex-direction: column;
    }

    .term_zone {
        width: 100%;
        margin-bottom: 20px;
    }

    .text_area_zone {
        font-size: 12px;
        padding: 15px;
        height: auto;
    }

    .board_form .field_tr th {
        width: 90px;
        font-size: 13px;
        padding: 8px;
    }

    .board_form td.field {
        font-size: 13px;
        padding: 8px;
    }

    .board_form input[type='text'],
    .board_form input[type='tel'],
    .board_form select {
        width: 100% !important;
        font-size: 11px !important;
        height: 40px;
    }

    .form-group.flex.f01 {
        flex-direction: row;
        justify-content: space-between;
    }

    .form-group.flex.f01 select,
    .form-group.flex.f01 input {
        width: 30%;
    }

    .form-group.flex.f01 .hypen {
        width: auto;
        padding: 0 3px;
    }

    .button_d {
        margin-top: 30px;
    }

    .button_d a.confirm {
        width: 100%;
        font-size: 18px;
        height: 55px;
        line-height: 55px;
    }

    .find_tel {
        width: 80px;
        height: 40px;
        font-size: 13px;
        line-height: 40px;
    }

    .find_post {
        width: 120px;
        height: 40px;
        font-size: 13px;
        line-height: 40px;
    }
}
