/* ---------------------------------------------------------------
   QUICK FIXED : PC
---------------------------------------------------------------- */
.quick-fixedWrap,
.quick-fixedWrap *,
.quick-fixedWrap *::before,
.quick-fixedWrap *::after {
    box-sizing: border-box;
}

.quick-fixedWrap p {
    margin: 0;
}

.quick-fixedWrap {
    position: fixed;
    z-index: 3500;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0 0;
    background: #003377;
    text-align: center;
    transform: translateY(calc(100% - 10px));
    transition: transform 0.4s ease;
}

.quick-fixedWrap.on {
    transform: translateY(0);
}

.quick-fixedWrap .quick-fixedBtn {
    position: absolute;
    top: -38px;
    left: 50%;
    width: 175px;
    height: 38px;
    padding: 4px 18px;
    transform: translateX(-50%);
    border-radius: 5px 5px 0 0;
    background: #003377;
    text-align: left;
}

.quick-fixedWrap .quick-fixedBtn::before {
    position: absolute;
    top: -10px;
    right: -27px;
    width: 66px;
    height: 49px;
    background: url('/img/quick_fixedIcon.png') no-repeat center / contain;
    content: '';
    pointer-events: none;
}

.quick-fixedWrap .quick-fixedBtn button {
    display: inline-flex;
    width: 100%;
    height: 100%;
    padding: 0;
    align-items: center;
    border: 0;
    background: transparent;
    color: #fff;
    font-family: 'S-Core Dream', 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
}

.quick-fixedWrap .quick-fixedBtn button img {
    display: inline-block;
    width: 17px;
    height: auto;
    margin-left: 9px;
    vertical-align: middle;
}

.quick-fixedWrap .quick-fixedBtn button:focus-visible,
.quick-fixedWrap .quick-btn button:focus-visible,
.quick-fixedWrap .quick-form :focus-visible {
    outline: 2px solid #0063de;
    outline-offset: 2px;
}

.quick-fixedWrap .quick-fixed {
    position: relative;
    width: 1200px;
    max-width: calc(100% - 24px);
    max-height: calc(100vh - 58px);
    max-height: calc(100dvh - 58px);
    margin: 0 auto;
    padding: 25px 30px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    text-align: left;
}

.quick-fixedWrap .quick-fixed::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 78px;
    height: 98px;
    background: url('/img/tel_icon.png?v=1') no-repeat center / contain;
    content: '';
    pointer-events: none;
}

.quick-fixedWrap #form4 {
    display: flex;
    width: 100%;
    align-items: center;
}

.quick-fixedWrap #form4 > input[type='hidden'],
.quick-fixedWrap #insert2:empty {
    display: none;
}

.quick-fixedWrap .quick-tel {
    width: 15%;
    flex: 0 0 15%;
    text-align: left;
}

.quick-fixedWrap .quick-tel img {
    display: block;
    width: 100%;
    max-width: 130px;
    height: auto;
}

.quick-fixedWrap .quick-form {
    width: 65%;
    flex: 0 0 65%;
    min-width: 0;
    padding-right: 20px;
}

.quick-fixedWrap .quick-form table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

.quick-fixedWrap .quick-form-th1 { width: 20%; }
.quick-fixedWrap .quick-form-td2 { width: 38%; }
.quick-fixedWrap .quick-form-th3 { width: 15%; }
.quick-fixedWrap .quick-form-td4 { width: 22%; }

.quick-fixedWrap .quick-form th {
    padding: 3px 0;
    text-align: left;
    vertical-align: top;
    font-weight: 400;
}

.quick-fixedWrap .quick-form th p {
    position: relative;
    display: inline-block;
    padding-left: 15px;
    color: #343434;
    font-family: 'S-Core Dream', 'Pretendard', sans-serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 30px;
}

.quick-fixedWrap .quick-form th p::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #0063de;
    font-size: 16px;
    content: '*';
}

.quick-fixedWrap .quick-form td {
    font-size: 0;
    position: relative;
    text-align: left;
    vertical-align: middle;
}

.quick-fixedWrap .quick-form td input[type='text'],
.quick-fixedWrap .quick-form td input[type='number'] {
    display: inline-block;
    width: 90%;
    height: 30px;
    padding: 0 10px;
    border: 1px solid #9f9f9f;
    border-radius: 0;
    background: #fff;
    color: #343434;
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    line-height: 30px;
}

.quick-fixedWrap .quick-form td input[type='number'].number_100 {
    width: 100%;
    padding-right: 28px;
}

.quick-fixedWrap .quick-form td .quick-age {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    color: #343434;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
    pointer-events: none;
}

.quick-fixedWrap .quick-form td span {
    display: inline-block;
    width: 50%;
    vertical-align: middle;
}

.quick-fixedWrap .quick-form td span input[type='radio'] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.quick-fixedWrap .quick-form td span label.qs {
    display: block;
    width: 100%;
    height: 30px;
    background: #343434;
    color: #fff;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
}

