@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v43-latin-regular.eot');
    src: url('../fonts/open-sans-v43-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-regular.woff') format('woff'), url('../fonts/open-sans-v43-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v43-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-v43-latin-700.eot');
    src: url('../fonts/open-sans-v43-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v43-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v43-latin-700.woff') format('woff'), url('../fonts/open-sans-v43-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v43-latin-700.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 0.0625rem #000;
}

h1 {
    font-size: 24px;
    line-height: 1.3;
    margin: 20px 0;
}

.blue {
    background: #144a92;
    color: #fff;
    font-style: italic;
    transform: rotate(-7deg);
    padding: 0.625rem 6.5rem 2.75rem;
    margin: -3rem
}

.blue p {
    font-size: 17px;
}

.blue p span {
    color: #FED060;
}

.yellow {
    font-style: italic;
}

h2 {
    color: #144a92;
    font-size: 1.25rem;
    margin-bottom: 0.625rem
}

.flex {
    display: flex;
    column-gap: 1.875rem;
    background: #FED060;
    transform: rotate(-7deg);
    width: fit-content;
    text-align: start;
    margin: 0 -1.25rem 1rem auto;
    padding: 1.25rem 5.625rem 1.25rem 5.125rem;
    border-top-left-radius: 1.375rem;
    border-bottom-left-radius: 1.375rem;
}

.flex ul {
    margin: 0;
    transform: rotate(-1deg);
}

.apply {
    background: #FED060;
    transform: rotate(-7deg);
    width: fit-content;
    border-top-left-radius: 1.375rem;
    border-bottom-left-radius: 1.375rem;
    padding: 1.25rem 4.375rem 1.25rem 1.25rem;
    margin: 0 -2.25rem 0 auto;
    position: absolute;
    top: 70%;
    right: 0;
}

.apply a {
    font-weight: bold;
}

.flex ul li:before {
    content: "\2022";
    float: left;
    margin-left: -0.95rem;
    font-size: 1.75rem;
    line-height: 0.9;
}

.title {
    display: flex;
    align-items: center;
    column-gap: 0.625rem;
    margin-bottom: 0.625rem
}

.title+p {
    margin-bottom: 2.1875rem
}

.title p {
    margin-bottom: 0;
}

article {
    padding: 2.5rem 1.5625rem
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #245A9C;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 0.625rem;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.85rem;
    line-height: 0.7;
}

article ul {
    margin-bottom: 2.1875rem;
    margin-left: 0.625rem
}

header,
header img {
    position: relative;
    z-index: 0;
}
.abs a {
    width: 6.25rem;
    height: 6.25rem;
    position: absolute;
    z-index: 22;
    top: 18.75rem;
    left: 2.1875rem;
    display: block;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    background: url(../images/bg.jpg) no-repeat bottom left;
    background-size: 72%;
}

footer p {
    margin: 0;
    font-size: 15px;
}

.img {
    margin-top: 2rem
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    a.site {
        white-space: pre-wrap
    }

    .flex ul {
        margin: 0;
        transform: rotate(0);
    }

    .abs a {
        display: none
    }

    .blue,
    .yellow,
    .apply {
        transform: none;
        padding: 20px;
    }

    .apply {
        width: 100%;
        text-align: center
    }

    article p:first-of-type br,
    .blue br {
        display: none;
    }

    .blue,
    .flex {
        margin: 0;
        border-radius: 0;
        width: 100%;
    }

    .apply,
    .img {
        margin: 0;
        position: initial;
        border-radius: 0;
    }

    .img {
        margin: 1.25rem 0;
    }

    h1 br,
    h2 br {
        display: none
    }

    article {
        padding: 0.625rem 1rem
    }

    li a {
        white-space: pre-wrap
    }

    li br {
        display: none
    }

    footer {
        display: block;
        background: #FFECC4;
        padding: 16px;
        text-align: center;
    }

    footer a {
        margin: 0 auto;
        display: block;
        width: fit-content;
    }

    footer p {
        margin: 0 0 16px;
    }
}

@media only screen and (max-width: 598px) {
    h1 {
        text-align: center;
        margin: 1.25rem 0 0.625rem
    }

    .title+p {
        margin-bottom: 1.25rem;
    }

    .flex {
        display: block;
    }
}

@media only screen and (max-width: 469px) {
    h1 {
        font-size: 1.4rem;
    }
}