@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v40-latin-regular.eot');
    src: url('../fonts/open-sans-v40-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-regular.woff') format('woff'), url('../fonts/open-sans-v40-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v40-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-v40-latin-700.eot');
    src: url('../fonts/open-sans-v40-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v40-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v40-latin-700.woff') format('woff'), url('../fonts/open-sans-v40-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v40-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-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 1rem;
}

:is(h1, h2, h3, h4, h5, strong) {
    font-weight: 700;
}

h1 {
    font-size: 1.5rem;
    margin: 1.25rem 0 5rem
}

h1 span {
    font-size: 1.25rem;
}

h2 {
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

h3 {
    font-size: 1.125rem;
    margin: 0 0 .625rem;
    line-height: 1;
}

h4 {
    font-size: 1.125rem;
    margin: 0;
}

h5 {
    background: #933833;
    width: fit-content;
    padding: .625rem;
    line-height: 1;
    color: #fff;
    font-size: 1.375rem;
    font-weight: normal;
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    position: relative;
    overflow: hidden;
}

h5:before {
    content: "";
    position: absolute;
    width: .875rem;
    height: 1.5rem;
    background: #EBEBEB;
    top: -.5rem;
    left: -.25rem;
    transform: rotate(45deg);
}

ul {
    list-style: none;
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

ul li {
    padding-left: 1.875rem;
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: .812rem;
    height: .937rem;
    background: url(../images/list.png) no-repeat;
    background-size: contain;
    margin-left: -1.875rem;
    top: .312rem;
}

ul ul li {
    padding-left: 1rem;
}

ul ul li:before {
    content: "\2010";
    position: static;
    background: none;
    margin-left: -1rem;
    line-height: 1.3;
}

header {
    padding: 3.125rem 1.875rem .937rem;
}

.header_box {
    background: #EBEBEB;
    padding: .937rem .937rem .937rem 1.562rem;
    position: relative;
    border-top-left-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.header_box:before {
    content: "";
    position: absolute;
    width: 4.375rem;
    height: .312rem;
    background: transparent;
    border-bottom: .125rem dotted #fff;
    transform: rotate(-45deg);
    top: 1.25rem;
    left: -.625rem;
    z-index: 100;
}

.logo_box {
    width: 12.812rem;
    background: #fff;
    display: block;
    padding: 1.25rem;
    border-top-left-radius: 1.25rem;
    border-bottom-left-radius: 1.25rem;
    border-bottom-right-radius: 1.25rem;
    overflow: hidden;
}

.img {
    display: block;
    border-radius: 100%;
    margin: -6.25rem auto 0;
    position: relative;
}

article {
    padding: 0 3.75rem;
}

.box {
    margin: 2.5rem 0;
}

.box p {
    margin: 0 0 .25rem
}

.margin {
    margin: 3.75rem 0
}

.padding {
    margin: 3.75rem 0;
}

a.apply {
    color: #0000FF;
    text-decoration: underline;
}

.small {
    font-size: .812rem;
    text-align: center;
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 3.125rem 1.875rem 1.25rem;
}

.left,
.right {
    width: 50%;
}

.red {
    background: #933833;
    width: 1.875rem;
    height: 1.25rem;
}

.right {
    display: flex;
    justify-content: flex-end;
    column-gap: .312rem;
}

.blue {
    background: #244E96;
    width: 8.125rem;
    height: 1.25rem;
}

.green {
    background: #66B18C;
    width: 5.625rem;
    height: 1.25rem;
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    .img {
        margin: -3.125rem auto 0;
    }

    p {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1.25rem;
    }

    ul br {
        display: none;
    }
}

@media only screen and (max-width: 48rem) {
    header {
        padding: 0;
    }

    article {
        padding: 0 1.25rem;
    }

    footer {
        padding: 0
    }

    .box {
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 43.75rem) {
    h2 {
        margin: 0 0 1rem;
    }

    h1 {
        margin: 1.25rem 0;
        line-height: 1.1
    }

    h3 {
        margin: 0 0 .625rem;
    }

    ul {
        margin: 0 0 1rem;
    }

    .margin {
        margin: 1rem 0;
    }

    .img {
        margin: .625rem auto 1rem;
    }
}

@media only screen and (max-width: 37.5rem) {
    .header_box {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .header_box:before {
        display: none;
    }

    h5 {
        margin: 1rem 0 0
    }

    h1,
    h2 {
        text-align: center;
    }

    article {
        padding: 0;
    }

    .nobr {
        display: none;
    }
}

@media only screen and (max-width:30rem) {

    h1,
    h2 {
        text-align: center;
    }

    h5 {
        text-align: center;
        font-size: 1.187rem;
    }
}