@charset "utf-8";

/** ▼▼▼ main ▼▼▼ **/
#main {
    width: 100%;
    background: url(../images/bg_painting-main.png) no-repeat center center / cover;
}

@media (max-width: 860px) {
    #main {
        margin: 70px 0 0 0;
    }
}

#main h2 {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    line-height: 0;
}
/** ▲▲▲ main ▲▲▲ **/

/** ▼▼▼ declaration ▼▼▼ **/
#declaration {
    width: 90%;
    max-width: 1000px;
    margin: 53px auto 0 auto;
}

#declaration h3 {
    font-size: 2.25em;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 133%;
    color: #0071BC;
}

#declaration ul {
    width: 100%;
    max-width: 1000px;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

#declaration ul li:nth-child(1) {
    width: 50%;
    max-width: 500px;
}

#declaration ul li:nth-child(2) {
    width: 45%;
    max-width: 450px;
}

#declaration ul li ul {
    width: 100%;
    max-width: 450px;
    margin: 16px 0 0 0;
    display: flex;
    justify-content: space-between;
}

#declaration ul li ul li:nth-child(1) {
    width: 33%;
    max-width: 150px;
}

#declaration ul li ul li:nth-child(2) {
    width: 62%;
    max-width: 275px;
}

#declaration ul li ul li h4 {
    font-size: 1.25em;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 130%;
}

#declaration div {
    margin: 25px 0 0 0;
    padding: 25px 40px;
    border: 1px solid #888888;
}

#declaration div h4 {
    font-size: 1.25em;
    font-weight: 700;
}

#declaration div ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    margin: 15px 0 0 0;
}

#declaration div ul li {
    line-height: 162%;
}

#declaration div ul li:nth-child(odd) {
    width: 5%;
    max-width: 25px;
}

#declaration div ul li:nth-child(even) {
    width: 95%;
    max-width: 895px;
}
/** ▲▲▲ declaration ▲▲▲ **/

/** ▼▼▼ attempt ▼▼▼ **/
#attempt {
    width: 90%;
    max-width: 1000px;
    margin: 53px auto 0 auto;
}

#attempt h3 {
    font-size: 2.25em;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    line-height: 133%;
    color: #0071BC;
}

#attempt ul {
    width: 100%;
    max-width: 1000px;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

#attempt ul li:nth-child(1) {
    width: 55%;
    max-width: 550px;
}

#attempt ul li:nth-child(2) {
    width: 41%;
    max-width: 410px;
    display: flex;
    align-items: center;
}

#attempt ul li div {
    border: 1px solid #888888;
    margin: 20px 0 0 0;
    padding: 25px 40px;
}

#attempt ul li div h4 {
    font-size: 1.25em;
    font-weight: 700;
    color: #0071BC;
}

#attempt ul li div p {
    line-height: 162%;
}

#attempt ul li div p span {
    color: #0071BC;
}

#attempt p {
    margin: 25px 0 0 0;
}
/** ▲▲▲ attempt ▲▲▲ **/

@media (max-width: 640px) {
    /** ▼▼▼ main ▼▼▼ **/
    #main {
        margin: 70px 0 0 0;
        background: url(../images/bg_painting-main-sp.png) no-repeat center center / cover;
    }
    /** ▲▲▲ main ▲▲▲ **/

    /** ▼▼▼ declaration ▼▼▼ **/
    #declaration h3 {
        font-size: 1.5em;
    }

    #declaration ul {
        flex-direction: column;
    }

    #declaration ul li:nth-child(1) {
        width: 100%;
    }

    #declaration ul li:nth-child(2) {
        width: 100%;
    }

    #declaration ul li ul {
        padding: 20px 0;
        border-top: 1px solid #888888;
        border-bottom: 1px solid #888888;
    }

    #declaration ul li ul li:nth-child(1) {
        width: 150px;
    }

    #declaration ul li ul li:nth-child(2) {
        width: 100%;
        max-width: 100%;
        margin: 15px 0 0 0;
    }

    #declaration div h4 {
        line-height: 125%;
    }

    #declaration div ul {
        justify-content: space-between;
        flex-direction: row;
    }

    #declaration div ul li:nth-child(odd) {
        width: 7%;
    }

    #declaration div ul li:nth-child(even) {
        width: 92%;
    }
    /** ▲▲▲ declaration ▲▲▲ **/

    /** ▼▼▼ attempt ▼▼▼ **/
    #attempt h3 {
        font-size: 1.5em;
    }

    #attempt ul {
        flex-direction: column-reverse;
    }

    #attempt ul li:nth-child(1) {
        width: 100%;
    }

    #attempt ul li:nth-child(2) {
        width: 100%;
    }

    #attempt ul li div h4 {
        line-height: 130%;
    }
    /** ▲▲▲ attempt ▲▲▲ **/
}