@charset "utf-8";

/** ***************************************************************************
 * 共用
 * ************************************************************************* */

#common-contact div.contents {
  display: none;
}

/** ***************************************************************************
 * 入力画面
 * ************************************************************************* */

#form.page-input .horizontal-item {
	margin-right: 10px;
}

#form.page-input .horizontal-item + .horizontal-item {
	margin-left: 0;
}

/** ***************************************************************************
 * 確認画面
 * ************************************************************************* */

/** ===========================================================================
 * メッセージ
 */

#form.page-confirm div.message {
  color: #f00;
}

/** ===========================================================================
 * メモ
 */

#form.page-confirm div.contents .memo {
  display: none;
}

/** ***************************************************************************
 * 完了画面
 * ************************************************************************* */

/** ===========================================================================
 * メッセージ
 */

#form.page-complete div.message {
  width: fit-content;
  margin: 100px auto 0;
}

#form.page-complete div.message .title {
  margin-bottom: 2em;
  font-size: 1.125em;
  text-align: center;
}

/** ***************************************************************************
   * フォーム要素
 * ************************************************************************* */

label {
  display: inline-block;
}

input {
  font: inherit;
}

textarea {
  font: inherit;
}

input::placeholder {
  font: inherit;
  font-size: 0.875em;
}

/** ===========================================================================
 * 必須
 */

.required {
  content: '※';
  color: #f00;
}

/** ===========================================================================
 * テキストフィールド
 */

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: calc(100% - 10px);
  max-width: 20em;
  margin: 5px;
  padding: 0.25em 0.5em;
  font-size: inherit;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
}

/** ===========================================================================
 * 郵便番号
 */

input[name*="zip"] {
  width: 10em;
}

/** ===========================================================================
 * 住所
 */

input[name*="addr"] {}

/** ===========================================================================
 * 電話番号
 */

input[name*="tel"] {
  max-width: 10em;
}

/** ===========================================================================
 * セレクトメニュー
 */

select {
  margin: 5px;
  padding: 0.25em 0.5em;
  font-size: inherit;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
}

/** ===========================================================================
 * テキストエリア
 */

textarea {
  width: calc(100% - 10px);
  min-height: 11.5em;
  margin: 5px;
  padding: 0.5em;
  font-size: inherit;
  border: 1px solid #ddd;
  background-color: #f4f4f4;
}

/** ===========================================================================
 * フォームボタン
 */

div.form-button {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

div.form-button > * {
  margin: 10px;
}

div.form-button > [name="send"] {
  order: -1;
}

/* :::::::: ブレイクポイント :::::::: */

@media print, screen and (min-width:737px) {

  div.form-button {
    flex-direction: row;
  }

  div.form-button > [name="send"] {
    order: 1;
  }

}
