@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v44-latin-regular.eot');
    src: url('../fonts/open-sans-v44-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v44-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v44-latin-regular.woff') format('woff'), url('../fonts/open-sans-v44-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v44-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v44-latin-700.eot');
    src: url('../fonts/open-sans-v44-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v44-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v44-latin-700.woff') format('woff'), url('../fonts/open-sans-v44-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v44-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: 'Open Sans', "Arial", sans-serif;
    font-size: 1.063rem;
    line-height: 1.43;
    background: linear-gradient(to top, #fff 0%, transparent 80%), url("../images/bg.jpg")top center/cover no-repeat;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 52rem;
    margin: 1rem auto;
    overflow: hidden;
    font-weight: 400;
    padding: 0 1rem;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: underline dotted 1px #00b1e5;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}

a.tel {
    text-decoration: none;
    color: inherit;
}

p,
ul {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

h1 {
    font-size: 1.875rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.313rem;
    line-height: 1.3;
    color: #00b1e5;
    padding: 0 0 .5rem;
}

p {
    margin: 0 0 1.625rem;
}

.section>:last-child {
    margin: 0;
}

ul {
    margin: 0 0 1.625rem;
    padding-left: 1rem;
}

ul li {
    margin-bottom: .5rem;
}

ul+p {
    margin-top: 1.25rem;
}

.section {
    border: 1px solid rgba(0, 0, 0, 0.125);
    margin: .75rem 0;
    background: #fff;
    box-shadow: 0 0 8px #666;
    padding: 1.625rem 4rem;
}

header .section {
    margin: 0;
    background-color: #00b1e5;
    border-bottom: 5px solid #e053d4;
    padding: 1.5rem 1.625rem;
    display: flex;
    justify-content: center;
}

header .section img {
    filter: grayscale(100%) brightness(1000%);
}

article>img {
    box-shadow: 0 0 8px #666;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .5rem;
    }

    p,
    ul {
        margin-bottom: 1rem;
    }

    body {
        font-size: 1rem;
        background: rgba(239, 239, 239, 1);
    }

    .section {
        padding: 1.625rem 2rem;
    }

    a.wrap {
        white-space: normal;
    }
}

@media only screen and (max-width: 30rem) {
    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.1rem;
    }

    .section {
        padding: 1rem;
    }

}