@charset "UTF-8";
.form h2 {
  border-bottom: none !important;
  margin: 0 auto 30px !important;
}
.form h2 {
  font-size: 28px;
  text-align: center;
  color: #fff;
  background-color: #0075a9;
  padding: 17px 0 20px;
}
.form h2::after {
  position: static;
}
.form h3 {
  position: static;
  border: none !important;
}
.form h3::before {
  display: none;
}
.form h3 {
  font-size: 24px;
  text-align: center;
  background-color: #ebf4f8;
  padding: 17px 0 20px;
}
.form h4 {
  font-size: 20px;
  margin-bottom: 20px;
}
.form .inner {
  margin: 40px auto 50px !important;
}
.form table {
  width: 100%;
  border: solid 3px #ccc;
  border-collapse: collapse;
}
.form table tr {
  border-bottom: solid 1px #ccc;
}
.form table th {
  width: 40%;
  font-weight: 600;
  font-size: 16px;
  padding: 20px 3%;
  background-color: #ebf4f8;
  text-align: left;
  position: relative;
}
.form table th .caption {
  font-size: 14px;
}
.form table td {
  width: 60%;
  padding: 20px 3%;
  text-align: left;
}
.form table td .input {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 300;
  font-style: normal;
  width: 94%;
  font-size: 16px;
  padding: 10px 3%;
  border: none;
  outline: none;
  background-color: #efefef;
  border-radius: 5px;
}
.form table td .input02 {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 300;
  font-style: normal;
  width: 15%;
  font-size: 16px;
  padding: 10px 3%;
  border: none;
  outline: none;
  background-color: #efefef;
  border-radius: 5px;
  margin-bottom: 10px;
}
.form table td .input03 {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 300;
  font-style: normal;
  width: 15%;
  font-size: 16px;
  padding: 10px 3%;
  border: none;
  outline: none;
  background-color: #efefef;
  border-radius: 5px;
}
.form table td textarea {
  font-family: source-han-sans-japanese, sans-serif;
  font-weight: 300;
  font-style: normal;
  width: 94%;
  height: 200px;
  font-size: 16px;
  padding: 10px 3%;
  border: none;
  outline: none;
  background-color: #efefef;
  border-radius: 5px;
  display: block;
}
.form table td p {
  margin: 0 auto 10px;
}
.form table td .p {
  margin: 15px auto 10px;
}
.form .required {
  position: absolute;
  right: 10%;
  font-size: 12px;
  color: #fff;
  background-color: #b61600;
  margin-left: 10px;
  padding: 0 15px;
}
.form .attention {
  margin-top: 50px;
}
::placeholder {
  color: #aaa;
}
/*ラジオボックス*/
.form .radio_box span {
  display: inline-block;
  margin-right: 25px;
}
.form .radio_box input[type="radio"] {
  display: none;
}
.form .radio_box label {
  position: relative;
  cursor: pointer;
  padding-left: 30px;
}
.form .radio_box label::before, .form .radio_box label::after {
  position: absolute;
  content: '';
  top: 50%;
  border-radius: 100%;
}
.form .radio_box label::before {
  left: 0;
  width: 18px;
  height: 18px;
  margin-top: -10px;
  border: 1px solid #0075a9;
  background-color: #fff;
}
.form .radio_box label:hover::before {
  background: #fff;
}
.form .radio_box label::after {
  opacity: 0;
  left: 3px;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  background: #0075a9;
}
.form .radio_box input[type="radio"]:checked + label::before {
  background: #fff;
  border: 1px solid #0075a9;
}
.form .radio_box input[type="radio"]:checked + label::after {
  opacity: 1;
}
/*チェックボックス*/
.form .check_box input[type="checkbox"] {
  display: none;
}
.form .check_box label {
  padding-left: 30px;
  display: inline-block;
  position: relative;
  cursor: pointer;
}
.form .check_box label::before {
  border: 1px solid #0075a9;
  background-color: #fff;
  border-radius: 2px;
  content: '';
  display: block;
  height: 18px;
  left: 0;
  margin-top: -8.5px;
  position: absolute;
  top: 50%;
  width: 18px;
}
.form .check_box label::after {
  border-right: 3px solid #0075a9;
  border-bottom: 3px solid #0075a9;
  content: '';
  display: block;
  height: 9px;
  left: 6px;
  margin-top: -6.5px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 5px;
}
.form .check_box input[type=checkbox]:checked + label::after {
  opacity: 1;
}
.form p.check_box {
  text-align: center;
  margin: 40px auto;
}
.form p.check_box a {
  color: #c30d23;
}
.form .attention {
  text-align: center;
}
.form .btn_box {
  display: flex;
  justify-content: center;
}
.form .submit {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-weight: 600;
  font-style: normal;
  width: 100%;
  color: #fff;
  background: no-repeat;
  border: none;
  padding: 20px 0;
  text-align: center;
  font-size: 18px;
  cursor: pointer;
  outline: none;
}
.form .btn {
  width: 35%;
  margin: 0 3%;
  background-color: #0075a9;
  box-shadow: 0 4px 0 #00587f;
  border-radius: 5px;
  transition: all .3s;
}
.form .btn:hover {
  opacity: 0.8;
}
.form .btn.clear {
  background-color: #aaa;
  box-shadow: 0 4px 0 #999;
}
.form .btn.clear:hover {
  opacity: 0.8;
}
.form p.btn_top a {
  display: block;
  text-decoration: none;
  width: 300px;
  margin: 0 auto;
  color: #fff;
  padding: 20px 0;
  text-align: center;
  background-color: #0075a9;
  box-shadow: 0 4px 0 #00587f;
  border-radius: 5px;
  transition: all .3s;
}
.form p.btn_top a:hover {
  opacity: 0.8;
}
@media screen and (max-width:1050px) {
  .form h2 {
    margin: 0 auto 20px !important;
    padding: 13px 0 15px;
  }
  .form h2 {
    font-size: 20px;
  }
  .form h3 {
    font-size: 18px;
    padding: 13px 0 15px;
  }
  .form h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .form table th {
    display: block;
    width: auto;
    padding: 20px 5%;
  }
  .form table td {
    display: block;
    width: auto;
    padding: 20px 5%;
  }
  .form table td .input02 {
    width: 30%;
  }
  .form table td .input03 {
    width: 15%;
  }
  .form table td textarea {
    height: 200px;
  }
  .form .required {
    position: absolute;
    right: 5%;
  }
  .form .attention {
    margin-top: 30px;
  }
  .form .radio_box span {
    display: block;
    margin: 10px auto;
  }
  .form .btn {
    width: 45%;
  }
  .form p.btn_top a {
    width: 90%;
  }
  input[type="reset"] {
    -webkit-appearance: none;
  }
  input[type="submit"] {
    -webkit-appearance: none;
  }
  input[type="button"] {
    -webkit-appearance: none;
  }
}