/* ============================================
   Joint Event Page Styles
   ============================================ */
.joint-container {
    max-width: 700px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #764ba2;
    transform: translateX(-4px);
}

.back-link::before {
    content: "←";
    margin-right: 8px;
    font-size: 18px;
}

.joint-header {
    text-align: center;
    margin-bottom: 32px;
}

.joint-hero-img {
    display: block;
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    border-radius: 16px;
}

.joint-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.joint-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Flow / Timeline */
.flow-section {
    margin-bottom: 24px;
}

.flow-list {
    list-style: none;
    counter-reset: flow;
    padding: 0;
    margin: 0;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.flow-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #e0e0e0;
}

.flow-step-highlight {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.flow-step-highlight:hover {
    border-color: #2e7d32;
}

.flow-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}

.flow-step-highlight .flow-num {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.flow-content {
    flex: 1;
    min-width: 0;
}

.flow-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.flow-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.flow-desc strong {
    color: #1565c0;
}

/* トランプ方式 */
.trump-section {
    margin-bottom: 28px;
}

.trump-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
    text-align: left;
}

.trump-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trump-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-radius: 12px;
    border: 2px solid #ffc107;
}

.trump-step p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

.trump-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    line-height: 1;
}

.trump-notice {
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 12px;
}

.trump-notice-title {
    font-size: 14px;
    font-weight: 600;
    color: #e65100;
    margin: 0 0 10px 0;
}

.trump-notice-list {
    margin: 0;
    padding-left: 1.2em;
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

.trump-notice-list li {
    margin-bottom: 4px;
}

.trump-notice-list li:last-child {
    margin-bottom: 0;
}

/* Info box (reuse practice page pattern) */
.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    border-radius: 16px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.info-box-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-box-title {
    font-size: 18px;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 8px;
}

.info-box-text {
    font-size: 14px;
    color: #1565c0;
    line-height: 1.6;
    margin: 0;
}

.joint-note {
    margin-top: 28px;
}

.practice-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.practice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.back-to-home {
    margin-top: 30px;
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.back-to-home a {
    display: inline-block;
    margin: 0 8px;
}

/* Responsive */
@media (max-width: 640px) {
    .joint-container {
        padding: 30px 20px;
    }

    .joint-header h1 {
        font-size: 24px;
    }

    .flow-step {
        padding: 16px;
        gap: 12px;
    }

    .flow-num {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .flow-title {
        font-size: 16px;
    }

    .flow-desc {
        font-size: 13px;
    }

    .trump-step {
        padding: 12px 14px;
        gap: 10px;
    }

    .trump-step p {
        font-size: 14px;
    }

    .trump-num {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
