@charset "UTF-8";
/**
 * ToRA-SEED Front Page Style - 2026.02.17 復元版
 * スクリーンショット 18.16.12.jpg 等の状態を完全再現
 */

/* --- 1. ヒーローエリア内の「白枠パネル」と「楕円ボタン」 --- */
.tora-hero-area {
    position: relative !important;
    width: 100% !important;
    height: 500px !important;
    overflow: hidden !important;
}

.tora-hero-content {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 650px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 40px !important;
    text-align: center !important;
    z-index: 10 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
}

/* 楕円ボタンのデザイン (READ MORE / VIEW MORE) */
.tora-hero-actions a, 
.tora-view-more,
.tora-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 35px !important;
    border: 1.5px solid var(--tora-blue-main) !important;
    color: var(--tora-blue-main) !important;
    background: #ffffff !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    margin: 10px 5px 0 !important;
}

.tora-hero-actions a:hover, 
.tora-view-more:hover,
.tora-feature-card:hover .tora-link {
    background: var(--tora-blue-main) !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0, 77, 196, 0.2) !important;
}

/* --- 2. 消失していた重要2枠バナー（青と緑）の復元 --- */
.tora-features {
    display: flex !important;
    gap: 20px !important;
    margin: 40px 0 !important;
}

.tora-feature-card {
    flex: 1 !important;
    padding: 60px 40px !important;
    border-radius: 15px !important;
    color: #ffffff !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: transform 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.tora-feature-card:hover { transform: translateY(-8px) !important; }

/* 背景色設定 */
.item-young { background-color: #008cd6 !important; } /* 若手PI: 青 */
.item-env { background-color: #00c67b !important; }   /* 研究環境: 緑 */

.tora-feature-card h3 {
    font-size: 1.8rem !important;
    color: #fff !important;
    margin-bottom: 20px !important;
    font-weight: bold !important;
}

.tora-feature-card p {
    font-size: 1rem !important;
    color: #fff !important;
    line-height: 1.6 !important;
    margin-bottom: 25px !important;
}

/* バナー内のボタン（白い縁取り） */
.tora-feature-card .tora-link {
    background: transparent !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

/* --- 3. ニュースリストのタグとレイアウト修復 --- */
.tora-news-item {
    display: flex !important;
    background: #f8f9fa !important;
    margin-bottom: 15px !important;
    border-radius: 8px !important;
    border: 1px solid #f0f3f6 !important;
    padding: 20px !important;
    align-items: center !important;
}

.tora-news-label-field {
    width: 140px !important;
    font-weight: bold !important;
    color: var(--tora-blue-main) !important;
    font-size: 0.9rem !important;
}

/* カテゴリタグの色分け復元 */
.tora-badge-cat.cat-news { background-color: #95a5a6 !important; }
.tora-badge-cat.cat-event { background-color: #f39c12 !important; }
.tora-badge-cat.cat-release { background-color: #27ae60 !important; }

.tora-badge {
    padding: 3px 10px !important;
    font-size: 0.75rem !important;
    border-radius: 4px !important;
    color: #fff !important;
    font-weight: bold !important;
    margin-right: 5px !important;
}

/* --- 4. 成果ハイライトのカード化（4列） --- */
.tora-outcome-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-top: 30px !important;
}

.tora-outcome-card {
    background: #ffffff !important;
    border: 1px solid #eef2f6 !important;
    border-radius: 12px !important;
    padding: 15px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    transition: 0.3s !important;
    display: flex !important;
    flex-direction: column !important;
}

.tora-outcome-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 15px 35px rgba(26, 82, 168, 0.1) !important;
}

.tora-card-thumb {
    background: #f8fafc !important;
    height: 160px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #cbd5e1 !important;
    overflow: hidden !important;
    margin-bottom: 15px !important;
}

.tora-card-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.tora-outcome-card h3 {
    font-size: 1rem !important;
    color: #333 !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
}