@charset "utf-8";

:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 0.813em/1.6 Segoe, "Segoe UI", sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: 2px solid #000000;
    background: #fff;
    overflow: hidden;
    padding: 0;
    text-align: justify;
}
a {
    color: #000000;
    text-decoration: none;
}
a ins {
    color: #00f;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: -0.25rem 0 1.25rem;
    font-size: 2.438em;
    line-height: 1.2;
    color: #000;
    text-align: left;
}
h1 span {
    font-size: 0.75em;
    line-height: 1.3em;
    font-weight: 300;
    display: block;
}
h2 {
    font-size: 1.125em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
strong, h1, h2 {
    font-weight: 600;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding: 0 0 0.25rem 0.7rem;
}
li:before {
    content: "\2010";
    display: block;
    font-size: 1.3em;
    line-height: 1;
    position: relative;
    float: left;
    margin: -1px 0 0 -0.7rem;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
header>aside {
    display: flex;
    justify-content: center;
    padding: 1rem 0.8rem;
}
article {
    padding: 0.8rem 1.25rem 0;
}
article>p:first-of-type {
    padding-bottom: 0.75rem;
}
article>p:nth-of-type(2) strong {
    font-weight: 700;
}
article section aside {
    width: 375px;
    text-align: justify;
    float: left;
}
article section aside:last-of-type {
    width: 367px;
    float: right;
}
article>aside {
    width: 373px;
    text-align: justify;
    padding-bottom: 0.25rem;
}
article>p:last-of-type {
    margin: -0.5rem -1.25rem 0;
    padding: 0.35rem 1.25rem;
    background: #CCCCCC;
}
footer {
    padding: 0.7rem 1.35rem 0.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer figure {
    margin: 0;
}
footer figure:first-of-type img {
    width: 320px;
}
@media only screen and (max-width: 798px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        text-align: left;
    }
    p a {
        display: inline-block;
    }
    li {
        padding-left: 1rem;
    }
    li:before {
        margin-left: -1rem;
    }
    h1 {
        font-size: 1.9em;
    }
    article {
        padding: 0.8rem 1rem 0;
    }
    article br {
        display: none;
    }
    article section aside, article section aside:last-of-type, article>aside {
        width: 100%;
        float: none;
        text-align: left;
    }
    footer {
        padding: 0.5rem 1rem;
    }
}
@media only screen and (max-width:480px) {
    h1 {
        font-size: 1.5em;
        line-height: 1.2;
    }
    header>aside img {
        max-width: 200px;
    }
    footer {
        display: block;
    }
}
