:root {
    --accent-color: #2899B2;
    --accent-color-rgb: 40, 153, 178;
}

/* ページヘッダー - clubs ページと統一 */
/* .page_header {
    width: 100%;
    max-width: 1024px;
    margin: 100px auto 20px;
    padding: 0 1rem;
} */

.btn_back {
    display: inline-block;
    margin-bottom: 20px;
    padding: 6px 20px;
    border-radius: 999px;
    background-color: rgba(var(--accent-color-rgb), 0.2);
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
}

/* コンテナ - clubs ページと統一 */
.container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 特集記事単体 */
.feature-single {
    margin: 0 0 4rem;
}

/* ヒーローセクション - オーバーレイ付き */
.feature-hero-section {
    position: relative;
    width: 100%;
    margin: 70px 0 2rem;
}

.feature-hero-wrapper {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.feature-hero-image {
    position: relative;
    width: 100%;
    height: 500px;
}

.feature-hero-image.no-image {
    background-color: #f3f4f6;
}

.feature-hero-image img,
.feature-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* オーバーレイ */
.feature-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
    padding: 3rem 0 2rem;
    color: white;
}

.feature-hero-content {
    position: relative;
}

/* ヘッダー内の日付 */
.feature-hero-overlay .feature-date {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ヘッダー内のタイトル */
.feature-hero-overlay .feature-title {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.3;
    margin: 0.5rem 0 1.5rem;
    color: white;
}

/* バッジスタイル - オーバーレイ内 */
.feature-hero-overlay .feature-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.feature-hero-overlay .school-badge,
.feature-hero-overlay .club-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: bold;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    line-height: 1.5;
}

.feature-hero-overlay .club-link-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feature-hero-overlay .club-link-badge:hover {
    background-color: rgba(var(--accent-color-rgb), 0.9);
    box-shadow: 0 0 12px rgba(var(--accent-color-rgb), 0.4);
}

/* リード文 */
.feature-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-left: 4px solid var(--accent-color);
    border-radius: 0.5rem;
    margin: 2rem 0;
}

/* 本文コンテンツ */
.feature-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #374151;
    margin: 2rem 0;
}

.feature-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 1.5rem 0 0.75rem;
    color: #1f2937;
}

.feature-content p {
    margin: 1rem 0;
}

.feature-content ul,
.feature-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.feature-content li {
    margin: 0.5rem 0;
}

.feature-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
}

.feature-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background-color: #f3f4f6;
    border-left: 4px solid var(--accent-color);
    font-style: italic;
}

/* 部活ページリンク */
.club_page_link {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    border: 2px solid var(--accent-color);
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--accent-color);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.club_page_link .header {
    padding: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: var(--accent-color);
    font-weight: 600;
}

.club_page_link .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    padding: 0.5rem 1.5rem 1rem;
}

.club_page_link .info {
    flex: 1;
    text-align: center;
}

.club_page_link .pseudo_button {
    display: inline-block;
    margin-top: 1em;
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.club_page_link .pseudo_button:hover {
    background-color: rgba(var(--accent-color-rgb), 0.9);
    box-shadow: 0 0 12px rgba(var(--accent-color-rgb), 0.4);
}

.club_page_link .school_name {
    margin: 0;
}

/* フッター情報 */
.feature-footer-info {
    margin: 3rem 0 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.feature-author {
    color: #6b7280;
    font-size: 0.9rem;
}

.back-button-section {
    display: flex;
    justify-content: center;
}

/* 関連記事セクション */
.related-features-section {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.related-features-section h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

/* featured-articles.css のスタイルを適用 */
.related-features-section .featured-articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.related-features-section .featured-article-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.3s;
    max-width: 100%;
}

.related-features-section .featured-thumbnail-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.related-features-section .featured-thumbnail {
    width: 100%;
    height: 100%;
    position: relative;
}

.related-features-section .featured-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-features-section .featured-article-card:hover .featured-thumbnail img {
    transform: scale(1.05);
}

.related-features-section .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    padding: 1.5rem;
    color: white;
    min-height: 60%;
    display: flex;
    align-items: flex-end;
}

.related-features-section .featured-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-features-section .featured-title {
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.4;
    margin: 0;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-features-section .featured-excerpt {
    font-size: 0.813rem;
    line-height: 1.5;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.related-features-section .featured-school-info {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-features-section .school-badge,
.related-features-section .club-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.688rem;
    font-weight: 600;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
}

/* タブレット対応 */
@media (min-width: 768px) {
    .feature-hero-overlay .feature-title {
        font-size: 3rem;
    }

    .club_page_link {
        flex-direction: row;
    }

    .club_page_link .header {
        padding: 1rem;
    }

    .club_page_link .main {
        flex-direction: row;
    }

    .club_page_link .info {
        text-align: left;
    }

    .club_page_link .pseudo_button {
        margin-top: 0;
    }
    
    .related-features-section .featured-articles-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* デスクトップ対応 */
@media (min-width: 1024px) {
    .feature-hero-overlay .feature-title {
        font-size: 3.5rem;
    }
    
    .feature-hero-image {
        height: 600px;
    }
    
    .feature-content {
        font-size: 1.125rem;
    }
    
    .related-features-section .featured-articles-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* モバイル対応 */
@media (max-width: 767px) {
    .page_header {
        margin-top: 80px;
    }
    
    .feature-hero-overlay .feature-title {
        font-size: 1.75rem;
    }
    
    .feature-hero-image {
        height: 400px;
    }
    
    .feature-hero-overlay {
        padding: 2rem 0 1.5rem;
    }

    .related-features-section .featured-articles-list {
        grid-template-columns: 1fr;
    }
}