@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #3a434f;
    font-family: "Arial", sans-serif;
    font-size: .875rem;
    line-height: 1.5;
    background: rgba(239, 239, 239, 1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    font-weight: 400;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #0064aa;
    text-decoration: underline;
    white-space: nowrap;
}

a.tel {
    text-decoration: none;
    color: inherit;
}

h1 {
    font-size: 1rem;
    margin: 1rem 0 0;
}

h2 {
    font-size: 1rem;
    line-height: 1.3;
    color: #0064aa;
    padding: .5rem 0.938rem;
    background-color: #f5f5f5;
    border-bottom: .062rem solid #DCDFE2;
}

p {
    margin: 0 0 .625rem;
}

section div *:last-child {
    margin: 0;
}

ul {
    margin: 0 0 .625rem;
    padding-left: 1.875rem;
}

.slider {
    position: relative;
}

.slider>img {
    border-radius: .187rem;
    border: .062rem solid #DCDFE2;
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: imageAnimation 18s linear infinite 0s;
}

.slider>img:nth-of-type(1) {
    position: static;
    opacity: 1;
}

.slider>img:nth-of-type(2) {
    animation-delay: 6s;
}

.slider>img:nth-of-type(3) {
    animation-delay: 12s;
}

@keyframes imageAnimation {
    4% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }
}

section {
    border: .062rem solid #DCDFE2;
    margin: .75rem 0;
    border-radius: .25rem;
    background: #fff;
}

section div {
    padding: .75rem 0.938rem;
}

a.btn {
    width: 50%;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 3px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    color: #ffffff;
    background-color: #7aae1a;
    text-decoration: none;
}

a.btn:hover {
    background-color: #6a9817;
}

header section {
    margin: 0 0 .75rem;
    background-color: #fff;
    padding: 1.5rem 0.938rem;
    display: flex;
}

footer {
    padding: .75rem;
    display: flex;
    justify-content: center;
}

.iframe-wrapper {
    border-radius: .25rem;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media only screen and (max-width: 49.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: .75rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}

@media only screen and (max-width: 30rem) {
    header section {
        justify-content: center;
    }

    ul {
        padding-left: 1rem;
    }

    a.btn {
        width: 70%;
    }
}