body {
    background-image: url("../images/sitebkg-sp.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}


header {
    display: block;
    max-width: 2560px;
    height: 223px;
    margin: 0 auto;
    background-image: url("../images/nomenu2-sp.png");
    background-position: center;
    background-repeat: no-repeat;
}


header > img {
    max-width: 100%;
}


section {
    display: block;
    width: 100%;
    margin: 0 auto;
}

footer {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

section#offer {
    background-color: #a21f00;
    -webkit-box-shadow: 0px 10px 28px -5px rgba(11,59,90,0.6); 
    box-shadow: 0px 10px 28px -5px rgba(11,59,90,0.6);
}


p {
    font-size: 0.8em;
    line-height: 2em;
    letter-spacing: 0.1em;
    text-align: center;
    font-weight: 400;
}


section > article {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    padding-bottom: 40px;
}

div.panel {
    display: block;
    width: 100%;
}
div.panel > img {
    display: block;
    max-width: 75%;
    margin: 0 auto;
}

div.tiles {
    max-width: 380px;
    min-width: 320px;
    margin: 10px;
}


div.tiles > div {
    display: block;
    height: 57px;
    width: 100%;
    background-color: #a21f00;
}


div.tiles > div > img {
    background-color: #a21f00;
    float: left;
    padding-right: 25px;
}


div.tiles > div > h3 {
    display: block;
    float: left;
    line-height: 57px;
    vertical-align: center;
    color: #fff;
    height: 57px;
    font-size: 1em;
    letter-spacing: 0.1em;
}

div.tiles > p {
    color: #fff;
    display: block;
    padding: 30px;
    background-color: #030101;
    text-align: center;
}


div.middle {
    width: 100%;
    margin-top: 3em;
    margin-bottom: 3em;
}


.middle {
    display: block;
    margin: 0 auto;
    text-align: center;
}


h2.middle {
    color: #030101;
    font-size: 2.5em;
    font-weight: bolder;
}

h2#contact-name {
    color: #a21f00;
}
p.middle {
    color: #FFF;
}

div.side-by-side {
    width: 50%;
}


div.three-col {
    width: 33%;
    -webkit-box-shadow: 0px 10px 28px -5px rgba(11,59,90,0.6); 
    box-shadow: 0px 10px 28px -5px rgba(11,59,90,0.6);
    margin-bottom: 4em;
}


div.side-by-side > p {
    display: block;
    margin: 0 auto;
    text-align: left;
    color: #FFF;
}

section#offer > article > div > p {
    font-size: 1em;
}


div#contact-data {
    background-color: #a21f00;
}

div#contact-data > div {
    display: block;
    width: 100%;
    padding: 3em;
    box-sizing: border-box;
}

div#contact-data > div > p {
text-align: left;
color: #FFF;
}

div#form-field {
    background-color: #FFF;
}

div#form-field > div {
    display: block;
    width: 100%;
    padding: 2em;
    box-sizing: border-box;
}


input[type=text] {
  display: block;
  width: 100%;
  padding: 0.6em 1em;
  margin: 8px 0;
  box-sizing: border-box;
  border-style: solid;
  border-width: 2px;
  border-color: #ff3624;
  color: #ff3624;
}

textarea {
    display: block;
    width: 100%;
    height: 12em;
    padding: 0.6em 1em;
    margin: 8px 0;
    box-sizing: border-box;
    border-style: solid;
    border-width: 2px;
    border-color: #ff3624;
    color: #ff3624;
}

input[type=submit] {
  display: block;
  padding: 1em 2em;
  margin: 1em auto;
  box-sizing: border-box;
  border: none;
  background-color: #a21f00;
  color: #ffffff;
}

img#map {
    max-width: 100%;
    height: 100%;
}

div.three-col > div > h4 {
    color: #a21f00;
    font-size: 0.8em;
    text-align: center;
}

a:link {
  color: #fff;
  text-decoration: none;
}

a:visited {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #ff3624;
  text-decoration: none;
}

a:active {
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 1280px) {
    section > article { max-width: 810px; }
    div.side-by-side { width: 100%; }
    div.side-by-side > p { text-align: center; }
    div.three-col { width: 50%; -webkit-box-shadow: none; box-shadow: none; margin-bottom: 0px; }
    div#mapcontainer { width: 100%; background-color: #FFF; margin-bottom: 4em; }
    img#map { display: block; margin: 0 auto; }
}

@media screen and (max-width: 830px) {
    section > article { max-width: 390px; }
    div.three-col { width: 100%; }
    div#mapcontainer { width: 100%; background-color: #FFF; margin-bottom: 0; }
    img#map { display: block; margin: 0 auto; }
}
