@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
    padding: 0;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
    font-size: 0.875em;
    line-height: 1.3;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.313em;
    line-height: 1.3;
    color: #ED028C;
}
h1 span {
    font-size: 0.875rem;
    color: #000;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.title {
    position: absolute;
    left: 30rem;
    top: 10rem;
    z-index: 1;
}
.box {
    background: #fff;
    padding: 0.5rem;
    width: 159px;
    height: 144px;
    position: absolute;
    right: 10rem;
    bottom: 0;
    z-index: 1;
}
.box p:first-of-type {
    font-size: 1.25em;
    line-height: 1.3;
    padding-bottom: 1.25rem;
}
.box p:last-of-type {
    font-size: 0.75em;
    line-height: 1.3;
    padding-bottom: 0.25rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    p a, span {
        display: inline-block;
    }
    p, h1 {
        text-align: center;
    }
    .title {
        position: static;
    }
    .box {
        position: static;
        width: auto;
        padding: 0;
    }
    br {
        display: none;
    }
    article {
        padding: 1rem;
    }
    article figure {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}