﻿@charset "UTF-8";
html {
  min-height: 100%;
}
body {
    position: relative;
    margin: 0px;
    height:100%;
}

article, aside, footer, header, nav, section {
    display: block;
}
figcaption, figure, main {
    display: block;
}

[type="text"] {
  border:solid 1px #808080;
}

[type="text"]:focus {
  border:solid 1px black;
}

textarea {
    resize: none;
    border:solid 1px #808080;
}

textarea:focus {
  border:solid 1px black;
}

select {
  border:solid 1px #808080;
}

select:focus {
  border:solid 1px black;
}

/* Header */
#header{
    position: relative;
    border-bottom: 3px double red;
    width: 100%;
    height: 86px;
    margin: 0 auto;
}
#header .logo{
    margin: 5px;
    width: 94px;
    height: 76px;
}

#main {
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    color: #333333;
    padding-bottom: 20px;
}

/* Footer */

.mod-footer {
  background-color: #333538;
  color: #fff;
  position: relative;
 }
.mod-footer__link-item {
  display: inline-block; }
.mod-footer__link-item a {
    display: inline-block;
    padding: 0px 10px;
    border-left: 1px solid #999a9b;
    color: #999a9b;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.2; }
.mod-footer__link-item a:hover {
    text-decoration: underline; }
.mod-footer__link-item:nth-child(2) a {
    vertical-align: baseline;
    padding: 0px 16px; }
.mod-footer__link-item:first-child a {
    vertical-align: baseline;
    border-left: none; }
.mode-footer__copyright {
  color: #999a9b;
  margin: 0;
  font-size: 11px; }

@media screen and (min-width: 1180px), print {
  .mod-footer__link-list {
    position: absolute;
    margin: 0;
    top: 36px;
    left: 30px; }
  .mod-footer {
    height: 100px;
    margin: 0;
    position: relative; }
  .mode-footer__copyright {
    position: absolute;
    margin: 0;
    right: 41px;
    top: 40px; }
}


/* h1 h2 */
h1 {
  padding-bottom: 10px;
  border-bottom: solid 3px #c00;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 2.0rem;
}
h2 {
  border-left: 5px solid #c00;
  padding-left: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
h3 {
  font-size: 1.2rem;
}

.center {
  text-align:center;
}


@media ( max-width:768px ) {
#main{
    width: 90%;
    max-width: 768px;
}
#header .logo{
    padding-left: 0px;
    width: 94px;
    height: 76px;
}
body {
    position: relative;
    margin: 0px;
    height:100%;
    font-size: 1.1em;
}
}
