/* 예약 */
.cousel_1_1 {
}
.cousel_1_1 .top {
    margin-top: 30px;
    display: flex;
    padding: 0 20px;
    box-sizing: border-box;
    gap: 30px;
    align-items: center;
}
.cousel_1_1 .top .text_box {
    color: #303030;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.72px;
}
.cousel_1_1 .cont_1 {
    margin-top: 30px;
}
.counsel_w {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}
.calendar_layout {
    display: flex;
    gap: 30px;
}
.calendar_layout > div {
    width: 50%;
}
@media screen and (max-width: 1650px) {
    .counsel_w {
        width: 80%;
    }
}
@media screen and (max-width: 1280px) {
    .counsel_w {
        width: 90%;
    }
}
@media screen and (max-width: 1100px) {
    .calendar_layout {
        flex-direction: column;
    }
    .cousel_1_1 .cont_1 {
        flex-direction: column;
    }
    .calendar_layout > div {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .cousel_1_1 .top {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0;
    }
    .cousel_1_1 .top p {
        font-size: 16px;
    }
}
/* FORM 폼 / INPUT STYLE */

.form .form_wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-radius: 16px;
    padding: 30px 40px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0px 2px 8px 0px rgba(82, 83, 100, 0.25);
}

.form .form_wrap h3 {
    color: #303030;
    font-size: 22px;
    font-weight: 700;
    line-height: normal;
    display: flex;
    gap: 10px;
    align-items: center;
    letter-spacing: 1.1px;
}
.form .form_wrap h3 span {
    color: #a9a9a9;
    font-family: "Public Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.7px;
}
.form .form_wrap .form_layout {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form .input_group label {
    display: block;
    padding-bottom: 6px;
    color: #444;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}

.form .input_group label em {
    color: #3796ff;
    font-size: 18px;
}

.form .input_group input[type="text"],
.form .input_group select,
.form .input_group textarea {
    position: relative;
    transition: outline 0.6s;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid var(--border1, #e1e1e1);
    outline: 2px solid transparent;
    background-color: #fff;
    min-height: 38px;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    color: #444;
}

.form .input_group .input_tell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.form .input_group .input_tell input {
    flex: 1;
}

.form .input_group input[type="text"]:focus,
.form .input_group select:focus-visible,
.form .input_group textarea:focus,
.form .input_group textarea:focus-visible {
    transition: 0.6s;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid transparent;
    outline: 2px solid #3796ff;
}

.form .input_group.chk {
    display: flex;
    align-items: center;
    gap: 6px;
}
.form .input_group > input[type="checkbox"] {
    border-radius: 4px;
    appearance: auto;
    margin: 0;
}
.form .input_group.chk label {
    padding-bottom: 0;
    color: var(--neutral-gray-900, #171717);
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.32px;
}

.form .submit_box {
    display: flex;
    justify-content: space-between;
}

.form .input_group.chk label a {
    display: inline-block;
    padding-left: 4px;
    color: var(--neutral-gray-60001, #525252);
}

.form .input_group.radi input {
    display: none;
}

.form .input_group.radi .radi_wrap {
    display: flex;
    gap: 12px;
}

.form .input_group.radi .radi_wrap > div {
    flex: 1;
}

.form .input_group .btn_radio {
    border-radius: 6px;
    border: 1px solid var(--border1, #e1e1e1);
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    text-align: center;
    color: #404040;
    padding-bottom: 0;
    padding: 10px 0;
    cursor: pointer;
    transition: 0.4s;
}

.form .input_group.radi input:checked + label {
    background: var(----main, #3796ff);
    color: #fff;
    border: 1px solid #3796ff;
}

.form .submit_box .btn_submit {
    padding: 12px 24px;
    border-radius: 9999px;
    background: linear-gradient(180deg, #5da9ed 0%, #0071d7 100%);
    box-shadow: 0px 2px 8px 0px rgba(124, 129, 185, 0.25);
    border: none;
}

.form .submit_box .btn_submit p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.72px;
}

.form .submit_box .btn_submit p:after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    /* filter: invert(1); */
    background: url(/img/counsel/ico_next_w.svg) center center/24px 24px no-repeat;
}

.form .input_group textarea {
    resize: none;
    min-height: 100px;
    font-family: "Pretendard";
}

@media screen and (max-width: 1350px) {
    .form .input_group.chk {
        align-items: baseline;
    }

    .form .input_group.chk label a {
        display: flex;
    }

    .form .submit_box .btn_submit {
        padding: 10px 20px;
    }

    .form .submit_box .btn_submit p {
        font-size: 16px;
        letter-spacing: -0.72px;
    }
}

@media screen and (max-width: 1100px) {
    .form .input_group.chk {
        align-items: center;
    }

    .form .submit_box {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .form .input_group.chk label a {
        display: inline-block;
    }

    .form .submit_box .btn_submit {
        width: fit-content;
    }
}

@media screen and (max-width: 1020px) {
    .form .form_group {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .form .form_group {
        padding: 30px 16px;
    }

    .form .submit_box .btn_submit {
        padding: 12px 24px;
    }

    .form .submit_box .btn_submit p {
        font-size: 18px;
    }
}

/* CALENDAR */
.calendar {
    width: 100%;
}

.calendar_header {
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: var(----main, #3796ff);
    display: block;
}

.calendar_nav {
    padding: 14px 20px;
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    justify-content: space-between;
    align-items: center;
}

.calendar_nav button.nav-btn {
    display: flex;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #fff;
}
.calendar_nav button.nav-btn img {
    min-width: 20px;
}
.calendar_nav button.nav-btn.go-prev {
    transform: rotate(180deg);
}

.calendar .ym-wrapper {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: -0.05px;
}

.calendar .ym-wrapper span {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    line-height: 160%;
    letter-spacing: -0.05px;
}

.calendar_main {
    border-collapse: collapse;
    width: 100%;
}

.calendar .days {
    background: var(--F2F2F2-01, #f2f2f2);
    display: flex;
    border-bottom: 0px;
}

.calendar .day {
    border-left: 1px solid #e1e1e1;
    /* width: calc(100% / 7); */
    flex: 1 1 auto;
    text-align: center;
    padding: 13px 0;
    border-bottom: 1px solid #e1e1e1;
    font-size: 18px;
    font-weight: 400;
}

.calendar .day:last-child {
    border-right: 1px solid #e1e1e1;
}

.calendar .dates {
    display: flex;
    flex-wrap: wrap;
}

.calendar .date {
    flex: 1 1 auto;
    /* cursor: pointer; */
    position: relative;
    width: calc(100% / 8);
    padding: 22.5px 0;
    border-bottom: 1px solid #e1e1e1;
    text-align: center;
    border-left: 1px solid #e1e1e1;
    font-size: 18px;
    font-weight: 400;
}

.calendar .date:nth-child(7n) {
    border-right: 1px solid #e1e1e1;
}

.calendar .day:nth-child(7n + 1) {
    color: #ff4747;
}

.calendar .date:nth-child(7n + 1) {
    color: #ff4747;
}

.calendar .otherMonth {
    color: transparent !important;
}

.calendar .date.selected::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    border: 2px solid var(----main, #3796ff);
}

.calendar .date.selected.otherMonth::after {
    content: none;
}

.calendar .rs_ok {
    background: #dfbdf4;
}

/*예약가능날짜*/
.calendar .holiday {
    color: #ff4747;
    background: #fff;
}

.calendar_caution {
    padding-top: 10px;
    position: relative;
}

.calendar_caution .info {
    display: flex;
    gap: 16px;
}

.calendar_caution .info p {
    color: var(--000000-, #000);
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: -0.045px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calendar_caution .info p:before {
    position: relative;
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: #cde4ff;
}

.calendar_caution .info p:nth-child(2):before {
    background: #ff4747;
}

.calendar_caution > p {
    color: var(--666666-, #666);
    text-align: center;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    /* 150% */
    letter-spacing: -0.04px;
    position: absolute;
    right: 0;
    top: 12px;
}

.calendar_time {
    display: flex;
    padding-top: 20px;
    box-sizing: border-box;
    gap: 10px;
    align-items: stretch;
}

.calendar_time .input_time {
    border-radius: 6px;
    border: 1px solid var(--border1, #e1e1e1);
    background: #fff;
    width: calc(50% - 10px);
    padding: 15px 27px;
    color: var(----main, #3796ff);
    font-weight: 700;
    letter-spacing: -0.045px;
    font-size: 16px;
    box-sizing: border-box;
}

.form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    background: #fff url(/img/counsel/ico_defaultSelect.png) 96% center / 24px 24px no-repeat;
}

.calendar_time select {
    position: relative;
    width: 50%;
    border-radius: 6px;
    border: 1px solid var(--border1, #e1e1e1);
    color: #818181;
    font-size: 18px;
    font-weight: 400;
    line-height: 32px;
    padding: 10px 23px;
    letter-spacing: -0.045px;
}

.calendar_time select option {
}

.calendar_clinic {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 6px;
    display: flex;
    border: 1px solid var(--border1, #e1e1e1);
    align-items: center;
}

.calendar_clinic > p {
    color: #404040;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 160%;
    display: table-cell;
    vertical-align: middle;
    height: 100%;
    text-align: center;
    letter-spacing: -0.36px;
    min-width: 170px;
}

.calendar_clinic .time_info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 17px 0px 17px 30px;
    flex: 1;
    border-left: 1px solid var(--border1, #e1e1e1);
    font-weight: 600;
    line-height: 160%;
    letter-spacing: -0.32px;
}

.calendar_clinic .time_info li {
    display: flex;
    gap: 10px;
    line-height: inherit;
}

.calendar_clinic .time_info span {
    color: #606060;
    font-size: 16px;
    line-height: inherit;
}

.calendar_clinic .time_info p {
    color: var(--neutral-gray-40001, #a3a3a3);
    font-size: 16px;
    line-height: inherit;
    font-weight: 400;
}

.calendar_clinic .time_info .sunday {
    padding-top: 6px;
    color: var(----main, #3796ff);
    font-size: 16px;
}
.font_red {
    color: #ff4747 !important;
}

@media screen and (max-width: 768px) {
    .calendar .day {
        font-size: 16px;
        padding: 10px 0;
    }
    .calendar .date {
        font-size: 16px;
        padding: 15px 0;
    }
    .form .form_wrap {
        padding: 30px 20px;
    }

    .form .input_group label {
        font-size: 16px;
        line-height: 140%;
    }

    .form .input_group input[type="text"],
    .form .input_group select,
    .form .input_group textarea {
        font-size: 14px;
    }

    .form .input_group .btn_radio {
        font-size: 14px;
    }

    .form .input_group.chk label {
        font-size: 14px;
    }

    .calendar_caution .info p {
        font-size: 16px;
    }
    .calendar_caution > p {
        position: relative;
        right: unset;
        text-align: left;
        top: unset;
        margin-top: 10px;
    }

    .calendar_time {
        flex-direction: column;
    }

    .calendar_time .input_time,
    .calendar_time select {
        width: 100%;
    }

    .calendar_time select {
        font-size: 16px;
    }

    .calendar_clinic {
        display: block;
        padding: 14px 20px;
    }
    .calendar_clinic .time_info {
        border: none;
    }

    .calendar_clinic > p {
        min-width: unset;
        font-size: 16px;
        line-height: 160%;
        letter-spacing: -0.32px;
        padding-bottom: 6px;
    }

    .calendar_clinic .time_info {
        padding: 0;
        gap: 6px;
    }

    .calendar_clinic .time_info .sunday {
        padding: 0;
    }
}

.pointText {
    margin-top: 15px;
    text-align: left;
    font-family: Pretendard;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.04px;
}
