@charset "utf-8";
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-slab-v24-latin-regular.eot');
    src: local(''),
        url('../fonts/roboto-slab-v24-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-slab-v24-latin-regular.woff2') format('woff2'),
        url('../fonts/roboto-slab-v24-latin-regular.woff') format('woff'),
        url('../fonts/roboto-slab-v24-latin-regular.ttf') format('truetype'),
        url('../fonts/roboto-slab-v24-latin-regular.svg#RobotoSlab') format('svg');
}
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-slab-v24-latin-500.eot');
    src: local(''),
        url('../fonts/roboto-slab-v24-latin-500.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-slab-v24-latin-500.woff2') format('woff2'),
        url('../fonts/roboto-slab-v24-latin-500.woff') format('woff'),
        url('../fonts/roboto-slab-v24-latin-500.ttf') format('truetype'),
        url('../fonts/roboto-slab-v24-latin-500.svg#RobotoSlab') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #3463AF;
    font: 400 1em/1.4em 'Roboto Slab', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 930px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff url('../images/bg.jpg') no-repeat right top 40rem;
    overflow: hidden;
    padding: 3.5rem 3.5rem 0;
}
:is(h1, h2, h3, h4, strong) {
    font-weight: 500;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
a.ins {
    text-decoration: underline;
}
p {
    padding-bottom: 1rem;
}
:is(h1, h3) {
    margin: 0 0 2.5rem;
    font-size: 2.25em;
    line-height: 1.3;
}
:is(h1, h3) span {
    display: block;
    padding-left: 1.8rem;
    font-style: italic;
    background: url('../images/icon.jpg') no-repeat 0 15px;
}
h2 {
    font-size: 1.6em;
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 0.5rem;
}
h4 {
    font-size: 1.5em;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    font-style: italic;
}
ul {
    padding: 0 0 2.5rem;
    list-style: none;
}
li {
    padding: 0 0 0.35rem 1rem;
    position: relative;
}
li:before {
    content: "\2022";
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: 0;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.pb {
    padding-bottom: 1.5rem;
}
header {
    margin-right: 5.7rem;
    display: flex;
    justify-content: flex-end;
}
article {
    padding: 0;
    width: 505px;
}
.intro {
    width: 264px;
    position: absolute;
    right: 3.5rem;
    top: 20rem;
}
.bg {
    width: 233px;
    position: absolute;
    right: 5rem;
    top: 42.5rem;
    color: #fff;
    z-index: 1;
}
.apply {
    position: absolute;
    right: 7rem;
    top: 60rem;
    color: #fff;
    transform: rotate(-16deg);
    font-size: 1.85em;
    line-height: 1.3;
    text-align: center;
    z-index: 1;
}
footer {
    display: flex;
    justify-content: flex-end;
    margin-right: -3.5rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:929px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
        padding: 3rem 3rem 0;
    }
    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    .intro, .bg, .apply {
        position: static;
        width: auto;
    }
    .bg {
        background: #3463AF;
        padding: 1rem 1rem 0;
    }
    .apply {
        background: #EB7787;
        transform: none;
        padding: 0.5rem;
        margin-bottom: 1.5rem;
    }
    header {
        justify-content: center;
        margin: 0 0 1.5rem;
    }
    article {
        width: auto;
    }
    footer {
        margin: 0;
        justify-content: center;
    }
    br:not(.contact br) {
        display: none;
    }
}
@media only screen and (max-width:768px) {
    #wrapper {
        padding: 2rem 2rem 0;
    }
    :is(h1, h3) {
        font-size: 1.8em;
        margin-bottom: 1.5rem;
    }
    :is(h1, h3) span {
        background-position: 0 8px;
    }
    ul {
        padding-bottom: 1.5rem;
    }
}
@media only screen and (max-width:480px) {
    #wrapper {
        padding: 1rem 1rem 0;
    }
    :is(h1, h3) {
        font-size: 1.6em;
    }
    h2 {
        font-size: 1.313em;
    }
    .apply {
        font-size: 1.5em;
    }
}