@charset "utf-8";
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/poppins-v20-latin-regular.eot');
    src: local(''),
        url('../fonts/poppins-v20-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/poppins-v20-latin-regular.woff2') format('woff2'),
        url('../fonts/poppins-v20-latin-regular.woff') format('woff'),
        url('../fonts/poppins-v20-latin-regular.ttf') format('truetype'),
        url('../fonts/poppins-v20-latin-regular.svg#Poppins') format('svg');
}
@font-face {
    font-family: 'Roboto Slab';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-slab-v24-latin-700.eot');
    src: local(''),
        url('../fonts/roboto-slab-v24-latin-700.eot?#iefix') format('embedded-opentype'),
        url('../fonts/roboto-slab-v24-latin-700.woff2') format('woff2'),
        url('../fonts/roboto-slab-v24-latin-700.woff') format('woff'),
        url('../fonts/roboto-slab-v24-latin-700.ttf') format('truetype'),
        url('../fonts/roboto-slab-v24-latin-700.svg#RobotoSlab') format('svg');
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 400 1em/1.4em 'Poppins', Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 820px;
    margin: 1rem auto;
    border: 1px solid #000;
    background: url('../images/bgt.jpg') no-repeat left top, url('../images/bgb.jpg') no-repeat left bottom 4.5rem, #fff;
    overflow: hidden;
    padding: 2.5rem 2rem 1rem;
}
:is(h1, h2, h3, strong) {
    font-weight: 700;
    font-family: 'Roboto Slab', Arial, sans-serif;
}
strong {
    font-size: 1.313em;
    line-height: 1.3;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 0.5rem;
}
h1, h2 {
    color: #6D6F71;
}
h1 {
    margin: 0 0 0.25rem;
    font-size: 3em;
    line-height: 1.1;
}
h1+p {
    margin: 0 0 1rem;
}
h2 {
    font-size: 1.25em;
    line-height: 1.3;
    margin-bottom: 0.125rem;
}
h3 {
    font-size: 2em;
    line-height: 1.3;
    margin-bottom: 0.25rem;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding: 0 0 0 1.5rem;
    background: url('../images/icon_bg.jpg') no-repeat 0 4px;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
.flex {
    display: flex;
    justify-content: space-between;
}
.flex p {
    text-align: justify;
    margin-bottom: 1rem;
}
.left, .right {
    width: 48%;
}
.let_spc {
    letter-spacing: -0.2px;
}
.left p:last-of-type {
    text-align-last: justify;
}
.blockm {
    display: none;
}
header {
    padding: 0 0 2.5rem;
    display: flex;
    justify-content: flex-end;
}
header figure {
    display: none;
}
.slider {
    position: relative;
    width: 496px;
    margin-left: -2rem;
}
.slider img {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    animation: imageAnimation 6s linear infinite 0s;
}
.slider img:nth-child(1) {
    position: relative;
    z-index: 1;
}
.slider img:nth-child(2) {
    animation-delay: 3s;
    z-index: 0;
}
@keyframes imageAnimation {
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
        z-index: 0;
    }
    1% {
        animation-timing-function: ease-out;
        opacity: 1;
        z-index: 1;
    }
    100% {
        opacity: 0;
        z-index: 0;
    }
}
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
footer div {
    flex: 1;
}
.apply {
    background: #90B44F;
    color: #fff;
    text-align: center;
    border: 5px solid #DCD6C9;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-transform: uppercase;
    font-size: 0.875rem;
}
.small {
    font-size: 0.938em;
    line-height: 1.3;
    margin-right: -1rem;
}
figure {
    margin: 0;
}
@media only screen and (max-width:819px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }
    .slider {
        display: none;
    }
    :is(p, li) {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    .flex p {
        text-align: left;
    }
    h1 {
        font-size: 2.5em;
        text-align: center;
    }
    h1+p {
        margin: 0 0 1rem;
    }
    .small {
        margin-right: 0;
    }
    .blockm {
        display: inline;
    }
    .hide_m {
        display: none;
    }
    .left p:last-of-type {
        text-align-last: left
    }
    header {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }
    header figure {
        display: block;
    }
    br:not(.apply br) {
        display: none;
    }
}
@media only screen and (max-width:768px) {
    .flex {
        flex-direction: column;
    }
    .left, .right {
        width: 100%;
    }
}
@media only screen and (max-width:480px) {
    #wrapper {
        padding: 1rem;
    }
    h1 {
        font-size: 2em;
    }
    footer {
        flex-direction: column;
        align-items: center;
    }
}