
/* フォームのデザイン */
li{
  display: inline-flex;
}
.wizard > .content{
  background: none;
  border-top: none;
  border-radius: 0px;
  min-height: 420px;
  overflow: visible;
  margin: 0.3em;
}
.wizard > .content > .body{
  width: 100%;
  padding:0;
}

.form-area{
  /*background: #fff;*/
  /*margin:5%;*/
  -webkit-box-shadow: inset 1px 1px 2px -1px rgba(0,0,0,0.1);
  box-shadow: inset 1px 1px 2px -1px rgba(0,0,0,0.1);
  border: 1px solid #ddd;
}

@media screen and (min-width: 801px){
/*  .form-area {
      min-width: 460px;
  }*/
}

.form-title{
  width: 120%;
  position: relative;
  margin-top: -48px;
  margin-left: -5%;
  padding: 7px;

  text-align:center;
  font-weight: bold;
  font-size:1.3em;
  background: #fffbc3;
  color:#444;
}
.form-title::after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: -10px;
  left: 35%;
  border-style: solid;
  border-color: #fffcca transparent transparent transparent;
  border-width: 10px 50px 0 50px;
  z-index: 1;
}
/* steps */
.wizard > .steps{
  margin: 5px 10px;
}
.steps > ul{
  padding-left: 10px;
  margin: 0;
}
.wizard > .steps > ul > li
{
  width: 33%; /*3ページの時*/
}

.form-item{
  width:100%;
  background: #fff;
  border-bottom: 1px dashed #ddd;
  background: none;
  border-bottom: none;
}


@media screen and (min-width: 801px){
  .form-item{
    margin-bottom: 1%;
    padding:1% 2%;
  }
}
.step1{
  position: relative;
}

.step1 img{
  position: absolute;
  bottom: 0;
  right: 0;
}
.label-area, .input-area{
  width:100%;
}

/* 項目部分 */
.required-label, .item-label{
  margin: 0.5em 0.2em;
}
.item-label{
  font-size: 1.0em;
}
.required-label{
  background-color: #EA0018;
  color: #fff;
  padding: 0.3% 1%;
  font-size: 0.9em;
  line-height: 1.5em;
  border-radius: 5px;
}

@media screen and (max-width: 800px){
  .required-label{
    display: inline-block;
    padding: 0.1em 0.3em;
    margin: 0.5em 0.1em;
    font-size: 0.9em;
    text-decoration: none;
    text-align: center;
    border-radius: 3px;
  }
}
.finished-label{
  vertical-align: middle;
}
.finished-label i{
  color: #7EC058;
  font-size: 1.5em;

}


/* 入力部分 */
.input-area ul{
  width: 100%;
}
.input-area input, select{
  /*-webkit-appearance: none;*/
  /*-moz-appearance:none;*/
  /*appearance:none;*/
  padding: 0 10px;
  border: 1px solid #ddd;
}
textarea{
  width:100%;
  height: 60px;
  /*font-size: 1em;*/
  border-radius: 5px;
  margin: 0px auto;
  border: 1px solid #aaa;
}
.input-area input[type="text"],input[type="tel"],input[type="email"]{
  width:100%;
  height: 40px;
  font-size: 1em;
  border-radius: 5px;
  margin: 0px auto 15px;
  -webkit-box-shadow: inset 1px 1px 2px -1px rgba(0,0,0,0.1);
  box-shadow: inset 1px 1px 2px -1px rgba(0,0,0,0.1);
}
.input-area select{
  -webkit-box-shadow: inset 1px 1px 2px -1px rgba(0,0,0,0.1);
  box-shadow: inset 1px 1px 2px -1px rgba(0,0,0,0.1);
  width:100%;
  height: 40px;
  margin:10px auto;
  font-size: 1em;
  background: #fff;
  display: inline-block;
}

@media screen and (max-width: 800px){
  .input-area select, .input-area input[type="text"], input[type="tel"], input[type="email"] {
      width: 60%;
  }

  .input-area select {
       -webkit-appearance: menulist; 
      -moz-appearance: menulist;
      appearance: menulist;
  }

}

