/* part7_2.css */

/* 全体背景とフォント */
body {
    background: linear-gradient(to bottom right, #f0f4f8, #d9e6f6);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

/* ヘッダーやナビゲーション */
#range-selector {
    text-align: center;
    margin-bottom: 20px;
}

#range-selector button {
    margin: 5px;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#range-selector button:hover {
    background-color: #0056b3;
}

/* 問題ボックス */
.question-box {
    background: #fff;
    padding: 20px;
    margin: 15px auto;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 700px;
    transition: 0.3s;
}

.question-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

/* パッセージ表示 */
.question-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.question-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* 選択肢 */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin-bottom: 12px;
}

input[type="radio"] {
    transform: scale(1.2);
    margin-right: 8px;
    accent-color: #007bff;
}

label {
    font-size: 1rem;
    color: #555;
}

/* フィードバック */
.feedback {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
}

.correct {
    background-color: #d4edda;
    color: #155724;
}

.incorrect {
    background-color: #f8d7da;
    color: #721c24;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.pagination button {
    padding: 10px 20px;
    background-color: #00c6ff;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.pagination button:hover {
    background-color: #0090cc;
}

#page-indicator {
    font-size: 1.1rem;
    font-weight: bold;
}
.passage-content p {
    margin-bottom: 1em;
    line-height: 1.8;
    font-size: 1.05rem;
    color: #333;
}