/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 27 2026 | 00:50:10 */
/* =========================================================
   🎨 school_news 統合版 SaaS UI 完成CSS
   Lightning / Code Snippets / school_news 専用
   ========================================================= */

/* =========================================================
   🌍 全体ベース
   ========================================================= */

.saas-wrap,
.mypage-saas-wrap,
.kanri-saas-wrap{
    background:#f5f7fb;
    padding:28px;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",sans-serif;
    box-sizing:border-box;
}

/* =========================================================
   🏠 ポータルUI
   ========================================================= */

.portal-container{
    display:flex;
    gap:25px;
    max-width:850px;
    margin:50px auto;
    box-sizing:border-box;
}

.portal-card{
    flex:1;
    display:flex;
    align-items:center;
    gap:20px;

    padding:35px 30px;

    background:#ffffff;

    border:1px solid #dbe4ee;
    border-radius:14px;

    text-decoration:none !important;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.02),
        0 10px 25px rgba(92,141,168,0.05);

    transition:all .25s ease;
}

.portal-card:hover{
    transform:translateY(-4px);

    border-color:#5c8da8;

    box-shadow:
        0 15px 30px rgba(92,141,168,0.12),
        0 5px 12px rgba(92,141,168,0.08);
}

.portal-icon{
    width:72px;
    height:72px;
    min-width:72px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#f0f6f9;

    font-size:2.2em;

    transition:.25s;
}

.portal-card:hover .portal-icon{
    background:#e5f0f5;
    transform:scale(1.05);
}

.portal-text-wrap{
    display:flex;
    flex-direction:column;
    gap:5px;
}

.portal-btn-title{
    font-size:1.25em;
    font-weight:700;
    color:#1e293b;
}

.portal-btn-desc{
    font-size:.88em;
    color:#64748b;
    line-height:1.5;
}

/* =========================================================
   🧱 グリッド安定化
   ========================================================= */

.row{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:stretch !important;
}

.col-sm-6.col-md-4{
    display:flex !important;
    flex-direction:column !important;
    margin-bottom:35px !important;
    position:relative !important;
}

/* =========================================================
   📦 投稿カード
   ========================================================= */

.mp-system-card{
    width:100%;

    background:#ffffff;

    border:1px solid #dbe4ee !important;
    border-radius:14px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    box-shadow:
        0 2px 8px rgba(0,0,0,0.02),
        0 8px 20px rgba(92,141,168,0.04);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;

    flex-grow:1;
}

.mp-system-card:hover{
    transform:translateY(-3px);

    border-color:#5c8da8 !important;

    box-shadow:
        0 10px 25px rgba(92,141,168,0.10),
        0 4px 10px rgba(92,141,168,0.06);
}

/* =========================================================
   🔄 承認フロー
   ========================================================= */

.mp-flow-header{
    padding:16px 18px 10px;
    border-bottom:1px solid #edf2f7;
    background:#fbfcfe;
}

.mp-flow{
    display:flex;
    align-items:center;
    gap:6px;

    font-size:.82em;
    color:#94a3b8;

    margin-bottom:8px;
}

.mp-flow-step{
    transition:.2s;
}

.mp-flow-step.active{
    color:#5c8da8;
    font-weight:700;
}

.mp-flow-arrow{
    color:#cbd5e1;
}

.mp-flow-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:10px;

    font-size:.8em;
}

/* =========================================================
   🏷️ ステータスバッジ
   ========================================================= */

.mp-badge-status{
    display:inline-flex;
    align-items:center;

    padding:4px 8px;

    border-radius:999px;

    font-size:.78em;
    font-weight:700;
    letter-spacing:.01em;
}

.b-draft{
    background:#fff4e5;
    color:#b45309;
}

.b-pending{
    background:#e0f2fe;
    color:#0369a1;
}

.b-publish{
    background:#dcfce7;
    color:#166534;
}

.mp-days-text{
    color:#64748b;
}

/* =========================================================
   🖼️ アイキャッチ
   ========================================================= */

.mp-card-thumb{
    width:100%;
    height:190px;

    background:#f8fafc;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;

    border-bottom:1px solid #edf2f7;
}

.mp-card-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:transform .3s ease;
}

.mp-system-card:hover .mp-card-thumb img{
    transform:scale(1.03);
}

.mp-no-image{
    color:#94a3b8;
    font-size:.9em;
    font-weight:600;
}

/* =========================================================
   📝 カード本文
   ========================================================= */

.mp-card-body{
    padding:18px;
    display:flex;
    flex-direction:column;
    flex-grow:1;
}

.mp-card-title{
    font-size:1.08em !important;
    font-weight:700 !important;
    line-height:1.5 !important;

    margin:0 0 10px !important;

    color:#1e293b !important;
}

.mp-card-meta{
    font-size:.82em;
    color:#64748b;
    line-height:1.6;
    margin-bottom:14px;
}

/* =========================================================
   ⚠️ 差戻し理由
   ========================================================= */

.mp-reason-box{
    margin-top:auto;

    background:#fffaf5;

    border:1px solid #fbd38d;
    border-left:4px solid #db937b;

    border-radius:8px;

    padding:12px;
}

