/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #EFF7FF 0%, #F8FDFF 100%);
    min-height: 100vh;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヒーローセクション */
.hero-section {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, #EFF7FF 0%, #FFFFFF 50%, #FFE5F0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
}

.hero-icon {
    font-size: 3rem;
    color: #4A90E2;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 15px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4A90E2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.start-btn {
    background: linear-gradient(45deg, #4A90E2, #5BA0F2);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 144, 226, 0.4);
}

.start-btn:active {
    transform: translateY(-1px);
}

/* 診断セクション */
.quiz-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #F8FDFF 0%, #EFF7FF 100%);
    min-height: 100vh;
}

.quiz-content {
    max-width: 100%;
}

.progress-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #E1E8ED;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4A90E2, #5BA0F2);
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 16.67%;
}

.progress-text {
    font-weight: 600;
    color: #4A90E2;
    font-size: 1rem;
}

.question-container {
    margin-top: 30px;
}

.question-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
    animation: fadeInUp 0.6s ease;
}

.question-icon {
    font-size: 2.5rem;
    color: #4A90E2;
    margin-bottom: 20px;
}

.question-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 30px;
    line-height: 1.5;
}

.answers-grid {
    display: grid;
    gap: 15px;
}

.answer-btn {
    background: #F8FDFF;
    border: 2px solid #E1E8ED;
    border-radius: 20px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #2C3E50;
    display: flex;
    align-items: center;
    gap: 15px;
}

.answer-btn:hover {
    border-color: #4A90E2;
    background: #EFF7FF;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

.answer-btn.selected {
    border-color: #4A90E2;
    background: linear-gradient(135deg, #4A90E2, #5BA0F2);
    color: white;
    transform: scale(1.02);
}

.answer-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

/* 結果セクション */
.result-section {
    padding: 40px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.result-content {
    width: 100%;
}

.result-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: zoomIn 0.8s ease;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    animation: pulse 2s infinite;
}

.result-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}

.result-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.result-recommendations {
    background: #F8FDFF;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
}

.result-recommendations h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-recommendations ul {
    list-style: none;
    text-align: left;
}

.result-recommendations li {
    padding: 8px 0;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.result-recommendations li:before {
    content: "✨";
    font-size: 0.9rem;
}

/* CTAセクション */
.cta-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #FFE5F0 0%, #F0F8FF 100%);
}

.cta-content {
    text-align: center;
}

.cta-icon {
    font-size: 3rem;
    color: #FFB6C1;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.cta-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 20px;
    line-height: 1.4;
}

.cta-description {
    font-size: 1rem;
    color: #666;
    margin-bottom: 35px;
    line-height: 1.6;
}

.cta-btn {
    background: linear-gradient(45deg, #FFB6C1, #FFD1DC);
    color: #2C3E50;
    text-decoration: none;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 182, 193, 0.3);
    margin-bottom: 20px;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 182, 193, 0.4);
}

.restart-btn {
    background: transparent;
    color: #4A90E2;
    border: 2px solid #4A90E2;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.restart-btn:hover {
    background: #4A90E2;
    color: white;
    transform: translateY(-2px);
}

/* 結果タイプ別のカラーリング */
.result-card.sns-type {
    background: linear-gradient(135deg, #FFE5F0 0%, #FFFFFF 100%);
}

.result-card.sns-type .result-icon {
    color: #FFB6C1;
}

.result-card.blog-type {
    background: linear-gradient(135deg, #E8F5E8 0%, #FFFFFF 100%);
}

.result-card.blog-type .result-icon {
    color: #90EE90;
}

.result-card.video-type {
    background: linear-gradient(135deg, #E5F0FF 0%, #FFFFFF 100%);
}

.result-card.video-type .result-icon {
    color: #87CEEB;
}

.result-card.system-type {
    background: linear-gradient(135deg, #FFF8DC 0%, #FFFFFF 100%);
}

.result-card.system-type .result-icon {
    color: #DAA520;
}

.result-card.analyst-type {
    background: linear-gradient(135deg, #F0E5FF 0%, #FFFFFF 100%);
}

.result-card.analyst-type .result-icon {
    color: #DDA0DD;
}

/* フッター */
.footer {
    background: #2C3E50;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* アニメーション */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}

@keyframes floatUpDown {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-icon {
    animation: floatUpDown 3s ease-in-out infinite;
}

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .question-title {
        font-size: 1.5rem;
    }
    
    .result-title {
        font-size: 1.8rem;
    }
    
    .answers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 800px;
    }
}

/* ローディング・トランジション効果 */
.fade-in {
    animation: fadeInUp 0.6s ease;
}

.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}