/* 未来的カラーパレット */
:root {
    /* 変更案: 彩度を少し落として目に優しく */
    --primary-neon: #00e0e0; /* 旧: #00ffff */
    --secondary-neon: #f02080; /* 旧: #ff0080 */
    --accent-neon: #30f010; /* 旧: #39ff14 */
    --warning-neon: #f0f000; /* 旧: #ffff00 */
    --background-dark: #0a0a0f;
    --surface-dark: #1a1a2e;
    --surface-glow: #16213e;
    /* 変更案: メインテキストをオフホワイトに */
    --text-primary: #e0e0ff; /* 旧: #ffffff */
    --text-secondary: #b8b8ff;
    --text-glow: #e0e0ff;
    --grid-color: rgba(0, 224, 224, 0.08); /* 旧: rgba(0, 255, 255, 0.1) */
}

/* 基本リセット・設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-dark);
    color: var(--text-secondary); /* 変更案: デフォルトのテキストカラーをセカンダリに */
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* パーティクル背景キャンバス */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(ellipse at center, #0f0f23 0%, #060606 100%);
    opacity: 0.8; /* 変更案: 少し透明度を下げる */
}

/* 幾何学的背景要素 */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border: 1px solid var(--primary-neon); /* 変更案: ボーダーを細く */
    border-radius: 50%;
    opacity: 0.08; /* 変更案: 透明度をさらに下げる */
    animation: float 30s infinite linear; /* 変更案: アニメーションを遅く */
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 0 0 15px var(--primary-neon); /* 変更案: 影を少し弱く */
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: -7s; /* 変更案: ディレイ調整 */
    border-color: var(--secondary-neon);
    box-shadow: 0 0 15px var(--secondary-neon); /* 変更案: 影を少し弱く */
}

.shape-3 {
    width: 80px;
    height: 80px;
    top: 80%;
    left: 50%;
    animation-delay: -14s; /* 変更案: ディレイ調整 */
    border-color: var(--accent-neon);
    box-shadow: 0 0 15px var(--accent-neon); /* 変更案: 影を少し弱く */
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 40%;
    right: 60%;
    animation-delay: -21s; /* 変更案: ディレイ調整 */
    border-color: var(--warning-neon);
    box-shadow: 0 0 15px var(--warning-neon); /* 変更案: 影を少し弱く */
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-15px) rotate(120deg) scale(1.05); } /* 変更案: 動きを穏やかに */
    66% { transform: translateY(15px) rotate(240deg) scale(0.95); } /* 変更案: 動きを穏やかに */
    100% { transform: translateY(0px) rotate(360deg) scale(1); }
}

/* タイポグラフィ */
h1, h2, h3 {
    font-family: 'Orbitron', monospace;
    color: var(--text-glow);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 8px currentColor; /* 変更案: 影を少し弱く */
}

h1 { font-size: 3.2rem; } /* 変更案: 少しサイズを調整 */
h2 { font-size: 2.5rem; } /* 変更案: 少しサイズを調整 */
h3 { font-size: 1.6rem; } /* 変更案: 少しサイズを調整 */

.cyber-title {
    font-size: 4rem; /* 変更案: 少しサイズを調整 */
    background: linear-gradient(45deg, var(--primary-neon), var(--secondary-neon), var(--accent-neon));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease infinite, cyber-pulse 4s ease-in-out infinite; /* 変更案: アニメーションを遅く */
    text-shadow: none;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px; /* 変更案: 少し短く */
    height: 2px; /* 変更案: 少し細く */
    background: linear-gradient(90deg, transparent, var(--primary-neon), transparent);
    animation: line-glow 3s ease-in-out infinite; /* 変更案: アニメーションを遅く */
}

.hologram-text {
    color: var(--text-secondary);
    text-shadow: 0 0 3px var(--primary-neon); /* 変更案: 影を弱くして可読性向上 */
    animation: hologram-flicker 8s ease-in-out infinite; /* 変更案: アニメーションを遅く */
}

/* グリッチエフェクト */
.glitch {
    position: relative;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 0 0 8px var(--primary-neon); /* 変更案: 影を少し弱く */
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    animation: glitch-1 4s infinite; /* 変更案: アニメーションを遅く */
    color: var(--secondary-neon);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 4s infinite; /* 変更案: アニメーションを遅く */
    color: var(--accent-neon);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        transform: translate(0);
    }
    15%, 49% {
        transform: translate(-1px, 1px); /* 変更案: 動きを小さく */
    }
}

