.clearfix:after {
  content: ".";
  clear: both;
  display: block;
  height: 0;
  font-size: 0;
}

br {
  letter-spacing: 0;
}

html {
  height: 100%;
  min-width: 320px;
}

body, td, th {
//  font-family: YuMincho, '游明朝', serif;
//  font-family: Meiryo, "游ゴシック体", "Yu Gothic", YuGothic, sans-serif;
  font-family: 'Noto Sans JP', sans-serif;
}

body {
  background-color: #f6f6f3;
  background-image: url('/mskenshu/shanai_seminar/common/images/bg.png');
  background-position: top center;
  background-size: 100% 41px;
  background-repeat: no-repeat;
}

header {
  width: 100%;
  margin 0: ;
  padding-top: 90px;
  text-align: center;
}

header img.portrait {
 width: 80%;
// margin-left: -3%;
}

header img.landscape {
  display: none;
}

footer {
  width: 100%;
  margin-top: 30px;
  padding: 30px 0;
  line-height: 1.5em;
  text-align: center;
}

#footer-contact {
  padding-bottom: 15px;
}

#footer-logo {
  margin-top: 1em;
}

button,
input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}

a.button,
a.submit-button,
input[type=submit] {
  display: inline-block;
  width: auto;
  padding: 0.7em 2em;
  margin: 0 0.3em;
  text-align: center;
  vertical-align: bottom;
  color: #ffffff;
  background-color: #aaaaaa;
  line-height: 1em;
  font-size: 18px;
  text-decoration: none;
  border-radius: 1.7em;
}

a.button:hover,
a.submit-button:hover,
input[type=submit]:hover {
  cursor: pointer;
  opacity: 0.7;
}

a.submit-button,
input[type=submit] {
  background-color: #b60015;
}

@media screen and (min-width: 480px), print{
header img.portrait {
  display: none;
}

header img.landscape {
  display: inline-block;
  width: 420px;
}

#footer-contact p {
  display: inline-block;
  margin: 0 0.5em;
}
}

@media screen and (min-width: 900px), print{
header img.landscape {
  display: inline-block;
  width: 500px;
}
}
