@charset "utf-8";

/*
  File Name   : briefing.css
  Description : 応募フォーム（島根）
*/

.form-step {
  display: flex;
  list-style: none;
  line-height: 1.5;
  margin: 0 0 1.5em;
  padding: 0;
}

.form-step li {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 35%;
  height: 70px;
  font-weight: bold;
  text-align: center;
  background: #eee;
  box-sizing: border-box;
}

.form-step li:nth-child(1),
.form-step li:nth-child(2) {
  width: 32.5%;
}

.form-step li:nth-child(2) {
  background: #ddd;
}

.form-step li:nth-child(1):after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 35px 0 35px 20px;
  border-color: transparent transparent transparent #eee;
  z-index: 10;
}

.form-step li:nth-child(2):after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 35px 0 35px 20px;
  border-color: transparent transparent transparent #ddd;
  z-index: 10;
}

.form-step li:nth-child(3) {
  background: #ccc;
}

.form-step li.current {
  color: #fff;
  background: #193776;
}

.form-step li.current:after {
  border-color: #193776;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.form-step li span {
  color: #193776;
  font-size: 12px;
}

.form-step li.current span {
  color: #fff;
}

.form-step li span:nth-child(2) {
  font-size: 16px;
}

form .tbl-01 th {
  position: relative;
  font-weight: bold;
}

form .tbl-01 th span {
  display: block;
  position: absolute;
  top: 24px;
  right: 0;
  width: 40px;
  line-height: 24px;
  color: #fff;
  font-size: 14px;
  font-weight: normal;
  text-align: center;
  background: #c00;
}

form .tbl-01 td input[type="text"],
form .tbl-01 td input[type="email"],
form .tbl-01 td textarea {
  width: 100%;
  margin: 0;
  padding: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.form-btn {
  text-align: center;
}

.form-btn .btn-01 {
  width: 300px;
  line-height: 50px;
  border-radius: 0;
  outline: none;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.form-btn .btn-form-back {
  line-height: 50px;
  margin: 0 1em 0 0;
  border-radius: 0;
  outline: none;
  background: #ddd;
  cursor: pointer;
  transition: all .2s ease-in-out;
}

.form-btn .btn-form-back:hover {
  color: #fff;
  background: #f5af19;
}

@media screen and (max-width: 811px) {
  .form-step {
    font-size: 11px;
  }

  .form-step li {
    height: 50px;
  }

  .form-step li:nth-child(1):after {
    right: -10px;
    border-width: 25px 0 25px 10px;
  }

  .form-step li:nth-child(2):after {
    right: -10px;
    border-width: 25px 0 25px 10px;
  }

  .form-step li span {
    font-size: 10px;
  }

  .form-step li span:nth-child(2) {
    font-size: 11px;
  }

  form .tbl-01 th {
    display: block;
    width: auto;
    padding-bottom: 0;
  }

  form .tbl-01 th span {
    display: inline-block;
    position: static;
    line-height: 20px;
    margin: 0 0 0 1em;
    font-size: 12px;
  }

  form .tbl-01 td {
    display: block;
    padding-top: 10px;
    padding-left: 0;
    border-top: none;
  }

  .form-btn {
    display: flex;
  }

  .form-btn .btn {
    min-width: inherit;
  }

  .form-btn .btn-01 {
    width: 100%;
    line-height: inherit;
  }

  .form-btn .btn-form-back {
    line-height: inherit;
  }
}