@keyframes glitch-2 {
    0%, 20%, 21%, 62%, 63%, 99%, 100% {
        transform: translate(0);
    }
    21%, 62% {
        transform: translate(1px, -1px); /* 変更案: 動きを小さく */
    }
}

/* ネオンボタン */
.neon-button {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    background: rgba(var(--surface-dark), 0.5); /* 変更案: 背景を少し追加 */
    border: 1px solid var(--primary-neon); /* 変更案: ボーダーを細く */
    color: var(--primary-neon);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 4px; /* 変更案: 少し角を丸める */
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px; /* 変更案: 少し詰める */
    font-family: 'Orbitron', monospace;
    backdrop-filter: blur(2px); /* 変更案: ガラス効果を追加 */
}

.neon-button.large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 224, 224, 0.15), transparent); /* 変更案: 色と透明度を調整 */
    transition: left 0.5s;
}

.neon-button:hover::before {
    left: 100%;
}

.neon-button:hover {
    background: rgba(0, 224, 224, 0.1); /* 変更案: ホバー時の背景色 */
    color: var(--text-primary);
    box-shadow: 0 0 15px var(--primary-neon);
    transform: translateY(-3px); /* 変更案: 少し動きを抑えつつ、元の transform を復元 */
}

.btn-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--primary-neon);
    opacity: 0;
    z-index: -1;
    filter: blur(15px);
    transition: opacity 0.3s ease;
}

.neon-button:hover .btn-glow {
    opacity: 0.3; /* 変更案: グローを弱く */
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    background: rgba(10, 10, 15, 0.8); /* 変更案: 背景を少し透明に */
    backdrop-filter: blur(10px); /* 変更案: すりガラス効果を追加 */
    border-bottom: 1px solid var(--primary-neon);
    padding: 1rem 2rem;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
}

header nav ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* 他の要素より手前に */
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-neon);
    transition: all 0.3s ease-in-out;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Orbitron', monospace;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-neon);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

.nav-link:hover::after {
    width: 100%;
}

/* メインコンテンツ */
main > section {
    padding: 8rem 2rem;
    text-align: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* ヒーローセクション */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: 
        radial-gradient(ellipse at top, rgba(0, 255, 255, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse at bottom, rgba(255, 0, 128, 0.1) 0%, transparent 70%);
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-shapes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: 1;
}

.rotating-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.ring-1 {
    width: 300px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--primary-neon);
    opacity: 0.3;
    animation-duration: 15s;
}

.ring-2 {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: var(--secondary-neon);
    opacity: 0.2;
    animation-duration: 25s;
    animation-direction: reverse;
}

.data-stream {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent-neon), transparent);
    animation: data-flow 3s ease-in-out infinite;
}

.stream-1 {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.stream-2 {
    top: 80%;
    right: 20%;
    animation-delay: 1.5s;
}

/* サイバーカード */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 4rem;
}

.cyber-card {
    position: relative;
    background: var(--surface-dark);
    border: 1px solid var(--primary-neon);
    padding: 2.5rem;
    flex-basis: 350px;
    flex-grow: 1;
    transition: all 0.5s ease;
    overflow: hidden;
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cyber-card:hover::before {
    transform: translateX(100%);
}

.cyber-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 255, 255, 0.3),
        0 0 20px var(--primary-neon);
    border-color: var(--accent-neon);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cyber-card:hover .card-glow {
    opacity: 1;
}

.card-scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-neon);
    transform: translateX(-100%);
    animation: scan-line 3s ease-in-out infinite;
}

.cyber-card i {
    font-size: 3.5rem;
    color: var(--primary-neon);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px currentColor);
}

/* サイバーパネル */
.cyber-panel {
    position: relative;
    background: var(--surface-dark);
    border: 1px solid var(--primary-neon);
    padding: 3rem;
    max-width: 800px;
    margin: 2rem auto;
    text-align: left;
    overflow: hidden;
}

.panel-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-neon);
    opacity: 0.3;
    animation: border-pulse 2s ease-in-out infinite;
}

.rule-item {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    opacity: 0;
    animation: rule-appear 0.6s ease forwards;
}

