/*見出し*/
.Header {
  color: #000000;/*黒*/
  text-align: center;
  padding-top: 24px;
  padding-bottom: 24px;
}


/*ステップフロー*/
.progressbar {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;/*space-between*/
}
.progressbar li {
    position: relative;
    list-style-type: none;
    text-align: center;
    text-transform: uppercase;
    width: 33.333%;
    color: #999999;
    font-weight: bold;
    counter-increment: steps;
}
.progressbar li:before {
    display: block;
    width: 26px;
    height: 26px;
    margin: 7px auto 20px auto;
    content: '';
    line-height: 26px;
    font-size: 12px;
    text-align: center;
    border-radius: 50%;
    background-color: #F5F5F5;
    content: counter(steps);
}
.progressbar li:after {
    position: absolute;
    z-index: -1;
    top: 15px;
    left: -50%;
    width: 100%;/*100%*/
    height: 2px;
    content: '';
    background-color: #F5F5F5;
}
.progressbar li:first-child:after {
    content: none;
}
.progressbar li.active,
.progressbar li.complete{
    color: #0070BD;
}
.progressbar li.active:before,
.progressbar li.complete:before {
    background-color: #0070BD;
    color: #FFF;
}
.progressbar li.active:after,
.progressbar li.complete:after {
    background-color: #0070BD;
}

/* 装飾 */
ul{
  margin: 40px 27% !important;/*上40px 左0 !important*/
}
body{
  margin: 40px 20px;
}



/*入力項目*/
.Form {
  margin-top: 60px;/*80*/
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
@media screen and (max-width: 480px) {
  .Form {
    margin-top: 40px;
  }
}

/*横線*/
.Form-Item {
  border-top: 1px solid #ddd;
  padding-top: 5px;/*24*/
  padding-bottom: 20px;/*24*/
  width: 100%;
 /*横並びにする display: flex;*/
  align-items: center;
}
@media screen and (max-width: 480px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}

/*最後の横線(入力項目3つ目のあと)*/
.Form-Item:nth-child(3) {
  border-bottom: 1px solid #ddd;
}

/*必須と項目名*/
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}

/*お問い合わせ内容のclassだったが、.Form-Item-Labelに変更した
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }
}*/

/*必須のデザイン*/
.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 5px;/*8*/
  padding-bottom: 5px;/*8*/
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #0070BD;/*#5bc8ac*/
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}

/*入力*/
.Form-Item-Input {
  border: 1px solid #ddd;
  border-radius: 6px;
  /*左余白 margin-left: 40px;*/
  padding-left: 1em;
  padding-right: 1em;
  height: 40px;/*48*/
  flex: 1;
  width: 100%;
  max-width: 95%;/*680-410*/
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 18px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #ddd;
  border-radius: 6px;
  /* 左余白margin-left: 40px;*/
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 95%;/*680-410*/
  background: #eaedf2;
  font-size: 18px;
}
@media screen and (max-width: 480px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}


/*入力チェック後のエラー表示*/
.alert {
  color: #FF0000;
  font-weight: bold;
  font-size: 16px;
}


/*確認画面*/
.Form-Item-Confirm {
  border: none;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 40px;
  flex: 1;
  width: 100%;
  max-width: 95%;
  background: #FFFFFF;
  font-size: 18px;
}

.Form-Item-Textarea-Confirm {
  border: none;
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 95%;
  background: #FFFFFF;
  font-size: 18px;
}


/*確認画面ボタン横並び*/
.Form-Item2 {
 display: flex;
}

.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #0070BD;/*#5bc8ac*/
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
@media screen and (max-width: 480px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}



