@charset "UTF-8";

body {
    background-color: #FFFEF0;
    font-family: 'M PLUS Rounded 1c', "Hiragino Maru Gothic ProN", "　 ProN W4", "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro W4", "Meiryo", "メイリオ", sans-serif;
    color: #5A4D4D;
}

.inner-block {
    text-align: center;
    position: relative;
    padding: 20px;
    width: 90%;
    max-width: 1080px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.logo img {
    max-width: 40%;
}

h1 {
    font-size: 40px;
    margin-top: 15px;
    margin-bottom: 20px;
    color: #FF8F5E;
}

.qu {
    font-size: 30px;
}

.question-text {
    position: relative;
    max-width: 80%;
}

p.question-text {
    display: inline-block;
    margin: 10px auto;
}

li.question-text {
    display: block;
    text-align: left;
    margin: 20px 25px;
    max-width: 100%;
    padding-left: 45px;
}

li.question-text::before {
    left: 0 !important;
}

.question-text::before {
    content: "Q.";
    position: absolute;
    left: -45px;
    top: 0;
    font-weight: bold;
    color: #FFAB91;
}

button {
    background-color: #FFCC80;
    width: 250px;
    margin: 20px;
    padding: 15px 0;
    border-radius: 50px;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'M PLUS Rounded 1c', sans-serif;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 171, 145, 0.4);
    background-color: #FFB74D;
}

.answer-btn {
    width: 150px;
    height: 150px;
    padding: 0;
    font-size: 80px;
    line-height: 150px;
    border-radius: 20px;
    background-color: #FFF;
    border: 3px solid #F0F0F0;
    color: #FFAB91;
}

.answer-btn:hover {
    background-color: #FFF8E1;
    border-color: #FFCC80;
}

.true {
    font-size: 50px;
    color: #66BB6A;
    font-weight: bold;
}

.false {
    font-size: 50px;
    color: #EF5350;
    font-weight: bold;
}

.end {
    font-size: 50px;
    color: #FF8F5E;
    font-weight: bold;
}

li {
    font-size: 30px;
    text-align: left;
}

ul {
    list-style-position: inside;
    margin: 0;
    padding: 0;
}

#quiz ul {
    margin: 10px 0 0;
    padding-left: 0;
    list-style: none;
}

#quiz li {
    list-style: none;
}


@media screen and (max-width: 1280px) {
    .logo img {
        width: 90%;
        max-width: 300px;
    }

    h1 {
        font-size: 36px;
    }

    .qu {
        /* font-size: 20px; */
    }

    .question-text::before {
        left: -25px;
    }

    li.question-text {
        font-size: 20px;
    }
}

@media screen and (max-width: 600px) {
    .inner-block {
        padding: 10px;
    }

    h1 {
        font-size: 28px;
    }

    .qu {
        font-size: 20px;
    }

    li.question-text {
        padding-left: 25px;
    }

    .answer-btn {
        width: 115px;
        height: 115px;
        font-size: 60px;
        line-height: 115px;
    }

    button {
        margin: 10px;
    }

    li {
        font-size: 18px;
    }

    .end {
        line-height: 60px;
    }

    .end-ft-sz {
        font-size: 26px;
    }
}