/* ビジネスAI診断 - 公開側スタイル */

#business-ai-diagnosis-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    color: white;
}

.diagnosis-screen {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.diagnosis-screen.active {
    display: block;
}

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

/* 開始画面 */
.diagnosis-header {
    text-align: center;
    margin-bottom: 40px;
}

.diagnosis-main-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.diagnosis-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.diagnosis-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.business-types-preview {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.business-types-preview h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.business-types-preview p {
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.9;
}

.business-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.business-icon-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.business-icon-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.business-icon-item i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
    color: #ffd700;
}

.business-icon-item span {
    font-size: 0.9rem;
    font-weight: bold;
}

/* ボタンスタイル */
.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 質問画面 */
.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700, #feca57);
    border-radius: 3px;
    width: 10%;
    transition: width 0.5s ease;
}

.question-counter {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

#question-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    min-height: 200px;
}

.question {
    text-align: center;
    margin-bottom: 30px;
}

.question h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.question-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-option {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.question-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.question-option.selected {
    background: rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
    color: #ffd700;
    font-weight: bold;
}

.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 結果画面 */
.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-trophy {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

#result-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.result-type {
    text-align: center;
    margin-bottom: 30px;
}

.result-type-name {
    background: linear-gradient(135deg, #ff6b6b, #feca57);
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.result-features {
    margin-top: 20px;
}

.result-features h4 {
    margin-bottom: 15px;
    color: #ffd700;
}

.result-features ul {
    list-style: none;
    padding: 0;
}

.result-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-features li:before {
    content: "💡";
    margin-right: 10px;
}

/* 登録促進部分 */
.partial-result-notice {
    margin: 30px 0;
}

.notice-box {
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notice-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.notice-box h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.notice-box p {
    opacity: 0.9;
    line-height: 1.6;
}

.registration-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-email {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
}

.btn-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(52, 152, 219, 0.4);
}

.btn-line {
    background: linear-gradient(135deg, #00b894, #00a085);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 15px rgba(0, 184, 148, 0.3);
}

.btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 184, 148, 0.4);
}

/* 登録フォーム */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffd700;
}

#lead-registration-form {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffd700;
}

.required {
    color: #ff6b6b;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.form-group input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.2);
}

/* 完了画面 */
.complete-header {
    text-align: center;
    margin-bottom: 30px;
}

.complete-header i {
    font-size: 4rem;
    color: #00b894;
    margin-bottom: 20px;
    animation: checkmark 1s ease-in;
}

@keyframes checkmark {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.complete-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    #business-ai-diagnosis-container {
        padding: 15px;
        margin: 10px;
    }

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

    .business-icon-item {
        padding: 15px;
    }

    .business-icon-item i {
        font-size: 2rem;
    }

    .registration-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-email, .btn-line {
        width: 100%;
        max-width: 300px;
    }

    .diagnosis-header h1 {
        font-size: 2rem;
    }

    .question-navigation {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .business-icons-grid {
        grid-template-columns: 1fr;
    }

    .diagnosis-main-icon {
        font-size: 3rem;
    }

    .result-trophy {
        font-size: 3rem;
    }
}