@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid .062rem #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    white-space: nowrap;
}

a.web:hover {
    color: #009ee0;
}

p {
    margin: 0 0 .625rem;
}

p span {
    white-space: nowrap;
}

.weight {
    font-weight: normal;
    white-space: normal;
    display: block;
    line-height: 1.3
}
h1 span {
    font-weight: normal
}
.center {
    text-align: center;
    margin: 0 0 1.875rem;
}

h1 {
    text-align: center;
    line-height: 1.8;
    margin: 2.187rem 0;
    font-size: 1.437rem;
}

h2 {
    font-size: 1.875rem;
    color: #3B9CDE;
}

h3 {
    color: #009ee0;
    margin: .625rem 0;
    font-size: 1.125rem;
}

h4 {
    font-size: 1.75rem;
    color: #333;
    margin: 0 0 1rem;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 2.375rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

hr {
    border-top: none;
    border-bottom: .062rem solid #000;
    margin: 1.562rem 0;
}

header {
    padding: 1.25rem;
    display: flex;
}

.image {
    position: relative;
    margin: 0 0 5rem;
}

.flex {
    background: #CBE2F1;
    padding: .625rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: fit-content;
    position: absolute;
    bottom: -2.1875rem;
    left: 30%;
    transform: translate (-50%)
}

article {
    padding: 0 1.875rem;
}

.border {
    border: .125rem solid #fabb00;
    margin: 1.25rem 0;
    padding: 1.25rem;
}

footer {
    padding: 0 1.875rem;
}

.mail p {
    color: #009EE0;
    font-size: 1.5625rem;
    margin: 1.25rem 0;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    
    h1 span  {
        hyphens: auto;
        display: inline;
        white-space: pre-wrap
    }

    a.web {
        white-space: pre-wrap;
    }

    span {
        white-space: nowrap;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem
    }
}

@media only screen and (max-width: 46rem) {
    h1 {
        font-size: 1.25rem;
        line-height: 1.3
    }

    h2 {
        position: static;
        justify-content: center;
        font-size: 1.437rem;
    }

    header {
        justify-content: center;
    }

    .image {
        margin: 0 0 .625rem;
    }

    h1,
    .center {
        margin: 1.25rem 0;
    }

    h3 {
        font-size: 1.062rem;
        margin: 0 0 .5rem;
    }

    .flex {
        position: static;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        width: 100%;
    }

    article {
        padding: 0 1rem;
    }

    .border {
        margin: 0;
        padding: 1rem 1rem 0;
    }

    footer {
        padding: .625rem 1rem 1rem;
    }

    footer p,
    h4 {
        text-align: center;
    }

    .mail p {
        font-size: 1.125rem;
        margin: 0.625rem 0;
    }
}

@media only screen and (max-width: 31.187rem) {
    ul li {
        padding-left: 1.375rem;
    }
}
