@charset "utf-8";
@font-face {
    font-family: 'DK Lemon Yellow Sun';
    src: url('../fonts/DK Lemon Yellow Sun.eot');
    src: url('../fonts/DK Lemon Yellow Sun.eot?#iefix') format('embedded-opentype'), url('../fonts/DK Lemon Yellow Sun.woff') format('woff'), url('../fonts/DK Lemon Yellow Sun.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000000;
    font: 400 1em/1.3em "Segoe UI", Arial, sans-serif;
}
h1, h2, h3, h4 {
    font-family: 'DK Lemon Yellow Sun', cursive;
    font-weight: normal;
}
#wrapper {
    position: relative;
    max-width: 800px;
    margin: 1rem auto;
    border: solid 1px #000;
    background: #fff url('../images/bg.jpg') top left no-repeat;
    overflow: hidden;
    padding: 6rem 4rem 2rem;
}
p {
    padding-bottom: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
}
img {
    max-width: 100%;
    height: auto;
}
h1 {
    margin: 0 0 1rem;
    font-size: 2.25em;
    line-height: 1.1em;
}
h1 span {
    font-size: 1rem;
    line-height: 1;
}
h2 {
    font-size: 2.2em;
    line-height: 1.3em;
    color: #ED1B2F;
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}
h3 {
    font-size: 1.8em;
    line-height: 1.3em;
    transform: rotate(7deg);
    position: absolute;
    top: -3rem;
    right: 3.5rem;
    text-transform: uppercase;
}
ul {
    padding: 0 0 0.5rem;
    list-style: none;
}
li {
    padding-left: 2rem;
}
li:before {
    content: url('../images/icon1.jpg');
    float: left;
    margin-left: -2rem;
}
.bg {
    display: block;
    background: #FEC964;
    color: #EA2542;
    letter-spacing: -0.4px;
    margin-right: -0.5rem;
}
.iconcolor li:before {
    content: url('../images/icon2.jpg');
    margin-left: -3.5rem;
}
.iconcolor li {
    padding-left: 3.5rem;
}
.iconcolor .color:before {
    content: url('../images/icon3.jpg');
}
.wid {
    width: 60%;
}
header {
    padding-bottom: 4.5rem;
}
.ttl {
    padding: 0 1.25rem 25rem 1.75rem;
    width: 48%;
    position: relative;
    margin: -7.5rem 0 0 auto;
}
.ttl :is(h1, h3, h4, ul) {
    color: #fff;
}
.color {
    color: #ED1B2F;
}
article figure {
    position: absolute;
    bottom: 15.75rem;
    right: 1rem;
}
footer {
    display: flex;
    align-items: flex-end;
    gap: 0 1rem;
    justify-content: flex-end;
    margin-top: -6.75rem;
}
footer p {
    text-transform: uppercase;
    color: #fff;
    padding-bottom: 0.5rem;
}
@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 0;
        background-image: none;
    }
    p {
        -moz-hyphens: auto;
        -o-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
    p :is(span, a) {
        display: inline-block;
    }
    h1 {
        margin: 1rem 0;
    }
    h3 {
        padding: 0 0.5rem;
        width: fit-content;
        margin: 0 auto 0.5rem;
        background: #F0505B;
        position: static;
        transform: none;
    }
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1rem;
        padding: 1rem;
    }
    .ttl {
        padding: 1rem 1rem 0.5rem;
        background: #FECA74;
        width: auto;
        margin: 0 0 1rem;
    }
    .wid {
        width: auto;
    }
    li br, .hide_m {
        display: none;
    }
    article {
        padding: 0 1rem 1rem;
    }
    article figure {
        position: static;
        display: flex;
        justify-content: center;
    }
    footer {
        padding: 1rem;
        margin: 0;
        background: #F0505B;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
}