@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: .937rem;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid .062rem #000;
    padding: 0 4.375rem;
}

a {
    color: #0495C5;
    text-decoration: underline;
}

p {
    margin: 0 0 .625rem;
}

.title {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
    column-gap: 1rem;
}

h1 {
    font-size: 1rem;
    color: #30BCD6;
    line-height: 1.2;
    margin: 0;
}

h1 span {
    font-weight: normal;
    font-size: .875rem;
}

h2 {
    font-size: 1.062rem;
    color: #00ADCC;
    margin: .937rem 0;
}

h3 {
    margin: 1.875rem 0 .937rem;
    font-size: 1.062rem;
    color: #00ADCC;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    padding-left: 2.312rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.25rem;
    line-height: 1;
}

ul:nth-of-type(4) p {
    margin: 1.562rem .937rem;
}

header img:nth-of-type(1) {
    margin: 2.5rem 0 0;
}

header > img {
    display: block;
}

article p {
    text-align: justify;
}

.button a {
    display: block;
    background: #00ADCC;
    opacity: 0.9;
    color: white;
    text-decoration: underline;
    font-size: 1rem;
    font-weight: bold;
    min-width: 25%;
    padding: .625rem .625rem;
    width: .312rem;
    text-align: center;
    margin: 1.875rem 0;
}

footer p span {
    color: #00ADCC
}

footer {
    display: block;
    line-height: 1.3
}

.tel {
    text-decoration: none
}

section {
    display: flex;
    column-gap: 12.25rem;
    align-items: flex-end
}

section p:last-of-type {
    width: 36%;
}

section p a {
    font-weight: normal;
}

p a {
    white-space: nowrap;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        font-size: .875rem;
    }

    h1 {
        font-size: 1.062rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: center;
    }

    h2,
    h3 {
        font-size: .937rem;
        margin: 1.25rem 0 .625rem
    }

    .title,
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    small {
        word-spacing: 0;
    }

    ul li {
        padding-left: 1.375rem;
    }

    ul:nth-of-type(4) p {
        margin: 0;
    }

    header img {
        margin-bottom: 1.25rem;
    }

    article p {
        text-align: left;
    }

    .button a {
        display: inherit;
        width: fit-content;
    }

    header img:nth-of-type(1) {
        margin: 0 0 .625rem;
    }

    footer {
        margin-top: 1.875rem;
    }

    section {
        display: block;
    }

    section p:last-of-type {
        width: 100%;
    }

    br:not(header br) {
        display: none;
    }

}

@media only screen and (max-width: 23.438rem) {

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}
