/*헤더*/
#header {
    width: 100%;
    margin: 0 auto;
    border-bottom: 1px solid #ddd;
}
#header:after {
    content: "";
    display: block;
    clear: both;
}
#header > .contents_con {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
}
#header > .contents_con > .logo_con {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#header > .contents_con > .sub_logo_con {
    display: none;
}
@media (max-width: 768px) {
    #header {
        padding: 27px 0 16px;
    }
    #header > .contents_con {
        width: 95.5%;
        padding: 0;
    }
    #header > .contents_con > .logo_con > a:first-child > img {
        width: 150px;
        padding: 10px;
    }
    #header > .contents_con > .logo_con > a:last-child > img {
        width: 130px;
    }
}
/* 슬라이더 */
.slider-container {
    background-color: #f1e1f3;
    position: relative;
    width: 100%;
    padding-top: 111px;
}
.p01 {
    text-align: center;
    margin: 0;
    width: 100%;
}
.h01 {
    font-weight: 900;
    font-size: 50px;
    font-family: "Noto Sans";
    color: #0f1d67;
    margin: 0;
}
.h02 {
    font-weight: 700;
    font-size: 30px;
    font-family: "Noto Sans";
    color: #000000;
    margin: 0;
}
.slider-wrap {
    width: 1296px;
    margin: 0 auto; /* 가로 가운데 정렬 */
    padding: 0 50px;
}

.slide {
    display: flex;
    align-items: center;
}

.slider-wrap ul li {
    margin-right: 20px;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 20px;
    padding: 0;
    gap: 20px;
}
@media screen and (max-width: 768px) {
    .slider-wrap {
        width: 100%;
    }
    .slider-wrap {
        padding: 0;
    }
    .h01 {
        font-size: 26px;
    }
    .h02 {
        font-size: 26px;
    }

    .slider-container .slick-next {
        right: 16px;
    }
}

@media screen and (max-width: 400px) {
    .slider-container .slick-next {
        display: none;
    }

    .slider-container .slider-wrap ul li {
        margin-right: 3px;
    }
}

/* 슬라이더 끝 */
/* 후터 */
.all-container {
    min-width: 375px;
    box-sizing: border-box;
}

#footer {
    width: 100%;
    border-top: 2px solid #ccc;
    background: #fff;
}
.footer-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 0;
}
.footer-wrap {
    box-sizing: border-box;
}

.footer_info {
    font-size: 12px;
}
.footer_list {
    display: block;
    padding: 0;
    overflow: hidden;
    margin: 10px 0 10px;
}

.footer_list li {
    display: block;
    margin: 0;
    padding: 0;
    float: left;
    margin-right: 15px;
    line-height: 14px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
}
.footer_list li:hover {
    color: #666;
}
#footer .footer_list li + li {
    padding-left: 15px;
    border-left: 2px solid #999;
}
.add-wrap {
    overflow: hidden;
    font-family: "Noto Sans KR", sans-serif;
    color: #111;
    font-style: normal;
    font-size: 14px;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .footer-container {
        padding: 40px 16px;
    }
}
/* 폼섹션 */
/* reset */
* {
    margin: 0;
    border: 0;
}
html {
    scroll-behavior: smooth;
}
html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Noto Sans Korean", "맑은 고딕", "AppleSDGothcNeo",
        "AppleGothic", sans-serif;
    font-size: 16px;
    text-decoration: none;
    color: #000000;
}
ul,
ol,
li {
    list-style: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    border: 0;
    outline: 0;
    display: block;
}
img {
    border: 0;
    border-style: none;
}
button {
    cursor: pointer;
    border: none;
    outline: none;
}
address,
cite,
dfn,
em,
var {
    font-style: normal;
}

.cf::after {
    content: "";
    display: block;
    clear: both;
}
.fl {
    float: left;
}
.fr {
    float: right;
}

.hidden {
    display: none;
}
.blind {
    overflow: hidden;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0, 0, 0, 0);
}

/*리셋 끝*/
#form {
    padding: 105px 20px;
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.title {
    text-align: center;
}

#form .title > div > h2 {
    color: #102b92;
    font-size: 30px;
    margin-bottom: 20px;
}
/*입력칸 크기*/
.form-area {
    display: flex;
    width: 100%;
    margin: 78px auto 0;
    flex-direction: column;
    align-items: center;
}