.rule-item:nth-child(1) { animation-delay: 0.2s; }
.rule-item:nth-child(2) { animation-delay: 0.4s; }
.rule-item:nth-child(3) { animation-delay: 0.6s; }
.rule-item:nth-child(4) { animation-delay: 0.8s; }

.rule-item i {
    color: var(--accent-neon);
    margin-right: 1rem;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px currentColor);
}

.rules-note {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* フッター */
footer {
    position: relative;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--surface-dark);
    border-top: 1px solid var(--primary-neon);
    overflow: hidden;
}

.footer-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: grid-move 10s linear infinite;
}

/* パルスエフェクト */
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* アニメーション定義 */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes cyber-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes line-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes hologram-flicker {
    0%, 100% { opacity: 1; }
    98%, 100% { opacity: 0.8; }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes data-flow {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(200px); opacity: 0; }
}

@keyframes scan-line {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes border-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes rule-appear {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse-glow {
    0%, 100% { 
        text-shadow: 0 0 20px var(--primary-neon);
        color: var(--primary-neon);
    }
    50% { 
        text-shadow: 0 0 30px var(--secondary-neon);
        color: var(--secondary-neon);
    }
}

@keyframes grid-move {
    from { transform: translate(0, 0); }
    to { transform: translate(50px, 50px); }
}

/* スクロールアニメーション */
.hidden {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .cyber-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    
    header nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(25px);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        justify-content: center;
        align-items: center;
        gap: 3rem;
        padding: 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links .nav-link {
        font-size: 2rem;
    }
    
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-shapes {
        width: 400px;
        height: 400px;
    }
    
    .ring-1 { width: 200px; height: 200px; }
    .ring-2 { width: 300px; height: 300px; }
    
    .features {
        flex-direction: column;
    }
    
    .cyber-card {
        flex-basis: auto;
    }
    
    .character-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .character-card {
        padding: 1.5rem;
    }
    
    .activities-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .activity-item {
        padding: 1.5rem;
    }
    
    .club-title {
        font-size: 2rem;
    }
    
    .club-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .logo-container {
        gap: 0.5rem;
    }
    
    .server-logo {
        width: 30px;
        height: 30px;
    }
    
    .logo-container::before {
        width: 30px;
        height: 30px;
        font-size: 18px;
        margin-right: 0.5rem;
    }
    
    main > section {
        padding: 4rem 1rem;
    }
}

@media (max-width: 480px) {
    .cyber-title { font-size: 2.5rem; }
    .neon-button { padding: 0.8rem 1.5rem; font-size: 1rem; }
    .neon-button.large { padding: 1rem 2rem; font-size: 1.1rem; }
    
    .character-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .character-card {
        padding: 1rem;
    }
    
    .activities-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .activity-item {
        padding: 1rem;
    }
    
    .club-title {
        font-size: 1.8rem;
    }
    
    .club-description {
        font-size: 0.9rem;
    }
    
    .character-info h4 {
        font-size: 1.5rem;
    }
    
    .character-details p {
        font-size: 0.9rem;
    }
    
    .activity-item h3 {
        font-size: 1.3rem;
    }
    
    .activity-item p {
        font-size: 0.9rem;
    }
    
    /* 詳細ページのモバイル対応 */
    .character-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .character-image-large {
        width: 100px;
        height: 100px;
    }
    
    .character-detailed-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .club-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .activity-details-grid,
    .activities-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tool-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .tool-image {
        width: 80px;
        height: 80px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-schedule-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .lecture-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .participation-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .subsection-title {
        font-size: 1.5rem;
    }
    
    .character-detail-card {
        padding: 1.5rem;
    }
    
    .character-detail-grid {
        padding: 0 1rem;
    }
}

/* ロゴコンテナ */
.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.server-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 15px var(--primary-neon);
    transition: all 0.3s ease;
    animation: logo-glow 2s ease-in-out infinite;
    object-fit: cover;
}

/* サーバーロゴが読み込まれない場合の代替表示 */
.server-logo:broken,
.server-logo[src=""],
.server-logo:not([src]) {
    display: none;
}

/* ロゴが存在しない場合のフォールバック */
.logo-container::before {
    content: "🎵";
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 15px var(--primary-neon);
    animation: logo-glow 2s ease-in-out infinite;
    margin-right: 1rem;
}

.logo-container:has(.server-logo)::before {
    display: none;
}

.server-logo:hover {
    box-shadow: 0 0 25px var(--primary-neon);
    transform: scale(1.1);
}

@keyframes logo-glow {
    0%, 100% { box-shadow: 0 0 15px var(--primary-neon); }
    50% { box-shadow: 0 0 25px var(--primary-neon), 0 0 35px var(--primary-neon); }
}

/* 部活動セクション */
.clubs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.club-category {
    margin-bottom: 4rem;
}

.club-title {
    font-size: 2.5rem;
    color: var(--accent-neon);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px var(--accent-neon);
}

.club-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.character-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--surface-glow);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.character-card:hover {
    border-color: var(--primary-neon);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.3);
}

