@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1.25em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 500px;
    margin: 1rem auto;
    border: solid 3px #12A8DF;
    background: #fff;
    overflow: hidden;
    padding: 1rem 4rem 0;
}
p {
    padding-bottom: 0.5rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    margin: 0 0 1rem;
    font-size: 1.5em;
    line-height: 1.1em;
}
h2 {
    font-size: 1.125em;
    line-height: 1.3em;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
h3 {
    font-size: 2.125em;
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
h4 {
    font-size: 1.2em;
    line-height: 1.3em;
}
h3, footer p {
    text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
    color: #1285B5;
}
h4, footer p {
    text-align: center;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 2rem;
}
li:before {
    content: url('../images/iconlist.jpg');
    float: left;
    margin: 0 0 0 -2rem;
}
figure {
    display: flex;
    justify-content: center;
}
@media only screen and (max-width:499px) {
    body {
        font-size: 1em;
    }
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
}