@charset "utf-8";

/* ****************************************************************************************************
   * 共用
**************************************************************************************************** */

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * layout
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

* { padding:0; margin:0; box-sizing:border-box; }

html {
  font-size: 10px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
}

body {
  max-width: 980px;
  width: 100%;
  font-size: 1.5rem;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;
}

.column ~ .column {
  margin-top: 40px;
}

#header {
  padding: 40px 0;
}

#header .title {
  font-size: 3rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

table.default {
  width: 100%;
  border-collapse: collapse;
}

table.default tr > * {
  padding: 0.75em 1em;
  border: 1px solid #ccc;
}

table.default tr > th[scope] {
  text-align: right;
  background: #f2f2f2;
}

input {
  max-width: 100%;
  font: inherit;
}

input[type="text"] {
  padding: 3px;
}

input[name="name"],
input[name="kana"] {
  width: 20em;
}

input[name="age"] {
  width: 5em;
}

input[name="zip"],
input[name="tel"] {
  width: 10em;
}

input[name="address"] {
  width: 30em;
}

textarea {
  width: 100%;
  padding: 3px;
}

.recap_pos > * {
  width: 300px;
  display: inline-block;
  vertical-align: top;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
}

div.recap_pos {
	margin: 30px 0;
	text-align: center;
}

.form-button > * {
  width: 280px;
  display: inline-block;
  vertical-align: top;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  padding: 1em;
  border: none;
  background: #bbb;
  border-radius: 6px;
  margin-left: auto;
  margin-right: auto;
}

.form-button > .back {
  background: #ccc;
}

.form-button > *:hover {
  opacity: 0.8;
}

@media screen and (max-width:736px) {
  html {
    font-size: 9px;
  }
  #header .title {
    font-size: 2em;
    line-height: 1.2;
  }
  table.default,
  table.default tbody,
  table.default tr,
  table.default tr > * {
    width: 100%;
    display: block;
  }
  table.default tr > * {
    text-align: left !important;
    padding: 0.5em;
  }
  table.default tr > td {
    padding-left: 0;
    padding-right: 0;
    border: none;
  }
  table.default tr {
    margin-top: 20px;
  }
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * Javascript エラーメッセージ
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

div#noscript {
	margin: 2em 0;
	padding: 2em;
	display: block;
	border-radius: 4px;
	border: solid 2px #f00;
}

div#noscript p {
	margin: 0 auto;
	display: table;
	font-weight: bold;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * エラーメッセージ
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

div#error_area {
	margin: 2em 0;
	padding: 2em;
	display: none;
	border-radius: 4px;
	border: solid 2px #f00;
}

div#error_area p {
	color: #f00;
}

div#error_area ul li {
	list-style: none;
	line-height: 2;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * 必須
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

.hissu {
	margin-right: 0.25em;
	color: #f00;
}

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * 送信ボタン
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

div.form-button {
	margin: 30px 0;
	text-align: center;
}

/* ****************************************************************************************************
   * 入力画面
**************************************************************************************************** */

body.page-tpl1 {}

/* ****************************************************************************************************
   * 確認画面
**************************************************************************************************** */

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メッセージ
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

body.page-tpl2 .message {
  color: #f00;
}

/* ****************************************************************************************************
   * 完了画面
**************************************************************************************************** */

/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * メッセージ
/* ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

body.page-tpl3 div.message {
  margin: 30px 0 150px;
}
