@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.3 Verdana, Arial, sans-serif;
}
#wrapper {
    position: relative;
    max-width: 770px;
    margin: 1rem auto;
    border: solid 1px #000;
    background-color: #D9D9D9;
    overflow: hidden;
}
p {
    padding: 0 1rem 1rem 0;
}
h1 {
    margin: 0 0 1.75rem;
    font-size: 1em;
    line-height: 1.3;
    font-weight: 400;
    width: 78%;
}
h1 > span {
    font-weight: 700;
}
h1 span span {
    display: inline-block;
}
h2 {
    font-size: 1em;
    line-height: 1.3em;
    margin-bottom: 1rem;
}
:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}
img {
    max-width: 100%;
    height: auto;
}
ul {
    padding: 0 0 1rem;
    list-style: none;
}
li {
    padding-left: 3rem;
}
ul li:before {
    content: "\2022";
    float: left;
    margin: -1px 0 0 -1.5rem;
}
@-webkit-keyframes slidy {
0% { left: 0%; }
18% { left: 0%; }
36% { left: -100%; }
54% { left: -100%; }
62% { left: -200%; }
85% { left: -200%; }
100% { left: -300%; }
}

@keyframes slidy {
0% { left: 0%; }
18% { left: 0%; }
36% { left: -100%; }
54% { left: -100%; }
62% { left: -200%; }
85% { left: -200%; }
100% { left: -300%; }
}
header { overflow: hidden; }
header figure img { width: 25%; float: left; }
header figure { 
  position: relative;
  width:400%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  -webkit-animation-name:slidy;
  -webkit-animation-duration: 30s;
  -webkit-animation-delay: 5s;
  -webkit-animation-iteration-count: infinite;
  animation: 30s slidy infinite; 
}
main {
    padding: 2rem;
    position: relative;
}
.logo {
    position: absolute;
    right: 1rem;
    top: 1rem;
}
h1 > span, h2, p strong {
    color: #385E9F;
}
.flex {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    margin-right: -1rem;
}
@media only screen and (max-width: 769px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    .logo {
        position: static;
        display: flex;
        justify-content: center;
        padding-bottom: 1rem;
    }
    .hide_m {
        display: none;
    }
    .flex {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .flex div {
        width: 100%;
    }
    p span {
        display: inline-block;
    }
    h1 {
        width: auto;
    }
}
@media only screen and (max-width: 480px) {
    main {
        padding: 1rem;
    }
    li {
        padding-left: 1.25rem;
    }
    ul li::before {
        margin-left: -1.25rem;
    }
}