
/* 診断全体 */
.bono-checker {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 24px;
    margin: 25px 0;
    background: #fff;
}

/* タイトル */
.bono-checker-title {
    margin-top: 0;
    margin-bottom: 12px;
}

/* 説明 */
.bono-checker-description {
    margin-bottom: 24px;
}

/* 質問 */
.bono-checker-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 15px;
}

/* 質問文 */
.bono-checker-question {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* 質問番号 */
.bono-checker-number {
    color: #777;
    white-space: nowrap;
}

/* 回答 */
.bono-checker-options {
    display: flex;
    gap: 12px;
}

.bono-checker-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
}

.bono-checker-option:has(input:checked) {
    background: #eef5ff;
    border-color: #4285d4;
}

/* ボタン */
.bono-checker-button {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.bono-checker-button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* メッセージ */
.bono-checker-message {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}


/* 診断結果 */
.bono-checker-result {
    margin-top: 25px;
    padding: 20px;
    border: 2px solid #4285d4;
    border-radius: 10px;
    background: #f5f9ff;
}

.bono-checker-result h3 {
    margin-top: 0;
    color: #245a96;
}

.bono-checker-result p {
    margin-bottom: 0;
}


/* やり直しボタン */
.bono-checker-reset {
    display: block;
    margin: 20px auto 0;
    padding: 10px 24px;
    border: 1px solid #888;
    border-radius: 6px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.bono-checker-reset:hover {
    background: #f5f5f5;
}


/* 診断結果画像 */
.bono-checker-result-image {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 15px auto;
    border-radius: 8px;
}


/* ====================================
   診断結果一覧
==================================== */

.bono-checker-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 24px 0;
}

.bono-checker-results-item {
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
}

.bono-checker-results-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.bono-checker-results-content {
    padding: 18px;
}

.bono-checker-results-content h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.bono-checker-results-description > :last-child {
    margin-bottom: 0;
}

/* スマートフォン */
@media screen and (max-width: 600px) {
    .bono-checker-results {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
