@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1.25em/1.3em "Segoe UI", Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 600px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #fff;
    overflow: hidden;
    padding: 1rem 1rem 0;
}
p {
    padding-bottom: 1rem;
}
p :is(a, span) {
        display: inline-block;
    }
h1 {
    margin: 0.5rem 0 1rem;
    font-size: 1.692em;
    line-height: 1.1;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1.2em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
header {
    position: relative;
}
header p {
    width: 320px;
}
header figure {
    position: absolute;
    top: 0;
    right: 0;
}
footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
footer p{
    width: 72%;
    padding-bottom: 0;
}
@media only screen and (max-width:599px) {
    body {
        font-size: 1em;
        line-height: 1.3em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }
    header figure {
        position: static;
        display: flex;
        justify-content: center;
    }
    footer{
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    p  {
        width: 100% !important;
    }
    .hide_m {
        display: none;
    }
}