@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font-family: Arial, sans-serif;
    font-size: 1em;
    line-height: 1.3;
}
#wrapper {
    position: relative;
    max-width: 638px;
    min-width: 250px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #fff;
    overflow: hidden;
    padding: 1rem 1rem 1rem 3.375rem;
}
p {
    padding-bottom: 0.75rem;
}
h1 {
    margin: 0 0 0.5rem;
    font-size: 1.692em;
    line-height: 1.1;
}
h1 span {
    font-size: 0.7em;
}
h2 {
    font-size: 1.5em;
    line-height: 1;
    margin-bottom: 0.375rem;
    font-family: "Dancing Script", cursive;
    width: fit-content;
    background-color: #5E4DA0;
}
h3 {
    font-size: 1.58em;
    line-height: 1.3em;
}
h4 {
    font-size: 1.125em;
    line-height: 1.3em;
}
h4 + p {
    padding-bottom: 0;
}
h4 + p > strong {
    font-size: 1.05em;
}
h2, h3, h4, ul li:before {
    color: #fff;
}
a {
    color: #000;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}
ul {
    padding: 0 0 1.5rem;
    list-style: none;
}
li {
    padding-left: 1rem;
}
ul li:before {
    content: "\25A0";
    display: inline-block;
    font-size: 1.2em;
    position: relative;
    float: left;
    margin-top: -5px;
    margin-left: -1rem;
}
header {
    padding: 0 0 2.125rem;
    display: flex;
    justify-content: flex-end;
}
header > img {
    position: absolute;
    left: 1rem;
    top: 6.875rem;
}
main {
    background-color: #FECA0A;
    padding: 0 2.25rem 2rem;
}
figure {
    margin: 0 -2.25rem 0.75rem;
}
.pl {
    padding-left: 6.625rem;
    margin-left: -4.625rem;
    background: url('./arrow.png') no-repeat top 5px left;
}
.pl p {
    font-size: 1.188em;
    line-height: 1.3em;
    padding-bottom: 1.5rem;
}
.pl p span {
    display: inline-block;
    background-color: #fff;
    font-size: 1.125em;
}
footer {
    display: flex;
    justify-content: space-between;
    padding-right: 1rem;
}
@media only screen and (max-width: 637px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        height: auto;
        padding: 1rem;
    }
    header > img {
        position: static;
    }
    header {
        justify-content: center;
        align-items: center;
        gap: 1rem 1.5rem;
    }
    main {
        padding: 0 1rem 1rem;
    }
    figure {
        display: flex;
        justify-content: center;
        margin: 0 -1rem 1rem;
    }
    .pl {
        background: unset;
    }
    footer {
        padding-right: 0;
    }
}
@media only screen and (max-width: 540px) {
    footer {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    footer :is(h4, p) {
        text-align: center;
    }
}
@media only screen and (max-width: 480px) {
    header {
        flex-direction: column;
    }
    h3 {
        font-size: 1.3em;
        line-height: 1.2em;
    }
    .pl {
        margin-left: 0;
        padding-left: 0;
    }
}