@charset "utf-8";

:root {
   font-size: 16px;
}

* {
   box-sizing: border-box;
   margin: 0;
}

html {
   min-height: 100%;
}

body {
   color: #000;
   font: 1.5em/1.3em Arial, sans-serif;
}

#wrapper {
   position: relative;
   max-width: 590px;
   margin: 1rem auto;
   border: solid 6px #5686C5;
   background-color: #fff;
   overflow: hidden;
   padding: 1rem 1rem 0;
}

p {
   padding-bottom: 1.25rem;
   text-align: justify;
}

h1 {
   margin: 0 0 0.7rem;
   font-size: 1.55em;
   line-height: 1.1em;
   text-align: center;
}

h1 span {
   font-size: 0.73em;
   font-weight: 400;
   display: block;
}

p span {
   display: inline-block;
}

:is(a:link, a:visited, a:hover, a:active) {
   color: inherit;
   text-decoration: none;
}

img {
   max-width: 100%;
   height: auto;
}

header {
   padding: 0 0 0.5rem;
   display: flex;
   justify-content: center;
}

article {
   position: relative;
}

.qr {
   position: absolute;
   bottom: 0.7rem;
   right: 0.7rem;
}

.mail {
   padding-bottom: 0.7rem;
   color: #0E67AE;
   text-decoration: underline;
   font-size: 1.125em;
   line-height: 1.3;
}

.font {
   font-size: 0.875em;
   line-height: 1.3;
}

.contact {
   font-size: 0.938em;
   line-height: 1.3;
}

footer p {
   padding: 0.5rem 1rem;
   margin: 0 -1rem;
   color: #fff;
   background-color: #5686C5;
   font-size: 1.063em;
   line-height: 1.3;
   text-align: center;
}

footer p a {
   font-size: 1.188em;
   line-height: 1.3;
}

@media only screen and (max-width: 589px) {
   body {
      font-size: 1em;
      line-height: 1.4;
   }

   #wrapper {
      border: none;
      margin: 0 auto;
   }

   p {
      text-align: left;
   }

   .qr {
      right: 1rem;
   }

   .hide_m {
      display: none;
   }

 
}

@media only screen and (max-width: 480px) {
   .qr {
      position: static;
      display: flex;
      justify-content: center;
      padding-bottom: 0.75rem;
   }

   footer p,
   footer p a {
      font-size: 1.1em;
   }
}