.character-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-neon);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.character-image-container:hover {
    border-color: var(--accent-neon);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    transform: scale(1.05);
}

.character-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.character-image:hover {
    transform: scale(1.1);
}

.character-info h4 {
    font-size: 1.8rem;
    color: var(--primary-neon);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--primary-neon);
}

.character-details p {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.character-details strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 活動内容セクション */
.activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.activity-item {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--surface-glow);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.activity-item:hover {
    border-color: var(--secondary-neon);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 0, 128, 0.3);
}

.activity-item h3 {
    color: var(--secondary-neon);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.activity-item h3 i {
    font-size: 1.5rem;
    color: var(--secondary-neon);
}

.activity-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* アクションボタンのスタイリング */
.club-actions,
.activity-actions {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.club-actions .neon-button,
.activity-actions .neon-button {
    background: linear-gradient(45deg, var(--primary-neon), var(--accent-neon));
    color: var(--background-dark);
    font-weight: 600;
    border: none;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

/* 詳細ページ用スタイル */
.subsection-title {
    font-size: 2rem;
    color: var(--secondary-neon);
    text-align: center;
    margin: 3rem 0 2rem;
    text-shadow: 0 0 15px var(--secondary-neon);
}

/* キャラクター詳細カード */
.character-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.character-detail-card {
    background: rgba(26, 26, 46, 0.9);
    border: 2px solid var(--surface-glow);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.character-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.character-image-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-neon);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
    flex-shrink: 0;
}

.character-basic-info h4 {
    font-size: 2.2rem;
    color: var(--primary-neon);
    margin-bottom: 0.5rem;
}

.character-subtitle {
    color: var(--accent-neon);
    font-size: 1.2rem;
    font-weight: 600;
}

.character-detailed-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-section h5 {
    color: var(--secondary-neon);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-neon);
    padding-bottom: 0.5rem;
}

.info-section ul {
    list-style: none;
}

.info-section li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.info-section li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: var(--accent-neon);
    font-size: 0.8rem;
}

/* 部活動統計 */
.club-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid var(--primary-neon);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-neon);
}

.stat-item strong {
    display: block;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.stat-item span {
    color: var(--accent-neon);
    font-size: 1.5rem;
    font-weight: 700;
}

/* 活動詳細グリッド */
.activity-details-grid,
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.detail-card,
.activity-detail-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--surface-glow);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.detail-card:hover,
.activity-detail-card:hover {
    border-color: var(--secondary-neon);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 0, 128, 0.3);
}

.detail-card i,
.activity-detail-card i {
    font-size: 2.5rem;
    color: var(--secondary-neon);
    margin-bottom: 1rem;
    display: block;
}

.detail-card h4,
.activity-detail-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.activity-stats,
.activity-schedule {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-glow);
    color: var(--accent-neon);
}

/* ツール開発セクション */
.featured-tool {
    margin-bottom: 3rem;
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.tool-image {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 2px solid var(--primary-neon);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.tool-info h3 {
    color: var(--primary-neon);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tool-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.status-badge {
    background: var(--accent-neon);
    color: var(--background-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--surface-glow);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tool-progress {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-neon), var(--accent-neon));
    transition: width 0.3s ease;
}

/* イベントスケジュール */
.event-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.event-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--surface-glow);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.event-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-header i {
    font-size: 2rem;
    color: var(--warning-neon);
}

.event-header h3 {
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.event-frequency {
    background: var(--secondary-neon);
    color: var(--background-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.event-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-glow);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 講座カテゴリ */
.lecture-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    background: rgba(26, 26, 46, 0.8);
    border: 2px solid var(--surface-glow);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.lecture-details h4 {
    color: var(--secondary-neon);
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.lecture-schedule {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--surface-glow);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 参加ステップ */
.participation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-neon);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.join-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
