.form-title h2 {
  text-align: center;
  padding: 20px 0;
}

form {
  margin: 0 auto;
  background: #fff;
  padding: 16px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
@media screen and (max-width:768px) {
  label {
    margin-bottom: -10px;
    padding: 5px 0px;
  }
}

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: solid 1px #575757;
  border-radius: 5px;
  box-sizing: border-box;
}

input[type="radio"] {
  margin-right: 5px;
}

.form-radio {
  margin: 10px 0;
}

textarea {
  resize: vertical;
}

input[type="submit"] {
  padding: 8px 20px;
  background-color: #efefef;
  color: #000;
  border: solid 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: 35%;
}
input[type="submit"]:hover {
  background-color: #1c1c1c;
  color: #fff;
}

span.required {
  background: #42b7ef;
  padding: 5px 10px;
  margin-left: 5px;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
}

@media screen and (max-width: 768px) {
  form {
    margin: 0 10px;
  }
}

input[type="text"]:disabled,
input[type="email"]:disabled,
textarea:disabled,
select:disabled {
  background-color: #b9b9b9;
  color: #888;
}

/* confirm.php */
.form-container {
  padding: 30px 0;
}

.form-container label {
  display: block;
  margin-bottom: 5px;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container select,
.form-container textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-container input[type="submit"] {
  background-color: #efefef;
  color: #000;
  border: solid 1px #000;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

.form-container input[type="submit"]:hover {
  background-color: #575757;
  color: #fff;
}

.success-message {
  color: #4caf50;
  font-weight: bold;
}

@media (max-width: 600px) {
  .form-container {
    max-width: 100%;
  }
}

.formTable {
  width: 100%;
  border-spacing: 8px;
  margin: 0 auto;
}

.formTable tr {}

.formTable th {
  padding: 1.4em;
  position: relative;
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}

.formTable td {
  width: 70%;
  font-size: 16px;
}

.formTable th,
.formTable td {
  background: white;
  border: 1px none #ccc;
  padding: 10px;
}

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

@media screen and (max-width:572px) {
  #formWrap {
    width: 95%;
    margin: 0 auto;
  }

  table.formTable th,
  table.formTable td {
    width: auto;
    display: block;
  }

  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }

  input[type="phone"] {
    width: 100%;
  }

  input[type="email"] {
    width: 100%;
  }

  input[type="text"],
  textarea {
    width: 100%;
    padding: 5px;
    font-size: 110%;
    display: block;
  }

  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
  }

}

/* placeholder */
::placeholder {
  color: #999;
  opacity: 1;
}

:focus::placeholder {
  opacity: 0.5;
}

/* 0914 */
@media screen and (min-width: 560px) {
  .form-area {
    padding: 2em;
    background: rgb(110, 150, 212);
    padding-bottom: 4em;
    width: 85%;
    margin: 0 auto;
  }
}

.form-ex {
  margin: 16px 0;
  line-height: 1.7;
}


/* ------------------------------------------------
共通調整
-----------------------------------------------*/
.top_50 {
  margin-top: 50px;
}
.top_80 {
  margin-top: 80px;
}

/* ------------------------------------------------
確認、完了ページ
-----------------------------------------------*/
.low-mv {
  position: relative;
  height: 50vh;
  overflow: hidden;
}
.low-mv img {
  object-fit: cover;
  width: 100%;
}
.low-mv .low-title {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}
.low-mv .low-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-shadow: 0 0 8px #fff;
}
.low-mv .low-title h3 {
  color: #2172a6;
  font-weight: bold;
  text-shadow: 0 0 10px #fff;
}
@media screen and (max-width: 768px) {
  .low-mv {

  }
  .low-mv img {
    height: 100%;
  }
  .low-mv .low-title h2 {
    font-size: 24px;
  }
  .low-mv .low-title h3 {

  }
}

/* ------------------------------------------------
確認ページの表
-----------------------------------------------*/
.confirm-table {

}
.confirm-table tbody {

}
.confirm-table tbody tr {

}
.confirm-table tbody tr th {

}
.confirm-table tbody tr td {

}
.confirm-btn {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}
.confirm-btn form {
  background: none;
  width: 100%;
}
.confirm-btn form input[type="submit"] {
  width: 95%;
}
.submit-back {
  opacity: .6;
}
.submit-back:hover {
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .confirm-btn {
    display: block;
  }
}



.confirmation {

}
.confirmation h2 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.confirmation form {
  background: none;
  padding: 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .confirmation form {
    margin-bottom: 20px;
  }
}
.confirmation .formTable {

}
.confirmation .formTable tr {
  display: flex;
  margin-bottom: 6px;
}
.confirmation .formTable tr th {
  text-align: center;
  font-weight: bold;
  background: #6e96d4;
}
.confirmation .formTable tr td {
  text-align: left;
  padding: 10px 20px;
}
@media screen and (max-width: 768px) {
  .confirmation .formTable tr {
    display: block;
    margin-bottom: 12px;
  }
}

.accepted {
  text-align: center;
}
.accepted h2 {
  font-size: 26px;
  margin-bottom: 20px;
}
.accepted p {
  line-height: 2;
}
.accepted a {
  background: #fff;
  padding: 6px 25px;
  font-weight: bold;
  color: #575757;
  border: solid 2px #575757;
  border-radius: 6px;
}
.accepted a:hover {
  background: #575757;
  color: #fff;
}
