@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.3em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #fff;
    overflow: hidden;
}
p {
    padding-bottom: 0.75rem;
}
h1 {
    margin: 0.25rem 0 1.25rem;
    font-size: 1.5em;
    line-height: 1.1em;
    text-align: center;
}
h2 {
    font-size: 1em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
h3 {
    font-size: 2.5em;
    line-height: 1.25;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
h4 {
    font-size: 1.15em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}
:is(h3, h4) span {
    font-weight: 400;
    display: block;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 1.75rem;
    list-style: none;
}
li {
    padding: 0 0 0.75rem 3rem;
}
ul li:before {
    content: "\2022";
    font-size: 1em;
    float: left;
    margin: -1px 0 0 -1.5rem;
}
header {
    background: #0075BF url('../images/bg.jpg') no-repeat top center;
    height: 565px;
    padding: 1.75rem 2rem;
}
.logo {
    position: absolute;
    top: 2.25rem;
    right: 2.25rem;
}
header :is(h3, h4, p, li) {
    color: #fff;
}
.pb {
    padding-bottom: 0.25rem;
}
header ul {
    padding-bottom: 2.5rem;
}
header ul li {
    padding: 0 0 0.25rem 1.125rem;
}
header ul li::before {
    margin-left: -1.125rem;
    color: #fff;
}
header .bg li {
    display: inline-block;
    background-color: #fff;
    color: #0075BF;
    padding: 0.375rem 0.875rem 0.25rem 2.5rem;
    font-weight: 700;
    font-size: 1.375em;
    line-height: 1.2;
}
header .bg li::before {
    content: "";
    width: 20px;
    height: 22px;
    background: url('../images/icon.jpg') no-repeat center;
    margin: 0 0 0 -1.875rem;
}
main {
    padding: 1rem 2rem;
}
figure {
    margin: 0 -2rem 1rem;
}
h1, ul li::before, footer li strong {
    color: #0075BF;
}
.link a {
    display: inline-block;
    color: #fff;
    background-color: #0075BF;
    padding: 0.625rem 1.5rem;
    border-radius: 4px;
}
.link {
    margin: 0.75rem 0;
}
.qr {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}
article h2 {
    border-color: #0075BF;
    margin: 0 0 0 -1.125rem;
    padding: 0.35rem 0.75rem;
    font-size: 1rem;
    line-height: 1.25rem;
    font-weight: bold;
    color: #fff;
    background: #0075BF;
    display: inline-block;
    position: relative;
}
article h2::before {
    position: absolute;
    content: '';
    top: 100%;
    left: 0;
    border-style: solid;
    border-width: 0 1.2em 1.2em 0;
    border-color: transparent;
    border-right-color: inherit;
    width: 0;
    height: 0;
}
.box {
    background-color: #EBF3F9;
    padding: 1rem 0.75rem;
    margin-bottom: 1rem;
}
.box :is(ul, p):last-of-type ,.box ul:last-of-type li:last-of-type {
    padding-bottom: 0;
}
@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    header {
        height: auto;
        background: #0075BF;
        padding: 0 2rem 1rem;
    }
    .logo {
        position: static;
        background-color: #F5F4F9;
        margin: 0 -2rem 1rem;
        padding: 1rem 2rem;
        display: flex;
        justify-content: center;
    }
}
@media only screen and (max-width: 580px) {
    h3 {
        font-size: 2em;
    }
    header .bg li {
        font-size: 1.2em;
    }
}
@media only screen and (max-width: 480px) {
    h3 {
        font-size: 1.75em;
    }
    header .bg li {
        font-size: 1.125em;
    }
    header {
        padding: 0 1rem 1rem;
    }
    h1 {
        font-size: 1.375em;
    }
    main {
        padding: 1rem;
    }
    figure {
        margin: 0 -1rem 1rem;
    }
    article h2 {
        margin-left: -0.75rem;
    }
    article h2::before {
        border-width: 0 0.75em 0.75em 0;
    }
    li {
        padding-left: 1.25rem;
    }
    ul li::before {
        margin-left: -1.25rem;
    }
    .qr {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    h4, h4 + p {
        text-align: center;
    }
}