.quick-fixedWrap .quick-form td #qs-m:checked + label.qs { background: #0063de; }
.quick-fixedWrap .quick-form td #qs-g:checked + label.qs { background: #ff535c; }
.quick-fixedWrap .quick-form td input[type='radio']:focus-visible + label.qs { outline: 2px solid #0063de; }

.quick-fixedWrap .quick-form th input[type='checkbox'] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.quick-fixedWrap .quick-form th input[type='checkbox'] + label {
    display: inline-block;
    color: #343434;
    font-family: 'S-Core Dream', 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 500;
    vertical-align: middle;
    cursor: pointer;
}

.quick-fixedWrap .quick-form th input[type='checkbox'] + label::before {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 5px;
    border: 1px solid #0063de;
    vertical-align: -2px;
    content: '';
}

.quick-fixedWrap .quick-form th input[type='checkbox']:checked + label::before {
    background: #0063de;
}

.quick-fixedWrap .quick-form th input[type='checkbox']:focus-visible + label {
    outline: 2px solid #0063de;
}

.quick-fixedWrap .quick-form th a {
    color: #343434;
    font-family: 'S-Core Dream', 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

.quick-fixedWrap .quick-form th em {
    color: #0063de;
    font-size: 13px;
    font-style: normal;
}

.quick-fixedWrap .quick-form th select {
    width: calc(43% - 5px);
    min-width: 132px;
    height: 30px;
    margin-left: 9px;
    padding: 0 24px 0 9px;
    border: 1px solid #9f9f9f;
    border-radius: 0;
    background: #fff url('/img/select-icon.png') no-repeat right 5px center;
    color: #343434;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    vertical-align: middle;
}

.quick-fixedWrap .quick-btn {
    width: 20%;
    flex: 0 0 20%;
    text-align: right;
}

.quick-fixedWrap .quick-btn button {
    display: inline-block;
    max-width: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    line-height: 0;
}

.quick-fixedWrap .quick-btn button img {
    display: block;
    width: 100%;
    max-width: 210px;
    height: auto;
}

/* ---------------------------------------------------------------
   QUICK FIXED : TABLET
---------------------------------------------------------------- */
@media (min-width: 761px) and (max-width: 1020px) {
    .quick-fixedWrap .quick-fixed {
        max-width: calc(100% - 20px);
        padding: 15px 18px;
    }

    .quick-fixedWrap .quick-fixed::before {
        display: none;
    }

    .quick-fixedWrap #form4 {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 170px;
        gap: 10px 14px;
    }

    .quick-fixedWrap .quick-tel {
        grid-column: 1 / -1;
        width: 100%;
        text-align: center;
    }

    .quick-fixedWrap .quick-tel img {
        max-width: 200px;
        margin: 0 auto;
    }

    .quick-fixedWrap .quick-form {
        grid-column: 1;
        width: 100%;
        padding: 0;
    }

    .quick-fixedWrap .quick-form th p {
        padding-left: 11px;
        font-size: 14px;
    }

    .quick-fixedWrap .quick-form th p::before {
        font-size: 12px;
    }

    .quick-fixedWrap .quick-form th input[type='checkbox'] + label,
    .quick-fixedWrap .quick-form th a,
    .quick-fixedWrap .quick-form th em {
        font-size: 11px;
    }

    .quick-fixedWrap .quick-btn {
        grid-column: 2;
        width: 100%;
        text-align: center;
    }
}

/* ---------------------------------------------------------------
   QUICK FIXED : MOBILE
---------------------------------------------------------------- */
@media (max-width: 760px) {
    .quick-fixedWrap .quick-fixedBtn {
        top: -40px;
        height: 40px;
    }

    .quick-fixedWrap .quick-fixed {
        max-width: 100%;
        max-height: calc(100vh - 58px);
        max-height: calc(100dvh - 58px);
        padding: 14px 16px 22px;
    }

    .quick-fixedWrap .quick-fixed::before {
        display: none;
    }

    .quick-fixedWrap #form4 {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .quick-fixedWrap .quick-tel,
    .quick-fixedWrap .quick-form,
    .quick-fixedWrap .quick-btn {
        width: 100%;
        padding: 0;
    }

    .quick-fixedWrap .quick-tel {
        text-align: center;
    }

    .quick-fixedWrap .quick-tel img {
        max-width: 190px;
        margin: 0 auto;
    }

    .quick-fixedWrap .quick-form table,
    .quick-fixedWrap .quick-form tbody {
        display: block;
        width: 100%;
    }

    .quick-fixedWrap .quick-form colgroup {
        display: none;
    }

    .quick-fixedWrap .quick-form tr {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 8px;
        margin-bottom: 10px;
    }

    .quick-fixedWrap .quick-form tr:last-child {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 0;
    }

    .quick-fixedWrap .quick-form th,
    .quick-fixedWrap .quick-form td {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 0;
        align-self: center;
    }

    .quick-fixedWrap .quick-form th p {
        padding-left: 12px;
        font-size: 13px;
        line-height: 38px;
        white-space: nowrap;
    }

    .quick-fixedWrap .quick-form td input[type='text'],
    .quick-fixedWrap .quick-form td input[type='number'] {
        width: 100%;
        height: 38px;
        font-size: 16px;
        line-height: 38px;
    }

    .quick-fixedWrap .quick-form td span label.qs {
        height: 38px;
        line-height: 38px;
    }

    .quick-fixedWrap .quick-form th[colspan] {
        grid-column: 1 / -1;
    }

    .quick-fixedWrap .quick-form th[colspan] div {
        margin-bottom: 7px;
    }

    .quick-fixedWrap .quick-form th[colspan] div:last-child {
        margin-bottom: 0;
    }

    .quick-fixedWrap .quick-form th input[type='checkbox'] + label,
    .quick-fixedWrap .quick-form th a,
    .quick-fixedWrap .quick-form th em {
        font-size: 12px;
    }

    .quick-fixedWrap .quick-form th select {
        display: block;
        width: 100%;
        height: 38px;
        margin: 6px 0 0;
        font-size: 16px;
    }

    .quick-fixedWrap .quick-btn {
        text-align: center;
    }

    .quick-fixedWrap .quick-btn button img {
        max-width: 240px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .quick-fixedWrap {
        transition: none;
    }
}

/* ---------------------------------------------------------------
   QUICK FIXED : MOBILE
---------------------------------------------------------------- */
@media (max-width: 760px) {
    #renewal-quick-consult {
        display: none !important;
    }
}