.essential {
    font-size: 12px; /* 별표(*)를 포함한 요소의 폰트 크기 설정 */
    color: red;
    position: relative;
}
.essential::before {
    content: "*";
    width: 2px;
    position: absolute;
    left: 0;
    top: calc(50% - 8px);
}
#form .db_list > li {
    margin-bottom: 32px;
}
/*입력칸이름*/
#form .db_list > li > div > span {
    display: inline-block;
    vertical-align: top;
}
/*입력칸 이름*/
#form .db_list > li > div > span:first-child label {
    width: 90px;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    text-align: right;
    padding: 15px 15px 15px 0; /* 위, 오른쪽, 아래, 왼쪽 */
    box-sizing: border-box;
    display: inline-block;
    height: 50px;
}
.selectbox {
    display: flex;
    justify-content: space-between;
}

/*전체 박스*/
#form .db_list > li > div > span:last-child {
    /* width: calc(100% - 140px);  */
    /*부모너비기준*/
}
.inner_wrap {
    display: flex;
    width: 100%;
}
.input_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.inner_wrap > span ~ span:not(.input_subtxt) {
    width: 100%;
}
.inner_wrap > span:first-child {
    flex: none;
}
/*입력 박스*/
.input-control {
    width: 670px;
    height: 50px;
    border: 2px solid #eee; /* 테두리 */
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}
/*셀렉트박스*/
.select-control {
    width: 100%;
    border: 2px solid #eee; /* 테두리 */
    height: 50px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}
.email_con {
    display: flex;
    align-items: flex-start;
}
.email-control,
.form-company,
.form-email1 {
    width: 180px;
    border: 2px solid #eee; /* 테두리 */
    height: 50px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}
.email-select-control {
    width: 220px;
    border: 2px solid #eee; /* 테두리 */
    height: 50px;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}
.checkbox_con {
    font-size: 14px;
    display: inline-block;
}
.chk-wrap {
    white-space: nowrap;
}

/*문의내용*/
.textarea-control {
    height: 240px;
    resize: none;
    width: 670px;
    border: 2px solid #eee; /* 테두리 */
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
}

.agree_con .checkbox_label {
    display: inline-block;
    width: 100%;
    text-align: center;
}
.checkbox_label > input {
    background-color: #102b92;
}

.btn_con {
    text-align: center;
    margin-top: 20px;
}
.submit.button {
    margin-bottom: 20px;
    max-width: 100%;
    width: 200px;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    background-color: #d9d9d9;
    border: none;
    border-radius: 30px;
    cursor: pointer; /* 커서를 포인터로 설정하여 클릭 가능한 상태를 나타냅니다. */
    transition: background-color 0.3s; /* 배경색 변화에 대한 부드러운 전환 효과를 추가합니다. */
}
.submit.button:hover {
    background-color: #102b92; /* 마우스를 올렸을 때의 배경색을 설정합니다. */
    color: #fff;
}
input[type="checkbox"] {
    display: none;
}
input[type="checkbox"] + label {
    cursor: pointer;
    padding-left: 23px;
    background-repeat: no-repeat;
    background-image: url("img/btn-checkbox-n.svg");
}
input[type="checkbox"]:checked + label {
    background-image: url("img/btn-checkbox-p.svg");
}

@media screen and (max-width: 767px) {
    #form {
        padding: 40px 20px;
    }
    .title {
        /* width: 335px; */
        width: auto;
        font-size: 14px;
    }
    #form .title > div > h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .form-area {
        display: flex;
        /* width: 335px; */
        width: auto;
        margin: 40px 0;
        flex-direction: column;
        align-items: stretch;
    }
    .db_list {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 8px;
    }
    #form .db_list > li {
        margin-bottom: 8px;
    }
    .input-control {
        width: 100%;
        height: 37px;
        border: 2px solid #eee; /* 테두리 */
        padding: 4px;
        font-size: 16px;
        box-sizing: border-box;
    }
    .textarea-control {
        height: 140px;
        resize: none;
        width: 100%;
        border: 2px solid #eee; /* 테두리 */
        padding: 10px;
        font-size: 16px;
        box-sizing: border-box;
    }
    #form .db_list > li > div > span:first-child label {
        padding: 10px 10px 10px 0;
        box-sizing: border-box;
        display: inline-block;
        height: 37px;
    }
    .selectbox {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .select-control {
        /* width: 240px; */
        width: 100%;
        height: 37px;
        font-size: 14px;
        padding: 0px;
    }
    .email-select-wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: flex-start;
    }
    .email-control,
    .form-company,
    .form-email1 {
        width: 120px;
        height: 37px;
        padding: 4px;
    }
    .email-select-control {
        width: auto;
        height: 37px;
        padding: 0px;
    }
}
