@charset "utf-8";

:root {
    font-size: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #2F5496;
    font-family: "Arial", sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    background: #EBF0F0
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    border: 0.0625rem solid #000;
    background: #fff url(../images/top_bg.png) no-repeat top right;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #0563C1;
    text-decoration: underline;
    white-space: nowrap;
}

a.tel {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 1.375rem;
    margin-top: 1rem;
    line-height: 1;
}

h2 {
    font-size: 0.875rem;
    text-decoration: underline;
}

h3 {
    font-size: 1.1rem;
}

h3 span {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
}

h4 {
    font-size: 1.1rem;
    color: #BF678E;
    text-align: center;
}

p {
    margin-bottom: 1rem;
}

ul {
    margin: 0.5rem 0 1rem 1.3rem;
    list-style-type: none;
    hyphens: auto;
}

ul li {
    background: url(../images/bullet.jpg) no-repeat left top;
    padding: 0 0 0 1.75rem;
    text-align: justify;
    hyphens: auto;
}

.logo {
    margin: 1.875rem;
    display: none;
}

.title {
    position: relative;
    margin-bottom: 0.625rem;
}

.text {
    position: absolute;
    top: 4.375rem;
    left: 11%;
}

.margin-left {
    margin-left: 5rem;
}

article {
    padding: 0 2rem 3rem;
}

.content {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0 0;
}

section,
aside {
    width: 50%;
}

aside {
    background: url(../images/aside-bg.png) no-repeat center top;
    background-size: cover;
    padding: 4rem 1rem 2rem;
    margin-bottom: 4rem;
    position: relative;
}

aside h3,
aside h4 {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

aside p {
    font-size: 0.975rem;
    text-align: justify;
    hyphens: auto;
}

.margin-top {
    margin-top: 4rem;
}

.bubbles {
    position: absolute;
    bottom: 15.625rem;
    left: 0.3125rem;
}

.cartoon {
    position: absolute;
    top: -3.125rem;
    right: -1.875rem
}

.cartoon1 {
    position: absolute;
    bottom: -5rem;
    left: -1rem;
}

.cartoon2 {
    position: absolute;
    bottom: -5.625rem;
    left: 8.75rem;
}

.cartoon3 {
    position: absolute;
    bottom: -3.75rem;
    right: -2.5rem
}

.cartoon4 {
    position: absolute;
    top: -45px;
    right: -2.5rem;
    transform: rotate(18deg);
width: 80px;
}


.respons {
    display: none;
}

@media only screen and (max-width: 49.9375rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    ul {
        margin: 0.5rem 0 1rem 0;
    }

    aside p,
    ul li {
        text-align: left;
    }

    h1 {
        line-height: 1.4;
        margin: 0 0 0.3125rem;
    }

    article {
        padding: 0 1rem
    }

    .title {
        background: #D1D8EA;
        padding: 1rem 0;
        text-align: center;
    }

    .margin-left {
        margin-left: 0;
    }

    .title > img {
        display: none;
    }

    .text {
        position: static;
        margin-left: 0;
    }

    .title h3 {
        font-size: 1rem;
    }

    .cartoon,
    .cartoon1,
    .cartoon2,
    .cartoon3,
    .cartoon4,
    .bubbles {
        display: none;
    }

    .logo {
        display: block;
        margin: 1rem auto;
    }
}

@media only screen and (max-width: 47.3125rem) {
    .bubbles {
        bottom: 22rem;
        right: 17.5rem;
        width: 7%;
    }
}

@media only screen and (max-width: 43.75rem) {
    .normal {
        display: none;
    }

    .respons {
        display: block;
        background: url(../images/aside-bg.png) no-repeat center top;
        background-size: 100%;
        padding: 1rem;
        text-align: center;
        margin: 0 1rem 1rem
    }

    .margin-left {
        margin-left: 0;
    }

    .content {
        flex-direction: column-reverse;
    }

    section,
    aside {
        width: 100%;
    }

    aside {
        padding: 1rem;
        margin: 0;
    }
}

@media only screen and (max-width: 41.875rem) {
    .logo {
        margin: 1rem auto;
        display: block;
        padding: 1rem;
    }

    .text {
        padding: 0 1rem;
    }

    #wrapper {
        background-image: none;
    }
}