@charset "utf-8";

:root {
    --reservation-font-basic: "Pretendard";
    --reservation-font-num: "SUIT";
    --reservation-font-serif: "Nanum Myeongjo", serif;
    --reservation-color-basic: #000;
    --reservation-color-main: #D79A2B;
    --reservation-color-main-light: #FFC557;
    --reservation-color-red: #E0062D;
    --reservation-color-blue: #00A3FF;
    --reservation-color-info-title: #D79A2B;
    --reservation-color-list-btn-main: #D79A2B;
    --reservation-color-list-btn-sub: #E0062D;
    --reservation-color-list-btn-sub2: #005AA9;
    --reservation-color-list-btn-sub3: #00A930;
    --reservation-color-calendar-border: #D79A2B;
    --reservation-color-pop-info-title: #D79A2B;
    --reservation-radius-title-dotted: 50%;
    --reservation-radius-calendar-hover: 5px;
    --reservation-radius-list-btn: 5px;
    --reservation-radius-popup-btn: 10px;
    --reservation-radius-tab-left: 0 0 0 0;
    --reservation-radius-tab-right: 0 0 0 0;

    --check-color-period-border: #D79A2B;
    --check-color-period-text: #D79A2B;
    --check-color-period-btn: #D79A2B;
    --check-bgcolor-btn: #ececec;
    --check-bgcolor-btn-on: #000;
    --check-color-btn: #707070;
    --check-color-btn-on: #fff;
    --check-radius-period-btn: 5px;
    --check-radius-btn: 5px;
}

.reservation-wrap {
    width: 1200px;
    margin: auto;
    padding: 150px 0;
}

.reservation-calendar-wrap {
    width: 100%;
    padding-top: 27px;
    padding-bottom: 50px;
    display: flex;
    gap: 0 100px;
    align-items: flex-start;
}

.reservation-calendar {
    flex-basis: 790px;
}

.reservation-calendar ul {
    display: flex;
    gap: 0 50px;
    align-items: flex-start;
}

.reservation-calendar ul li {
    flex: 1;
}

.reservation-calendar ul li h2 {
    position: relative;
    margin-bottom: 26px;
    font-size: 24px;
    text-align: center;
    font-family: var(--reservation-font-basic);
}

.reservation-calendar ul li h2 button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.reservation-calendar ul li h2 button.btn-prev-month {
    left: 0;
}

.reservation-calendar ul li h2 button.btn-next-month {
    right: 0;
}

.reservation-calendar-table {
    width: 100%;
    text-align: center;
}

.reservation-calendar-table th {
    border-top: 2px solid var(--reservation-color-calendar-border);
    border-bottom: 1px solid #CBCBCB;
    height: 40px;
    text-transform: uppercase;
    vertical-align: middle;
}

.reservation-calendar-table th:first-child, .reservation-calendar-table td:first-child {
    color: var(--reservation-color-red);
}

.reservation-calendar-table th:last-child, .reservation-calendar-table td:last-child {
    color: var(--reservation-color-blue);
}

.reservation-calendar-table td {
    padding: 5px;
    height: 60px;
    text-align: center;
    font-size: 18px;
}

.reservation-calendar-table td p {
    font-size: 14px;
    padding-top: 12px;
    font-family: var(--font-basic);
    font-weight: 400;
}

.reservation-calendar-table td.deadline {
    background-color: #F9F9F9;
    color: #CBCBCB;
    cursor: default;
}

.reservation-calendar-table td.deadline:first-child, .reservation-calendar-table td.deadline:last-child {
    color: #CBCBCB;
}

.reservation-calendar-table td.opening {
    color: #CBCBCB;
    cursor: default;
}

.reservation-calendar-table td.opening:first-child, .reservation-calendar-table td.opening:last-child {
    color: #CBCBCB;
}

.reservation-calendar-table td.deadline:hover {
    background-color: #f9f9f9;
    color: #CBCBCB;
    border-radius: 0;
}

.reservation-calendar-table td.opening:hover {
    color: #CBCBCB;
    background-color: transparent;
}

.reservation-calendar-table td.possible {
    transition: .1s all ease-in-out;
    cursor: pointer;
}

.reservation-calendar-table td.possible:hover {
    background-color: var(--color-main);
    color: #fff;
    border-radius: 5px;
}

.reservation-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px 0;
    flex-basis: 320px;
}

.reservation-info-box dl {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 5px 0;
}

.reservation-info-box dt {
    color: var(--reservation-color-info-title);
    font-size: 18px;
    font-weight: 600;
}

.reservation-info-box dd span {
    border-bottom: 1px solid #cbcbcb;
    line-height: 50px;
    padding-left: 16px;
    font-weight: 400;
    display: block;
}

.reservation-info-box dd a {
    margin-top: 15px;
    display: block;
    background-color: #ECECEC;
    color: #707070;
    text-align: center;
    line-height: 50px;
}

.reservation-list-wrap {
    width: 100%;
    padding-top: 30px;
}

.reservation-course-tab {
    display: flex;
    align-items: center;
}

