@charset "utf-8";
/* お問い合わせフォーム（Xserverメールフォーム）用。サイト共通のCSS（bootstrap.css・simple-sidebar.css）の上に重ねる */

/* フォーム全体：今のフォームと同じ幅 */
form.xs-form {
  max-width: 610px;
  width: 100%;
  margin: 0 auto;
}

/* エラー表示 */
.xs-error {
  color: #ff3333;
  margin-bottom: 10px;
}

/* 項目の表：今のフォーム（見出し200px＋点線の区切り）に合わせる */
table.xs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
table.xs-table th,
table.xs-table td {
  padding: 20px 8px;
  border-bottom: 1px #c0c0c0 dotted;
  vertical-align: top;
  text-align: left;
  line-height: 130%;
}
table.xs-table th {
  width: 200px;
  font-weight: normal;
  background: none;
  color: inherit;
}

/* 入力欄：今のフォームと同じ幅 */
table.xs-table input[type=text],
table.xs-table input[type=email],
table.xs-table input[type=tel],
table.xs-table input[type=url],
table.xs-table select,
table.xs-table textarea {
  width: 350px;
  max-width: 100%;
  margin-bottom: 2px;
}
table.xs-table textarea {
  height: 10em;
}

/* 個人情報保護方針の案内 */
.xs-privacy {
  text-align: center;
  margin: 10px 0;
}

/* ボタン */
.xs-buttons {
  text-align: center;
  margin: 20px 0;
}

/* スマートフォン：見出しと入力欄を縦に並べる */
@media (max-width: 767px) {
  table.xs-table th,
  table.xs-table td {
    display: block;
    width: auto;
  }
  table.xs-table th {
    border-bottom: none;
    padding-bottom: 0;
  }
}