@charset "utf-8";
@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/noto-sans-v27-latin-500.eot');
    src: url('../fonts/noto-sans-v27-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v27-latin-500.woff2') format('woff2'), url('../fonts/noto-sans-v27-latin-500.woff') format('woff'), url('../fonts/noto-sans-v27-latin-500.ttf') format('truetype'), url('../fonts/noto-sans-v27-latin-500.svg#NotoSans') format('svg');
}
@font-face {
    font-display: swap;
    font-family: 'Noto Sans';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/noto-sans-v27-latin-800.eot');
    src: url('../fonts/noto-sans-v27-latin-800.eot?#iefix') format('embedded-opentype'), url('../fonts/noto-sans-v27-latin-800.woff2') format('woff2'), url('../fonts/noto-sans-v27-latin-800.woff') format('woff'), url('../fonts/noto-sans-v27-latin-800.ttf') format('truetype'), url('../fonts/noto-sans-v27-latin-800.svg#NotoSans') format('svg');
}
@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat-Regular.eot');
    src: url('../fonts/Caveat-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Caveat-Regular.woff2') format('woff2'),
        url('../fonts/Caveat-Regular.woff') format('woff'),
        url('../fonts/Caveat-Regular.ttf') format('truetype'),
        url('../fonts/Caveat-Regular.svg#Caveat-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #233C5B;
    font: 500 1em/1.5em 'Noto Sans', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 780px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: #fff;
    overflow: hidden;
    padding: 0;
}
:is(h1, h2, h3, h4, strong) {
    font-weight: 800;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 1rem;
}
.text, .text1, .text2, .text3 {
    font-family: 'Caveat', Arial, sans-serif;
    font-weight: 400;
    color: #FF5757;
}
.text1 {
    display: block;
}
h1 {
    margin: 0 0 1.5rem;
    font-size: 2.1em;
    line-height: 1.1;
    text-transform: uppercase;
    width: fit-content;
    text-indent: -2rem;
}
h1 span {
    font-size: 1rem;
    text-transform: none;
    font-weight: 500;
    display: block;
    text-align: right;
}
h2 {
    font-size: 1.4em;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
h3 {
    font-size: 2em;
    line-height: 1.2;
}
h4 {
    font-size: 1.4em;
    line-height: 1.3;
    margin-bottom: 1rem;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding: 0 0 1rem 2.5rem;
    background: url('../images/icon_bg.png') no-repeat 0 8px;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
header {
    padding: 2rem;
    background: #1F3C5A;
    display: flex;
    justify-content: center;
}
.block{
    display: block;
    margin-top: 1rem;
}
.mb {
    margin-bottom: 2rem;
}
.mgb {
    margin-bottom: 1rem;
}
.flex1 {
    display: flex;
    justify-content: space-between;
    padding-left: 2rem;
}
.text {
    font-size: 3.6em;
    line-height: 1;
    transform: rotate(-8deg);
}
.text1 {
    font-size: 1.9em;
    line-height: 1;
}
.text2 {
    font-size: 2.5em;
    line-height: 1;
    transform: rotate(-4deg);
    margin: -0.5rem 0 0 11.5rem;
    padding-bottom: 4rem;
}
.text3 {
    font-size: 2.1em;
    line-height: 1;
    transform: rotate(-4deg);
    text-align: right;
    margin: -1rem 0 2rem;
}
.img {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 2rem;
}
.flex2 {
    display: flex;
    gap: 0 2rem;
}
.flex2 p:first-of-type {
    width: 242px;
    text-align: right;
}
.flex2 p:last-of-type {
    color: #FF5757;
    width: 55%;
}
.flex3 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2rem 0;
    gap: 1rem 0;
}
.flex3 figure {
    margin-bottom: 1rem;
}
.box {
    width: 48%;
}
.apply {
    position: absolute;
    right: 6rem;
    bottom: 8rem;
}
.apply p {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    color: #fff;
    background: #233C5B;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-left: 8.5rem;
    hyphens: none;
}
.logos {
    position: absolute;
    right: 1rem;
    top: 28rem;
}
.avt {
    display: flex;
    gap: 0 2rem;
    margin-top: 1rem;
}
.avt div {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.avt p {
    text-align: center;
}
main {
    display: block;
    background: #fff url('../images/bg.jpg') repeat-y;
    padding: 2rem 4.5rem 1.5rem;
    position: relative;
}
footer p img {
    margin-right: 1.5rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:779px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    main {
        padding: 2rem;
        background: #fff;
    }
    .flex1 {
        padding-left: 0;
        flex-direction: column;
    }
    h1 {
        text-indent: 0;
    }
    .text {
        transform: none;
    }
    .logos {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    .apply {
        right: 2rem;
    }
    :is(h1, ul) br, .hide_m {
        display: none;
    }
}
@media only screen and (max-width:700px) {
    .text2, .text3 {
        transform: none;
        margin: 0.5rem 0 0;
        padding-bottom: 2rem;
        text-align: left;
    }
    .flex2, .flex3 {
        flex-direction: column;
    }
    .box {
        width: auto;
    }
    .flex2 p {
        width: auto !important;
        text-align: left !important;
    }
    .apply {
        position: static;
        margin-bottom: 1rem;
    }
}
@media only screen and (max-width:480px) {
    main {
        padding: 1rem;
    }
    .text {
        font-size: 3em;
    }
    h1, h3 {
        font-size: 1.7em;
    }
    .text2 {
        font-size: 2em;
    }
    h1 span {
        display: inline-block;
        text-align: left;
    }
}