.mp-reason-header{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:8px;

    padding-bottom:6px;

    border-bottom:1px dashed #fbd38d;
}

.mp-reason-header strong{
    color:#db937b !important;
}

.mp-reason-date{
    font-size:.78em;
    color:#94a3b8;
    font-family:monospace;
}

.mp-reason-text{
    color:#6e463b;
    line-height:1.6;
    font-size:.9em;
}

/* =========================================================
   🔘 ボタンエリア
   ========================================================= */

.mp-card-actions{
    padding:16px;
    background:#f8fafc;
    border-top:1px solid #edf2f7;
}

.mp-btn-style{
    display:block !important;
    width:100% !important;

    padding:11px 14px !important;

    border-radius:10px !important;

    text-align:center !important;
    text-decoration:none !important;

    font-size:.88em !important;
    font-weight:700 !important;

    transition:.2s ease;

    box-sizing:border-box !important;
}

.btn-edit{
    background:#5c8da8 !important;
    color:#ffffff !important;
    border:none !important;
}

.btn-edit:hover{
    background:#47728a !important;
}

.btn-view{
    background:#ffffff !important;
    color:#475569 !important;
    border:1px solid #dbe4ee !important;
}

.btn-view:hover{
    background:#f8fafc !important;
    border-color:#5c8da8 !important;
}

/* =========================================================
   🧑‍💼 管理画面UI
   ========================================================= */

.km-textarea{
    width:100% !important;

    padding:10px !important;

    border:1px solid #dbe4ee !important;
    border-radius:10px !important;

    font-size:.84em !important;

    resize:vertical !important;

    margin-bottom:12px !important;

    box-sizing:border-box !important;

    background:#ffffff !important;
}

.km-btn-group{
    display:flex !important;
    gap:10px !important;
}

.km-btn{
    flex:1;

    height:42px;

    border:none !important;
    border-radius:10px !important;

    font-size:.88em !important;
    font-weight:700 !important;

    cursor:pointer;

    transition:.2s ease;
}

.km-btn-approve{
    background:#5c8da8 !important;
    color:#ffffff !important;
}

.km-btn-approve:hover{
    background:#47728a !important;
}

.km-btn-reject{
    background:#c97b4a !important;
    color:#ffffff !important;
}

.km-btn-reject:hover{
    background:#b86a3d !important;
}

/* =========================================================
   🔎 フィルタタブ
   ========================================================= */

.km-sort-container{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:30px;
}

.km-sort-btn{
    display:inline-flex !important;
    align-items:center !important;

    padding:8px 16px !important;

    background:#ffffff !important;

    border:1px solid #dbe4ee !important;
    border-radius:999px !important;

    color:#475569 !important;

    font-size:.88em !important;
    font-weight:600 !important;

    text-decoration:none !important;

    transition:.2s ease;

    box-shadow:0 1px 3px rgba(0,0,0,0.02);
}

.km-sort-btn:hover{
    background:#f8fafc !important;
    border-color:#5c8da8 !important;
    color:#5c8da8 !important;
}

.km-sort-active{
    background:#5c8da8 !important;
    border-color:#5c8da8 !important;
    color:#ffffff !important;

    box-shadow:0 6px 14px rgba(92,141,168,0.18);
}

/* =========================================================
   📄 フォーム
   ========================================================= */

.mp-box-form{
    max-width:780px;
    margin:40px auto;

    background:#ffffff;

    border:1px solid #dbe4ee;
    border-radius:14px;

    padding:35px;

    box-shadow:
        0 4px 10px rgba(0,0,0,0.02),
        0 10px 25px rgba(92,141,168,0.05);
}

/* =========================================================
   📚 ページネーション
   ========================================================= */

.lightning-pagination{
    margin-top:25px;
}

.lightning-pagination ul.page-numbers{
    display:inline-flex;
    gap:8px;

    padding:0;
    margin:0;

    list-style:none;
}

.lightning-pagination ul.page-numbers li a.page-numbers,
.lightning-pagination ul.page-numbers li span.page-numbers{

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:40px;
    height:40px;

    padding:0 14px;

    border:1px solid #dbe4ee;
    border-radius:10px;

    background:#ffffff;

    color:#475569;

    text-decoration:none;

    font-size:.9em;
    font-weight:600;

    transition:.2s ease;
}

.lightning-pagination ul.page-numbers li a.page-numbers:hover,
.lightning-pagination ul.page-numbers li span.page-numbers.current{

    background:#5c8da8 !important;
    border-color:#5c8da8 !important;

    color:#ffffff !important;
}

/* =========================================================
   📱 モバイル最適化
   ========================================================= */

@media (max-width:768px){

    .portal-container{
        flex-direction:column;
        margin:25px 15px;
    }

    .portal-card{
        padding:24px 20px;
    }

    .portal-icon{
        width:64px;
        height:64px;
        min-width:64px;
        font-size:1.9em;
    }

    .mp-card-thumb{
        height:180px;
    }

    .mp-flow{
        flex-wrap:wrap;
    }

    .km-btn-group{
        flex-direction:column;
    }

    .mp-box-form{
        padding:24px;
        margin:20px 10px;
    }
}
