@charset "utf-8";
:root {
  font-size: 16px;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  min-height: 100%;
}
body {
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1em;
  line-height: 1.3em;
}
#wrapper {
  position: relative;
  max-width: 800px;
  min-width: 250px;
  margin: 1rem auto;
  border: solid 1px #000;
  background-color: #fff;
  overflow: hidden;
  padding: 0;
}
p {
  padding-bottom: 1rem;
}
h1 {
  margin: 0 0 1rem;
  font-size: 1.25em;
  line-height: 1.3;
}
h1 span {
  font-size: 0.7em;
}
h2 {
  font-size: 1em;
  line-height: 1.3em;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1em;
  line-height: 1.3em;
  font-weight: normal;
}
h4 {
  font-size: 1.0625em;
  line-height: 1.3em;
  margin-bottom: 1rem;
  font-style: italic;
}
a {
  color: inherit;
  text-decoration: none;
}
h4, ins {
  color: #2D74B5;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}
ul {
  padding: 0 0 1rem;
  list-style: none;
}
li {
  padding-left: 3rem;
}
li ins {
  color: #000000;
}
ul li:before {
  content: "\01F5F8";
  display: inline-block;
  font-size: 1.000em;
  position: relative;
  float: left;
  top: -1px;
  margin-left: -1.5rem;
}
.icon li:before {
  content: "\2B9A";
}
@-webkit-keyframes slidy {
0% { left: 0%; }
12.5% { left: 0%; }
25% { left: -100%; }
37.5% { left: -100%; }
50% { left: -200%; }
62.5% { left: -200%; }
75% { left: -300%; }
87.5% { left: -300%; }
100% { left: -400%; }
}

@keyframes slidy {
0% { left: 0%; }
12.5% { left: 0%; }
25% { left: -100%; }
37.5% { left: -100%; }
50% { left: -200%; }
62.5% { left: -200%; }
75% { left: -300%; }
87.5% { left: -300%; }
100% { left: -400%; }
}
header { overflow: hidden; }
header figure img { width: 20%; float: left; }
header figure { 
  position: relative;
  width:500%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  -webkit-animation-name:slidy;
  -webkit-animation-duration: 20s;
  -webkit-animation-delay: 3s;
  -webkit-animation-iteration-count: infinite;
  animation: 20s slidy infinite; 
}
article {
  padding: 2rem 4rem;
}
.flex {
  font-weight: bold;
  justify-content: space-between;
  flex-wrap: wrap;
  display: flex;
  gap: 0 0.25rem;
}
.flex span:nth-of-type(2n) {
  width: calc(100% - 67px);
  display: block;
}
.color {
  color: #2D74B5;
  font-weight: bold;
}
.adr {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.width {
  width: 163px;
  display: inline-flex;
}
footer p {
  padding: 0.5rem 2rem;
  background: #959595;
  color: #fff;
}
.right {
  float: right;
}
@media only screen and (max-width:799px) {
  #wrapper {
    border: none;
    margin: 0 auto;
  }
  p {
    text-align: left;
  }
  .right {
    float: none;
  }
  article {
    padding: 1rem;
  }
  li {
    padding-left: 1.5rem;
  }
  footer p {
    padding: 0.5rem 1rem;
  }
}
@media only screen and (max-width: 480px) {
  body {
    font-size: 0.875em;
    line-height: 1.3;
  }
  .width {
    width: 144px;
  }
}
@media only screen and (max-width: 400px) {
  .width {
    width: auto;
  }
}