html {
    /*overflow-x: unset;*/
}

body {
    width: 100%;
    max-width: 1920px;
    background-color: #fdf6df;
    margin: 0 auto;
}

.hidden {
    display: none;
}

.modal-content-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    z-index: 3;
}

.modal-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 8;
}

.modal-content {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    max-width: 1120px;
    height: auto;
    /*height: 100vh;*/
    padding: 100px 60px;
    background-color: white;
    z-index: 9;
    /*overflow-y: auto;*/
}

.modal-content .box-bottom-1 {
    margin-bottom: 60px;
}

.modal-content .box-bottom-2 {
    margin-bottom: 120px;
}

.modal-title-1 {
    font-family: "condor-condensed", sans-serif;
    font-weight: 500;
    font-size: 36px;
    color: #212121;
    letter-spacing: 2.7px;
    margin-bottom: 20px;
}

.modal-title-2 {
    font-family: 'NanumBarunGothic';
    font-weight: 500;
    font-size: 24px;
    color: #212121;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.modal-title-2.mt-22 {
    margin-top: 22px;
}

.modal-title-2.lh-30 {
    line-height: 30px;
}

.modal-title-2.mb-11 {
    margin-bottom: 11px;
}

.modal-title-2-sub {
    font-family: 'NanumBarunGothic';
    font-size: 18px;
    color: #212121;
    letter-spacing: 0.9px;
    line-height: 24px;
    margin-top: -10px;
    margin-bottom: 12px;
}

.modal-slide-wrap {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

.modal-text-1 {
    font-family: 'NanumBarunGothic';
    font-size: 16px;
    color: #212121;
    letter-spacing: 0.8px;
    line-height: 26px;
}

.modal-text-2 {
    font-family: 'NanumBarunGothic';
    font-size: 16px;
    color: #212121;
    letter-spacing: 0.5px;
    line-height: 24px;
}

.modal-text-3 {
    margin-bottom: 55px;
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    color: #9d0101;
    letter-spacing: 0.5px;
    line-height: 24px;
}

.modal-info-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
    margin-top: 50px;
}

.modal-info-line {
    width: 100%;
    height: 1px;
    background-color: #212121;
    margin: 18px 0;
}

.modal-info-title {
    font-family: "condor-condensed", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #212121;
    letter-spacing: 1.35px;
}

.modal-info-text-wrap {
    display: flex;
    gap: 30px;
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    color: #212121;
    letter-spacing: 0.7px;
    line-height: 24px;
}

.modal-info-img-wrap {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.modal-info-img-wrap img {
    width: 100%;
    max-width: fit-content;
}

.modal-reserve-link-wrap {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.modal-reserve-link-wrap a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 119px;
    height: 47px;
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    color: #fff;
    letter-spacing: 1.4px;
    background-color: #212121;
}

.close-button {
    position: fixed;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 1120px;
    /*padding: 0 30px;*/
    padding: 0 20px;
    z-index: 10;
    cursor: pointer;
}

.modal-reserve {
    position: fixed;
    bottom: 100px;
    right: 60px;
    z-index: 9;
}

.modal-ddnayo-title {
    font-family: "condor-condensed", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #212121;
    letter-spacing: 1.8px;
    margin: 100px 0 25px;
    text-align: center;
}

.modal-ddnayo-info {
    margin-top: 80px;
}

.modal-ddnayo-info .info-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    font-family: 'NanumBarunGothic';
    font-size: 16px;
    color: #000;
    letter-spacing: -0.4px;
    border-top: 1px solid rgba(0, 0, 0);
    border-bottom: 1px solid rgba(0, 0, 0);
    padding-left: 10px;
    padding-right: 20px;
}

.modal-ddnayo-info .info-title-sub {
    margin-top: -1px;
    border-top: unset;
}

