@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: 1rem;
    line-height: 1.5;
}
img {
    max-width: 100%;
    height: auto;
}
#wrapper {
    position: relative;
    max-width: 852px;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
p {
    margin: 0 0 1.25rem;
}
ul {
    list-style: none;
    margin: 0 0 1.562rem 1.562rem;
    padding: 0;
}
ul li {
    padding-left: 1.375rem
}
ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}
h1 {
    font-size: 1.5rem;
    margin-bottom: 20px
}
h2 {
    font-size: 20px;
    margin-bottom: .625rem
}
header {
    padding: 20px 40px
}
article {
    padding: 10px 40px
}
a.apply {
    color: #0000ff;
    text-decoration: underline;
}
.flex {
    display: flex;
    column-gap: 10px
}
.flex p {
    padding: 15px 40.1px;
    background: #706F6F;
    color: #fff;
    margin: 0
}
footer {
    background: #C00A26;
    position: relative;
}
footer img {
    position: absolute;
    bottom: 0
}
footer p {
    margin: 0;
    text-align: center;
    padding: 14px 0;
    color: #fff;
    font-weight: bold
}
@media only screen and (max-width: 851px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
    }
    header {
        padding: 10px
    }
    article {
        padding: 0 10px;
    }
    ul {
        margin-left: 0
    }
    footer img {
        display: none
    }
    .flex p {
        padding: 22px
    }
    .flex {
        justify-content: space-between
    }
    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}
@media only screen and (max-width: 651px) {
    .flex {
        display: block;
    }
}