* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#quiz-container {
    max-width: 800px;
    width: 90%;
    background-color: #2d2d2d;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

h1 {
    text-align: center;
    margin-bottom: 5px;
    color: #ff6b6b;
}

#question {
    text-align: center;
    margin-bottom: 5px;
}

.park-image {
    max-width: 200px;
    max-height: 200px;
    border-radius: 10px;
}

.options {
    display: grid;
    grid-template-columns: repeat(1, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

/* PC表示の場合 */
@media (min-width: 768px) {
    #perk-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* PC表示の場合 */
@media (min-width: 768px) {
    #start-options {
        grid-template-columns: repeat(3, 1fr);
    }
}

.option {
    color: #fff;
    padding: 15px;
    background-color: #3d3d3d;
    border: 2px solid #555;
    border-radius: 8px;
    cursor: pointer;
    /* transition: all 0.3s ease; */
    text-align: center;
}

.option:hover {
    background-color: #4d4d4d;
    border-color: #ff6b6b;
}

.option.selected {
    background-color: #ff6b6b;
    border-color: #ff6b6b;
}

#submit {
    display: block;
    margin: 0 auto;
    padding: 15px 30px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submit:hover {
    background-color: #ff5252;
}

#submit:disabled {
    background-color: #666;
    cursor: not-allowed;
}

#result {
    margin-top: 30px;
    padding: 20px;
    background-color: #3d3d3d;
    border-radius: 8px;
    text-align: center;
}

.hidden {
    display: none;
}

.correct {
    color: #4caf50;
}

.incorrect {
    color: #f44336;
}

.park-description {
    margin-top: 15px;
    padding: 15px;
    background-color: #4d4d4d;
    border-radius: 8px;
    text-align: left;
}

.score {
    font-size: 1.5em;
    margin-bottom: 20px;
}

#next-question,
#restart-quiz {
    margin: 10px;
    padding: 10px 20px;
    background-color: #2196f3;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#next-question:hover,
#restart-quiz:hover {
    background-color: #1976d2;
}

#restart {
    margin: 0 auto;
    padding: 15px 30px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#restart:hover {
    background-color: #ff5252;
}

#restart:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* 汎用クラス */

.mb10 {
    margin-bottom: 10px;
}