@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #58595B;
    font: 1.063em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: 1px solid #F47920;
    background: #fff;
    overflow: hidden;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.75rem;
}
h1 {
    margin: 0 0 1rem;
    font-size: 1em;
    line-height: 1.3;
    font-weight: 400;
}
h1:before {
    content: "■";
    font-size: 1.3rem;
    padding-right: 0.35rem;
    vertical-align: 1px;
}
h2 {
    font-size: 1.125em;
    line-height: 1.3;
}
h3 {
    font-size: 1.25em;
    line-height: 1.3em;
    margin-bottom: 1.5rem;
    color: #000000;
    transform: rotate(-6deg);
}
h4 {
    font-size: 1em;
    line-height: 1.3em;
    margin: 0 0 0.25rem 1.25rem;
}
ul {
    padding: 0;
    list-style: none;
}
li {
    padding-left: 1.25rem;
    font-size: 0.75em;
    line-height: 1.5;
    font-weight: bold;
}
li:before {
    content: url('../images/icon.jpg');
    float: left;
    margin: 1px 0 0 -1.25rem;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header .logo {
    background: #F47920;
    display: flex;
    justify-content: center;
    padding: 1.25rem 1rem 1rem;
}
header section {
    position: relative;
}
header section a {
    position: absolute;
    top: 47%;
    left: 9%;
    width: 24%;
    height: 30%;
    transform: rotate(-4deg);
}
main {
    padding: 1rem 2rem;
}
article {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding-bottom: 9.5rem;
    align-items: center;
}
.abs {
    padding: 0.5rem 0.5rem 1rem 1rem;
    background: #F47920;
    position: absolute;
    bottom: 0;
    left: 0;
}
.abs :is(li, h4) {
    color: #fff;
}
.abs:before {
    content: url('../images/before.jpg');
    position: absolute;
    bottom: 100%;
    right: 1.5rem;
    height: 61px;
}
footer p {
    padding: 0.5rem 1rem;
    text-align: center;
    background: #F47920;
    width: 36%;
    position: absolute;
    bottom: 0;
    right: 0;
    color: #fff;
}
footer i {
    font-size: 1.5em;
    vertical-align: middle;
    margin-right: 0.5rem;
}
@media only screen and (max-width:499px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    h2 br {
        display: none;
    }
    h3 {
        transform: none;
        margin: 1rem 0;
    }
    main {
        display: block;
        padding: 0;
    }
    article {
        padding: 1rem 1rem 0;
        flex-direction: column;
        align-items: flex-start;
    }
    .abs {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 4rem;
        padding: 1rem;
    }
    footer p:last-of-type {
        position: static;
        width: auto;
    }
}