.board_create_wrap{
    background:#fafafa;
    border:1px solid #ddd;
    padding:20px;
    margin-bottom:30px;
}

.board_create_wrap table{
    width:100%;
}

.board_create_wrap th{
    width:140px;
    text-align:left;
    padding:10px;
}

.board_create_wrap td{
    padding:10px;
}

.board_create_wrap input,
.board_create_wrap select{
    width:300px;
    height:38px;
    padding:0 10px;
}

.board_create_wrap button{
    height:40px;
    padding:0 20px;
    background:#7696b8;
    color:#fff;
    border:0;
    cursor:pointer;
	margin:0;
}

.board_table{
    width:100%;
    border-collapse:collapse;
}

.board_table th,
.board_table td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

.board_table th{
    background:#f5f5f5;
}

.btn_small{
    display:inline-block;
    padding:6px 10px;
    border-radius:4px;
    text-decoration:none;
    font-size:13px;
}

.btn_edit{
    background:#333;
    color:#fff;
}

.btn_delete{
    background:#d33;
    color:#fff;
}

.board_top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.board_top h3{
    margin:0;
}

.btn_write{
    display:inline-block;
    padding:5px 9px;
    background:#7696b8;
    color:#fff;
    text-decoration:none;
    border-radius:4px;
}

.board_table{
    width:100%;
    border-collapse:collapse;
}

.board_table th,
.board_table td{
    border:1px solid #ddd;
    padding:12px;
    text-align:center;
}

.board_table th{
    background:#f5f5f5;
}

.board_table td.subject{
    text-align:left;
}

.btn_small{
    display:inline-block;
    padding:6px 10px;
    border-radius:4px;
    text-decoration:none;
    font-size:13px;
}

.btn_edit{
    background:#7696b8;
    color:#fff;
}

.btn_delete{
    background:#d33;
    color:#fff;
}

.back_link{
    margin-bottom:20px;
}

.back_link a{
    color:#666;
    text-decoration:none;
}

.board_write_table{
    width:100%;
    border-collapse:collapse;
}

.board_write_table th,
.board_write_table td{
    border:1px solid #ddd;
    padding:12px;
}

.board_write_table th{
    width:140px;
    background:#f5f5f5;
    text-align:left;
}

.board_write_table input[type=text]{
    width:100%;
    height:40px;
    padding:0 12px;
    box-sizing:border-box;
}

.board_btn_wrap{
    margin-top:20px;
    text-align:right;
}

.btn_submit{
    border:0;
    background:#333;
    color:#fff;
    border-radius:4px;
    cursor:pointer;
}

.check_label{
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    gap: 6px;
    cursor: pointer;
}
.board_write_table td {
    width: auto;
    white-space: normal;
    word-break: keep-all;
}

.board_view_table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
    background:#fff;
}

.board_view_table th{
    width:140px;
    padding:14px;
    border:1px solid #ddd;
    background:#f8f8f8;
    text-align:center;
    font-weight:600;
}

.board_view_table td{
    padding:14px;
    border:1px solid #ddd;
    vertical-align:top;
}

.board_view_table .content{
    min-height:300px;
    line-height:1.8;
}

.board_view_table img{
    max-width:100%;
    height:auto;
}

.badge_notice{
    display:inline-block;
    padding:4px 10px;
    background:#ffeded;
    color:#d90000;
    border-radius:4px;
    font-size:13px;
    margin-right:5px;
}

.badge_secret{
    display:inline-block;
    padding:4px 10px;
    background:#f1f1f1;
    color:#555;
    border-radius:4px;
    font-size:13px;
}

.board-wrap {
    width: 100%;
}

.board-list,
.board-view {
    width: 100%;
    border-collapse: collapse;
}

.board-list th,
.board-list td,
.board-view th,
.board-view td {
    border: 1px solid #ddd;
    padding: 13px;
}

.board-list th,
.board-view th {
    background: #f5f5f5;
    text-align: center;
}

.board-list td {
    text-align: center;
}

.board-list .subject {
    text-align: left;
}

.board-list .subject a {
    color: #333;
    text-decoration: none;
}

.board-view th {
    width: 140px;
}

.board-view .content {
    min-height: 250px;
    padding: 30px;
    line-height: 1.8;
    vertical-align: top;
}

.btn-wrap {
    margin-top: 20px;
    text-align: right;
}

.btn-list {
    display: inline-block;
    padding: 10px 20px;
    background: #333;
    color: #fff;
    text-decoration: none;
}
.gallery-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.gallery-item a {
    display: block;
    color: #333;
    text-decoration: none;
}

.gallery-thumb {
    width: 100%;
    height: 180px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.no-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
}

.gallery-subject {
    margin-top: 10px;
    font-size: 15px;
    font-weight: 500;
}

.gallery-date {
    margin-top: 5px;
    font-size: 12px;
    color: #888;
}

.empty-list {
    padding: 40px 0;
    text-align: center;
}
@media (max-width: 768px) {

    #footer {
        background-color: #2c2c2c !important;
    }

    #footer #bg_copy {
        background-color: #2c2c2c !important;
        border-bottom-color: #000 !important;
    }

    #footer #bg_copy .copy_year {
        color: #d4d4d4 !important;
    }
}

/* =========================
   °Ô½ÃÆÇ ¸ð¹ÙÀÏ ÃÖÀûÈ­
========================= */

@media (max-width: 768px) {

    .board-wrap {
        width: 100%;
        overflow-x: hidden;
    }

    .board-list {
        width: 100%;
        table-layout: fixed;
    }

    /* ¼û±è */
    .board-list th:nth-child(1),
    .board-list td:nth-child(1),
    .board-list th:nth-child(3),
    .board-list td:nth-child(3),
    .board-list th:nth-child(5),
    .board-list td:nth-child(5) {
        display: none;
    }

    /* Á¦¸ñ */
    .board-list th:nth-child(2) {
        width: auto;
    }

    .board-list td.subject {
        text-align: left;
        padding-left: 10px;
    }

    .board-list td.subject a {
        display: block;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;

        font-size: 14px;
    }

    /* ÀÛ¼ºÀÏ */
    .board-list th:nth-child(4),
    .board-list td:nth-child(4) {
        width: 90px;
        font-size: 12px;
        white-space: nowrap;
    }

    .board-list th,
    .board-list td {
        padding: 10px 6px;
        font-size: 13px;
        vertical-align: middle;
    }
}

/* =========================
   °¶·¯¸® ¸ð¹ÙÀÏ ½æ³×ÀÏ º¸Á¤
========================= */

.gallery-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f3f3;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ¸ð¹ÙÀÏ */
@media (max-width: 768px) {

    .gallery-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        width: 100%;
    }

    .gallery-thumb {
        aspect-ratio: 1 / 1;
    }

    .gallery-subject {
        font-size: 13px;
        line-height: 1.4;

        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gallery-date {
        font-size: 12px;
    }
}