.reservation-course-tab li {
    flex: 1;
    border-top: 1px solid #CBCBCB;
    border-left: 1px solid #CBCBCB;
    color: #707070;
    line-height: 50px;
    text-align: center;
    font-weight: 400;
    cursor: pointer;
}

.reservation-course-tab li.on, .reservation-course-tab li:hover {
    background-color: var(--reservation-color-main);
    border-top: 2px solid var(--reservation-color-main-light);
    color: #fff;
    font-weight: 600;
}

.reservation-course-tab li:first-child {
    border-left: 0;
    border-radius: var(--reservation-radius-tab-left);
}

.reservation-course-tab li:last-child {
    border-radius: var(--reservation-radius-tab-right);
}

.reservation-list-tbl {
    width: 100%;
}

.reservation-list-tbl th {
    background-color: #000;
    border-left: 1px solid #fff;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
}

.reservation-list-tbl th:first-child {
    border-left: 0;
}

.reservation-list-tbl td {
    text-align: center;
    height: 60px;
    padding: 5px 0;
    border-bottom: 1px solid #CBCBCB;
    color: #000;
    vertical-align: middle;
}

.reservation-list-tbl td button {
    border-radius: var(--reservation-radius-list-btn);
    color: #fff;
    line-height: 34px;
    text-align: center;
    width: 100px;
}

.btn-reservation {
    background-color: var(--reservation-color-list-btn-main);
}

.btn-reservation-special {
    background-color: var(--reservation-color-list-btn-sub);
}

.btn-reservation-plus {
    background-color: var(--reservation-color-list-btn-sub2);
}

.btn-reservation-during {
    background-color: var(--reservation-color-list-btn-sub3);
}

.reservation-etc-text {
    margin-top: 20px;
    color: #424242;
    padding: 20px;
    background-color: #F8F8F8;
    font-weight: 400;
}

/*reservation-pop*/
.pop-reservation-wrap {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 110;
    width: 560px;
    height: 660px;
    max-height: 660px;
    overflow-y: auto;
    background-color: #fff;
    border-bottom: 1px solid #CBCBCB;
    padding: 40px 30px 30px;
    border-radius: 15px;
}

.reservation-pop-list {
    width: 100%;
    margin: 20px 0 10px;
}

.reservation-pop-list dl {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0 50px;
    padding: 3px 0;
    height: 36px;
}

.reservation-pop-list dl dt {
    color: var(--reservation-color-pop-info-title);
    font-weight: 500;
}

.reservation-pop-list dl dd {
    text-align: right;
}

.reservation-pop-list dl dd select {
    border: 0;
    border-bottom: 1px solid #CBCBCB;
    padding: 8px;
    min-width: 100px;
}

.reservation-pop-text {
    width: 100%;
    padding: 20px;
    background-color: #f8f8f8;
    font-size: 14px;
    line-height: 1.4em;
    color: #424242;
    margin-bottom: 20px;
    max-height: 270px;
    overflow-y: auto;
}

.reservation-pop-text h3 {
    color: #e0062d;
    font-weight: 600;
}

.reservation-pop-text b {
    font-weight: 600;
}

/*check*/
.reservation-search-wrap {
    padding-top: 60px;
}

.reservation-search-wrap ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 20px;
}

.reservation-search-wrap ul li input[type=text] {
    padding: 8px 70px 8px 20px;
    border: 1px solid #cbcbcb;
    height: 48px;
    width: 200px;
    position: relative;
    font-weight: 500;
    background: url('/pc/images/ic_calendar.svg') center right 20px no-repeat;
}

.choice-period {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0 5px;
}

.choice-period p input[type="radio"] {
    vertical-align: middle;
    appearance: none;
}

.choice-period p input[type="radio"] ~ label {
    width: 70px;
    line-height: 48px;
    display: inline-block;
    text-align: center;
    border: 1px solid #CBCBCB;
    color: #707070;
    transition: .2s all ease-in-out;
    cursor: pointer;
}

.choice-period p [type="radio"]:checked ~ label {
    border: 1px solid var(--check-color-period-border);
    color: var(--check-color-period-text);
}

.reservation-search-wrap ul li button {
    background-color: var(--check-color-period-btn);
    border-radius: var(--check-radius-period-btn);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    width: 100px;
    height: 48px;
}

.reservation-tbl-wrap {
    padding-top: 100px;
}

.reservation-tbl {
    width: 100%;
}

.reservation-tbl thead th {
    background-color: #f8f8f8;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #cbcbcb;
    font-weight: 500;
    padding: 15px 0;
    height: 60px;
    text-align: center;
    vertical-align: middle;
}

.reservation-tbl tbody td {
    padding: 8px;
    height: 60px;
    border-bottom: 1px solid #CBCBCB;
    text-align: center;
    vertical-align: middle;
    word-break: keep-all;
}

.reservation-tbl tbody td button {
    border-radius: var(--check-radius-btn);
    color: var(--check-color-btn);
    background-color: var(--check-bgcolor-btn);
    line-height: 34px;
    width: 60px;
    margin: 0 5px;
}

.reservation-tbl tbody td button.on {
    color: var(--check-color-btn-on);
    background-color: var(--check-bgcolor-btn-on);
}












