html,
body {
    height: auto
}

main {
    width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1em;
}

section {
    line-height: 1.1em;
}

@media all and (max-width:768px) {

    /*layout reset*/
    html,
    body {
        min-width: auto;
        margin: 0;
        overflow-x: hidden;
    }

    header,
    footer,
    .B_header.cloned.fixed {
        display: none;
    }

    main {
        width: 100% !important;
        padding: 0 !important;
    }
}

.wrap {
    display: flex;
}

input {
    background: #fff;
}

























.semi_form {
    padding: 0 2% 5%;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.1em;
    margin: 0 auto;
    font-family: 'Pretendard', sans-serif;
}

.semi_form h2 {
    font-size: 20px;
    font-weight: 700;
    padding: 8px 12px;
    border-left: 4px solid #002C66;
    color: #333;
    background: #f5f7fa;
    margin: 25px 0 15px;
    border-radius: 4px;
}

.semi_form .formTxt {
    font-size: 14px;
    font-weight: 500;
}

/* 구역 제목 */
.form_title {
    margin: 30px 0 15px;
    font-size: 20px;
    font-weight: 700;
}

/* 설명 */
.form_desc {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

/* row */
.form_row {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.form_label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    flex: 0 0 100px;
}

.form_row>input,
.form_row .triple_input,
.form_row .email_input {
    width: 100%;
}

/* input 기본 스타일 */
.form_input,
.triple_input input,
.triple_input select,
.email_input input,
.email_input select {
    width: 100%;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 전화번호/휴대전화 3칸 */
.triple_input {
    display: flex;
    gap: 6px;
}

.triple_input input,
.triple_input select {
    width: 33%;
}

/* 이메일 */
.email_input {
    display: flex;
    gap: 6px;
    align-items: center;
}

.email_input input {
    width: 30%;
}

.email_input select {
    width: 30%;
}

/* 주소 */
.address_wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.address_wrap .zip_row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.address_wrap input[readonly] {
    width: 100%;
    cursor: pointer;
    background: #f7f7f7;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* 버튼 그룹 */
.btn_group {
    display: flex;
    justify-content: start;
    gap: 10px;
    flex-wrap: wrap;
}

/* 기존 버튼 클래스 사용 */
.sendButton {
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    line-height: 1.1em;
    font-size: 13px;
}

.submitC {
    background: #002C66;
    color: #fff;
}

.defaultC {
    background: #e0e0e0;
    color: #333;
}

.on_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #000;
    color: #fff;
    height: 38px;
    text-align: center;
    flex: 2;
    padding: 0 10px;
    white-space: nowrap;
}

.form_row #wrap {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #ccc;
    width: 100%;
    height: 400px;
    margin-top: 5px;
    z-index: 10;
}

#btnFoldWrap {
    position: absolute;
    top: 0;
    right: 3px;
    z-index: 10;
    cursor: pointer;
}

@media screen and (max-width:440px) {
    .form_row {
        font-size: 12px;
    }

    .form_label {
        flex: 0 0 60px;
    }

    .sendButton {
        font-size: 13px;
        padding: 8px 10px;
    }

    .form_row #wrap {
        position: fixed;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .form_row {
        margin-bottom: 8px;
    }

    .email_input {
        flex-wrap: wrap;
    }

    .semi_form {
        padding: 0 4% 6%;
    }

    .email_input input:first-child {
        width: calc(100% - 30px);
    }

    .email_input input,
    .email_input select {
        width: 45%;
    }

    .btn_group {
        gap: 5px;
    }
}

.w100 {
    width: 100%;
}

.logmi_form {
    padding: 0 2% 5%;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.5em;
    margin: 0 auto;
    font-family: 'Pretendard', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logmi_form .naming {
    text-align: center;
    font-weight: 500;
    font-size: 13px;
}

.logmi_form .tip {
    font-size: 14px;
    text-align: center;
    color: #4d4d4d;
}