/* フィーバー種一覧ページ専用スタイル */

.tane-page {
    padding-top: 80px;
    padding-bottom: 100px;
    background-color: #fbfbfd; 
}

.text-center {
    text-align: center;
}

/* ヒーローセクション */
.basic-hero {
    min-height: 25vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    background: #fff;
    padding: 40px 0;
}

.basic-title {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #000, #444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 白パネル共通設定（テンプレート＆早見表） */
.reference-panel {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.links-section {
    margin-bottom: 50px;
}

/* セクション見出し（画像1枚目風デザイン） */
.section-heading {
    font-size: 1.3rem;
    font-weight: 900;
    margin-bottom: 25px;
    border-left: 5px solid #111;
    padding-left: 12px;
    color: #111;
}

/* テンプレートリンクのグリッド（PCで3列） */
.template-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.ref-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa; 
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid #eee;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ref-card:hover {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ref-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ref-sub {
    font-size: 0.75rem;
    color: #777;
    font-weight: bold;
}

.ref-main {
    font-size: 1.05rem;
    font-weight: bold;
    color: #111;
}

.arrow {
    font-weight: bold;
    font-family: monospace;
}


/* 種類バッジ (左上) */
.tane-badge-type {
    position: absolute;
    top: 6px; 
    left: 6px;
    background-color: #000;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Tierバッジ (右上) */
.tane-badge-tier {
    position: absolute;
    top: 6px; 
    right: 6px;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.tier-s { background-color: var(--s-rank-color); }
.tier-a { background-color: var(--a-rank-color); }
.tier-b { background-color: var(--b-rank-color); }
.tier-c { background-color: var(--c-rank-color); }
.tier-d { background-color: var(--d-rank-color); }

/* 画像カード */
.tane-card {
    display: block;
    width: 100%;
    text-decoration: none;
}

.tane-img-wrapper {
    position: relative;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 10px 0; 
    display: flex; 
    justify-content: center;
    align-items: center;
}

.tane-img-wrapper img {
    width: 75%; 
    height: auto; 
    display: block;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.tane-img-wrapper:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.tane-img-wrapper:hover img {
    transform: scale(1.05); 
}

/* ===========================
   PCビュー（テーブル形式）
   =========================== */
.tane-pc-view {
    display: block;
    width: 100%;
    overflow-x: auto;
}

.tane-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 800px;
    text-align: center;
}

.tane-table td {
    padding: 10px; 
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

.tane-table td.sticky-col {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 10;
    box-shadow: 2px 0 5px rgba(0,0,0,0.02);
    white-space: nowrap; 
}

.font-bold {
    font-weight: bold;
    font-size: 1.1rem;
}


/* ===========================
   スマホビュー（セクション形式）
   =========================== */
.tane-sp-view {
    display: none;
}

.tane-sp-section {
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 2px dashed #eee;
}

.tane-sp-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sp-section-title {
    font-size: 1.3rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.sp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
}

.sp-grid-item {
    text-align: center;
}

.sp-chain-label {
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #555;
}

/* ===========================
   レスポンシブ切り替え
   =========================== */
@media (max-width: 768px) {
    .basic-title { font-size: 2.5rem; }
    
    .template-grid {
        grid-template-columns: 1fr; /* スマホでは1列に */
    }

    .tane-pc-view { display: none; }
    .tane-sp-view { display: block; }
}