@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #00316c;
    font: 400 1em/1.6em Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 960px;
    margin: 1rem auto;
    border: 1px solid #00316c;
    background: #fff;
    overflow: hidden;
    padding: 3rem 3rem 2rem;
}
:is(h1, h2, strong) {
    font-weight: 700;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
p {
    padding-bottom: 1rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 2.3em;
    line-height: 1.3;
    color: #f1b300;
}
h1 span {
    font-size: 0.5em;
}
.hl {
    font-size: 1.6em;
    line-height: 1.1;
}
h2 {
    font-size: 1.125em;
    line-height: 1.3;
    background: #F1B300;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    padding: 5px 10px;
    width: fit-content;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding: 0 0 0.25rem 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;
}
.logo {
    display: flex;
    justify-content: flex-end;
}
.title {
    position: absolute;
    left: 3rem;
    top: 2.5rem;
}
.width {
    width: 479px;
}
.text {
    position: relative;
}
.text:before {
    content: "";
    shape-outside: polygon(0 0, 165px 0, 0 98px);
    width: 366px;
    height: 95px;
    float: right;
}
header figure {
    position: absolute;
    right: 0;
    top: 12rem;
}
article figure {
    margin: 4rem -3rem 3rem;
}
footer {
    padding: 1rem 0 0;
    border-top: 1px solid #f1b300;
    display: flex;
    justify-content: space-between;
    gap: 0 0.5rem;
    flex-wrap: wrap;
}
.flex {
    display: flex;
    gap: 0 1rem;
}
@media only screen and (max-width:959px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    :is(p, li) {
        hyphens: auto;
    }
    p a, span {
        display: inline-block;
    }
    header figure, .logo {
        position: static;
        display: flex;
        justify-content: center;
        margin-bottom: 1rem;
    }
    .title {
        position: static;
    }
    .width {
        width: auto;
    }
    .text:before, .hide_m, h1 br {
        display: none;
    }
}
@media only screen and (max-width:780px) {
    #wrapper {
        padding: 2rem;
    }
    article figure {
        margin: 2rem -2rem;
    }
}
@media only screen and (max-width:480px) {
    #wrapper {
        padding: 1rem;
    }
    article figure {
        margin: 1rem -1rem;
    }
    h1{
        font-size: 1.8em;
    }
    h1 span{
        font-size: 0.7em;
    }
}