@charset "UTF-8";
/* 適性診断ページ 専用スタイル（job.html から分離） */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'M PLUS Rounded 1c', sans-serif; 
    background: linear-gradient(135deg, #42afa5 0%, #51a5d9 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

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

.quiz-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.quiz-logo {
    max-width: 200px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.quiz-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.quiz-header p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.quiz-card {
    background: white;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #42afa5, #51a5d9);
    transition: width 0.6s ease;
    border-radius: 12px;
}

.question-section {
    display: none;
}

.question-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.question-number {
    font-size: 1.2rem;
    color: #42afa5;
    font-weight: 700;
    margin-bottom: 15px;
}

.question-text {
    font-size: 2rem;
    font-weight: 900;
    color: #333;
    margin-bottom: 40px;
    line-height: 1.4;
}

.question-text i {
    margin-right: 10px;
    color: #42afa5;
}

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

.option-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border: 3px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.option-card:hover {
    border-color: #42afa5;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(66, 175, 165, 0.2);
}

.option-card.selected {
    background: linear-gradient(135deg, #42afa5 0%, #51a5d9 100%);
    color: white;
    border-color: #42afa5;
    transform: scale(1.02);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.option-card.selected .option-icon {
    color: white;
}

.option-text {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

.result-section {
    display: none;
}

.result-section.active {
    display: block;
    animation: fadeIn 0.7s ease;
}

.result-header {
    text-align: center;
    margin-bottom: 40px;
}

.result-header h2 {
    font-size: 2.5rem;
    color: #42afa5;
    font-weight: 900;
    margin-bottom: 20px;
}

.result-main {
    background: linear-gradient(135deg, #42afa5 0%, #51a5d9 100%);
    color: white;
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.result-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.result-image img {
    width: 100%;
    height: auto;
    display: block;
}

.result-info h3 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 900;
}

.result-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 20px;
    font-weight: 600;
}

.result-description {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 20px;
    opacity: 0.95;
}

.result-famous {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
}

.result-famous i {
    margin-right: 8px;
}

.character-message {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    padding: 25px 30px;
    border-radius: 20px;
    border: 3px solid #42afa5;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(66, 175, 165, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

.character-message img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.character-message-text {
    flex: 1;
}

.character-message strong {
    color: #42afa5;
}

.section-title {
    font-size: 2rem;
    color: #42afa5;
    font-weight: 900;
    text-align: center;
    margin: 50px 0 30px;
}

.section-title i {
    margin-right: 10px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.skill-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(66, 175, 165, 0.25);
}

.skill-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.skill-info {
    padding: 15px;
    text-align: center;
}

.skill-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    font-size: 1rem;
}

.skill-level {
    color: #ffd700;
    font-size: 1.1rem;
}

.curriculum-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 50px;
}

.curriculum-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-left: 6px solid #42afa5;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    align-items: start;
}

.curriculum-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.curriculum-image img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.curriculum-content {
    flex: 1;
}

.curriculum-card h4 {
    color: #42afa5;
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 900;
}

.curriculum-card h4 i {
    margin-right: 10px;
}

.curriculum-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.lesson-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lesson-tag {
    background: linear-gradient(135deg, #42afa5 0%, #51a5d9 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.real-jobs {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 50px;
}

.real-jobs h4 {
    color: #d63031;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.real-jobs h4 i {
    margin-right: 10px;
}

.job-tags {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.job-tag {
    background: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    color: #2d3436;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navigation-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.nav-button {
    background: linear-gradient(135deg, #42afa5 0%, #51a5d9 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(66, 175, 165, 0.4);
}

.nav-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(66, 175, 165, 0.6);
}

.nav-info {
    font-size: 1.1rem;
    color: #42afa5;
    font-weight: 700;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.action-button {
    padding: 20px;
    border: none;
    border-radius: 15px;
    font-size: 1.3rem;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(66, 175, 165, 0.3);
}

.action-button.primary {
    background: linear-gradient(135deg, #42afa5 0%, #51a5d9 100%);
    color: white;
}

.action-button.secondary {
    background: linear-gradient(135deg, #51a5d9 0%, #7173e2 100%);
    color: white;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(66, 175, 165, 0.5);
}

.action-button i {
    margin-right: 10px;
}

@media (max-width: 768px) {
    .quiz-card {
        padding: 30px 20px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .result-main {
        grid-template-columns: 1fr;
        padding: 30px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .question-text {
        font-size: 1.5rem;
    }
    
    .curriculum-card {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}
