@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: .937rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background-color: #FFE4A5;
    border: 1.25rem solid #761520;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

h1 {
    color: #7B111F;
    font-size: 1.125rem;
    margin: 0 0 1.25rem;
}

h2 {
    font-size: .937rem;
}

span {
    white-space: nowrap;
}

p {
    margin: 0 0 1.25rem;
}


.line {
    display: block;
}

.rot {
    background: #761520;
    display: flex;
    align-items: center;
    padding: .625rem 0;
    column-gap: 1.25rem;
}

.figure {
    width: 40%;
    margin: 0;
    display: flex;
    justify-content: center;
}

.main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1REM 0 1.25rem;
}

ul {
    margin: 0 0 1.25rem 1rem;
}

.section {
    width: 69%;
    background: #fff;
    padding: 1.562rem .937rem 0;
    margin: 0 .625rem 0;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    column-gap: .5rem;
}

footer p {
    width: 45%;
    letter-spacing: -0.4px;
}

.box {
    width: 59%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 5px;
}

.box .img {
    min-width: 9.187rem;
}

.box .img2 {
    min-width: 6.312rem;
    margin: 0 0 .75rem;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .rot {
        padding: 1rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .center {
        text-align: center;
    }

    footer p {
        margin: 0;
        width: 100%;
    }

    .box {
        gap: 1rem;
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
}

@media only screen and (max-width: 37.5rem) {
    #wrapper {
        padding: 0;
    }

    .main {
        flex-direction: column;
    }

    .figure {
        display: flex;
        justify-content: center;
        margin: 0 0 1rem;
        width: 100%;
    }

    .section {
        margin: 0;
        width: 100%;
    }

    :is(a:link, a:visited, a:hover, a:active) {
        white-space: normal;
    }
}

@media only screen and (max-width: 31.187rem) {
    .rot {
        flex-direction: column;
    }
}