@charset "utf-8";
/* お問い合わせ(contact/)のスマートフォン表示。フォーム(Monaka/css)の固定幅 800px・240px・600px を画面幅に合わせる */
@media screen and (max-width: 767px) {
  /* Monaka/css/common.css が body を画面の高さ(height: 100%)に固定しており、上で止まるヘッダー(header-stop.css の .SP_HeaderSticky)が最初の1画面分しか止まらないため外す */
  body {
    height: auto;
  }
  .BodyDiv .container {
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 20px 16px;
  }
  .BodyDiv h1 span {
    margin: 0 1em;
  }
  .mailform dl {
    padding: 12px 0;
  }
  .mailform dt,
  .mailform dd {
    display: block;
    width: auto;
    padding-left: 0;
  }
  .mailform dt {
    margin-bottom: 6px;
  }
  .mailform dd input[type="text"],
  .mailform dd select,
  .mailform dd textarea {
    width: 100%;
    box-sizing: border-box;
  }
  .mailform dd input[type="file"] {
    max-width: 100%;
  }
}
/* タブレットの幅: フォームの枠(Monaka/css の .container 800px + 余白)が画面からはみ出さないようにする */
@media screen and (min-width: 768px) and (max-width: 992px) {
  .BodyDiv .container {
    max-width: 100%;
    box-sizing: border-box;
  }
}