.input-area i{
  position: relative;
  pointer-events: none;
  font-size: 1.2em;
  color: #333;
}
.select-icon{
  top:-42px;
  left: 90%;
}
/* 住所 */
.address-group{
  margin:0;
  padding: 0;
}
.pref{
  width:29%;
}
.city{
  width:70%;
}
.pref select, .city input[type="text"]{
  width:100%;
}
/* チェックボックス */
.checkbox-group{
  margin: 0px auto;
  padding: 0;
}
.checkbox-inline {
  padding-left: 20px;
}
.checkbox-label{
  padding: 7px 5px;
  margin: 5px 3px;
  background-color: #f6f6f6;
  border:none;
  width: 100%;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.checkbox-label {
    padding: 3px 0px;
    margin: 5px 0px;
}

.checkbox-label {
    background-color: #f6f6f68a;
    border: 1px solid #999;
}

input[type="checkbox"]{
  -webkit-appearance: none;
  display: none;
}
.checkbox-input{
  display: none;
  vertical-align: middle;
}
.checkbox-parts{
  margin:5px;
  padding-left: 25px;
  padding-right: 10px;
  position:relative;
  z-index: 0;
  vertical-align: middle;
}
.checkbox-parts::before{
  content: "";
  display: block;
  position: absolute;
  top: 2px;
  left: 0px;
  width: 15px;
  height: 15px;
  border: 1px solid #999;
  border-radius: 4px;
}
.checkbox-input:checked + .checkbox-parts{
  color:#EA0018;
}

.checkbox-input:checked + .checkbox-parts::after{
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 5px;
  width: 7px;
  height: 14px;
  transform: rotate(40deg);
  border-bottom: 3px solid #EA0018;
  border-right: 3px solid #EA0018;
}

/* ボタン */
.wizard > .actions ul{
  box-sizing: border-box;
  width: 100%;
  float: right;
  padding: 0 10px;
}
.wizard> .actions> ul> li.disabled{
  visibility: hidden;
  cursor: default;
}
.wizard > .actions a{
  width:100%;
}

/* 次へ・登録ボタン */
.wizard> .actions> ul> li{
  width:70%;
  float: right;
}
/* 戻るボタン */
.wizard> .actions> ul> li:first-child{
  width:20%;
  float: left;
}
.back_btn{
  width: 100%;
  padding: 0;
}
.back_btn p{
  text-align: center;
  font-size: smaller;
  line-height: 3em;
  height: 3em;
}

.form_btn, .form_btn:hover{
  box-sizing: border-box;
  width: 100%;
  margin: 10px auto;
  display: inline-block;
  padding: 0.8em;
  text-decoration: none;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  border: none;
  border-radius: 3px;
}
.form_btn:active {/*ボタンを押したとき*/
  -ms-transform: translateY(2px);
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}
.submit_btn, .submit_btn:hover{
  position: relative;
  top: -10px;
}


/* 無効ボタンを表示する場合のデザイン */
.wizard > .actions .disabled .form_btn,
.wizard > .actions .disabled .form_btn:hover,
.wizard > .actions .disabled .form_btn:active
{
  background: #eee;
  color: #aaa;
  border-bottom: 4px solid #ccc;
}

/* sp用 */
@media screen and (max-width: 800px){
  .container{
    /*margin-bottom:150px;*/
  }
  .form-area{
    width: 100%;
    margin: 0 auto;
  }
  .wizard > .content{
    margin-top:5px;
    min-height: 380px;
  }

  .wizard > .steps{
    margin: 5px 0;
  }

  .sp-hidden{
    display: none;
  }
  .label-area,.input-area{
    min-height: 30px;
  }
  .step1 > .pc-flex-area> .form-item> .input-area{
    height: 60px;
  }

  .required-label, .item-label{
    margin: 0.5em 0;
  }
  .item-label{
    font-size: 1em;
  }
  .finished-label{
    margin:0;
  }

  .input-area select, .input-area input[type="text"],input[type="tel"],input[type="email"]{
    font-size: 0.9em;
  }
  input[type="tel"],input[type="email"]{
    font-size: 0.7em;
  }
  .select-icon{
    left: 88%;
  }
  /* checkbox */
  .checkbox-group{
    margin:0 auto;
  }
  .checkbox-label{
    padding: 4px;
    margin: 5px;
  }
  .checkbox-parts{
    padding-left: 20px;
    padding-right: 0px;
    font-size: 0.8em;
  }
  .checkbox-parts::before{
    top: 0px;
  }
  textarea{
    font-size: 0.9em;
  }
  /* button */
  .wizard > .actions > ul{
    display: inline-flex;
    margin-top: 0;
  }
}