@charset "UTF-8";
/**
 * ToRA-SEED Page Common Style - Hero下段揃え統合版
 */

/* --- 1. Heroエリア (v8/v7) の完全復元 --- */
.v8-hero-unit, .v7-hero-section {
    position: relative !important;
    height: 400px !important;
    display: flex !important;
    flex-direction: column !important; /* 縦並び */
    align-items: center !important;
    justify-content: flex-end !important; /* 下端に寄せる */
    background-size: cover !important;
    background-position: center !important;
}

.v8-hero-box, .v7-hero-white-box {
    background: rgba(255, 255, 255, 0.96) !important;
    padding: 40px 60px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    text-align: center !important;
    min-width: 500px !important;
    margin-bottom: 0 !important; /* 下端に密着 */
    border-radius: 4px 4px 0 0 !important; /* 下の角を直角に */
}

.v8-hero-title, .v7-hero-title {
    font-size: 2.4rem !important;
    color: var(--tora-blue-main) !important;
    margin: 0 !important;
    font-weight: bold !important;
}

/* --- 2. Bodyスタイル (h1, h2) の崩れ修復 --- */
.v8-main-body, .v7-content-body { padding: 60px 0 100px !important; }
.v8-main-body h2, .v7-hub-intro h2, .entry-content h2 {
    font-size: 1.7rem !important;
    color: var(--tora-blue-main) !important;
    border-left: 8px solid var(--tora-blue-main) !important;
    padding: 10px 0 10px 20px !important;
    margin: 50px 0 25px !important;
    background: #f9fbff !important;
}

/* --- 3. 下段「カード」の完全復元 (3枚/4枚構成) --- */
.v8-footer-hub, .v7-category-grid {
    margin-top: 80px !important;
    padding-top: 60px !important;
    border-top: 2px solid #eee !important;
}

/* 3枚構成 (育成ハブ等) */
.v8-grid-3col, .v7-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
}

/* 4枚構成 (環境整備等) */
.v8-grid-4col {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* 絶賛いただいた「浮き上がるカード」デザイン */
.v8-hub-card, .v7-cat-card {
    background: #fff !important;
    padding: 40px 30px !important;
    border-radius: 12px !important;
    border: 1px solid #e2e8f0 !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    color: inherit !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.v8-hub-card:hover, .v7-cat-card:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 25px 50px rgba(26, 82, 168, 0.15) !important;
    border-color: var(--tora-blue-main) !important;
}

.v8-card-tag, .v7-cat-label {
    font-size: 0.75rem !important;
    color: var(--tora-blue-main) !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
}

.v8-hub-card h3, .v7-cat-card h3 {
    font-size: 1.4rem !important;
    color: #333 !important;
    margin: 0 0 15px 0 !important;
    border: none !important; 
    padding: 0 !important;
    background: transparent !important;
}

.v8-hub-card p, .v7-cat-card p {
    font-size: 0.95rem !important;
    color: #666 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* --- 4. パンくずリスト --- */
.v8-breadcrumbs, .v7-breadcrumbs {
    background: #f5f8fb !important;
    padding: 15px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* --- アーカイブ 2カラムレイアウト --- */
.tora-two-column-layout {
    display: flex !important;
    gap: 50px !important;
    align-items: flex-start !important;
}

.tora-sidebar {
    width: 280px !important;
    min-width: 280px !important;
    position: sticky !important;
    top: 100px !important;
}

.tora-main-content {
    flex: 1 !important;
}

/* サイドバーメニューのデザイン */
.tora-sidebar-title {
    font-size: 1.2rem !important;
    border-bottom: 2px solid var(--tora-blue-main) !important;
    padding-bottom: 10px !important;
    margin-bottom: 20px !important;
    color: var(--tora-blue-main) !important;
}

.tora-sidebar-nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.tora-sidebar-nav li {
    margin-bottom: 5px !important;
}

.tora-sidebar-nav a {
    display: block !important;
    padding: 12px 15px !important;
    background: #fff !important;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: 0.2s !important;
}

.tora-sidebar-nav a:hover,
.tora-sidebar-nav li.is-active a {
    background: var(--tora-blue-main) !important;
    color: #fff !important;
}

/* レスポンシブ対応（スマホでは縦に並べる） */
@media screen and (max-width: 900px) {
    .tora-two-column-layout {
        flex-direction: column !important;
    }
    .tora-sidebar {
        width: 100% !important;
        position: static !important;
    }
}
/* --- 5. ニュース一覧（アーカイブ）専用スタイル --- */
.tora-news-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.tora-news-item {
    display: flex !important;
    align-items: center !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid #eee !important;
    text-decoration: none !important;
    transition: 0.2s !important;
}

.tora-news-item:hover {
    background: #fcfdfe !important;
}

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

.tora-meta {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 8px !important;
}

.tora-date {
    font-size: 0.9rem !important;
    color: #888 !important;
    font-family: 'Helvetica', sans-serif !important;
}

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

.cat-topics { background: #666 !important; } /* カテゴリ（ニュース等） */

.tora-news-title {
    font-size: 1.15rem !important;
    margin: 0 !important;
    color: #333 !important;
    line-height: 1.5 !important;
}

.tora-news-title a {
    text-decoration: none !important;
    color: inherit !important;
}