@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 "Segoe UI", Arial, sans-serif;
}

#wrapper {
    position: relative;
    max-width: 510px;
    margin: 1rem auto;
    border: solid 5px #077A4F;
    background-color: #fff;
    overflow: hidden;
}

p {
    padding-bottom: 0.4rem;
}

h1,
h2,
strong {
    font-weight: 600;
}

h1 {
    margin: 0 0 1rem;
    font-size: 1.22em;
    line-height: 1.3em;
}

h1 span {
    font-size: 0.75em;
}

h1:before {
    content: "■";
    color: #F79324;
    font-size: 0.875em;
    float: left;
    margin-left: -1.2rem;
}

h1+p {
    font-size: 0.875em;
    line-height: 1.3;
}

h2 {
    font-size: 1.22em;
    line-height: 1.3em;
    margin-bottom: 0.4rem;
}

:is(a:link, a:hover, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

header {
    position: relative;
}

.qr p {
    text-align: center;
    color: #fff;
    font-size: 0.875em;
    line-height: 1.1;
    padding-bottom: 0.3rem;
}

.qr {
    position: absolute;
    bottom: 0;
    left: 1%;
    background: #F79324;
    padding: 3px;

}

article {
    position: absolute;
    top: 164px;
    left: 190px;
}

footer {
    background: #077C52;
    padding: 0.8rem 0.8rem 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

footer>a {
    margin-bottom: 0.5rem;
}

footer p,
h2 {
    color: #fff;
}

@media only screen and (max-width:657px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    article {
        position: static;
        padding: 1rem 1rem 1rem 2.2rem;
    }

    .hide_m {
        display: none;
    }

    span {
        display: inline-block;
    }

    .qr {
        left: auto;
        right: 2% !important;
        max-width: 23%;
    }
}

@media only screen and (max-width:509px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    footer p,
    h2 {
        text-align: center;
    }
}