.modal-ddnayo-info .info-desc {
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    color: #000;
    font-weight: 400;
    letter-spacing: -0.4px;
    padding-left: 10px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.modal-ddnayo-info .info-desc p {
    line-height: 22px;
}

.modal-ddnayo-info .collapse {
    cursor: pointer;
}

.modal-ddnayo-info .info-desc-collapse.open {
    border-bottom: 1px solid rgba(0, 0, 0);
}

.modal-ddnayo-info .info-desc-collapse.close {
    display: none;
}

.modal-ddnayo-info .plus-icon.show,
.modal-ddnayo-info .minus-icon.show {
    display: block;
}

.modal-ddnayo-info .plus-icon,
.modal-ddnayo-info .minus-icon {
    display: none;
}

.modal-ddnayo-info .minus-icon {
    padding-bottom: 12px;
}

.modal-ddnayo-info .info-desc .table {
    width: 35%;
    margin: 20px 0;
}

.modal-ddnayo-info .info-desc .table th {
    height: 30px;
    vertical-align: middle;
}

.modal-ddnayo-info .info-desc .table tr {
    text-align: center;
    border: 1px solid #000;
}

.modal-ddnayo-info .info-desc .table td {
    vertical-align: middle;
}

.modal-chef {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-top: 60px;
}

.modal-chef-text {
    margin-bottom: 14px;
}

@media (max-width: 1450px) {
    .modal-reserve {
        display: none;
    }
}

@media (max-width: 1140px) {
    .modal-slide-wrap {
        height: auto;
    }
}

@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
    }

    .modal-content-wrap {
        z-index: 22;
    }

    .close-button {
        top: 140px;
        padding: 0 15px;
        z-index: 23;
    }

    .close-button img {
        width: 20px;
    }

    .modal-content {
        min-height: 100vh;
        padding: 136px 24px 30px;
    }

    .modal-content .box-bottom-1 {
        margin-bottom: 50px;
    }

    .modal-content .box-bottom-2 {
        margin-bottom: 50px;
    }

    .modal-title-1 {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .modal-title-2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .modal-slide-wrap {
        margin-bottom: 20px;
    }

    .modal-text-1 {
        font-size: 14px;
        line-height: 22px;
    }

    .modal-text-2 {
        font-size: 14px;
        line-height: 22px;
    }

    .modal-info-wrap {
        gap: 30px;
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    .modal-info-line {
        margin: 8px 0;
    }

    .modal-ddnayo-title {
        font-size: 22px;
        margin: 60px 0 15px;
    }

    .modal-ddnayo-info {
        margin-top: 60px;
    }

    .modal-ddnayo-info .info-title {
        font-size: 14px;
    }

    .modal-ddnayo-info .info-desc {
        font-size: 12px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .modal-reserve-link-wrap {
        margin-top: 30px;
    }

    .modal-reserve-link-wrap a {
        width: 99px;
        height: 37px;
        font-size: 12px;
    }

    .modal-info-title {
        font-size: 16px;
    }

    .modal-info-box {
        grid-column: 1 !important;
    }

    .modal-info-text-wrap {
        font-size: 12px;
    }

    .modal-chef {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-top: 60px;
    }
}

/* board */
.board-container {
    width: 100%;
    max-width: calc(1480px + 48px);
    padding: 280px 24px 307px;
    margin: 0 auto;
}

.board-top {
    font-family: 'NanumBarunGothic';
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: #212121;
    margin-bottom: 20px;
}

.board-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0 5px;
    border-top: 2px solid #63605a;
    border-bottom: 2px solid #63605a;
    /*background: #fff;*/
}

.board-table tr:hover {
    /*background: #fafafa;*/
}

.board-table .subject {
    font-family: 'NanumBarunGothic';
    font-size: 16px;
    text-indent: 10px;
    padding: 20px 5px 20px 0;
    line-height: 1.4em;
    border-bottom: 1px solid #636363;
    color: #212121;
    word-break: break-all;
}

.board-table .name {
    font-family: 'NanumBarunGothicBold';
    font-size: 16px;
    width: 100px;
    padding: 20px 5px;
    line-height: 1.4em;
    border-bottom: 1px solid #636363;
    color: #212121;
    word-break: break-all;
    text-align: center;
}

.board-table .date {
    font-family: 'NanumBarunGothic';
    font-size: 16px;
    width: 110px;
    padding: 20px 5px;
    line-height: 1.4em;
    border-bottom: 1px solid #636363;
    color: #212121;
    word-break: break-all;
    text-align: center;
}

.board-controls {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    /*background: #fff;*/
    border: 1px solid #636363;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    gap: 10px;
}

.board-btn-write {
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    display: inline-block;
    background: #3598dc;
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    height: 30px;
    padding: 0 10px;
    text-align: center;
    font-weight: normal;
    border-radius: 0.25rem;
}

.board-table .empty:hover {
    border-left: unset;
    background: unset;
}

.board-table .empty td {
    font-family: 'NanumBarunGothic';
    font-size: 16px;
    text-indent: 10px;
    padding: 20px 5px 20px 0;
    line-height: 1.4em;
    color: #212121;
    word-break: break-all;
    text-align: center;
}

@media (max-width: 768px) {
    .board-container {
        padding: 110px 24px 60px;
    }

    .board-top {
        font-size: 18px;
    }

    .board-table .subject {
        font-size: 13px;
    }

    .board-table .name {
        width: 65px;
        font-size: 13px;
    }

    .board-table .date {
        width: 80px;
        font-size: 13px;
    }

    .board-btn-write {
        font-size: 13px;
    }

    .modal-ddnayo-info .info-desc .table {
        width: 75%;
    }
}

/* board write */

.board-write-form {
    display: grid;
    gap: 15px;
    margin: 0 auto;
}

.board-write-form label {
    display: flex;
    margin-bottom: 6px;
    font-family: 'NanumBarunGothic';
    font-size: 14px;
}

.board-write-form input {
    width: 100%;
    height: 40px;
    font-family: 'NanumBarunGothic';
    border: 1px solid #636363;
    border-radius: 3px;
    padding: 5px;
    background: transparent;
}

.board-write-form textarea {
    width: 100%;
    font-family: 'NanumBarunGothic';
    border: 1px solid #636363;
    border-radius: 3px;
    padding: 5px;
    background: transparent;
}

.board-write-form .btn-cancel {
    display: inline-block;
    background: #fff;
    font-family: 'NanumBarunGothic';
    color: #656565;
    border: 1px solid #ccc;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    border-radius: 3px;
    text-decoration: none;
    vertical-align: bottom;
    font-size: 14px;
}

.board-write-form .btn-submit {
    display: inline-block;
    background: #3598dc;
    color: #fff;
    border: 1px solid #1585d1;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    border-radius: 3px;
    text-decoration: none;
    vertical-align: bottom;
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
}

/* board read */
.board-read-section {
    padding: 30px;
    /*background: #fff;*/
    border: 1px solid #636363;
}

.board-read-section h2 {
    font-family: 'NanumBarunGothic';
    font-size: 16px;
    margin-bottom: 20px;
}

.board-read-section .info {
    display: flex;
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    color: #212121;
    gap: 10px;
    border-bottom: 1px solid #636363;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.board-read-section .content {
    font-family: 'NanumBarunGothic';
    font-size: 14px;
    line-height: 18px;
}

.board-read-controls {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    /*background: #fff;*/
    border: 1px solid #636363;
    border-top: 0px;
    gap: 10px;
}

.board-btn-list {
    font-size: 14px;
    display: inline-block;
    background: #7a7565;
    border: 1px solid #dedede;
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    height: 30px;
    padding: 0 10px;
    text-align: center;
    font-weight: normal;
    border-radius: 0.25rem;
}

.board-btn-modify {
    font-size: 14px;
    display: inline-block;
    background: #3598dc;
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    height: 30px;
    padding: 0 10px;
    text-align: center;
    font-weight: normal;
    border-radius: 0.25rem;
}

.board-btn-reply {
    font-size: 14px;
    display: inline-block;
    border: 1px solid #3598dc;
    color: #3598dc;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    height: 30px;
    padding: 0 10px;
    text-align: center;
    font-weight: normal;
    border-radius: 0.25rem;
}

.board-btn-delete {
    font-size: 14px;
    display: inline-block;
    border: 1px solid #e91e1e;
    color: #e91e1e;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    height: 30px;
    padding: 0 10px;
    text-align: center;
    font-weight: normal;
    border-radius: 0.25rem;
}

.board-file-wrap {
    font-size: 14px;
    margin-top: 40px;
}

.board-file-wrap h2 {
    font-size: 14px;
    margin-bottom: 5px;
}

.file-img {
    width: 100%;
    max-width: fit-content;
}

.original-file {
    display: flex;
    align-items: center;
    font-size: 13px;
    margin-top: 5px;
}

.board-write-form .original-file-delete-checkbox {
    display: inline-flex;
    width: auto;
    height: auto;
    margin-left: 10px;
}

.original-file label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .board-read-section h2 {
        font-size: 14px;
    }

    .board-read-section .info {
        flex-direction: column;
        font-size: 12px;
    }

    .board-read-section .content {
        font-size: 14px;
    }

    .board-btn-list {
        font-size: 13px;
    }
}

