form {
  /* フォームをページの中央に置く */
  margin: 0 auto;
  width: 400px;
  /* フォームの範囲がわかるようにする */
  padding: 1em;
  border: 1px solid #CCC;
  border-radius: 1em;
}

form div + div {
  margin-top: 1em;
}

label {
  /* すべてのラベルを同じサイズにして、きちんと揃える */
  display: inline-block;
  width: 90px;
  text-align: right;
}

input, textarea {
  /* すべてのテキストフィールドのフォント設定を一致させる
     デフォルトで、textarea は等幅フォントが設定されている */
  font: 1em sans-serif;

  /* すべてのテキストフィールドを同じサイズにする */
  width: 300px;
  box-sizing: border-box;

  /* テキストフィールドのボーダーの外見を同一にする */
  border: 1px solid #999;
}

input:focus, textarea:focus {
  /* アクティブな要素を少し強調する */
  border-color: #000;
}

textarea {
  /* 複数行のテキストフィールドをラベルにきちんと揃える */
  vertical-align: top;

  /* テキスト入力に十分な領域を与える */
  height: 10em;
}

.button {
  /* ボタンを他のテキストフィールドと同じ場所に置く */
  padding-left: 90px; /* label 要素と同じサイズ */
}

button {
  /* このマージンは、ラベルとテキストフィールドの間のスペースと
     おおよそ同じスペースを表す */
  margin-left: .5em;
  font-size: 16px;
  color: #ffffff;
  background: #009ecf;
  border-radius: 6px;
  padding:10px 10px 10px 10px;
  cursor: pointer;
}

input[type=button] {
    font-size: 16px;
    color: #7c7c7c;
    background: #ffffff;
    border-radius: 6px;
    padding: 10px 10px 10px 10px;
    cursor: pointer;
    width: 130px;
}

body > div label {
	font-size: 12px;
	color: #003333;
	background-color: #f6f6f6;
    margin-bottom: 0;
    text-align:left;
    width: 370px;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    position: relative;
}

/*mail.php 入力内容の書式*/
.confirm {
	text-align:left;
	padding-left: 25px;
}