@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #fff;
    font: 0.875em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 870px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #0C458E url('../images/bg.jpg') no-repeat top center;
    height: 601px;
    overflow: hidden;
    padding: 4rem 2rem 0;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 3.5rem -0.75rem 1.25rem;
    font-size: 1.4em;
    line-height: 1.1em;
    color: #0C458E;
    transform: rotate(-4deg);
    position: relative;
}
h1 small {
    font-size: 0.7em;
}
h1 span:last-of-type {
    font-size: 0.85em;
    line-height: 1.3;
    display: block;
    width: fit-content;
    margin-top: 2px;
}
h1 span {
    padding: 1px 0.75rem;
    background-color: #FAD612;
}
h1 + p {
    text-align: justify;
    hyphens: auto;
}
h1::before {
    content: "";
    width: 19px;
    height: 45px;
    background: url('../images/arrow.png') no-repeat center;
    position: absolute;
    left: -16px;
    bottom: -50px;
}
h2 {
    font-size: 1.125em;
    line-height: 1.3em;
    margin-bottom: 0.5rem;
}
h2 + p {
    font-size: 0.94em;
    line-height: 1.3;
    padding-bottom: 1.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
header {
    position: absolute;
    right: 0;
    bottom: 3.5rem;
}
article {
    width: 63%;
}
.box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 2.5rem 0 0 2.75rem;
    background: url('../images/bg.png') no-repeat top left;
    transform: rotate(-4deg);
}
.box p {
    font-size: 1.35em;
    line-height: 1.3;
}
.qr p {
    color: #FAD612;
}
.qr {
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer p {
    padding: 0 0 0.75rem;
}
i {
    font-style: normal;
    padding: 0 0.375rem;
    display: inline-block;
}
@media only screen and (max-width: 869px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        background: #0C458E;
        padding-top: 1rem;
    }
    p {
        text-align: left;
    }
    .box, h1 {
        transform: none;
    }
    header {
        position: static;
        display: flex;
        justify-content: center;
        padding-bottom: 1.25rem;
    }
    article {
        width: auto;
    }
    .box {
        width: fit-content;
        margin: 0 auto;
    }
    h1::before {
        display: none;
    }
    h1 {
        margin: 1.25rem auto;
        width: fit-content;
    }
    h1 + p {
        text-align: left;
    }
    p span {
        display: inline-block;
    }
    footer p {
        text-align: center;
        padding-bottom: 1rem;
    }
}
@media only screen and (max-width: 525px) {
    .box {
        background-size: 100% auto;
        flex-direction: column;
        gap: 0;
        padding: 5.75rem 0 0;
        width: 100%;
    }
    .box p {
        text-align: center;
    }
}
@media only screen and (max-width: 480px) {
    #wrapper {
        padding: 1rem;
    }
}
@media only screen and (max-width: 400px) {
    .box {
        padding-top: 4.75rem;
    }
}
@media only screen and (max-width: 350px) {
    .box {
        padding-top: 4.25rem;
    }
}