/* ==========================
  히어로 영역
========================== */
.contact-main .section-head {
    padding: 0px 120px;
    margin-bottom: 0;
}

.contact-write {
    padding-bottom: 120px;
}

.section-subtitle {
    color: var(--wf-600)
}

.sub-main-btn {
    width: 100%;
    height: auto;
    padding: 20px 40px;
    border-radius: var(--radius-8);
    background: var(--primary-soft-blue100);
}

.address-txt .icon-box {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 12px;
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: var(--radius-100);
}

.address-txt .icon-box::before {
    font-family: 'xeicon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 400;
    color: var(--primary-blue100)
}

.address-txt .icon01::before {
    content: "\ea06"
}

.address-txt .icon02::before {
    content: "\e9d3"
}

.address-txt .icon03::before {
    content: "\e9bc"
}

.address-txt b {
    display: inline-block;
    vertical-align: middle;
    font-size: 17px;
    font-weight: 400;
    color: #333;
}

.form-body {
    margin-bottom: 50px;
    padding: 0 120px;
}

.form-row {
    margin: 10px 0;
    display: flex;
    align-items: start;
    gap: 3px;
}

.form-row.row-margin-top {
    margin-top: 52px;
}

.form-row .form-label {
    min-width: 180px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.form-row .form-label span {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -1px;
}

.form-row .form-label b {
    font-size: 20px;
    margin-left: 6px;
    color: red;
    font-size: 11px;
    margin-top: -2px;
}

.form-row .form-input {
    flex: 1;
}

.form-row .form-input2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
}

.form-row .input-row-tmp {
    display: flex;
    gap: 20px;
}

.form-footer {
    padding: 0px 120px;
}

.form-btn-wrap {
    padding: 40px 0;
    display: flex;
    justify-content: center;
}

.form-btn-wrap .form-btn {
    width: 265px;
    height: 66px;
    background-color: #26ADDF;
    color: #FFFFFF;
    font-size: 24px;
    border: none;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-btn-wrap .form-btn svg {
    animation: loader-animation 1.5s linear infinite;
    display: none;
}

.form-btn-wrap .form-btn:disabled svg {
    display: block;
}

@keyframes loader-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.form-control {
    width: 100%;
}

input.form-control {
    font-size: 18px;
    height: 45px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    ;
    border-radius: 6px;
}

input.form-control:focus,
textarea.form-control:focus {
    outline: none;
    border-color: var(--primary-blue100);
    box-shadow: 0 0 0 3px var(--primary-soft-blue100);
}

textarea.form-control {
    font-size: 18px;
    height: 200px;
    padding: 10px 18px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    ;
    border-radius: 6px;
}

select.form-control {
    font-size: 18px;
    height: 45px;
    padding: 0 20px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    ;
    border-radius: 6px;
}

button.form-control {
    padding: 0 18px;
    height: 45px;
    box-sizing: border-box;
    border: 1px solid var(--border);
    ;
    border-radius: 6px;
}

button.form-control:disabled {
    background-color: #A4A4A4;
}

.contact-term-msg {
    display: flex;
    justify-content: center;
    background-color: var(--bg);
    width: 100%;
    padding: 8px 16px;
    margin: 0 auto;
    border-radius: var(--radius-6);
}

.contact-term-agree {
    padding: 16px 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-term-agree-text {
    font-size: var(--fs-sm);
    font-weight: 500;
}

.contact-btn-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn-wrap .contact-btn {
    width: 300px;
    height: auto;
    font-size: 24px;
    padding: 15px 25px;
    background-color: #007BED;
    color: #FFFFFF;
}



/* ==========================
   반응형
========================== */
@media (max-width: 1080px) {

    /* ==========================
       공통
    ========================== */
    .m-br {
        display: block;
    }

    .contact-main .section-head,
    .form-body,
    .form-footer {
        padding: 0px 80px;
    }
}

@media (max-width: 960px) {

    /* ==========================
       공통
    ========================== */
    .section-title,
    .contents-title {
        font-size: var(--fs-3xl);
        font-weight: 700;
    }

    .section-subtitle {
        font-size: var(--fs-lg);
    }

    .block-head h1 {
        font-size: var(--fs-2xl);
    }

    .contact-main .section-head,
    .form-body,
    .form-footer {
        padding: 0px 60px;
    }

    .sub-main-btn {
        justify-content: space-around;
    }

    .address-txt {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .address-txt .icon-box {
        margin-right: 0px;
    }
}

@media (max-width: 768px) {

    /* ==========================
       공통
    ========================== */
    .section-head,
    .block-head {
        margin-bottom: 40px;
    }

    .section-title,
    .contents-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: var(--fs-md);
    }

    .block-head h1 {
        font-size: 28px;
    }

    .contact-main .section-head,
    .form-body,
    .form-footer {
        padding: 0px;
    }

    .sub-main-btn {
        justify-content: space-around;
    }

    .address-txt {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    /* ==========================
       폼 부분
    ========================== */
    .contact-main {
        padding: 60px 0 0;
    }

    .form-row {
        flex-direction: column;
        gap: 8px;
        margin: 0px 0px 20px 0px;
    }

    .form-row .form-input,
    input.form-control {
        width: 100%;
    }
}


@media (max-width: 640px) {
  .sub-main-btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 28px;
  }

  .address-txt {
    flex-direction: row;
  }

  .address-txt .icon-box {
    width: 32px;
    height: 32px;
  }

  .address-txt .icon-box::before {
    font-size: var(--fs-sm);
  }

  .impact-btn {
    min-width: 100%;
  }

  .contact-write {
    padding-bottom: 80px;
  }
}