/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ヘッダー */
header {
    text-align: center;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.6s ease;
}

header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
    color: #4a5568;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    font-size: 1.3em;
    color: #718096;
}

/* コンテンツグリッド */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* コンテンツカード */
.content-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.content-card:hover::before {
    transform: scaleX(1);
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.content-card.coming-soon {
    opacity: 0.85;
}

.content-card.placeholder {
    background: rgba(255, 255, 255, 0.6);
    border: 2px dashed #cbd5e0;
}

/* カードアイコン */
.card-icon {
    font-size: 4em;
    margin-bottom: 20px;
    text-align: center;
}

.content-card h2 {
    font-size: 1.8em;
    color: #2d3748;
    margin-bottom: 15px;
    text-align: center;
}

.content-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1.05em;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: center;
}

/* 機能タグ */
.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.feature-tag {
    background: rgba(102, 126, 234, 0.15);
    color: #5a67d8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.feature-tag.disabled {
    background: rgba(203, 213, 224, 0.3);
    color: #a0aec0;
    border-color: rgba(203, 213, 224, 0.5);
}

/* ボタンスタイル */
.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.btn-disabled {
    background: #e2e8f0;
    color: #a0aec0;
    cursor: not-allowed;
}

/* フッター */
footer {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: white;
    margin-top: auto;
}

footer p {
    font-size: 0.95em;
    opacity: 0.9;
}

/* アニメーション */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }

    header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }

    header h1 {
        font-size: 2.2em;
    }

    header p {
        font-size: 1.1em;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-card {
        padding: 25px;
    }

    .card-icon {
        font-size: 3.5em;
    }

    .content-card h2 {
        font-size: 1.6em;
    }

    .content-card p {
        font-size: 1em;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }

    header p {
        font-size: 1em;
    }

    .card-icon {
        font-size: 3em;
    }

    .content-card h2 {
        font-size: 1.4em;
    }

    .feature-tag {
        font-size: 0.85em;
        padding: 5px 12px;
    }
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
