#aga-checker {
    max-width: 640px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    font-size: 15px;
}

#aga-checker h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

#aga-checker label {
    display: block;
    margin-top: 18px;
    font-weight: 600;
}

#aga-checker select {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}

.next-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.next-btn:hover {
    background: #005f8a;
}

.norwood-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.norwood-card {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.norwood-card img {
    width: 100%;
    border-radius: 6px;
}

.norwood-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.norwood-card.selected {
    border: 2px solid #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.2);
}

/* バウンスアニメーション */
@keyframes cardBounce {
    0%   { transform: scale(1); }
    30%  { transform: scale(0.95); }
    60%  { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.norwood-card.bounce {
    animation: cardBounce 0.35s ease-out;
}

.result-norwood-img {
    width: 100%;
    max-width: 260px;
    display: block;
    margin: 15px auto;
    border-radius: 8px;
}

.score-breakdown {
    margin-top: 15px;
    padding-left: 20px;
}

.score-breakdown li {
    margin-bottom: 6px;
    font-size: 15px;
}

.score-high {
    color: #b30000;
    font-weight: bold;
}

.score-mid {
    color: #b36b00;
    font-weight: bold;
}

.score-low {
    color: #006600;
    font-weight: bold;
}

.treatment-list {
    margin-top: 10px;
    padding-left: 20px;
}

.treatment-list li {
    margin-bottom: 6px;
    font-size: 15px;
}

.drug-info {
    color: #0073aa;
    cursor: pointer;
    text-decoration: underline;
}

#drug-details {
    margin-top: 15px;
    padding: 12px;
    background: #f7faff;
    border-left: 4px solid #0073aa;
    border-radius: 4px;
}

.drug-img {
    width: 100%;
    max-width: 200px;
    display: block;
    margin: 10px auto;
    border-radius: 6px;
}

.clinic-cta {
    margin-top: 25px;
    padding: 15px;
    background: #eef7ff;
    border-radius: 8px;
    text-align: center;
}

.cta-btn, .cta-line {
    display: block;
    margin: 10px auto;
    padding: 12px;
    width: 80%;
    max-width: 300px;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

.cta-btn {
    background: #0073aa;
    color: #fff;
}

.cta-line {
    background: #06c755;
    color: #fff;
}

/* 印刷用 */
@media print {

    body, #aga-checker {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .next-btn,
    #download-pdf {
        display: none !important;
    }

    .step[data-step="1"],
    .step[data-step="2"] {
        display: none !important;
    }

    .step[data-step="3"] {
        display: block !important;
    }

    .result-norwood-img {
        max-width: 300px !important;
        margin: 10px 0 !important;
        display: block;
    }

    .score-breakdown li {
        font-size: 14px !important;
        margin-bottom: 4px !important;
    }

    @page {
        margin: 20mm;
    }
}