/* board comment section */
.board-comment-section {
    margin-top: 30px;
}

.board-comment-section h3 {
    font-size: 14px;
    border-bottom: 1px solid #d9dee9;
    padding-bottom: 10px;
}

.board-comment-box {
    font-size: 14px;
    border-bottom: 1px solid #d9dee9;
    padding: 20px 0;
}

.board-comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.board_comment-text {
    line-height: 1.2;
}

/* 댓글쓰기 */
.board-comment-write-section {
    font-size: 14px;
    border: 1px solid #d9dee9;
    margin-top: 20px;
}

.board-comment-write-section h3 {
    margin: 20px 20px 0 20px;
}

.board-comment-write-input-box {
    display: flex;
    gap: 20px;
    padding: 20px 20px 0 20px;
}

.board-comment-write-input {
    height: 30px;
    border: 1px solid #d9dee9;
    border-radius: 3px;
    margin-left: 3px;
}

.board-comment-write-textarea-box {
    padding: 20px;
}

.board-comment-write-textarea {
    width: 100%;
    height: 100px;
    border-color: #d9dee9;
    border-radius: 3px
}

.board-comment-write-footer {
    display: flex;
    justify-content: flex-end;
    background: #f7f7f9;
    padding: 10px;
    border-top: 1px solid #d9dee9;
}

.board-comment-write-btn {
    font-size: 14px;
    display: inline-block;
    background: #3598dc;
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
    line-height: 28px;
    height: 30px;
    padding: 0 10px;
    text-align: center;
    font-weight: normal;
    border-radius: 0.25rem;
    cursor: pointer;
}