@charset "utf-8";
:root {
  font-size: 16px;
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  min-height: 100%;
}
body {
  color: #000;
  font: 1.25em/1.3em Arial, sans-serif;
}
#wrapper {
  position: relative;
  max-width: 600px;
  min-width: 250px;
  margin: 1rem auto;
  border: solid 1px #000;
  background-color: #fff;
  overflow: hidden;
  padding: 0;
}
p {
  padding-bottom: 1rem;
}
h1 {
  margin: 0;
  font-size: 1.2em;
  line-height: 1.1em;
  padding-left: 1.75rem;
}
h1 span {
  font-size: 0.7em;
  font-weight: normal;
  display: block;
}
h1:before {
  content: url('iconlist.png');
  float: left;
  margin: 0px 0 0 -1.75rem;
}
a {
  color: #EF4130;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.ttl {
  padding: 1rem 1rem 1rem 2rem;
  border-radius: 0 1rem 1rem 0;
  background: rgba(255, 255, 255, 0.8);
  margin: 0 0 1rem;
  width: fit-content;
}
article {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

article > p {
    text-align: center;
}
footer {
  padding: 0.375rem 0.5rem 0.5rem;
  background: #CE224A;
  width: fit-content;
  position: absolute;
  bottom: 1rem;
  right: 2rem;
}
footer p {
  text-align: center;
  color: #fff;
  padding-bottom: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.3;
}
@media only screen and (max-width:599px) {
  #wrapper {
    border: none;
    margin: 0 auto;
  }
  p {
    text-align: left;
  }
  article {
    position: static;
  }
  .ttl {
    padding: 1rem;
  }
  p br {
    display: none;
  }
  footer {
    position: static;
    margin: 1rem auto;
  }
}