/* 妊娠可能性判定ツールのスタイル */

.medical-notice {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(116, 185, 255, 0.3);
}

.medical-notice i {
    font-size: 24px;
    margin-top: 2px;
    flex-shrink: 0;
}

.notice-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.2em;
    font-weight: 600;
}

.notice-content p {
    margin: 0;
    line-height: 1.5;
}

/* 質問セクション */
.questionnaire-section {
    background: #f8f9ff;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    border: 2px solid #e1e8ff;
}

.questionnaire-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.4em;
    text-align: center;
}

.question-group {
    margin-bottom: 35px;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.question-group h4 {
    color: #34495e;
    margin-bottom: 20px;
    font-size: 1.2em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.question-item {
    margin-bottom: 25px;
}

.question-item > label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1em;
}

/* ラジオボタンオプション */
.radio-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.radio-label:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}

.radio-label input[type="radio"] {
    accent-color: #3498db;
    transform: scale(1.2);
}

.radio-label input[type="radio"]:checked + span {
    color: #2c3e50;
    font-weight: 600;
}

.radio-label:has(input[type="radio"]:checked) {
    background: #e3f2fd;
    border-color: #2196f3;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.2);
}

/* チェックボックスオプション */
.checkbox-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.checkbox-label:hover {
    background: #fff3e0;
    border-color: #ff9800;
}

.checkbox-label input[type="checkbox"] {
    accent-color: #ff9800;
    transform: scale(1.2);
}

.checkbox-label input[type="checkbox"]:checked + span {
    color: #2c3e50;
    font-weight: 600;
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    background: #fff3e0;
    border-color: #ff9800;
    box-shadow: 0 2px 10px rgba(255, 152, 0, 0.2);
}

/* 結果セクション */
.result-section {
    margin-top: 30px;
}

.result-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
}

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

.result-header h3 {
    margin: 0 0 15px 0;
    font-size: 1.5em;
}

.result-percentage {
    font-size: 3em;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.result-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    opacity: 0.95;
}

/* 推奨事項セクション */
.recommendation-section {
    background: white;
    border: 2px solid #e1e8ff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.recommendation-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.recommendation-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recommendation-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9ff;
    border-left: 4px solid #3498db;
    border-radius: 8px;
}

.recommendation-item i {
    color: #3498db;
    font-size: 1.2em;
    margin-top: 2px;
    flex-shrink: 0;
}

.recommendation-item .text {
    font-weight: 500;
    line-height: 1.5;
}

/* 情報セクション */
.symptoms-grid, .testing-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.symptom-item, .method-item {
    background: #f8f9ff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e1e8ff;
    transition: transform 0.3s ease;
}

.symptom-item:hover, .method-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.symptom-item h5, .method-item h5 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.1em;
}

.symptom-item p, .method-item p {
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.pregnancy-actions {
    background: #e8f5e8;
    border: 2px solid #c8e6c9;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.pregnancy-actions li {
    margin-bottom: 8px;
    color: #2e7d32;
    font-weight: 500;
}

.caution-list {
    background: #fff5f5;
    border: 2px solid #ffcdd2;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.caution-list li {
    margin-bottom: 8px;
    color: #c62828;
    font-weight: 500;
}

/* ボタンスタイル */
.primary-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    margin-top: 30px;
}

.primary-button:hover {
    background: linear-gradient(135deg, #764ba2, #667eea);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.primary-button:active {
    transform: translateY(-1px);
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .questionnaire-section {
        padding: 20px;
    }
    
    .question-group {
        padding: 20px;
    }
    
    .radio-options {
        gap: 8px;
    }
    
    .checkbox-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .radio-label, .checkbox-label {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    
    .result-percentage {
        font-size: 2.5em;
    }
    
    .symptoms-grid, .testing-methods {
        grid-template-columns: 1fr;
    }
    
    .medical-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .result-card {
        padding: 20px;
    }
    
    .recommendation-section {
        padding: 20px;
    }
    
    .primary-button {
        padding: 15px 25px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .radio-label, .checkbox-label {
        padding: 8px 10px;
        font-size: 0.85em;
    }
    
    .result-percentage {
        font-size: 2em;
    }
    
    .question-group {
        padding: 15px;
    }
    
    .result-card {
        padding: 15px;
    }
} 