body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;

    background-image:
        linear-gradient(#FBE8D2 1px, transparent 1px),
        linear-gradient(90deg, #FBE8D2 1px, transparent 1px);
    background-size: 5px 5px;
    background-attachment: fixed;

    font-family: "AppleGothic", "돋움", dotum, sans-serif;
    font-size: 11px;
    color: #333;
}

/* menu */

#main-layout {
    width: 800px;
    margin: 0 auto;
    background-color: #ffffff;
    border-left: 1px solid #999;
    border-right: 1px solid #999;
    border-bottom: 1px solid #999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#header {
    padding: 8px 15px;
    border-bottom: 3px double #ccc;
    background-color: #ffffff;
}

#main-logo {
    display: inline-block;
    vertical-align: middle;
}

#menu-grid {
    display: inline-table;
}

.menu-cell {
    padding: 1px 8px;
    border: none;
    background: none;
    text-align: left;
    white-space: nowrap;
}

nav a {
    color: #EC870E;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #3B9D82;
    text-decoration: underline;
}

.menu-icon {
    font-size: 9px;
    margin-right: 2px;
    vertical-align: middle;
    color: #EC870E;
}

#content-area {
    padding: 30px 40px;
    min-height: 400px;
}

/* staffroom */

.diary-table {
    width: 100%;
    margin-bottom: 40px;
    border: 1px solid #999;
    background-color: #ffffff;
}

.diary-left-sidebar {
    width: 130px;
    padding: 15px 5px;
    text-align: center;
    border-right: 1px dotted #ccc;
}

.avatar-box-pink {
    width: 80px;
    height: 80px;
    margin: 0 auto 8px;
    border: 3px solid #fbc4c4;
    /* 레퍼런스의 핑크색 테두리 */
    background-color: #ffffff;
}

.avatar-box-pink img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.author-name-red {
    color: #cc0000;
    font-weight: bold;
    font-size: 11px;
}

.diary-title-bar {
    background-color: #247697;
    color: #ffffff;
    padding: 6px 12px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.diary-body-text {
    padding: 20px;
    line-height: 1.7;
    font-size: 12px;
    color: #333;
}

.d-title {
    font-size: 12px;
}

.d-date {
    font-size: 10px;
    font-weight: normal;
    opacity: 0.9;
}

.author-name {
    color: #cc0000;
    font-weight: bold;
    font-size: 11px;
}

.diary-right {
    padding: 20px;
    line-height: 1.6;
    font-size: 12px;
    color: #333;
}

#footer {
    padding: 8px;
    font-size: 10px;
    color: #999;
    border-top: 1px solid #eee;
    text-align: center;
}

/* bbs */

.bbs-form-table {
    width: 100%;
    border: 1px solid #3B9D82;
    background-color: #ffffff;
    margin-bottom: 30px;
    font-size: 11px;
}

.bbs-form-header {
    background-color: #EF6391;
    color: #ffffff;
    padding: 4px 8px;
    font-weight: bold;
}

.bbs-form-label {
    width: 100px;
    background-color: #FBE8D2;
    padding: 5px;
    text-align: right;
    font-weight: bold;
    border-bottom: 1px solid #ffffff;
}

.bbs-form-input {
    padding: 5px;
    border-bottom: 1px solid #FBE8D2;
}

.bbs-form-input input,
.bbs-form-input textarea {
    border: 1px solid #ccc;
    font-size: 11px;
    padding: 2px;
}

.bbs-form-input textarea {
    width: 95%;
    height: 80px;
}

.bbs-submit-area {
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9;
}

#post-btn {
    background-color: #ffffff;
    border: 1px solid #999;
    padding: 2px 15px;
    cursor: pointer;
}

#post-btn:hover {
    background-color: #FBE8D2;
}

.edit-btn-inline {
    font-size: 9px;
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 10px;
    background: none;
    border: none;
}

/* web application */

#wakagakaweb {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 100px;
    min-height: 100px;
}