/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 12 2026 | 04:24:47 */
/* ===== 書庫ページ ===== */
.dlib {
    max-width: 100％;
    margin: 0 auto;
}
.dlib br { display: none; }

/* タブの行 */
.dlib-tabrow {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    position: relative;
    z-index: 2;
    margin-bottom: -2px;
    border-bottom: 2px solid #5c8da8;
}

/* タブボタン */
.dlib-tab {
    padding: 11px 18px;
    background: #eef2f5;
    color: #51677a;
    border: 2px solid #5c8da8;
    border-bottom: none;
    border-right: none;
    border-radius: 8px 8px 0 0;
    font-size: 0.88em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.dlib-tab:last-child {
    border-right: 2px solid #5c8da8;
}
.dlib-tab:hover {
    background: #dde7ee;
}
.dlib-tab.dlib-active {
    background: #5c8da8;
    color: #fff;
    border-bottom: 2px solid #5c8da8;
}

/* パネル */
.dlib-panel {
    display: none;
    padding: 24px;
    background: #fff;
    border: 2px solid #5c8da8;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    min-height: 400px;
    position: relative;
    z-index: 1;
}
.dlib-panel.dlib-active {
    display: block;
}

/* 書類カード */
.dlib-doc {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 0px solid #5c8da8;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.dlib-doc:last-child { margin-bottom: 0; }
.dlib-doc:hover {
    box-shadow: 0 5px 14px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* ファイル種別アイコン */
.dlib-doc-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72em;
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.05em;
    background: #777;
}
.dlib-type-pdf   .dlib-doc-icon { background: #d9534f; }
.dlib-type-word  .dlib-doc-icon { background: #2b579a; }
.dlib-type-excel .dlib-doc-icon { background: #217346; }

/* 書類の中身 */
.dlib-doc-main {
    flex: 1;
    min-width: 0;
}
.dlib-doc-name {
    font-size: 1em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 4px;
}
.dlib-doc-desc {
    font-size: 0.85em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}
.dlib-doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.dlib-target {
    font-size: 0.75em;
    background: #e8f0f5;
    color: #3a6f8f;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
}
.dlib-date {
    font-size: 0.75em;
    color: #999;
}

/* アクションボタン */
.dlib-doc-action {
    flex: 0 0 auto;
}
.dlib-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #5c8da8;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}
.dlib-btn:hover { background: #3b6f8a; }
.dlib-btn-dl { background: #6b8e23; }
.dlib-btn-dl:hover { background: #577119; }

/* スマホ */
@media (max-width: 600px) {
    .dlib-tab {
        font-size: 0.82em;
        padding: 9px 14px;
    }
    .dlib-doc { flex-wrap: wrap; }
    .dlib-doc-action { flex: 0 0 100%; }
    .dlib-btn { display: block; text-align: center; }
}