@charset "UTF-8";
/**
 * ToRA-SEED Base Style - 2026.02.24 整理・統合版
 * 役割：サイト全体の基本定義、およびタクソノミーバッジ（大学・分野）の色管理
 */

/* --- 1. 変数定義 (大学カラー・メインカラー) --- */
:root {
    --tora-blue-main: #1A52A8;
    --tora-blue-light: #eef4ff;
    --uni-tsukuba: #6E1CC6;  /* 筑波大：紫 */
    --uni-chiba: #C1172D;    /* 千葉大：赤 */
    --uni-gunma: #309D2C;    /* 群馬大：緑 */
    --uni-all: #004098;      /* 3大学共同：濃紺 */
    --field-common: #e6b422; /* 共通分野：金/黄 */
}

/* --- 2. 基本リセット & タイポグラフィ --- */
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- 3. 共通パーツ：バッジ (tora-badge) --- */
.tora-badge {
    display: inline-block;
    padding: 4px 12px !important;
    font-size: 0.8rem !important;
    font-weight: bold !important;
    color: #fff !important; /* 文字を白抜きに固定 */
    border-radius: 4px !important;
    line-height: 1.4 !important;
    margin-right: 5px;
    margin-bottom: 5px;
    border: none !important;
}

/* --- 4. 大学別・共同体バッジカラー (最新スラッグ対応) --- */
/* 筑波大 */ .uni-tsukuba { background-color: #6E1CC6 !important; }
/* 千葉大 */ .uni-chiba { background-color: #C1172D !important; }
/* 群馬大 */ .uni-gunma { background-color: #309D2C !important; }
/* 共同 */   .univ-all, .uni-all-univ { background-color: #004098 !important; } /* 3大学共同：濃紺 */
/* その他 */ .uni-others { background-color: #7a7a7a !important; }

/* --- 5. 研究分野別カラー (最新スラッグ対応) --- */
/* 共通分野 */ .common-field { background-color: #e6b422 !important; } /* 金 */
/* AI・医工 */ .med-eng-ai { background-color: #00a0e9 !important; }
/* 免疫 */     .immunity-inflammation { background-color: #eb6100 !important; }
/* 代謝 */     .metabolism-omics { background-color: #8fc31f !important; }
/* 睡眠 */     .sleep-cns { background-color: #522886 !important; }
/* がん */     .cancer { background-color: #444444 !important; }
/* その他 */   .field-others{ background-color: #7a7a7a !important; }

/* --- 6. 記事カテゴリ (topics_cat) --- */
.news { background-color: #1A52A8 !important; }
.event { background-color: #f39c12 !important; }
.release { background-color: #27ae60 !important; }
.cat-others{ background-color: #555555 !important; }